html, body {
  margin: 0;
  padding: 0;
}

:root {
  --brand: #E8420E;
  --brand-dark: #C23208;
  --brand-light: #FFF0EB;
  --ink: #0F0D0B;
  --ink-2: #3A3530;
  --ink-3: #7A736C;
  --surface: #FAFAF8;
  --surface-2: #F2F0EC;
  --surface-3: #E8E4DE;
  --white: #FFFFFF;
  --green: #0F6E56;
  --green-light: #E1F5EE;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-card: 0 2px 16px rgba(15, 13, 11, 0.07), 0 0 0 1px rgba(15, 13, 11, 0.04);
  --shadow-hover: 0 12px 40px rgba(15, 13, 11, 0.14), 0 0 0 1px rgba(15, 13, 11, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body.storefront-page {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.storefront-page h1,
.storefront-page h2,
.storefront-page h3,
.storefront-page h4,
.storefront-page h5,
.storefront-page h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

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

.storefront-page a {
  color: inherit;
}

.page-alerts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 600;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
}

.page-alerts .alert {
  margin: 0;
  box-shadow: 0 18px 40px rgba(15, 13, 11, 0.18);
}

.container-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 52px 0;
}

.section-sm {
  padding: 36px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
}

.section-link {
  font-size: 13.5px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announce-bar {
  background: var(--ink);
  color: #F5F0EA;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 42px;
}

.announce-bar a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.announce-dots {
  display: flex;
  gap: 6px;
}

.announce-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.5;
}

.announce-dot.active {
  opacity: 1;
}

.modern-navbar {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-3);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .site-name {
  min-width: 0;
  max-width: 100%;
}

.nav-logo-mark,
.nav-logo-img-wrap {
  width: 30px;
  height: 30px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
}

.nav-logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.nav-search input {
  width: 100%;
  height: 40px;
  border: 1.5px solid var(--surface-3);
  border-radius: 100px;
  padding: 0 44px 0 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.nav-search input:focus {
  border-color: var(--brand);
  background: var(--white);
}

.nav-search input::placeholder {
  color: var(--ink-3);
}

.nav-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: var(--brand);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1.5px solid var(--surface-3);
  background: transparent;
  color: var(--ink-2);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  background: var(--surface-2);
}

.nav-btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.nav-btn.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.cart-badge,
.cart-count,
.fab-badge {
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  min-width: 18px;
  text-align: center;
}

.cart-badge,
.cart-count {
  padding: 1px 6px;
}

.cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--surface-3);
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
  display: none;
}

.cat-nav-inner {
  display: flex;
  gap: 0;
  min-height: 44px;
  align-items: center;
  min-width: max-content;
  max-width: 1280px;
  margin: 0 auto;
}

.cat-nav a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.cat-nav a:hover,
.cat-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-blob-1 { width: 500px; height: 500px; background: rgba(232, 66, 14, 0.35); right: -100px; top: -100px; }
.hero-blob-2 { width: 300px; height: 300px; background: rgba(255, 160, 100, 0.2); right: 200px; bottom: -80px; }
.hero-blob-3 { width: 200px; height: 200px; background: rgba(232, 66, 14, 0.15); left: 300px; top: 50px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  min-height: 480px;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 64px 48px 64px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 66, 14, 0.18);
  border: 1px solid rgba(232, 66, 14, 0.4);
  color: #FF8A65;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF8A65;
}

.hero-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.08;
}

