/** Shopify CDN: Minification failed

Line 4719:0 Unexpected "16px"

**/
/* =============================================
   UNIMART THEME — Main Stylesheet
   Brand: Smart Picks for Everyday Life
   ============================================= */

/* --- CSS Variables --- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-bg-dark: #0a1628;
  --color-text: #0d1b2a;
  --color-text-muted: #6b7a8d;
  --color-text-light: #ffffff;
  --color-primary: #1a6ef5;
  --color-primary-hover: #1258d0;
  --color-primary-light: #e8f0fe;
  --color-accent: #ff6b00;
  --color-accent-hover: #e05e00;
  --color-accent-light: #fff3eb;
  --color-navy: #0d1b2a;
  --color-border: #e4e7ec;
  --color-border-light: #f0f2f5;
  --color-shadow: rgba(13, 27, 42, 0.08);
  --color-shadow-md: rgba(13, 27, 42, 0.14);
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-sale: #dc2626;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --shadow-lg: 0 8px 32px var(--color-shadow-md);
  --color-border-card: rgba(26, 110, 245, 0.26);
  --color-border-card-hover: rgba(26, 110, 245, 0.34);
  --shadow-card: 0 8px 22px rgba(13, 27, 42, 0.1), 0 2px 8px rgba(26, 110, 245, 0.07);
  --shadow-card-hover: 0 12px 28px rgba(13, 27, 42, 0.12), 0 3px 10px rgba(26, 110, 245, 0.09);
  --transition: 0.18s ease;
  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-width: 1280px;
  --header-height: 52px;
  --hero-bg-start: #0d1b2a;
  --hero-bg-mid: #112240;
  --hero-bg-end: #0f3460;
  --hero-header-gradient: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-mid) 50%, var(--hero-bg-end) 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--color-text-muted); }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); box-shadow: 0 4px 16px rgba(26,110,245,0.3); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn-accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); box-shadow: 0 4px 16px rgba(255,107,0,0.3); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--color-accent);
  color: var(--color-text-light);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  border-bottom: none;
}
.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 40px 6px 16px;
  position: relative;
}
.announcement-bar__text {
  margin: 0;
  text-align: center;
  color: var(--color-text-light);
}
.announcement-bar a {
  color: var(--color-text-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}
.announcement-bar a:hover { color: rgba(255, 255, 255, 0.88); }
.announcement-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.announcement-bar__close:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* --- Header Group (sticky) --- */
.site-header-group {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hero-header-gradient);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header {
  position: relative;
  top: auto;
  z-index: auto;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-height);
}
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__logo img { height: 34px; width: auto; }
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.site-logo__wordmark {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.site-logo__accent {
  color: var(--color-accent);
}
.site-logo__cart {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.site-header__search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
}
.header-search-form {
  display: flex;
  align-items: center;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.header-search-form input {
  flex: 1;
  padding: 7px 14px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--color-text);
}
.header-search-form button {
  padding: 7px 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  transition: background var(--transition);
}
.header-search-form button:hover { background: var(--color-primary-hover); }
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.header-action-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.header-action-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hero-bg-start);
}
.header-mobile-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  transition: background var(--transition), color var(--transition);
}
.header-mobile-toggle:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.header-mobile-toggle svg { width: 24px; height: 24px; }

.header-action-btn--search {
  display: none;
}

