/* PLUTO — layout matched to eyewa structure; brand colors only differ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Inter', sans-serif;

  --bg: #ffffff;
  --text: #111111;
  --text-2: #666666;
  --text-3: #999999;
  --border: #e8e8e8;
  --border-2: #f0f0f0;
  --muted: #f5f5f5;
  --primary: #6a5daa;
  --primary-hover: #554f93;
  --primary-soft: #eeebf8;
  --primary-soft-2: #e4dff5;
  --danger: #e11d48;
  --footer: #1a1a1a;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --pill: 100px;

  --pad-x: 48px;
  --header-h: 72px;
  --nav-h: 48px;
  --max: 1440px;
  --ease: 0.25s ease;
}

[data-theme='dark'] {
  --bg: #000000;
  --text: #ffffff;
  --text-2: #b5b5b5;
  --text-3: #888888;
  --border: #242424;
  --border-2: #1a1a1a;
  --muted: #111111;
  --primary-soft: #1a1830;
  --primary-soft-2: #221f3d;
  --footer: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ========== ANNOUNCEMENT BAR ========== */
.announce {
  height: 40px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  position: relative;
  z-index: 110;
}

.announce__viewport {
  position: relative;
  min-height: 1.2em;
  overflow: hidden;
  text-align: center;
  max-width: min(720px, 78vw);
}

.announce__text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  display: none;
}

.announce__text.is-active {
  display: block;
  animation: announce-in 0.35s ease;
}

@keyframes announce-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announce__arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}

.announce__arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.header__main {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}

.header__right,
.header__left,
.header__selects,
.header__pills,
.header__actions {
  display: flex;
  align-items: center;
}

.header__right {
  gap: 18px;
  min-width: 0;
}

.header__left {
  gap: 16px;
  flex-shrink: 0;
}

.logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.header__selects {
  gap: 4px;
}

.header__select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
}

.header__select:hover {
  background: var(--muted);
}

.header__pills {
  gap: 10px;
}

.header__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--primary);
  border-radius: var(--pill);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}

.header__pill:hover {
  background: var(--primary-soft);
}

.header__actions {
  gap: 2px;
}

.header__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
}

.header__login:hover {
  background: var(--muted);
  color: var(--primary);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--text);
}

.icon-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--pill);
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
}

.theme-btn .moon {
  display: none;
}

[data-theme='dark'] .theme-btn .sun {
  display: none;
}

[data-theme='dark'] .theme-btn .moon {
  display: block;
}

.menu-btn {
  display: none;
}

/* Category nav + mega menu */
.catnav {
  border-top: 1px solid var(--border-2);
  background: var(--bg);
  position: relative;
}

.catnav__list {
  height: 46px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow: visible;
}

.catnav__item {
  display: flex;
  align-items: stretch;
  position: static;
}

.catnav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 12px;
  white-space: nowrap;
  color: var(--text);
  position: relative;
  transition: color var(--ease);
}

.catnav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10px;
  left: 10px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.catnav__item:hover > .catnav__link,
.catnav__item:focus-within > .catnav__link {
  color: var(--primary);
}

.catnav__item:hover > .catnav__link::after,
.catnav__item:focus-within > .catnav__link::after {
  transform: scaleX(1);
}

/* Mega panel */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
  padding: 28px 0 32px;
}

.mega::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.catnav__item:hover > .mega,
.catnav__item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega__inner {
  display: grid;
  grid-template-columns: 220px 200px 1fr;
  gap: 40px;
  align-items: start;
}

.mega__inner--3 {
  grid-template-columns: repeat(3, minmax(160px, 220px));
  justify-content: start;
  gap: 48px;
}

.mega__inner--4 {
  grid-template-columns: repeat(4, minmax(150px, 200px));
  justify-content: start;
  gap: 40px;
}

.mega__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.mega__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.mega__col > a:not(.mega__person):not(.mega__product) {
  font-size: 13px;
  color: var(--text-2);
  transition: color var(--ease);
  line-height: 1.4;
}

.mega__col > a:not(.mega__person):not(.mega__product):hover {
  color: var(--primary);
}

.mega__person {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
}

.mega__person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mega__person:hover {
  color: var(--primary);
}

.mega__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mega__product {
  display: block;
  min-width: 0;
}

.mega__product-media {
  position: relative;
  aspect-ratio: 1;
  background: #f7f5f2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
}

[data-theme='dark'] .mega__product-media {
  background: #151515;
}

.mega__product-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.mega__ribbon {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 22px;
  background: repeating-linear-gradient(
    -45deg,
    var(--primary),
    var(--primary) 6px,
    var(--primary-hover) 6px,
    var(--primary-hover) 12px
  );
  opacity: 0.85;
}

.mega__try {
  position: absolute;
  top: 28px;
  right: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mega__promo {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.mega__product strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 480;
  min-height: 280px;
  max-height: 520px;
  overflow: hidden;
  background: #111;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  background-size: cover;
  background-position: center;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.45) 100%);
}

[dir='rtl'] .hero__slide::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-inline: var(--pad-x);
  max-width: var(--max);
  margin-inline: auto;
  color: #fff;
}

.hero__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 14ch;
  margin-bottom: 10px;
}

.hero__sub {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 22px;
  font-weight: 400;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero__dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: var(--pill);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  background: #111;
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}

.btn--white:hover {
  background: var(--primary-soft);
}

.btn--outline {
  border: 1px solid var(--text);
  background: transparent;
}

/* ========== SECTIONS ========== */
.section {
  padding: 48px 0;
}

.section__head {
  margin-bottom: 20px;
}