.hero-title em {
  font-style: normal;
  color: var(--brand);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15.5px;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-sec,
.btn-flash,
.btn-subscribe,
.btn-checkout,
.btn-continue,
.btn-pay,
.btn-coupon {
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.btn-hero-primary {
  min-height: 50px;
  padding: 0 28px;
  background: var(--brand);
  color: white;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.btn-hero-primary:hover,
.btn-flash:hover,
.btn-subscribe:hover,
.btn-checkout:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  color: white;
}

.btn-hero-sec {
  min-height: 50px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  font-weight: 500;
}

.btn-hero-sec:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.hero-visual {
  padding: 88px 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-product-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s;
  cursor: pointer;
  animation: floatIn 0.6s ease both;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.hero-product-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-product-card:nth-child(2) {
  animation-delay: 0.1s;
  margin-left: 20px;
}

.hero-product-card:nth-child(3) {
  animation-delay: 0.2s;
  margin-left: 10px;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-card-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-price {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-top: 2px;
}

.hero-card-badge {
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(232, 66, 14, 0.25);
  border: 1px solid rgba(232, 66, 14, 0.5);
  color: #FF8A65;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.hero-floating-badge {
  position: absolute;
  top: 12px;
  right: 6px;
  background: white;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s ease-in-out infinite;
  z-index: 4;
  min-width: 152px;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-floating-badge-icon {
  font-size: 20px;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--surface-3);
}

.promo-item {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--surface-3);
}

.promo-item:last-child {
  border-right: none;
}

.promo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.promo-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.promo-sub {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 1px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
  transform: translateY(-2px);
  color: var(--ink);
}

.cat-card.active {
  border-color: var(--brand);
  background: var(--brand-light);
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.cat-name {
  font-size: 12.5px;
  font-weight: 600;
}

.cat-count {
  font-size: 11px;
  color: var(--ink-3);
}

.flash-banner {
  background: linear-gradient(135deg, #1A0800 0%, #3D0F00 50%, #1A0800 100%);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
}

.flash-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(232, 66, 14, 0.3) 0%, transparent 60%);
}

.flash-left,
.flash-timer,
.flash-cta {
  position: relative;
  z-index: 1;
}

.flash-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.flash-title {
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.flash-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 5px;
}

.flash-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-block {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

.timer-num {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.timer-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
  letter-spacing: 0.06em;
}

.timer-sep {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

.btn-flash {
  background: var(--brand);
  color: white;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
}

.promo-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-banner {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.promo-banner:hover {
  transform: translateY(-2px);
}

.promo-banner-1 { background: #0F2A1A; }
.promo-banner-2 { background: #1A1A2E; }
.promo-banner-3 { background: #2A1A0A; }

.promo-banner-emoji {
  font-size: 52px;
  position: absolute;
  top: 16px;
  right: 20px;
  opacity: 0.9;
}

.promo-banner-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 8px;
}

.t1 { background: rgba(29, 158, 117, 0.3); color: #5DCAA5; }
.t2 { background: rgba(99, 99, 220, 0.3); color: #9F9FF0; }
.t3 { background: rgba(232, 66, 14, 0.3); color: #FF8A65; }

.promo-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 4px;
}

.promo-banner-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.promo-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 12px;
  transition: background 0.2s;
}

.promo-banner:hover .promo-arrow {
  background: rgba(255, 255, 255, 0.25);
}

.wide-feature {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  align-items: stretch;
}

.wide-feature-left {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wf-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.wf-blob-1 { width: 200px; height: 200px; background: rgba(232, 66, 14, 0.4); right: -40px; bottom: -40px; }
.wf-blob-2 { width: 150px; height: 150px; background: rgba(255, 160, 80, 0.2); right: 60px; top: -20px; }

.wf-left-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wf-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 14px;
}

.wf-title {
  font-size: 30px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wf-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 28px;
}

.wf-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.wf-price {
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: white;
}

.wf-price-old {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
}

.wf-emoji {
  font-size: 80px;
  margin: auto 0 20px;
}

.wide-feature-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sort-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.sort-select {
  min-width: 220px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--surface-3);
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
}

.sort-select:focus {
  border-color: var(--brand);
}

.trending-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.trending-sidebar {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 80px;
}

.trending-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--surface-3);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.filter-help {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
}

.products-grid,
.products-grid-4 {
  display: grid;
  gap: 16px;
}

.products-grid {
  grid-template-columns: repeat(5, 1fr);
}

.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: inherit;
}

.product-card-img {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.badge-sale { background: var(--brand); color: white; }
.badge-new { background: var(--green); color: white; }
.badge-hot { background: #B7791F; color: white; }
.badge-stock-low { background: #14532d; color: white; }
.badge-stock-out { background: #991b1b; color: white; }

.stock-badge {
  top: 40px;
}

.product-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-3);
  border: none;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
  z-index: 2;
}

.product-card:hover .product-wish,
.product-wish.active {
  opacity: 1;
}

.product-wish.active {
  color: var(--brand);
  background: white;
}

.product-card-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.stars {
  color: #F59E0B;
  font-size: 11px;
  letter-spacing: -1px;
}

.rating-count {
  font-size: 11px;
  color: var(--ink-3);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.product-price-old {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.product-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.product-card-footer {
  padding: 0 14px 14px;
}

.btn-cart {
  width: 100%;
  min-height: 40px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s;
}

.btn-cart:hover {
  background: var(--brand);
}

.btn-cart:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  background: var(--ink-3);
}

.newsletter {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 52px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 66, 14, 0.25) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
}

.newsletter-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.newsletter-title {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.newsletter-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 0 22px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
  border-color: var(--brand);
}

.btn-subscribe {
  min-height: 50px;
  padding: 0 26px;
  background: var(--brand);
  color: white;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.footer-contact:empty {
  display: none;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item i {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.footer-contact-item:hover {
  color: white;
}

.footer-contact-item:hover i {
  color: var(--brand);
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy {
  flex: 1 0 100%;
  text-align: center;
}

.site-footer .footer-bottom:not(.simple-footer-bottom) > :first-child {
  flex: 1 0 100%;
  text-align: center;
}

.footer-payment,
.footer-trust {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.fab {
  position: fixed;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.fab-cart {
  bottom: 24px;
  right: 24px;
  background: var(--brand);
  color: white;
  font-size: 20px;
}

.fab-wa {
  bottom: 86px;
  right: 24px;
  background: #25D366;
  color: white;
  font-size: 20px;
  display: none;
}

.fab-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

.pagination-wrap nav {
  margin-top: 24px;
}

.pagination-wrap .pagination {
  gap: 8px;
}

.pagination-wrap .page-link {
  border-radius: 999px;
  border: 1px solid var(--surface-3);
  color: var(--ink);
  padding: 8px 16px;
}

.pagination-wrap .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
}

.listing-shell {
  padding-top: 28px;
  padding-bottom: 56px;
}

.listing-hero {
  display: grid;
  grid-template-columns: 1.4fr 320px;
  gap: 24px;
  align-items: end;
  background: linear-gradient(135deg, #fff7f1 0%, #f6f0e8 100%);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.listing-hero::before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(232, 66, 14, 0.14) 0%, rgba(232, 66, 14, 0) 68%);
  pointer-events: none;
}

.listing-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 12px 0 10px;
  letter-spacing: -0.04em;
}

.listing-sub {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.listing-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.listing-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.listing-sort-select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--surface-3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
}

.listing-sort-select:focus {
  border-color: var(--brand);
}

.flash-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.flash-filter-bar .filter-chip-row {
  flex: 1;
}

.flash-countdown-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(232, 66, 14, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(15, 13, 11, 0.06);
}

.flash-countdown-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.flash-countdown-block {
  min-height: 76px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}

.flash-countdown-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.flash-countdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.flash-live-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

.flash-sale-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.flash-sale-stat {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(232, 66, 14, 0.14);
  background: rgba(255, 255, 255, 0.74);
}

.flash-sale-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.flash-sale-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.flash-results-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 10px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.listing-products .summary-empty,
.products-grid .summary-empty {
  grid-column: 1 / -1;
}

.storefront-category-page .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.storefront-wishlist-page .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.storefront-flash-sale-page .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.wishlist-shell {
  padding-top: 28px;
  padding-bottom: 56px;
}

.wishlist-card {
  position: relative;
}

.wishlist-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-3);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.wishlist-card-check input {
  accent-color: var(--brand);
}

.wishlist-meta {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--ink-3);
  background: var(--surface-2);
}

.wishlist-select-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.wishlist-count {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}

.wishlist-remove-btn,
.wishlist-link-btn {
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wishlist-remove-btn {
  border: 1.5px solid var(--surface-3);
  background: transparent;
  color: var(--ink-3);
  padding: 0 14px;
}

.wishlist-remove-btn:hover {
  border-color: #C73B31;
  color: #C73B31;
  background: #FCEAE7;
}

.wishlist-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wishlist-link-btn {
  border: 1.5px solid var(--surface-3);
  background: var(--surface-2);
  color: var(--ink);
}

.wishlist-link-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.wishlist-empty {
  padding: 48px 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .storefront-wishlist-page .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .storefront-flash-sale-page .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .storefront-category-page .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .listing-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .listing-toolbar {
    justify-self: stretch;
    max-width: none;
  }

  .flash-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .listing-shell {
    padding-top: 18px;
    padding-bottom: 40px;
  }

  .listing-hero {
    padding: 22px 18px;
    margin-bottom: 22px;
  }

  .storefront-wishlist-page .products-grid {
    grid-template-columns: 1fr;
  }

  .storefront-flash-sale-page .products-grid {
    grid-template-columns: 1fr;
  }

  .storefront-category-page .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wishlist-card-footer {
    grid-template-columns: 1fr;
  }

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

  .flash-countdown-block {
    min-height: 68px;
  }

  .flash-countdown-value {
    font-size: 24px;
  }
}

.loading-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.loading-card {
  min-height: 280px;
  background: linear-gradient(90deg, rgba(232, 228, 222, 0.7) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(232, 228, 222, 0.7) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-3);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.coming-soon-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 64px 24px;
  text-align: center;
}

.coming-soon-card i {
  font-size: 64px;
  color: var(--brand);
  opacity: 0.7;
}

.coming-soon-card h2 {
  margin: 18px 0 8px;
}

.coming-soon-card p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--ink-3);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}

.delay-2 {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wide-feature { grid-template-columns: 1fr; }
  .wide-feature-right { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .container-shell { padding: 0 16px; }
  .modern-navbar {
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-bottom: 12px;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .nav-btn {
    min-height: 44px;
    padding: 0 14px;
  }
  .announce-bar {
    justify-content: flex-start;
    text-align: left;
    padding: 10px 14px;
    min-height: 48px;
  }
  .announce-bar .announce-dots {
    margin-left: auto;
  }
  .cat-nav { padding: 0 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .storefront-category-page .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-strip { grid-template-columns: 1fr 1fr; }
  .promo-banners { grid-template-columns: 1fr; }
  .flash-banner { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .newsletter { padding: 36px 24px; }
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-form input,
  .btn-subscribe {
    width: 100%;
  }
  .newsletter-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trending-row { grid-template-columns: 1fr; }
  .trending-sidebar { display: none; }
  .wide-feature-right { grid-template-columns: repeat(2, 1fr); }
  .loading-cards { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; }
  .filter-chip {
    min-height: 40px;
    padding: 6px 12px;
  }
  .btn-cart {
    min-height: 42px;
  }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .storefront-category-page .products-grid { grid-template-columns: 1fr; }
  .promo-strip { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .announce-bar {
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .newsletter {
    padding: 30px 16px;
  }
  .newsletter-title {
    font-size: 23px;
  }
}

.breadcrumb-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-3);
  background: var(--white);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  padding-left: 0;
}

.breadcrumb-list a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--brand);
}

.breadcrumb-list .sep {
  opacity: 0.4;
}

.breadcrumb-list .current {
  color: var(--ink);
  font-weight: 500;
}

.steps-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--surface-3);
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-num.active { background: var(--brand); color: white; }
.step-num.done { background: var(--green); color: white; }
.step-num.inactive { background: var(--surface-2); color: var(--ink-3); }

.step-label {
  font-size: 13px;
  font-weight: 500;
}

.step-label.active { color: var(--brand); font-weight: 600; }
.step-label.done { color: var(--green); }
.step-label.inactive { color: var(--ink-3); }

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--surface-3);
  margin: 0 8px;
}

.step-connector.done {
  background: var(--green);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  padding: 40px 0 80px;
  align-items: start;
}

.cart-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cart-count-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.cart-item {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
  transition: box-shadow 0.2s, opacity 0.3s, transform 0.3s;
}

.cart-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cart-item-img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-cat {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cart-item-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-item-variant {
  font-size: 12px;
  color: var(--ink-3);
  background: var(--surface-2);
  padding: 3px 10px;
  border-radius: 100px;
}

.cart-item-delivery {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-2);
  transition: background 0.15s;
}

.cart-qty-btn:hover {
  background: var(--surface-2);
}

.cart-qty-num {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-left: 1px solid var(--surface-3);
  border-right: 1px solid var(--surface-3);
}

.cart-remove,
.cart-save {
  min-height: 32px;
  padding: 0 12px;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  text-decoration: none;
}

.cart-remove:hover {
  border-color: #E24B4A;
  color: #E24B4A;
  background: #FCEBEB;
}

.cart-save:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.cart-item-right {
  text-align: right;
  flex-shrink: 0;
}

.cart-item-price {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.cart-item-price-old {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-top: 2px;
}

.cart-item-saving {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
  margin-top: 2px;
}

.coupon-row {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.coupon-icon {
  color: var(--ink-3);
  font-size: 18px;
}

.coupon-input {
  flex: 1;
  min-height: 40px;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  outline: none;
}

.coupon-input:focus {
  border-color: var(--brand);
  background: var(--white);
}

.btn-coupon {
  min-height: 40px;
  padding: 0 20px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.also-section {
  margin-top: 28px;
}

.also-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.also-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.also-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(232, 66, 14, 0.1);
}

.also-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.also-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.also-price {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.mini-add {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.order-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 84px;
}

.order-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-line .label { color: var(--ink-3); }
.order-line .value { font-weight: 500; color: var(--ink); }
.order-line .value.green { color: var(--green); font-weight: 600; }
.order-line .value.brand { color: var(--brand); font-weight: 600; }

.order-divider {
  height: 1px;
  background: var(--surface-3);
  margin: 16px 0;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.order-total-label {
  font-size: 15px;
  font-weight: 700;
}

.order-total-value {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.order-savings {
  background: var(--green-light);
  border: 1px solid rgba(15, 110, 86, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.order-savings-text {
  font-size: 13px;
  font-weight: 600;
}

.vat-note {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 4px;
  text-align: right;
}

.btn-checkout {
  width: 100%;
  min-height: 52px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
}

.btn-checkout.disabled,
.btn-checkout[aria-disabled="true"] {
  background: var(--surface-3);
  color: var(--ink-3);
  pointer-events: none;
  transform: none;
}

.btn-continue {
  width: 100%;
  min-height: 44px;
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.btn-continue:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  background: var(--surface-2);
}

.trust-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-3);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 11px;
  text-align: center;
}

.trust-badge i {
  font-size: 18px;
}

.payment-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.payment-pill {
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.empty-cart-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
}

.empty-cart-state i {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.3;
}

.empty-cart-state h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-cart-state p {
  color: var(--ink-3);
  font-size: 15px;
  margin-bottom: 28px;
}

.cart-item-removing {
  opacity: 0.4;
  transform: translateX(20px);
}

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-card { position: static; }
  .also-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item-right { display: none; }
  .checkout-steps .step-label { display: none; }
  .also-grid { grid-template-columns: 1fr; }
}

.checkout-nav-secure {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-3);
}

.checkout-nav-secure i {
  color: var(--green);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}

.form-section {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}

.form-section-header {
  padding: 22px 28px 20px;
  border-bottom: 1px solid var(--surface-3);
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-section-num {
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.form-section-title {
  font-size: 17px;
  font-weight: 700;
}

.form-section-body {
  padding: 24px 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
  display: block;
}

.form-label span {
  color: var(--brand);
}

.form-input,
.form-select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%237A736C'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 66, 14, 0.08);
}

.form-hint {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 5px;
  line-height: 1.4;
}

.delivery-options,
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery-option,
.payment-option {
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.delivery-option {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.delivery-option.selected,
.payment-option.selected {
  border-color: var(--brand);
  background: var(--brand-light);
}

.delivery-option input[type=radio],
.payment-radio {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.delivery-option-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.delivery-option-content {
  flex: 1;
}

.delivery-option-title,
.payment-option-title {
  font-size: 14px;
  font-weight: 600;
}

.delivery-option-sub,
.payment-option-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 1px;
}

.delivery-option-price {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}

.delivery-option-price.free {
  color: var(--green);
}

.payment-option-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}

.payment-option-logo {
  height: 28px;
  width: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.pm-mpesa { background: #4CAF50; color: white; }
.pm-visa { background: #1A1F71; color: white; }
.pm-cod { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--surface-3); }
.pm-pp { background: #003087; color: white; }
.pm-wave { background: #F59E0B; color: white; }
.pm-stack { background: #0F9D58; color: white; }

.payment-option-sub {
  margin-left: auto;
}

.payment-option-body {
  padding: 0 16px 16px;
  display: none;
}

.payment-option.selected .payment-option-body {
  display: block;
}

.mpesa-prompt {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.mpesa-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.mpesa-step:last-child {
  margin-bottom: 0;
}

.mpesa-step-num {
  width: 20px;
  height: 20px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.cod-note {
  background: #FAEEDA;
  color: #633806;
}

.card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-num {
  grid-column: 1 / -1;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 84px;
}

.summary-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--surface-3);
}

.summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.summary-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qty-pill {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  flex: 1;
}

.summary-item-price {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
}

.summary-line .lbl { color: var(--ink-3); }
.summary-line .val { font-weight: 500; }
.summary-line .val.green { color: var(--green); font-weight: 600; }
.summary-line .val.brand { color: var(--brand); font-weight: 600; }

.summary-divider {
  height: 1px;
  background: var(--surface-3);
  margin: 14px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary-total-lbl {
  font-size: 15px;
  font-weight: 700;
}

.summary-total-val {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.btn-pay {
  width: 100%;
  min-height: 54px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 22px;
}

.btn-pay:hover {
  background: #0A5240;
}

.btn-pay:disabled {
  background: var(--surface-3);
  color: var(--ink-3);
  cursor: not-allowed;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 14px;
}

.secure-note i {
  color: var(--green);
}

.payment-message {
  font-size: 0.9375rem;
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 1rem;
}

.checkout-map-card {
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

#checkout-map {
  min-height: 280px;
  width: 100%;
  height: 100%;
}

.checkout-map-fallback {
  min-height: 280px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at top left, rgba(232, 66, 14, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 240, 236, 0.96));
}

.checkout-map-fallback-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(232, 66, 14, 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.checkout-map-fallback-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.checkout-map-fallback-text {
  max-width: 480px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.checkout-map-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-map-fallback-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--surface-3);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkout-map-fallback-btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.checkout-map-fallback-btn:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.checkout-map-fallback-btn.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
}

.map-action {
  position: absolute;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--surface-3);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.map-action.top-left { top: 12px; left: 12px; }
.map-action.bottom-right { right: 12px; bottom: 12px; }

.map-captured {
  font-size: 12px;
  color: var(--green);
  margin-top: 8px;
}

.map-captured.error {
  color: #C73B31;
}

.map-captured.muted {
  color: var(--ink-3);
}

.carrier-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.carrier-chip-row label {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--surface-3);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
}

.checkout-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border-top: 1px solid var(--surface-3);
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.checkout-sticky-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.checkout-sticky-total span {
  font-size: 1.125rem;
  color: var(--green);
}

.simple-footer-bottom {
  justify-content: space-between;
  align-items: center;
}

.footer-links-inline {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links-inline a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; order: -1; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .checkout-sticky-bar { display: flex; }
  .summary-card #submit-payment-sticky { display: none; }
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 360px;
  gap: 40px;
  padding: 40px 0 60px;
  align-items: start;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 84px;
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--brand);
}

.product-brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}

.product-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.product-rating-row .stars {
  font-size: 15px;
}

.rating-num {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.rating-reviews {
  font-size: 13px;
  color: var(--brand);
  text-decoration: underline;
}

.rating-sold {
  font-size: 13px;
  color: var(--ink-3);
}

.product-price-block {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 22px;
}

.product-price-main {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.product-price-row2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-price-old {
  font-size: 15px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.product-discount-pill {
  background: var(--brand);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.product-saving {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-highlights {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 0;
}

.product-highlights li {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.product-highlights li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--surface-3);
  border-bottom: 1px solid var(--surface-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.trust-item i {
  font-size: 16px;
  color: var(--green);
}

.product-tabs {
  margin-top: 0;
}

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--surface-3);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  margin-bottom: -1px;
}

.tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec-table tr {
  border-bottom: 1px solid var(--surface-3);
}

.spec-table td {
  padding: 10px 0;
}

.spec-table td:first-child {
  color: var(--ink-3);
  width: 40%;
  font-weight: 500;
}

.spec-table td:last-child {
  color: var(--ink);
  font-weight: 500;
}

.buy-panel-inner {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  top: 84px;
}

.gallery-main.is-zoomed img {
  transform: scale(1.04);
}

.gallery-main img {
  transition: transform 0.25s ease;
}

.product-info {
  min-width: 0;
}

.tab-panel-copy,
.tab-panel-stack p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 14px;
}

.tab-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tab-panel-copy strong {
  color: var(--ink);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.stock-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.buy-price {
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 4px;
}

.buy-price-old {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-bottom: 18px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-ctrl button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 16px;
}

.qty-ctrl button:hover {
  background: var(--surface-2);
}

.qty-ctrl span,
.qty-ctrl input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--surface-3);
  border-right: 1px solid var(--surface-3);
  background: transparent;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

.qty-ctrl input:focus {
  outline: none;
}

.btn-add-cart,
.btn-buy-now,
.btn-wishlist {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.btn-add-cart {
  background: var(--brand);
  color: white;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.btn-add-cart:hover {
  background: var(--brand-dark);
}

.btn-add-cart:disabled {
  background: var(--surface-3);
  color: var(--ink-3);
  cursor: not-allowed;
}

.btn-buy-now {
  background: var(--ink);
  color: white;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-buy-now:hover {
  background: var(--brand);
}

.btn-wishlist {
  min-height: 44px;
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--surface-3);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.btn-wishlist:hover,
.btn-wishlist.active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.buy-panel-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-3);
}

.buy-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

.buy-trust-item i {
  color: var(--green);
  font-size: 16px;
  flex-shrink: 0;
}

.seller-row {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-avatar {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.seller-name {
  font-size: 13px;
  font-weight: 600;
}

.seller-sub {
  font-size: 12px;
  color: var(--ink-3);
}

.seller-rating {
  margin-left: auto;
  text-align: right;
}

.seller-rating .stars {
  font-size: 12px;
}

.seller-rating .rat-num {
  font-size: 12px;
  color: var(--ink-3);
}

.product-reviews-wrap {
  background: var(--white);
  border-top: 1px solid var(--surface-3);
}

.reviews-section-shell {
  padding: 52px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.reviews-summary-card {
  position: sticky;
  top: 84px;
}

.review-big-num {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.review-big-stars {
  color: #F59E0B;
  font-size: 22px;
  letter-spacing: -1px;
  margin: 6px 0;
}

.review-big-count {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.rating-bar-label {
  width: 40px;
  color: var(--ink-3);
  flex-shrink: 0;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #F59E0B;
  border-radius: 100px;
}

.rating-bar-pct {
  width: 40px;
  text-align: right;
  color: var(--ink-3);
  flex-shrink: 0;
}

.btn-write-review {
  width: 100%;
  min-height: 42px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-write-review:hover {
  background: var(--brand);
}

.reviews-content {
  min-width: 0;
}

.reviews-section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 32px;
}

#reviews-list,
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--ink-2);
}

.review-name {
  font-size: 14px;
  font-weight: 600;
}

.review-date {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 1px;
}

.review-stars {
  color: #F59E0B;
  font-size: 13px;
  margin-left: auto;
}

.review-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.review-body {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 600;
  margin-top: 10px;
}

.review-helpful {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 10px;
}

.review-helpful a {
  color: var(--brand);
  text-decoration: none;
}

.review-form-shell {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.review-form-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form .form-group {
  margin-bottom: 0;
}

.review-form textarea.form-input {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.review-message {
  font-size: 13px;
  margin-top: 12px;
}

.review-message.success {
  color: var(--green);
}

.review-message.error {
  color: #C73B31;
}

.review-empty,
.summary-empty,
.product-error-state {
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--ink-2);
}

.review-login-note {
  font-size: 14px;
  color: var(--ink-2);
}

.review-login-note a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .buy-panel {
    grid-column: 1 / -1;
  }

  .buy-panel-inner {
    position: static;
  }
}

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

  .reviews-summary-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gallery {
    position: static;
  }

  .qty-row {
    flex-wrap: wrap;
  }

  .checkout-map-fallback {
    padding: 22px 18px;
  }

  .checkout-map-fallback-actions {
    width: 100%;
    flex-direction: column;
  }

  .checkout-map-fallback-btn {
    width: 100%;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .reviews-section-shell {
    padding: 38px 0;
  }

  .review-card,
  .review-form-shell {
    padding: 18px;
  }

  .seller-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .seller-rating {
    margin-left: 52px;
    text-align: left;
  }
}

.account-shell-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.account-sidebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.account-link:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}

.account-link.active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.account-link-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-card {
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  background: var(--white);
  overflow: hidden;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--surface-3);
}

.account-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-card-title i {
  color: var(--brand);
}

.account-card-subtitle {
  color: var(--ink-3);
  font-size: 13px;
}

.account-card-body {
  padding: 24px 26px 26px;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.account-form-group.full {
  grid-column: 1 / -1;
}

.account-form-group label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.account-form-input {
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.account-form-input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 66, 14, 0.08);
}

.account-note {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.6;
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-stat {
  padding: 18px;
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.account-stat-label {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.account-stat-value {
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.account-sidebar-name {
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.account-sidebar-sub {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.account-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--surface-3);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.account-quick-link:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}

.account-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.account-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-info-row.full {
  grid-column: 1 / -1;
}

.account-info-row strong {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-info-row span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.account-order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-order-card {
  padding: 20px 22px;
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.account-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.account-order-code {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.account-order-meta {
  color: var(--ink-3);
  font-size: 13px;
}

.account-order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-order-status.pending {
  background: #faeeda;
  color: #8a5a00;
}

.account-order-status.paid {
  background: #e6f1fb;
  color: #155b98;
}

.account-order-status.processing {
  background: #e6f1fb;
  color: #155b98;
}

.account-order-status.shipped {
  background: #eef0ff;
  color: #3d4fb8;
}

.account-order-status.delivered {
  background: var(--green-light);
  color: var(--green);
}

.account-order-status.cancelled {
  background: #fcebea;
  color: #c0392b;
}

.account-order-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 14px;
}

.account-order-items,
.account-order-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-order-label {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-order-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14px;
}

.account-order-total {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.account-order-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: var(--ink-3);
}

.account-order-detail-line {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.account-order-actions .btn-hero-primary,
.account-order-actions .btn-hero-sec {
  width: auto;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

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

  .account-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .account-form-grid,
  .account-stat-grid,
  .account-info-list,
  .account-order-grid {
    grid-template-columns: 1fr;
  }

  .account-card-header,
  .account-order-head,
  .account-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .page-alerts {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .announce-bar {
    gap: 10px;
    padding: 10px 12px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }

  .modern-navbar {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .nav-logo {
    min-height: 40px;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }

  .nav-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
  }

  .nav-search {
    order: 4;
    margin-bottom: 0;
  }

  .checkout-nav-secure {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .breadcrumb-list {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .listing-toolbar .btn-hero-primary,
  .listing-toolbar .btn-hero-sec,
  .listing-toolbar .account-quick-link {
    width: 100%;
    justify-content: center;
  }

  .flash-sale-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom,
  .simple-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .site-footer .footer-bottom:not(.simple-footer-bottom) > :first-child {
    text-align: center;
  }

  .footer-contact {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container-shell {
    padding: 0 14px;
  }

  .nav-logo {
    font-size: 18px;
    width: 100%;
  }

  .nav-logo-mark,
  .nav-logo-img-wrap {
    width: 28px;
    height: 28px;
  }

  .nav-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-logo .site-name {
    font-size: clamp(15px, 4.3vw, 18px);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav-btn.primary {
    grid-column: 1 / -1;
  }

  .cat-nav {
    padding: 0 14px;
  }

  .cat-nav a {
    padding: 0 14px;
    font-size: 12.5px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 40px 0 32px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .section,
  .section-sm {
    padding: 32px 0;
  }

  .listing-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .listing-sub {
    font-size: 14px;
  }

  .flash-sale-stats {
    grid-template-columns: 1fr;
  }

  .flash-filter-bar {
    margin-bottom: 22px;
  }

  .flash-filter-bar .filter-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .flash-filter-bar .filter-chip-row::-webkit-scrollbar,
  .gallery-thumbs::-webkit-scrollbar,
  .tabs-nav::-webkit-scrollbar,
  .checkout-steps::-webkit-scrollbar {
    display: none;
  }

  .cart-layout {
    padding: 24px 0 56px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .cart-item-right {
    display: block;
    grid-column: 1 / -1;
    text-align: left;
    border-top: 1px solid var(--surface-3);
    padding-top: 12px;
  }

  .cart-item-price {
    font-size: 16px;
  }

  .coupon-row {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .coupon-input,
  .btn-coupon {
    width: 100%;
  }

  .checkout-steps {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 18px 0;
    scrollbar-width: none;
  }

  .step-connector {
    width: 28px;
    margin: 0 4px;
  }

  .form-section-header {
    padding: 18px 18px 16px;
    gap: 12px;
  }

  .form-section-body,
  .summary-card,
  .order-card,
  .account-card-body {
    padding: 18px;
  }

  .payment-option-header,
  .delivery-option {
    padding: 12px 14px;
    align-items: flex-start;
  }

  .checkout-sticky-bar {
    padding: 14px;
  }

  .summary-card {
    padding: 20px 18px;
  }

  .simple-footer-bottom .footer-links-inline {
    justify-content: center;
  }

  .product-layout {
    gap: 22px;
    padding: 28px 0 46px;
  }

  .gallery-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gallery-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
  }

  .product-price-block,
  .buy-panel-inner,
  .seller-row,
  .review-card,
  .review-form-shell {
    padding: 18px;
  }

  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tab-btn {
    white-space: nowrap;
  }

  .account-sidebar {
    padding: 16px;
  }

  .account-link,
  .account-quick-link {
    width: 100%;
  }

  .account-quick-links {
    flex-direction: column;
  }

  .account-quick-link {
    justify-content: center;
  }

  .fab-cart,
  .fab-wa {
    right: max(14px, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
  }

  .fab-cart {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .fab-wa {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-img .bi {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-floating-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  margin-left: auto;
  border: 1.5px solid var(--surface-3);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.mobile-nav-toggle.is-open {
  border-color: var(--brand);
  color: var(--brand);
}

@media (max-width: 768px) {
  .modern-navbar.mobile-nav-ready {
    align-items: flex-start;
  }

  .modern-navbar.mobile-nav-ready .mobile-nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .modern-navbar.mobile-nav-ready .nav-actions {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }

  .modern-navbar.mobile-nav-ready.mobile-nav-open .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--surface-3);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
  }

  .modern-navbar.mobile-nav-ready .nav-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .modern-navbar.mobile-nav-ready .nav-search {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }
}
