/* ZVAKHO Universal Store — Mobile-first v5 */

:root{
  --store-bg:#0b0b0b;
  --store-surface:#141414;
  --store-text:#ffffff;
  --store-muted:rgba(255,255,255,.72);
  --store-line:rgba(255,255,255,.16);
  --store-primary:#f5a400;
  --store-secondary:#ffffff;
  --store-accent:#ffd166;

  --safe-bottom:env(safe-area-inset-bottom,0px);
  --radius-lg:22px;
  --radius-xl:28px;
  --shadow-soft:0 18px 60px rgba(0,0,0,.26);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body.store-page{
  margin:0;
  background:var(--store-bg);
  color:var(--store-text);
  overflow-x:hidden;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.store-page a{
  color:inherit;
  text-decoration:none;
}

body.store-page img{
  max-width:100%;
  display:block;
}

.store-shell{
  width:min(1180px,100%);
  margin:0 auto;
  padding:0 16px;
}

/* NAV */

.store-nav{
  position:sticky;
  top:0;
  z-index:90;
  background:color-mix(in srgb,var(--store-bg) 94%,transparent);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--store-line);
}

.store-nav-inner{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.store-brand{
  display:flex;
  align-items:center;
  min-width:0;
}

.store-brand img{
  height:32px;
  width:auto;
  max-width:118px;
  object-fit:contain;
}

.store-nav-links{
  display:none;
}

.store-cart-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid var(--store-line);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:var(--store-text);
  font-weight:900;
  cursor:pointer;
}

.store-cart-trigger span{
  font-size:14px;
}

.store-cart-trigger strong{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--store-primary);
  color:#080808;
  font-size:13px;
}

/* TICKER */

.store-ticker{
  position:relative;
  z-index:40;
  overflow:hidden;
  border-bottom:1px solid var(--store-line);
  background:var(--store-primary);
  color:#080808;
  height:34px;
  display:flex;
  align-items:center;
}

.store-ticker-track{
  display:flex;
  width:max-content;
  animation:tickerMove 22s linear infinite;
}

.store-ticker-track span{
  white-space:nowrap;
  padding-right:28px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

@keyframes tickerMove{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* HERO */

.experience-hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid var(--store-line);
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:-3;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
  opacity:.46;
  filter:saturate(.92) contrast(.96);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--store-bg) 10%,transparent) 0%,
      color-mix(in srgb,var(--store-bg) 52%,transparent) 42%,
      var(--store-bg) 100%
    ),
    linear-gradient(90deg,
      color-mix(in srgb,var(--store-bg) 82%,transparent),
      color-mix(in srgb,var(--store-bg) 38%,transparent)
    );
}

.hero-grid-v2{
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  padding-top:54px;
  padding-bottom:44px;
}

.hero-copy{
  max-width:100%;
  position:relative;
  z-index:2;
}

.store-pill,
.micro-label{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  border:1px solid var(--store-line);
  border-radius:999px;
  padding:7px 10px;
  color:var(--store-muted);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(10px);
}

.hero-copy h1{
  color:var(--store-text);
  font-size:clamp(42px,14vw,68px);
  line-height:.94;
  letter-spacing:-.065em;
  margin:16px 0 16px;
  max-width:100%;
  overflow-wrap:break-word;
}

.hero-copy p{
  max-width:34rem;
  color:var(--store-muted);
  font-size:15px;
  line-height:1.55;
  margin:0;
}

.hero-actions{
  display:grid;
  gap:10px;
  margin-top:22px;
}

.hero-actions .btn{
  width:100%;
}