/* --- Category Nav --- */
.category-nav {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: auto;
}
.category-nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 6px;
}
.category-nav__inner::-webkit-scrollbar { display: none; }
.category-nav__item {
  flex-shrink: 0;
  display: inline;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  border-radius: 0;
  transition: color var(--transition), opacity var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.category-nav__item:hover {
  color: rgba(255, 255, 255, 0.92);
  background: none;
  border: none;
}
.category-nav__item.active {
  color: var(--color-accent);
  background: none;
  border: none;
}
.category-nav__item--deal {
  color: #fff;
  background: none;
  border: none;
}
.category-nav__item--deal:hover {
  color: rgba(255, 255, 255, 0.92);
  background: none;
  border: none;
}
.category-nav__item--deal.active {
  color: var(--color-accent);
  background: none;
  border: none;
}

/* --- Mobile Nav Drawer --- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(340px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 1200;
  overflow: hidden;
  transition: left 0.25s ease;
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--hero-header-gradient);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.mobile-nav-drawer__header .site-logo__wordmark {
  color: var(--color-text-light);
}
.mobile-nav-drawer__header .site-logo__accent,
.mobile-nav-drawer__header .site-logo__cart {
  color: var(--color-accent);
}
.mobile-nav-drawer__close {
  padding: 6px;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-drawer__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mobile-nav-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 24px;
}
.mobile-nav-links {
  padding: 4px 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.mobile-nav-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover .mobile-nav-link__icon {
  background: #fff;
  color: var(--color-primary);
}
.mobile-nav-link__text {
  line-height: 1.3;
}
.mobile-nav-section {
  padding: 4px 0 2px;
  border-top: 1px solid var(--color-border-light);
}
.mobile-nav-section__label {
  margin: 0;
  padding: 10px 20px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.mobile-nav-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px 8px;
}

.mobile-nav-category-item {
  display: block;
}

.mobile-nav-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-navy);
  transition: background var(--transition);
}

.mobile-nav-category:hover {
  background: var(--color-primary-light);
}

.mobile-nav-category__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}

.mobile-nav-category__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-nav-category__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.mobile-nav-category__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-category__name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.mobile-nav-category__meta {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.mobile-nav-category__chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.unimart-mobile-categories-src {
  display: none !important;
}

body:not(.shopify-design-mode) .store-categories-anchor {
  display: none;
}
.store-categories-editor {
  margin: 12px 16px;
  padding: 14px 16px;
  border: 1px dashed var(--color-primary, #1a6ef5);
  border-radius: 8px;
  background: rgba(26, 110, 245, 0.06);
}
.store-categories-editor__title {
  margin: 0 0 6px;
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy, #0d1b2a);
}
.store-categories-editor__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted, #5a6472);
}
.store-categories-editor__count {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary, #1a6ef5);
}
.store-categories-editor__count--warn {
  color: var(--color-accent, #ff6b00);
}
.store-categories-editor__hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted, #5a6472);
}
.store-categories-preview {
  margin-top: 12px;
}
.mobile-nav-links--compact .mobile-nav-link {
  padding: 8px 20px;
  font-size: 0.86rem;
}
/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.products-section--marketplace .section-header {
  align-items: center;
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}
.products-section--marketplace .section-header h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}
.products-section--marketplace .section-label {
  font-size: 0.68rem;
  padding: 3px 8px;
  margin-bottom: 4px;
}
.products-section--marketplace .section-header__link {
  font-size: 0.78rem;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: #fff;
}
.products-section--marketplace .section-header__link:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.products-section--marketplace .section-footer__link {
  display: none;
}
.section-header h2 { margin-bottom: 4px; }
.section-header p { font-size: 0.9rem; }
.section-header__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}
.section-label {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* --- Hero Section --- */
.hero-section {
  background: var(--hero-header-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  max-height: 420px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,110,245,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 45%, rgba(26,110,245,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-backdrop__img {
  position: absolute;
  top: 50%;
  right: -6%;
  width: 72%;
  height: 140%;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.84) brightness(0.86);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 16%, rgba(0, 0, 0, 0.75) 28%, #000 38%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 16%, rgba(0, 0, 0, 0.75) 28%, #000 38%);
}
.hero-backdrop__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      102deg,
      var(--hero-bg-start) 0%,
      var(--hero-bg-mid) 18%,
      rgba(17, 34, 64, 0.94) 32%,
      rgba(17, 34, 64, 0.72) 42%,
      rgba(17, 34, 64, 0.38) 54%,
      rgba(15, 52, 96, 0.16) 66%,
      transparent 82%
    ),
    linear-gradient(to bottom, var(--hero-bg-mid) 0%, rgba(17, 34, 64, 0.45) 8%, transparent 20%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  min-height: inherit;
  max-height: inherit;
  display: flex;
  align-items: center;
}
.hero-content {
  width: 100%;
  padding: 28px 0;
}
.hero-content .container {
  width: 100%;
  max-width: min(520px, 100%);
}
@media (min-width: 1025px) {
  .hero-content {
    padding: 32px 40px 32px max(20px, calc((100vw - var(--max-width)) / 2 + 40px));
  }
  .hero-content .container {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero-backdrop__img {
    right: -4%;
    width: 68%;
    height: 150%;
  }
}
.hero-label {
  display: inline-block;
  background: rgba(26,110,245,0.2);
  color: #7eb3ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 10px;
}
.hero-title .accent { color: var(--color-accent); }
.hero-subtitle {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
  max-width: 420px;
  line-height: 1.55;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-buttons .btn-primary.hero-btn-shop {
  position: relative;
  z-index: 0;
  background: #fff;
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 12px rgba(26, 110, 245, 0.22),
    0 0 24px rgba(26, 110, 245, 0.08);
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}
.hero-buttons .btn-primary.hero-btn-shop::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 110, 245, 0.18) 0%,
    rgba(26, 110, 245, 0.06) 45%,
    transparent 72%
  );
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity var(--transition), filter var(--transition);
}
.hero-buttons .btn-primary.hero-btn-shop:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  box-shadow:
    0 0 26px rgba(26, 110, 245, 0.52),
    0 0 52px rgba(26, 110, 245, 0.22);
}
.hero-buttons .btn-primary.hero-btn-shop:hover::before {
  opacity: 1;
  filter: blur(12px);
}
/* --- Promo Cards --- */
.promo-cards { padding: 26px 0; }
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-card {
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  min-height: 140px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(13, 27, 42, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
}
.promo-card--new {
  background: linear-gradient(135deg, #1a6ef5 0%, #0f3460 100%);
  color: #fff;
}
.promo-card--deals {
  background: linear-gradient(135deg, #ff6b00 0%, #c94600 100%);
  color: #fff;
}
.promo-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}
.promo-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.promo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}
.promo-card:hover .promo-card__cta { background: rgba(255,255,255,0.3); }
.promo-card__deco {
  position: absolute;
  right: -20px;
  pointer-events: none;
  user-select: none;
}
.promo-card__deco--icon {
  right: 12px;
  font-size: inherit;
  opacity: 0.12;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-card__deco--icon .icon {
  width: 7rem;
  height: 7rem;
}

/* --- Category Strip (collection pages) --- */
.category-strip-section {
  background: #fff;
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0 10px;
  overflow: hidden;
}
.category-strip-section .category-grid-scroll-wrap::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

/* --- Homepage: hero above global category grid (layout order vs visual order) --- */
body.template-index {
  display: flex;
  flex-direction: column;
}
body.template-index #main-content {
  display: contents;
}
body.template-index #site-header-group,
body.template-index > .shopify-section-announcement-bar,
body.template-index .announcement-bar {
  order: 0;
}
body.template-index #main-content > .shopify-section:has(.hero-section) {
  order: 10;
}
body.template-index .store-categories-section {
  order: 11;
}
body.template-index #main-content > .shopify-section:not(:has(.hero-section)) {
  order: 12;
}
body.template-index .shopify-section:has(.site-footer) {
  order: 20;
}

/* --- Category Grid --- */
.category-grid-section {
  padding: 44px 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.category-grid-section--page-bottom {
  border-top: 1px solid var(--color-border-light);
}
.category-grid-section .section-header {
  margin-bottom: 16px;
}
.category-grid-scroll-wrap {
  position: relative;
}
.category-grid-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 48px;
  background: linear-gradient(to right, rgba(247, 248, 250, 0), var(--color-bg-alt));
  pointer-events: none;
  z-index: 1;
}
.category-grid-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 4px 0 8px;
}
.category-grid-scroll::-webkit-scrollbar {
  display: none;
}
.category-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  min-width: 100%;
  padding: 0 20px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 0 0 auto;
  width: 128px;
  scroll-snap-align: start;
  position: relative;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(26, 110, 245, 0.35) 70%, rgba(255, 107, 0, 0.4) 100%);
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}
.category-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-card-hover);
  transform: translateY(-4px);
}
@media (min-width: 768px) {
  .category-grid-scroll {
    scroll-padding-inline: 32px;
    margin: 0 -32px;
  }
  .category-grid {
    gap: 12px;
    padding: 0 32px;
  }
  .category-card {
    width: 146px;
  }
}
@media (min-width: 1200px) {
  .category-grid-scroll {
    scroll-padding-inline: 40px;
    margin: 0 -40px;
  }
  .category-grid {
    padding: 0 40px;
  }
  .category-card {
    width: 156px;
  }
}
@media (min-width: 769px) {
  .category-grid-scroll-wrap::after {
    display: none;
  }
  .category-grid-scroll {
    overflow-x: visible;
    margin: 0;
    scroll-snap-type: none;
    scroll-padding-inline: 0;
  }
  .category-grid {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
  }
  .category-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}
