/* =========================================================
   MATJAR EL EULMA PLUS — DESIGN SYSTEM
   Brand: navy #003566 · yellow #F7C600 · ink #111111
   ========================================================= */

:root {
  --navy: #003566;
  --navy-900: #00284d;
  --navy-800: #003a70;
  --yellow: #F7C600;
  --yellow-600: #E5B600;
  --yellow-200: #FFE58A;
  --yellow-100: #FFF6D6;
  --ink: #111111;
  --text: #1C1C1C;
  --muted: #6B6862;
  --warm: #A6A29A;
  --paper: #FAFAFA;
  --white: #FFFFFF;
  --line: #E0E0E0;
  --line-soft: #EFEFEF;
  --success: #0E7A4A;
  --success-soft: var(--success-soft);
  --success-line: var(--success-line);
  --danger: #C62828;
  --danger-soft: var(--danger-soft);
  --danger-line: var(--danger-line);
  --wa: #25D366;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px -12px rgba(0, 53, 102, .18);
  --shadow: 0 22px 60px -28px rgba(0, 53, 102, .32);
  --shadow-lg: 0 36px 90px -36px rgba(0, 53, 102, .45);
  --container: 1280px;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

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

.section { padding: 84px 0; }
.section--soft { background: var(--paper); }
.section--cats { padding-bottom: 72px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section__head--center { justify-content: center; text-align: center; }

.section__head h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 6px;
}

.section__tools {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--yellow);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}
.eyebrow--navy { color: var(--navy); }

.text-yellow { color: var(--yellow); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(-3px); }
.btn:active { transform: translateY(1px); }

.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--white); color: var(--navy); box-shadow: 0 12px 28px -12px rgba(247, 198, 0, .8); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-900); color: var(--white); }

.btn--ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--wa { background: var(--wa); color: #06351c; }
.btn--wa:hover { background: #1fbe5a; color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--yellow-600); }
.link-arrow:hover .ico { transform: translateX(-3px); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--paper); color: var(--navy); }
.icon-btn .ico { width: 22px; height: 22px; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 101;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  min-height: 40px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}
.topbar__contact,
.topbar__links,
.topbar__ticker { display: flex; align-items: center; gap: 18px; }

.topbar__contact a,
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease);
}
.topbar__contact a:hover,
.topbar__links a:hover { color: var(--white); }
.topbar__contact .ico { width: 15px; height: 15px; color: var(--yellow); }
.topbar__wa .ico { color: var(--wa); }

.topbar__ticker {
  gap: 22px;
  color: rgba(255, 255, 255, .62);
}
.topbar__ticker span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__ticker .ico { width: 14px; height: 14px; color: var(--yellow); }

.topbar__cta {
  background: var(--yellow);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}
.topbar__cta:hover { background: var(--white); color: var(--navy) !important; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 40px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 14px 34px -26px rgba(0, 0, 0, .4); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.header__menu { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  box-shadow: 0 8px 20px -12px rgba(0, 53, 102, .45);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__text strong { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.brand__text small { font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--warm); margin-top: 4px; }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text small { color: var(--yellow); }

.header__search { flex: 1 1 auto; max-width: 640px; }

.searchbar {
  display: flex;
  align-items: center;
  height: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.searchbar:focus-within {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, .08);
}
.search__cat {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  padding-inline: 14px 28px;
  border-inline-end: 1px solid var(--line);
}
.search__cat select {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  max-width: 126px;
  cursor: pointer;
  outline: none;
}
.search__cat .ico {
  position: absolute;
  left: 9px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}
.searchbar input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}
.searchbar input::placeholder { color: var(--warm); }
.search__btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.search__btn:hover { background: var(--yellow); color: var(--navy); }
.search__btn .ico { width: 19px; height: 19px; }

/* Live search dropdown.
   The bar is .searchbar, not .search: WordPress prints "search" as a body
   class on is_search() pages, and a bare .search rule would restyle <body>. */
.searchbar { position: relative; }
.search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .25);
  z-index: 300;
  max-height: 420px;
  overflow-y: auto;
  display: none;
}
.search__dropdown.is-open { display: block; }
.search__result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s var(--ease);
}
.search__result:last-child { border-bottom: 0; }
.search__result:hover { background: var(--paper); }
.search__result img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper);
  flex-shrink: 0;
}
.search__result-body { flex: 1; min-width: 0; }
.search__result-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search__result-price {
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 2px;
}
.search__empty {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.header__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.header__new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-end: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.header__new span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(247, 198, 0, .18);
}
.header__new:hover { color: var(--yellow-600); }

.cart { position: relative; }
.cart__count.is-bump {
  animation: cart-bump 320ms cubic-bezier(.2, .7, .3, 1);
}
@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.cart__count {
  position: absolute;
  top: 3px;
  inset-inline-end: 2px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* =========================================================
   CATEGORY BAR + MEGA MENU
   ========================================================= */
.catbar {
  position: relative;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.catbar__inner { display: flex; align-items: center; gap: 14px; }

.catbar__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.catbar__all:hover { background: var(--yellow); color: var(--navy); }
.catbar__all .ico { width: 17px; height: 17px; }

.catbar__list { display: flex; align-items: center; gap: 2px; min-width: 0; }
.catbar__item { position: static; }
.catbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 54px;
  padding: 0 11px;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.catbar__link .ico { width: 13px; height: 13px; color: var(--warm); }
.catbar__link:hover,
.catbar__link.is-active { color: var(--navy); border-bottom-color: var(--yellow); }

.catbar__link--deal {
  height: 32px;
  margin: 0 4px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow-100);
  color: var(--navy);
}
.catbar__link--deal .ico { color: var(--yellow-600); }
.catbar__link--deal:hover { background: var(--yellow); border-bottom-color: transparent; }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 80;
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega__inner {
  display: grid;
  grid-template-columns: 1.05fr 2fr 290px;
  gap: 36px;
  padding-top: 32px;
  padding-bottom: 36px;
}
.mega__intro h3 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
}
.mega__intro p { font-size: 13px; color: var(--muted); max-width: 290px; margin-bottom: 14px; }

