/* =====================================================================
   KICKSPOT — Premium Sneaker & Streetwear Store Template
   Vanilla HTML5 + CSS3 + JS. No frameworks. No external images.
   All product imagery = CSS gradients / shapes / SVG / emoji.
   ---------------------------------------------------------------------
   REBRAND TIP: Edit the CSS variables in :root below. Swap --accent for
   your primary color, adjust --accent2 to match, and update --font-head
   / --font-body plus the Google Fonts <link> in each HTML file.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:      #ffffff;   /* page background                 */
  --ink:     #0a0a0a;   /* near-black headings / text      */
  --accent:  #ff4d2e;   /* bold orange-red (primary)       */
  --accent2: #ffd400;   /* electric yellow (secondary)     */
  --muted:   #6b6b6b;   /* muted body text                 */
  --surface: #f4f4f4;   /* soft alt background             */
  --line:    #e6e6e6;   /* borders / dividers              */

  /* derived */
  --accent-dark: #e23b1d; /* darker accent for hovers      */
  --ink-soft:   #2b2b2b;

  /* --- Fonts --- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow:    0 10px 30px rgba(10, 10, 10, .07);
  --shadow-lg: 0 24px 60px rgba(10, 10, 10, .14);
  --shadow-accent: 0 12px 30px rgba(255, 77, 46, .35);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: 24px;
  --header-h: 78px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.no-js .reveal { opacity: 1; transform: none; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.06;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-dark); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 90px 0; }
.section--alt { background: var(--surface); }
.section--tight { padding: 60px 0; }

.section__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section__head--left { margin-left: 0; text-align: left; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section__subtitle { color: var(--muted); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 77, 46, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: var(--accent2); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent2); color: var(--ink); }

.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 10, 10, .08); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -.03em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-accent);
}
.logo__mark svg { transform: rotate(8deg); }

.nav { margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: 9px 15px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav__link:hover { background: var(--surface); color: var(--ink); }
.nav__link.active { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search__icon {
  position: absolute; left: 13px;
  color: var(--muted);
  display: grid; place-items: center;
}
.search__input {
  font-family: var(--font-body);
  font-size: .9rem;
  width: 190px;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--ease), background var(--ease), width var(--ease);
}
.search__input:focus { outline: none; border-color: var(--accent); background: #fff; }

.cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 14px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.cart:hover { border-color: var(--accent); }
.cart__count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  transition: transform var(--ease);
}
.cart__count.is-bump { animation: bump .4s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, .5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--ease);
  z-index: 95;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------------
   HERO (home) — bold, angled streetwear
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 70px 0 110px;
}
.hero::before {
  /* angled accent slab */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 70%; height: 150%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: skewX(-12deg);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(circle, rgba(255,212,0,.16), transparent 65%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent2);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  transform: rotate(-2deg);
}
.hero__title { color: #fff; margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--accent2); }
.hero__text { color: rgba(255,255,255,.82); max-width: 480px; font-size: 1.1rem; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--accent2);
  display: block;
  line-height: 1;
}
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Hero visual — angled sneaker card */
.hero__visual { position: relative; min-height: 380px; }
.hero__shoe {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
  max-width: 420px;
  margin: 0 auto;
}
.hero__shoe-img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 6rem;
  background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
  position: relative;
  overflow: hidden;
}
.hero__shoe-img::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 120%; height: 60%;
  background: var(--accent);
  transform: rotate(-8deg);
  opacity: .9;
}
.hero__shoe-img span { position: relative; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.hero__shoe-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.hero__shoe-meta b { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.hero__shoe-meta .price { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--accent); }
.hero__float {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
}
.hero__float small { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero__float strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--ink); }
.hero__float--1 { top: 8%; left: -4%; transform: rotate(-5deg); }
.hero__float--2 { bottom: 6%; right: -4%; transform: rotate(4deg); }

/* ---------------------------------------------------------------------
   MARQUEE / FEATURED STRIP
   --------------------------------------------------------------------- */
