
:root{
  --bg:#0f1115;
  --bg2:#0b0d12;
  --text:#f4f6fb;
  --muted:rgba(244,246,251,.68);

  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.04);
  --glassLine: rgba(255,255,255,.12);

  --shadow: 0 34px 120px rgba(0,0,0,.55);
  --shadow2: 0 14px 44px rgba(0,0,0,.38);

  --radius: 22px;
  --radius2: 36px;
  --max: 1240px;
  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
  color:var(--text);
  background:
    radial-gradient(1100px 560px at 18% 0%, rgba(170,179,255,.12), transparent 62%),
    radial-gradient(920px 560px at 88% 68%, rgba(77,255,181,.08), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  overflow-x:hidden;
}

h1,h2,h3,.h1,.h2,.h3,.hero-title{font-family:var(--font-head);}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,select{font-family:inherit}
.container{width:min(var(--max), calc(100% - 56px)); margin:0 auto}
.container--soft{width:min(1320px, calc(100% - 32px)); margin-inline:auto;}


/* Header */
.topbar{
  position:sticky; top:0; z-index:1000;
  padding: 14px 0;
  background: rgba(12,14,18,.58);
  backdrop-filter: blur(18px);
  border-bottom:1px solid rgba(244,246,251,.07);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.brand{
  display:flex; align-items:center; gap:12px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
}
.brand-badge{
  width:26px; height:26px; border-radius:10px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(170,179,255,.62));
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}
.brand strong{letter-spacing:.18em; font-size:12px}

.nav{
  display:flex; align-items:center; gap:8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color: rgba(244,246,251,.72);
  font-size:13px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav a:hover{background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); transform: translateY(-1px); color: rgba(244,246,251,.9)}
.nav a.active{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(244,246,251,.95)}

.search{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow2);
  min-width: 320px;
}
.search input{
  border:0; outline:0; width:100%;
  background:transparent; color:var(--text);
  font-size:13px;
}
.search input::placeholder{color:rgba(244,246,251,.46)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
  font-weight:750; font-size:13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  color: rgba(244,246,251,.96);
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22)}
.btn.primary{background: rgba(255,255,255,.10)}
.btn.ghost{background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.12)}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(244,246,251,.75);
  font-size:12px;
}

.burger{display:none}
@media (max-width: 980px){
  .nav{display:none}
  .search{display:none}
  .burger{display:inline-flex; padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); box-shadow: var(--shadow2); cursor:pointer}
}

/* Drawer */
.drawer{position:fixed; inset:0; z-index:1500; background: rgba(0,0,0,.58); opacity:0; pointer-events:none; transition: opacity .2s ease}
.drawer.open{opacity:1; pointer-events:auto}
.drawer-panel{
  position:absolute; top:0; right:0; height:100%;
  width:min(460px, 90vw);
  padding:18px;
  background: rgba(18,20,26,.92);
  backdrop-filter: blur(18px);
  border-left:1px solid rgba(255,255,255,.12);
  transform: translateX(100%);
  transition: transform .22s ease;
}
.drawer.open .drawer-panel{transform: translateX(0)}
.drawer-nav{display:grid; gap:10px; margin-top:12px}
.drawer-nav a{padding:14px 12px; border-radius:18px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03)}
.drawer-nav a:hover{background: rgba(255,255,255,.05)}