.section__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__head-row .section__title {
  margin-bottom: 0;
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.link-more:hover {
  text-decoration: underline;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg);
  transition: all var(--ease);
}

.chip:hover,
.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ========== PRODUCT CAROUSEL ========== */
.carousel {
  position: relative;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  color: #111;
}

[data-theme='dark'] .carousel__btn {
  background: #111;
  color: #fff;
  border-color: #242424;
}

.carousel__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.carousel__btn--prev {
  right: -12px;
}

.carousel__btn--next {
  left: -12px;
}

/* Product card — professional eyewa-like */
.p-card {
  --card-media-bg: #f3f1ee;
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.p-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.p-card__ribbon {
  height: 10px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--primary),
      var(--primary) 5px,
      var(--primary-hover) 5px,
      var(--primary-hover) 10px
    );
}

.p-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--card-media-bg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

[data-theme='dark'] .p-card {
  --card-media-bg: #171717;
  box-shadow: none;
  border-color: #242424;
}

[data-theme='dark'] .p-card__media {
  background: var(--card-media-bg);
}

.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-card:hover .p-card__media img {
  transform: scale(1.06);
}

.p-card__wish {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.p-card:hover .p-card__wish {
  opacity: 1;
  transform: translateY(0);
}

.p-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.p-card__brand {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}

.p-card__name {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-card__name a {
  color: inherit;
  text-decoration: none;
}

.p-card__name a:hover {
  color: var(--primary);
}

.p-card__price {
  font-size: 15px;
  font-weight: 700;
  margin: 2px 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-card__price s {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-3);
}

.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch:hover {
  transform: scale(1.12);
}

.swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--primary);
  transform: scale(1.08);
}

.p-card__media img,
.plp-card__media img {
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-card__media img.is-fading,
.plp-card__media img.is-fading,
.pdp-gallery__image.is-fading {
  opacity: 0.35;
}

/* ========== TRY-ON BANNER ========== */
.tryon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: var(--primary-soft);
}

.tryon__copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.tryon__copy h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  max-width: 14ch;
}

.tryon__copy p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 34ch;
}

.tryon__visual {
  position: relative;
  min-height: 300px;
}

.tryon__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== SPOTLIGHT (eyewa-style: image + info box) ========== */
.spot-track {
  grid-auto-columns: calc((100% - 48px) / 4);
  align-items: stretch;
}

.spot-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  min-width: 0;
}

.spot-card__media {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #eee;
}

.spot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spot-card:hover .spot-card__media img {
  transform: scale(1.04);
}

.spot-card__info {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme='dark'] .spot-card__info {
  background: #111;
  border-color: #242424;
}

.spot-card__top {
  margin-bottom: 12px;
  text-align: start;
}

.spot-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}

.spot-card__sub {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}

.spot-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.spot-card__thumb {
  width: 72px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.spot-card__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.spot-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.spot-card__sale {
  font-size: 14px;
  font-weight: 700;
  color: #e53935;
  white-space: nowrap;
}

.spot-card__old {
  font-size: 12px;
  color: #9a9a9a;
  font-weight: 400;
}

.spot-card__cart {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  border-radius: 8px;
  transition: background var(--ease);
}

.spot-card__cart:hover {
  background: var(--primary-soft);
}

/* ========== COLLECTIONS accordion ========== */
.coll-grid {
  display: flex;
  gap: 12px;
  height: min(460px, 58vw);
  direction: rtl;
}

.coll-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.coll-card.is-active {
  flex: 4.2 1 0;
}

.coll-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.coll-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.coll-card__label {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 16px;
  right: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: bottom left;
  transition: font-size 0.35s ease, left 0.35s ease, bottom 0.35s ease;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-height: calc(100% - 44px);
  overflow: hidden;
}

.coll-card.is-active .coll-card__label {
  writing-mode: horizontal-tb;
  transform: none;
  transform-origin: center;
  font-size: 18px;
  bottom: 24px;
  left: 24px;
  right: 24px;
  white-space: normal;
  max-height: none;
}

/* ========== LENSES GRID ========== */
.lens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lens-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.lens-card__media {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  background: #eee;
}

.lens-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lens-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.lens-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lens-card .price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ========== FIRST TIME (eyewa asymmetric) ========== */
.first-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 28px;
  min-height: 480px;
  align-items: stretch;
}

/* Right column in RTL = first column: copy + wide */
.first-copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.first-copy__title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.first-copy__sub {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 6px;
}

.btn--soft {
  background: var(--primary-soft);
  color: var(--primary);
  height: 44px;
  padding: 0 22px;
  gap: 8px;
}

.btn--soft:hover {
  background: var(--primary-soft-2);
  color: var(--primary-hover);
}

.first-wide {
  grid-column: 1;
  grid-row: 2;
  border-radius: 28px;
  overflow: hidden;
  min-height: 280px;
  background: #f3f3f3;
}

.first-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Left column in RTL = second column: tall image spanning both rows */
.first-tall {
  grid-column: 2;
  grid-row: 1 / -1;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: #f3f3f3;
  position: relative;
}

.first-tall__video,
.first-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer);
  color: #fff;
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) auto;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__cols {
  display: contents;
}

.brandnav {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

[data-theme='dark'] .brandnav {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: #111;
}

.brandnav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 0;
  justify-content: center;
}

