/* ============================================================
   Zelmora Shop — Premium Homepage Layer (shop-home.css)
   ADDITIVE ONLY. Scoped under .zh-* classes so it never touches
   existing shop/admin styles. Unlink to fully revert.
   Reuses brand :root tokens from styles.css with safe fallbacks.
   ============================================================ */
:root{
  --zh-bg:        var(--bg,#1E1D23);
  --zh-bg2:       #16151C;
  --zh-card:      #25232B;
  --zh-card2:     #2D2B36;
  --zh-border:    var(--border,#3D3849);
  --zh-purple:    var(--purple,#4B3F58);
  --zh-purple2:   #6b5f86;
  --zh-lav:       var(--lavender,#8A7FA2);
  --zh-soft:      var(--soft,#D9D5E6);
  --zh-ink:       var(--white,#F5F4F8);
  --zh-gold:      var(--gold,#C9A96E);
  --zh-gold2:     #e4c98f;
  --zh-ok:        #7bc48a;
  --zh-ease:      cubic-bezier(.16,1,.3,1);
  --zh-glass:     rgba(37,35,43,.66);
  --zh-glass-brd: rgba(138,127,162,.20);
  --zh-lift:      0 26px 60px -20px rgba(0,0,0,.7), 0 10px 24px -14px rgba(0,0,0,.55);
}

/* section rhythm */
.zh-sec{padding:4.25rem 0}
.zh-sec-tight{padding:2.5rem 0}
.zh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.9rem;flex-wrap:wrap}
.zh-head h2{font-size:clamp(1.4rem,2.4vw,1.9rem);font-weight:700;letter-spacing:-.02em;color:var(--zh-ink);margin:0;line-height:1.15}
.zh-head-tag{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--zh-gold);background:linear-gradient(135deg,rgba(201,169,110,.14),rgba(201,169,110,.05));
  border:1px solid rgba(201,169,110,.34);padding:.34rem .7rem;border-radius:999px}
.zh-head-link{display:inline-flex;align-items:center;gap:.4rem;color:var(--zh-lav);font-size:.86rem;font-weight:600;white-space:nowrap;transition:color .2s ease,gap .2s ease}
.zh-head-link:hover{color:var(--zh-ink);gap:.6rem}
.zh-head-link svg{width:15px;height:15px}
.zh-sec-titlewrap{display:flex;flex-direction:column;gap:.55rem}

/* ============ HERO ============ */
.zh-hero{position:relative;overflow:hidden;padding:clamp(2.5rem,5vw,4.75rem) 0 clamp(2.75rem,5vw,4rem);isolation:isolate}
.zh-hero::before{content:"";position:absolute;inset:0;z-index:-2;
  background:
    radial-gradient(60% 55% at 82% 18%,rgba(107,95,134,.42),transparent 60%),
    radial-gradient(48% 50% at 12% 8%,rgba(75,63,88,.34),transparent 62%),
    linear-gradient(180deg,var(--zh-bg2),var(--zh-bg))}
.zh-hero::after{content:"";position:absolute;z-index:-1;top:-14%;right:-8%;width:min(560px,58vw);height:min(560px,58vw);
  border-radius:50%;background:radial-gradient(circle,rgba(138,127,162,.28),transparent 68%);filter:blur(14px);pointer-events:none}
.zh-hero-inner{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(2rem,4vw,4rem);align-items:center}
.zh-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--zh-gold);background:linear-gradient(135deg,rgba(201,169,110,.16),rgba(201,169,110,.04));
  border:1px solid rgba(201,169,110,.4);padding:.44rem .85rem;border-radius:999px;margin-bottom:1.35rem}
.zh-eyebrow svg{width:14px;height:14px}
.zh-title{font-size:clamp(2.1rem,4.6vw,3.5rem);line-height:1.05;font-weight:700;letter-spacing:-.03em;color:var(--zh-ink);margin:0 0 1.1rem}
.zh-title .g{background:linear-gradient(120deg,var(--zh-gold2),var(--zh-gold));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.zh-lead{font-size:clamp(1rem,1.5vw,1.12rem);line-height:1.65;color:var(--zh-soft);max-width:36ch;margin:0 0 1.7rem}

/* hero search */
.zh-search{position:relative;max-width:520px;margin-bottom:1.35rem}
.zh-search-field{display:flex;align-items:center;gap:.6rem;padding:.35rem .35rem .35rem 1rem;border-radius:16px;
  background:var(--zh-glass);border:1px solid var(--zh-glass-brd);
  -webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);
  box-shadow:0 18px 44px -22px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.03);transition:border-color .25s ease,box-shadow .25s ease}
.zh-search-field:focus-within{border-color:rgba(138,127,162,.55);box-shadow:0 0 0 3px rgba(138,127,162,.18),0 18px 44px -22px rgba(0,0,0,.7)}
.zh-search-field>svg{width:19px;height:19px;color:var(--zh-lav);flex-shrink:0}
.zh-search input{flex:1;min-width:0;border:none;background:none;color:var(--zh-ink);font-family:inherit;font-size:.95rem;padding:.7rem 0}
.zh-search input::placeholder{color:var(--zh-lav)}
.zh-search input:focus{outline:none}
.zh-search-go{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:none;cursor:pointer;
  border-radius:12px;color:#1a1720;background:linear-gradient(135deg,var(--zh-purple2),var(--zh-purple));color:#fff;transition:transform .25s var(--zh-ease),box-shadow .25s ease}
.zh-search-go:hover{transform:translateY(-2px);box-shadow:0 10px 22px -8px rgba(107,95,134,.7)}
.zh-search-go svg{width:18px;height:18px}
.zh-search-results{position:absolute;top:calc(100% + .55rem);left:0;right:0;z-index:60;padding:.4rem;border-radius:14px;
  background:rgba(30,29,35,.97);border:1px solid var(--zh-glass-brd);box-shadow:var(--zh-lift);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:none}
.zh-search-results.show{display:block;animation:zhFade .25s var(--zh-ease)}
.zh-sr-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.62rem .75rem;border-radius:10px;color:var(--zh-soft);transition:background-color .18s ease}
.zh-sr-item:hover{background:rgba(138,127,162,.14);color:var(--zh-ink)}
.zh-sr-item .n{font-size:.88rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zh-sr-item .p{font-size:.78rem;color:var(--zh-gold);font-weight:600;white-space:nowrap}
.zh-sr-empty{padding:.7rem .75rem;color:var(--zh-lav);font-size:.84rem}

.zh-cta-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:1.8rem}
.zh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.85rem 1.5rem;border-radius:13px;
  font-family:inherit;font-size:.94rem;font-weight:600;cursor:pointer;border:1px solid transparent;transition:transform .25s var(--zh-ease),box-shadow .3s ease,background-color .25s ease,border-color .25s ease;text-align:center}
.zh-btn svg{width:17px;height:17px}
.zh-btn-primary{color:#fff;background:linear-gradient(135deg,var(--zh-purple2),var(--zh-purple));box-shadow:0 14px 30px -12px rgba(107,95,134,.75)}
.zh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 20px 38px -12px rgba(107,95,134,.9)}
.zh-btn-ghost{color:var(--zh-soft);background:rgba(255,255,255,.03);border-color:var(--zh-border)}
.zh-btn-ghost:hover{transform:translateY(-2px);border-color:var(--zh-lav);color:var(--zh-ink);background:rgba(138,127,162,.1)}
.zh-btn:active{transform:translateY(0) scale(.98)}

.zh-trustrow{display:flex;flex-wrap:wrap;gap:1.4rem;color:var(--zh-lav);font-size:.83rem;font-weight:500}
.zh-trustrow span{display:inline-flex;align-items:center;gap:.45rem}
.zh-trustrow svg{width:16px;height:16px;color:var(--zh-ok)}

/* hero visual */
.zh-hero-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:340px}
.zh-hero-ring{position:absolute;width:min(420px,90%);aspect-ratio:1;border-radius:50%;
  background:conic-gradient(from 210deg,rgba(138,127,162,.05),rgba(107,95,134,.55),rgba(201,169,110,.35),rgba(138,127,162,.05));
  filter:blur(2px);opacity:.9;animation:zhSpin 26s linear infinite}