/* Hero */
.hero{padding: 34px 0 0}
.hero-grid{display:grid; grid-template-columns: 1fr; gap:22px; align-items:stretch}
@media (max-width:980px){ .hero-grid{grid-template-columns:1fr} }
.hero-card{
  border-radius: var(--radius2);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card .media{aspect-ratio: 16/9; overflow:hidden}
.hero-card .media img{width:100%; height:100%; object-fit:cover; filter: saturate(1.03) contrast(1.04)}
.hero-card .content{padding: 28px 28px 30px}
.h1{font-size: clamp(38px, 4.6vw, 72px); line-height:1.02; letter-spacing:-0.04em; margin: 12px 0 12px}
.lead{margin:0; color:var(--muted); font-size: clamp(15px, 1.1vw, 18px); max-width: 70ch}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.kpis{display:grid; gap:14px; grid-template-columns: repeat(2, minmax(0,1fr))}
.kpi{
  border-radius: var(--radius);
  padding:18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(18px);
}
.kpi strong{display:block; font-size:18px}
.kpi span{display:block; margin-top:4px; color:var(--muted); font-size:12px}

/* Sections */
.section{padding: 46px 0}
.section-top{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:18px}
.h2{margin:0; font-size: clamp(24px, 2.4vw, 40px); letter-spacing:-.02em}
.small{margin:6px 0 0; color:var(--muted)}

/* Tiles */
.tiles{display:grid; gap:18px; grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width:980px){ .tiles{grid-template-columns:1fr} }
.tile{
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.tile:hover{transform: translateY(-3px); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16)}
.tile .media{aspect-ratio: 16/9; overflow:hidden}
.tile .media img{width:100%; height:100%; object-fit:cover}
.tile .body{padding:22px}
.tile .body h3{margin:0 0 8px; letter-spacing:-.01em}
.tile .body p{margin:0; color:var(--muted)}
.tile .footer{padding:0 22px 22px; display:flex; align-items:center; justify-content:space-between}
.arrow{width:44px; height:44px; border-radius:18px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03)}

/* Products */
.toolbar{display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin: 22px 0}
.filters{display:flex; flex-wrap:wrap; gap:10px}
.sort select{padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color:var(--text)}
.grid-products{display:grid; gap:18px; grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width:1100px){ .grid-products{grid-template-columns: repeat(2, minmax(0,1fr))} }
@media (max-width:720px){ .grid-products{grid-template-columns: 1fr} }
.product{
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product:hover{transform: translateY(-3px); border-color: rgba(255,255,255,.16); box-shadow: 0 50px 160px rgba(0,0,0,.62)}
.product .media{aspect-ratio: 4/3; overflow:hidden; background: rgba(255,255,255,.02)}
.product .media img{width:100%; height:100%; object-fit:cover}
.product .body{padding:18px 18px 20px}
.product h3{margin:0 0 8px; letter-spacing:-.01em}
.product p{margin:0; color:var(--muted)}
.price-row{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px}
.price{font-size:22px; font-weight:900; letter-spacing:-.02em}
.badge{display:inline-flex; padding:7px 10px; border-radius:999px; font-size:12px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: rgba(244,246,251,.84)}
.badge.new{border-color: rgba(77,255,181,.30); background: rgba(77,255,181,.08)}
.badge.hot{border-color: rgba(255,93,143,.28); background: rgba(255,93,143,.08)}
.product .actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.product .actions a, .product .actions button{flex:1}

/* Modal */
.modal{position:fixed; inset:0; z-index:1600; background: rgba(0,0,0,.64); display:none; align-items:center; justify-content:center; padding:20px}
.modal.open{display:flex}
.modal-card{width:min(980px, 100%); border-radius: var(--radius2); border:1px solid rgba(255,255,255,.12); background: rgba(18,20,26,.92); backdrop-filter: blur(18px); box-shadow: 0 60px 200px rgba(0,0,0,.70); overflow:hidden}
.modal-grid{display:grid; grid-template-columns: 1fr 1fr}
@media (max-width:980px){ .modal-grid{grid-template-columns: 1fr} }
.modal-media{aspect-ratio: 4/3; overflow:hidden; background: rgba(255,255,255,.02)}
.modal-media img{width:100%; height:100%; object-fit:cover}
.modal-body{padding:18px}
.modal-body h3{margin:0 0 8px}
.modal-body p{margin:0; color:var(--muted)}
.modal-top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.close{border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); border-radius:999px; padding:10px 12px; cursor:pointer; color:rgba(244,246,251,.92)}

