/* =====================================================
   STUDIO DARPAN — css/desktop.css
   Desktop layout ≥ 900px  |  Mobile < 900px
   ===================================================== */

/* ═══════════════════════════════════════
   SHARED — sidebar brand/footer hidden on mobile
═══════════════════════════════════════ */
.sd-sidebar-brand,
.sd-sidebar-footer { display: none; }

/* ═══════════════════════════════════════
   VIDEO PLAYLIST CARD STYLES (shared mobile+desktop)
═══════════════════════════════════════ */
.vpl-card {
  display: flex; gap: 14px;
  background: #fff; border-radius: 16px;
  padding: 12px; margin-bottom: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  cursor: pointer; transition: .18s;
  border: 1.5px solid #f5f5f5;
  -webkit-tap-highlight-color: transparent;
}
.vpl-card:active { transform: scale(.98); border-color: var(--red); }
.vpl-thumb {
  position: relative; width: 110px; min-width: 110px;
  height: 72px; border-radius: 12px;
  overflow: hidden; background: #111; flex-shrink: 0;
}
.vpl-thumb-img { width:100%; height:100%; object-fit:cover; display:block }
.vpl-thumb-bg {
  width:100%; height:100%;
  background: linear-gradient(135deg,#1a1a1a,#2d1515);
  display: flex; align-items: center; justify-content: center;
}
.vpl-thumb-bg i { color: #DF1B1B; font-size: 24px; }
.vpl-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
}
.vpl-play-icon i { color: #fff; font-size: 20px; }
.vpl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.vpl-name { font-size: 14px; font-weight: 700; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpl-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.vpl-meta-item { font-size: 12px; color: #888; display: flex; align-items: center; gap: 5px; }
.vpl-meta-item i { color: #DF1B1B; font-size: 10px; }
.vpl-badge {
  display: inline-block; background: #fff5f5; color: #DF1B1B;
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
  width: fit-content;
}
.vpl-q-badge {
  display: inline-block; background: #e3f2fd; color: #1565c0;
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
  width: fit-content;
}

/* ═══════════════════════════════════════
   DESKTOP LAYOUT ≥ 900px
═══════════════════════════════════════ */
@media (min-width: 900px) {

  html, body {
    overflow: hidden;
    background: #0a0a0a;
  }

  /* Shell — flex row */
  #desktop-shell {
    display: flex;
    width: 100vw;
    height: 100vh;
  }

  /* ── SIDEBAR ── */
  .bottom-nav {
    position: relative !important;
    bottom: auto !important; left: auto !important; right: auto !important;
    width: 220px !important; min-width: 220px !important;
    height: 100vh !important;
    flex-direction: column !important;
    display: flex !important;
    padding: 0 !important;
    background: linear-gradient(180deg,#0d0d0d 0%,#180404 100%) !important;
    border-top: none !important;
    border-right: 1px solid rgba(255,255,255,.055) !important;
    box-shadow: 4px 0 32px rgba(0,0,0,.55) !important;
    z-index: 200 !important;
    flex-shrink: 0 !important;
    overflow: hidden;
  }

  /* Red glow top-left of sidebar */
  .bottom-nav::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 180px;
    background: radial-gradient(ellipse at top left,rgba(223,27,27,.14) 0%,transparent 70%);
    pointer-events: none; z-index: 0;
  }

  /* Sidebar brand */
  .sd-sidebar-brand {
    display: flex !important;
    align-items: center; gap: 11px;
    padding: 24px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    flex-shrink: 0; position: relative; z-index: 1;
  }
  .sd-sidebar-brand-icon {
    width: 44px; height: 44px;
    background: transparent;
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
  }
  .sd-sidebar-brand-icon i { color: #fff; font-size: 18px; }
  .sd-sidebar-brand-name {
    font-size: 13px; font-weight: 700; color: #fff;
    font-family: 'Playfair Display', serif;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .sd-sidebar-brand-sub { font-size: 9px; color: rgba(255,255,255,.35); margin-top: 2px; }

  /* Nav items */
  .nav-items {
    flex-direction: column !important;
    flex: 1; padding: 14px 10px;
    gap: 2px; overflow-y: auto;
    position: relative; z-index: 1;
  }

  .nav-item {
    flex: none !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,.4) !important;
    transition: all .18s ease !important;
    position: relative;
    width: 100% !important;
  }
  .nav-item:hover {
    background: rgba(255,255,255,.055) !important;
    color: rgba(255,255,255,.75) !important;
  }
  .nav-item.active {
    background: rgba(223,27,27,.18) !important;
    color: #fff !important;
    border: 1px solid rgba(223,27,27,.28) !important;
  }
  .nav-item.active::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 55%;
    background: #DF1B1B; border-radius: 0 3px 3px 0;
  }
  .nav-item i { font-size: 17px !important; width: 18px; text-align: center; flex-shrink: 0; }
  .nav-item span { font-size: 13px !important; font-weight: 500 !important; flex: 1; }
  .nav-item.active span { font-weight: 700 !important; color: #fff !important; }

  /* Sidebar footer */
  .sd-sidebar-footer {
    display: flex !important;
    align-items: center; gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.055);
    flex-shrink: 0; position: relative; z-index: 1;
  }
  .sd-sidebar-user-avatar {
    width: 34px; height: 34px;
    background: rgba(223,27,27,.25); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(223,27,27,.35); flex-shrink: 0;
  }
  .sd-sidebar-user-avatar i { color: #fff; font-size: 14px; }
  .sd-sidebar-user-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sd-sidebar-user-id { font-size: 10px; color: rgba(255,255,255,.3); }

  /* ── CONTENT AREA ── */
  #desktop-shell > div:last-child {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100vh !important;
    min-width: 0 !important;
  }

  #app-root {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* ── SCREEN TRANSITIONS — fade instead of slide ── */
  .screen {
    transform: none !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease !important;
    background: #f2f3f6 !important;
  }
  .screen.active {
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
  }
  .screen.prev {
    opacity: 0 !important;
    transform: none !important;
  }

  /* ── SCROLLABLE SCREENS ── */
  .screen-content {
    height: 100%;
    overflow-y: auto !important;
  }
  .screen-content.pb-nav {
    padding-bottom: 40px !important;
  }

  /* ── TOP BAR ── */
  .top-bar {
    padding: 0 28px !important;
    height: 58px !important;
    background: linear-gradient(135deg,#DF1B1B,#b51212) !important;
    box-shadow: 0 2px 16px rgba(223,27,27,.28) !important;
    align-items: center !important;
  }
  .top-bar h1 { font-size: 16px !important; letter-spacing: .2px; }

  /* ── HOME ── */
  #sc-home .screen-content {
    overflow-y: auto !important;
    padding: 0 !important;
    background: #f2f3f6 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #sc-home { width: 100% !important; max-width: 100% !important; }
  .sd-home-pad { padding: 14px 40px 0 !important; }

  /* Hero — full width */
  .sd-hero { padding: 52px 60px 80px !important; min-height: auto !important; width: 100% !important; }
  .sd-hero-topbar { margin-bottom: 28px !important; }
  .sd-logo-box { width: 50px !important; height: 50px !important; font-size: 22px !important; }
  .sd-label { font-size: 11px !important; letter-spacing: 1.5px !important; }
  .sd-greeting { font-size: 18px !important; }
  .sd-icon-btn { width: 46px !important; height: 46px !important; font-size: 19px !important; }
  .sd-hero-tagline { font-size: 48px !important; margin-bottom: 12px !important; }
  .sd-hero-sub { font-size: 16px !important; margin-bottom: 28px !important; }
  .sd-cta-primary, .sd-cta-ghost { padding: 14px 36px !important; font-size: 15px !important; border-radius: 32px !important; }

  /* Sections — full width */
  .sd-section { padding: 24px 40px 0 !important; width: 100% !important; box-sizing: border-box !important; }
  .sd-section-label { font-size: 11px !important; margin-bottom: 16px !important; letter-spacing: 1.5px !important; }

  /* Quick actions: 6-col */
  .sd-quick-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 16px !important; }
  .sd-qc-icon { width: 54px !important; height: 54px !important; font-size: 22px !important; border-radius: 17px !important; }
  .sd-quick-chip { padding: 18px 10px 14px !important; border-radius: 18px !important; }
  .sd-quick-chip span { font-size: 12px !important; }

  /* About card — in HTML, About Studio uses sd-equip-card class */
  .sd-about-card { padding: 24px !important; }
  .sd-about-logo { width: 46px !important; height: 46px !important; font-size: 22px !important; }
  .sd-about-title { font-size: 17px !important; }
  .sd-about-subtitle { font-size: 12px !important; }
  .sd-about-desc { font-size: 15px !important; line-height: 1.8 !important; }
  .sd-astat span { font-size: 24px !important; }
  .sd-astat small { font-size: 12px !important; }

  /* Offer grid: 3-col */
  .sd-offer-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  .sd-offer-icon { width: 50px !important; height: 50px !important; font-size: 22px !important; border-radius: 14px !important; }
  .sd-offer-card { padding: 18px !important; }
  .sd-offer-name { font-size: 15px !important; }
  .sd-offer-desc { font-size: 13px !important; line-height: 1.6 !important; }

  /* Equipment card — also used for About Studio section */
  .sd-equip-card { padding: 22px 28px !important; }
  .sd-equip-row { justify-content: center !important; gap: 10px !important; }
  .sd-equip-tag { font-size: 13px !important; padding: 8px 18px !important; }
  /* When sd-equip-card wraps about content (About Studio section), inner elements scale up */
  .sd-equip-card .sd-about-badge { margin-bottom: 18px !important; }
  .sd-equip-card .sd-about-logo { width: 50px !important; height: 50px !important; }
  .sd-equip-card .sd-about-title { font-size: 18px !important; }
  .sd-equip-card .sd-about-subtitle { font-size: 12px !important; }
  .sd-equip-card .sd-about-desc { font-size: 15px !important; line-height: 1.8 !important; }
  .sd-equip-card .sd-astat span { font-size: 24px !important; }
  .sd-equip-card .sd-astat small { font-size: 12px !important; }

  /* Why Choose Us — in HTML uses sd-contact-card class */
  .sd-why-list { border-radius: 20px !important; padding: 0 20px !important; }
  .sd-why-item { font-size: 15px !important; padding: 14px 0 !important; gap: 14px !important; line-height: 1.5 !important; }
  .sd-why-dot { width: 11px !important; height: 11px !important; margin-top: 3px !important; flex-shrink: 0 !important; }
  .sd-why-item strong { font-size: 15px !important; }
  /* When sd-contact-card wraps Why Choose Us items */
  .sd-contact-card .sd-why-item {
    font-size: 15px !important; padding: 14px 20px !important;
    gap: 14px !important; line-height: 1.5 !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }
  .sd-contact-card .sd-why-item:last-child { border-bottom: none !important; }
  .sd-contact-card .sd-why-dot { width: 11px !important; height: 11px !important; flex-shrink: 0 !important; margin-top: 3px !important; }
  .sd-contact-card .sd-why-item strong { font-size: 15px !important; color: #1a1a1a !important; }
  /* Why Choose Us card constrained, Contact Us card full width */
  .sd-section:has(.sd-why-item) .sd-contact-card { max-width: 760px !important; }

  /* Contact */
  .sd-contact-card { border-radius: 20px !important; }
  .sd-contact-row { padding: 18px 22px !important; }
  .sd-contact-icon { width: 50px !important; height: 50px !important; font-size: 20px !important; border-radius: 14px !important; }
  .sd-contact-info span { font-size: 16px !important; font-weight: 700 !important; }
  .sd-contact-info small { font-size: 13px !important; margin-top: 3px !important; }

  /* ── GALLERY ── */
  #sc-gallery { background: #f2f3f6 !important; }

  .fv-img-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    padding: 16px 24px 48px !important;
  }
  .fv-img-grid > div {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.1) !important;
    margin-bottom: 0 !important;
  }

  /* Folder grid 4-col */
  #gallery-content > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 20px 24px !important;
    gap: 14px !important;
  }

  /* Gallery stats card */
  #gal-stats-card { margin: 14px 20px 6px !important; }

  /* ── AUTH ── */
  #sc-auth {
    background: linear-gradient(135deg,#0d0d0d 0%,#1a0404 45%,#0a0d1a 100%) !important;
    overflow-y: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    inset: 0 !important;
    padding-bottom: 0 !important;
  }
  .auth-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    max-width: 920px !important; width: 100% !important;
    margin: auto !important; align-items: center !important;
    padding: 48px 32px !important; gap: 0 !important; min-height: 100vh !important;
  }
  .auth-hero {
    padding: 0 48px 0 0 !important;
    border-right: 1px solid rgba(255,255,255,.07) !important;
    padding-top: 0 !important;
  }
  .auth-title { font-size: 50px !important; line-height: 1.1 !important; }
  .auth-subtitle { font-size: 14px !important; max-width: 320px !important; margin-top: 14px !important; }
  .auth-brand-name { font-size: 19px !important; }
  .auth-hero-bullets { display: flex !important; }
  .auth-card {
    margin: 0 0 0 48px !important;
    border-radius: 22px !important; padding: 34px 30px !important;
    border-top: none !important; border: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 20px 80px rgba(0,0,0,.65) !important;
    background: #0f0f0f !important;
  }

  /* ── BOOKING ── */
  .booking-form { max-width: 720px !important; margin: 0 auto !important; padding: 24px 32px 60px !important; }
  .service-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .booking-hero { padding: 32px 24px 40px !important; }
  .booking-hero i { font-size: 52px !important; }
  .booking-hero h2 { font-size: 26px !important; }

  /* ── SHOP ── */
  .products-grid { grid-template-columns: repeat(4, 1fr) !important; padding: 20px 24px 60px !important; gap: 16px !important; }
  .product-img { height: 190px !important; }
  .shop-header { padding: 28px 28px 32px !important; }
  .shop-header h2 { font-size: 24px !important; }

  /* ── VERIFY — mirrors auth exactly (same classes) ── */
  #sc-verify {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a0505 40%, #0d0d1f 100%) !important;
    overflow-y: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    inset: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Desktop: show heading, hide mobile-only hero */
  #sc-verify .verify-desktop-heading { display: block !important; }
  #sc-verify .verify-mobile-hero     { display: none !important; }
  /* auth-card on verify — same card styling as auth, scrollable */
  #sc-verify .auth-card {
    overflow-y: auto !important;
    max-height: calc(100vh - 96px) !important;
    padding-bottom: 36px !important;
  }

  /* ── CART (desktop 2-col) ── */
  .cart-items-col {
    padding: 20px 24px 40px !important;
    max-width: none !important;
  }
  .cart-summary-col {
    display: flex !important;
    flex-direction: column;
    width: 280px; min-width: 280px;
    padding: 20px 20px 20px 0;
    flex-shrink: 0;
  }
  .cart-summary-card {
    background: #fff; border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    border: 1.5px solid #efefef;
    position: sticky; top: 20px;
  }
  .cart-summary-title {
    font-size: 16px; font-weight: 700; color: #1a1a1a;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
  }
  .cart-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: #666; padding: 8px 0;
    border-bottom: 1px solid #fafafa;
  }
  .cart-summary-total {
    font-size: 20px !important; font-weight: 800 !important;
    color: #1a1a1a !important; border-bottom: none !important;
    padding-top: 14px !important; margin-top: 4px !important;
  }
  .cart-summary-total span:last-child { color: #DF1B1B !important; font-size: 22px !important; }
  .cart-summary-secure {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #27ae60; font-weight: 600;
    background: #f0fff4; border-radius: 8px;
    padding: 8px 12px; margin: 14px 0;
  }
  .cart-checkout-btn { border-radius: 12px !important; height: 50px !important; }
  /* Desktop: hide mobile footer, items need less bottom padding */
  .cart-mobile-footer { display: none !important; }
  .cart-items-col { padding-bottom: 40px !important; }

  /* ── VIDEO LIST (desktop) ── */
  #sc-video { overflow: hidden !important; background: #111111 !important; }
  #video-content { overflow-y: auto !important; background: #111111 !important; max-width: 100% !important; }
  .vlist-wrap {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 24px 60px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* 3-column grid on desktop */
  .vgrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 20px !important;
  }
  .vcard-full {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    min-height: unset !important;
  }
  .vcard-thumb {
    width: 100% !important; min-width: unset !important;
    height: unset !important; min-height: unset !important;
    border-radius: 10px !important;
  }
  .vcard-thumb-img { border-radius: 10px !important; }
  .vcard-thumb-fallback { border-radius: 10px !important; }
  .vcard-title { font-size: 14px !important; -webkit-line-clamp: 2 !important; }
  .vcard-info { padding: 10px 2px 0 !important; }
  .vcard-play-btn { border-radius: 10px !important; }
  /* Remove conflicting screen-content padding for video */
  #sc-video .screen-content { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
  #sc-video .screen-content > div { padding: 0 !important; }

  /* ── PROFILE ── */
  .profile-hero { padding: 48px 24px 40px !important; }
  .profile-avatar { width: 90px !important; height: 90px !important; font-size: 40px !important; }
  .profile-name { font-size: 22px !important; }
  /* Profile list full width on desktop */
  .profile-list { max-width: 100% !important; margin: 0 !important; padding: 20px 32px 40px !important; }
  #pf-event-card { margin: 0 32px 16px !important; }
  .profile-item { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
  .profile-item h4 { font-size: 15px !important; }
  .profile-item p  { font-size: 13px !important; }

  /* ── PAYMENT ── */
  #sc-payment .screen-content { max-width: 520px !important; margin: 0 auto !important; }
  .pay-amount-box .amt { font-size: 42px !important; }

  /* ── ORDERS ── */
  #orders-content { max-width: 720px !important; margin: 0 auto !important; padding: 20px 28px !important; }

  /* ── VIDEO ── */
  /* sc-video screen-content handled above in VIDEO LIST section */

  /* ── HOME about/why full width ── */
  .sd-full-section { padding: 16px 0 0 !important; }
  .sd-full-card { border-radius: 0 !important; }
  .sd-about-card.sd-full-card, .sd-why-list.sd-full-card {
    max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important;
    padding: 28px 40px !important;
    border-radius: 0 !important;
  }
  .sd-full-section .sd-section-label { padding: 0 40px !important; }

  /* ── VIDEO PLAYLIST CARD on desktop — wider, taller ── */
  .vpl-card {
    padding: 16px 20px !important;
    border-radius: 18px !important;
    gap: 18px !important;
    margin-bottom: 14px !important;
  }
  .vpl-thumb {
    width: 180px !important; min-width: 180px !important;
    height: 108px !important; border-radius: 14px !important;
  }
  .vpl-thumb-bg i { font-size: 32px !important; }
  .vpl-name { font-size: 17px !important; font-weight: 700 !important; }
  .vpl-meta { gap: 16px !important; margin-top: 4px !important; }
  .vpl-meta-item { font-size: 14px !important; gap: 7px !important; }
  .vpl-badge { font-size: 11px !important; padding: 4px 12px !important; border-radius: 9px !important; }
  .vpl-q-badge { font-size: 11px !important; padding: 4px 12px !important; border-radius: 9px !important; }
  .vpl-info { gap: 8px !important; padding: 4px 0 !important; }

  /* ── FACE AI ── */
  .face-cam-wrap { max-height: calc(100vh - 180px) !important; }

  /* ── FULLVIEW ── */
  #fv-prev { left: 24px !important; width: 54px !important; height: 54px !important; }
  #fv-next { right: 24px !important; width: 54px !important; height: 54px !important; }
  #fv-bottombar { gap: 48px !important; padding-bottom: 36px !important; }

  /* ── TOAST ── */
  #toast { bottom: 28px !important; font-size: 14px !important; padding: 13px 26px !important; }

  /* ── INSTALL BANNER ── */
  #install-banner { bottom: 20px !important; left: 240px !important; right: 20px !important; max-width: 440px !important; }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 10px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.28); }

}

/* ═══════════════════════════════════════
   TABLET 600–899px
═══════════════════════════════════════ */
@media (min-width: 600px) and (max-width: 899px) {
  .sd-quick-grid { grid-template-columns: repeat(6, 1fr) !important; }
  .sd-offer-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .vpl-thumb { width: 120px !important; min-width: 120px !important; height: 78px !important; }
}

/* ═══════════════════════════════════════
   DESKTOP SHOP — products grid override
═══════════════════════════════════════ */
@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 18px !important; }
  .product-img { height: 200px !important; }
  .product-info h4 { font-size: 15px !important; }
  .product-price { font-size: 18px !important; }
  /* Buy screen full content area */
  #sc-buy { overflow: hidden; }
  #sc-buy > div { height: 100%; display: flex; flex-direction: column; }
  /* Shop detail panel max width on desktop */
  #shop-detail-panel { max-width: 500px !important; transform: none !important; border-radius: 24px !important; }
  /* Verify screen — auth-wrap handles layout */
  #sc-verify { overflow-y: auto !important; display: flex !important; }
  /* Video playlist max width */
  #sc-video { overflow: hidden; }
  #video-content { max-width: 100%; margin: 0; }
  .vpl-card { margin: 0 0 14px !important; }
}

@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ── CART (desktop) ── */