.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega__cols h4 {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.mega__cols a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.mega__cols a:hover { color: var(--navy); transform: translateX(-3px); }

.mega__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.mega__feature:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.mega__feature-img {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.mega__feature-img img { width: 100%; height: 100%; object-fit: contain; }
.mega__feature-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mega__feature-body small { font-size: 10px; color: var(--warm); font-weight: 600; }
.mega__feature-body strong { font-size: 12px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.mega__feature-body b { font-size: 14px; color: var(--navy); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 92% -8%, rgba(0, 98, 165, .55) 0%, rgba(0, 53, 102, 0) 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(247, 198, 0, .12) 0%, rgba(0, 53, 102, 0) 60%),
    var(--navy);
  color: var(--white);
  padding: 58px 0 66px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
}
.hero__copy { max-width: 640px; }
.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 700;
}
.hero p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
}
.hero__actions { display: flex; align-items: center; gap: 12px; margin: 28px 0 30px; }
.hero__trust { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.hero__trust .ico { width: 17px; height: 17px; color: var(--yellow); }

.hero__visual { position: relative; }
.hero__panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 590px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 45%),
    var(--yellow);
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: inherit;
  pointer-events: none;
}
.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .2));
  transform: scale(1.04);
}
.hero__badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero__float {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .35);
}
.hero__float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy);
}
.hero__float-icon .ico { width: 20px; height: 20px; }
.hero__float span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.hero__float strong { font-size: 12px; }
.hero__float small { font-size: 10px; color: var(--muted); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border-inline-start: 1px solid var(--line-soft);
}
.trust-item:first-child { border-inline-start: 0; }
.trust-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--yellow-100);
  color: var(--navy);
}
.trust-item__icon .ico { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: 13px; color: var(--ink); }
.trust-item small { display: block; margin-top: 1px; font-size: 11px; color: var(--muted); }

/* =========================================================
   CATEGORY GRID
   ========================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 205px;
  gap: 16px;
}
.cat-card {
  position: relative;
  display: block;
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--yellow);
  isolation: isolate;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cat-card--xl { grid-column: span 2; grid-row: span 2; }
.cat-card--wide { grid-column: span 2; }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.cat-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 40, 77, .96) 0%, rgba(0, 53, 102, .58) 38%, rgba(0, 53, 102, .06) 76%);
  transition: opacity .3s var(--ease);
}
.cat-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  color: var(--white);
}
.cat-card__count {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}
.cat-card__body strong { font-size: 18px; line-height: 1.3; font-weight: 700; }
.cat-card--xl .cat-card__body { padding: 26px; }
.cat-card--xl .cat-card__body strong { font-size: 30px; }
.cat-card--wide .cat-card__body strong { font-size: 20px; }
.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cat-card__cta .ico { width: 15px; height: 15px; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover .cat-card__cta { opacity: 1; transform: translateY(0); }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.product-card:hover {
  border-color: rgba(0, 53, 102, .28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-card.is-hidden { display: none; }

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
  background: var(--paper);
  overflow: hidden;
}
.product-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}
.badge--best { background: var(--navy); color: var(--white); }
.badge--new { background: var(--yellow); color: var(--navy); }
.badge--sale { background: var(--danger); color: var(--white); }

.wish {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.wish .ico { width: 17px; height: 17px; }
.wish:hover { color: var(--danger); border-color: rgba(198, 40, 40, .35); }
.product-card:hover .wish { opacity: 1; transform: translateY(0); }

.quick-add {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  opacity: 1;
  transform: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.quick-add .ico { width: 16px; height: 16px; }
.quick-add:hover { background: var(--yellow); color: var(--navy); }
.quick-add:active { transform: scale(.98); }
.quick-add.added::after {
  content: "✓";
  margin-inline-start: 2px;
}

.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 13px 14px 15px; }
.product-card__cat { font-size: 10px; font-weight: 600; color: var(--warm); margin-bottom: 4px; }
.product-card h3 {
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text);
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card h3 a:hover { color: var(--navy); }
.product-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.product-card__price strong { font-size: 15px; color: var(--navy); font-weight: 700; }
.product-card__price del { font-size: 11px; color: var(--warm); }
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--out,
.woocommerce div.product .pdp__meta .stock.stock--out {
  color: var(--danger) !important;
}
.ship-note { display: inline-flex; align-items: center; gap: 4px; color: var(--warm); }
.ship-note .ico { width: 13px; height: 13px; }

/* Tabs */
.tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.tab {
  padding: 6px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--navy); color: var(--white); }

/* =========================================================
   PROMO GRID
   ========================================================= */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 350px;
  padding: 38px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.promo--navy { background: var(--navy); color: var(--white); }
.promo--yellow { background: var(--yellow); color: var(--navy); }
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .5;
  z-index: -1;
}
.promo--yellow::before { background-image: linear-gradient(rgba(0, 53, 102, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 53, 102, .07) 1px, transparent 1px); }
.promo__copy { position: relative; z-index: 2; max-width: 56%; }
.promo h2 { margin: 10px 0 10px; font-size: 32px; line-height: 1.22; letter-spacing: -.02em; }
.promo p { font-size: 13px; line-height: 1.75; opacity: .78; max-width: 300px; }
.promo .btn { margin-top: 20px; }
.promo > img {
  position: relative;
  z-index: 1;
  width: 44%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .18));
  transition: transform .4s var(--ease);
}
.promo:hover > img { transform: translateY(-4px) scale(1.03); }

/* =========================================================
   BRAND STORY
   ========================================================= */
.brand-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 480px at 10% 0%, rgba(0, 98, 165, .5) 0%, rgba(0, 53, 102, 0) 60%),
    var(--navy);
  color: var(--white);
  padding: 92px 0;
}
.brand-story::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  inset-inline-end: -160px;
  bottom: -220px;
  border-radius: 50%;
  border: 1px solid rgba(247, 198, 0, .22);
}
.brand-story__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}
.brand-story h2 { margin: 12px 0 16px; font-size: clamp(34px, 4vw, 48px); line-height: 1.22; letter-spacing: -.025em; }
.brand-story p { max-width: 540px; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .72); }
.brand-story .btn { margin-top: 26px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(4px);
}
.stat strong { display: block; font-size: 32px; line-height: 1; color: var(--yellow); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .68); }

