/* ============================================================
   THE BYTE SOURCE — Design System
   Monochrome brand (black / white / grey) + purple on hover
   ============================================================ */

:root {
  /* Brand ink */
  --ink:        #0b0b0d;
  --ink-2:      #16161a;
  --ink-3:      #26262c;
  --grey-1:     #5b5b66;
  --grey-2:     #8a8a95;
  --grey-3:     #c7c7d0;
  --line:       #e7e7ec;
  --line-2:     #efeff3;
  --paper:      #ffffff;
  --paper-2:    #f7f7f9;
  --paper-3:    #f0f0f4;

  /* Accent — purple appears on hover / active */
  --purple:       #7c3aed;
  --purple-600:   #6d28d9;
  --purple-700:   #5b21b6;
  --purple-soft:  #f3edff;
  --purple-glow:  rgba(124, 58, 237, .35);

  /* Feedback */
  --green:  #16a34a;
  --red:    #e11d48;
  --amber:  #f59e0b;

  /* Typography */
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(11,11,13,.06), 0 1px 3px rgba(11,11,13,.05);
  --shadow-md: 0 6px 20px rgba(11,11,13,.08);
  --shadow-lg: 0 18px 50px rgba(11,11,13,.14);
  --shadow-purple: 0 10px 30px var(--purple-glow);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: .18s;
  --med:  .32s;

  --container: 1240px;
  --header-h: 118px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select { font-family: inherit; font-size: 15px; }

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

.muted { color: var(--grey-1); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  background: var(--ink); color: #fff;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease),
              box-shadow var(--med) var(--ease), color var(--fast) var(--ease);
  will-change: transform;
}
.btn:hover     { background: var(--purple); box-shadow: var(--shadow-purple); transform: translateY(-2px); }
.btn:active    { transform: translateY(0); }

.btn--outline {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--outline:hover { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); transform: translateY(-2px); }

.btn--ghost { background: var(--paper-3); color: var(--ink); }
.btn--ghost:hover { background: var(--purple); color: #fff; }

.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--lg { padding: 16px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; background: var(--grey-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--paper); color: var(--grey-1);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: all var(--fast) var(--ease);
}
.chip:hover { color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }
.chip--solid { background: var(--ink); color: #fff; box-shadow: none; }
.chip--solid:hover { background: var(--purple); color:#fff; }

.badge-sale {
  background: var(--ink); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 8px;
  letter-spacing: .02em;
}
.badge-new { background: var(--purple); color:#fff; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex; align-items: center; gap: 22px;
  height: 74px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400; font-size: 26px; letter-spacing: -.01em; line-height: 1;
  color: var(--ink); display: inline-flex; align-items: center; gap: 13px; white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.brand-logo__bar { width: 1.5px; height: 27px; background: currentColor; display: inline-block; }
.brand-logo--light { color: #fff; margin-bottom: 16px; }
.brand:hover .brand-logo { color: var(--purple); }
@media (max-width: 560px){ .brand-logo { font-size: 22px; gap: 10px; } .brand-logo__bar { height: 23px; } }

.search {
  flex: 1 1 auto; position: relative; max-width: 560px;
}
.search input {
  width: 100%; height: 46px; padding: 0 46px 0 46px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper-2); color: var(--ink);
  transition: border var(--fast), background var(--fast), box-shadow var(--fast);
}
.search input:focus {
  outline: none; border-color: var(--purple); background: #fff;
  box-shadow: 0 0 0 4px var(--purple-soft);
}
.search__icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--grey-2); pointer-events: none; }
.search__go { position: absolute; right: 6px; top: 6px; height: 34px; width: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--grey-1); transition: all var(--fast); }
.search__go:hover { background: var(--purple); color:#fff; }

.header__actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  position: relative; height: 46px; width: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  transition: background var(--fast), color var(--fast), transform var(--fast);
}
.icon-btn:hover { background: var(--purple-soft); color: var(--purple); transform: translateY(-1px); }
.icon-btn__label { display:none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff;
  transition: transform var(--fast) var(--ease);
}
.cart-count.bump { transform: scale(1.35); }

/* Nav row */
.nav {
  border-top: 1px solid var(--line-2);
}
.nav__inner { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--grey-1);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  transition: color var(--fast), background var(--fast);
}
.nav a:hover, .nav a.active { color: var(--purple); background: var(--purple-soft); }
.nav a.strong { color: var(--ink); font-weight: 600; }
.nav a.strong:hover { color: var(--purple); }

/* ------------------------------------------------------------
   Announcement strip
   ------------------------------------------------------------ */
.strip {
  background: var(--ink); color: #fff; font-size: 13px; text-align: center;
  padding: 8px 16px; font-family: var(--font-head); font-weight: 500; letter-spacing: .01em;
}
.strip b { color: #fff; }
.strip .hl { color: #c4a7ff; }
.strip__ic { display: inline-flex; vertical-align: -3px; color: #c4a7ff; }
.summary__finance { display: flex; align-items: flex-start; gap: 8px; }
.summary__finance .fic { flex: 0 0 auto; color: var(--purple); margin-top: 1px; }

/* ------------------------------------------------------------
   Hero banner (Grand Opening) — no button, per request
   ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(1100px 500px at 82% -20%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(124,58,237,.16), transparent 60%),
    linear-gradient(140deg, #131318 0%, #0b0b0d 55%, #14101f 100%);
  color: #fff;
  padding: 58px 56px;
  min-height: 400px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px;
  box-shadow: var(--shadow-lg);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(600px 400px at 30% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: #c4a7ff;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(124,58,237,.16); border: 1px solid rgba(124,58,237,.4);
}
.hero__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 0 var(--purple-glow); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(124,58,237,.55);} 70%{ box-shadow:0 0 0 12px rgba(124,58,237,0);} 100%{ box-shadow:0 0 0 0 rgba(124,58,237,0);} }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: #c4a7ff; }
.hero__sub { font-size: 17px; color: rgba(255,255,255,.78); max-width: 460px; margin-bottom: 24px; }
.hero__meta { display: flex; gap: 26px; flex-wrap: wrap; }
.hero__meta div { }
.hero__meta .n { font-family: var(--font-head); font-weight: 700; font-size: 26px; }
.hero__meta .l { font-size: 12.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }

.hero__art { position: relative; z-index: 2; height: 320px; display: grid; place-items: center; }

/* Animated $10,000 cash prize */
.hero__prize { position: relative; display: grid; place-items: center; animation: floaty 5s var(--ease) infinite; }
.prize-amount {
  font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(48px, 9vw, 96px); letter-spacing: -.02em; display: inline-flex; align-items: baseline;
  background: linear-gradient(180deg, #fff 0%, #e6d6ff 55%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(124,58,237,.55));
  position: relative; z-index: 2;
}
.prize-amount::after {
  content: ""; position: absolute; inset: -8% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.45), transparent 68%);
  animation: prizeGlow 2.6s ease-in-out infinite;
}
.prize-cur { font-size: .62em; margin-right: 2px; opacity: .95; }
.prize-label {
  margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .28em; text-transform: uppercase; color: #c4a7ff;
  padding: 7px 18px; border-radius: 999px; background: rgba(124,58,237,.16); border: 1px solid rgba(124,58,237,.4);
}
.prize-coin {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c4a7ff 55%, #7c3aed);
  color: var(--purple-700); font-family: var(--font-head); font-weight: 700; font-size: 20px;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(124,58,237,.5), inset 0 -3px 6px rgba(91,33,182,.4);
  z-index: 3;
}
.prize-coin--1 { top: 4%;  left: 6%;  animation: coinFloat 3.4s ease-in-out infinite; }
.prize-coin--2 { top: 14%; right: 2%; width: 30px; height: 30px; font-size: 15px; animation: coinFloat 4.2s ease-in-out infinite .6s; }
.prize-coin--3 { bottom: 8%; left: 14%; width: 34px; height: 34px; font-size: 17px; animation: coinFloat 3.8s ease-in-out infinite 1.1s; }
@keyframes prizeGlow { 0%,100%{ transform: scale(.9); opacity: .7; } 50%{ transform: scale(1.08); opacity: 1; } }
@keyframes coinFloat { 0%,100%{ transform: translateY(0) rotate(-6deg); } 50%{ transform: translateY(-16px) rotate(8deg); } }
.hero__phones { display: flex; align-items: flex-end; gap: -10px; }
.hero__phone {
  border-radius: 26px; box-shadow: var(--shadow-lg);
  transform: translateY(0);
  animation: floaty 5s var(--ease) infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
.confetti { position: absolute; border-radius: 2px; opacity: .9; animation: fall 6s linear infinite; }
@keyframes fall { 0%{ transform: translateY(-30px) rotate(0);} 100%{ transform: translateY(360px) rotate(360deg); opacity: 0;} }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 46px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; gap: 16px; }
.section__head h2 { font-size: clamp(24px, 3.2vw, 34px); }
.section__head p { color: var(--grey-1); margin-top: 6px; }
.section__link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--fast), color var(--fast); }
.section__link:hover { color: var(--purple); gap: 11px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 22px 16px; text-align: center;
  box-shadow: inset 0 0 0 1px var(--line); transition: all var(--med) var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--purple), var(--shadow-md); }
