:root{
  --bg:#0c0a09;
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.1);
  --text:#f5f5f4;
  --muted:#a8a29e;
  --accent:#fbbf24;
  --accent-dark:#1c1917;
  --accent-soft:rgba(251,191,36,.12);
  --success:#34d399;
  --max:1240px;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --shadow:0 16px 50px rgba(0,0,0,.34);
  --safe-bottom:max(18px, env(safe-area-inset-bottom));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
}

img{display:block;max-width:100%}
button,input{font:inherit}
button{border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}

.container{
  width:min(calc(100% - 24px),var(--max));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--line);
  background:rgba(12,10,9,.9);
  backdrop-filter:blur(14px);
}

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

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:var(--accent-dark);
  font-size:19px;
  flex:0 0 auto;
}

.brand-name{
  font-size:18px;
  font-weight:800;
  line-height:1.05;
  white-space:nowrap;
}

.brand-subtitle{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:var(--muted);
  margin-top:3px;
  white-space:nowrap;
}

.nav-desktop{
  display:none;
  align-items:center;
  gap:26px;
}

.nav-desktop a{
  font-size:14px;
  color:#d6d3d1;
}

.nav-desktop a:hover{color:#fff}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:12px 18px;
  border-radius:16px;
  font-size:14px;
  font-weight:800;
  transition:.2s ease;
  text-align:center;
  -webkit-tap-highlight-color:transparent;
}

.btn-primary{
  background:var(--accent);
  color:var(--accent-dark);
}

.btn-primary:hover{filter:brightness(1.03)}

.btn-outline{
  background:rgba(255,255,255,.05);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}

.btn-outline:hover{background:rgba(255,255,255,.1)}

.icon-btn{
  width:46px;
  min-width:46px;
  padding:0;
}

.badge-count{
  min-width:22px;
  height:22px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  padding:0 6px;
  background:var(--accent);
  color:var(--accent-dark);
  font-size:12px;
  font-weight:900;
}

.mobile-nav{
  display:none;
  border-top:1px solid var(--line);
  padding:14px 0 16px;
}

.mobile-nav.open{display:block}

.mobile-nav-links{
  display:grid;
  gap:12px;
}

.mobile-nav a{
  color:#d6d3d1;
  font-size:15px;
  padding:6px 0;
}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(251,191,36,.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(120,53,15,.24), transparent 35%);
}

.hero-grid{
  display:grid;
  gap:26px;
  padding:34px 0 54px;
  align-items:center;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(251,191,36,.22);
  background:rgba(251,191,36,.1);
  color:#fde68a;
  font-size:11px;
  font-weight:700;
}

h1{
  margin:18px 0 0;
  font-size:clamp(34px,10vw,68px);
  line-height:1.02;
  letter-spacing:-.03em;
  max-width:760px;
}

.hero-copy{
  margin-top:18px;
  max-width:680px;
  color:#d6d3d1;
  font-size:16px;
  line-height:1.8;
}

.hero-actions{
  margin-top:24px;
  display:grid;
  gap:12px;
}

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

.feature-grid{
  margin-top:24px;
  display:grid;
  gap:14px;
}

.card{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}

.feature-card{
  padding:18px;
}

.feature-icon,
.mini-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  color:#fde68a;
  font-size:19px;
  margin-bottom:12px;
}

.feature-title,.mini-title{
  font-size:17px;
  font-weight:800;
}

.feature-text,.mini-text{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.hero-visual{
  padding:14px;
  position:relative;
}

.hero-visual img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:22px;
}

.hero-overlay{
  margin-top:14px;
  border:1px solid var(--line);
  background:rgba(12,10,9,.72);
  backdrop-filter:blur(12px);
  border-radius:20px;
  padding:16px;
  display:grid;
  gap:12px;
}

.hero-overlay-top{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:#fcd34d;
}

.hero-overlay-title{
  margin-top:8px;
  font-size:22px;
  line-height:1.2;
  font-weight:800;
}

.hero-status{
  justify-self:start;
  background:var(--accent);
  color:var(--accent-dark);
  padding:9px 12px;
  border-radius:15px;
  font-size:12px;
  font-weight:900;
}

.section{
  padding:56px 0;
}

.section-soft{
  background:rgba(255,255,255,.03);
}

.section-head{
  display:grid;
  gap:14px;
  align-items:start;
}

.section-kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.24em;
  color:#fcd34d;
}

h2{
  margin:12px 0 0;
  font-size:clamp(28px,7vw,44px);
  line-height:1.12;
  letter-spacing:-.02em;
}

.section-copy{
  max-width:560px;
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
}

.products-grid{
  margin-top:28px;
  display:grid;
  gap:18px;
}

.product-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.product-image-wrap{
  position:relative;
  overflow:hidden;
}

.product-image{
  width:100%;
  height:240px;
  object-fit:cover;
}

.product-tag{
  position:absolute;
  left:14px;
  top:14px;
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:var(--accent);
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
}

.product-body{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
  flex:1;
}

.product-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:start;
}