/* =========================================================
   STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.step__num {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: .08em;
}
.step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  margin-bottom: 18px;
}
.step__icon .ico { width: 25px; height: 25px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: 60px; align-items: start; }
.faq-intro h2 { margin: 8px 0 12px; font-size: 36px; line-height: 1.2; letter-spacing: -.02em; }
.faq-intro p { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 380px; }
.faq-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-contact:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-contact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 211, 102, .12);
  color: var(--success);
}
.faq-contact__icon .ico { width: 22px; height: 22px; }
.faq-contact span:nth-child(2) { display: flex; flex-direction: column; flex: 1; line-height: 1.4; }
.faq-contact strong { font-size: 12px; color: var(--ink); }
.faq-contact small { font-size: 11px; color: var(--muted); }
.faq-contact > .ico { width: 18px; height: 18px; color: var(--navy); }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  text-align: start;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.acc-trigger .ico { width: 20px; height: 20px; color: var(--navy); transition: transform .25s var(--ease); }
.acc-item.is-open .acc-trigger .ico { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-panel p { padding-bottom: 18px; font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 640px; }
.acc-item.is-open .acc-panel { max-height: 220px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { background: var(--yellow); padding: 52px 0; }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta h2 { margin-top: 8px; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.final-cta__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-900); color: var(--white); padding-top: 62px; }
.footer__grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 48px; }
.footer__brand p { margin: 16px 0 18px; max-width: 330px; font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, .62); }
.socials { display: flex; align-items: center; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: rgba(255, 255, 255, .78);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.socials .ico { width: 18px; height: 18px; }

.footer__col h3 { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--yellow); }
.footer__col a,
.footer__col p { display: block; padding: 4px 0; font-size: 13px; color: rgba(255, 255, 255, .68); }
.footer__col a:hover { color: var(--white); }
.footer__contact a { display: flex; align-items: center; gap: 8px; }
.footer__contact .ico { width: 16px; height: 16px; color: var(--yellow); }
.footer__contact p { margin-top: 8px; line-height: 1.75; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11px;
  color: rgba(255, 255, 255, .48);
}
.footer__pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer__pay span { padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; }
.preview-note { padding: 0 0 14px; text-align: center; font-size: 10px; color: rgba(255, 255, 255, .22); letter-spacing: .06em; }

/* =========================================================
   MOBILE DRAWER
   ========================================================= */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 10, 20, .48);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.drawer-backdrop.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(370px, 90vw);
  height: 100dvh;
  background: var(--white);
  visibility: hidden;
  transform: translateX(105%);
  transition: transform .3s var(--ease), visibility .3s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { visibility: visible; transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.drawer__head .brand img { width: 46px; height: 46px; }
.searchbar--drawer { margin: 14px 18px 6px; height: 46px; }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer__nav a { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font-size: 14px; font-weight: 500; }
.drawer__nav a:hover { color: var(--navy); background: var(--paper); }
.drawer__nav .drawer__deal { margin: 12px 18px 4px; border: 0; border-radius: 10px; background: var(--yellow); color: var(--navy); font-weight: 700; text-align: center; }
.drawer__foot { display: grid; gap: 8px; margin-top: auto; padding: 18px; border-top: 1px solid var(--line-soft); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .header__inner { gap: 16px; }
  .header__search { max-width: 520px; }
  .catbar__link { padding-inline: 8px; font-size: 12px; }
  .hero__grid { gap: 36px; }
  .hero h1 { font-size: 48px; }
  .cat-grid { grid-auto-rows: 185px; }
  .cat-card--xl .cat-card__body strong { font-size: 26px; }
}

@media (max-width: 1024px) {
  .topbar__ticker { display: none; }
  .header__new { display: none; }
  .header__search { max-width: 440px; }
  .catbar__link { padding-inline: 8px; font-size: 12px; }
  .catbar__all { display: none; }
  .catbar__list { overflow-x: auto; width: 100%; scrollbar-width: none; }
  .catbar__list::-webkit-scrollbar { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 14px; }
  .hero__panel { border-radius: 24px; padding: 16px; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .cat-card--wide { grid-column: span 2; }
  .cat-card--xl { grid-column: span 2; grid-row: span 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .promo { padding: 28px; min-height: 320px; }
  .promo h2 { font-size: 26px; }
  .brand-story__grid { gap: 32px; }
  .faq-grid { gap: 36px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
  .footer__contact { grid-column: span 3; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .footer__contact h3 { width: 100%; margin-bottom: 0; }
  .footer__contact p { margin: 0; }
}

@media (max-width: 900px) {
  .section { padding: 62px 0; }
  .section__head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section__head h2 { font-size: 30px; }
  .section__tools { width: 100%; justify-content: space-between; }
  .header__inner { flex-wrap: wrap; min-height: 74px; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .header__menu { display: inline-grid; }
  .header__search { order: 5; flex: 1 0 100%; max-width: none; }
  .brand img { width: 46px; height: 46px; }
  .brand__text strong { font-size: 15px; }
  .brand__text small { font-size: 10px; }
  .header__actions { margin-inline-start: auto; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
  .catbar__link { height: 48px; }
  .hero { padding: 38px 0 46px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .hero__actions { margin: 22px 0 24px; }
  .hero__visual { max-width: 540px; margin-inline: auto; width: 100%; }
  .hero__panel { max-height: none; }
  .hero__trust { gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .cat-card--xl { grid-column: span 2; grid-row: span 1; }
  .cat-card--wide { grid-column: span 2; }
  .cat-card--xl .cat-card__body { padding: 20px; }
  .cat-card--xl .cat-card__body strong { font-size: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .promo { min-height: 300px; }
  .promo__copy { max-width: 58%; }
  .brand-story { padding: 66px 0; }
  .brand-story__grid { grid-template-columns: 1fr; }
  .stats { max-width: 520px; grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
  .step__icon { grid-row: span 2; margin-bottom: 0; }
  .step h3 { margin-bottom: 2px; }
  .step p { grid-column: 2; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro p { max-width: none; }
  .final-cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: span 2; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { padding-inline: 16px; }
  .topbar { font-size: 11px; }
  .topbar__inner { flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
  .topbar__links a:first-child { display: none; }
  .topbar__ticker { display: none; }
  .header__actions .icon-btn:nth-of-type(1) { display: none; }
  .header__actions .header__new { display: none; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 13px; line-height: 1.8; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { flex: 1; padding: 0 12px; font-size: 13px; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .hero__trust li { font-size: 11px; }
  .hero__panel { padding: 10px; border-radius: 16px; }
  .hero__badge { top: 10px; inset-inline-end: 10px; font-size: 10px; padding: 6px 9px; }
  .hero__float { bottom: 10px; inset-inline-start: 10px; padding: 8px 10px; }
  .hero__float-icon { width: 32px; height: 32px; }
  .hero__float strong { font-size: 10px; }
  .hero__float small { font-size: 10px; }
  .trust-item { padding: 12px 8px; gap: 8px; }
  .trust-item__icon { width: 34px; height: 34px; }
  .trust-item__icon .ico { width: 17px; height: 17px; }
  .trust-item strong { font-size: 11px; }
  .trust-item small { font-size: 10px; }
  .cat-grid { grid-auto-rows: 160px; gap: 10px; }
  .cat-card__body { padding: 12px; }
  .cat-card__body strong { font-size: 15px; }
  .cat-card--xl .cat-card__body strong,
  .cat-card--wide .cat-card__body strong { font-size: 18px; }
  .cat-card__count { font-size: 10px; padding: 2px 7px; }
  .cat-card__cta { display: none; }
  .product-grid { gap: 10px; }
  .product-card__media { padding: 10px; }
  .product-card__body { padding: 10px 10px 12px; }
  .product-card h3 { font-size: 11px; min-height: 36px; }
  .product-card__cat { font-size: 10px; }
  .product-card__price strong { font-size: 13px; }
  .product-card__meta { font-size: 10px; }
  .badge { top: 8px; inset-inline-end: 8px; font-size: 10px; padding: 4px 7px; }
  .wish { top: 8px; inset-inline-start: 8px; width: 30px; height: 30px; opacity: 1; transform: none; }
  .quick-add { inset-inline: auto 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; padding: 0; opacity: 1; transform: none; }
  .quick-add span { display: none; }
  .quick-add .ico { width: 17px; height: 17px; }
  .promo { min-height: 0; padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .promo__copy { max-width: none; }
  .promo h2 { font-size: 24px; }
  .promo p { font-size: 12px; }
  .promo > img { width: 70%; max-height: 190px; align-self: center; margin-top: 10px; }
  .brand-story h2 { font-size: 32px; }
  .stat { padding: 18px 14px; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 11px; }
  .section__head h2 { font-size: 26px; }
  .final-cta { padding: 38px 0; }
  .final-cta__actions { width: 100%; }
  .final-cta__actions .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__contact { grid-column: span 1; }
  .footer__bottom { font-size: 10px; }
  .faq-intro h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span:last-child { color: var(--ink); }

.page-product { padding-bottom: 0; }

.pdp { padding-bottom: 84px; }
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 44px;
  margin-top: 4px;
}
.pdp__gallery { position: sticky; top: 104px; min-width: 0; }
.pdp__main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
  transition: border-color 200ms var(--ease);
}
.pdp__main:hover { border-color: var(--line); }
.pdp__main img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.pdp__main:hover img { transform: scale(1.03); }
.pdp__main .badge { top: 16px; inset-inline-end: 16px; font-size: 11px; padding: 6px 11px; }
.pdp__zoom {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.pdp__zoom .ico { width: 14px; height: 14px; }

.pdp__thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  scroll-snap-align: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumb:hover { border-color: var(--warm); }
.pdp__thumb.is-active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.pdp__dots { display: none; }
.pdp__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.pdp__dot.is-active { background: var(--navy); transform: scale(1.3); }
.pdp__counter {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 12, 24, .6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(4px);
}

.pdp__info { padding-top: 2px; }
.pdp__info h1 {
  margin: 8px 0 10px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
}
.pdp__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--muted); }
.pdp__meta .stock { font-size: 11px; }

.pdp__price { margin: 16px 0 2px; }
.pdp__price strong { display: block; font-size: 32px; line-height: 1.2; color: var(--navy); letter-spacing: -.02em; font-weight: 700; }
.pdp__price span { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

.pdp__excerpt { margin: 18px 0 0; font-size: 14px; line-height: 1.9; color: var(--text); max-width: 600px; }

.pdp__variants { margin: 22px 0 4px; }
.variant { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.variant__label { min-width: 54px; font-size: 12px; font-weight: 600; color: var(--ink); }
.swatches { display: flex; align-items: center; gap: 8px; }
.swatch {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.swatch:hover { transform: scale(1.06); }
.swatch.is-active { border-color: var(--navy); }
.chips { display: flex; align-items: center; gap: 8px; }
.chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.pdp__buy { display: flex; align-items: center; gap: 8px; margin: 22px 0 20px; }
.qty {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.qty button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  transition: background .15s var(--ease);
}
.qty button:hover { background: var(--paper); }
.qty button .ico { width: 15px; height: 15px; }
.qty input {
  width: 38px;
  height: 48px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}
.pdp__buy .btn { min-height: 50px; }
.pdp__buy .btn--yellow { flex: 1; }
.pdp__buy .btn--wa { flex: 0 0 auto; }

.pdp__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pdp__trust > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 150ms var(--ease);
}
.pdp__trust > div:hover { border-color: var(--line); }
.pdp__trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow-100);
  color: var(--navy);
}
.pdp__trust-icon .ico { width: 18px; height: 18px; }
.pdp__trust strong { display: block; font-size: 12px; color: var(--ink); font-weight: 600; }
.pdp__trust small { display: block; font-size: 10px; color: var(--muted); }

.pdp__accordion { margin-top: 16px; border-top: 1px solid var(--line-soft); }
.pdp__accordion details { border-bottom: 1px solid var(--line-soft); }
.pdp__accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 150ms var(--ease);
}
.pdp__accordion summary:hover { color: var(--navy); }
.pdp__accordion summary::-webkit-details-marker { display: none; }
.pdp__accordion summary .ico { width: 18px; height: 18px; color: var(--navy); transition: transform 200ms var(--ease); }
.pdp__accordion details[open] summary .ico { transform: rotate(45deg); }
.pdp__panel { padding-bottom: 16px; padding-top: 4px; }
.pdp__panel p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th,
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; text-align: start; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 600; }

/* New layout: gallery left, form right, description below */
.pdp__grid-new {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 44px;
  margin-top: 4px;
}
.pdp__form-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pdp__desc-section { margin-top: 48px; }
.pdp__desc-section .pdp__trust { margin-bottom: 20px; }

/* Product info improvements */
.pdp__info { padding: 0; }
.pdp__info h1 { margin: 6px 0 8px; }
.pdp__meta { margin-top: 4px; }
.pdp__price { margin: 16px 0 2px; }
.pdp__excerpt { margin: 14px 0 0; }
.pdp__bullets { margin: 14px 0 0; }
.pdp__delivery { margin: 14px 0 0; }
.pdp__variant-note { margin: 12px 0 0; }
.pdp__delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 8px 13px;
  border-radius: 10px;
  background: var(--yellow-100);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}
.pdp__delivery .ico { width: 16px; height: 16px; }
.pdp__variant-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 11px;
  color: var(--muted);
}
.pdp__bullets {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}
.pdp__bullets li .ico { width: 16px; height: 16px; color: var(--success); flex: 0 0 auto; }

.order-section {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: transparent;
  scroll-margin-top: 110px;
}
.order-section__head h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.order-section__head p { font-size: 12px; color: var(--muted); }
.order-section__head .eyebrow { display: none; }

.cod-form {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0; }

/* Smooth transition for conditional variant rows */
.variations tr {
  transition: opacity 200ms var(--ease), max-height 200ms var(--ease);
}
.cod-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); }
.cod-form label .optional { font-size: 10px; font-weight: 400; color: var(--warm); }
.cod-form input,
.cod-form select,
.cod-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.cod-form input:focus,
.cod-form select:focus,
.cod-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 53, 102, .08); }
.cod-form textarea { resize: vertical; min-height: 80px; padding: 12px 14px; }
.cod-form input::placeholder,
.cod-form select::placeholder,
.cod-form textarea::placeholder { color: var(--warm); }
.qty--form { width: 100%; height: 41px; }
.qty--form button { height: 39px; }
.qty--form input { height: 39px; }
.cod-form label:has(.qty--form) { gap: 6px; }
.form-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 16px 0 0; border-top: 1px solid var(--line-soft); }
.form-total span { font-size: 12px; color: var(--muted); font-weight: 500; }
.form-total strong { font-size: 20px; color: var(--navy); font-weight: 700; }
.form-total small { font-size: 11px; font-weight: 400; color: var(--muted); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; font-size: 12px; }
.cod-form button[type="submit"],
.cod-form .btn--primary {
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease);
}
.cod-form button[type="submit"]:active,
.cod-form .btn--primary:active {
  transform: scale(0.98);
}
.form-note { display: none; margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--success); text-align: center; }
.form-note.is-visible { display: block; }
.form-privacy { margin-top: 8px; font-size: 10px; line-height: 1.65; color: var(--warm); text-align: center; }

.pdp__related { margin-top: 76px; }

.mobile-buybar { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 12, 24, .94);
  touch-action: none;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  transition: transform .2s ease;
  transform-origin: center center;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox img.is-zoomed { cursor: grab; }
.lightbox img.is-panning { cursor: grabbing; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  cursor: pointer;
  z-index: 310;
}
.lightbox__nav--prev { inset-inline-start: 16px; }
.lightbox__nav--next { inset-inline-end: 16px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}
.lightbox__close .ico { width: 20px; height: 20px; }

/* =========================================================
   CATEGORY / SHOP PAGE
   ========================================================= */
.shop { padding-bottom: 84px; }
.shop-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 38px 40px;
  border-radius: 24px;
  background:
    radial-gradient(700px 340px at 100% 0%, rgba(0, 98, 165, .55), transparent 60%),
    var(--navy);
  color: var(--white);
  margin-bottom: 26px;
}
.shop-hero::before {
  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: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent 80%);
  pointer-events: none;
}
.shop-hero__copy { position: relative; z-index: 1; max-width: 620px; }
.shop-hero h1 { margin: 10px 0 10px; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.025em; }
.shop-hero p { max-width: 540px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .7); }
.shop-hero__stats { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding-bottom: 4px; }
.shop-hero__stats div { text-align: center; }
.shop-hero__stats strong { display: block; font-size: 26px; line-height: 1; color: var(--yellow); letter-spacing: -.03em; }
.shop-hero__stats span { display: block; margin-top: 6px; font-size: 10px; color: rgba(255, 255, 255, .6); }