.cat-card__icon { width: 54px; height: 54px; color: var(--ink); transition: color var(--med), transform var(--med); }
.cat-card:hover .cat-card__icon { color: var(--purple); transform: scale(1.08); }
.cat-card__name { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }
.cat-card__count { font-size: 12px; color: var(--grey-2); }

/* Product grid + cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.card__media {
  position: relative; aspect-ratio: 1/1; background: linear-gradient(160deg, var(--paper-2), var(--paper-3));
  display: grid; place-items: center; overflow: hidden;
}
.card__media svg.device { width: 74%; height: 74%; transition: transform var(--med) var(--ease); }
.card__media img.pimg { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--med) var(--ease); }
.card:hover .card__media svg.device,
.card:hover .card__media img.pimg { transform: scale(1.06); }
.card__flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  height: 38px; width: 38px; border-radius: 50%; background: rgba(255,255,255,.8);
  backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--grey-1);
  transition: all var(--fast); box-shadow: var(--shadow-sm);
}
.card__fav:hover { color: var(--purple); transform: scale(1.12); }
.card__fav.active { color: var(--purple); }

.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-2); font-weight: 600; }
.card__name { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.card__name a:hover { color: var(--purple); }
.card__rating { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--grey-1); }
.card__rating .stars { color: var(--amber); letter-spacing: 1px; }
.card__spec { display: flex; gap: 6px; flex-wrap: wrap; }
.card__spec span { font-size: 11.5px; color: var(--grey-1); background: var(--paper-2); padding: 3px 8px; border-radius: 6px; }
.card__price { margin-top: auto; display: flex; align-items: baseline; gap: 9px; padding-top: 6px; }
.card__price .now { font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.card__price .was { font-size: 14px; color: var(--grey-2); text-decoration: line-through; }
.card__price .off { font-size: 12px; font-weight: 700; color: var(--red); }
.card__finance { font-size: 12px; color: var(--purple-600); font-weight: 600; }
.card__foot { display: flex; gap: 8px; margin-top: 12px; }
.card__add { flex: 1; }

/* ------------------------------------------------------------
   Finance / installment promo band
   ------------------------------------------------------------ */