.brandnav__link {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[data-theme='dark'] .brandnav__link {
  color: #bdbdbd;
}

.brandnav__link:hover {
  color: #111;
}

[data-theme='dark'] .brandnav__link:hover {
  color: #fff;
}

.brandnav__link--img span {
  font-size: 12px;
}

.brandnav__img {
  height: 36px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  display: block;
}

[data-theme='dark'] .brandnav__img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.catnav__img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer nav a,
[data-site-drawer-nav] a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer__nav-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.header__slogan {
  margin: 0;
  font-size: 12px;
  color: #777;
  max-width: 160px;
  line-height: 1.3;
}

.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  padding: 12vh 16px 24px;
}

.search-modal[hidden] {
  display: none !important;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.search-modal__panel {
  position: relative;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.search-modal__form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.search-modal__form input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
}

.search-modal__results {
  max-height: 50vh;
  overflow: auto;
  padding: 8px;
}

.search-modal__hint {
  margin: 12px;
  color: #777;
  font-size: 14px;
}

.search-result {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.search-result:hover {
  background: #f5f5f5;
}

.search-result img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
}

.search-result strong {
  display: block;
  font-size: 14px;
}

.search-result small {
  color: #777;
  font-size: 12px;
}

.cart-ship-bar {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #f7f5ff;
  border-radius: 10px;
}

.cart-ship-bar__track {
  height: 6px;
  background: #e5e0f5;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cart-ship-bar__track span {
  display: block;
  height: 100%;
  width: 0;
  background: #6a5daa;
  transition: width 0.3s ease;
}

.cart-ship-bar p {
  margin: 0;
  font-size: 12px;
  color: #444;
}

body.search-open {
  overflow: hidden;
}

.footer .logo img {
  height: 110px;
  margin-bottom: 16px;
}

.footer__about {
  font-size: 13px;
  color: #a3a3a3;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer__phone {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  direction: ltr;
  display: inline-block;
  margin-bottom: 16px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #333;
  display: grid;
  place-items: center;
  color: #ccc;
}

.social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: #a3a3a3;
  margin-bottom: 10px;
}

.footer__col a:hover {
  color: #fff;
}

.footer__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay {
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  background: #111;
  border: 1px solid #333;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #888;
}

/* Drawer */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity var(--ease);
}

.backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg);
  z-index: 210;
  transform: translateX(105%);
  transition: transform var(--ease);
  padding: 20px;
  border-left: 1px solid var(--border);
}

.drawer.is-open {
  transform: none;
}