.hero-primary,
.hero-secondary,
.checkout-btn{
  border-radius:999px;
  border:1px solid var(--store-primary);
  min-height:50px;
  padding:13px 18px;
  font-weight:950;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.hero-primary,
.checkout-btn{
  background:var(--store-primary);
  color:#080808;
}

.hero-secondary{
  background:rgba(255,255,255,.08);
  color:var(--store-text);
  border-color:var(--store-line);
}

.artist-orb-card{
  display:none;
}

/* SECTIONS */

.featured-drop,
.product-section,
.artist-story,
.music-section{
  padding-top:54px;
  padding-bottom:54px;
}

.music-section{
  background:color-mix(in srgb,var(--store-surface) 70%,var(--store-bg));
  border-top:1px solid var(--store-line);
  border-bottom:1px solid var(--store-line);
}

.section-intro{
  max-width:760px;
  margin-bottom:22px;
}

.split-intro{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.section-intro h2{
  color:var(--store-text);
  margin:12px 0 0;
  font-size:clamp(30px,9vw,46px);
  line-height:1;
  letter-spacing:-.055em;
}

.section-intro p{
  color:var(--store-muted);
  font-size:15px;
  line-height:1.55;
  margin:0;
}

/* FEATURED */

.featured-card{
  display:grid;
  grid-template-columns:1fr;
  overflow:hidden;
  border:1px solid var(--store-line);
  border-radius:var(--radius-xl);
  background:rgba(255,255,255,.07);
  box-shadow:var(--shadow-soft);
}

.featured-image{
  min-height:270px;
  background:rgba(255,255,255,.06);
}

.featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.featured-info{
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:13px;
}

.featured-info h3{
  color:var(--store-text);
  font-size:clamp(28px,8vw,40px);
  line-height:1;
  letter-spacing:-.055em;
  margin:0;
}

.featured-info p{
  color:var(--store-muted);
  font-size:15px;
  line-height:1.5;
  margin:0;
}

.featured-price{
  font-size:26px;
  font-weight:950;
  color:var(--store-text);
}

.featured-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  display:inline-flex;
  border:1px solid var(--store-line);
  border-radius:999px;
  padding:6px 9px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--store-muted);
  background:rgba(255,255,255,.05);
}

.badge.hot{
  background:var(--store-primary);
  border-color:var(--store-primary);
  color:#080808;
}

.featured-actions{
  display:grid;
  gap:10px;
  margin-top:4px;
}

/* PRODUCTS */

.product-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.product-card{
  overflow:hidden;
  border:1px solid var(--store-line);
  border-radius:22px;
  background:rgba(255,255,255,.08);
  box-shadow:0 10px 36px rgba(0,0,0,.16);
}