.zh-hero-ring::after{content:"";position:absolute;inset:14px;border-radius:50%;background:radial-gradient(circle at 50% 40%,rgba(30,29,35,.2),var(--zh-bg) 72%)}
.zh-hero-frame{position:relative;z-index:2;width:min(340px,80%);border-radius:22px;overflow:hidden;
  background:linear-gradient(160deg,var(--zh-card2),var(--zh-card));border:1px solid var(--zh-glass-brd);
  box-shadow:var(--zh-lift);transform:rotate(-3deg);transition:transform .5s var(--zh-ease)}
.zh-hero-frame:hover{transform:rotate(0) translateY(-6px)}
.zh-hero-frame img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.zh-hero-frame .zh-hf-fallback{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;color:var(--zh-purple2)}
.zh-hero-frame .zh-hf-fallback svg{width:74px;height:74px;opacity:.6}
.zh-hero-frame-cap{position:absolute;left:0;right:0;bottom:0;padding:1.1rem 1.15rem;
  background:linear-gradient(180deg,transparent,rgba(15,14,19,.92));display:flex;flex-direction:column;gap:.2rem}
.zh-hero-frame-cap strong{color:#fff;font-size:.95rem;font-weight:600}
.zh-hero-frame-cap span{color:var(--zh-gold);font-size:.82rem;font-weight:600}
.zh-hero-chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .8rem;border-radius:12px;
  background:var(--zh-glass);border:1px solid var(--zh-glass-brd);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:var(--zh-lift);font-size:.78rem;font-weight:600;color:var(--zh-ink)}