.shop-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; gap: 26px; }
.filters {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filters__head strong { font-size: 14px; }
.filters__reset { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; }
.filters__reset:hover { color: var(--danger); }
.filter-group { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .ico { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.filter-group[open] summary .ico { transform: rotate(180deg); }
.filter-body { padding-top: 8px; }
.check { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; color: var(--text); cursor: pointer; }
.check input { width: 14px; height: 14px; accent-color: var(--navy); }
.check b { margin-inline-start: auto; padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--warm); font-size: 10px; font-weight: 600; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: var(--muted); }
.price-inputs input { width: 100%; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; outline: none; }
.price-inputs input:focus { border-color: var(--navy); }
.filter-body .btn { margin-top: 8px; }
.filters__help {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px;
  border-radius: 10px;
  background: var(--yellow-100);
}
.filters__help-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--white);
  color: var(--success);
}
.filters__help-icon .ico { width: 17px; height: 17px; }
.filters__help div { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.filters__help strong { font-size: 10px; color: var(--navy); }
.filters__help small { font-size: 10px; color: var(--muted); }
.filters__help a { margin-inline-start: auto; color: var(--navy); }
.filters__help a .ico { width: 15px; height: 15px; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.shop-bar__count { font-size: 12px; color: var(--muted); }
.shop-bar__tools { display: flex; align-items: center; gap: 8px; }
.sort { position: relative; display: flex; align-items: center; gap: 6px; }
.sort > span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.sort select {
  appearance: none;
  padding: 8px 28px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  outline: none;
  cursor: pointer;
}
.sort .ico { position: absolute; left: 8px; width: 13px; height: 13px; color: var(--muted); pointer-events: none; }
.view-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--muted);
}
.view-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.view-btn .ico { width: 16px; height: 16px; }

