/* ==========================================================================
   ShoponTIME — design tokens
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:        #14161f;
  --ink-soft:   #363a49;
  --paper:      #ffffff;
  --paper-alt:  #f6f4ef;
  --line:       #e7e3da;
  --orange:     #f1691c;
  --orange-dark:#d94f0a;
  --amber:      #ffb13d;
  --slate:      #5b6070;
  --success:    #1c7a4d;

  --grad-brand: linear-gradient(115deg, var(--orange) 10%, var(--amber) 100%);

  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max: 1180px;
  --tilt: -3deg;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 4.4vw, 3.6rem); font-weight:800; }
h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); font-weight:700; }
h3{ font-size:1.2rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--ink-soft); max-width:62ch; }

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:.85em 1.6em;
  border-radius:3px;
  border:2px solid var(--ink);
  font-weight:600;
  font-size:.95rem;
  background:transparent;
  color:var(--ink);
  transition:transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:2px;
}
.btn-solid{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.btn-solid:hover{ background:var(--orange-dark); border-color:var(--orange-dark); }
.btn-brand{
  background:var(--grad-brand);
  border-color:transparent;
  color:#171000;
  box-shadow:0 10px 24px -10px rgba(241,105,28,.55);
}
.btn-brand:hover{ box-shadow:0 14px 30px -10px rgba(241,105,28,.7); }
.btn-ghost-light{
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.btn-ghost-light:hover{ background:rgba(255,255,255,.14); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{ display:flex; align-items:center; gap:.7rem; font-family:var(--font-head); font-weight:800; font-size:1.15rem; }
.brand img{ height:42px; width:42px; object-fit:contain; }
.brand .accent{ color:var(--orange); }

.nav-links{ display:flex; align-items:center; gap:2.1rem; }
.nav-links a{ font-weight:600; font-size:.95rem; color:var(--ink-soft); position:relative; padding:.3rem 0; margin-right:2.1rem; }
.nav-links a:last-child{ margin-right:0; }
.nav-links a:hover{ color:var(--ink); }
.nav-links a.active{ color:var(--ink); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--grad-brand);
}
.nav-cta{ display:flex; align-items:center; gap:1.1rem; }

.menu-toggle{
  display:none; background:none; border:0; width:34px; height:26px; position:relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:""; position:absolute; left:0; right:0; height:2px; background:var(--ink); transition:.2s;
}
.menu-toggle span{ top:12px; }
.menu-toggle span::before{ top:-9px; }
.menu-toggle span::after{ top:9px; }
.menu-toggle.open span{ background:transparent; }
.menu-toggle.open span::before{ transform:rotate(45deg); top:0; }
.menu-toggle.open span::after{ transform:rotate(-45deg); top:0; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:64px 0 96px;
}
.hero .wrap{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:3.5rem;
  align-items:center;
}
.hero-eyebrow-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.82rem; font-weight:600; color:var(--orange-dark);
  background:#fff2e8; border:1px solid #ffd9bb;
  padding:.4rem .8rem; border-radius:999px; margin-bottom:1.3rem;
}
.hero-eyebrow-badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--orange); }
.hero p.lede{ font-size:1.1rem; max-width:46ch; }
.hero-actions{ display:flex; gap:1rem; margin-top:1.8rem; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:2.4rem; margin-top:2.8rem; }
.hero-stats div strong{ display:block; font-family:var(--font-head); font-size:1.5rem; }
.hero-stats div span{ font-size:.85rem; color:var(--slate); }

.hero-art{
  position:relative;
  aspect-ratio:1/1;
  border-radius:28px;
  background:var(--ink);
  overflow:hidden;
  isolation:isolate;
}
.hero-art::before{
  content:"";
  position:absolute; inset:-20%;
  background:conic-gradient(from 220deg at 65% 35%, var(--amber), var(--orange) 30%, var(--ink) 65%, var(--ink) 100%);
  opacity:.9;
}
.clockface{
  position:absolute; inset:0; margin:auto;
  width:64%; height:64%;
  border-radius:50%;
  border:6px solid rgba(255,255,255,.85);
}
.clockface::before{ /* hour hand */
  content:""; position:absolute; left:50%; top:50%; width:5px; height:26%;
  background:#fff; transform-origin:bottom center; transform:translate(-50%,-100%) rotate(48deg);
  border-radius:3px;
}
.clockface::after{ /* minute hand */
  content:""; position:absolute; left:50%; top:50%; width:4px; height:34%;
  background:#fff; transform-origin:bottom center; transform:translate(-50%,-100%) rotate(158deg);
  border-radius:3px;
}
.speedlines{ position:absolute; left:6%; top:20%; display:flex; flex-direction:column; gap:14px; }
.speedlines i{ display:block; height:8px; background:#fff; border-radius:6px; opacity:.9; }
.speedlines i:nth-child(1){ width:70px; }
.speedlines i:nth-child(2){ width:46px; margin-left:14px; }
.speedlines i:nth-child(3){ width:30px; margin-left:28px; }
.hero-art .tag{
  position:absolute; left:8%; bottom:9%;
  color:#fff; font-family:var(--font-head); font-weight:700;
  font-size:1.1rem; max-width:60%;
}
.hero-art .tag span{ display:block; font-family:var(--font-body); font-weight:500; font-size:.82rem; opacity:.8; margin-top:.3rem; }

.diagonal-cut{
  height:64px;
  background:var(--ink);
  transform:skewY(var(--tilt));
  margin:-40px 0 -8px;
  position:relative; z-index:2;
}

/* ---------- value strip ---------- */
.value-strip{ background:var(--ink); color:#fff; padding:44px 0 56px; }
.value-strip .wrap{
  display:grid; grid-template-columns:repeat(4,1fr); gap:2rem;
}
.value-item{ display:flex; gap:.9rem; align-items:flex-start; }
.value-item .ico{
  flex:0 0 auto; width:42px; height:42px; border-radius:10px;
  background:var(--grad-brand); display:flex; align-items:center; justify-content:center;
}
.value-item .ico svg{ width:22px; height:22px; stroke:#171000; }
.value-item h4{ font-family:var(--font-head); font-size:1rem; margin:0 0 .25rem; }
.value-item p{ font-size:.88rem; color:#c7c9d4; margin:0; }

/* ---------- section basics ---------- */
.section{ padding:88px 0; }
.section-alt{ background:var(--paper-alt); }
.section-head{ max-width:640px; margin-bottom:3rem; }
.section-head p{ font-size:1.05rem; }

/* ---------- categories ---------- */
.cat-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem;
}
.cat-card{
  position:relative;
  border-radius:16px;
  padding:1.6rem;
  min-height:180px;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:#fff;
  overflow:hidden;
  transition:transform .2s ease;
}
.cat-card:hover{ transform:translateY(-4px); }
.cat-card h3{ margin:0 0 .2rem; font-size:1.15rem; }
.cat-card span{ font-size:.85rem; opacity:.85; }
.cat-card svg{ position:absolute; right:-12px; top:-12px; width:96px; height:96px; opacity:.22; }
.cat-1{ background:linear-gradient(145deg,#1c2030,#14161f); }
.cat-2{ background:linear-gradient(145deg,var(--orange),var(--orange-dark)); }
.cat-3{ background:linear-gradient(145deg,#3a3f52,#14161f); }
.cat-4{ background:linear-gradient(145deg,var(--amber),var(--orange)); }
.cat-5{ background:linear-gradient(145deg,#232637,#14161f); }
.cat-6{ background:linear-gradient(145deg,var(--orange-dark),#8a2e07); }

/* ---------- why / split ---------- */
.split{ display:grid; grid-template-columns:.95fr 1.05fr; gap:3.5rem; align-items:center; }
.timeline-block{
  border-radius:20px; background:var(--ink); color:#fff; padding:2.4rem;
  position:relative; overflow:hidden;
}
.timeline-block::after{
  content:""; position:absolute; width:220px; height:220px; border-radius:50%;
  background:var(--grad-brand); opacity:.25; right:-70px; bottom:-70px; filter:blur(2px);
}
.check-list{ display:flex; flex-direction:column; gap:1.1rem; margin-top:1.6rem; }
.check-list li{ display:flex; gap:.8rem; align-items:flex-start; }
.check-list svg{ flex:0 0 auto; width:20px; height:20px; margin-top:.15rem; stroke:var(--orange); }
.check-list p{ margin:0; color:var(--ink-soft); }
.check-list strong{ display:block; font-family:var(--font-head); font-size:1rem; color:var(--ink); }

/* ---------- testimonial ---------- */
.testimonial{
  background:var(--ink); color:#fff; border-radius:22px; padding:3.2rem;
  display:grid; grid-template-columns:auto 1fr; gap:2rem; align-items:center;
}
.testimonial .quote-mark{ font-family:var(--font-head); font-size:4rem; color:var(--orange); line-height:1; }
.testimonial blockquote{ margin:0 0 1rem; font-size:1.25rem; font-family:var(--font-head); font-weight:500; }
.testimonial cite{ font-style:normal; font-size:.9rem; color:#c7c9d4; }

/* ---------- newsletter ---------- */
.newsletter{
  background:var(--grad-brand);
  border-radius:22px;
  padding:3.2rem;
  display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap;
  color:#1a1102;
}
.newsletter h2{ margin:0 0 .3rem; color:#1a1102; }
.newsletter p{ color:#3a2408; margin:0; }
.newsletter form{ display:flex; gap:.7rem; }
.newsletter input[type=email]{
  padding:.85em 1.1em; border-radius:3px; border:2px solid #1a1102; min-width:260px;
  font-family:inherit; font-size:.95rem; background:#fff;
}

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:#c7c9d4; padding:64px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:2.5rem;
  padding-bottom:2.6rem; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-grid .brand{ color:#fff; margin-bottom:.9rem; }
.footer-grid p{ color:#9a9db0; font-size:.92rem; }
.footer-grid h4{ color:#fff; font-family:var(--font-head); font-size:.92rem; margin-bottom:1rem; }
.footer-grid ul{ display:flex; flex-direction:column; gap:.65rem; }
.footer-grid a{ color:#c7c9d4; font-size:.92rem; }
.footer-grid a:hover{ color:var(--amber); }
.footer-bottom{
  padding-top:1.6rem; display:flex; justify-content:space-between; align-items:center;
  font-size:.85rem; color:#8b8ea0; flex-wrap:wrap; gap:1rem;
}
.social-row{ display:flex; gap:.9rem; }
.social-row a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:16px; height:16px; stroke:#fff; }

/* ---------- page hero (shop/about/contact) ---------- */
.page-hero{
  background:var(--ink); color:#fff; padding:70px 0 84px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; right:-8%; top:-30%; width:420px; height:420px; border-radius:50%;
  background:var(--grad-brand); opacity:.28; filter:blur(6px);
}
.page-hero .wrap{ position:relative; }
.page-hero p{ color:#c7c9d4; max-width:52ch; }
.crumb{ font-size:.85rem; color:var(--amber); font-weight:600; margin-bottom:.8rem; }

/* ---------- shop page ---------- */
.shop-layout{ display:grid; grid-template-columns:220px 1fr; gap:2.6rem; }
.filter-group{ margin-bottom:2rem; }
.filter-group h4{ font-family:var(--font-head); font-size:.95rem; margin-bottom:.8rem; }
.filter-chip{
  display:block; width:100%; text-align:left; background:none; border:0; padding:.5rem 0;
  color:var(--slate); font-size:.92rem; border-bottom:1px solid var(--line);
}
.filter-chip.is-active{ color:var(--orange-dark); font-weight:700; }

.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.p-card{
  border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff;
  transition:box-shadow .2s ease, transform .2s ease;
}
.p-card:hover{ box-shadow:0 18px 34px -20px rgba(20,22,31,.35); transform:translateY(-3px); }
.p-thumb{
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; position:relative;
}
.p-thumb svg{ width:46%; height:46%; opacity:.92; }
.p-badge{
  position:absolute; top:.7rem; left:.7rem; background:#fff; color:var(--ink);
  font-size:.72rem; font-weight:700; padding:.25rem .6rem; border-radius:999px;
}
.p-body{ padding:1.1rem 1.2rem 1.3rem; }
.p-cat{ font-size:.76rem; color:var(--slate); text-transform:uppercase; letter-spacing:.06em; margin-bottom:.3rem; display:block; }
.p-body h3{ margin:0 0 .35rem; font-size:1.02rem; }
.p-row{ display:flex; align-items:center; justify-content:space-between; margin-top:.7rem; }
.p-price{ font-family:var(--font-head); font-weight:700; font-size:1.05rem; }
.p-price s{ color:var(--slate); font-weight:400; font-size:.85rem; margin-right:.4rem; }
.p-add{
  border:2px solid var(--ink); background:none; border-radius:3px; padding:.45rem .9rem;
  font-weight:600; font-size:.85rem; transition:.2s;
}
.p-add:hover{ background:var(--ink); color:#fff; }
.pagination{ display:flex; gap:.6rem; margin-top:2.6rem; justify-content:center; }
.pagination a{
  width:38px; height:38px; border-radius:8px; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-weight:600; font-size:.9rem;
}
.pagination a.is-active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- about page ---------- */
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:2.5rem; }
.stat-card{ border:1px solid var(--line); border-radius:14px; padding:1.6rem; }
.stat-card strong{ display:block; font-family:var(--font-head); font-size:2rem; }
.stat-card span{ color:var(--slate); font-size:.9rem; }
.value-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.value-card{ border:1px solid var(--line); border-radius:16px; padding:1.8rem; }
.value-card .ico{ width:44px; height:44px; border-radius:10px; background:var(--paper-alt); display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
.value-card .ico svg{ width:22px; height:22px; stroke:var(--orange-dark); }

/* ---------- contact page ---------- */
.contact-layout{ display:grid; grid-template-columns:.95fr 1.05fr; gap:3rem; }
.contact-info-card{ background:var(--ink); color:#fff; border-radius:20px; padding:2.4rem; }
.contact-info-card h3{ color:#fff; }
.contact-row{ display:flex; gap:.9rem; margin-top:1.5rem; align-items:flex-start; }
.contact-row .ico{ width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.contact-row .ico svg{ width:18px; height:18px; stroke:var(--amber); }
.contact-row span{ display:block; color:#c7c9d4; font-size:.9rem; }
.contact-row strong{ font-family:var(--font-head); font-size:.98rem; }

.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-grid .full{ grid-column:1/-1; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem; }
.field input, .field textarea, .field select{
  width:100%; padding:.75em .9em; border-radius:8px; border:1.5px solid var(--line);
  font-family:inherit; font-size:.95rem; background:#fff;
}
.field textarea{ resize:vertical; min-height:120px; }

/* ---------- responsive ---------- */
@media (max-width:960px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:420px; margin:0 auto; }
  .value-strip .wrap{ grid-template-columns:repeat(2,1fr); }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:repeat(2,1fr); }
  .shop-layout{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-layout{ grid-template-columns:1fr; }
  .testimonial{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns:repeat(2,1fr); }
  .value-cards{ grid-template-columns:1fr; }
}
@media (max-width:680px){
  .nav-links{
    position:fixed; top:76px; left:0; right:0; bottom:0; background:#fff;
    flex-direction:column; align-items:flex-start; padding:2rem 28px; gap:1.4rem;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .menu-toggle{ display:block; }
  .nav-cta .btn span{ display:none; }
  .value-strip .wrap{ grid-template-columns:1fr; }
  .cat-grid{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .newsletter{ flex-direction:column; align-items:flex-start; }
  .newsletter form{ width:100%; }
  .newsletter input[type=email]{ flex:1; min-width:0; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .stat-row{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}