.product-media{
  aspect-ratio:1/1;
  background:linear-gradient(135deg,var(--store-surface),color-mix(in srgb,var(--store-primary) 34%,#111));
  display:grid;
  place-items:center;
  color:var(--store-text);
  font-size:34px;
  font-weight:950;
  letter-spacing:-.08em;
  overflow:hidden;
}

.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-body{
  padding:18px;
}

.product-type{
  color:var(--store-primary);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.product-body h3{
  color:var(--store-text);
  margin:8px 0 8px;
  font-size:21px;
  line-height:1.1;
}

.product-body p{
  color:var(--store-muted);
  margin:0 0 13px;
  font-size:14px;
  line-height:1.45;
}

.product-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
}

.product-price{
  font-weight:950;
  font-size:18px;
  color:var(--store-text);
}

.product-add{
  border:0;
  border-radius:999px;
  background:var(--store-primary);
  color:#080808;
  font-weight:950;
  padding:11px 15px;
  cursor:pointer;
}

/* VARIANTS / SIZE SELECTOR */

.variant-block{
  margin:14px 0 4px;
}

.variant-label{
  color:var(--store-muted);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.variant-options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.variant-option{
  min-width:42px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--store-line);
  background:rgba(255,255,255,.06);
  color:var(--store-text);
  font-weight:950;
  cursor:pointer;
}

.variant-option.is-selected{
  background:var(--store-primary);
  border-color:var(--store-primary);
  color:#080808;
}

.variant-option:disabled{
  opacity:.38;
  cursor:not-allowed;
}

.variant-note{
  color:var(--store-muted);
  font-size:12px;
  margin-top:8px;
}

.variant-note.needs-selection{
  color:var(--store-primary);
  font-weight:850;
}

.variant-note.is-selected{
  color:var(--store-muted);
}

/* MUSIC */

.music-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}

.music-list{
  display:grid;
  gap:12px;
}

.music-row{
  display:grid;
  grid-template-columns:56px 1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid var(--store-line);
  border-radius:20px;
  padding:12px;
  background:rgba(255,255,255,.08);
}

.music-art{
  width:56px;
  height:56px;
  border-radius:14px;
  overflow:hidden;
  background:var(--store-primary);
  display:grid;
  place-items:center;
  font-weight:950;
  color:#080808;
}

.music-art img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.music-row h3{
  font-size:16px;
  color:var(--store-text);
  margin:0 0 3px;
  line-height:1.15;
}

.music-row p{
  margin:0;
  color:var(--store-muted);
  font-size:12px;
}

.preview-btn,
.mini-add{
  border:1px solid var(--store-line);
  background:rgba(255,255,255,.08);
  color:var(--store-text);
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
}

.mini-add{
  display:none;
  background:var(--store-primary);
  color:#080808;
  border-color:var(--store-primary);
}

/* STORY */

.story-card{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  align-items:center;
  padding:18px;
  border:1px solid var(--store-line);
  border-radius:var(--radius-xl);
  background:rgba(255,255,255,.08);
}

.story-profile{
  width:110px;
  aspect-ratio:1/1;
  border-radius:22px;
  overflow:hidden;
  background:var(--store-primary);
}

.story-profile img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.story-card h2{
  color:var(--store-text);
  margin:12px 0 8px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
}

.story-card p{
  color:var(--store-muted);
  font-size:15px;
  line-height:1.55;
  max-width:70ch;
}

.social-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.social-row a{
  border:1px solid var(--store-line);
  border-radius:999px;
  padding:9px 12px;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--store-muted);
}

/* FOOTER */

.artist-footer{
  padding:50px 0 calc(128px + var(--safe-bottom));
  background:color-mix(in srgb,var(--store-bg) 88%,#000);
  border-top:1px solid var(--store-line);
  color:var(--store-muted);
}

.artist-footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

.artist-footer strong{
  color:var(--store-text);
}

.artist-footer .footer-logo{
  max-width:150px;
  max-height:58px;
  width:auto;
  object-fit:contain;
  margin-bottom:14px;
}

/* CART */

.cart-drawer{
  position:fixed;
  inset:0;
  z-index:120;
  pointer-events:none;
}

.cart-drawer.is-open{
  pointer-events:auto;
}

.cart-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.52);
  opacity:0;
  transition:.2s ease;
}

.cart-drawer.is-open .cart-backdrop{
  opacity:1;
}

.cart-panel{
  position:absolute;
  inset:auto 0 0 0;
  width:100%;
  max-height:92dvh;
  background:#fff;
  color:#111;
  padding:20px 18px calc(22px + var(--safe-bottom));
  box-shadow:0 -20px 70px rgba(0,0,0,.32);
  transform:translateY(104%);
  transition:.25s ease;
  display:flex;
  flex-direction:column;
  gap:14px;
  border-radius:24px 24px 0 0;
}

.cart-drawer.is-open .cart-panel{
  transform:translateY(0);
}

.cart-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.cart-head h3{
  font-size:26px;
  color:#111;
  margin:6px 0 0;
}

.cart-close{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  font-size:26px;
  cursor:pointer;
}

.cart-items{
  display:grid;
  gap:10px;
  overflow:auto;
  min-height:90px;
  max-height:34dvh;
}

.cart-item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:13px;
  border:1px solid #eee;
  border-radius:14px;
}

.cart-item strong{
  color:#111;
}

.qty-controls{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:8px;
}

.qty-controls button{
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
}