.category-card--image {
  padding: 0;
  text-align: left;
}
.category-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.category-card__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.category-card__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.category-card:hover .category-card__img {
  transform: scale(1.04);
}
.category-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-alt));
  color: var(--color-primary);
  opacity: 0.75;
}
.category-card__body {
  display: block;
  padding: 10px 11px 11px;
  width: 100%;
  border-top: 1px solid rgba(26, 110, 245, 0.12);
  transition: border-color 0.22s ease;
}
.category-card:hover .category-card__body {
  border-top-color: rgba(26, 110, 245, 0.18);
}
.category-card__name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-card:hover .category-card__name {
  color: var(--color-primary);
}
.category-card__count {
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* --- Product Grid & Cards (marketplace) --- */
.products-section { padding: 32px 0; }
.products-section--marketplace { padding: 22px 0; }

.related-section .product-grid,
.search-page .product-grid,
.collection-page__body .product-grid {
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-grid--marketplace {
  gap: 8px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .product-grid--marketplace { gap: 12px; }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .product-grid--marketplace { gap: 14px; }
}

@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
  .product-grid--marketplace { gap: 15px; }
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(26, 110, 245, 0.35) 70%, rgba(255, 107, 0, 0.4) 100%);
  opacity: 1;
  z-index: 4;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-card-hover);
}

.product-card__media {
  position: relative;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fafb 0%, #f0f2f5 100%);
}

.product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.product-card__img--primary {
  position: relative;
  z-index: 1;
}

.product-card__img--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
}

.product-card:hover .product-card__img--hover {
  opacity: 1;
}

.product-card__media-link:has(.product-card__img--hover):hover .product-card__img--primary {
  opacity: 0;
}

.product-card:hover .product-card__img--primary {
  transform: scale(1.04);
}

.product-card__badge--sale {
  top: 8px;
  left: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.35);
}

.product-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__badge--sale + .product-card__tag,
.product-card__badge--sale ~ .product-card__tag {
  top: auto;
  bottom: 8px;
  left: 8px;
}

.product-card__tag--new {
  background: var(--color-primary);
}

.product-card__wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 27, 42, 0.06);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  opacity: 0.92;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.product-card:hover .product-card__wishlist {
  opacity: 1;
}

.product-card__wishlist:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.12);
}

.product-card__quick-add {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
}

.product-card__quick-add-form {
  margin: 0;
}

.product-card__quick-add-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  border: 1px solid rgba(13, 27, 42, 0.06);
  box-shadow: 0 3px 10px rgba(13, 27, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-card__quick-add-icon {
  width: 18px;
  height: 18px;
}

.product-card__quick-add-plus {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  border: 1.5px solid #fff;
  pointer-events: none;
}

.product-card__quick-add-btn:hover .product-card__quick-add-plus {
  background: var(--color-primary-hover);
}

.product-card__quick-add-btn:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 110, 245, 0.35);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.product-card__placeholder-icon {
  opacity: 0.45;
}

.product-card__badge {
  position: absolute;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.product-card__quick-add-btn:active {
  transform: scale(0.94);
}

.product-card__quick-add-btn.is-added {
  background: var(--color-success);
  color: #fff;
}

.product-card__sold-out-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(13, 27, 42, 0.75);
  color: #fff;
}

.product-card__body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.product-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.product-card__title a:hover {
  color: var(--color-primary);
}

.product-card__price {
  margin-top: 2px;
}

.price--card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.price--card .price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.price--card .price__row--main {
  width: 100%;
}

.product-card .price-current,
.product-grid .price-current,
.price--card .price-current {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.price--card .price-compare {
  font-size: 0.68rem;
  color: #9aa5b4;
  text-decoration: line-through;
}

.price--card .price-savings {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.product-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-navy);
  font-weight: 600;
}

.product-card__rating svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.product-card__meta-sep {
  color: var(--color-border);
  font-weight: 400;
}

.product-card__reviews {
  font-weight: 500;
  color: var(--color-text-muted);
}

.product-card__sold {
  color: var(--color-text-muted);
}

.product-card__variants {
  margin: 0;
  font-size: 0.64rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.product-card__trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--color-success);
  line-height: 1.2;
}

.product-card__wishlist.is-active {
  color: #e53935;
}

.product-card__wishlist.is-active svg {
  fill: currentColor;
}

/* Product page & non-card price */
.price-current {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.price-compare {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-savings {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-sale);
  background: rgba(220, 38, 38, 0.08);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 26px 0;
}
.trust-bar .section-header { margin-bottom: 18px; }
.trust-bar--colored {
  background: var(--color-primary);
  border-top: none;
  border-bottom: none;
  color: var(--color-text-light);
}
.trust-bar--colored .section-header h2 { color: var(--color-text-light); }
.trust-bar--colored .section-header p { color: rgba(255, 255, 255, 0.88); }
.trust-bar--colored .section-label {
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-text-light);
}
.trust-bar__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-bar__set { display: contents; }
.trust-bar__set--duplicate { display: none; }
@keyframes trust-bar-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}
.trust-item__icon .icon {
  width: 24px;
  height: 24px;
}
.trust-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}
.trust-item__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.trust-bar--colored .trust-item__icon {
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-text-light);
}
.trust-bar--colored .trust-item__title { color: var(--color-text-light); }
.trust-bar--colored .trust-item__desc { color: rgba(255, 255, 255, 0.85); }

/* Compact first trust strip (colored bar below hero) */
.trust-bar--colored,
#shopify-section-trust_strip .trust-bar {
  padding: 11px 0;
}
.trust-bar--colored .trust-bar__track,
#shopify-section-trust_strip .trust-bar__track {
  gap: 16px;
}
.trust-bar--colored .trust-item,
#shopify-section-trust_strip .trust-item {
  gap: 8px;
}
.trust-bar--colored .trust-item__icon,
#shopify-section-trust_strip .trust-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.trust-bar--colored .trust-item__icon .icon,
#shopify-section-trust_strip .trust-item__icon .icon {
  width: 20px;
  height: 20px;
}
.trust-bar--colored .trust-item__title,
#shopify-section-trust_strip .trust-item__title {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.25;
  white-space: nowrap;
}
.trust-bar--colored .trust-item__desc,
#shopify-section-trust_strip .trust-item__desc {
  display: none;
}