/* Footer */
footer{margin-top:44px; padding: 34px 0 56px; border-top:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02)}
.footer-grid{display:grid; gap:18px; grid-template-columns: 1.4fr 1fr 1fr}
@media (max-width:980px){ .footer-grid{grid-template-columns:1fr} }
.footer-grid a{color: rgba(244,246,251,.74)}
.footer-grid a:hover{color: rgba(244,246,251,.92)}
.copy{margin-top:14px; color: rgba(244,246,251,.55); font-size:12px}

/* Reveal */
.reveal{opacity:0; transform: translateY(14px)}
.reveal.visible{opacity:1; transform:none; transition: opacity .7s ease, transform .7s ease}




/* --- Full-bleed Hero (index) --- */
.hero--full{
  padding: 0;
  min-height: 72vh;
  display:flex;
  align-items:flex-end;
  position:relative;
  background: var(--bg);
  background-image: url("../img/herobild.webp");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}
.hero--full::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(15,17,21,.06) 0%, rgba(15,17,21,.46) 42%, rgba(15,17,21,.92) 100%);
}
.hero-full-inner{width:100%; padding: 74px 0 56px; position:relative; z-index:1;}
@media (max-width: 720px){
  .hero-full-inner{padding: 64px 0 44px;}
  .hero--full{min-height: 64vh;}
}
.hero-full-content{max-width: 820px}
.hero-title{
  margin: 0;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.hero--full .hero-actions{margin-top: 18px}

/* --- Featured Picks block (below hero) --- */
.featured-section{padding-top: 28px}
.featured-grid--large{
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .featured-grid--large{grid-template-columns:1fr}
}
.featured-grid--large .mini-card{
  grid-template-columns: 160px 1fr;
  border-radius: 30px;
}
@media (max-width: 520px){
  .featured-grid--large .mini-card{grid-template-columns: 130px 1fr}
}
.featured-grid--large .mini-card .txt{padding: 16px 16px 16px 0}
.featured-grid--large .mini-card h3{font-size: 16px}
.featured-grid--large .mini-card p{font-size: 13px}


/* --- Shop Hero (index) --- */
.hero-shop{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero-shop{grid-template-columns:1fr}
}
.hero-panel{
  border-radius: var(--radius2);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-panel .content{padding: 28px 28px 30px}
.hero-sub{margin:10px 0 0; color: var(--muted); font-size: 16px; max-width: 70ch}
.hero-badges{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.featured{
  padding: 18px;
}
.featured-top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom: 12px;
}
.featured-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (max-width: 980px){
  .featured-grid{grid-template-columns:1fr}
}
.mini-card{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:14px;
  border-radius: 26px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
}
.mini-card .img{aspect-ratio: 1/1; overflow:hidden; background: rgba(255,255,255,.02)}
.mini-card .img img{width:100%;height:100%;object-fit:cover}
.mini-card .txt{padding:14px 14px 14px 0}
.mini-card h3{margin:0 0 6px; font-size:14px; letter-spacing:-.01em}
.mini-card p{margin:0; color: var(--muted); font-size:12px; line-height:1.35}
.mini-row{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px}
.mini-price{font-weight:900; letter-spacing:-.01em}
.mini-cta{padding:10px 12px; font-size:12px}

/* --- Warum Niceshop section --- */
.why-wrap{
  margin-top: 18px;
  border-radius: var(--radius2);
  padding: 34px 18px 22px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.why-head{ text-align:center; max-width: 980px; margin: 0 auto 22px; }
.why-head h2{ margin:0; font-size: clamp(26px, 3vw, 42px); letter-spacing:-.02em }
.why-head p{ margin:8px 0 0; color: var(--muted) }
.why-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
  width:min(1140px, 100%);
  margin: 0 auto;
}
@media (max-width: 1100px){ .why-grid{grid-template-columns: repeat(2, minmax(0,1fr));} }
@media (max-width: 640px){ .why-grid{grid-template-columns:1fr;} }

.why-card{
  border-radius: 26px;
  padding: 22px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  text-align:center;
}
.why-icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  margin: 0 auto 10px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-size: 20px;
}
.why-card h3{ margin: 10px 0 8px; font-size: 16px; letter-spacing:-.01em }
.why-card p{ margin:0; color: var(--muted); font-size: 13px; line-height:1.5 }
.why-note{
  text-align:center;
  margin: 18px 0 0;
  color: rgba(244,246,251,.45);
  font-size: 12px;
}

/* Brand taglines */
.brand .tagline{
  display:block;
  margin-top:2px;
  font-size:11px;
  letter-spacing:.06em;
  color: rgba(244,246,251,.60);
}
.footer-tagline{
  margin-top:6px;
  font-size:12px;
  color: rgba(244,246,251,.60);
}


/* --- Category hero: make it more normal/smaller --- */
body.category .hero{
  padding: 22px 0 0;
}
body.category .hero-panel .content{
  padding: 20px 20px 22px;
}
body.category .h1{
  font-size: clamp(30px, 3.2vw, 48px);
}
body.category .hero-card .media,
body.category .hero-panel .media{
  aspect-ratio: 16/6;
}
@media (max-width: 980px){
  body.category .hero-card .media,
  body.category .hero-panel .media{
    aspect-ratio: 16/9;
  }
}


/* --- Shopper category header (compact, no big image) --- */
body.category .category-hero{
  margin-top: 8px;
  border-radius: var(--radius2);
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.breadcrumbs{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
  color: rgba(244,246,251,.58);
  font-size: 12px;
}
.breadcrumbs a{color: rgba(244,246,251,.72)}
.breadcrumbs a:hover{color: rgba(244,246,251,.9)}
body.category .category-hero .title-row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top: 10px;
}
body.category .category-hero .title-row h1{
  margin:0;
  font-size: clamp(28px, 3.0vw, 44px);
  letter-spacing: -0.03em;
  line-height:1.05;
}
body.category .category-hero .title-row p{
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 68ch;
}
body.category .category-hero .meta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
body.category .category-hero .count-pill{
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(244,246,251,.80);
  font-size: 12px;
}
body.category .toolbar{
  margin-top: 14px;
}

/* ===============================
   V5 — Apple grid + premium hover
==================================*/

/* 4-column grid (Apple feel) */
.grid-products{
  display:grid;
  gap:22px;
  grid-template-columns: repeat(4, minmax(0,1fr));
}
@media (max-width:1200px){
  .grid-products{grid-template-columns: repeat(3, minmax(0,1fr));}
}
@media (max-width:900px){
  .grid-products{grid-template-columns: repeat(2, minmax(0,1fr));}
}
@media (max-width:600px){
  .grid-products{grid-template-columns: 1fr;}
}

/* High-end hover: lift + zoom + soft sweep */
.product{
  position:relative;
  overflow:hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.product .media img{
  transition: transform .45s ease;
  transform-origin: center;
}
.product:hover{
  transform: translateY(-7px);
  box-shadow: 0 70px 220px rgba(0,0,0,.68);
  border-color: rgba(255,255,255,.26);
}
.product:hover .media img{
  transform: scale(1.07);
}
.product::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(120deg, rgba(255,255,255,.10), transparent 42%);
  opacity:0;
  transition: opacity .28s ease;
  pointer-events:none;
}
.product:hover::after{opacity:1}

/* Premium badges */
.badge{
  font-weight:800;
  letter-spacing:.06em;
  padding:6px 10px;
  border-radius:999px;
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(244,246,251,.92);
}
.badge.hot{
  border: none;
  background: linear-gradient(90deg, #ff4d6d, #ff0033);
  color: #fff;
}
.badge.new{
  border: none;
  background: linear-gradient(90deg, #4dffb5, #00d084);
  color: #0b0d12;
}
.badge.premium{
  border: none;
  background: linear-gradient(90deg, #aab3ff, #2f5bff);
  color: #fff;
}

/* ===============================
   Category themes (color + slight typography)
==================================*/
body[data-category="men"]{
  --accentColor: #2f5bff; /* royal blue */
  --titleTrack: -0.035em;
  --titleWeight: 900;
}
body[data-category="women"]{
  --accentColor: #ff4da6; /* rose */
  --titleTrack: -0.045em;
  --titleWeight: 850;
}
body[data-category="drops"]{
  --accentColor: #b11226; /* cherry */
  --titleTrack: -0.03em;
  --titleWeight: 900;
}

/* Accent applied */
body[data-category] .btn.primary{
  background: var(--accentColor);
  border: none;
}
body[data-category] .btn.primary:hover{ filter: brightness(1.10); }

body[data-category] .count-pill{
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);
}
body[data-category] .count-pill{
  color: rgba(244,246,251,.88);
}
body[data-category] .count-pill span#count{
  color: var(--accentColor);
  font-weight: 900;
}

/* Subtle bar tint */
body[data-category="men"] .topbar{ background: rgba(30,50,120,.35); }
body[data-category="women"] .topbar{ background: rgba(120,30,90,.35); }
body[data-category="drops"] .topbar{ background: rgba(120,20,30,.35); }

/* Typography flavor */
body[data-category] .category-hero .title-row h1{
  letter-spacing: var(--titleTrack);
  font-weight: var(--titleWeight);
}
body[data-category="women"] .product h3{ letter-spacing: -0.02em; }
body[data-category="men"] .product h3{ letter-spacing: -0.01em; }
body[data-category="drops"] .product h3{ letter-spacing: -0.005em; }

/* ===============================
   V6 — Apple Store polish
==================================*/
:root{
  --radius: 24px;
  --radius2: 42px;
  --shadow: 0 30px 100px rgba(0,0,0,.48);
  --shadow2: 0 12px 34px rgba(0,0,0,.30);
}

/* Cards feel more Apple: softer shadow, bigger radius */
.hero-panel,
.hero-card,
.tile,
.product,
.modal-card,
.category-hero,
.why-wrap,
.mini-card{
  border-radius: var(--radius2);
}

/* Reduce "pill" look: buttons become rounded-rect */
.btn{
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--shadow2);
}
.btn.ghost{
  border-radius: 16px;
}
.btn.primary{
  border-radius: 16px;
}

/* Nav links slightly less pill */
.nav{ border-radius: 18px; }
.nav a{ border-radius: 14px; }

/* Pills remain, but slightly more subtle */
.pill{
  border-radius: 14px;
  padding: 7px 10px;
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.10);
}