.remove-item{
  border:0;
  background:transparent;
  color:#9b1c1c;
  font-weight:800;
  cursor:pointer;
}

.cart-total-row{
  display:flex;
  justify-content:space-between;
  border-top:1px solid #eee;
  padding-top:14px;
  font-size:18px;
}

.checkout-fields{
  display:grid;
  gap:10px;
}

.checkout-fields input{
  width:100%;
  min-height:48px;
  border:1px solid #ddd;
  border-radius:12px;
  padding:12px;
  font:inherit;
}

.checkout-note{
  font-size:13px;
  color:#666;
  margin:0;
}

.cart-empty{
  padding:22px;
  text-align:center;
  color:#666;
  border:1px dashed #ddd;
  border-radius:14px;
}

/* FLOATING PLAYER */

.floating-player{
  position:fixed;
  left:12px;
  right:12px;
  bottom:calc(12px + var(--safe-bottom));
  z-index:85;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:62px;
  padding:10px;
  border:1px solid var(--store-line);
  border-radius:999px;
  background:color-mix(in srgb,var(--store-bg) 92%,transparent);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-soft);
}

.floating-player[hidden]{
  display:none;
}

.player-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:var(--store-primary);
  color:#080808;
  font-weight:950;
  cursor:pointer;
}

.player-meta{
  min-width:0;
}

.player-meta strong{
  display:block;
  color:var(--store-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:14px;
}

.player-meta span{
  display:block;
  color:var(--store-muted);
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player-buy{
  border:1px solid var(--store-line);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--store-text);
  font-weight:900;
  padding:10px 12px;
  cursor:pointer;
  font-size:12px;
}

/* MOBILE BUY BAR */

.mobile-buy-bar{
  position:fixed;
  left:12px;
  right:12px;
  bottom:calc(82px + var(--safe-bottom));
  z-index:84;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--store-line);
  border-radius:999px;
  background:color-mix(in srgb,var(--store-bg) 92%,transparent);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-soft);
  padding:10px 10px 10px 16px;
}

.mobile-buy-bar[hidden]{
  display:none;
}

.mobile-buy-bar button{
  border:0;
  border-radius:999px;
  background:var(--store-primary);
  color:#080808;
  font-weight:950;
  padding:12px 16px;
}

.mobile-buy-bar span{
  font-weight:900;
  color:var(--store-text);
}

.featured-placeholder,
.empty{
  padding:24px;
  color:var(--store-muted);
  border:1px dashed var(--store-line);
  border-radius:18px;
  background:rgba(255,255,255,.05);
}

/* LAYOUT PERSONALITIES */

body[data-layout="gospel_clean"] .hero-media{
  opacity:.34;
  filter:saturate(.78) contrast(.9);
}

body[data-layout="gospel_clean"] .hero-overlay{
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--store-bg) 0%,transparent) 0%,
      color-mix(in srgb,var(--store-bg) 42%,transparent) 38%,
      var(--store-bg) 100%
    );
}

body[data-layout="gospel_clean"] .product-card,
body[data-layout="gospel_clean"] .featured-card,
body[data-layout="gospel_clean"] .story-card{
  background:rgba(255,255,255,.52);
}

body[data-layout="minimal_luxury"] .store-ticker{
  background:transparent;
  color:var(--store-text);
  border-top:1px solid var(--store-line);
}

body[data-layout="minimal_luxury"] .hero-media{
  opacity:.3;
  filter:saturate(.7) contrast(.9);
}

body[data-layout="minimal_luxury"] .product-card,
body[data-layout="minimal_luxury"] .featured-card{
  box-shadow:none;
}

body[data-layout="fashion_brand"] .hero-copy h1{
  text-transform:uppercase;
}

/* TABLET */