.product-name{
  font-size:20px;
  font-weight:800;
  line-height:1.15;
}

.product-style{
  margin-top:5px;
  color:#fde68a;
  font-size:14px;
}

.product-price{
  text-align:right;
}

.product-price strong{
  display:block;
  font-size:18px;
}

.product-price span{
  color:var(--muted);
  font-size:12px;
}

.product-description{
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
}

.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:#e7e5e4;
  font-size:12px;
}

.product-body .btn{
  width:100%;
  margin-top:auto;
}

.story-grid,
.shop-grid,
.contact-grid{
  display:grid;
  gap:20px;
}

.story-main,
.shop-main,
.checkout-box,
.contact-grid > div{
  padding:22px;
}

.story-main p,
.shop-main p,
.checkout-box p,
.contact-grid p{
  color:#d6d3d1;
  line-height:1.85;
}

.story-mini-grid{
  display:grid;
  gap:16px;
}

.story-mini{padding:22px}

.stats-grid{
  display:grid;
  gap:14px;
  margin-top:24px;
}

.stat-box{
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(12,10,9,.42);
}

.stat-label{
  font-size:14px;
  color:var(--muted);
}

.stat-value{
  margin-top:8px;
  font-size:26px;
  font-weight:800;
  line-height:1.15;
}

.checkout-box{
  border:1px solid rgba(251,191,36,.22);
  border-radius:var(--radius-xl);
  background:linear-gradient(135deg, rgba(251,191,36,.12), rgba(249,115,22,.11));
  box-shadow:var(--shadow);
}

.payment-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.payment-pill{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(251,191,36,.92);
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
}

.checkout-flow{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(12,10,9,.5);
  padding:16px;
  color:#d6d3d1;
  font-size:14px;
  line-height:1.8;
}

.checkout-note{
  margin-top:12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.contact-list{
  display:grid;
  gap:10px;
  color:var(--muted);
  font-size:14px;
}

.mobile-bar{
  position:fixed;
  left:12px;
  right:12px;
  bottom:calc(12px + env(safe-area-inset-bottom));
  z-index:45;
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  background:rgba(17,14,12,.88);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
}

.mobile-bar .btn{
  min-height:48px;
}

.mobile-cart-btn{
  position:relative;
  min-width:54px;
  padding:0 16px;
}

.mobile-cart-count{
  position:absolute;
  right:8px;
  top:7px;
  min-width:18px;
  height:18px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:var(--accent-dark);
  font-size:11px;
  font-weight:900;
  padding:0 4px;
}

.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  z-index:80;
  display:none;
}

.overlay.open{display:block}

.cart-panel{
  position:fixed;
  inset:auto 0 0 0;
  height:min(88vh,760px);
  z-index:90;
  background:var(--bg);
  border-top:1px solid var(--line);
  border-radius:26px 26px 0 0;
  display:flex;
  flex-direction:column;
  transform:translateY(100%);
  transition:transform .28s ease;
  box-shadow:var(--shadow);
}

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

.cart-header,
.cart-footer,
.modal-header{
  padding:18px 18px 16px;
  border-bottom:1px solid var(--line);
}

.cart-footer{
  border-top:1px solid var(--line);
  border-bottom:0;
  margin-top:auto;
  padding-bottom:calc(16px + var(--safe-bottom));
  background:rgba(12,10,9,.98);
}

.cart-head-row,
.modal-head-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.cart-title,
.modal-title{
  font-size:22px;
  font-weight:800;
  line-height:1.1;
}

.cart-subtitle,
.modal-subtitle{
  margin-top:4px;
  font-size:13px;
  color:var(--muted);
}

.icon-close{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:16px;
  flex:0 0 auto;
}

.cart-body{
  padding:18px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
  overscroll-behavior:contain;
}

.cart-empty,
.success-state{
  border:1px dashed rgba(255,255,255,.15);
  background:rgba(255,255,255,.03);
  border-radius:22px;
  padding:26px 18px;
  text-align:center;
  color:var(--muted);
}

.cart-empty strong,
.success-state strong{
  display:block;
  margin:10px 0 6px;
  font-size:18px;
  color:#fff;
}

.cart-item{
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.03);
  padding:14px;
  display:flex;
  gap:12px;
}

.cart-item img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:16px;
  flex:0 0 auto;
}

.cart-item-body{
  flex:1;
  min-width:0;
}

.cart-item-top,
.cart-item-bottom,
.summary-row,
.summary-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.cart-item-name{
  font-weight:800;
  line-height:1.2;
}

.cart-item-style,
.remove-link,
.summary-row{
  color:var(--muted);
  font-size:13px;
}

.remove-link{
  background:transparent;
  color:#a8a29e;
  padding:0;
  white-space:nowrap;
}

.qty-control{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 7px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#1c1917;
}

.qty-btn{
  width:30px;
  height:30px;
  border-radius:999px;
  background:transparent;
  color:#e7e5e4;
  display:grid;
  place-items:center;
  font-size:16px;
}

.qty-value{
  width:22px;
  text-align:center;
  color:#fff;
  font-size:14px;
}