.finance-band {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  border-radius: var(--r-xl); color: #fff; padding: 44px; position: relative; overflow: hidden;
}
.finance-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
}
.finance-band__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: center; }
.finance-band h2 { font-size: 30px; margin-bottom: 12px; }
.finance-band h2 span { color: #c4a7ff; }
.finance-band p { color: rgba(255,255,255,.76); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 20px; transition: all var(--med) var(--ease);
}
.step:hover { background: rgba(124,58,237,.14); border-color: rgba(124,58,237,.5); transform: translateY(-4px); }
.step__n { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #c4a7ff; margin-bottom: 8px; }
.step__t { font-family: var(--font-head); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.step__d { font-size: 13px; color: rgba(255,255,255,.66); }

/* ------------------------------------------------------------
   Catalog layout (filters + grid)
   ------------------------------------------------------------ */
.catalog { display: grid; grid-template-columns: 268px 1fr; gap: 28px; align-items: start; }
.filters {
  background: var(--paper); border-radius: var(--r-lg); padding: 8px 20px 20px;
  box-shadow: inset 0 0 0 1px var(--line); position: sticky; top: 130px;
}
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.filters__head span { display: inline-flex; align-items: center; gap: 8px; }
.filters__head button { font-size: 13px; font-weight: 600; color: var(--grey-1); transition: color var(--fast); }
.filters__head button:hover { color: var(--purple); }

.filter-group { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.filter-group:last-of-type { border-bottom: none; }
.filter-group__title {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.filter-group__title .caret { transition: transform var(--fast); color: var(--grey-2); }
.filter-group.collapsed .caret { transform: rotate(-90deg); }
.filter-group.collapsed .filter-group__body { display: none; }
.filter-group__body { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }

.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey-1); cursor: pointer; transition: color var(--fast); }
.check:hover { color: var(--ink); }
.check input { display: none; }
.check__box {
  width: 19px; height: 19px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--grey-3);
  display: grid; place-items: center; transition: all var(--fast); flex: 0 0 auto; color: #fff;
}
.check input:checked + .check__box { background: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); }
.check input:checked + .check__box svg { opacity: 1; }
.check__box svg { opacity: 0; width: 12px; height: 12px; }
.check__count { margin-left: auto; font-size: 12px; color: var(--grey-3); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); cursor: pointer; position: relative; transition: transform var(--fast); }
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--purple); }