/* First homepage trust strip (colored bar) — continuous marquee on laptop/desktop */
@media (min-width: 769px) {
  .trust-bar--colored {
    overflow: hidden;
  }
  .trust-bar--colored > .container:last-child {
    padding-left: 0;
    padding-right: 0;
  }
  .trust-bar--colored .trust-bar__viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .trust-bar--colored .trust-bar__track {
    display: flex;
    width: max-content;
    grid-template-columns: unset;
    gap: 0;
    animation: trust-bar-marquee 32s linear infinite;
    will-change: transform;
  }
  .trust-bar--colored .trust-bar__set {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 32px;
    padding-left: 20px;
    padding-right: 32px;
  }
  .trust-bar--colored .trust-bar__set--duplicate {
    display: flex;
  }
  .trust-bar--colored .trust-item {
    flex-shrink: 0;
    width: auto;
    max-width: none;
    min-width: 220px;
  }
}
@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  .trust-bar--colored .trust-bar__track {
    animation: trust-bar-marquee 32s linear infinite;
  }
}

/* --- Newsletter --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #112240 100%);
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26,110,245,0.12) 0%, transparent 70%);
}
.newsletter-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-section h2 { color: #fff; margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 4px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { flex-shrink: 0; border-radius: var(--radius-full); }

/* --- Footer --- */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.7); }
.footer-main { padding: 40px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
}
.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-brand__logo span { color: var(--color-primary); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-primary); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-payment { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.footer-payment-icon {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* --- Collection Page (marketplace) --- */
.collection-page {
  background: var(--color-bg-alt);
}

.collection-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border-light);
  padding: 24px 0 20px;
}

.collection-page__body {
  padding: 0 0 48px;
}

.collection-header h1 {
  margin-bottom: 6px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.collection-toolbar--marketplace {
  position: sticky;
  top: var(--header-group-height, calc(var(--header-height) + 48px));
  z-index: 30;
  background: var(--color-bg-alt);
  margin-bottom: 10px;
  padding: 10px 0;
}

.collection-count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.collection-count strong {
  color: var(--color-navy);
  font-weight: 700;
}

.sort-select {
  padding: 9px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition);
  outline: none;
}

.sort-select--pill {
  padding: 8px 32px 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: 0.78rem;
  font-weight: 600;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7a8d' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
}
.sort-select:focus { border-color: var(--color-primary); }

/* --- Product Page --- */
.product-page {
  padding: 12px 0 40px;
  background: #fff;
}

.product-page .breadcrumbs {
  padding: 6px 0 12px;
}

.product-page__layout {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(300px, 400px);
  gap: 16px 28px;
  align-items: start;
}

.product-page__layout--single {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
}

.product-gallery__thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-gallery__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border-light);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__stage {
  position: relative;
}

.product-gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  z-index: 2;
  transition: background var(--transition), color var(--transition);
}

.product-gallery__nav:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.product-gallery__nav--prev { left: 12px; }
.product-gallery__nav--next { right: 12px; }

.product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-info__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.25;
}

.product-info__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.product-info__price-current {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--color-navy);
}

.product-info__price-compare {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-info__price-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: #e53935;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.product-promo-box {
  padding: 14px;
  background: var(--color-primary-light);
  border: 1px solid rgba(26, 110, 245, 0.2);
  border-radius: var(--radius-md);
}

.product-promo-box__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-promo-box__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-promo-box__final {
  text-align: right;
}

.product-promo-box__final-label {
  display: block;
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.product-promo-box__final-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #e53935;
}

.product-promo-box__code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-promo-box__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px dashed rgba(26, 110, 245, 0.45);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  transition: background var(--transition);
}

.product-promo-box__code:hover {
  background: var(--color-primary-light);
}

.product-promo-box__note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
}

.product-stock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}

.product-stock__dot--out {
  background: var(--color-error);
}

.product-delivery {
  padding: 12px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}

.product-delivery__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.product-delivery__head .icon {
  color: var(--color-primary);
}

.product-delivery__form {
  display: flex;
  gap: 0;
}

.product-delivery__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 0.85rem;
  outline: none;
}

.product-delivery__input:focus {
  border-color: var(--color-primary);
}

.product-delivery__btn {
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.product-delivery__btn:hover {
  background: var(--color-primary-hover);
}

.product-delivery__result {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--color-success);
}

.product-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.product-buy-row .product-qty-row {
  margin: 0;
}

.product-buy-row .product-actions {
  flex: 1;
  min-width: 180px;
  margin: 0;
}

.qty-selector--pdp {
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.qty-selector--pdp .qty-btn {
  width: 38px;
  height: 42px;
}

.product-atc-btn.btn-primary {
  width: 100%;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.product-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.product-gallery__placeholder .icon {
  opacity: 0.4;
}

.product-info__vendor {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-info__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

.product-info__rating svg { color: #f59e0b; }
.product-info__review-count { color: var(--color-text-muted); font-weight: 500; }

.product-info__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  margin: 0;
}

.product-info__perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #166534;
  margin: 0;
}

.product-info__perks svg { flex-shrink: 0; color: #16a34a; }

.product-atc-btn--soldout {
  background: var(--color-text-muted) !important;
  border-color: var(--color-text-muted) !important;
  cursor: not-allowed;
}

.product-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(13, 27, 42, 0.1);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.product-sticky-bar.is-visible {
  transform: translateY(0);
}

.product-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-sticky-bar__product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.product-sticky-bar__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border-light);
}

.product-sticky-bar__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-sticky-bar__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sticky-bar__variant {
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.product-sticky-bar__prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-sticky-bar__price {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-sticky-bar__compare {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-sticky-bar__btn {
  flex-shrink: 0;
  padding: 12px 20px !important;
  font-size: 0.82rem !important;
  border-radius: var(--radius-full) !important;
  text-transform: uppercase;
  font-weight: 700;
  min-width: 120px;
}

.template-product-page #main-content {
  padding-bottom: env(safe-area-inset-bottom);
}

.product-page__details {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.product-ugc {
  margin-top: 28px;
}

.product-ugc__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.product-ugc__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-ugc__scroll::-webkit-scrollbar {
  display: none;
}

.product-ugc__thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}

.product-ugc__thumb--video {
  position: relative;
}

.product-ugc__thumb img,
.product-ugc__thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-ugc__thumb-placeholder {
  display: block;
  background: linear-gradient(135deg, var(--color-navy) 0%, #2a3f5f 100%);
}

.product-ugc__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  pointer-events: none;
  transition: background 0.2s ease;
}

.product-ugc__thumb--video:hover .product-ugc__play,
.product-ugc__thumb--video:focus-visible .product-ugc__play {
  background: rgba(0, 0, 0, 0.5);
}

.product-ugc__play svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.product-ugc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.product-ugc-modal[hidden] {
  display: none;
}

.product-ugc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.product-ugc-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}

.product-ugc-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.product-ugc-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.product-ugc-modal__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-ugc__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.product-ugc__video--embed,
.product-ugc-modal__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.ugc-modal-open {
  overflow: hidden;
}

.section-header--pdp-related h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.product-grid--related {
  margin-top: 4px;
}

.variant-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.variant-options--pills .variant-btn {
  border-radius: var(--radius-full);
}

.variant-btn {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.product-page .variant-btn:hover,
.product-page .variant-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.variant-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 40px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: none;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--color-primary-light); color: var(--color-primary); }
.qty-input {
  width: 56px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  outline: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.product-actions { display: flex; flex-direction: column; gap: 10px; }
.product-actions .btn-primary { font-size: 1rem; padding: 15px; }
.trust-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-badge-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--color-text-muted); }
.trust-badge-item svg { width: 16px; height: 16px; color: var(--color-success); }
.product-accordion { border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--color-bg-alt); }
.accordion-trigger svg { width: 18px; height: 18px; transition: transform 0.2s; color: var(--color-text-muted); }
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}
.accordion-content.open {
  max-height: 600px;
  padding: 16px 20px;
}
.accordion-content p, .accordion-content ul { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.7; }
.accordion-content ul { padding-left: 16px; list-style: disc; }