@media(min-width:681px){
  .store-shell{
    padding:0 22px;
  }

  .store-brand img{
    height:40px;
    max-width:170px;
  }

  .store-nav-inner{
    min-height:72px;
  }

  .store-nav-links{
    display:flex;
    align-items:center;
    gap:20px;
    font-size:12px;
    font-weight:850;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--store-muted);
  }

  .experience-hero{
    min-height:620px;
  }

  .hero-grid-v2{
    padding-top:76px;
    padding-bottom:64px;
  }

  .hero-copy h1{
    font-size:clamp(58px,10vw,100px);
  }

  .hero-copy p{
    font-size:18px;
  }

  .hero-actions{
    display:flex;
    flex-wrap:wrap;
  }

  .hero-actions .btn{
    width:auto;
  }

  .artist-orb-card{
    display:flex;
    align-items:center;
    gap:14px;
    max-width:420px;
    padding:14px;
    border:1px solid var(--store-line);
    border-radius:22px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
  }

  .artist-orb-image{
    width:68px;
    height:68px;
    border-radius:18px;
    overflow:hidden;
    background:var(--store-primary);
  }

  .artist-orb-image img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .artist-orb-card span{
    display:block;
    color:var(--store-muted);
    font-size:11px;
    text-transform:uppercase;
    font-weight:900;
    letter-spacing:.1em;
  }

  .artist-orb-card strong{
    display:block;
    color:var(--store-text);
    font-size:19px;
  }

  .featured-card{
    grid-template-columns:1fr 1fr;
  }

  .featured-image{
    min-height:360px;
  }

  .featured-info{
    padding:32px;
  }

  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .music-row{
    grid-template-columns:64px 1fr auto auto;
  }

  .mini-add{
    display:inline-flex;
  }

  .story-card{
    grid-template-columns:180px 1fr;
    padding:24px;
  }

  .story-profile{
    width:100%;
  }

  .artist-footer-grid{
    grid-template-columns:1.2fr 1fr 1fr;
  }

  .cart-panel{
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:min(430px,100%);
    max-height:none;
    height:100%;
    border-radius:0;
    padding:24px;
    transform:translateX(104%);
    box-shadow:-20px 0 70px rgba(0,0,0,.25);
  }

  .cart-drawer.is-open .cart-panel{
    transform:translateX(0);
  }

  .cart-items{
    max-height:none;
  }

  .floating-player{
    left:24px;
    right:auto;
    bottom:24px;
    max-width:520px;
    min-width:430px;
  }

  .mobile-buy-bar{
    display:none;
  }
}

/* DESKTOP */

@media(min-width:981px){
  .store-shell{
    padding:0 24px;
  }

  .experience-hero{
    min-height:680px;
  }

  .hero-grid-v2{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) 360px;
    gap:42px;
    align-items:end;
    padding-top:90px;
    padding-bottom:72px;
  }

  .hero-copy h1{
    font-size:clamp(72px,8vw,112px);
    max-width:820px;
  }

  .hero-copy p{
    font-size:20px;
  }

  .artist-orb-card{
    align-self:end;
    padding:18px;
    border-radius:26px;
  }

  .artist-orb-image{
    width:88px;
    height:88px;
    border-radius:24px;
  }

  .artist-orb-card strong{
    font-size:22px;
  }

  .featured-drop,
  .product-section,
  .artist-story,
  .music-section{
    padding-top:82px;
    padding-bottom:82px;
  }

  .split-intro{
    grid-template-columns:1fr minmax(280px,430px);
    gap:32px;
    align-items:end;
  }

  .section-intro h2{
    font-size:clamp(42px,5vw,64px);
  }

  .featured-image{
    min-height:430px;
  }

  .featured-info{
    padding:46px;
  }

  .product-grid{
    grid-template-columns:repeat(3,1fr);
  }

  body[data-layout="fashion_brand"] .product-grid{
    grid-template-columns:repeat(4,1fr);
  }

  .music-layout{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:36px;
    align-items:start;
  }

  .story-card{
    grid-template-columns:280px 1fr;
    gap:34px;
    padding:28px;
  }
}