.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-field { flex: 1; display: flex; align-items: center; height: 42px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 10px; transition: box-shadow var(--fast); background: #fff; }
.price-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--purple); }
.price-field span { color: var(--grey-2); font-weight: 600; font-size: 14px; }
.price-field input { width: 100%; height: 100%; border: none; background: none; padding: 0 4px; outline: none; }
.price-dash { color: var(--grey-3); }

.catalog__main { min-width: 0; }
.catalog__toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.catalog__count { color: var(--grey-1); font-size: 14px; }
.catalog__count b { color: var(--ink); }
.sort {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--grey-1);
}
.sort select {
  height: 42px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 38px 0 16px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a95' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; font-weight: 600; font-family: var(--font-head); color: var(--ink); cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--purple); }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters .chip { cursor: pointer; background: var(--purple-soft); color: var(--purple-600); box-shadow: none; }
.active-filters .chip:hover { background: var(--purple); color: #fff; }

.filters__mobile-toggle { display: none; }
.filters__backdrop { display: none; }   /* hidden on desktop; not part of the grid */

/* Empty state */
.empty { text-align: center; padding: 80px 20px; color: var(--grey-1); }
.empty svg { color: var(--grey-3); margin-bottom: 16px; }

/* ------------------------------------------------------------
   Product page
   ------------------------------------------------------------ */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.pdp__gallery { position: sticky; top: 130px; }
.pdp__stage { background: linear-gradient(160deg, var(--paper), var(--paper-3)); border-radius: var(--r-xl); aspect-ratio: 1/1; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pdp__stage svg.device { width: 66%; height: 66%; }
.pdp__stage img.pimg { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumb img.pimg { width: 66%; height: 66%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item__media img.pimg { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumb { width: 74px; height: 74px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; cursor: pointer; transition: all var(--fast); }
.pdp__thumb:hover, .pdp__thumb.active { box-shadow: inset 0 0 0 2px var(--purple); }
.pdp__thumb svg { width: 62%; height: 62%; }

.pdp__brand { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-2); font-weight: 700; }
.pdp h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 12px; }
.pdp__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--grey-1); font-size: 14px; }
.pdp__rating .stars { color: var(--amber); }
.pdp__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.pdp__price .now { font-family: var(--font-head); font-weight: 700; font-size: 38px; }
.pdp__price .was { font-size: 20px; color: var(--grey-2); text-decoration: line-through; }
.pdp__price .off { background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 8px; font-family: var(--font-head); }
.pdp__save { color: var(--green); font-weight: 600; font-size: 14px; margin-bottom: 22px; }

.pdp__finance {
  background: var(--purple-soft); border: 1px solid #e2d4ff; border-radius: var(--r-md);
  padding: 16px 18px; margin-bottom: 24px; display: flex; gap: 14px; align-items: center;
}
.pdp__finance .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--purple); color: #fff; display: grid; place-items: center; }
.pdp__finance .t { font-family: var(--font-head); font-weight: 700; color: var(--purple-700); font-size: 15px; }
.pdp__finance .d { font-size: 13px; color: var(--purple-600); }

.pdp__options { margin-bottom: 24px; }
.pdp__options h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-1); margin-bottom: 10px; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.opt {
  padding: 10px 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 600; font-size: 14px; cursor: pointer; transition: all var(--fast); background: #fff;
}
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }
.opt.active { box-shadow: inset 0 0 0 2px var(--purple); color: var(--purple); background: var(--purple-soft); }