.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer__top img {
  height: 72px;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer nav a {
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}

.drawer nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1100px) {
  :root {
    --pad-x: 24px;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .lens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spot-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .coll-grid {
    height: 380px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .header__pills {
    display: none;
  }

  .mega__inner {
    grid-template-columns: 200px 180px 1fr;
    gap: 24px;
  }

  .mega__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega__product:last-child {
    display: none;
  }
}

@media (max-width: 800px) {
  .menu-btn {
    display: grid;
  }

  .header__selects,
  .header__login span,
  .catnav,
  .theme-btn {
    display: none;
  }

  .header__main {
    min-height: 60px;
    padding-block: 8px;
  }

  .header__main {
    min-height: 84px;
  }

  .logo img {
    height: 70px;
  }

  .tryon {
    grid-template-columns: 1fr;
  }

  .first-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    gap: 20px;
  }

  .first-copy,
  .first-wide,
  .first-tall {
    grid-column: 1;
    grid-row: auto;
  }

  .first-tall {
    order: -1;
    min-height: 320px;
    aspect-ratio: 3 / 4;
  }

  .first-wide {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .tryon__visual {
    min-height: 260px;
    order: -1;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .carousel__btn {
    display: none;
  }

  .coll-grid {
    flex-direction: column;
    height: auto;
  }

  .coll-card {
    flex: none !important;
    height: 220px;
  }

  .coll-card__label,
  .coll-card.is-active .coll-card__label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 16px;
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .section {
    padding: 32px 0;
  }

  .section__title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 16px;
  }

  .lens-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .spot-track {
    grid-auto-columns: 78%;
  }

  .carousel__track {
    grid-auto-columns: 80%;
  }
}

/* ========== PRODUCT DETAIL PAGE ========== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 8px;
  font-size: 13px;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span:last-child {
  color: var(--text);
  font-weight: 500;
}

.pdp {
  position: relative;
  padding-bottom: 24px;
  min-height: 70vh;
}

.pdp-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  min-height: 70vh;
}

.pdp.is-loading .pdp-loader {
  display: flex;
}

.pdp.is-loading .pdp__body {
  visibility: hidden;
  pointer-events: none;
}

.pdp.is-error .pdp-loader {
  display: flex;
}

.pdp-loader__spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: pdp-spin 0.7s linear infinite;
}

.pdp-loader__text {
  font-size: 14px;
  color: var(--text-2);
}

@keyframes pdp-spin {
  to {
    transform: rotate(360deg);
  }
}

.pdp__hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
  padding: 16px 0 40px;
}

.pdp-gallery {
  position: relative;
}

.pdp-gallery__main {
  position: relative;
  aspect-ratio: 1.15 / 1;
  background: #f6f5f3;
  border-radius: 20px;
  overflow: hidden;
}

[data-theme='dark'] .pdp-gallery__main {
  background: #151515;
}

.pdp-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pdp-gallery__image.is-active {
  opacity: 1;
}

.pdp-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.pdp-gallery__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: var(--bg);
}

.pdp-gallery__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pdp-gallery__dots {
  display: flex;
  gap: 6px;
}

.pdp-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
}

.pdp-gallery__dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--primary);
}

.pdp-buy__title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pdp-buy__price {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pdp-buy__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-buy__pay-badge {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.pdp-buy__pay-note {
  font-size: 12px;
  color: var(--text-2);
}

.pdp-buy__delivery {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 22px;
  background: var(--muted);
}

.pdp-buy__delivery strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.pdp-buy__delivery p {
  font-size: 13px;
  color: var(--text-2);
}

.pdp-buy__delivery a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.pdp-buy__color-label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-2);
}

.pdp-buy__color-label strong {
  color: var(--text);
}

.pdp-buy__swatches {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pdp-buy__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.pdp-buy__swatch.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.pdp-buy__thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.pdp-buy__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #f6f5f3;
  padding: 0;
}

.pdp-buy__thumb.is-active {
  border-color: var(--primary);
}

.pdp-buy__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pdp-buy__cta {
  width: 100%;
  height: 52px;
  font-size: 16px;
  margin-bottom: 10px;
}

.pdp-buy__cart {
  width: 100%;
  height: 52px;
  font-size: 16px;
  gap: 10px;
  margin-bottom: 14px;
}

.pdp-buy__guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.pdp-buy__guide:hover {
  color: var(--primary);
}

.pdp-buy__short {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.pdp-about {
  padding: 28px 0 8px;
}

.pdp-about__body {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}

.pdp-about__body p {
  margin: 0 0 12px;
}

.pdp-about__body p:last-child {
  margin-bottom: 0;
}

.pdp-about__body ul,
.pdp-about__body ol {
  margin: 0 0 12px;
  padding-inline-start: 1.25rem;
}

.pdp-specs {
  padding: 32px 0 16px;
}

.pdp-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 18px;
}

.pdp-specs__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  border-inline-end: 1px solid var(--border);
}

.pdp-specs__item:nth-child(2n) {
  border-inline-end: none;
}

.pdp-specs__item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.pdp-specs__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--muted);
  color: var(--text-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pdp-specs__item span {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.pdp-specs__item strong {
  font-size: 14px;
  font-weight: 600;
}

.pdp-reviews {
  padding: 28px 0;
  border-top: 1px solid var(--border-2);
  margin-top: 12px;
}

.pdp-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.pdp-reviews__head .section__title {
  margin: 0;
}

.pdp-reviews__btn {
  height: 40px;
  padding: 0 16px;
}

.pdp-reviews__empty {
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 0 4px;
}

.pdp-related {
  padding-top: 12px;
}

.pdp-related .p-card {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 900px) {
  .pdp__hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pdp-gallery {
    order: -1;
  }

  .pdp-specs__grid {
    grid-template-columns: 1fr;
  }

  .pdp-specs__item {
    border-inline-end: none;
  }

  .pdp-specs__item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .pdp-specs__item:last-child {
    border-bottom: none;
  }
}

/* ========== PRODUCT LISTING PAGE (eyewa-like) ========== */
.plp {
  padding-bottom: 56px;
  background: #fafafa;
}

[data-theme='dark'] .plp {
  background: #000;
}

.plp > .wrap {
  padding-top: 8px;
}

.plp .breadcrumb {
  padding-top: 12px;
  padding-bottom: 4px;
}

.plp__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 18px;
  position: relative;
}

.plp__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.plp__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

[data-theme='dark'] .plp__sort-btn {
  background: #111;
}

.plp__sort-select {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.plp__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.plp-dd {
  position: relative;
}

.plp-dd__btn,
.plp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: #ececec;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

[data-theme='dark'] .plp-dd__btn,
[data-theme='dark'] .plp-pill {
  background: #1a1a1a;
  color: #ddd;
}

.plp-dd__btn:hover,
.plp-pill:hover,
.plp-dd.is-open .plp-dd__btn,
.plp-dd.has-value .plp-dd__btn,
.plp-pill.is-active {
  background: #222;
  color: #fff;
}

.plp-dd__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 40;
  flex-direction: column;
  gap: 2px;
}

[data-theme='dark'] .plp-dd__menu {
  background: #111;
}

.plp-dd.is-open .plp-dd__menu {
  display: flex;
}

.plp-option {
  text-align: start;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
}

.plp-option:hover,
.plp-option.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.plp__active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.plp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

.plp-tag--clear {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.plp__count {
  font-size: 13px;
  color: #999;
  margin-bottom: 18px;
}

.plp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: start;
}

/* Product card — listing */
.plp-card {
  --card-media-bg: #f3f1ee;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-width: 0;
}

[data-theme='dark'] .plp-card {
  --card-media-bg: #171717;
  background: #111;
  border-color: #242424;
  box-shadow: none;
}

.plp-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.plp-card__ribbon {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--primary),
    var(--primary) 5px,
    var(--primary-hover) 5px,
    var(--primary-hover) 10px
  );
}

.plp-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--card-media-bg);
  overflow: hidden;
  text-decoration: none;
}

[data-theme='dark'] .plp-card__media {
  background: var(--card-media-bg);
}

.plp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.plp-card:hover .plp-card__media img {
  transform: scale(1.06);
}

.plp-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plp-card__brand {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 2px;
}

.plp-card__name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plp-card__name a {
  color: inherit;
  text-decoration: none;
}

.plp-card__name a:hover {
  color: var(--primary);
}