/* Product card layout: more whitespace + Apple spacing */
.product .body{ padding: 18px 18px 22px; }
.product h3{ font-size: 15px; }
.product p{ font-size: 13px; line-height: 1.5; }
.price{ font-size: 20px; }

/* Hover: slightly less aggressive, more "float" */
.product:hover{
  transform: translateY(-6px);
  box-shadow: 0 54px 160px rgba(0,0,0,.60);
}

/* Badges more Apple: smaller, cleaner */
.badge{
  font-size: 10px;
  padding: 6px 9px;
}

/* Featured mini-cta less pill */
.mini-cta{
  border-radius: 14px;
  padding: 10px 12px;
}

/* Category hero: more Apple spacing */
body.category .category-hero{
  padding: 20px;
}


.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand-link { display:inline-flex; align-items:center; }

.footer-logo{
  height: 34px;
  width: auto;
  opacity: .92;
  transition: transform .25s ease, opacity .25s ease, filter .25s ease;
}

.footer-logo:hover{
  opacity: 1;
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 26px;
  align-items: start;
}

.footer-brand{ display:block; }

.footer-brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.footer-logo{
  height: 34px;
  width: auto;
  display:block;
  opacity: .95;
}

.footer-wordmark{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .9;
}

.footer-tagline{ margin-top: 10px; }
.copy{ margin-top: 10px; opacity: .7; }