/* --- Cart Page --- */
.cart-page h1 { margin-bottom: 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}
.cart-item__image {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; }
.cart-item__title { font-weight: 600; font-size: 0.9rem; color: var(--color-navy); margin-bottom: 4px; }
.cart-item__title a:hover { color: var(--color-primary); }
.cart-item__variant { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 10px; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.cart-item__price { font-weight: 700; font-size: 0.95rem; }
.cart-item__remove { font-size: 0.75rem; color: var(--color-error); font-weight: 600; transition: opacity var(--transition); }
.cart-item__remove:hover { opacity: 0.7; }
.cart-sidebar {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.cart-sidebar h3 { margin-bottom: 20px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}
.cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  padding-top: 12px;
  border-top: 1.5px solid var(--color-border);
  margin-top: 8px;
}
.shipping-progress { margin: 20px 0; }
.shipping-progress p { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 8px; }
.progress-bar { background: var(--color-border); border-radius: var(--radius-full); height: 8px; overflow: hidden; }
.progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); border-radius: var(--radius-full); transition: width 0.5s ease; }
.order-note { margin: 16px 0; }
.order-note label { font-size: 0.82rem; font-weight: 600; color: var(--color-navy); display: block; margin-bottom: 6px; }
.order-note textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
  transition: border-color var(--transition);
}
.order-note textarea:focus { border-color: var(--color-primary); }
.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), box-shadow var(--transition);
  margin-bottom: 10px;
}
.checkout-btn:hover { background: var(--color-accent-hover); box-shadow: 0 4px 16px rgba(255,107,0,0.3); }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty__icon { margin-bottom: 16px; }
.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.collection-empty__icon {
  margin-bottom: 16px;
}
.cart-empty h2 { margin-bottom: 8px; }

/* --- Search Page --- */
.search-page { padding: 40px 0 64px; }
.search-header { text-align: center; margin-bottom: 40px; }
.search-header h1 { margin-bottom: 8px; }
.search-header p span { color: var(--color-primary); font-weight: 600; }
.search-bar-large {
  display: flex;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 40px;
}
.search-bar-large input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
}
.search-bar-large button {
  padding: 14px 24px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background var(--transition);
}
.search-bar-large button:hover { background: var(--color-primary-hover); }

/* --- 404 Page --- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.error-page__inner { max-width: 480px; }
.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-page h2 { margin-bottom: 12px; }
.error-page p { margin-bottom: 28px; }

/* --- Page Template --- */
.page-template { padding: 44px 0; }
.page-template__inner { max-width: 800px; margin: 0 auto; }
.page-template h1 { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.page-content h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.page-content h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.page-content p { margin-bottom: 14px; }
.page-content ul, .page-content ol { padding-left: 20px; margin-bottom: 14px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; font-size: 0.9rem; color: var(--color-text-muted); }
.page-content a { color: var(--color-primary); }

/* --- Customer Auth (login / register) --- */
.customer-auth {
  padding: 32px 0 56px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg-alt) 28%, var(--color-bg) 100%);
}
.customer-auth__wrap {
  max-width: 440px;
  margin: 0 auto;
}
.customer-auth__card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.customer-auth__header {
  padding: 28px 28px 24px;
  text-align: center;
  background: var(--hero-header-gradient);
}
.customer-auth__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.customer-auth__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--color-text-light);
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}
.customer-auth__subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  line-height: 1.5;
}
.customer-auth__body {
  padding: 24px 28px 28px;
}
.customer-auth__errors {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--color-error);
}
.customer-auth__field {
  margin-bottom: 16px;
}
.customer-auth__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.customer-auth__field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.customer-auth__field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.customer-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.customer-auth__row .customer-auth__field {
  margin-bottom: 0;
}
.customer-auth__actions {
  margin-top: 24px;
}
.customer-auth__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.customer-auth__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.customer-auth__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.customer-auth__trust-sep {
  color: var(--color-border);
  user-select: none;
}
.customer-auth__footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.customer-auth__footer a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition);
}
.customer-auth__footer a:hover {
  color: var(--color-primary-hover);
}
@media (max-width: 480px) {
  .customer-auth { padding: 32px 0 48px; }
  .customer-auth__header,
  .customer-auth__body { padding-left: 20px; padding-right: 20px; }
  .customer-auth__row { grid-template-columns: 1fr; gap: 0; }
  .customer-auth__row .customer-auth__field { margin-bottom: 16px; }
}