.item-total,
.summary-total{
  color:#fff;
  font-weight:800;
}

.summary-total{
  margin-top:10px;
  padding-top:10px;
  font-size:16px;
}

.cart-footer .btn{
  width:100%;
  margin-top:16px;
  min-height:50px;
}

.checkout-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  background:rgba(0,0,0,.7);
}

.checkout-modal.open{display:block}

.modal-card{
  width:100%;
  height:100dvh;
  overflow:auto;
  background:var(--bg);
}

.modal-header{
  position:sticky;
  top:0;
  z-index:3;
  background:rgba(12,10,9,.96);
  backdrop-filter:blur(14px);
}

.modal-body{
  display:grid;
  gap:0;
}

.checkout-form,
.checkout-summary{
  padding:20px 18px;
}

.checkout-summary{
  background:rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  padding-bottom:calc(20px + var(--safe-bottom));
}

.form-intro-title,
.summary-title,
.success-title{
  font-size:19px;
  font-weight:800;
}

.form-intro-copy{
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
}

.form-grid{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.input,
.input-full{
  width:100%;
  min-height:50px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:#fff;
  padding:0 15px;
  outline:none;
}

.input::placeholder,
.input-full::placeholder{
  color:#78716c;
}

.input-full{margin-top:14px}

.payment-box,
.summary-box,
.summary-item{
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.03);
}

.payment-box{
  margin-top:16px;
  padding:18px;
}

.payment-box-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
}

.payment-box-copy,
.summary-item-meta{
  margin-top:12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

.summary-items{
  margin-top:18px;
  display:grid;
  gap:12px;
}

.summary-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
}

.summary-box{
  margin-top:18px;
  padding:18px;
  background:rgba(12,10,9,.5);
}

.summary-divider{
  border-top:1px solid var(--line);
  margin-top:12px;
  padding-top:12px;
}

.sticky-submit{
  position:sticky;
  bottom:0;
  margin-top:16px;
  padding-top:14px;
  padding-bottom:calc(4px + env(safe-area-inset-bottom));
  background:linear-gradient(to top, rgba(12,10,9,.96), rgba(12,10,9,.88), transparent);
}

.sticky-submit .btn{
  width:100%;
  min-height:52px;
  box-shadow:0 14px 28px rgba(0,0,0,.26);
}

.success-state{
  padding:42px 20px calc(42px + var(--safe-bottom));
  margin:18px;
  border-style:solid;
}

.success-icon{
  width:64px;
  height:64px;
  margin:0 auto;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(52,211,153,.15);
  color:var(--success);
  font-size:32px;
}

.success-title{
  margin-top:22px;
  font-size:30px;
  color:#fff;
}

.success-copy{
  margin:14px auto 0;
  max-width:720px;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

@media (min-width: 720px){
  .container{width:min(calc(100% - 40px),var(--max))}
  .hero-actions{grid-template-columns:repeat(2,max-content)}
  .hero-actions .btn{width:auto}
  .feature-grid{grid-template-columns:repeat(3,1fr)}
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .story-mini-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:repeat(2,1fr)}
  .checkout-form,.checkout-summary{padding:26px 24px}
  .cart-panel{
    inset:0 0 0 auto;
    width:min(100%,430px);
    height:100vh;
    border-radius:0;
    border-top:0;
    border-left:1px solid var(--line);
    transform:translateX(100%);
  }
  .cart-panel.open{transform:translateX(0)}
  .mobile-bar{display:none}
  .modal-card{
    width:min(100%,1080px);
    height:auto;
    max-height:92vh;
    margin:16px auto;
    border-radius:28px;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .checkout-modal{
    display:none;
    align-items:center;
    justify-content:center;
    padding:16px;
  }
  .checkout-modal.open{display:flex}
  .modal-body{grid-template-columns:1.05fr .95fr}
  .checkout-summary{
    border-top:0;
    border-left:1px solid var(--line);
  }
}

@media (min-width: 960px){
  .nav-desktop{display:flex}
  .menu-btn{display:none}
  .hero-grid{grid-template-columns:1.08fr .92fr;gap:42px;padding:68px 0 98px}
  .hero-visual{padding:20px}
  .hero-visual img{height:500px;border-radius:28px}
  .hero-overlay{
    position:absolute;
    left:32px;
    right:32px;
    bottom:32px;
    margin-top:0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
  }
  .hero-overlay-title{font-size:28px}
  .section-head{
    grid-template-columns:1fr auto;
    align-items:end;
  }
  .products-grid{grid-template-columns:repeat(4,1fr)}
  .story-grid{grid-template-columns:.95fr 1.05fr}
  .shop-grid{grid-template-columns:1.08fr .92fr}
  .contact-grid{grid-template-columns:1fr auto;align-items:start}
  .story-main,.shop-main,.checkout-box,.contact-grid>div{padding:30px}
}

@media (max-width: 959px){
  .desktop-cart{display:none}
}

@media (max-width: 719px){
  body{padding-bottom:96px}
}