/* --- Footer layout fix --- */
.footer-grid{
  display:grid !important;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 28px;
  align-items: start;
}

.footer-title{
  margin: 0 0 10px;
}

.footer-links{
  display: grid;
  gap: 10px;
}

.footer-brand-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo{
  height: 100px;
  width: auto;
  display:block;
  opacity: .95;
}

.footer-wordmark{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .9;
}

.footer-tagline{ margin-top: 10px; }
.copy{ margin-top: 10px; opacity: .7; }


/* Header logo */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.brand-logo{
  height: 75px;
  width: auto;
  display:block;
  flex: 0 0 auto;
  opacity: .95;
}

.brand-word{
  letter-spacing: .08em;
  font-weight: 900;
  font-size: 13px;
}

.brand .tagline{
  margin-left: 6px;
  opacity: .75;
  font-size: 12px;
}

/* Mobile: hide tagline to keep header clean */
@media (max-width: 760px){
  .brand .tagline{ display:none; }
  .brand-logo{ height: 24px; }
}


/* === Category banner hero (men/women/drops) === */
.page-hero{
  position: relative;
  overflow: hidden;
}
.page-hero--banner{
  min-height: 56vh;
  padding: 56px 0 34px;
  display: flex;
  align-items: flex-end;
  background-color: #0f1115;
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}