.zh-hero-chip svg{width:15px;height:15px;color:var(--zh-gold)}
.zh-hero-chip.c1{top:8%;right:2%;animation:zhFloat 5s ease-in-out infinite}
.zh-hero-chip.c2{bottom:10%;left:0;animation:zhFloat 6s ease-in-out infinite .8s}

/* ============ CATEGORY CARDS ============ */
.zh-cats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
.zh-cat{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;text-align:center;
  padding:1.5rem 1rem;border-radius:18px;background:linear-gradient(160deg,var(--zh-card2),var(--zh-card));
  border:1px solid var(--zh-border);transition:transform .35s var(--zh-ease),border-color .25s ease,box-shadow .35s ease;overflow:hidden}
.zh-cat::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 50% -20%,rgba(138,127,162,.18),transparent 70%);opacity:0;transition:opacity .35s ease}
.zh-cat:hover{transform:translateY(-6px);border-color:rgba(138,127,162,.5);box-shadow:var(--zh-lift)}
.zh-cat:hover::before{opacity:1}
.zh-cat-ic{position:relative;display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:15px;
  background:linear-gradient(135deg,rgba(107,95,134,.55),rgba(75,63,88,.3));border:1px solid var(--zh-glass-brd);color:var(--zh-gold)}
.zh-cat-ic svg{width:24px;height:24px}
.zh-cat-name{position:relative;font-size:.92rem;font-weight:600;color:var(--zh-ink);line-height:1.25}
.zh-cat-count{position:relative;font-size:.75rem;color:var(--zh-lav)}

/* ============ PRODUCT / APP CARDS ============ */
.zh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.4rem}
.zh-card{position:relative;display:flex;flex-direction:column;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,var(--zh-card2),var(--zh-card));border:1px solid var(--zh-border);
  transition:transform .4s var(--zh-ease),border-color .25s ease,box-shadow .4s ease}
.zh-card:hover{transform:translateY(-8px);border-color:rgba(138,127,162,.5);box-shadow:var(--zh-lift)}
.zh-card-link{position:absolute;inset:0;z-index:3}
.zh-card-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(135deg,#2a2833,#211f29)}
.zh-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .55s var(--zh-ease)}
.zh-card:hover .zh-card-media img{transform:scale(1.06)}
.zh-card-media .zh-mf{display:flex;align-items:center;justify-content:center;height:100%;color:var(--zh-purple2)}
.zh-card-media .zh-mf svg{width:56px;height:56px;opacity:.55}
.zh-card-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(15,14,19,.35));pointer-events:none}