.plp-card__price {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plp-card__price s {
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
}

.plp-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.plp-card__wish {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #888;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.plp-card__wish:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Exclusive strip */
.plp-exclusive {
  grid-column: 1 / -1;
  background: #eef0f8;
  border-radius: 16px;
  padding: 20px;
  margin: 4px 0;
}

[data-theme='dark'] .plp-exclusive {
  background: #151525;
}

.plp-exclusive__head {
  margin-bottom: 14px;
}

.plp-exclusive__head h2 {
  font-size: 20px;
  font-weight: 700;
}

.plp-exclusive__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.plp-exclusive__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plp-exclusive__cards .plp-card {
  box-shadow: none;
}

.plp-exclusive__cards .plp-card__media {
  aspect-ratio: 1;
}

.plp-exclusive__banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
  display: block;
}

.plp-exclusive__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plp-exclusive__banner span {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  right: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Tall pill lifestyle */
.plp-pill-banner {
  grid-column: 4;
  grid-row: span 2;
  position: relative;
  border-radius: 999px;
  overflow: hidden;
  min-height: 520px;
  isolation: isolate;
  display: block;
}

.plp-pill-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plp-pill-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.plp-pill-banner__copy {
  position: absolute;
  z-index: 2;
  inset-inline: 18px;
  bottom: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.plp-pill-banner__copy strong {
  font-size: 20px;
  font-weight: 700;
}

.plp-pill-banner__copy .btn {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

/* Circle lifestyle */
.plp-circle-banner {
  grid-column: span 2;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: block;
  max-width: 100%;
}

.plp-circle-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plp-circle-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
}

.plp-circle-banner span {
  position: absolute;
  z-index: 1;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.plp-empty {
  text-align: center;
  padding: 72px 16px;
  color: var(--text-2);
}

.plp-empty .btn {
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .plp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plp-pill-banner {
    grid-column: 1 / -1;
    grid-row: auto;
    border-radius: 28px;
    min-height: 280px;
    aspect-ratio: 16 / 9;
  }

  .plp-exclusive__row {
    grid-template-columns: 1fr;
  }

  .plp-exclusive__banner {
    min-height: 220px;
    order: -1;
  }

  .plp-circle-banner {
    grid-column: span 3;
    max-width: 360px;
    justify-self: center;
  }
}

@media (max-width: 800px) {
  .plp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plp-exclusive__cards {
    grid-template-columns: 1fr;
  }

  .plp-circle-banner {
    grid-column: span 2;
  }

  .plp__sort-select {
    width: 130px;
  }
}

@media (max-width: 480px) {
  .plp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
  }

  .plp-card__body {
    padding: 10px;
  }

  .plp-circle-banner {
    grid-column: 1 / -1;
  }
}

/* ========== LENS WIZARD DRAWER ========== */
.lens-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 17, 17, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lens-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lens-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 310;
  width: min(420px, 100vw);
  background: #fff;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='dark'] .lens-drawer {
  background: #141414;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.55);
}

.lens-drawer.is-open {
  transform: translateX(0);
}

.lens-drawer__head {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.lens-drawer__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lens-drawer__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.lens-drawer__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.lens-drawer__step {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.lens-drawer__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  flex-shrink: 0;
}

.lens-drawer__close:hover {
  background: var(--muted);
}

.lens-drawer__progress {
  height: 3px;
  background: #e8f4f4;
  border-radius: 99px;
  margin: 14px 0 12px;
  overflow: hidden;
}

[data-theme='dark'] .lens-drawer__progress {
  background: #1f2a2a;
}

.lens-drawer__progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: #5eb8b6;
  border-radius: 99px;
  transition: width 0.25s ease;
}

.lens-drawer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.lens-drawer__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.lens-drawer__back:hover {
  color: var(--primary);
}

.lens-drawer__total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.lens-drawer__total-label {
  font-weight: 500;
  color: var(--text-3);
  font-size: 12px;
}

.lens-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lens-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lens-step[hidden] {
  display: none !important;
}

.lens-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: right;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme='dark'] .lens-card {
  background: #1a1a1a;
}

.lens-card:hover,
.lens-card.is-selected {
  border-color: #5eb8b6;
  box-shadow: 0 0 0 1px #5eb8b6;
}

.lens-card.is-selected {
  background: #eef9f8;
}

[data-theme='dark'] .lens-card.is-selected {
  background: #16302f;
}

.lens-card__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lens-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lens-card__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.lens-card__text span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
}

.lens-card--frame-only {
  border-style: dashed;
  background: #fafafa;
}

[data-theme='dark'] .lens-card--frame-only {
  background: #141414;
}

.lens-card__price-tag {
  margin-inline-start: auto;
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  background: #e6f7f4;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.lens-tier {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: right;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme='dark'] .lens-tier {
  background: #1a1a1a;
}

.lens-tier:hover,
.lens-tier.is-selected {
  border-color: #5eb8b6;
  box-shadow: 0 0 0 1px #5eb8b6;
}

.lens-tier.is-selected {
  background: #eef9f8;
}

[data-theme='dark'] .lens-tier.is-selected {
  background: #16302f;
}

.lens-tier__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lens-tier__top strong {
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lens-tier__badge {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #e67e22;
  background: #fff4e8;
  padding: 2px 8px;
  border-radius: 99px;
}

.lens-tier__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.lens-tier p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
}

.lens-tier__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 2px;
}

.lens-tier__feats span {
  font-size: 11px;
  color: #3a8f8d;
  font-weight: 500;
}

.lens-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: right;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

[data-theme='dark'] .lens-opt {
  background: #1a1a1a;
}

.lens-opt:hover,
.lens-opt.is-selected {
  border-color: #5eb8b6;
}

.lens-opt.is-selected {
  background: #eef9f8;
}

[data-theme='dark'] .lens-opt.is-selected {
  background: #16302f;
}

.lens-opt__radio {
  width: 18px;
  height: 18px;
  border: 2px solid #c9c9c9;
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}