/* --- Customer Account (dashboard / orders / addresses) --- */
.customer-account {
  padding: 24px 0 56px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg-alt) 22%, var(--color-bg) 100%);
}
.customer-account__back {
  margin-bottom: 20px;
}
.customer-account__back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(26, 110, 245, 0.28);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.customer-account__back-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.customer-account__back-btn:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 18px rgba(26, 110, 245, 0.35);
  color: var(--color-text-light);
}
.customer-account__back-btn:active {
  transform: scale(0.98);
}
.account-page__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.account-page__wrap--wide {
  max-width: 960px;
}
.account-page__hero {
  text-align: center;
  margin-bottom: 24px;
  padding: 28px 24px;
  background: var(--hero-header-gradient);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.account-page__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.account-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-text-light);
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
}
.account-page__intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  max-width: 36em;
  margin: 0 auto;
}
.account-page__card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.account-page__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: start;
}
.account-page__grid--order {
  grid-template-columns: 1fr minmax(240px, 320px);
}
.account-page__profile {
  text-align: center;
  margin-bottom: 16px;
}
.account-page__avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}
.account-page__avatar svg {
  width: 28px;
  height: 28px;
}
.account-page__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.account-page__email {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  word-break: break-word;
}
.account-page__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-page__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.account-page__nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}
.account-page__nav-link:hover,
.account-page__nav-link--active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.account-page__nav-link:hover svg,
.account-page__nav-link--active svg {
  color: var(--color-primary);
}
.account-page__nav-link--logout:hover {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-error);
}
.account-page__nav-link--logout:hover svg {
  color: var(--color-error);
}
.account-page__nav-link--shop {
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.account-page__nav-link--shop svg {
  color: var(--color-primary);
}
.account-page__nav-link--shop:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
}
.account-page__nav-link--shop:hover svg {
  color: var(--color-text-light);
}
.account-page__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
}
.account-page__section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-navy);
  margin: 0;
}
.account-page__section-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.account-page__orders {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-page__order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.account-page__order:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.account-page__order:first-child {
  padding-top: 0;
}
.account-page__order-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.account-page__order-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.account-page__order-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.account-page__order-total {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-navy);
}
.account-page__empty {
  text-align: center;
  padding: 32px 12px 12px;
}
.account-page__empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  color: var(--color-accent);
}
.account-page__empty-icon svg {
  width: 28px;
  height: 28px;
}
.account-page__empty-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.account-page__empty-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.account-page__toolbar {
  margin-bottom: 20px;
}
.account-page__toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  border: 1px solid rgba(26, 110, 245, 0.2);
  transition: background var(--transition), color var(--transition);
}
.account-page__toolbar-link svg {
  width: 16px;
  height: 16px;
}
.account-page__toolbar-link:hover {
  color: var(--color-text-light);
  background: var(--color-primary);
}
.account-page__toolbar-link:hover svg {
  color: var(--color-text-light);
}
.account-page__line-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-page__line-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.account-page__line-item:last-child {
  border-bottom: none;
}
.account-page__line-item-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  text-decoration: none;
}
a.account-page__line-item-title:hover {
  color: var(--color-primary);
}
.account-page__line-item-variant,
.account-page__line-item-qty {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.account-page__line-item-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-navy);
  flex-shrink: 0;
}
.account-page__summary {
  margin: 0;
}
.account-page__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.85rem;
}
.account-page__summary-row dt {
  color: var(--color-text-muted);
  font-weight: 500;
}
.account-page__summary-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-navy);
  text-align: right;
}
.account-page__summary-row--discount dd {
  color: var(--color-success);
}
.account-page__summary-row--total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1.5px solid var(--color-border);
  font-size: 0.95rem;
}
.account-page__summary-row--total dt,
.account-page__summary-row--total dd {
  font-weight: 700;
  color: var(--color-navy);
}
.account-page__address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.account-page__muted {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.account-page__addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.account-page__address-card {
  position: relative;
}
.account-page__address-card--new {
  grid-column: 1 / -1;
}
.account-page__address-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.account-page__address-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}
.account-page__address-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}
.account-page__address-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.account-page__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  cursor: pointer;
}
.account-page__checkbox input {
  accent-color: var(--color-primary);
}
.account-page__pagination {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
}
.customer-auth__field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.customer-auth__field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
@media (max-width: 768px) {
  .customer-account__back-btn {
    width: 100%;
  }
  .account-page__hero {
    padding: 22px 18px;
  }
  .account-page__grid,
  .account-page__grid--order {
    grid-template-columns: 1fr;
  }
  .account-page__sidebar {
    order: -1;
  }
  .account-page__nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .account-page__nav-link {
    flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    font-size: 0.75rem;
    text-align: center;
  }
  .account-page__card {
    padding: 20px 18px;
  }
}
@media (max-width: 480px) {
  .customer-account { padding: 16px 0 40px; }
  .account-page__nav-list {
    grid-template-columns: 1fr;
  }
  .account-page__nav-link {
    flex-direction: row;
    text-align: left;
  }
  .account-page__order-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* --- Contact Page --- */
.contact-page {
  padding: 20px 0 52px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 42%);
}
.contact-page__wrap {
  max-width: 560px;
  margin: 0 auto;
}
.contact-page__hero {
  text-align: center;
  margin-bottom: 28px;
}
.contact-page__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.contact-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-navy);
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-page__intro {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto;
}
.contact-page__intro.rte p {
  margin-bottom: 0;
}
.contact-page__card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.contact-page__form {
  margin: 0;
}
.contact-page__errors {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--color-error);
}
.contact-page__success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
}
.contact-page__success svg {
  width: 28px;
  height: 28px;
  color: var(--color-success);
  flex-shrink: 0;
}
.contact-page__success-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.contact-page__success-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}
.contact-page__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-page__row .contact-page__field {
  margin-bottom: 0;
}
.contact-page__field {
  margin-bottom: 16px;
}
.contact-page__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.contact-page__optional {
  font-weight: 500;
  color: var(--color-text-muted);
}
.contact-page__field input,
.contact-page__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-page__field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.contact-page__field input::placeholder,
.contact-page__field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.75;
}
.contact-page__field input:focus,
.contact-page__field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.contact-page__actions {
  margin-top: 8px;
}
.contact-page__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.contact-page__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.contact-page__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-page__trust-sep {
  color: var(--color-border);
  user-select: none;
}
.contact-page__footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.contact-page__footer a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-page__footer a:hover {
  color: var(--color-primary-hover);
}
@media (max-width: 540px) {
  .contact-page { padding: 16px 0 40px; }
  .contact-page__card { padding: 22px 18px; }
  .contact-page__row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  .contact-page__row .contact-page__field { margin-bottom: 16px; }
}

/* --- Breadcrumbs --- */
.breadcrumbs { padding: 14px 0; }
.breadcrumbs__list { display: flex; gap: 6px; align-items: center; font-size: 0.78rem; }
.breadcrumbs__separator { color: var(--color-text-muted); }
.breadcrumbs__item a { color: var(--color-text-muted); transition: color var(--transition); }
.breadcrumbs__item a:hover { color: var(--color-primary); }
.breadcrumbs__item:last-child { color: var(--color-navy); font-weight: 600; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 40px 0 20px; }
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* --- Loading/Spinner --- */
.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Collection & search grid page background */
.search-page {
  background: var(--color-bg-alt);
  padding-bottom: 48px;
}

.related-section.products-section--marketplace {
  padding: 26px 0;
  background: var(--color-bg-alt);
}