.strip {
  background: var(--accent2);
  color: var(--ink);
  overflow: hidden;
  padding: 16px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.strip__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  animation: scroll-x 22s linear infinite;
}
.strip__track span { display: inline-flex; align-items: center; gap: 12px; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ---------------------------------------------------------------------
   CATEGORY TILES
   --------------------------------------------------------------------- */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: var(--cat, linear-gradient(135deg, #2a2a2a, #444));
  color: #fff;
  transition: transform var(--ease), box-shadow var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.category-card__emoji {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 3.4rem;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.3));
  transition: transform var(--ease);
}
.category-card:hover .category-card__emoji { transform: rotate(-10deg) scale(1.08); }
.category-card h3 { color: #fff; font-size: 1.5rem; margin: 0; text-transform: uppercase; }
.category-card__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent2);
}
.category-card__body { position: relative; z-index: 2; }

/* ---------------------------------------------------------------------
   PRODUCT GRID + CARDS
   --------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.products--three { grid-template-columns: repeat(3, 1fr); }

.product {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,77,46,.4); }
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  font-size: 4.4rem;
  background: var(--grad, linear-gradient(135deg, #ececec, #d8d8d8));
  overflow: hidden;
}
.product__media::after {
  content: "";
  position: absolute;
  bottom: -25%; left: -10%;
  width: 120%; height: 55%;
  background: rgba(255,255,255,.25);
  transform: rotate(-8deg);
}
.product__emoji { position: relative; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); transition: transform var(--ease); }
.product:hover .product__emoji { transform: rotate(-8deg) scale(1.08); }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge--sale { background: var(--accent); color: #fff; }
.badge--new  { background: var(--ink); color: var(--accent2); }
.badge--hot  { background: var(--accent2); color: var(--ink); }

.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.product__name { font-size: 1.06rem; margin: 4px 0 6px; }
.product__name a { color: var(--ink); }
.product__name a:hover { color: var(--accent); }
.product__rating { color: var(--accent2); font-size: .9rem; letter-spacing: 1px; margin-bottom: 10px; }
.product__rating span { color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.product__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.price--old { font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.btn--add {
  font-size: .82rem;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}
.btn--add:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   PROMO / DROP BANNER
   --------------------------------------------------------------------- */
.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink), #2a2a2a);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 56px 48px;
}
.promo::before {
  content: "";
  position: absolute;
  top: -40%; right: -5%;
  width: 50%; height: 180%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: skewX(-14deg);
}
.promo__content { position: relative; z-index: 2; }
.promo__eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: var(--accent2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.promo__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.promo__text { color: rgba(255,255,255,.82); max-width: 420px; margin-bottom: 24px; }
.promo__visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 200px; }
.promo__circle {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--accent2);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  line-height: .9;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
}
.promo__circle small { display: block; font-size: 1rem; letter-spacing: .2em; }
.promo__emoji { position: absolute; font-size: 2.4rem; }
.promo__emoji--1 { top: 4%; left: 6%; }
.promo__emoji--2 { bottom: 8%; right: 10%; }
.promo__emoji--3 { top: 40%; right: 2%; }

/* ---------------------------------------------------------------------
   TRUST STRIP / FEATURES
   --------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--ease), box-shadow var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.feature h3 { font-size: 1rem; margin: 0 0 2px; }
.feature p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------------
   NEWSLETTER
   --------------------------------------------------------------------- */