.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination span { color: var(--warm); font-size: 12px; padding: 0 3px; }
.pagination .ico { width: 15px; height: 15px; }

.shop-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 60px;
  padding: 34px 40px;
  border-radius: 24px;
  background: var(--yellow);
}
.shop-cta h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.22; letter-spacing: -.02em; color: var(--navy); }

@media (max-width: 1024px) {
  .pdp__grid { gap: 28px; }
  .pdp__grid-new { gap: 32px; }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__buy .btn--yellow { flex: 1 1 100%; }
  .pdp__buy .btn--wa { flex: 1; }
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-hero { align-items: flex-start; flex-direction: column; }
  .shop-hero__stats { padding-bottom: 0; }
}

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp__grid-new { grid-template-columns: 1fr; gap: 24px; }
  .pdp__gallery { position: static; overflow: visible; }
  .pdp__main { width: 100%; max-width: 560px; margin-inline: auto; }
  .pdp__thumbs { justify-content: flex-start; margin-inline: -4px; padding-inline: 4px; }
  .pdp__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .pdp__info { max-width: none; }
  .pdp__form-col { gap: 16px; }
  .pdp__desc-section { margin-top: 32px; }
  .pdp__desc-section .pdp__trust { margin-bottom: 16px; }
  .order-section { padding: 20px; margin-top: 0; }
  .pdp__trust { grid-template-columns: repeat(2, 1fr); }
  .cod-form { order: 2; }
  .pdp__related { margin-top: 52px; }
  .mobile-buybar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -12px 30px -20px rgba(0, 0, 0, .4);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .mobile-buybar.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .mobile-buybar div { display: flex; flex-direction: column; line-height: 1.3; }
  .mobile-buybar span { font-size: 10px; color: var(--muted); }
  .mobile-buybar strong { font-size: 16px; color: var(--navy); }
  .mobile-buybar .btn { min-height: 44px; }
  .page-product { padding-bottom: 66px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .shop-hero { padding: 28px 24px; }
  .shop-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .shop-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  .pdp__main { border-radius: 14px; }
  .pdp__zoom { display: none; }
  .pdp__info h1 { font-size: 22px; }
  .pdp__price strong { font-size: 26px; }
  .pdp__excerpt { font-size: 13px; }
  .pdp__buy { display: grid; grid-template-columns: 1fr 1fr; }
  .pdp__buy .qty { grid-column: span 1; width: 100%; }
  .pdp__buy .btn--yellow { grid-column: span 1; }
  .pdp__buy .btn--wa { grid-column: span 2; }
  .pdp__trust { grid-template-columns: 1fr; }
  .order-section { padding: 16px; border-radius: 16px; }
  .order-section__head h2 { font-size: 24px; }
  .cod-form { padding: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .price-inputs { grid-template-columns: 1fr; }
  .form-total strong { font-size: 16px; }
  .shop-hero h1 { font-size: 30px; }
  .shop-hero__stats { gap: 20px; flex-wrap: wrap; }
  .shop-hero__stats strong { font-size: 22px; }
  .shop-bar { align-items: flex-start; flex-direction: column; }
  .shop-bar__tools { width: 100%; justify-content: space-between; }
  .shop-cta h2 { font-size: 26px; }
  .pagination { flex-wrap: wrap; }
}

/* Numeric / bidi helpers */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stat strong { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* Product page added content */
.pdp__bullets { display: grid; gap: 6px; margin: 14px 0 0; }
.pdp__bullets li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.pdp__bullets .ico { width: 16px; height: 16px; color: var(--success); }
.pdp__delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--yellow-100);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}
.pdp__delivery .ico { width: 16px; height: 16px; }
.pdp .container { max-width: 1220px; }
@media (min-width: 901px) {
  .pdp__grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 40px; }
  /* The gallery column is now a fixed fraction, so a product with many
     images must wrap its thumbnails instead of widening the whole grid. */
  .pdp__thumbs { flex-wrap: wrap; overflow-x: visible; }
}
.form-row .qty--form { margin-top: 0; }
.form-total small { display: inline-block; }