.page-hero--banner::before{
  content:"";
  position:absolute;
  inset:0;
  /* lighter overlay so images are brighter but text stays readable */
  background:
    radial-gradient(1200px 520px at 30% 30%, rgba(0,0,0,.05), rgba(0,0,0,.45) 65%, rgba(0,0,0,.58) 100%),
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.55) 100%);
}

.page-hero--banner .container{
  position: relative;
  z-index: 1;
}

/* remove the glass panel look on banner heroes */
.page-hero--banner .category-hero{
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}


@media (max-width: 760px){
  .page-hero--banner{
    min-height: 34vh;
    padding: 36px 0 22px;
    background-position: center 25%;
  }
}

/* tiny readability boost */
.page-hero--banner h1,
.page-hero--banner p,
.page-hero--banner .breadcrumbs,
.page-hero--banner .breadcrumbs a{
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.page-hero--banner .container{
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero--banner .category-hero{
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 700px){
  .page-hero--banner{
    min-height: 36vh;
    padding: 34px 0 22px;
  }
}

/* === Force NO-GLASS on category banner heroes (override) === */
.page-hero--banner .category-hero{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}


/* === Category + Featured tweaks (Feb 2026) === */

/* Per-page heading fonts */
body.category--men{ --font-head: "Oswald", "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial; }
body.category--women{ --font-head: "Playfair Display", "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial; }
body.category--drops{ --font-head: "Space Grotesk", "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial; }

/* Banner hero typography + breadcrumbs sizing */
.page-hero--banner .category-hero h1{
  font-size: clamp(44px, 5.2vw, 74px) !important;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.page-hero--banner .category-hero p{
  font-size: clamp(16px, 1.35vw, 20px) !important;
  max-width: 66ch;
}
.page-hero--banner .breadcrumbs,
.page-hero--banner .breadcrumbs a{
  font-size: 15px !important;
}
@media (max-width: 720px){
  .page-hero--banner .category-hero h1{ font-size: clamp(36px, 9vw, 50px) !important; }
  .page-hero--banner .breadcrumbs,
  .page-hero--banner .breadcrumbs a{ font-size: 14px !important; }
}

/* Featured Picks: 3-up row, full width but padded */
.featured-section{
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}
.featured-section > .container{
  max-width: 1600px;
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.featured-grid--large{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 16px;
}
@media (max-width: 980px){
  .featured-grid--large{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px){
  .featured-grid--large{ grid-template-columns: 1fr !important; }
}


/* ===== Subcategories ===== */
.subcategories{
  margin-top:24px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.subcat-btn{
  padding:10px 20px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.05);
  font-weight:600;
  cursor:pointer;
  transition:.25s ease;
}
.subcat-btn:hover{
  background:rgba(255,255,255,.14);
  transform:translateY(-2px);
}

/* ===== Page-Specific Fonts ===== */
.theme-men h1{ font-family:"Oswald", sans-serif !important; letter-spacing:1px; }
.theme-women h1{ font-family:"Playfair Display", serif !important; }
.theme-drops h1{ font-family:"Space Grotesk", sans-serif !important; }

/* Larger Hero Text */
.page-hero--banner h1{
  font-size: clamp(50px,5vw,84px) !important;
}
.page-hero--banner p{
  font-size: clamp(18px,1.4vw,22px) !important;
}

/* Breadcrumb slightly bigger */
.breadcrumbs a{ font-size:16px !important; }

/* Featured Picks 3-Column Layout */
.featured-grid--large{
  display:grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap:24px !important;
}
@media(max-width:900px){
  .featured-grid--large{ grid-template-columns: repeat(2,1fr) !important; }
}
@media(max-width:600px){
  .featured-grid--large{ grid-template-columns: 1fr !important; }
}


/* ===== FIX: Subcategory Buttons Solid ===== */
.subcat-btn{
  background: rgba(255,255,255,0.92) !important;
  color:#111 !important;
  border:1px solid rgba(0,0,0,0.1) !important;
  font-weight:700;
}
.subcat-btn:hover{
  background: #ffffff !important;
  transform: translateY(-2px);
}

/* ===== FIX: Real Different Hero Fonts ===== */
.theme-men .page-hero--banner h1{
  font-family:"Oswald", sans-serif !important;
  letter-spacing:1px;
}

.theme-women .page-hero--banner h1{
  font-family:"Playfair Display", serif !important;
}

.theme-drops .page-hero--banner h1{
  font-family:"Space Grotesk", sans-serif !important;
}

/* Make sure paragraphs also follow vibe */
.theme-men .page-hero--banner p{ font-family:"Oswald", sans-serif !important; }
.theme-women .page-hero--banner p{ font-family:"Playfair Display", serif !important; }
.theme-drops .page-hero--banner p{ font-family:"Space Grotesk", sans-serif !important; }



/* ===== Category hero centered layout (nicer spacing) ===== */
.category-hero--center{
  margin-top: 0;
  padding: clamp(18px, 3.5vw, 34px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 14px;
}
.category-hero--center .breadcrumbs{
  justify-content:center;
  font-size: 14px !important;
  margin-bottom: 2px;
}
.category-hero--center .subcategories{
  margin-top: 0;
  justify-content:center;
}
.category-hero--center .hero-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}
.category-hero--center .meta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
}

/* Make banner hero feel centered vertically */
.page-hero--banner{
  display:flex;
  align-items:center;
}
.page-hero--banner > .container{
  width:100%;
}

/* Slightly reduce glass intensity so it doesn't fight the photo */
.category-hero{
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.18)) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(10px);
}

/* Active state for subcategory pills */
.subcat-btn.is-active{
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  outline: 2px solid rgba(0,0,0,.18);
}


/* ===== Empty state (no results) ===== */
.empty-state{
  width:100%;
  display:flex;
  justify-content:center;
  padding: 10px 0 30px;
}
.empty-card{
  width:min(720px, 100%);
  padding: 22px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
  text-align:center;
}
.empty-card h3{
  margin:0 0 8px;
  font-family: var(--font-head);
  font-size: 22px;
}
.empty-card p{
  margin:0 0 16px;
  color: rgba(244,246,251,.72);
}

/* ===== Smooth filtering animation ===== */
.product{
  opacity: 0;
  transform: translateY(10px);
}
.product.product--in{
  animation: productIn 420ms ease forwards;
}
@keyframes productIn{
  to{ opacity: 1; transform: translateY(0); }
}


/* === N1CE Ticker (digital billboard) === */
.ticker-section{ width:100%; padding: 20px 0 6px; }
.ticker-shell{ width:100%; padding: 0 clamp(14px, 4vw, 56px); }
.ticker-led{
  position:relative;
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(1200px 220px at 10% 50%, rgba(0,255,180,.10), transparent 55%),
    radial-gradient(900px 260px at 90% 40%, rgba(90,160,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.ticker-led::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: .18;
  mix-blend-mode: overlay;
  pointer-events:none;
}
.ticker-led::after{
  content:"";
  position:absolute; inset:-1px;
  background: linear-gradient(90deg, rgba(0,0,0,.65), transparent 18%, transparent 82%, rgba(0,0,0,.55));
  pointer-events:none;
}
.ticker-inner{
  position:relative;
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 18px;
}
.ticker-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  color:#0b0d12;
  background: rgba(255,255,255,.92);
}
.ticker-track{
  position:relative;
  flex:1;
  overflow:hidden;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.24);
}
.ticker-content{
  display:inline-flex;
  align-items:center;
  white-space: nowrap;
  gap: 26px;
  will-change: transform;
  padding-left: 100%;
}
.ticker-item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14px;
  color: rgba(244,246,251,.92);
  text-transform: uppercase;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
.ticker-dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 0 6px rgba(255,255,255,.10);
  opacity: .85;
}
.ticker-scan{
  position:absolute;
  left:-20%;
  top:0; bottom:0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-18deg);
  animation: tickerScan 5.2s linear infinite;
  opacity: .35;
  pointer-events:none;
}
@keyframes tickerScan{
  0%{ transform: translateX(-40%) skewX(-18deg); }
  100%{ transform: translateX(380%) skewX(-18deg); }
}
@media (max-width: 720px){
  .ticker-inner{ padding: 14px 14px; }
  .ticker-label{ display:none; }
  .ticker-track{ height: 36px; }
  .ticker-item{ font-size: 13px; }
}


/* === N1CE Flip (split-flap vibe) === */
.flip-track{ flex:1; }
.flip-screen{
  position:relative;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.26);
  overflow:hidden;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 0 12px;
}
.flip-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(244,246,251,.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 11px;
}
.flip-wrap{
  position:relative;
  perspective: 900px;
  flex:1;
  height: 30px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.flip-card{
  position:relative;
  width:100%;
  height: 30px;
  transform-style: preserve-3d;
}
.flip-face{
  backface-visibility: hidden;
  justify-content: center;
  width: 100%;

  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244,246,251,.94);
  font-size: clamp(14px, 1.25vw, 18px);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
.flip-front{ transform: rotateX(0deg) translateZ(1px); }
.flip-back{ transform: rotateX(-180deg) translateZ(1px); }

.flip-card.is-flipping{
  animation: flipAnim 700ms cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes flipAnim{
  0%{ transform: rotateX(0deg); }
  100%{ transform: rotateX(-180deg); }
}

/* subtle split line like flap */
.flip-wrap::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:50%;
  height:1px;
  background: rgba(255,255,255,.10);
  opacity:.8;
  pointer-events:none;
}

@media (max-width: 720px){
  .flip-screen{ height: 46px; }
  .flip-label{ display:none; }
  .flip-wrap{ height: 32px; }
  .flip-card{ height: 32px; }
  .flip-face{
  backface-visibility: hidden;
  justify-content: center;
  width: 100%;
 font-size: 12px; }
}


/* === Flip polish (center + no overlap) === */
.flip-screen{
  justify-content: center;
}
.flip-wrap{
  justify-content: center;
}
.flip-card{
  transform-origin: 50% 50%;
}




/* Price disclaimer under product lists */
.price-note{
  margin: 18px auto 0;
  max-width: 900px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  text-align: center;
}
.price-note p{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244,246,251,.74);
}


/* ===== Product images: show full image (no hard cropping) ===== */
.product .media{
  background: rgba(255,255,255,.035);
}
.product .media img{
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 10px;
}

/* Featured cards (if present) */
.featured-card img,
.featured .media img,
.featured-grid img{
  object-fit: contain !important;
  object-position: center center !important;
}

/* Modal image */
.modal-media img{
  object-fit: contain !important;
  object-position: center center !important;
  background: rgba(255,255,255,.03);
  padding: 12px;
  border-radius: 14px;
}