.newsletter {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.newsletter::after {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(circle, rgba(255,212,0,.3), transparent 60%);
}
.newsletter__content { position: relative; z-index: 2; }
.newsletter__title { color: #fff; }
.newsletter__content p { color: rgba(255,255,255,.9); margin: 0; }
.newsletter__form { position: relative; z-index: 2; }
.newsletter__field { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__input {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}
.newsletter__input:focus { outline: 3px solid var(--accent2); }
.newsletter__input.is-error { outline: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.newsletter__form .btn--light { background: var(--ink); color: #fff; }
.newsletter__form .btn--light:hover { background: var(--accent2); color: var(--ink); }
.newsletter__msg { margin: 12px 0 0; font-size: .9rem; font-weight: 600; color: #fff; min-height: 1.2em; }
.newsletter__msg.is-error { color: var(--ink); }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 62px 0 56px;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 45%; height: 160%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: skewX(-12deg);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.page-banner p { max-width: 600px; color: rgba(255,255,255,.82); margin: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent2); }
.breadcrumb span { margin: 0 8px; }

/* ---------------------------------------------------------------------
   SHOP — sidebar + grid + pagination
   --------------------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: start;
}
.filter-toggle {
  display: none;
  margin-bottom: 18px;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px;
}
.filter-list label {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; color: var(--ink-soft);
  padding: 5px 0; cursor: pointer;
}
.filter-list input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-list .count { margin-left: auto; color: var(--muted); font-size: .82rem; }

.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-chip {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  padding: 9px 0; text-align: center;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); cursor: pointer;
  transition: all var(--ease);
}
.size-chip:hover { border-color: var(--accent); }
.size-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.color-row { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot {
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  box-shadow: 0 0 0 1.5px var(--line);
  transition: transform var(--ease), box-shadow var(--ease);
}
.color-dot:hover { transform: scale(1.12); }
.color-dot.is-active { box-shadow: 0 0 0 2px var(--accent); border-color: #fff; }

.price-range { display: flex; align-items: center; gap: 10px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--accent); }
.price-out { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 26px; flex-wrap: wrap;
}
.shop-toolbar .result-count { color: var(--muted); font-size: .92rem; }
.sort-select {
  font-family: var(--font-body); font-size: .9rem;
  padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--accent); }

.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 50px;
}
.pagination a {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600;
  border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); padding: 0 12px;
  transition: all var(--ease);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------------------
   PRODUCT DETAIL PAGE
   --------------------------------------------------------------------- */
.pd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  font-size: 8rem;
  background: var(--gallery, linear-gradient(135deg, #1a1a1a, #3a3a3a));
  overflow: hidden;
  margin-bottom: 16px;
}
.gallery__main::after {
  content: "";
  position: absolute; bottom: -25%; left: -10%;
  width: 120%; height: 55%;
  background: rgba(255,255,255,.14);
  transform: rotate(-8deg);
}
.gallery__emoji { position: relative; z-index: 2; filter: drop-shadow(0 14px 16px rgba(0,0,0,.4)); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 2.2rem;
  background: var(--grad, linear-gradient(135deg, #ececec, #d8d8d8));
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease);
}
.gallery__thumb:hover { transform: translateY(-3px); }
.gallery__thumb.is-active { border-color: var(--accent); }

.pd__cat {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
}
.pd__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 8px 0 12px; text-transform: none; }
.pd__rating { color: var(--accent2); letter-spacing: 1px; margin-bottom: 16px; }
.pd__rating span { color: var(--muted); font-size: .85rem; letter-spacing: 0; }
.pd__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd__price .price { font-size: 2rem; }
.pd__price .price--old { font-size: 1.1rem; }
.pd__price .badge--sale { position: static; }
.pd__desc { color: var(--muted); margin-bottom: 26px; }

.pd-option { margin-bottom: 22px; }
.pd-option__label {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  margin-bottom: 10px;
}
.pd-option__value { color: var(--accent); }
.pd-option .size-grid { grid-template-columns: repeat(6, 1fr); }
.pd-option .color-row { gap: 12px; }
.pd-option .color-dot { width: 36px; height: 36px; }

.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; margin-bottom: 26px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 44px; height: 100%;
  min-height: 50px;
  border: none; background: #fff; cursor: pointer;
  font-size: 1.3rem; color: var(--ink);
  transition: background var(--ease);
}
.qty button:hover { background: var(--surface); }
.qty__input {
  width: 48px; text-align: center; border: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--ink);
}
.qty__input:focus { outline: none; }
.pd-actions .btn--add { flex: 1; min-width: 160px; min-height: 50px; }
.pd-actions .btn--buy { flex: 1; min-width: 160px; min-height: 50px; }
.btn--buy { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--buy:hover { background: var(--accent-dark); color: #fff; }

.pd-meta { border-top: 1px solid var(--line); padding-top: 18px; font-size: .9rem; color: var(--muted); }
.pd-meta div { margin-bottom: 4px; }
.pd-meta b { color: var(--ink); font-family: var(--font-head); }

/* Tabs */
.tabs { margin-top: 70px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tabs__btn {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 12px 20px; border: none; background: none; cursor: pointer;
  color: var(--muted); position: relative; bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tabs__panel { display: none; max-width: 760px; }
.tabs__panel.is-active { display: block; }
.tabs__panel ul { list-style: none; }
.tabs__panel li { padding: 8px 0 8px 28px; position: relative; }
.tabs__panel li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------------
   ABOUT — story / values / stats / team
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 360px;
  background: linear-gradient(150deg, var(--ink), #333);
  display: grid; place-items: center;
  color: #fff;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.split-media::after {
  content: "";
  position: absolute; bottom: -30%; left: -10%;
  width: 120%; height: 60%;
  background: var(--accent);
  transform: rotate(-8deg);
  opacity: .9;
}
.split-media__inner { position: relative; z-index: 2; text-align: center; }
.split-media__inner .big { font-size: 3.4rem; }

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,77,46,.4); }
.value-card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--surface); color: var(--accent);
  display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 16px;
}
.value-card h3 { margin-bottom: 6px; }
.value-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.stats-band {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; top: -40%; left: -5%;
  width: 40%; height: 180%;
  background: radial-gradient(circle, rgba(255,77,46,.2), transparent 60%);
}
.stats-band .section__head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; position: relative; z-index: 2; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  display: block; line-height: 1;
  color: var(--accent2);
}
.stat span { color: rgba(255,255,255,.78); font-size: .92rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo {
  width: 110px; height: 110px; border-radius: 22px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transform: rotate(-5deg);
  box-shadow: var(--shadow);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.team-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 50%; height: 200%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: skewX(-14deg);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; color: var(--ink); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,77,46,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input.is-error, .field select.is-error, .field textarea.is-error { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,46,.12); }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.form-msg {
  margin-top: 16px; padding: 0; font-weight: 600; font-size: .92rem; min-height: 0;
}
.form-msg.is-success { color: #11804a; padding: 13px 16px; border-radius: var(--radius-sm); background: #e8f7ee; }
.form-msg.is-error { color: var(--accent-dark); padding: 13px 16px; border-radius: var(--radius-sm); background: #fdecec; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .93rem; color: var(--muted); }
.info-row a { color: var(--accent); }

.map-placeholder {
  border-radius: var(--radius);
  min-height: 260px;
  background:
    linear-gradient(rgba(255,77,46,.05), rgba(255,77,46,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; color: var(--muted);
}
.map-placeholder .pin { font-size: 2.6rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer .logo, .footer .logo:hover { color: #fff; }
.footer__tagline { font-size: .94rem; color: rgba(255,255,255,.65); max-width: 300px; margin: 16px 0; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background var(--ease);
}
.footer__social-link:hover { background: var(--accent); }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col li { margin-bottom: 4px; }
.footer__col a { color: rgba(255,255,255,.7); font-size: .94rem; display: inline-block; padding: 4px 0; }
.footer__col a:hover { color: var(--accent2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: rgba(255,255,255,.55);
}
.footer__bottom-inner p { margin: 0; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: rgba(255,255,255,.7); }
.footer__legal a:hover { color: var(--accent2); }

/* ---------------------------------------------------------------------
   TOAST
   --------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  z-index: 200;
  border: 2px solid var(--accent);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .products, .features { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .value-cards { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 460px; }
  .search__input { width: 150px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav drawer */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h); right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--ease);
    z-index: 96;
    padding: 22px;
    margin: 0;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 13px 16px; font-size: 1.05rem; }

  .search { display: none; }

  .pd, .split, .contact-grid, .promo, .newsletter { grid-template-columns: 1fr; }
  .promo, .newsletter { padding: 40px 28px; text-align: center; }
  .promo::before, .newsletter::after { display: none; }
  .newsletter__field { justify-content: center; }
  .split--reverse .split-media { order: 0; }

  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .sidebar {
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: min(82vw, 320px);
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform var(--ease);
    z-index: 97;
    overflow-y: auto;
  }
  .sidebar.is-open { transform: translateX(0); }

  .cta-band { padding: 44px 26px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .products, .features, .categories, .team-grid, .stats-grid, .value-cards { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero__stats { gap: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .logo { font-size: 1.2rem; }
  .cart span:not(.cart__count) { display: none; }
}