/* Prevent the header search from forcing a wider layout viewport on mobile */
.header__search,
.searchbar { min-width: 0; }
.header__inner > .header__search { max-width: 100%; }

/* Shop hero numbers must read left-to-right */
.shop-hero__stats strong { direction: ltr; unicode-bidi: isolate; text-align: center; }

/* Mobile filter drawer */
.shop-bar__left { display: flex; align-items: center; gap: 10px; }
.filters-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}
.filters-toggle .ico { width: 16px; height: 16px; }
.filters__close {
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
}
.filters__close .ico { width: 16px; height: 16px; }
.filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(0, 10, 20, .48);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.filters-backdrop.is-visible { opacity: 1; }

@media (max-width: 900px) {
  .filters-toggle { display: inline-flex; }
  .filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 220;
    width: min(350px, 92vw);
    max-height: 100dvh;
    overflow-y: auto;
    padding: 20px;
    border: 0;
    border-radius: 0;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform .3s var(--ease), visibility .3s var(--ease);
  }
  .filters.is-open { visibility: visible; transform: translateX(0); }
  .filters__close { display: grid; }
  .filters-backdrop.is-visible { opacity: 1; }
}

/* =========================================================
   BRAND STRIP
   ========================================================= */
.section--brands { padding: 4px 0 84px; }
.section__sub {
  margin-top: 8px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.brand-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.brand-tile strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--navy);
  line-height: 1.3;
}
.brand-tile span { font-size: 10px; color: var(--muted); }
.brand-tile .ico {
  width: 15px;
  height: 15px;
  color: var(--warm);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.brand-tile:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.brand-tile:hover strong { color: var(--white); }
.brand-tile:hover span { color: rgba(255, 255, 255, .66); }
.brand-tile:hover .ico { opacity: 1; transform: translateY(0); color: var(--yellow); }

@media (max-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .section--brands { padding-bottom: 62px; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-tile { min-height: 84px; padding: 13px 8px; }
  .brand-tile strong { font-size: 13px; }
  .brand-tile span { font-size: 10px; }
}

.brand-tile strong { text-transform: uppercase; }
#brandFilters .check span { text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

/* =========================================================
   WORDPRESS / WOOCOMMERCE ADAPTATIONS
   ========================================================= */
body.matjar-site { background: var(--white); }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* WooCommerce price HTML inside our cards */
.product-card__price .woocommerce-Price-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.product-card__price del .woocommerce-Price-amount {
  font-size: 11px;
  font-weight: 400;
  color: var(--warm);
}
.product-card__price ins { text-decoration: none; }
.product-card__price del { margin-inline-start: 6px; }
.pdp__price .woocommerce-Price-amount {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--navy);
}
.pdp__price del .woocommerce-Price-amount {
  font-size: 15px;
  font-weight: 400;
  color: var(--warm);
}
.pdp__price ins { text-decoration: none; }
.mobile-buybar .woocommerce-Price-amount { color: var(--navy); font-size: 16px; }

/* Archive filter links (no checkbox controls) */
.check--link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12px; color: var(--text); }
.check--link:hover, .check--link.is-active { color: var(--navy); font-weight: 700; }
.check--link.is-active::before { content: "✓"; color: var(--yellow-600); font-weight: 700; }
.check--link b { padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--warm); font-size: 10px; font-weight: 600; }
.price-form { display: grid; gap: 8px; }
.matjar-empty { padding: 42px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--paper); }
.matjar-empty h3 { margin-bottom: 6px; font-size: 20px; }
.matjar-empty p { margin-bottom: 16px; font-size: 13px; color: var(--muted); }

/* Mega menu count */
.mega__count { float: left; font-size: 10px; color: var(--warm); }

/* Product page variant note */
.pdp__variant-note { margin-top: 12px; font-size: 11px; color: var(--muted); }

/* Filter drawer links/buttons */
.filters__reset { text-decoration: underline; }
.filters-toggle { white-space: nowrap; }