.related-section.products-section--marketplace .section-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-bar__track { grid-template-columns: 1fr 1fr; }
  .hero-section {
    min-height: auto;
    max-height: none;
  }
  .hero-backdrop__img {
    top: 0;
    right: 50%;
    width: 130%;
    height: 100%;
    transform: translateX(50%);
    object-position: center 38%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 14%, #000 28%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 14%, #000 28%);
  }
  .hero-backdrop__veil {
    background:
      linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(17, 34, 64, 0.62) 18%, rgba(17, 34, 64, 0.28) 36%, transparent 55%),
      linear-gradient(to right, var(--hero-bg-start) 0%, rgba(13, 27, 42, 0.78) 22%, rgba(17, 34, 64, 0.38) 42%, transparent 68%);
  }
  .hero-inner {
    align-items: flex-end;
  }
  .hero-content {
    padding: 22px 0 24px;
  }
  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-gallery__thumbs-col {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .product-gallery__thumbs-col::-webkit-scrollbar { display: none; }
  .product-gallery__stage { order: 1; }
  .product-info { order: 3; }
  .product-buy-row { flex-direction: column; align-items: stretch; }
  .product-buy-row .product-actions { min-width: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --header-height: 48px; }
  .promo-grid { grid-template-columns: 1fr; }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .hero-buttons .btn {
    width: auto;
    padding: 8px 14px;
    font-size: 0.8rem;
    min-height: 36px;
  }
  .hero-backdrop__img {
    object-position: center 42%;
  }
  .hero-backdrop__veil {
    background:
      linear-gradient(to top, rgba(13, 27, 42, 0.92) 0%, rgba(17, 34, 64, 0.68) 20%, rgba(17, 34, 64, 0.32) 38%, transparent 56%),
      linear-gradient(to right, var(--hero-bg-start) 0%, rgba(13, 27, 42, 0.82) 24%, rgba(17, 34, 64, 0.42) 44%, transparent 70%);
  }
  .hero-content {
    padding: 16px 0 20px;
  }
  .hero-content .container {
    max-width: 100%;
  }
  .hero-label {
    font-size: 0.4375rem;
    padding: 3px 8px;
    margin-bottom: 8px;
    letter-spacing: 0.07em;
  }
  .hero-title {
    font-size: 1.1875rem;
    line-height: 1.35;
    margin-bottom: 8px;
    overflow-wrap: break-word;
  }
  .hero-title .accent {
    display: block;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    line-height: 1.45;
    margin-bottom: 14px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .trust-bar { padding: 18px 0; overflow: hidden; }
  .trust-bar--colored,
  #shopify-section-trust_strip .trust-bar {
    padding: 10px 0;
  }
  .trust-bar--colored .trust-bar__set,
  #shopify-section-trust_strip .trust-bar__set {
    gap: 24px;
    padding-left: 12px;
    padding-right: 20px;
  }
  .trust-bar--colored .trust-item,
  #shopify-section-trust_strip .trust-item {
    width: auto;
    max-width: none;
  }
  .trust-bar .section-header { margin-bottom: 14px; }
  .trust-bar > .container:last-child { padding-left: 0; padding-right: 0; }
  .trust-bar__viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .trust-bar__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: trust-bar-marquee 32s linear infinite;
    will-change: transform;
  }
  .trust-bar__set {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 32px;
    padding-left: 20px;
    padding-right: 32px;
  }
  .trust-bar__set--duplicate { display: flex; }
  .trust-item {
    flex-shrink: 0;
    width: max(240px, 72vw);
    max-width: 320px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .category-grid-section { padding: 36px 0; }
  .category-grid-section .section-header { margin-bottom: 14px; }
  .products-section { padding: 28px 0; }
  .products-section--marketplace { padding: 18px 0; }
  .products-section--marketplace .section-header {
    align-items: flex-start;
    text-align: left;
  }
  .products-section--marketplace .section-header > div {
    text-align: left;
    width: 100%;
  }
  .products-section--marketplace .section-header__link {
    display: none;
  }
  .products-section--marketplace .section-footer--marketplace {
    margin-top: 12px;
    text-align: left;
  }
  .products-section--marketplace .section-footer__link {
    display: inline-flex;
    align-items: center;
  }
  .newsletter-section { padding: 36px 0 24px; }
  .footer-main { padding: 32px 0 28px; }
  .page-template { padding: 36px 0; }
  .promo-cards { padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar__track { animation: none; }
  @media (max-width: 768px) {
    .trust-bar__viewport {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -webkit-mask-image: none;
      mask-image: none;
    }
    .trust-bar__viewport::-webkit-scrollbar { display: none; }
    .trust-bar__set--duplicate { display: none; }
  }
}
@media (max-width: 480px) {
  :root { --header-group-height: 82px; }

  .site-header .container,
  .header-mobile-search .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px 8px;
  }

  .site-logo__wordmark { font-size: 1.15rem; }
  .site-header__logo img { height: 30px; max-width: 120px; }

  .header-action-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .header-action-btn svg { width: 20px; height: 20px; }
  .header-mobile-toggle svg { width: 22px; height: 22px; }

  .category-card { width: 118px; }
  .product-grid--marketplace { gap: 7px; }
  .product-card { border-radius: var(--radius-sm); }
  .product-card__body { padding: 7px 8px 9px; }
  .product-card__title { font-size: 0.7rem; }
  .price--card .price-current { font-size: 0.84rem; }
  .product-card__wishlist,
  .product-card__quick-add-btn { width: 30px; height: 30px; }
  .products-section--marketplace { padding: 14px 0; }
  .category-grid-section { padding: 28px 0; }
  .newsletter-section { padding: 32px 0 20px; }
  .footer-main { padding: 28px 0 24px; }
  .section-header { margin-bottom: 16px; }
  .trust-bar { padding: 16px 0; }
  .trust-bar--colored,
  #shopify-section-trust_strip .trust-bar {
    padding: 10px 0;
  }
  .page-template { padding: 32px 0; }
  .promo-cards { padding: 16px 0; }
  .promo-cards--marketplace { padding: 8px 0; }
}

/* =============================================
   MARKETPLACE THEME ENHANCEMENTS
   ============================================= */

.site-header-group.is-scrolled {
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.08);
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  overflow: visible;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
}

.header-mobile-search {
  display: none;
  padding: 4px 0 6px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-mobile-search__form {
  display: flex;
  align-items: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.header-mobile-search__form input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
}

.header-mobile-search__form button {
  padding: 10px 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
}

.promo-cards--marketplace { padding: 12px 0; }
.promo-cards--marketplace .promo-grid { gap: 10px; }
.promo-cards--marketplace .promo-card {
  min-height: 110px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
}
.promo-cards--marketplace .promo-card__title { font-size: 1.1rem; }

.cart-page {
  background: var(--color-bg-alt);
  padding: 12px 0 48px;
}

.cart-page .breadcrumbs {
  padding: 6px 0 8px;
}

.cart-page__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cart-page__header h1 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.cart-page__count { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); }