.lens-opt.is-selected .lens-opt__radio {
  border-color: #5eb8b6;
}

.lens-opt.is-selected .lens-opt__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #5eb8b6;
}

.lens-opt__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lens-opt__body strong {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lens-opt__body span {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

.lens-opt__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.lens-opt__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.lens-drawer__foot {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}

[data-theme='dark'] .lens-drawer__foot {
  background: #141414;
}

.lens-drawer__foot[hidden] {
  display: none !important;
}

.lens-drawer__confirm {
  width: 100%;
  height: 52px;
  gap: 10px;
  background: #5eb8b6;
  color: #fff;
  font-size: 15px;
  border-radius: 12px;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-empty {
  padding: 24px;
  text-align: center;
  color: #6b7280;
  width: 100%;
}

.lens-upload {
  margin: 8px 0 16px;
  padding: 14px;
  border: 1px dashed #c9d4d3;
  border-radius: 12px;
  background: #f7fbfb;
}

.lens-upload input[type='file'] {
  width: 100%;
  font-size: 14px;
}

.lens-upload__status {
  margin: 8px 0 0;
  font-size: 13px;
  color: #3b6e6c;
}

body.lens-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .lens-drawer {
    width: 100vw;
  }
}

/* ========== SHARED PAGE CHROME ========== */
.page {
  padding-bottom: 64px;
}

.page-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin: 8px 0 12px;
}

.page-title__count {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-3);
}

.page-lead,
.page-hero p {
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.page-hero {
  margin-bottom: 28px;
}

.narrow {
  max-width: 820px;
}

.panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.panel h2 {
  font-size: 18px;
  margin: 0 0 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.field input,
.field select,
.field textarea {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
}

.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--primary-soft-2);
  border-color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field--full {
  grid-column: 1 / -1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

a.header__login,
a.icon-btn {
  text-decoration: none;
  color: inherit;
}

/* Cart */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
  margin-top: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--muted);
  aspect-ratio: 1;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__brand {
  font-size: 12px;
  color: var(--text-3);
  margin: 0 0 4px;
}

.cart-item__name {
  font-size: 16px;
  margin: 0 0 6px;
}

.cart-item__name a:hover {
  color: var(--primary);
}

.cart-item__meta {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 12px;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.cart-item__qty button,
.cart-item__qty span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.cart-item__qty button:hover {
  background: var(--muted);
}

.cart-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-item__remove {
  font-size: 13px;
  color: var(--text-3);
}

.cart-item__remove:hover {
  color: var(--danger);
}

.cart-summary {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: sticky;
  top: 120px;
}

.cart-summary h2 {
  font-size: 18px;
  margin: 0 0 16px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-2);
}

.cart-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  color: var(--text);
  font-size: 16px;
}

.is-free {
  color: #0a7a4b;
  font-weight: 600;
}

.cart-summary__cta {
  width: 100%;
  height: 50px;
  margin-top: 16px;
}