/* Price layout: keep currency and amount on one line in RTL */
.pdp__price strong { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pdp__price .woocommerce-Price-amount { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.pdp__price .woocommerce-Price-currencySymbol { font-size: 16px; font-weight: 600; }
.product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; }
.product-card__price .woocommerce-Price-amount { display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.product-card__price .woocommerce-Price-currencySymbol { margin-inline-start: 1px; }

/* =========================================================
   STATIC PAGES / CHECKOUT CONFIRMATION
   ========================================================= */
.page-main { padding: 40px 0 80px; background: var(--paper); }
.page-shell { max-width: 980px; }
.page-entry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.page-entry__title {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.page-entry .entry-content { color: var(--text); font-size: 15px; line-height: 1.9; }
.page-entry .entry-content > * + * { margin-top: 16px; }
.page-links { margin-top: 20px; font-size: 13px; color: var(--muted); }
.page-links a { color: var(--navy); font-weight: 700; }

/* Checkout itself is a working page; the confirmation uses a lighter shell. */
.woocommerce-checkout .page-entry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.woocommerce-checkout .page-entry__head { display: none; }
.woocommerce-order-received .page-entry {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.woocommerce-order-received .page-shell { max-width: 860px; }
.woocommerce-order-received .woocommerce-thankyou-order-received { display: none; }
.woocommerce-order-received .woocommerce-column--shipping-address { display: none; }
.woocommerce-order-received .woocommerce-column--billing-address { grid-column: 1 / -1; }

/* The confirmation page content is managed in WordPress; keep its message but
   bring it into the Matjar palette. */
.woocommerce-order-received .entry-content > p:first-child {
  background: var(--yellow-100) !important;
  color: var(--navy) !important;
  border: 1px solid #F2DE9A;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 20px;
  line-height: 1.5;
}
.woocommerce-order-received .entry-content > p:nth-child(2) {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.woocommerce-order-received .entry-content > p:empty { display: none; }

/* WooCommerce order confirmation */
.woocommerce-order { margin-top: 4px; }
.woocommerce-thankyou-order-received {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 8px 14px;
  border: 1px solid var(--success-line);
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.woocommerce-order-overview li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: right;
}
.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.woocommerce-order-details,
.woocommerce-customer-details { margin-top: 24px; }
.woocommerce-order-details__title,
.woocommerce-column__title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}
.woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--white);
  font-size: 13px;
}
.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
  vertical-align: top;
}
.woocommerce-table--order-details thead th {
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.woocommerce-table--order-details tbody td:last-child,
.woocommerce-table--order-details thead th:last-child { text-align: left; }
.woocommerce-table--order-details tbody tr:last-child td { border-bottom: 0; }
.woocommerce-table--order-details tbody a { color: var(--navy); font-weight: 600; }
.woocommerce-table--order-details tbody a:hover { text-decoration: underline; }
.woocommerce-table--order-details .product-quantity {
  display: inline-block;
  margin-inline-start: 6px;
  color: var(--muted);
  font-weight: 600;
}
.woocommerce-table--order-details tfoot th {
  width: 40%;
  color: var(--muted);
  font-weight: 600;
}
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}
.woocommerce-table--order-details .shipped_via { color: var(--muted); font-size: 11px; }
.woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.woocommerce-columns--addresses .woocommerce-column {
  float: none !important;
  width: auto !important;
  margin: 0;
}
.woocommerce-customer-details address {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-style: normal;
  line-height: 1.9;
}
.woocommerce-customer-details--phone {
  margin: 6px 0 0;
  color: var(--navy);
  font-weight: 600;
  unicode-bidi: plaintext;
}
.woocommerce-order .woocommerce-button,
.woocommerce-order .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.woocommerce-order .woocommerce-button:hover,
.woocommerce-order .button:hover { background: var(--navy-900); color: var(--white); }

.thanks-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.btn--outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--paper);
  color: var(--navy);
}

/* =========================================================
   NATIVE WOOCOMMERCE CHECKOUT (fallback flow)
   The main COD form is on the product page; this keeps the cart /
   checkout fallback consistent when a visitor uses it.
   ========================================================= */
.woocommerce-checkout:not(.woocommerce-order-received) .entry-content > p.has-vivid-red-color,
.woocommerce-checkout:not(.woocommerce-order-received) .entry-content > p.has-vivid-red-color + p { display: none; }

.woocommerce-checkout form.checkout {
  display: block;
}
.woocommerce-checkout form.checkout::after {
  content: "";
  display: table;
  clear: both;
}
.woocommerce-checkout form.checkout,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .form-row { min-width: 0; max-width: 100%; }
.woocommerce-checkout .select2-container { width: 100% !important; max-width: 100%; }
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last { float: none; width: 100%; }
.woocommerce-checkout #customer_details {
  float: right;
  width: calc(52% - 12px);
  min-width: 0;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  float: left;
  width: calc(46% - 12px);
  min-width: 0;
}
.woocommerce-checkout #order_review_heading { clear: left; margin: 0 0 12px; }
.woocommerce-checkout #order_review { clear: left; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}
.woocommerce-checkout .form-row { padding: 0; margin: 0 0 12px; }
.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.woocommerce-checkout .form-row .required { color: var(--danger); }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, .08);
}
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-inline: 12px;
  color: var(--text);
  font-size: 13px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce-checkout #order_review {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.woocommerce-checkout #order_review table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
.woocommerce-checkout #order_review table.shop_table td.product-name { overflow-wrap: anywhere; }
.woocommerce-checkout #order_review tr.woocommerce-shipping-totals th { width: 30%; }
.woocommerce-checkout #order_review tr.woocommerce-shipping-totals td { width: 70%; }
.woocommerce-checkout #order_review input.qty {
  width: 64px !important;
  min-height: 36px;
  padding: 4px 8px;
  text-align: center;
}
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error {
  padding: 12px 14px;
  border: 1px solid var(--success-line);
  border-radius: 10px;
  background: var(--success-soft);
  color: var(--text);
  font-size: 12px;
  line-height: 1.6;
}
.woocommerce-checkout .woocommerce-message .button {
  float: none;
  display: inline-block;
  min-height: 30px;
  margin-inline-start: 8px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  line-height: 30px;
}
.woocommerce-checkout .woocommerce-info {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}
.woocommerce-order-received .woocommerce-order-overview__payment-method {
  display: none;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 12px;
  text-align: right;
  vertical-align: top;
}
.woocommerce-checkout #order_review table.shop_table thead th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child th,
.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child td {
  border-bottom: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.woocommerce-checkout #order_review .product-quantity { color: var(--muted); font-weight: 600; }
.woocommerce-checkout #shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce-checkout #shipping_method li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.woocommerce-checkout #shipping_method li:last-child { margin-bottom: 0; }
.woocommerce-checkout #shipping_method input { margin-top: 4px; accent-color: var(--navy); }
.woocommerce-checkout #shipping_method label { flex: 1; font-size: 12px; line-height: 1.5; }
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 12px; padding: 0; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 8px; list-style: none; }
.woocommerce-checkout #payment div.payment_box {
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 10px;
  background: var(--yellow-100);
  font-size: 12px;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.woocommerce-checkout #place_order:hover { background: var(--navy); color: var(--white); }

@media (max-width: 700px) {
  .page-main { padding: 20px 0 48px; }
  .page-entry { padding: 20px 16px; border-radius: var(--radius); }
  .woocommerce-checkout .page-entry { padding: 18px 14px; }
  .woocommerce-order-received .page-entry { padding: 0; }
  .woocommerce-order-received .entry-content > p:first-child { font-size: 16px; padding: 14px; }
  .woocommerce-order-overview { grid-template-columns: 1fr; }
  .woocommerce-columns--addresses { grid-template-columns: 1fr; }
  .woocommerce-table--order-details th,
  .woocommerce-table--order-details td { padding: 10px 8px; font-size: 12px; }
  .woocommerce-table--order-details thead th { font-size: 11px; }
  .thanks-actions { flex-direction: column; align-items: stretch; }
  .thanks-actions .btn { width: 100%; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    float: none;
    width: 100%;
    clear: none;
  }
}



/* =========================================================
   EDITORIAL / 404 / SEARCH / COMMENTS
   Shared shell for routes that used to fall back to the parent theme.
   ========================================================= */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.not-found { text-align: center; }