.zh-badge{position:absolute;top:.8rem;left:.8rem;z-index:4;display:inline-flex;align-items:center;gap:.3rem;
  padding:.32rem .62rem;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 6px 16px -6px rgba(0,0,0,.6)}
.zh-badge.best{background:linear-gradient(135deg,#e4c98f,#c9a96e);color:#2a2410}
.zh-badge.new{background:linear-gradient(135deg,#7d6fa8,#5f5385);color:#fff}
.zh-badge.free{background:linear-gradient(135deg,#7bc48a,#4f9c66);color:#0e2415}
.zh-badge.limited{background:linear-gradient(135deg,#d98a76,#c56a54);color:#2a1109}
.zh-badge.app{background:rgba(37,35,43,.82);color:var(--zh-soft);border:1px solid var(--zh-glass-brd)}
.zh-sale{position:absolute;top:.8rem;right:.8rem;z-index:4;padding:.3rem .55rem;border-radius:8px;font-size:.72rem;font-weight:800;
  background:linear-gradient(135deg,#e4c98f,#c9a96e);color:#2a2410;box-shadow:0 6px 16px -6px rgba(0,0,0,.6)}

.zh-card-body{display:flex;flex-direction:column;gap:.5rem;padding:1.15rem 1.2rem 1.25rem;flex:1}
.zh-card-cat{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--zh-lav)}
.zh-card-title{font-size:1.02rem;font-weight:600;line-height:1.3;color:var(--zh-ink);margin:0}
.zh-card-sub{font-size:.85rem;line-height:1.5;color:var(--zh-lav);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.zh-stars{display:inline-flex;align-items:center;gap:.15rem;font-size:.78rem;color:var(--zh-lav)}
.zh-stars svg{width:13px;height:13px;color:var(--zh-gold)}
.zh-stars .muted svg{color:var(--zh-border)}
.zh-card-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:.65rem}
.zh-price{display:flex;align-items:baseline;gap:.4rem;font-size:1.15rem;font-weight:700;color:var(--zh-ink)}
.zh-price small{font-size:.72rem;font-weight:500;color:var(--zh-lav)}
.zh-price .was{font-size:.82rem;font-weight:500;color:var(--zh-lav);text-decoration:line-through}
.zh-price.free{color:var(--zh-ok)}
.zh-iconbtn{position:relative;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  min-width:44px;height:44px;padding:0 .7rem;border:none;cursor:pointer;border-radius:12px;font-family:inherit;font-size:.85rem;font-weight:600;
  color:#fff;background:linear-gradient(135deg,var(--zh-purple2),var(--zh-purple));transition:transform .25s var(--zh-ease),box-shadow .3s ease,filter .2s ease}
.zh-iconbtn svg{width:18px;height:18px}
.zh-iconbtn:hover{transform:translateY(-2px);box-shadow:0 12px 24px -10px rgba(107,95,134,.85)}
.zh-iconbtn:active{transform:translateY(0) scale(.95)}
.zh-iconbtn.gold{background:linear-gradient(135deg,var(--zh-gold2),var(--zh-gold));color:#2a2410}
.zh-soon{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--zh-gold)}

.zh-viewall{display:flex;justify-content:center;margin-top:2.4rem}

/* ============ TRUST STRIP ============ */
.zh-trust{border-top:1px solid var(--zh-border);border-bottom:1px solid var(--zh-border);
  background:linear-gradient(180deg,rgba(37,35,43,.5),rgba(22,21,28,.5))}
.zh-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem}
.zh-trust-item{display:flex;align-items:center;gap:.9rem}
.zh-trust-ic{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;
  background:linear-gradient(135deg,rgba(107,95,134,.4),rgba(75,63,88,.2));border:1px solid var(--zh-glass-brd);color:var(--zh-gold)}
.zh-trust-ic svg{width:22px;height:22px}
.zh-trust-tx strong{display:block;font-size:.9rem;font-weight:600;color:var(--zh-ink);margin-bottom:.15rem}
.zh-trust-tx span{font-size:.78rem;color:var(--zh-lav);line-height:1.4}

/* ============ NEWSLETTER ============ */
.zh-news-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1.6rem;
  padding:clamp(1.6rem,3vw,2.4rem);border-radius:24px;
  background:
    radial-gradient(80% 140% at 12% 0%,rgba(107,95,134,.4),transparent 60%),
    linear-gradient(135deg,var(--zh-card2),var(--zh-card));
  border:1px solid var(--zh-glass-brd);box-shadow:var(--zh-lift)}
.zh-news-ic{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:18px;
  background:linear-gradient(135deg,var(--zh-purple2),var(--zh-purple));color:#fff;box-shadow:0 14px 30px -12px rgba(107,95,134,.8)}
.zh-news-ic svg{width:32px;height:32px}
.zh-news-tx h3{font-size:clamp(1.15rem,2vw,1.5rem);font-weight:700;color:var(--zh-ink);margin:0 0 .3rem;letter-spacing:-.02em}
.zh-news-tx p{font-size:.9rem;color:var(--zh-lav);margin:0;line-height:1.5}
.zh-news-form{display:flex;gap:.5rem;flex-direction:column;min-width:min(340px,80vw)}
.zh-news-field{display:flex;gap:.5rem;padding:.35rem;border-radius:14px;background:rgba(0,0,0,.28);border:1px solid var(--zh-border)}
.zh-news-field input{flex:1;min-width:0;border:none;background:none;color:var(--zh-ink);font-family:inherit;font-size:.9rem;padding:.6rem .8rem}
.zh-news-field input::placeholder{color:var(--zh-lav)}
.zh-news-field input:focus{outline:none}
.zh-news-note{font-size:.72rem;color:var(--zh-lav);text-align:center}

@keyframes zhFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes zhSpin{to{transform:rotate(360deg)}}
@keyframes zhFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ============ RESPONSIVE ============ */
@media (max-width:900px){
  .zh-hero-inner{grid-template-columns:1fr;gap:2.5rem}
  .zh-hero-visual{min-height:300px;order:-1}
  .zh-lead{max-width:none}
  .zh-news-card{grid-template-columns:1fr;text-align:center}
  .zh-news-ic{margin:0 auto}
  .zh-news-form{min-width:0}
}
@media (max-width:560px){
  .zh-sec{padding:3rem 0}
  .zh-cats-grid{grid-template-columns:repeat(2,1fr)}
  .zh-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}
  .zh-card-body{padding:.95rem 1rem 1.05rem}
  .zh-title{font-size:2rem}
}
@media (prefers-reduced-motion:reduce){
  .zh-hero-ring,.zh-hero-chip{animation:none}
  .zh-card,.zh-cat,.zh-btn,.zh-iconbtn,.zh-hero-frame{transition:none}
}


/* ============================================================
   PHASE 2 — Premium layer for remaining Shop pages
   (listing, product/app detail, 404). Additive & scoped.
   ============================================================ */

/* ---- Listing / generic page header ---- */
.zh-page-head{position:relative;padding:3.4rem 0 1.4rem;overflow:hidden}
.zh-page-head::before{content:"";position:absolute;top:-40%;left:50%;transform:translateX(-50%);width:min(900px,120%);height:340px;background:radial-gradient(60% 60% at 50% 0,rgba(107,95,134,.35),transparent 70%);pointer-events:none;z-index:0}
.zh-page-head .container{position:relative;z-index:1}
.zh-page-title{margin:.35rem 0 .5rem;font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.1;letter-spacing:-.02em;color:var(--zh-ink)}
.zh-page-lead{max-width:620px;color:var(--zh-lav);font-size:1.02rem;line-height:1.6}

/* ---- Category groups on the listing ---- */
.zh-cat-group{margin:2.2rem 0 2.8rem}
.zh-cat-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 1.3rem;padding-bottom:.7rem;border-bottom:1px solid var(--zh-border)}
.zh-cat-group-head h2{margin:0;font-size:1.18rem;letter-spacing:-.01em;color:var(--zh-ink)}
.zh-cat-num{font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--zh-lav);white-space:nowrap}

/* strike-through compare price + soon state (used across listing & cards) */
.zh-price-was{color:var(--zh-lav);text-decoration:line-through;font-weight:500;opacity:.7;margin-right:.15rem;font-size:.86em}
.zh-price.soon{color:var(--zh-gold);font-size:.82rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}

/* empty state */
.zh-empty{text-align:center;padding:4rem 1.5rem;color:var(--zh-lav);display:flex;flex-direction:column;align-items:center;gap:1.2rem}
.zh-empty p{font-size:1.06rem;margin:0}

/* ============================================================
   Product / App detail (.pd-*) — premium polish overlay
   (shop-ui.css keeps the base layout; these add depth only)
   ============================================================ */
.pd-wrap{position:relative}
.pd-wrap::before{content:"";position:absolute;top:-60px;left:-10%;width:60%;height:520px;background:radial-gradient(50% 50% at 30% 20%,rgba(107,95,134,.28),transparent 70%);pointer-events:none;z-index:0}
.pd-wrap .container{position:relative;z-index:1}
.pd-main{border:1px solid var(--zh-border);border-radius:20px;overflow:hidden;background:linear-gradient(160deg,var(--zh-card2),var(--zh-card));box-shadow:var(--zh-lift)}
.pd-main img{display:block;width:100%;height:auto;transition:transform .6s var(--zh-ease)}
.pd-main:hover img{transform:scale(1.03)}
.pd-thumb{border:1px solid var(--zh-border);border-radius:12px;overflow:hidden;background:var(--zh-card);transition:border-color .25s var(--zh-ease),transform .25s var(--zh-ease)}
.pd-thumb.is-active,.pd-thumb:hover{border-color:var(--zh-gold);transform:translateY(-2px)}
.pd-title{font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.02em;line-height:1.12;color:var(--zh-ink)}
.pd-tagline{color:var(--zh-lav);font-size:1.05rem;line-height:1.55}
.pd-price{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin:.4rem 0 1.2rem}
.pd-price-now{font-size:1.9rem;font-weight:700;color:var(--zh-ink)}
.pd-price-cycle{color:var(--zh-lav);font-weight:500}
.pd-price-was{color:var(--zh-lav);text-decoration:line-through;opacity:.7}
.pd-price-save{font-size:.8rem;font-weight:700;letter-spacing:.03em;color:#12100f;background:linear-gradient(135deg,var(--zh-gold2),var(--zh-gold));padding:.22rem .6rem;border-radius:999px}
.pd-badges .badge-purple{background:rgba(107,95,134,.22);color:var(--zh-soft);border:1px solid var(--zh-glass-brd)}
.pd-badges .badge-sale{background:linear-gradient(135deg,var(--zh-gold2),var(--zh-gold));color:#12100f;border:none}
.pd-badges .badge-green{background:rgba(123,196,138,.18);color:var(--zh-ok);border:1px solid rgba(123,196,138,.35)}
.pd-features{margin-top:1.6rem;padding:1.3rem 1.4rem;border:1px solid var(--zh-border);border-radius:16px;background:var(--zh-glass);backdrop-filter:blur(10px)}
.pd-features h2{font-size:1rem;letter-spacing:.02em;margin:0 0 .8rem;color:var(--zh-ink)}
.pd-feature-list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.pd-feature-list li{display:flex;align-items:flex-start;gap:.6rem;color:var(--zh-soft);font-size:.95rem;line-height:1.45}
.pd-feature-list svg{flex:0 0 auto;width:18px;height:18px;color:var(--zh-gold);margin-top:.15rem}
.pd-trust{display:flex;flex-wrap:wrap;gap:1rem 1.4rem;margin-top:1.4rem;padding-top:1.3rem;border-top:1px solid var(--zh-border)}
.pd-trust-item{display:flex;align-items:center;gap:.55rem;color:var(--zh-lav);font-size:.86rem}
.pd-trust-item svg{width:20px;height:20px;color:var(--zh-gold)}
.pd-desc{margin-top:2.4rem;padding-top:1.8rem;border-top:1px solid var(--zh-border)}
.pd-desc h2{font-size:1.15rem;color:var(--zh-ink);margin:0 0 1rem}
.pd-coupon-hint{color:var(--zh-lav);font-size:.85rem;margin-top:.2rem}

/* ---- 404 premium ---- */
.page-404{position:relative;text-align:center;padding:6rem 1.5rem;display:flex;flex-direction:column;align-items:center;overflow:hidden}
.page-404::before{content:"";position:absolute;top:20%;left:50%;transform:translateX(-50%);width:520px;height:320px;background:radial-gradient(50% 50% at 50% 50%,rgba(107,95,134,.32),transparent 70%);pointer-events:none}
.page-404 .code{position:relative;font-size:clamp(5rem,16vw,9rem);font-weight:800;line-height:1;letter-spacing:-.04em;background:linear-gradient(135deg,var(--zh-gold2),var(--zh-purple2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.page-404 h1,.page-404 p{position:relative}

@media(max-width:560px){
  .zh-cat-group-head{flex-direction:column;align-items:flex-start;gap:.3rem}
  .pd-price-now{font-size:1.55rem}
}


/* ============================================================
   PHASE 5 — Reviews (detail page + shared review cards)
   ============================================================ */
.pd-reviews{margin-top:2.6rem;padding-top:1.9rem;border-top:1px solid var(--zh-border)}
.pd-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem}
.pd-reviews-head h2{margin:0;font-size:1.2rem;color:var(--zh-ink)}
.pd-reviews-avg{display:flex;align-items:center;gap:.55rem;color:var(--zh-lav);font-size:.9rem}
.pd-reviews-empty{color:var(--zh-lav);font-size:.92rem;margin:0}
.zh-stars{color:var(--zh-gold);letter-spacing:.08em;font-size:1rem;line-height:1}
.zh-review-flash{padding:.8rem 1.1rem;border-radius:12px;font-size:.9rem;margin-bottom:1.2rem}
.zh-review-flash.ok{background:rgba(123,196,138,.14);border:1px solid rgba(123,196,138,.4);color:var(--zh-ok)}
.zh-review-flash.err{background:rgba(217,118,95,.14);border:1px solid rgba(217,118,95,.4);color:#e0857f}
.pd-review-list{display:grid;gap:1rem;margin-bottom:2rem}
.zh-review{border:1px solid var(--zh-border);border-radius:16px;padding:1.2rem 1.3rem;background:var(--zh-glass);backdrop-filter:blur(8px)}
.zh-review-top{display:flex;align-items:center;gap:.6rem;margin-bottom:.4rem}
.zh-review-pin{font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--zh-gold);border:1px solid var(--zh-glass-brd);border-radius:999px;padding:.1rem .5rem}
.zh-review-title{margin:.1rem 0 .35rem;font-size:1rem;color:var(--zh-ink)}
.zh-review-body{margin:0 0 .55rem;color:var(--zh-soft);font-size:.94rem;line-height:1.6}
.zh-review-meta{font-size:.82rem;color:var(--zh-lav)}
.zh-review-verified{color:var(--zh-ok)}
.zh-review-reply{margin-top:.7rem;padding:.7rem .9rem;border-left:2px solid var(--zh-gold);background:rgba(107,95,134,.12);border-radius:0 10px 10px 0;font-size:.88rem;color:var(--zh-soft)}
.zh-review-form{border:1px solid var(--zh-border);border-radius:18px;padding:1.4rem 1.5rem;background:linear-gradient(160deg,var(--zh-card2),var(--zh-card));box-shadow:var(--zh-lift)}
.zh-review-form h3{margin:0 0 1rem;font-size:1.05rem;color:var(--zh-ink)}
.zh-review-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:600;letter-spacing:.03em;color:var(--zh-lav);margin-bottom:.9rem}
.zh-rf-row{display:flex;gap:1rem;flex-wrap:wrap}
.zh-rf-row label{flex:1;min-width:150px}
.zh-review-form input,.zh-review-form select,.zh-review-form textarea{width:100%;background:var(--zh-bg);border:1px solid var(--zh-border);border-radius:10px;color:var(--zh-ink);padding:.6rem .75rem;font-family:inherit;font-size:.92rem;outline:none;transition:border-color .2s var(--zh-ease),box-shadow .2s var(--zh-ease)}
.zh-review-form input:focus,.zh-review-form select:focus,.zh-review-form textarea:focus{border-color:var(--zh-lav);box-shadow:0 0 0 3px rgba(138,127,162,.14)}
.zh-review-form textarea{resize:vertical;min-height:110px}
.zh-review-form .zh-btn{margin-top:.4rem}
@media(max-width:560px){.zh-rf-row{flex-direction:column;gap:0}}

/* Card rating strip (listing/homepage cards) */
.zh-card .zh-stars{font-size:.82rem}
.zh-card-rating{display:flex;align-items:center;gap:.35rem;font-size:.76rem;color:var(--zh-lav);margin-top:.2rem}


/* ============================================================
   MOBILE POLISH — edge-to-edge + fluid downscale (ALL shop pages)
   Content hugs the screen edges on phones and the UI scales down
   slightly for a tighter, premium fit. Uses shared .container /
   .zh-* / .pd-* classes so every shop page benefits, not just home.
   ============================================================ */
@media (max-width:768px){
  :root{--pad-x:18px}
  .zh-sec{padding:3.25rem 0}
  .zh-sec-tight{padding:2.1rem 0}
  .zh-head{margin-bottom:1.4rem}
  .zh-hero-inner{grid-template-columns:1fr;gap:1.8rem}
  .zh-hero-visual{min-height:260px;order:-1}
}
@media (max-width:560px){
  :root{--pad-x:14px}
  html{font-size:15.5px}
  .zh-sec{padding:2.6rem 0}
  .zh-sec-tight{padding:1.7rem 0}
  .zh-hero{padding:1.9rem 0 2.2rem}
  .zh-hero-inner{gap:1.5rem}
  .zh-hero-visual{min-height:220px}
  .zh-title{font-size:clamp(1.85rem,8.6vw,2.45rem);margin-bottom:.8rem}
  .zh-lead{font-size:.98rem;max-width:100%;margin-bottom:1.3rem}
  .zh-eyebrow{margin-bottom:1rem;padding:.38rem .7rem}
  .zh-head{gap:.5rem}
  .zh-head h2{font-size:clamp(1.3rem,5.8vw,1.6rem)}
  .zh-head-link{font-size:.8rem}
  .zh-cta-row{gap:.6rem;margin-bottom:1.4rem}
  .zh-cta-row .zh-btn{flex:1 1 100%}
  .zh-trustrow{gap:.85rem 1.1rem;font-size:.8rem}
  .zh-search{max-width:100%}
  .zh-grid,.grid-auto{gap:.85rem}
  .zh-card{border-radius:14px}
  .zh-page-head{padding:1.5rem 0}
  .zh-page-title{font-size:clamp(1.7rem,7.4vw,2.2rem)}
  .zh-page-lead{font-size:.96rem}
  .zh-cat-group-head{margin-bottom:1rem}
  /* product detail */
  .pd-reviews{margin-top:2rem;padding-top:1.4rem}
  .pd-reviews-head h2{font-size:1.1rem}
  .zh-review{padding:1rem 1.05rem;border-radius:14px}
  .zh-review-form{padding:1.1rem 1.15rem;border-radius:16px}
}
@media (max-width:400px){
  :root{--pad-x:11px}
  html{font-size:15px}
  .zh-cta-row .zh-btn{padding:.78rem 1rem;font-size:.9rem}
  .zh-eyebrow{font-size:.68rem}
}


/* -- Review form full-width fields (class was used but never defined) -- */
.zh-rf-full{grid-column:1/-1;display:block;width:100%}
.zh-rf-full input,.zh-rf-full textarea{width:100%;box-sizing:border-box;
  background:#25232B;border:1px solid #3D3849;border-radius:10px;
  color:#F5F4F8;padding:.7rem .9rem;font:inherit}
.zh-rf-full textarea{min-height:120px;resize:vertical}
.zh-rf-full input:focus,.zh-rf-full textarea:focus{outline:none;border-color:#8A7FA2}