.cart-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(13, 27, 42, 0.04);
}

.cart-sidebar {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.06);
  top: calc(var(--header-group-height, 120px) + 16px);
}

.cart-summary-row__free { color: var(--color-success); font-weight: 600; }
.cart-secure-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.cart-continue { margin-top: 8px; }

.cart-mobile-checkout {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(13, 27, 42, 0.1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-mobile-checkout__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cart-mobile-checkout__total strong {
  font-size: 1.05rem;
  color: var(--color-navy);
}

.checkout-btn--mobile {
  width: auto !important;
  min-width: 140px;
  margin: 0 !important;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
}

.search-empty {
  text-align: center;
  padding: 48px 20px;
}

.search-empty__icon { margin-bottom: 16px; }
.search-empty h3 { margin-bottom: 8px; color: var(--color-navy); }
.search-empty__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.search-page { padding: 28px 0 48px; }
.search-header { margin-bottom: 24px; }
.search-bar-large {
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.06);
}

.footer-social a {
  font-size: 0;
}

@media (max-width: 768px) {
  :root { --header-height: 48px; --header-group-height: 72px; }

  body { overflow-x: clip; }
  .site-header-group { max-width: 100%; overflow-x: clip; }

  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .header-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
    margin-left: -4px;
  }

  .site-header__logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 2px;
    overflow: hidden;
  }

  .site-logo__wordmark {
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .site-logo__cart {
    width: 22px;
    height: 22px;
  }

  .site-header__logo img {
    height: 28px;
    max-width: min(140px, 100%);
    width: auto;
  }

  .site-header__search {
    display: none;
  }

  .site-header__actions {
    flex-shrink: 0;
    margin-left: auto;
    gap: 2px;
  }

  .header-action-btn__search-icon {
    width: 22px;
    height: 22px;
  }

  .header-action-btn {
    flex-direction: row;
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
    justify-content: center;
  }

  .header-action-btn span:not(.cart-count) { display: none; }

  .header-action-btn .cart-count {
    top: 6px;
    right: 5px;
  }

  .header-mobile-search {
    display: none;
  }

  .header-action-btn--search {
    display: flex;
  }

  .category-nav {
    max-width: 100%;
    overflow: hidden;
  }

  .category-nav .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .category-nav__inner {
    gap: 16px;
    padding: 3px 0 5px;
  }

  .category-nav__item {
    font-size: 0.75rem;
  }

  .announcement-bar__inner {
    padding-left: 12px;
    padding-right: 36px;
  }

  .announcement-bar__text {
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .product-sticky-bar { display: block; }
  .template-product-page #main-content { padding-bottom: 72px; }
  .cart-mobile-checkout { display: flex; }
  .cart-page { padding-bottom: 100px; }
  .product-page { padding: 8px 0 24px; }
  .product-page__details { margin-top: 20px; padding-top: 16px; }
  .hero-content { padding: 14px 0 18px; }
  .hero-label {
    font-size: 0.4375rem;
    padding: 2px 7px;
    margin-bottom: 6px;
  }
  .hero-title {
    font-size: 1.1875rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .hero-title .accent {
    display: block;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .promo-cards--marketplace .promo-card { min-height: 96px; }
}

@media (min-width: 769px) {
  .product-sticky-bar { display: none !important; }
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.45);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100%;
  max-height: 100dvh;
  background: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(13, 27, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-drawer__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-navy);
}

.cart-drawer__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer__view-cart {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-drawer__view-cart:hover {
  color: var(--color-primary);
}

.cart-drawer__close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}

.cart-drawer__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-navy);
}

.cart-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__items {
  display: flex;
  flex-direction: column;
}

.cart-drawer__item.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  align-items: flex-start;
}

.cart-drawer__item .cart-item__image {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-drawer__item .cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-drawer__item .cart-item__title {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
}

.cart-drawer__item .cart-item__title a {
  color: inherit;
}

.cart-drawer__item .cart-item__title a:hover {
  color: var(--color-primary);
}

.cart-drawer__item .cart-item__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 4px;
}

.cart-drawer__item .cart-item__price-current {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}

.cart-drawer__item .cart-item__price-compare {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.cart-drawer__item .cart-item__variant {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cart-drawer__item .cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-qty-selector--pill {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: #fff;
  padding: 2px;
}

.cart-qty-selector--pill .qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
}

.cart-qty-selector--pill .qty-input {
  width: 32px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-drawer__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.cart-drawer__remove:hover {
  color: var(--color-error);
  background: rgba(220, 38, 38, 0.06);
}

.cart-drawer__divider {
  height: 1px;
  background: var(--color-border);
  margin: 0 16px;
}

.cart-drawer__empty {
  text-align: center;
  padding: 40px 16px;
}

.cart-drawer__empty .cart-empty__icon {
  margin-bottom: 12px;
}

.cart-drawer__empty p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.cart-drawer__footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.cart-drawer__footer[hidden] {
  display: none !important;
}

.cart-drawer__promo-box {
  margin-bottom: 10px;
  padding: 14px;
  background: rgba(26, 110, 245, 0.08);
  border: 1px solid rgba(26, 110, 245, 0.25);
  border-radius: var(--radius-md);
}

.cart-drawer__promo-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.35;
}

.cart-drawer__promo-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1.5px dashed rgba(26, 110, 245, 0.45);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  transition: background var(--transition);
}

.cart-drawer__promo-code:hover {
  background: rgba(26, 110, 245, 0.06);
}

.cart-drawer__promo-code svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.cart-drawer__promo-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-drawer__promo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}

.cart-drawer__promo-row-label {
  color: var(--color-text-muted);
}

.cart-drawer__promo-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
}

.cart-drawer__promo-saving {
  font-weight: 700;
  color: var(--color-primary);
}

.cart-drawer__promo-note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.cart-drawer__trust {
  margin: 10px 0 0;
  padding: 10px 12px;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.cart-drawer__checkout-btn {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.cart-drawer__checkout-btn:hover {
  background: var(--color-primary-hover, #1558c9);
  box-shadow: 0 4px 16px rgba(26, 110, 245, 0.28);
  color: #fff;
}

.cart-drawer__checkout-label {
  white-space: nowrap;
}

.header-action-btn--cart {
  background: none;
  border: none;
  font: inherit;
}
16px rgba(26, 110, 245, 0.28);
  color: #fff;
}

.cart-drawer__checkout-label {
  white-space: nowrap;
}

.header-action-btn--cart {
  background: none;
  border: none;
  font: inherit;
}