.not-found .page-entry__head { margin-bottom: 8px; }
.not-found .entry-content > p { max-width: 520px; margin: 0 auto 22px; color: var(--muted); }

.not-found__search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 18px;
}
.not-found__search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.not-found__search input[type="search"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, .08);
}
.not-found__search .btn { height: 48px; padding: 0 20px; }

.not-found__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.search-list { display: flex; flex-direction: column; gap: 14px; }
.search-item {
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 150ms var(--ease);
}
.search-item:hover { border-color: var(--line); }
.search-item h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.search-item h2 a { color: var(--ink); }
.search-item h2 a:hover { color: var(--navy); }
.search-item p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }
.post-meta { display: inline-block; margin-top: 10px; font-size: 11px; color: var(--warm); }

.post-thumb { margin: 0 0 22px; }
.post-thumb img { width: 100%; height: auto; border-radius: 12px; }

.page-entry__foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); }

/* Comments */
.comments-area { margin-top: 24px; }
.comments-title, .comment-reply-title { font-size: 20px; margin: 0 0 16px; letter-spacing: -.01em; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comment-list .comment-body {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.8;
}
.comment-list .comment-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.comment-list .comment-author img { border-radius: 50%; }
.comment-list .children { list-style: none; margin: 12px 0 0; padding-inline-start: 20px; }
.comment-notes, .logged-in-as { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--text); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, .08);
}
.comment-form .submit { min-height: 48px; border: 0; cursor: pointer; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }

@media (max-width: 620px) {
  .page-entry { padding: 22px 18px; border-radius: 16px; }
  .not-found__search { flex-direction: column; align-items: stretch; }
  .not-found__search .btn { width: 100%; }
  .search-item { padding: 18px; }
}

/* =========================================================
   ORDER CONFIRMATION — balanced two-column layout
   The clearfix pseudo-elements WooCommerce adds become grid
   items and break the overview; neutralise them first.
   ========================================================= */
.woocommerce-order-overview::before,
.woocommerce-order-overview::after {
  display: none !important;
  content: none !important;
}

/* The order table already states the payment method; keep the overview to
   the three facts a customer checks first. */
.woocommerce-order-received .woocommerce-order-overview li.woocommerce-order-overview__payment-method {
  display: none !important;
}

.woocommerce-order-received .woocommerce-order {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order > .thanks-actions {
  grid-column: 1 / -1;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin-top: 0;
}

.woocommerce-order-received .woocommerce-customer-details address {
  height: 100%;
}

.woocommerce-order-received .thanks-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.woocommerce-order-received .woocommerce-order-overview li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .woocommerce-order-received .woocommerce-order {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received .thanks-actions {
    justify-content: stretch;
  }

  .woocommerce-order-received .thanks-actions .btn {
    flex: 1 1 100%;
  }
}

/* =========================================================
   INTERACTION POLISH
   Press feedback, visible focus, touch-safe hover.
   ========================================================= */
.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.btn--yellow:focus-visible {
  outline-color: var(--navy-900);
}

/* Hover-only motion on devices that can actually hover. */
@media (hover: none) {
  .product-card:hover .quick-add,
  .cat-card:hover .cat-card__cta,
  .pdp__main:hover img {
    transform: none;
  }
}

/* The add-to-cart card button gets a clear confirmed state after AJAX. */
.quick-add.added {
  background: var(--success);
  color: var(--white);
}

.quick-add.loading {
  opacity: .7;
  pointer-events: none;
}

/* =========================================================
   BRAND MEGA MENU
   ========================================================= */
.mega__inner--brands {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.mega__brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mega__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}

.mega__brand:hover {
  border-color: var(--navy);
  background: var(--white);
}

.mega__brand strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}

.mega__brand span {
  font-size: 10px;
  color: var(--warm);
}

@media (max-width: 1024px) {
  .mega,
  .mega--brands {
    position: fixed;
    top: 114px;
    left: 0;
    right: 0;
    z-index: 150;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .35);
  }
  .has-mega:hover .mega,
  .has-mega:focus-within .mega {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
  }
  .has-mega.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mega__inner,
  .mega__inner--brands {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .mega__cols {
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
  }
  .mega__brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mega__intro p {
    max-width: none;
  }
  .mega__feature {
    max-width: 100%;
  }
}

/* =========================================================
   WOOCOMMERCE BUTTONS — brand them (WooCommerce ships purple)
   ========================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .checkout-button:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: var(--navy);
  color: var(--white);
}

.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce .checkout-button:active,
.woocommerce-checkout #place_order:active {
  transform: scale(0.97);
}

.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce .checkout-button:focus-visible,
.woocommerce-checkout #place_order:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* The proceed-to-checkout button is the primary action; keep it yellow even
   though WooCommerce adds the generic `wc-forward` class. */
.woocommerce-cart .checkout-button.wc-forward,
.woocommerce .checkout-button.wc-forward {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  border: 0;
}

.woocommerce-cart .checkout-button.wc-forward:hover,
.woocommerce .checkout-button.wc-forward:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}

/* Secondary actions stay quiet. */
.woocommerce .cart .button[name="update_cart"] {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
}

.woocommerce .cart .button[name="update_cart"]:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.woocommerce .coupon .button {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
}

.woocommerce .coupon .button:hover {
  background: var(--white);
  border-color: var(--navy);
}

/* Brand logos (optional, uploaded per brand term). */
.brand-tile__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-bottom: 2px;
}

.brand-tile__logo img {
  max-width: 120px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter 150ms var(--ease), opacity 150ms var(--ease);
}

.brand-tile:hover .brand-tile__logo img {
  filter: grayscale(0);
  opacity: 1;
}

.mega__brand-logo {
  max-width: 110px;
  max-height: 26px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 4px;
}


/* Screen-reader-only status text. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Skip link: first focusable element, visible on keyboard focus. */
.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: top 150ms var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* === Focus visible (accessibility) === */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Gate hover animations behind hover-capable devices */
@media (hover: none) {
  .product-card__media:hover .quick-add,
  .product-card__media:hover .wish,
  .product-card:hover {
    transform: none;
  }
}

/* Reduced motion: keep opacity, remove transforms */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Inline trust badges (PDP) === */
.pdp__trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.pdp__trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pdp__trust-inline .ico {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* === Social proof toast (PDP) === */
.social-proof-toast {
  position: fixed;
  bottom: 80px;
  inset-inline-start: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 300ms cubic-bezier(.23, 1, .32, 1), opacity 300ms cubic-bezier(.23, 1, .32, 1);
  pointer-events: none;
}

.social-proof-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.social-proof-toast__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.social-proof-toast__text {
  line-height: 1.4;
}

.social-proof-toast__text strong {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 620px) {
  .social-proof-toast {
    bottom: 70px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    max-width: none;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-proof-toast {
    transition: opacity 200ms ease;
    transform: none;
  }
}
