/* ============================================================
   Anker rebuild theme — global styles
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('montserrat-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('montserrat-700.woff2') format('woff2');
}

:root {
  --color-text: #000;
  --color-text-soft: #666;
  --color-bg: #fff;
  --color-gray: #f5f5f7;
  --color-line: #e5e5e7;
  --color-dark: #0f0f0f;
  --color-hot: #fb0000;
  --color-new: #ff9128;
  --color-save-bg: #ffbe00;
  --color-brand: #00befa;
  --color-accent: #00befa;
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1392px;
  --gutter: 24px;
  --header-h: 108px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  word-spacing: 0;
  color: var(--color-text);
  background: var(--color-bg);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.main-content,
.shopify-section {
  max-width: 100%;
  min-width: 0;
}

/* height:auto beats the width/height presentational attributes so CSS aspect-ratio can take effect */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul[role='list'] { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 1025px) {
  .container { padding-inline: 48px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-content-link:focus {
  position: fixed; top: 8px; left: 8px;
  z-index: 1000; width: auto; height: auto;
  clip: auto; padding: 10px 16px;
  background: #fff; border: 2px solid #000;
}

.section-heading {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

@media (min-width: 1025px) {
  .section-heading { font-size: 40px; margin-bottom: 32px; }
}

.rte { font-size: 15px; line-height: 1.7; color: #222; }
.rte img { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--dark { background: #080a0f; color: #fff; border-color: #080a0f; }
.btn--light { background: #fff; color: #080a0f; border-color: #fff; }
.btn--outline { background: #fff; color: #080a0f; border-color: #080a0f; }
.btn--brand { background: var(--color-brand); color: #fff; border-color: var(--color-brand); }
.btn--brand:hover { background: #009ed4; border-color: #009ed4; color: #fff; }
.btn--dark:hover,
.btn--light:hover,
.btn--outline:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 15px 36px; font-size: 15px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 6px;
  color: inherit;
}

/* ---------- Board bar ---------- */
.board-bar { background: #000; color: #fff; font-size: 12px; }
.board-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.board-bar__brands { display: flex; align-items: center; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.board-bar__brands::-webkit-scrollbar { display: none; }
.board-bar__brand { opacity: 0.75; transition: opacity var(--transition); }
.board-bar__brand:hover, .board-bar__brand.is-current { opacity: 1; }
.board-bar__wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
  white-space: nowrap;
}
.board-bar__site { display: none; }
@media (min-width: 768px) { .board-bar__site { display: block; } }

/* ---------- Announcement ---------- */
.announcement-bar {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  font-size: 13px;
}
.announcement-bar__track { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.announcement-bar__slide {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 16px; text-align: center;
}
.announcement-bar__slide.is-hidden { display: none; }
.announcement-bar__slide p { margin: 0; }
.announcement-bar__countdown { font-variant-numeric: tabular-nums; font-weight: 700; }
.announcement-bar__side {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 12px; opacity: 0.9; display: none;
}
@media (min-width: 1025px) { .announcement-bar__side { display: block; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header__logo { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.site-header__wordmark {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .site-header__wordmark { font-size: 22px; letter-spacing: 0.08em; }
}
.site-header__tagline { font-size: 12px; color: #555; display: none; }
@media (min-width: 768px) { .site-header__tagline { display: inline; } }

.site-header__icons { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.site-header__cart { position: relative; }
.site-header__cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding-inline: 4px;
}
.site-header__cart-count.is-empty { display: none; }
.site-header__burger { display: inline-flex; }
@media (min-width: 1025px) { .site-header__burger { display: none; } }

.site-header__nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
@media (min-width: 1025px) { .site-header__nav { display: flex; } }

.mega-nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mega-nav__list { display: flex; align-items: center; gap: 2px; }
.mega-nav__item { display: flex; }
.mega-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px;
  background: none; border: 0;
  font-size: 13.5px; font-weight: 500;
  color: #000;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.mega-nav__link:hover, .mega-nav__link[aria-expanded='true'] { background: var(--color-gray); }
.mega-nav__link svg { transition: transform var(--transition); }
.mega-nav__link[aria-expanded='true'] svg { transform: rotate(180deg); }

.mega-panels {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
}
.mega-panel {
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--color-line);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.mega-panel__inner { display: flex; gap: 28px; padding-block: 20px 26px; }

/* left rail */
.mega-panel__rail {
  flex: 0 0 250px;
  display: flex; flex-direction: column; gap: 2px;
  background: #f7f8fa;
  border-radius: var(--radius-lg);
  padding: 14px;
}
.mega-rail__item {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px;
  background: none; border: 0;
  font-size: 13.5px; font-weight: 500; color: #111;
  border-radius: var(--radius);
  cursor: pointer;
}
.mega-rail__item:hover { background: #eef0f3; }
.mega-rail__item.is-active { background: #fff; font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.mega-rail__group-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 12px;
  background: none; border: 0;
  font-size: 13.5px; font-weight: 700; color: #111;
  cursor: pointer;
}
.mega-rail__group-head svg { transition: transform var(--transition); }
.mega-rail__group.is-open .mega-rail__group-head svg { transform: rotate(180deg); }
.mega-rail__group-body { display: none; }
.mega-rail__group.is-open .mega-rail__group-body { display: block; }
.mega-rail__group-body .mega-rail__item { padding-left: 22px; font-weight: 400; }
.mega-rail__group-body .mega-rail__item.is-active { font-weight: 700; }
.mega-rail__shopall { margin-top: auto; text-align: center; }
.mega-panel__rail .btn.mega-rail__shopall { margin-top: 16px; width: 100%; }

/* right panes */
.mega-panel__panes { flex: 1; min-width: 0; }
.mega-pane { display: none; }
.mega-pane.is-active { display: block; }
.mega-pane__title {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700;
  margin-bottom: 14px;
}
.mega-pane__title:hover { text-decoration: underline; }
.mega-pane__banner { display: block; margin-bottom: 14px; }
.mega-pane__banner img { width: 100%; max-height: 150px; object-fit: cover; border-radius: var(--radius-lg); }
.mega-pane__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}
.mega-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.mega-card__media {
  position: relative;
  width: 100%;
  height: 168px;
  background: #f5f5f7;
  border-radius: 8px;
}
.mega-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.mega-card__badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: #111; background: #fff;
  padding: 4px 7px; border-radius: 4px;
}
.mega-card__title {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 500;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-card:hover .mega-card__title { text-decoration: underline; }

/* right-side column dropdowns */
.mega-panel__inner--cols { display: flex; gap: 72px; padding-block: 26px 30px; }
.mega-col__title { font-weight: 700; font-size: 14px; display: block; margin: 0 0 12px; }
.mega-col ul li { margin-bottom: 10px; }
.mega-col ul a { color: #555; font-size: 13px; }
.mega-col ul a:hover { color: #000; }
.mega-col__badge { color: var(--color-accent); font-size: 10px; font-weight: 700; }

@media (max-width: 1024px) {
  .mega-nav, .mega-panels { display: none; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.mobile-menu[aria-hidden='false'] { visibility: visible; }
.mobile-menu__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity var(--transition);
}
.mobile-menu[aria-hidden='false'] .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform var(--transition);
  overflow: hidden;
}
.mobile-menu[aria-hidden='false'] .mobile-menu__panel { transform: none; }
.mobile-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--color-line);
}
.mobile-menu__tools { display: flex; align-items: center; gap: 4px; }
.mobile-view { display: none; height: 100%; overflow-y: auto; }
.mobile-view.is-active { display: block; }
.mobile-view[hidden] { display: none !important; }
.mobile-view__bar {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: 56px; padding: 4px 8px; border-bottom: 1px solid var(--color-line);
}
.mobile-view__bar strong { text-align: center; font-size: 16px; font-weight: 700; }
.mobile-menu__list > li { border-bottom: 1px solid var(--color-line); }
.mobile-menu__list a, .mobile-menu__list button, .mobile-menu__list summary {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 18px 20px; font-size: 16px; font-weight: 500;
  background: none; border: 0; color: inherit; text-align: left;
  list-style: none;
}
.mobile-shopall {
  display: block; margin: 28px 20px;
  background: #111; color: #fff; text-align: center;
  padding: 14px 16px; font-weight: 700; font-size: 15px;
}

/* ---------- Hero banner ---------- */
.hero-banner { position: relative; overflow: hidden; }
.hero-banner__media { display: block; }
.hero-banner__media img,
.hero-banner__video {
  width: 100%;
  aspect-ratio: 390 / 520;
  object-fit: cover;
  object-position: bottom;
}
@media (min-width: 768px) {
  .hero-banner__media img, .hero-banner__video { aspect-ratio: 768 / 564; }
}
@media (min-width: 1025px) {
  .hero-banner__media img, .hero-banner__video { aspect-ratio: 1920 / 800; }
}
.hero-banner__placeholder {
  width: 100%; aspect-ratio: 1920 / 800;
  background: linear-gradient(135deg, #b9c6e8, #d8cfe8 55%, #efe6f2);
}
.hero-banner__content {
  position: absolute;
  left: 50%; top: 36px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  min-width: 0;
  box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  text-align: center;
  padding-inline: 8px;
  pointer-events: none;
}
.hero-banner__content .btn { pointer-events: auto; }
.hero-banner__title {
  margin: 0;
  max-width: 100%;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.hero-banner__subtitle {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .hero-banner__content { top: 56px; gap: 16px; }
  .hero-banner__title { font-size: 36px; }
  .hero-banner__subtitle { font-size: 16px; }
}
.hero-banner--dark .hero-banner__content { color: #fff; }
@media (min-width: 1441px) {
  .hero-banner__content { top: 68px; }
  .hero-banner__title { font-size: 44px; }
  .hero-banner__subtitle { font-size: 17px; }
}
.hero-banner__actions { display: flex; gap: 12px; }

.countdown-box { display: flex; gap: 8px; font-weight: 700; }
.countdown-box .time-box {
  background: #fff; color: #000;
  min-width: 44px; padding: 6px 8px;
  border-radius: var(--radius);
  text-align: center; font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.countdown-box .time-label { display: block; font-size: 10px; font-weight: 500; }

/* ---------- Sections rhythm ---------- */
.section-slogan, .section-image-cards, .section-category-nav,
.section-title-wrap, .section-product-shelf, .section-offer-cards,
.section-testimonials, .section-blog-cards { margin-block: 56px; }
@media (min-width: 1025px) {
  .section-slogan, .section-image-cards, .section-category-nav,
  .section-title-wrap, .section-product-shelf, .section-offer-cards,
  .section-testimonials, .section-blog-cards { margin-block: 88px; }
}

/* ---------- Brand slogan ---------- */
.brand-slogan { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1025px) {
  .brand-slogan { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
}
.brand-slogan__title { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.15; max-width: 560px; }
.brand-slogan__title p { margin: 0; }
@media (min-width: 1025px) { .brand-slogan__title { font-size: 48px; } }
.brand-slogan__features { display: flex; gap: 28px; flex: 1; justify-content: flex-end; min-width: 0; }
.brand-slogan__features li {
  font-size: 14px; color: #333; line-height: 1.45;
  max-width: 200px;
  padding-left: 16px;
  border-left: 1px solid var(--color-line);
}
@media (max-width: 767px) {
  .brand-slogan__features { flex-direction: column; justify-content: flex-start; gap: 16px; }
  .brand-slogan__features li { max-width: none; }
}

/* ---------- Image cards ---------- */
.image-cards__grid { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .image-cards__grid--2, .image-cards__grid--3, .image-cards__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
.image-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-gray); }
.image-card--full { grid-column: 1 / -1; }
.image-card__media img { width: 100%; aspect-ratio: 1648 / 1280; object-fit: cover; transition: transform 0.5s ease; }
.image-card--full .image-card__media img { aspect-ratio: 2752 / 1000; }
.image-card:hover .image-card__media img { transform: scale(1.03); }
.image-card__content {
  position: absolute; left: 28px; right: 28px; bottom: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  pointer-events: none;
}
.image-card__content .btn { pointer-events: auto; }
.image-card--dark .image-card__content { color: #fff; }
.image-card__award {
  position: absolute; bottom: calc(100% + 160px); left: 0;
  font-size: 11px; opacity: 0.85;
}
.image-card__title { margin: 0; font-size: 22px; font-weight: 600; }
.image-card__desc { margin: 0; font-size: 13px; opacity: 0.9; }
@media (min-width: 1441px) {
  .image-card__title { font-size: 26px; }
  .image-card__content { left: 36px; bottom: 32px; }
}

/* ---------- Category tiles ---------- */
.category-nav__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.category-nav__row::-webkit-scrollbar { display: none; }
.category-tile {
  scroll-snap-align: start;
  background: var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 22px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 13.5px; font-weight: 500;
  text-align: center;
  transition: background var(--transition);
}
.category-tile:hover { background: #ebebee; }
.category-tile img { width: 92px; height: 92px; object-fit: contain; }
.category-tile__placeholder { width: 92px; height: 92px; }

/* ---------- Accordion cards ---------- */
.accordion-cards { padding-block: 56px; }
.accordion-cards--dark { background: #000; color: #fff; }
.accordion-cards__row { display: flex; gap: 10px; height: 420px; }
.accordion-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 0;
}
.accordion-card.is-active { flex: 7; }
.accordion-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.accordion-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.62));
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}
.accordion-card.is-active .accordion-card__overlay { opacity: 1; }
.accordion-card__text h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.accordion-card__text p { margin: 0; font-size: 13px; opacity: 0.92; }
.accordion-card__overlay > span {
  margin-top: 10px;
  background: #fff; color: #111;
  padding: 10px 16px; font-size: 14px; font-weight: 600;
}
@media (max-width: 767px) {
  .accordion-cards--dark { background: #fff; color: #111; padding-block: 12px 8px; }
  .accordion-cards--dark .section-heading { color: #111; }
  .accordion-cards__row {
    flex-direction: row;
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 8px;
  }
  .accordion-cards__row::-webkit-scrollbar { display: none; }
  .accordion-card,
  .accordion-card.is-active {
    flex: 0 0 84%;
    height: 460px;
    scroll-snap-align: start;
  }
  .accordion-card__overlay { opacity: 1; }
}

/* ---------- Product card ---------- */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media {
  position: relative;
  display: block;
  background: var(--color-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-card__media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__ribbon {
  position: absolute; top: 0; left: 14px; z-index: 2;
  background: linear-gradient(180deg, #00d2ff, var(--color-accent));
  color: #fff; text-align: center;
  padding: 8px 8px 12px;
  font-size: 12px; line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%);
  min-width: 46px;
}
.product-card__ribbon b { display: block; font-size: 14px; }
.product-card__quickview {
  position: absolute; top: 10px; right: 10px;
  color: #999; opacity: 0; transition: opacity var(--transition);
}
.product-card:hover .product-card__quickview { opacity: 1; }
.product-card__info { padding: 12px 2px 0; }
.product-card__swatches { display: flex; gap: 6px; margin-bottom: 6px; }
.product-card__swatch {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ccc; border: 1px solid rgba(0, 0, 0, 0.15);
}
.product-card__tag { font-size: 12px; font-weight: 700; }
.product-card__tag.is-hot { color: var(--color-hot); }
.product-card__tag.is-new { color: var(--color-new); }
.product-card__title {
  margin: 2px 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.product-card__desc { margin: 0 0 8px; font-size: 12.5px; color: var(--color-text-soft); }
.product-card__price { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 600; }
.price-compare { color: #999; font-weight: 400; font-size: 13px; }

/* swatch colors */
[data-color='black'] { background: #000; }
[data-color='white'] { background: #fff; }
[data-color='blue'], [data-color='ocean-blue'] { background: #2d6fca; }
[data-color='navy'], [data-color='navy-blue'] { background: #1c2b4a; }
[data-color='green'] { background: #2e7d4f; }
[data-color='pink'] { background: #e8a0bf; }
[data-color='purple'] { background: #7a5fa8; }
[data-color='gold'], [data-color='champagne'] { background: #d9c19a; }
[data-color='silver'], [data-color='gray'], [data-color='grey'] { background: #b9b9bd; }
[data-color='red'] { background: #c0392b; }

/* ---------- Product shelf ---------- */
.shelf-tabs { display: inline-flex; background: var(--color-gray); border-radius: var(--radius); padding: 3px; margin-bottom: 24px; }
.shelf-tab {
  border: 0; background: transparent;
  padding: 9px 18px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius);
  color: #333;
}
.shelf-tab.is-active { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.shelf-panel.is-hidden { display: none; }
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 20px 16px;
  overflow: visible;
}
@media (max-width: 1100px) {
  .shelf-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 46vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
}
.shelf-grid::-webkit-scrollbar { display: none; }
[data-carousel] { cursor: grab; user-select: none; -webkit-user-select: none; }
[data-carousel]:active { cursor: grabbing; }
[data-carousel] img { -webkit-user-drag: none; }
.shelf-grid__item { scroll-snap-align: start; display: flex; flex-direction: column; }
.shelf-grid__item .product-card { flex: 1; }
.shelf-grid__actions { display: flex; gap: 8px; margin-top: 12px; }
.shelf-grid__actions .btn { flex: 1; padding-inline: 8px; }
.shelf-card { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.shelf-card__media {
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f7; border-radius: 8px; aspect-ratio: 1;
  overflow: hidden;
}
.shelf-card__media img { width: 78%; height: 78%; object-fit: contain; }
.shelf-card__title {
  margin: 14px 0 6px;
  font-size: 15px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.shelf-card__title a:hover { text-decoration: underline; }
.shelf-card__desc {
  margin: 0 0 10px;
  color: #666; font-size: 13px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
.shelf-card__price { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.shelf-card__price s { color: #999; font-size: 13px; font-weight: 400; }
.shelf-card__actions { display: flex; gap: 8px; margin-top: auto; }
.shelf-card__actions .btn { flex: 1; padding-inline: 6px; }

/* ---------- Member benefits ---------- */
.member-benefits {
  background: linear-gradient(115deg, #00b2f5, #00c2ff 55%, #00aef2);
  color: #fff;
  padding-block: 72px;
  position: relative;
  overflow: hidden;
}
.member-benefits::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(65deg, transparent 42%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.12) 58%, transparent 58%);
}
.member-benefits__title { position: relative; margin: 0 0 32px; font-size: 34px; font-weight: 600; }
@media (min-width: 1025px) { .member-benefits__title { font-size: 44px; } }
.member-benefits__grid {
  position: relative;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1025px) { .member-benefits__grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-tile { background: #fff; color: #000; padding: 20px; border-radius: 2px; }
.benefit-tile__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 26px; }
.benefit-tile__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.benefit-tile p { margin: 0; font-size: 14.5px; }
.member-benefits__cta {
  position: relative;
  margin-top: 10px;
  background: #0a0a0a; color: #fff;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 768px) { .member-benefits__cta { grid-template-columns: 1.1fr 1fr; } }
.member-benefits__cta-text { padding: 36px; }
.member-benefits__cta-text h3 { margin: 0 0 10px; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.member-benefits__cta-text p { margin: 0 0 20px; font-size: 13.5px; color: #c9c9c9; max-width: 420px; }
.member-benefits__cta-actions { display: flex; gap: 12px; }
.member-benefits__cta img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Offer cards ---------- */
.offer-cards--gray { background: var(--color-gray); padding-block: 72px; }
.offer-cards--gray .container > .section-heading { margin-top: 0; }
.offer-cards__grid {
  display: grid;
  grid-auto-flow: column;
  /* Reference shows ~404px cards in a draggable strip, not a fit-all grid */
  grid-auto-columns: min(404px, 80vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.offer-cards__grid::-webkit-scrollbar { display: none; }
.offer-card { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; }
.offer-card--dark { background: #000; color: #fff; }
/* Source art is full-card background (809x961); text is overlaid at the bottom */
.offer-card__media img { width: 100%; aspect-ratio: 809 / 961; object-fit: cover; }
.offer-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 24px 24px; }
.offer-card__body h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.offer-card__body p { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: inherit; }
@media (max-width: 767px) {
  .offer-card__body p { font-size: 22px; }
}
.offer-card__cta { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.offer-card__overlay-title {
  position: absolute; left: 18px; bottom: 14px; margin: 0;
  color: #fff; font-size: 18px;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.testimonials__grid::-webkit-scrollbar { display: none; }
.review-card {
  background: var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
}
.review-card__head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.review-card__name { margin: 0 0 4px; font-weight: 600; font-size: 13.5px; }
.review-card__stars { color: #ff7324; display: flex; gap: 2px; }
.review-card__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #e4e4e7; color: #555;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.review-card__avatar--img { object-fit: cover; background: none; }
.review-card__quote { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; flex: 1; }
.review-card__product {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 12.5px;
}
.review-card__product img { width: 46px; height: 46px; object-fit: contain; }

/* ---------- Blog cards ---------- */
.blog-cards { margin-bottom: 36px; }
@media (min-width: 1025px) { .blog-cards { margin-bottom: 56px; } }
.blog-cards__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.blog-cards__grid::-webkit-scrollbar { display: none; }
.blog-cards__grid--page { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
.blog-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: #000; }
.blog-card__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; opacity: 0.92; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__title {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  margin: 0; color: #fff; font-size: 16px; line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__meta { position: absolute; left: 16px; bottom: -6px; color: #fff; font-size: 12px; }
.blog-card--page { display: flex; flex-direction: column; min-height: 0; background: var(--color-gray); color: #111; }
.blog-card--page .blog-card__media img { aspect-ratio: 16 / 10; opacity: 1; }
.blog-card--page .blog-card__title,
.blog-card--page .blog-card__meta { position: static; color: #111; text-shadow: none; margin: 0; }
.blog-card--page .blog-card__title { padding: 16px 16px 6px; font-size: 16px; }
.blog-card--page .blog-card__meta { padding: 0 16px 16px; }

.woocommerce form .form-row { display: block; margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  max-width: 480px;
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  padding: 8px 12px;
  background: #fff;
  font-size: 14px;
}
.woocommerce form textarea.input-text { min-height: 120px; }
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword { max-width: 520px; }
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  background: #080a0f;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: var(--color-brand);
  color: #fff;
}
.woocommerce-form-login__submit { margin-top: 8px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.cart-item--page .cart-item__media { flex-basis: 120px; }
.cart-page .qty-stepper input {
  width: 64px;
  height: 40px;
  border: 1px solid var(--color-line);
  text-align: center;
}

/* ---------- Brand video ---------- */
.brand-video { position: relative; overflow: hidden; background: #000; }
.brand-video__bg { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
@media (max-width: 767px) { .brand-video__bg { aspect-ratio: 4 / 5; } }
.brand-video__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 14px; padding-bottom: 48px;
  color: #fff;
}
.brand-video__modal { position: fixed; inset: 0; z-index: 150; }
.brand-video__modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); }
.brand-video__modal-frame {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1080px);
}
.brand-video__modal-close { position: absolute; top: -44px; right: 0; color: #fff; }
.brand-video__embed { aspect-ratio: 16 / 9; }
.brand-video__embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footnote ---------- */
.campaign-page { background: #fff; }
.campaign-picture { margin: 0; line-height: 0; }
.campaign-picture img,
.campaign-card img {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center top;
}
.campaign-heading {
  margin: 0;
  padding: 56px 24px 8px;
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}
.campaign-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}
.campaign-card {
  flex: 1 1 260px;
  max-width: 380px;
  background: #f6f6f6;
}
.campaign-products { padding-block: 28px 72px; }
.section-footnote { background: #000; }
.footnote { color: #8a8a8a; font-size: 11.5px; line-height: 1.6; padding-block: 28px; }
.footnote p { margin: 0 0 10px; }
.footnote a { color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; padding-block: 36px 32px; }
.footer-subscribe {
  background: #0f0f0f;
  border-radius: 2px;
  padding: 40px;
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 1025px) { .footer-subscribe { grid-template-columns: 1.4fr 1fr 0.8fr; } }
.footer-subscribe__note { margin: 0 0 6px; font-size: 12.5px; color: #bbb; }
.footer-subscribe h2 { margin: 0 0 18px; font-size: 24px; font-weight: 600; }
.footer-subscribe__row { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-subscribe__row input {
  flex: 1;
  background: #1c1c1c; border: 1px solid #333; color: #fff;
  padding: 12px 14px; border-radius: var(--radius); font-size: 13.5px;
}
.footer-subscribe__perks h3, .footer-subscribe__benefits h3 { margin: 0 0 16px; font-size: 15px; }
.footer-subscribe__perks li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: #ccc; margin-bottom: 12px;
}
.footer-subscribe__benefits li { margin-bottom: 12px; }
.footer-subscribe__benefits a { color: #ccc; font-size: 13px; }
.footer-subscribe__benefits a:hover { color: #fff; }

.nl-check { display: flex; gap: 8px; font-size: 12px; color: #666; margin-bottom: 8px; align-items: flex-start; }
.nl-check input { margin-top: 2px; accent-color: var(--color-accent); }
.nl-check a { text-decoration: underline; }
.nl-check--dark { color: #999; }

.footer-trust { border-block: 1px solid #222; padding-block: 20px; margin-bottom: 40px; }
.footer-trust h3 { margin: 0 0 14px; font-size: 15px; }
.footer-trust ul { display: flex; flex-wrap: wrap; gap: 18px 56px; }
.footer-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #ddd; }

.footer-menus { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); margin-bottom: 44px; }
@media (min-width: 1025px) { .footer-menus { grid-template-columns: repeat(4, 1fr); } }
.footer-menu h3 { margin: 0 0 18px; font-size: 15px; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: #b9b9b9; font-size: 13px; }
.footer-menu a:hover { color: #fff; }
.footer-contact { color: #b9b9b9; font-size: 13px; line-height: 1.8; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #1d1d1f;
  display: flex; align-items: center; justify-content: center;
  color: #ddd;
}
.footer-payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.payment-icon { height: 22px; width: auto; }

.footer-brands {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-block: 22px;
  border-top: 1px solid #222;
}
.footer-brands__logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brands__logos .board-bar__wordmark { font-size: 15px; color: #fff; }
.footer-locale {
  background: none; border: 0; color: #ddd;
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}

.footer-disclaimer {
  font-size: 11.5px;
  color: #8a8a8a;
  line-height: 1.6;
  margin: 28px 0 0;
  max-width: 860px;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid #222;
  font-size: 12px; color: #8a8a8a;
}
.footer-policies { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-policies a { color: #b9b9b9; }
.footer-policies a:hover { color: #fff; }

/* ---------- Newsletter popup ---------- */
.nl-popup { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.nl-popup[aria-hidden='false'] { visibility: visible; }
.nl-popup__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0; transition: opacity var(--transition);
}
.nl-popup[aria-hidden='false'] .nl-popup__overlay { opacity: 1; }
.nl-popup__panel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(92vw, 340px);
  background: #fff; border-radius: var(--radius-lg);
  padding: 26px 24px;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.nl-popup[aria-hidden='false'] .nl-popup__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.nl-popup__close { position: absolute; top: 10px; right: 10px; }
.nl-popup__title { margin: 0 0 16px; font-size: 19px; text-align: center; }
.nl-popup__art { margin: 0 auto 16px; }
.nl-popup__art--fallback {
  background: linear-gradient(135deg, #9be2ff, #d9f4ff);
  border-radius: var(--radius);
  height: 150px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.nl-coupon {
  background: var(--color-accent); color: #fff;
  padding: 14px 16px; border-radius: 6px;
  text-align: center; font-weight: 700;
  transform: rotate(-4deg);
}
.nl-coupon b { font-size: 24px; display: block; }
.nl-coupon em { font-style: normal; font-size: 11px; }
.nl-coupon--alt { background: #fff; color: #0076a8; transform: rotate(5deg); }
.nl-popup__form input[type='email'] {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  margin-bottom: 12px; font-size: 14px;
}
.nl-popup__signin { text-align: center; font-size: 12.5px; margin: 12px 0 0; }
.nl-popup__signin a { color: var(--color-accent); text-decoration: underline; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  z-index: 160;
  visibility: hidden;
}
.cart-drawer[aria-hidden='false'] { visibility: visible; }
.cart-drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity var(--transition);
}
.cart-drawer[aria-hidden='false'] .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: min(420px, 100%);
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.cart-drawer[aria-hidden='false'] .cart-drawer__panel { transform: none; }
.cart-drawer__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-line);
}
.cart-drawer__header h2 { margin: 0; font-size: 17px; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-drawer__empty { text-align: center; padding-top: 60px; }
.cart-item { display: flex; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--color-line); position: relative; min-width: 0; }
.cart-item__media { flex: 0 0 80px; }
.cart-item__media img { width: 80px; height: 80px; object-fit: contain; background: var(--color-gray); border-radius: var(--radius); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__title { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 4px; padding-right: 28px; }
.cart-item__variant { margin: 0 0 8px; font-size: 12px; color: var(--color-text-soft); }
.cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-item__price { font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: baseline; }
.cart-item__price s { color: #999; font-weight: 400; font-size: 12px; }
.cart-item__remove { position: absolute; top: 14px; right: 0; color: #999; }
.cart-item__remove-link { font-size: 12.5px; color: #999; text-decoration: underline; }

.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--color-line); border-radius: var(--radius);
}
.qty-stepper button { background: none; border: 0; padding: 8px 10px; display: flex; }
.qty-stepper input {
  width: 40px; border: 0; text-align: center; font-size: 13.5px;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-inner-spin-button { display: none; }

.cart-drawer__footer { border-top: 1px solid var(--color-line); padding: 16px 20px 20px; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 8px; }
.cart-drawer__note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--color-text-soft); margin: 0 0 14px; }
.cart-drawer__viewcart { display: block; text-align: center; margin-top: 12px; font-size: 13px; text-decoration: underline; }

/* ---------- Search modal ---------- */
.search-modal { position: fixed; inset: 0; z-index: 170; visibility: hidden; }
.search-modal[aria-hidden='false'] { visibility: visible; }
.search-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity var(--transition); }
.search-modal[aria-hidden='false'] .search-modal__overlay { opacity: 1; }
.search-modal__panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: #fff;
  padding: 20px max(20px, calc((100vw - var(--container)) / 2 + 48px)) 28px;
  transform: translateY(-100%);
  transition: transform var(--transition);
  max-height: 80vh; overflow-y: auto;
}
.search-modal[aria-hidden='false'] .search-modal__panel { transform: none; }
.search-modal__form {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #e6e6e6; padding-bottom: 12px;
}
.search-modal__form input[type='search'] {
  flex: 1; border: 0; font-size: 16px; outline: none; background: transparent; min-width: 0;
}
.search-modal__form input[type='search']::-webkit-search-cancel-button { appearance: none; }
.search-kicker { margin: 22px 0 12px; font-size: 14px; color: #666; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.search-chip { font-size: 14px; color: #111; }
.search-chip:hover { color: var(--color-brand); }
.search-suggest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.search-suggest__card {
  display: flex; align-items: center; gap: 12px;
  min-height: 96px; padding: 10px 12px;
  background: #f5f5f7; border-radius: 8px; color: #111;
}
.search-suggest__card img {
  width: 72px; height: 72px; object-fit: contain; flex: 0 0 auto; background: transparent;
}
.search-suggest__card span {
  font-size: 13px; line-height: 1.35; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.search-suggest__more { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: underline; }
.search-empty { margin: 18px 0; color: #666; }
@media (max-width: 900px) {
  .search-modal__panel { padding: 16px 16px 24px; max-height: 100vh; }
  .search-suggest { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .search-suggest { grid-template-columns: 1fr; }
}

/* ---------- Product page ---------- */
.product-subnav {
  position: sticky; top: 64px; z-index: 80;
  background: #fff; border-bottom: 1px solid var(--color-line);
}
@media (min-width: 1025px) { .product-subnav { top: 108px; } }
.product-subnav__inner { display: flex; justify-content: space-between; align-items: center; height: 52px; gap: 16px; min-width: 0; }
.product-subnav__title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.product-subnav__links { display: none; gap: 22px; }
@media (min-width: 768px) { .product-subnav__links { display: flex; } }
.product-subnav__links a { font-size: 13.5px; color: #444; }
.product-subnav__links a:hover { color: #000; }

.product-main { display: grid; gap: 36px; padding-block: 28px 56px; min-width: 0; }
@media (min-width: 1025px) {
  .product-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .product-info {
    position: sticky;
    top: 108px;
    align-self: start;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
  }
}

.product-gallery,
.product-info { min-width: 0; max-width: 100%; }
body.single-product { padding-bottom: 88px; }
.product-gallery { position: relative; }
.product-gallery__duo { display: none; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-gallery.has-duo:not(.is-single) .product-gallery__duo { display: grid; }
.product-gallery.has-duo:not(.is-single) .product-gallery__main { display: none; }
.product-gallery__duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.save-box {
  display: flex; align-items: center; gap: 14px;
  background: #e7f8ff; border-radius: 8px; padding: 14px 16px; margin: 14px 0;
}
.save-box b { font-size: 22px; color: #00a7e1; }
.buy-specs { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); margin: 8px 0 16px; }
.buy-specs summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.buy-specs summary::-webkit-details-marker { display: none; }
.buy-specs dl { margin: 0 0 14px; }
.buy-specs dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-line); font-size: 13px; }
.buy-specs dt { font-weight: 600; }
.buy-specs dd { margin: 0; color: #333; }
.pdp-overview { padding: 28px 0 8px; }
.pdp-overview__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.pdp-overview__head h2 { margin: 0; font-size: 28px; }
.pdp-overview__head a { color: #00a7e1; font-weight: 600; }
.pdp-ksp { display: flex; flex-direction: column; gap: 12px; }
.pdp-ksp__stack { display: flex; flex-direction: column; }
.pdp-ksp__stack img { width: 100%; height: auto; display: block; }
.pdp-ksp__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.pdp-ksp__tile { position: relative; grid-column: span var(--span, 6); overflow: hidden; border-radius: 8px; background: #f3f4f6; min-height: 280px; }
.pdp-ksp__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-ksp__tile figcaption {
  position: absolute; left: 16px; top: 16px; right: 16px;
  color: #111; font-size: 22px; font-weight: 700; line-height: 1.2;
  text-shadow: 0 0 8px #fff, 0 1px 0 #fff;
}
@media (max-width: 767px) {
  .product-gallery.has-duo:not(.is-single) .product-gallery__duo { display: none; }
  .product-gallery.has-duo:not(.is-single) .product-gallery__main { display: block; }
  .pdp-ksp__row { grid-template-columns: 1fr; }
  .pdp-ksp__tile { grid-column: auto; min-height: 0; }
  .pdp-ksp__tile img { position: static; height: auto; object-fit: contain; }
  .pdp-ksp__tile figcaption { font-size: 18px; }
}
.product-gallery__ribbon { top: 0; left: 14px; }
.product-gallery__main { position: relative; background: var(--color-gray); border-radius: var(--radius-lg); overflow: hidden; width: 100%; }
.product-gallery__slide { display: none; width: 100%; }
.product-gallery__slide.is-active { display: block; }
.product-gallery__slide img,
.product-gallery__slide video,
.product-gallery__slide iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85); border: 0; border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }
.gallery-media { position: relative; min-width: 0; }
.gallery-modes {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  background: #fff;
}
.gallery-modes button {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: #f3f3f3; color: #111;
  border-radius: 6px; padding: 8px 14px;
  font-size: 13px; font-weight: 700;
}
.gallery-modes button.is-active { background: #111; color: #fff; }
.gallery-stage { background: #0b0b0d; border-radius: 8px; overflow: hidden; }
.gallery-stage[hidden] { display: none !important; }
.gallery-stage iframe,
.gallery-stage model-viewer {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border: 0;
  background: #0b0b0d;
  display: block;
}
.product-gallery.is-video .product-gallery__duo,
.product-gallery.is-video .product-gallery__main,
.product-gallery.is-video .product-gallery__thumbs,
.product-gallery.is-video .product-gallery__ribbon,
.product-gallery.is-model .product-gallery__duo,
.product-gallery.is-model .product-gallery__main,
.product-gallery.is-model .product-gallery__thumbs,
.product-gallery.is-model .product-gallery__ribbon { display: none !important; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.product-gallery__thumb {
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 0; background: var(--color-gray); flex: 0 0 auto;
  overflow: hidden;
}
.product-gallery__thumb.is-active { border-color: #000; }
.product-gallery__thumb[hidden], .product-gallery__slide[hidden] { display: none !important; }
.product-gallery__thumb img { width: 68px; height: 68px; object-fit: contain; }

.product-info__title { margin: 6px 0 12px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.product-info__price { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.product-info__price-current { font-size: 26px; font-weight: 700; }
.product-info__price-compare { color: #999; font-size: 15px; }
.save-chip {
  background: var(--color-save-bg); color: #000;
  font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px;
}

.coupon-card {
  display: flex; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 18px; border: 1px solid #bfe9fb;
}
.coupon-card__save {
  background: linear-gradient(160deg, #29b6f6, #0076c0);
  color: #fff; font-weight: 700;
  display: flex; align-items: center;
  padding: 16px 18px; font-size: 16px;
}
.coupon-card__body { padding: 12px 16px; font-size: 13px; background: #f2fbff; flex: 1; }
.coupon-card__body p { margin: 0; }

.key-features { margin: 8px 0 18px; }
.key-features__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 8px;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}
.key-features ul { padding-left: 18px; margin: 0; font-size: 14px; line-height: 1.7; color: #222; }
.features-modal[hidden] { display: none !important; }
.features-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.features-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.features-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px));
  max-height: min(78vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}
.features-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 12px;
  padding: 18px 18px 12px 22px;
  border-bottom: 1px solid #eee;
}
.features-modal__head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.features-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.features-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 22px 22px;
}
.features-modal__body section { padding: 14px 0; }
.features-modal__body h3 { margin: 0 0 6px; font-size: 16px; }
.features-modal__body p { margin: 0; color: #444; font-size: 14px; line-height: 1.55; }
@media (max-width: 767px) {
  .features-modal__panel {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    height: auto;
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: 16px 16px 0 0;
  }
  .features-modal__body {
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

.product-options { margin-bottom: 16px; }
.product-option { border: 0; padding: 0; margin: 0 0 14px; }
.product-option legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.product-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { position: relative; cursor: pointer; }
.option-chip input { position: absolute; opacity: 0; }
.option-chip__label {
  display: inline-block;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 8px 14px; font-size: 13px;
  transition: border-color var(--transition);
}
.option-chip input:checked + .option-chip__label,
.option-chip input:checked ~ .option-chip__label { border-color: #000; font-weight: 600; }
.option-chip--swatch .option-chip__swatch {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  vertical-align: middle; margin-right: 6px;
}
.option-chip--swatch input:checked ~ .option-chip__swatch { outline: 2px solid #000; outline-offset: 2px; }

.product-qty h4 { margin: 0 0 8px; font-size: 14px; }
.product-stock { font-size: 12.5px; color: var(--color-text-soft); margin: 10px 0 16px; }
.product-shipping-note { border-top: 1px solid var(--color-line); padding-top: 14px; margin: 14px 0 16px; }
.product-shipping-note strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.product-shipping-note p { margin: 0; font-size: 12.5px; color: var(--color-text-soft); }
.product-shipping-note a { text-decoration: underline; }
.product-buy { display: flex; gap: 12px; margin-bottom: 20px; }
.product-buy .btn { flex: 1; min-width: 0; }

.product-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--color-line); padding-top: 18px; }
.product-trust li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #333; }

.product-overview { background: var(--color-gray); padding-block: 48px; }
.product-specs { padding-block: 56px; }
.specs-table { margin: 0; }
.specs-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  border-bottom: 1px solid var(--color-line);
  padding-block: 14px;
}
.specs-row dt { font-weight: 600; font-size: 13.5px; }
.specs-row dd { margin: 0; font-size: 13.5px; color: #333; }
@media (max-width: 640px) { .specs-row { grid-template-columns: 1fr; gap: 4px; } }

.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none; cursor: pointer;
  padding-block: 18px;
  font-size: 15px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item__body { padding-bottom: 18px; }

.product-reviews { padding-block: 40px 72px; }

.product-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  background: #fff; border-top: 1px solid var(--color-line);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
}
.product-sticky-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 16px;
  min-width: 0;
}
.product-sticky-bar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.product-sticky-bar__title {
  font-weight: 600;
  font-size: 13.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.product-sticky-bar__pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.product-sticky-bar__price { font-weight: 700; font-size: 16px; }
.product-sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  body.single-product { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
  .section-main-product {
    padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }
  .product-sticky-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .product-sticky-bar__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 10px;
    gap: 8px;
  }
  .product-sticky-bar__meta {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .product-sticky-bar__actions {
    width: 100%;
  }
  .product-sticky-bar__actions .btn {
    flex: 1;
    min-width: 0;
  }
}

/* ---------- Collection page ---------- */
.collection-banner { position: relative; min-height: 180px; display: flex; align-items: center; overflow: hidden; }
.collection-banner--plain { background: #fff; min-height: 0; }
.collection-banner--plain .collection-banner__content { padding-block: 28px 8px; }
.collection-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-banner__content { position: relative; padding-block: 36px; max-width: none; width: 100%; }
.collection-banner__content h1 { margin: 0 0 8px; font-size: 32px; }
.collection-banner__content p { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.6; }
@media (min-width: 1025px) {
  .collection-banner:not(.collection-banner--plain) { min-height: 320px; }
  .collection-banner__content h1 { font-size: 40px; }
}

.collection-trust { background: #eaf7fd; overflow: hidden; }
.collection-trust__track {
  display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap;
  padding: 14px 24px;
}
.collection-trust__track::-webkit-scrollbar { display: none; }
.collection-trust__track span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #0b3c53; }
.collection-trust__track svg { color: var(--color-accent); }

.breadcrumbs { display: flex; gap: 8px; align-items: center; padding-block: 18px; font-size: 12.5px; color: var(--color-text-soft); }
.breadcrumbs a:hover { color: #000; }

.collection-best { margin-block: 16px 40px; }
.collection-best__row {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
}
.collection-best__row::-webkit-scrollbar { display: none; }
.collection-best__item { scroll-snap-align: start; }

.collection-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px;
  padding-block: 16px;
  border-top: 1px solid var(--color-line);
}
.collection-toolbar__filter {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0;
  font-size: 13.5px; font-weight: 600; text-decoration: underline;
}
.collection-toolbar__count { color: var(--color-text-soft); font-size: 13px; flex: 1; white-space: nowrap; }
.collection-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.collection-toolbar__sort select { border: 0; font-size: 13px; font-weight: 600; background: transparent; max-width: 100%; }

.collection-layout { display: block; padding-bottom: 56px; }
@media (min-width: 1025px) {
  .collection-layout:has(.collection-filters) {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
}
.collection-filters { font-size: 13px; }
.filter-group { border: 0; padding: 0; margin: 0 0 26px; }
.filter-group legend {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  font-weight: 700; font-size: 13.5px; margin-bottom: 12px;
}
.filter-check { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; cursor: pointer; }
.filter-check.is-disabled { opacity: 0.4; }
.filter-check input { accent-color: #000; }
.filter-price { display: flex; align-items: center; gap: 8px; }
.filter-price input { width: 90px; padding: 8px; border: 1px solid var(--color-line); border-radius: var(--radius); }
.collection-filters__actions { margin-top: 8px; }
.collection-filters__clear { display: inline-block; margin-top: 10px; color: var(--color-accent); text-decoration: underline; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}
.collection-grid > * { min-width: 0; }
@media (min-width: 768px) { .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.collection-empty { grid-column: 1 / -1; text-align: center; padding-block: 48px; color: var(--color-text-soft); }

.pagination,
.woocommerce-pagination { margin-block: 40px 56px; }
.pagination,
.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-pagination ul.page-numbers li { margin: 0; padding: 0; list-style: none; }
.pagination a,
.pagination span,
.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 8px;
  font-size: 14px;
  font-weight: 600;
}
.pagination a:hover,
.woocommerce-pagination ul.page-numbers a:hover { background: var(--color-gray); }
.pagination .is-current,
.woocommerce-pagination span.current { background: #000; color: #fff; }
@media (max-width: 767px) {
  .woocommerce-pagination ul.page-numbers { gap: 4px; flex-wrap: nowrap; }
  .woocommerce-pagination ul.page-numbers a,
  .woocommerce-pagination ul.page-numbers span {
    min-width: 32px;
    height: 32px;
    padding-inline: 4px;
    font-size: 13px;
  }
}

.collection-extra { padding-block: 32px; color: #444; }
.collection-faq { padding-block: 24px 64px; }

/* ---------- Cart page ---------- */
.cart-page { padding-block: 32px 72px; }
.cart-page__empty { text-align: center; padding-block: 64px; }
.cart-page__empty .btn { margin-top: 16px; }
.cart-page__layout { display: grid; gap: 32px; }
@media (min-width: 1025px) { .cart-page__layout { grid-template-columns: 1fr 340px; align-items: start; } }
.cart-item--page .cart-item__media img { width: 120px; height: 120px; }
.cart-page__summary { background: var(--color-gray); border-radius: var(--radius-lg); padding: 24px; }
.cart-page__summary h2 { margin: 0 0 16px; font-size: 18px; }
.cart-page__subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 10px; }
.cart-page__summary .btn { margin-top: 10px; }

/* ---------- Search page ---------- */
.search-page { padding-block: 32px 72px; }
.search-page__form {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 6px 6px 6px 16px;
  max-width: 560px; margin-bottom: 28px;
}
.search-page__form input { flex: 1; border: 0; outline: none; font-size: 15px; }
.search-page__empty { color: var(--color-text-soft); }
.search-page__count { color: var(--color-text-soft); margin-bottom: 20px; }
.search-result-page { border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 20px; }
.search-result-page p { color: var(--color-text-soft); font-size: 13px; }

/* ---------- Blog / article ---------- */
.blog-page { padding-block: 32px 72px; }
.article-page { padding-block: 16px 72px; }
.article-page__inner { max-width: 860px; }
.article-page__title { font-size: 32px; margin: 8px 0 8px; line-height: 1.2; }
.article-page__meta { color: var(--color-text-soft); font-size: 13px; margin-bottom: 24px; }
.article-page__hero { border-radius: var(--radius-lg); margin-bottom: 28px; }
.article-comments { margin-top: 48px; border-top: 1px solid var(--color-line); padding-top: 28px; }
.article-comments input, .article-comments textarea {
  display: block; width: 100%; margin-bottom: 12px;
  padding: 12px; border: 1px solid var(--color-line); border-radius: var(--radius);
}
.article-comment { border-bottom: 1px solid var(--color-line); padding-block: 14px; }
.article-comment__meta { font-size: 12.5px; color: var(--color-text-soft); }

/* ---------- Static page & 404 ---------- */
.static-page { padding-block: 40px 80px; max-width: 960px; }
.page-404 { text-align: center; padding-block: 96px; }
.page-404 h1 { font-size: 72px; margin: 0 0 8px; }
.page-404 .btn { margin: 18px 6px 0; }

/* ---------- Utility ---------- */
.color-dark { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Checkout ---------- */
body.woocommerce-checkout .announcement-bar,
body.woocommerce-checkout .site-header__nav,
body.woocommerce-checkout .site-header__icons,
body.woocommerce-checkout .site-footer { display: none !important; }
body.woocommerce-checkout .site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #eee; }
body.woocommerce-checkout .site-header__top { justify-content: center; min-height: 64px; }
body.woocommerce-checkout { background: #fff; }
body.woocommerce-checkout .main-content { padding: 0; }

.ard-checkout-page { position: relative; }
.woocommerce-form-coupon-toggle { display: none !important; }
.ard-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42vw);
  align-items: stretch;
  min-height: calc(100vh - 64px);
}
.ard-checkout__main {
  display: flex;
  justify-content: flex-end;
  padding: 28px 48px 72px 24px;
}
.ard-checkout__main-inner { width: min(560px, 100%); }
.ard-checkout__summary {
  background: #f5f5f5;
  padding: 28px 36px 64px;
}
.ard-checkout__summary-inner { width: min(440px, 100%); }
.ard-checkout__section {
  margin: 28px 0 14px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
}
.ard-checkout__section:first-child { margin-top: 0; }
.ard-checkout__secure { margin: -6px 0 14px; color: #666; font-size: 13px; }

.ard-checkout-page .form-row { position: relative; margin: 0 0 12px; float: none; width: auto; }
.ard-checkout-page .form-row label {
  position: absolute;
  left: 12px;
  top: 7px;
  z-index: 1;
  margin: 0;
  color: #737373;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}
.ard-checkout-page .form-row label .required { color: #737373; text-decoration: none; }
.ard-checkout-page .form-row .input-text,
.ard-checkout-page .form-row select,
.ard-checkout-page .form-row textarea,
.ard-checkout-page .select2-container .select2-selection--single {
  width: 100%;
  max-width: none;
  min-height: 52px;
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  padding: 18px 12px 4px;
  font-size: 14px;
  box-shadow: none;
}
.ard-checkout-page .form-row textarea { height: auto; min-height: 88px; padding-top: 22px; }
.ard-checkout-page .select2-container { width: 100% !important; max-width: none; }
.ard-checkout-page .select2-container .select2-selection__rendered {
  line-height: 30px;
  padding-left: 0;
  color: #111;
}
.ard-checkout-page .select2-container .select2-selection__arrow { height: 50px; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row { margin: 0; }
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_phone_field,
#shipping_country_field,
#shipping_address_1_field,
#shipping_address_2_field,
.woocommerce-additional-fields .form-row { grid-column: 1 / -1; }
#billing_first_name_field,
#shipping_first_name_field,
#billing_last_name_field,
#shipping_last_name_field { grid-column: span 3; }
#billing_city_field,
#shipping_city_field,
#billing_state_field,
#shipping_state_field,
#billing_postcode_field,
#shipping_postcode_field { grid-column: span 2; }
.ard-checkout__contact { display: block; }
#ship-to-different-address { margin: 8px 0 14px; font-size: 14px; font-weight: 500; }
#ship-to-different-address label { position: static; font-size: 14px; color: #111; }

.ard-review__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}
.ard-review__media { position: relative; width: 64px; height: 64px; }
.ard-review__media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}
.ard-review__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #666;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.ard-review__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.ard-review__copy .variation,
.ard-review__copy dl { margin: 4px 0 0; color: #666; font-size: 13px; }
.ard-review__copy dl { display: block; }
.ard-review__price { font-size: 14px; white-space: nowrap; }
.ard-coupon-gap { height: 58px; }
body.woocommerce-checkout form.checkout_coupon {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin: 0;
  position: absolute;
  z-index: 2;
  visibility: hidden;
}
body.woocommerce-checkout form.checkout_coupon .input-text {
  flex: 1;
  max-width: none;
  height: 46px;
  min-height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}
body.woocommerce-checkout form.checkout_coupon .button {
  min-height: 46px;
  padding: 0 16px;
  background: #f5f5f5;
  color: #111;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-weight: 600;
}
.ard-review__line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0;
  color: #333;
  font-size: 14px;
}
.ard-review__line--ship span:last-child { color: #888; font-size: 13px; }
.ard-review__line--total {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.ard-review__why { margin-top: 28px; }
.ard-review__why h2 { margin: 0 0 12px; font-size: 16px; }
.ard-review__why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ard-review__why li { position: relative; padding-left: 26px; font-size: 14px; color: #333; }
.ard-review__why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #111;
  border-radius: 50%;
}
.ard-shipping-empty {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #f6f6f6;
  color: #666;
  font-size: 14px;
}
.ard-checkout__summary .ard-review__shipping { display: none !important; }
.ard-shipping-table { width: 100%; border: 0; border-collapse: collapse; }
.ard-shipping-table th { display: none; }
.ard-shipping-table td { display: block; padding: 0; border: 0; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
}
.woocommerce-shipping-methods li.is-selected,
.woocommerce-shipping-methods li:has(input:checked) {
  border-color: #8ecfff;
  box-shadow: 0 0 0 1px #8ecfff;
}
.woocommerce-shipping-methods input {
  accent-color: #5eb6f0;
  width: 18px;
  height: 18px;
  margin: 0;
}
.woocommerce-shipping-methods label {
  position: static;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 650;
  pointer-events: auto;
}
.ard-ship-cost { font-weight: 600; white-space: nowrap; }
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.woocommerce-checkout #payment .wc_payment_method { margin: 0; border-bottom: 1px solid #eee; }
.woocommerce-checkout #payment .wc_payment_method:last-child { border-bottom: 0; }
.woocommerce-checkout #payment .wc_payment_method > input { margin: 14px 0 14px 16px; }
.woocommerce-checkout #payment .wc_payment_method > label {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 14px 8px;
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 650;
  pointer-events: auto;
}
.woocommerce-checkout #payment .payment_box {
  margin: 0;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #eee;
}
.woocommerce-checkout #payment fieldset.wc-credit-card-form,
.woocommerce-checkout #payment .wc-payment-form {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 14px 10px;
  border: 1px solid #8ecfff;
  border-radius: 10px;
  box-sizing: border-box;
  min-inline-size: 0;
  background: #fff;
}
.woocommerce-checkout #payment #wc-card-iframe-container,
.woocommerce-checkout #payment #wc-card-iframe-container iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  border: 0;
  overflow: hidden;
}
.woocommerce-checkout #payment .wc-gateway-secure-badge {
  width: 100%;
  justify-content: center;
}
.woocommerce-checkout #payment .payment_box::before,
.woocommerce-checkout #payment .payment_box::after { display: none; }
.woocommerce-checkout #payment .input-text,
.woocommerce-checkout #payment input,
.woocommerce-checkout #payment iframe { max-width: none; }
.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border-radius: 6px;
  background: #00befa;
  font-size: 16px;
}
.woocommerce-checkout #place_order:hover { background: #00a8e0; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 14px 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 0 16px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row label {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  pointer-events: auto;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input.input-checkbox {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #00befa;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text { flex: 1; }
.woocommerce-checkout .woocommerce-privacy-policy-link,
.woocommerce-checkout .woocommerce-terms-and-conditions-link {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .required {
  color: #e11d2e;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ard-checkout__grid { grid-template-columns: 1fr; }
  .ard-checkout__summary { order: -1; padding: 20px 16px; }
  .ard-checkout__main { padding: 8px 16px 48px; }
  .ard-checkout__summary-inner,
  .ard-checkout__main-inner { width: 100%; }
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
  #billing_first_name_field,
  #shipping_first_name_field,
  #billing_last_name_field,
  #shipping_last_name_field { grid-column: span 1; }
  #billing_city_field,
  #shipping_city_field,
  #billing_state_field,
  #shipping_state_field,
  #billing_postcode_field,
  #shipping_postcode_field,
  #billing_country_field,
  #billing_address_1_field,
  #billing_address_2_field,
  #billing_phone_field { grid-column: 1 / -1; }
}