.pdp__buy { display: flex; gap: 12px; margin-bottom: 22px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.qty button { width: 44px; height: 50px; display: grid; place-items: center; color: var(--ink); transition: all var(--fast); font-size: 18px; }
.qty button:hover { background: var(--purple-soft); color: var(--purple); }
.qty span { width: 40px; text-align: center; font-weight: 700; font-family: var(--font-head); }

.pdp__assur { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.assur { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--grey-1); }
.assur svg { color: var(--purple); flex: 0 0 auto; }

.pdp__tabs { margin-top: 56px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__nav button { white-space: nowrap; flex: 0 0 auto; }
.tabs__nav button {
  padding: 14px 18px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--grey-1);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--fast);
}
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button.active { color: var(--purple); border-bottom-color: var(--purple); }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table td { padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.spec-table td:first-child { color: var(--grey-1); width: 40%; }
.spec-table td:last-child { font-weight: 600; }

/* ------------------------------------------------------------
   Bundle ("Great Value Bundle")
   ------------------------------------------------------------ */
.bundle { margin-top: 56px; background: var(--paper); border-radius: var(--r-xl); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.bundle__head { margin-bottom: 22px; }
.bundle__head h2 { font-size: 24px; }
.bundle__head p { color: var(--purple-600); font-weight: 600; margin-top: 4px; }
.bundle__row { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: center; }
.bundle__products { display: flex; align-items: center; gap: 16px; }
.bundle__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); transition: all var(--med) var(--ease); text-align: center; }
.bundle__item:hover { box-shadow: inset 0 0 0 1.5px var(--purple), var(--shadow-md); transform: translateY(-3px); }
.bundle__media { width: 120px; height: 120px; display: grid; place-items: center; }
.bundle__media svg.device { width: 88%; height: 88%; }
.bundle__media img.pimg { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.bundle__name { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.3; }
.bundle__item:hover .bundle__name { color: var(--purple); }
.bundle__price { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.bundle__plus { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-3); color: var(--grey-1); display: grid; place-items: center; }
.bundle__deal { background: linear-gradient(150deg, var(--ink), var(--ink-2)); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.bundle__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.bundle__was { color: rgba(255,255,255,.5); text-decoration: line-through; font-size: 15px; }
.bundle__now { font-family: var(--font-head); font-weight: 700; font-size: 28px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.bundle__save { font-size: 12.5px; font-weight: 700; background: var(--purple); color: #fff; padding: 4px 9px; border-radius: 7px; letter-spacing: .02em; }
.bundle__deal .btn { background: #fff; color: var(--ink); }
.bundle__deal .btn:hover { background: var(--purple); color: #fff; }
.bundle__fin { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 12px; }
@media (max-width: 820px){ .bundle__row { grid-template-columns: 1fr; } }
@media (max-width: 480px){ .bundle { padding: 20px; } .bundle__products { flex-direction: column; } .bundle__plus { transform: rotate(0); } .bundle__media { width: 96px; height: 96px; } }

/* ------------------------------------------------------------
   Cart
   ------------------------------------------------------------ */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart > * { min-width: 0; }
.cart__items { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cart-item > div { min-width: 0; }
.cart-item__name, .cart-item__meta { overflow-wrap: anywhere; }
.cart-item {
  background: var(--paper); border-radius: var(--r-lg); padding: 16px; display: grid;
  grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--fast);
}
.cart-item:hover { box-shadow: inset 0 0 0 1px var(--purple); }
.cart-item__media { width: 96px; height: 96px; border-radius: var(--r-md); background: linear-gradient(160deg,var(--paper-2),var(--paper-3)); display: grid; place-items: center; }
.cart-item__media svg { width: 70%; height: 70%; }
.cart-item__name { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.cart-item__name:hover { color: var(--purple); }
.cart-item__meta { font-size: 13px; color: var(--grey-2); margin-top: 3px; }
.cart-item__price { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-top: 8px; }
.cart-item__price .was { font-size: 13px; color: var(--grey-3); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.qty--sm button { width: 34px; height: 38px; font-size: 15px; }
.qty--sm span { width: 30px; }
.cart-item__remove { color: var(--grey-2); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; transition: color var(--fast); }
.cart-item__remove:hover { color: var(--red); }

.summary {
  background: var(--paper); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 130px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.summary h3 { font-size: 20px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--grey-1); }
.summary__row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font-size: 20px; font-family: var(--font-head); font-weight: 700; }
.summary__row .g { color: var(--green); font-weight: 600; }
.summary__finance {
  background: var(--purple-soft); border-radius: var(--r-md); padding: 14px; margin: 16px 0;
  font-size: 13px; color: var(--purple-700);
}
.summary__finance b { font-family: var(--font-head); }
.promo { display: flex; gap: 8px; margin: 16px 0; }
.promo input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 16px; }
.promo input:focus { outline: none; border-color: var(--purple); }

/* Prominent Split Pay promo in the cart */
.split-promo {
  margin: 18px 0; border-radius: var(--r-lg); padding: 18px;
  background: linear-gradient(150deg, var(--purple-soft), #fff);
  box-shadow: inset 0 0 0 1.5px var(--purple);
}
.split-promo__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.split-promo__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--purple); color: #fff; display: grid; place-items: center; }
.split-promo__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.split-promo__badge { font-size: 11px; font-weight: 700; background: var(--purple); color: #fff; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.split-promo__sub { font-size: 13px; color: var(--purple-600); font-weight: 600; }
.split-promo__steps { display: flex; flex-direction: column; gap: 9px; }
.split-promo__step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.split-promo__step .n { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple-700); font-family: var(--font-head); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.split-promo__step b { color: var(--ink); }
.split-promo__ex { margin-top: 14px; padding: 11px 14px; border-radius: var(--r-md); background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; text-align: center; }
.split-promo__ex b { color: #c4a7ff; }
.split-promo__note { margin-top: 10px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--purple-600); }

.trust-row { display: flex; gap: 14px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.trust-row span { font-size: 12px; color: var(--grey-2); display: inline-flex; align-items: center; gap: 5px; }

/* ------------------------------------------------------------
   Content / legal pages
   ------------------------------------------------------------ */
.page-head { padding: 40px 0 8px; }
.page-head .breadcrumb { font-size: 13px; color: var(--grey-2); margin-bottom: 12px; }
.page-head .breadcrumb a:hover { color: var(--purple); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-head p.lede { font-size: 18px; color: var(--grey-1); margin-top: 12px; max-width: 720px; }

.prose { max-width: 800px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul { margin: 0 0 18px 20px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.callout {
  background: var(--purple-soft); border-left: 3px solid var(--purple); border-radius: var(--r-md);
  padding: 18px 20px; margin: 22px 0; color: var(--purple-700); font-size: 14.5px;
}
.callout b { font-family: var(--font-head); }

.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 24px 0; }
.info-cards--4 { grid-template-columns: repeat(4,1fr); }
.info-card { background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: all var(--med) var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--purple), var(--shadow-md); }
.info-card__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 14px; transition: background var(--med); }
.info-card:hover .info-card__ic { background: var(--purple); }
.info-card h3 { font-size: 17px; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--grey-1); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); transition: color var(--fast); }
.faq-q:hover { color: var(--purple); }
.faq-q .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; transition: all var(--fast); }
.faq-item.open .faq-q .pm { background: var(--purple); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--med) var(--ease); }
.faq-a__inner { padding: 0 0 20px; color: var(--grey-1); max-width: 720px; }

/* ------------------------------------------------------------
   Auth (login / register) + Account
   ------------------------------------------------------------ */
.auth-card { max-width: 460px; background: var(--paper); border-radius: var(--r-xl); padding: 32px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--grey-1); }
.auth-form input { height: 46px; border-radius: var(--r-md); border: 1.5px solid var(--line); padding: 0 14px; font-size: 15px; transition: border var(--fast), box-shadow var(--fast); }
.auth-form input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-row label { min-width: 0; }
.auth-error { color: var(--red); font-size: 13.5px; font-weight: 600; min-height: 0; }
.auth-error:empty { display: none; }
.auth-form .btn { margin-top: 6px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--grey-1); margin-top: 4px; }
.auth-alt a { color: var(--purple); font-weight: 600; }
.icon-btn.is-authed { background: var(--purple-soft); color: var(--purple); }

.account { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.account__card { background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.account__card h3 { font-size: 18px; margin-bottom: 16px; }
.account__rows { display: flex; flex-direction: column; gap: 12px; }
.account__rows > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.account__rows span { color: var(--grey-2); }
.order { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.order__head { display: flex; justify-content: space-between; align-items: center; }
.order__status { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--amber); background: #fff5e6; padding: 3px 9px; border-radius: 999px; }
.order__meta { font-size: 13px; color: var(--grey-2); margin-top: 4px; }
.order__total { font-family: var(--font-head); font-weight: 700; margin-top: 6px; }

.plan-opts { display: flex; flex-direction: column; gap: 10px; }
.plan-opt { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow var(--fast), background var(--fast); background: #fff; }
.plan-opt:hover { box-shadow: inset 0 0 0 1.5px var(--purple); }
.plan-opt.active { box-shadow: inset 0 0 0 2px var(--purple); background: var(--purple-soft); }
.plan-opt__radio { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--grey-3); position: relative; transition: box-shadow var(--fast); }
.plan-opt.active .plan-opt__radio { box-shadow: inset 0 0 0 6px var(--purple); }
.plan-opt__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.plan-opt__title { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.plan-opt__tag { font-size: 11px; font-weight: 700; background: var(--purple); color: #fff; padding: 2px 7px; border-radius: 6px; letter-spacing: .02em; }
.plan-opt__desc { font-size: 13px; color: var(--grey-1); }
.plan-opt__desc select { border: 1.5px solid var(--line); border-radius: 6px; padding: 1px 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; cursor: pointer; }
.plan-opt__break { font-size: 12.5px; font-weight: 600; color: var(--purple-600); margin-top: 2px; }
.plan-opt__break:empty { display: none; }
.plan-opt__amt { flex: 0 0 auto; font-family: var(--font-head); font-weight: 700; font-size: 18px; text-align: right; display: flex; flex-direction: column; }
.plan-opt__amt small { font-size: 11px; font-weight: 500; color: var(--grey-2); }
.order__plan { font-size: 12.5px; color: var(--purple-600); font-weight: 600; margin-top: 4px; }
.order__ship { font-size: 12.5px; color: var(--grey-1); margin-top: 4px; }

.ship-form { display: flex; flex-direction: column; gap: 12px; }
.ship-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--grey-1); }
.ship-form input { height: 44px; border-radius: var(--r-md); border: 1.5px solid var(--line); padding: 0 13px; font-size: 15px; transition: border var(--fast), box-shadow var(--fast); }
.ship-form input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.ship-row3 { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 10px; }
.ship-row3 label { min-width: 0; }
@media (max-width: 480px){ .ship-row3 { grid-template-columns: 1fr; } }

.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--purple); background: var(--purple-soft); margin-bottom: 16px; }
.pay-method__ic { width: 42px; height: 42px; border-radius: 10px; background: var(--purple); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.pay-method b { font-family: var(--font-head); }

@media (max-width: 720px){ .account { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer { background: var(--ink); color: #fff; margin-top: 70px; padding: 56px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__logo { height: 34px; filter: invert(1) brightness(2); margin-bottom: 16px; }
.footer__brand p { color: rgba(255,255,255,.55); font-size: 14px; max-width: 260px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,.8); font-size: 14.5px; transition: color var(--fast); }
.footer a:hover { color: #c4a7ff; }
.footer__news input { width: 100%; height: 46px; border-radius: 999px; border: none; padding: 0 16px; background: rgba(255,255,255,.08); color: #fff; margin-bottom: 10px; }
.footer__news input::placeholder { color: rgba(255,255,255,.4); }
.footer__news input:focus { outline: none; box-shadow: 0 0 0 2px var(--purple); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: all var(--fast); }
.footer__social a:hover { background: var(--purple); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: 13px; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { background: rgba(255,255,255,.08); border-radius: 6px; padding: 4px 9px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }

/* ------------------------------------------------------------
   Floating WhatsApp button
   ------------------------------------------------------------ */
.wa-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0; width: 58px; overflow: hidden;
  border-radius: 999px; background: #25d366; color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: width var(--med) var(--ease), background var(--fast), transform var(--fast);
  white-space: nowrap;
}
.wa-fab svg { flex: 0 0 58px; width: 58px; height: 28px; }
.wa-fab__label { font-family: var(--font-head); font-weight: 600; font-size: 15px; opacity: 0; transition: opacity var(--fast); padding-right: 4px; }
.wa-fab:hover { width: 186px; background: #1ebe5a; }
.wa-fab:hover .wa-fab__label { opacity: 1; }
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.4s infinite;
}
@keyframes waPulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (max-width: 560px){ .wa-fab { height: 52px; width: 52px; bottom: 16px; right: 16px; } .wa-fab svg { flex-basis: 52px; width: 52px; } .wa-fab:hover { width: 52px; } .wa-fab:hover .wa-fab__label { opacity: 0; } .wa-fab__label { display: none; } }

/* ------------------------------------------------------------
   Toast
   ------------------------------------------------------------ */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px;
  transform: translateX(140%); transition: transform var(--med) var(--ease); min-width: 260px;
}
.toast.show { transform: translateX(0); }
.toast .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; flex: 0 0 auto; }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .hero { grid-template-columns: 1fr; padding: 44px 34px; }
  .hero__art { display: none; }
  .finance-band__grid { grid-template-columns: 1fr; gap: 26px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(340px, 90vw); z-index: 120; border-radius: 0;
    transform: translateX(100%); transition: transform var(--med) var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters__mobile-toggle { display: inline-flex; }
  .filters__backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 110; }
  .filters__backdrop.show { display: block; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2,1fr); }
  .info-cards, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header__bar { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .pdp__assur { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 32px; }
  .cart-item { grid-template-columns: 68px 1fr; gap: 12px; padding: 14px; }
  .cart-item__media { width: 68px; height: 68px; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cart-item__name { font-size: 15px; }
  .summary { padding: 18px; }
  .container { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}