.cart-summary__continue {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.cart-summary__continue:hover {
  color: var(--primary);
}

.cart-summary__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Checkout */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fulfill-opts,
.pay-opts {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.radio-card.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.radio-card input {
  accent-color: var(--primary);
}

.checkout-submit {
  width: 100%;
  height: 52px;
  font-size: 16px;
}

.checkout-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-mini img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.checkout-mini div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.checkout-mini span {
  color: var(--text-2);
}

/* Auth */
.auth-page {
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  width: min(420px, 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}

.auth-card__logo {
  margin: 0 auto 12px;
}

.auth-card h1 {
  font-size: 24px;
  margin: 0 0 8px;
}

.auth-card__sub {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 22px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.auth-form__btn {
  width: 100%;
  height: 50px;
  margin-top: 6px;
}

.auth-card__alt {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
}

.auth-card__alt a {
  color: var(--primary);
  font-weight: 600;
}

/* Stores */
.stores-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.stores-toolbar__search {
  flex: 1;
}

.stores-toolbar select {
  min-width: 160px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--bg);
  font: inherit;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.store-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}

.store-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.store-card__body {
  padding: 18px;
}

.store-card__body h2 {
  font-size: 17px;
  margin: 0 0 6px;
}

.store-card__body p {
  margin: 0 0 6px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}

.store-card__meta {
  color: var(--text-3) !important;
}

.store-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-card__actions .btn {
  height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--outline {
  color: var(--text);
}

.btn--outline:hover {
  background: var(--muted);
}

/* Eye exam */
.exam-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}

.exam-benefits {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.exam-benefits li {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.exam-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exam-form .btn {
  width: 100%;
  height: 50px;
  margin-top: 4px;
}

.exam-form__stores {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
}

.exam-form__stores:hover {
  color: var(--primary);
}

/* About */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 12px 0 36px;
}

.about-hero img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.about-card h2 {
  font-size: 17px;
  margin: 0 0 10px;
}

.about-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.65;
  font-size: 14px;
}

.about-cta {
  text-align: center;
}

.about-cta p {
  color: var(--text-2);
  margin: 0 0 18px;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 20px;
}

.contact-cards {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.contact-card strong {
  font-size: 15px;
}

.contact-card span {
  color: var(--text-2);
  font-size: 13px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form .btn {
  width: 100%;
  height: 50px;
}

/* FAQs */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 18px;
  background: var(--bg);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

/* Policy */
.policy-block {
  margin-bottom: 14px;
}

.policy-block ul {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--text-2);
  line-height: 1.8;
}

.policy-block a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 960px) {
  .cart-layout,
  .checkout-layout,
  .exam-layout,
  .about-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stores-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 88px 1fr;
  }

  .cart-item__side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .stores-toolbar {
    flex-direction: column;
  }
}

/* ========== CART DRAWER ========== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(17, 17, 17, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 330;
  width: min(420px, 100vw);
  background: #fff;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='dark'] .cart-drawer {
  background: #141414;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.55);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cart-drawer__title-wrap h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer__count {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  flex-shrink: 0;
}

.cart-drawer__close:hover {
  background: var(--muted);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
}

.cart-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px 8px 40px;
}

.cart-empty__bag {
  margin-bottom: 12px;
  filter: drop-shadow(0 12px 24px rgba(106, 93, 170, 0.28));
}

.cart-empty h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.cart-empty p {
  margin: 0 0 14px;
  color: var(--text-2);
  font-size: 14px;
}

.cart-empty__cta {
  min-width: 160px;
  height: 46px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
}

.cart-empty__cta:hover {
  background: var(--primary);
  color: #fff;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-line__media {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f1ee;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__brand {
  margin: 0 0 2px;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
  font-weight: 600;
}

.cart-line__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.cart-line__meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-2);
}

.cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-line__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.cart-line__qty button,
.cart-line__qty span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.cart-line__qty button:hover {
  background: var(--muted);
}

.cart-line__remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--text-3);
  border-radius: 50%;
}

.cart-line__remove:hover {
  color: var(--danger);
  background: #fff1f2;
}

.cart-drawer__foot {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 12px 16px 18px;
  background: #fff;
}

[data-theme='dark'] .cart-drawer__foot {
  background: #141414;
}

.cart-offers {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-offers span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 14px;
  font-size: 14px;
  font-weight: 600;
}

.cart-total-row small {
  font-weight: 400;
  color: var(--text-3);
}

.cart-total-row strong {
  font-size: 16px;
}

.cart-checkout-btn {
  width: 100%;
  height: 52px;
  gap: 10px;
  background: linear-gradient(90deg, #756dca, #6a5daa);
  color: #fff;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.cart-checkout-btn:hover {
  background: linear-gradient(90deg, #6a5daa, #554f93);
}

body.cart-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .cart-drawer {
    width: 100vw;
  }
}

.cart-page-empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
}

.cart-page-empty h2 {
  margin: 0 0 8px;
}

.cart-page-empty p {
  color: var(--text-2);
  margin: 0 0 18px;
}

.cart-summary__continue {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* ========== CHECKOUT (eyewa-like shell) ========== */
.co-body {
  background: #f5f5f5;
  min-height: 100vh;
}

[data-theme='dark'] .co-body {
  background: #0d0d0d;
}

.co-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

[data-theme='dark'] .co-top {
  background: #141414;
}

.co-top__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.co-top__back:hover {
  color: var(--primary);
}

.co-top__logo {
  justify-self: center;
  display: grid;
  place-items: center;
}

.co-top__logo img {
  width: 88px;
  height: auto;
}

.co-top__spacer {
  justify-self: end;
}

.co {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.co__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.co-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.co-mode__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  border-radius: 14px;
  border: 1.5px solid #e5e5e5;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

[data-theme='dark'] .co-mode__tab {
  background: #171717;
  border-color: #2a2a2a;
}

.co-mode__tab.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.co-section {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 22px;
}

[data-theme='dark'] .co-section {
  background: #171717;
  border-color: #2a2a2a;
}

.co-section h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.co-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.co-section__head h2 {
  margin: 0;
}

.co-ship-note {
  font-size: 12px;
  color: var(--text-3);
}

.co-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-fields--2 {
  margin-top: 12px;
}

.co-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.co-field--full {
  grid-column: 1 / -1;
}

.co-field input,
.co-field select {
  height: 50px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

[data-theme='dark'] .co-field input,
[data-theme='dark'] .co-field select {
  background: #111;
  border-color: #333;
}

.co-field input:focus,
.co-field select:focus {
  outline: 2px solid var(--primary-soft-2);
  border-color: var(--primary);
}

.co-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

[data-theme='dark'] .co-phone {
  background: #111;
  border-color: #333;
}

.co-phone__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #fafafa;
  border-inline-end: 1px solid #e6e6e6;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

[data-theme='dark'] .co-phone__code {
  background: #1a1a1a;
  border-color: #333;
}

.co-phone input {
  border: 0 !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

.co-map {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #eee;
}

.co-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.co-map__hint {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-3);
  background: #fff;
}

.co-pickup-list {
  display: grid;
  gap: 10px;
}

.co-pickup {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
}

.co-pickup.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.co-pickup input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.co-pickup strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.co-pickup small {
  color: var(--text-2);
  font-size: 12px;
}

.co-pay {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.co-pay__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme='dark'] .co-pay__card {
  background: #111;
  border-color: #333;
}

.co-pay__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.co-pay__card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: var(--primary-soft);
}

.co-pay__icon {
  color: var(--primary);
}

.co-pay__brand {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.co-pay__card--vf .co-pay__brand {
  color: #e60000;
}

.co-pay__card--instapay .co-pay__brand {
  color: #1a237e;
}

.co-wallet-fields {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: grid;
  gap: 12px;
}

.co-wallet-fields[hidden] {
  display: none !important;
}

.co-wallet-info {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  background: #f7f7f7;
  border-radius: 12px;
  padding: 12px 14px;
}

[data-theme='dark'] .co-wallet-info {
  background: #1c1c1c;
}

.co-wallet-preview {
  display: grid;
  gap: 8px;
}

.co-wallet-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.co-wallet-clear {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #c0392b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.co-wallet-hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-2);
}

.co-summary {
  position: sticky;
  top: 88px;
}

.co-summary__inner {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 20px;
}

[data-theme='dark'] .co-summary__inner {
  background: #171717;
  border-color: #2a2a2a;
}

.co-summary__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.co-summary__head h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.co-summary__head span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

.co-eta {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.5;
}

[data-theme='dark'] .co-eta {
  background: #111;
}

.co-summary__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.co-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.co-line img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f1ee;
}

.co-line strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.co-line span,
.co-line em {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  font-style: normal;
}

.co-line b {
  font-size: 14px;
  white-space: nowrap;
}

.co-summary__empty {
  text-align: center;
  padding: 24px 8px;
  color: var(--text-2);
}

.co-summary__empty a {
  color: var(--primary);
  font-weight: 600;
}

.co-summary__totals {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.co-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
}

.co-summary__row--total {
  color: var(--text);
  font-size: 16px;
  padding-top: 12px;
}

.co-confirm {
  width: 100%;
  height: 54px;
  margin-top: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #756dca, #6a5daa);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.co-confirm:hover {
  background: linear-gradient(90deg, #6a5daa, #554f93);
}

.co-summary__edit {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-2);
}

.co-summary__edit:hover {
  color: var(--primary);
}

.co-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 400;
}

.co-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .co__grid {
    grid-template-columns: 1fr;
  }

  .co-summary {
    position: static;
    order: -1;
  }

  .co-fields {
    grid-template-columns: 1fr;
  }

  .co-pay {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .co-top {
    padding: 8px 14px;
  }

  .co-mode {
    grid-template-columns: 1fr;
  }

  .co-mode__tab {
    height: 56px;
  }
}

/* ===== Account dashboard ===== */
.acc-page {
  padding: 28px 0 64px;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(106, 93, 170, 0.08), transparent 60%),
    var(--bg);
}

.acc-wrap {
  display: grid;
  gap: 22px;
}

.acc-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 22px 0 8px;
  flex-wrap: wrap;
}

.acc-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.acc-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
}

.acc-hero__sub {
  margin: 8px 0 0;
  max-width: 42rem;
  color: var(--text-2);
  font-size: 14px;
}

.acc-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.acc-flash {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f7f2;
  color: #0f766e;
  font-size: 14px;
  font-weight: 600;
}

.acc-flash.is-error {
  background: #fde8ec;
  color: #b42318;
}

.acc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.acc-nav {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 96px;
}

.acc-nav__btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-align: right;
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

[data-theme='dark'] .acc-nav__btn {
  background: #111;
}

.acc-nav__btn.is-active,
.acc-nav__btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.acc-panels {
  min-width: 0;
}

.acc-panel {
  display: grid;
  gap: 18px;
}

.acc-panel[hidden] {
  display: none !important;
}

.acc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.acc-stat {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

[data-theme='dark'] .acc-stat {
  background: #111;
}

.acc-stat span {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.acc-stat strong {
  font-size: 1.35rem;
}

.acc-section {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

[data-theme='dark'] .acc-section {
  background: #111;
}

.acc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.acc-section__head h2,
.acc-subtitle {
  margin: 0;
  font-size: 1.05rem;
}

.acc-link {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.acc-empty {
  padding: 18px;
  border-radius: 12px;
  background: var(--muted);
  color: var(--text-2);
  font-size: 14px;
}

.acc-orders,
.acc-addresses {
  display: grid;
  gap: 12px;
}

.acc-order,
.acc-address {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

[data-theme='dark'] .acc-order,
[data-theme='dark'] .acc-address {
  background: #171717;
}

.acc-order__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.acc-order__head h3 {
  margin: 0;
  font-size: 15px;
}

.acc-order__head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-2);
}

.acc-order__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.acc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--muted);
  color: var(--text-2);
}

.acc-badge--pending { background: #fff4df; color: #9a6700; }
.acc-badge--paid { background: #e7f8ef; color: #0f7a45; }
.acc-badge--cancelled { background: #fde8ec; color: #b42318; }
.acc-badge--pay { background: var(--primary-soft); color: var(--primary); }

.acc-order__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-2);
  flex-wrap: wrap;
}

.acc-order__details {
  margin-top: 12px;
  border-top: 1px solid var(--border-2);
  padding-top: 10px;
}

.acc-order__details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  list-style: none;
}

.acc-order__items {
  list-style: none;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.acc-order__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.acc-order__items strong {
  display: block;
}

.acc-order__items span,
.acc-order__items em {
  display: block;
  color: var(--text-2);
  font-style: normal;
  font-size: 12px;
}

.acc-rx {
  color: #0f766e !important;
  font-weight: 700;
}

.acc-order__address {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.7;
}

.acc-address {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.acc-address strong {
  display: block;
  margin-bottom: 4px;
}

.acc-address p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
}

.acc-address__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.acc-address--default {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.acc-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.acc-form--grid {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.acc-form .field,
.acc-form--grid .field {
  display: grid;
  gap: 6px;
}

.acc-form .field span {
  font-size: 13px;
  font-weight: 600;
}

.acc-form input,
.acc-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

[data-theme='dark'] .acc-form input,
[data-theme='dark'] .acc-form select {
  background: #0d0d0d;
}

.acc-form .field--full {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .acc-layout {
    grid-template-columns: 1fr;
  }

  .acc-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .acc-nav__btn {
    text-align: center;
    padding: 10px 8px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .acc-stats {
    grid-template-columns: 1fr;
  }

  .acc-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acc-form--grid {
    grid-template-columns: 1fr;
  }
}
