:root {
  --bg: #fefefe;
  --card: #ffffff;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --border: rgba(0, 0, 0, 0.08);
  --primary: #d4a574;
  --accent: #e8b89a;
  --danger: #e85a5a;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --pink-light: #fef5f0;
  --gold-light: #faf7f2;
}

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

html,
body {
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, #fefefe 0%, #fafafa 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 6px 16px 48px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.h1 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.h2 {
  font-size: 20px;
  margin: 0;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
}

.purchase-confidence { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.purchase-confidence strong, .purchase-confidence span { display: block; }
.purchase-confidence span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.product-compare-price { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.product-saving { color: #a33d32; background: #fff0ed; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.product-rating-summary { display: flex; gap: 8px; align-items: center; margin: 7px 0 10px; font-size: 13px; }
.product-rating-summary a { text-decoration: underline; text-underline-offset: 3px; }
.purchase-confidence { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 14px 0; }
.purchase-confidence > .trust-mark { min-height: 108px; padding: 14px 12px; border-bottom: 1px solid var(--border); color: var(--text); text-align: center; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.purchase-confidence > .trust-mark:nth-child(odd) { border-right: 1px solid var(--border); }
.purchase-confidence > .trust-mark:nth-last-child(-n+2) { border-bottom: 0; }
.purchase-confidence > .trust-mark:hover { background: #f7f7f5; color: #111; }
.trust-mark svg { display: block; width: 30px; height: 30px; margin: 0 auto 9px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.review-badge { display: inline-flex; align-items: center; padding: 2px 6px; border: 1px solid #1f6f4a; color: #1f6f4a; font-size: 11px; font-weight: 600; }
.review-badge.is-sample { border-color: var(--border); color: var(--muted); }
.review-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.review-images .image-preview-trigger { display: block; flex: 0 0 80px; width: 80px; height: 80px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.review-images img { width: 100%; height: 100%; object-fit: cover; }
.review-eligibility-note { padding: 10px 12px; border-left: 3px solid #1f6f4a; background: #f4f8f5; color: var(--muted); font-size: 13px; line-height: 1.55; }
.checkout-trust-list { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.cart-shipping-value { color: inherit; font-weight: 700; }
.btn[data-checkout-disabled="true"] { pointer-events: none; opacity: .55; cursor: not-allowed; }
.mobile-purchase-bar { display: none; }

@media (max-width: 720px) {
  .purchase-confidence { grid-template-columns: 1fr; }
  .purchase-confidence > .trust-mark { min-height: 88px; border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .purchase-confidence > .trust-mark:last-child { border-bottom: 0 !important; }
  body[data-page="product"] { padding-bottom: 78px; }
  .mobile-purchase-bar { position: fixed; display: flex; left: 0; right: 0; bottom: 0; z-index: 35; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
  .mobile-purchase-bar > div span { display: block; color: var(--muted); font-size: 11px; }
  .mobile-purchase-bar .btn { min-width: 150px; }
  .checkout-layout { display: flex !important; flex-direction: column; }
  .checkout-layout > .card:nth-child(2) { order: -1; }
}

.row {
  display: flex;
  align-items: center;
}
.gap {
  gap: 10px;
}
.spacer {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 顶部工具栏 */
.header-topbar {
  background: #f8f8f8;
  border-bottom: 1px solid var(--border);
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 16px;
}
.header-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.currency-selector {
  display: none; /* Temporarily hidden */
  align-items: center;
  gap: 6px;
  position: relative;
}
.currency-selector .flag-icon {
  width: 20px;
  height: 15px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

/* 自定义下拉菜单 */
.custom-select {
  position: relative;
  display: inline-block;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  min-width: 80px;
  transition: border-color 0.2s;
}
.custom-select-trigger:hover {
  border-color: rgba(0, 0, 0, 0.15);
}
.custom-select-trigger.active {
  border-color: var(--primary);
}
.custom-select-arrow {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s;
  margin-left: auto;
}
.custom-select-trigger.active .custom-select-arrow {
  transform: rotate(180deg);
}
.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  margin-top: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}
.custom-select-options.show {
  display: block;
}
.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: background-color 0.2s;
}
.custom-select-option:hover {
  background: var(--gold-light);
}
.custom-select-option.selected {
  background: var(--pink-light);
  color: var(--primary);
  font-weight: 600;
}
.custom-select-option .flag-icon {
  width: 18px;
  height: 13px;
  flex-shrink: 0;
}
.currency-text {
  flex: 1;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover {
  color: var(--text);
}
.contact-link .icon {
  font-size: 16px;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 300px;
  flex: 1;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 13px;
  background: transparent;
  color: var(--text);
}
.search-input::placeholder {
  color: var(--muted);
}
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.search-btn:hover {
  color: var(--text);
}
.search-btn svg {
  display: block;
}

/* Logo区域 */
.header-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-octagon {
  width: 50px;
  height: 50px;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  flex-shrink: 0;
}
.logo-letter {
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
}

/* 底部导航栏 */
.header-main-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 16px;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  flex-wrap: wrap;
}
.header-main-nav-inner::-webkit-scrollbar {
  height: 0;
}
.nav-item {
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav-item:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-item-sale {
  color: #d32f2f;
}
.nav-item-sale:hover {
  color: #b71c1c;
  border-bottom-color: #b71c1c;
}
.sale-badge {
  position: absolute;
  top: -6px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d32f2f;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
  transform: scale(0.9);
}
.sale-text {
  letter-spacing: 0.5px;
}

/* 通用样式 */
.icon {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}
.select {
  display: flex;
  align-items: center;
  gap: 6px;
}
.select select {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 8px;
  outline: none;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.select select:hover {
  border-color: rgba(0, 0, 0, 0.15);
}
.select select:focus {
  border-color: var(--primary);
}
.select select option {
  padding: 6px 8px;
  font-size: 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text);
}
.nav-link .icon {
  font-size: 16px;
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.cart-btn:hover {
  color: var(--text);
}
.cart-btn .icon {
  font-size: 16px;
}
.badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}

/* 手机版导航栏 */
.header-mobile-nav {
  display: none;
}

/* 手机版搜索框 */
.mobile-search-box {
  display: none;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.mobile-search-box.show {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-search-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  height: 36px;
  box-sizing: border-box;
}

.mobile-search-input::placeholder {
  color: var(--muted);
}

.mobile-search-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: #4a4a4a;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.mobile-search-submit-btn:hover {
  background: #333333;
}

.mobile-search-submit-btn:active,
.mobile-search-submit-btn:focus {
  background: #4a4a4a;
  outline: none;
}

/* 左侧滑出菜单栏 */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
  display: block;
  opacity: 1;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-drawer.show {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: var(--primary);
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.mobile-menu-user-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--primary);
}

.mobile-menu-currency {
  display: none; /* Temporarily hidden */
  align-items: center;
  gap: 6px;
}

.mobile-menu-currency .flag-icon {
  width: 20px;
  height: 15px;
}

.mobile-menu-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-search-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  height: 36px;
  box-sizing: border-box;
}

.mobile-menu-search-input::placeholder {
  color: var(--muted);
}

.mobile-menu-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: #4a4a4a;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.mobile-menu-search-btn:hover {
  background: #333333;
}

.mobile-menu-search-btn:active,
.mobile-menu-search-btn:focus {
  background: #4a4a4a;
  outline: none;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav-item {
  display: block;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s, color 0.2s;
}

.mobile-menu-nav-item:hover {
  background: var(--gold-light);
  color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 860px) {
  .header-topbar {
    display: none;
  }
  .header-logo-section {
    display: none;
  }
  .header-main-nav {
    display: none;
  }
  .header-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    transition: color 0.2s;
    padding: 0;
  }
  .mobile-menu-btn:hover {
    color: var(--primary);
  }
  .mobile-menu-btn:active,
  .mobile-menu-btn:focus {
    color: var(--text);
    outline: none;
  }
  .mobile-menu-btn svg {
    display: block;
  }
  .brand-logo-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text);
  }
  .brand-logo-mobile .logo-octagon {
    width: 20px;
    height: 20px;
  }
  .brand-logo-mobile .logo-letter {
    font-size: 12px;
  }
  .brand-logo-mobile .brand-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
  }
  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text) !important;
    transition: color 0.2s;
    padding: 0;
  }
  .mobile-search-btn:hover {
    color: var(--primary) !important;
  }
  .mobile-search-btn:active,
  .mobile-search-btn:focus {
    outline: none;
  }
  .mobile-search-btn.active {
    color: var(--primary) !important;
  }
  .mobile-search-btn:not(.active) {
    color: var(--text) !important;
  }
  .mobile-search-btn:not(.active):hover {
    color: var(--primary) !important;
  }
  .mobile-search-btn svg {
    display: block;
  }
  .mobile-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0;
  }
  .mobile-cart-btn:hover {
    color: var(--primary);
  }
  .mobile-cart-btn svg {
    display: block;
  }
  .mobile-cart-btn .badge {
    position: absolute;
    top: -3px;
    right: -5px;
    margin: 0;
  }
  
  /* HOT SELLING 手机端样式调整 */
  .hot-selling-title {
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
    padding: 0 12px !important;
  }
  .hot-selling-title-wrapper {
    margin: 0 0 12px !important;
  }
  .hot-selling-carousel {
    gap: 8px !important;
    padding: 4px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }
  .hot-selling-item {
    min-width: 0 !important;
    width: 100% !important;
    flex-shrink: 1 !important;
    border-radius: 6px !important;
  }
  .hot-selling-item-image-wrapper {
    aspect-ratio: 1/1 !important;
  }
  .hot-selling-item-body {
    padding: 10px !important;
  }
  .hot-selling-item-price {
    gap: 4px !important;
    margin-bottom: 4px !important;
  }
  .hot-selling-item-price-current {
    font-size: 13px !important;
  }
  .hot-selling-item-price-original {
    font-size: 10px !important;
  }
  .hot-selling-item-tag {
    padding: 3px 6px !important;
    font-size: 8px !important;
    border-radius: 6px !important;
  }
  .hot-selling-badge {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  }
  .hot-selling-badge-hot {
    width: 28px !important;
    height: 28px !important;
    font-size: 8px !important;
    top: 7px !important;
    right: 10px !important;
  }
  .hot-selling-badge-discount {
    font-size: 8px !important;
    padding: 6px 0 !important;
    width: 40% !important;
  }
  .hot-selling-arrow {
    display: none !important;
  }
  
  /* Category Banner 手机端样式调整 */
  .category-banner {
    aspect-ratio: 16/9 !important;
    min-height: 180px;
  }
  .category-banner-full {
    aspect-ratio: 16/9 !important;
  }
  .category-banner-image {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Footer Features 手机端样式调整 - 两行，每行2个 */
  .footer-features-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 12px !important;
    padding: 20px 16px !important;
  }
  .footer-feature-item {
    flex: none !important;
    min-width: 0 !important;
  }
  .footer-feature-divider {
    display: none !important;
  }
  
  /* Footer 主内容手机端调整 */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 16px !important;
  }
  /* ABOUT 和 HELP 左右并排，CONTACT 和 SOCIAL 各占一行 */
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    grid-column: 1 / -1 !important;
  }
  .footer-col {
    gap: 8px !important;
  }
  .footer-title {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  .footer-link {
    font-size: 12px !important;
    padding: 2px 0 !important;
    line-height: 1.5 !important;
  }
  .footer-contact-info {
    gap: 12px !important;
  }
  .contact-info-label {
    font-size: 12px !important;
  }
  .contact-info-value {
    font-size: 12px !important;
  }
  
  /* Top按钮手机端缩小 */
  .footer-top-btn {
    width: 40px !important;
    height: 40px !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 9px !important;
    gap: 1px !important;
  }
  .footer-top-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  
  /* 缩小移动端section间距 */
  .home-merchandising-section {
    margin: 16px 0 !important;
  }
  .hot-selling-section {
    margin-top: 16px !important;
  }
  .category-grid-section {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .container {
    padding-bottom: 32px !important;
  }
  .site-footer {
    margin-top: 0 !important;
  }
}

/* Hero Banner */
.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 12px 0 24px;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--gold-light) 100%);
  box-shadow: var(--shadow-lg);
}
.hero-banner-content {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-banner-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('https://picsum.photos/800/600?random=hero') center/cover;
  opacity: 0.3;
  z-index: 1;
}
.hero-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--text);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-large {
  padding: 14px 24px;
  font-size: 16px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}
.pill .icon {
  font-size: 14px;
}

/* Spotlight Grid */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 860px) {
  .spotlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   Premium homepage overrides
   ========================= */

.announcement-bar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}
.announcement-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.announcement-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-link:hover {
  color: var(--primary);
}

/* Brand: minimal, premium (override older gradient text style) */
.brand-text {
  font-size: 14px;
  letter-spacing: 2.2px;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--text);
}
.brand-subtitle {
  font-size: 12px;
  margin-left: 8px;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: linear-gradient(135deg, #ffffff 0%, #f3efe9 100%);
  border: 1px solid rgba(176, 138, 90, 0.35);
  color: #1b1b1d;
}
.topbar-actions .nav-link {
  font-size: 13px;
  letter-spacing: 0.4px;
}

/* HERO premium */
.hero-premium {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-premium-media {
  min-height: 260px;
  background: #f3efe9;
  background-size: cover;
  background-position: center;
}
.hero-premium-content {
  padding: 22px 18px 20px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero-premium .hero-title {
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 10px;
  font-weight: 800;
}
.hero-premium .hero-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.hero-usps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
.usp {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 13px;
}

/* Collection tiles */
.collection-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.collection-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f3efe9;
  min-height: 180px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.collection-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.26) 100%);
}
.collection-tile-label,
.collection-tile-sub {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 0 16px;
}
.collection-tile-label {
  font-weight: 800;
  letter-spacing: 0.8px;
  font-size: 18px;
  margin-bottom: 4px;
}
.collection-tile-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding-bottom: 16px;
}
.collection-tile:hover {
  border-color: rgba(176, 138, 90, 0.55);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Premium editorial poster */
.poster-premium {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1b1b1d 0%, #0f0f11 100%);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 240px;
}
.poster-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0.18;
}
.poster-premium-content {
  position: relative;
  padding: 26px 20px;
  max-width: 560px;
}
.poster-kicker {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}
.poster-premium-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.poster-premium-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Premium category grid cards */
.cat-grid.premium {
  gap: 14px;
}
.cat-tile-media {
  height: 140px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}
.cat-tile-body {
  padding: 14px 14px 16px;
}
.cat-tile-title {
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.cat-tile-sub {
  color: var(--muted);
  font-size: 13px;
}

/* Trust row */
.trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.trust-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}
.trust-title {
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

@media (min-width: 720px) {
  .hero-premium {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .hero-premium-media {
    min-height: 420px;
  }
  .hero-premium-content {
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-premium .hero-title {
    font-size: 48px;
  }
  .hero-premium .hero-subtitle {
    font-size: 16px;
  }
  .hero-usps {
    grid-template-columns: repeat(3, 1fr);
  }
  .collection-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .poster-premium {
    min-height: 300px;
  }
  .poster-premium-content {
    padding: 44px 40px;
  }
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Benefits strip (homepage bottom) */
/* Promo Banner */
.promo-banner-section {
  margin: 0;
  padding: 0;
}
.promo-banner {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 36px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.promo-banner picture {
  display: block;
}
.promo-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.promo-banner:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}
.topic-slot.is-empty {
  display: none;
}
.topic-slot.is-loaded {
  display: block;
}

/* Homepage product merchandising */
.home-merchandising-section {
  margin: 24px 0;
}
.hot-selling-section {
  margin-top: 20px;
  position: relative;
}
.hot-selling-title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 24px;
}
.hot-selling-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.hot-selling-title-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.hot-selling-carousel-wrapper {
  position: relative;
}
.hot-selling-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hot-selling-carousel::-webkit-scrollbar {
  display: none;
}
.hot-selling-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}
.hot-selling-arrow-left {
  left: 8px;
}
.hot-selling-arrow-right {
  right: 8px;
}
.hot-selling-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}
.hot-selling-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.hot-selling-arrow svg {
  display: block;
}
.hot-selling-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  min-width: 260px;
  flex-shrink: 0;
  width: 260px;
  display: flex;
  flex-direction: column;
}
.hot-selling-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.hot-selling-item-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.hot-selling-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8f8f8;
}
.hot-selling-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.hot-selling-badge-hot {
  top: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 11px;
  background: #d32f2f;
  color: #ffffff;
}
.hot-selling-badge-discount {
  top: 10%;
  left: 90%;
  width: 45%;
  padding: 10px 0;
  font-size: 11px;
  background: #ff6b35;
  color: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin: 0;
  text-align: center;
}
.hot-selling-item-body {
  padding: 16px;
  flex: 1;
}

.hot-selling-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hot-selling-item-name {
  min-height: 2.7em;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hot-selling-wishlist {
  right: auto;
  left: 9px;
}

/* Category Grid Section */
.category-grid-section {
  margin-top: 40px;
  margin-bottom: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 2/1;
  background: var(--card);
  box-shadow: var(--shadow);
  display: block;
  text-decoration: none;
}
.category-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.category-banner:hover .category-banner-image {
  transform: scale(1.05);
}
.category-banner:hover {
  box-shadow: var(--shadow-lg);
}
.category-banner-full {
  aspect-ratio: 4/1;
}

@media (min-width: 720px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-banner-full {
    grid-column: 1 / -1;
  }
}
.hot-selling-item-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.hot-selling-item-price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.hot-selling-item-price-original {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}
.hot-selling-item-tag {
  display: inline-block;
  background: #1a1a2e;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hot-selling-carousel {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.benefits-strip {
  margin-top: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 18px 10px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 8px;
}
.benefit {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px 6px;
}
.benefit-icon {
  color: rgba(27, 27, 29, 0.78);
  margin-bottom: 10px;
}
.benefit-title {
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text);
}
.benefit-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 860px) {
  .benefits-strip {
    padding: 22px 12px;
  }
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .benefit {
    padding: 10px 6px;
  }
}
/* Posters */
.poster-large {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  margin: 24px 0;
}
.poster-content {
  text-align: center;
  z-index: 2;
  max-width: 600px;
}
.poster-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.poster-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px;
}
.poster-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 24px;
}

.poster-medium {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--pink-light) 100%);
  display: flex;
  align-items: center;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.poster-medium-content {
  flex: 1;
  z-index: 2;
}
.poster-medium-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px;
}
.poster-medium-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 16px;
}
.poster-new {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.section {
  margin-top: 22px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head .h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head .icon {
  font-size: 20px;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-title {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
.card-body {
  padding: 14px 16px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.product-card img,
.product-image-missing {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #f8f8f8;
}
.product-card img.image-missing {
  visibility: hidden;
}
.product-card .pc-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}
.pc-name {
  font-weight: 700;
  font-size: 14px;
}
.pc-price {
  font-weight: 700;
}
.pc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  background: var(--card);
  color: var(--text);
  transition: all 0.2s;
  font-size: 14px;
}
.btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: #c89564;
  border-color: #c89564;
}
.btn-secondary {
  background: var(--pink-light);
  border-color: var(--accent);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
}

.banner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--gold-light) 100%);
  box-shadow: var(--shadow);
}
.banner-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cat-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card);
  display: grid;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.cat-tile:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.page-head {
  margin: 10px 0 16px;
}
.topic-page-head {
  max-width: 820px;
}
.topic-hero {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  margin: 8px 0 20px;
}
.topic-hero-image {
  display: block;
  width: 100%;
  height: auto;
}
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px 20px;
  text-align: center;
}
.empty-title {
  font-weight: 700;
  margin-bottom: 6px;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.product {
  display: grid;
  grid-template-areas:
    "media"
    "info"
    "detail";
  gap: 14px;
}
.product-media { grid-area: media; min-width: 0; }
.product-info { grid-area: info; min-width: 0; }
.product-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f8f8f8;
}
.product-gallery {
  display: grid;
  gap: 10px;
}
.product-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8f8f8;
}
.product-gallery-main .product-gallery-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
.product-gallery-image-button,
.product-gallery-single-preview,
.product-detail-image-button,
.image-preview-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.product-gallery-image-button {
  width: 100%;
  height: 100%;
}
.product-gallery-single-preview {
  width: 100%;
}
.product-gallery-image-button:focus-visible,
.product-gallery-single-preview:focus-visible,
.product-detail-image-button:focus-visible,
.image-preview-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}
.product-gallery-arrow:hover,
.product-gallery-arrow:focus {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}
.product-gallery-prev {
  left: 10px;
}
.product-gallery-next {
  right: 10px;
}
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.product-gallery-thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.product-gallery-thumb.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(180, 139, 60, 0.18);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .product-gallery-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }
  .product-gallery-thumb {
    width: 64px;
    flex: 0 0 64px;
    scroll-snap-align: start;
  }
}
.product-info .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
}
.product-detail-section {
  grid-area: detail;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.product-detail-section .section-head {
  margin-bottom: 10px;
}
.product-detail-section .h2 {
  margin: 0;
  font-size: 22px;
}
.product-detail-html {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.product-detail-html > :first-child {
  margin-top: 0;
}
.product-detail-html > :last-child {
  margin-bottom: 0;
}
.product-detail-html:empty {
  display: none;
}
.product-detail-images {
  display: grid;
  justify-items: center;
}
.product-detail-image-button {
  width: 100%;
  max-width: 790px;
}
.product-detail-images img {
  display: block;
  width: 100%;
  max-width: 790px;
  height: auto;
}
.product-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 15, 15, .92);
}
.product-image-viewer[hidden] {
  display: none;
}
.product-image-viewer-dialog {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1400px, 100%);
  height: min(1000px, calc(100vh - 48px));
  height: min(1000px, calc(100dvh - 48px));
  padding: 52px 56px;
  touch-action: pan-y pinch-zoom;
  outline: none;
}
.product-image-viewer-image {
  display: block;
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}
.product-image-viewer-message { grid-area: 1 / 1; z-index: 1; margin: 0; padding: 10px 14px; color: #fff; background: #222; font-size: 14px; text-align: center; border-radius: 4px; }
.product-image-viewer-arrow { position: absolute; top: calc(50% - 24px); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: #222; font-size: 32px; cursor: pointer; }
.product-image-viewer-arrow.is-previous { left: 0; }
.product-image-viewer-arrow.is-next { right: 0; }
.product-image-viewer-arrow:hover, .product-image-viewer-arrow:focus-visible { background: #fff; color: #111; outline: 2px solid #fff; outline-offset: 3px; }
.product-image-viewer-counter { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); min-width: 64px; padding: 6px 12px; color: #fff; background: #222; font-size: 14px; text-align: center; border-radius: 4px; font-variant-numeric: tabular-nums; }
.product-image-viewer [hidden] { display: none; }
@media (max-width: 860px) {
  .product-image-viewer { padding: 8px; }
  .product-image-viewer-dialog { height: calc(100vh - 16px); height: calc(100dvh - 16px); padding: max(56px, env(safe-area-inset-top)) 0 calc(76px + env(safe-area-inset-bottom)); }
  .product-image-viewer-arrow { top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .product-image-viewer-arrow.is-previous { left: calc(50% - 102px); }
  .product-image-viewer-arrow.is-next { right: calc(50% - 102px); }
  .product-image-viewer-counter { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.product-image-viewer-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(20, 20, 20, .72);
  color: #fff;
  cursor: pointer;
}
.product-image-viewer-close:hover,
.product-image-viewer-close:focus-visible {
  background: #fff;
  color: #111;
  outline: none;
}
.product-image-viewer-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.product-image-viewer-open {
  overflow: hidden;
}
.product-variants {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}
.product-variant-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.product-variant-title span {
  color: var(--muted);
  font-weight: 600;
}
.product-variant-group {
  display: grid;
  gap: 7px;
}
.product-option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-option-value {
  min-width: 72px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.product-option-value.is-active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(180, 139, 60, 0.16);
}
.product-option-value:hover,
.product-option-value:focus {
  border-color: var(--primary);
  outline: none;
}
.product-option-value:disabled {
  border-color: #e5e7eb;
  background: #f5f6f7;
  color: #a4a8ae;
  cursor: not-allowed;
  box-shadow: none;
  text-decoration: line-through;
}
.product-variant-hint {
  min-height: 18px;
}
.price {
  font-size: 22px;
  font-weight: 900;
}
.qty-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}
.qty-row .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form {
  display: grid;
  gap: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}
.input:focus,
.textarea:focus {
  border-color: var(--primary);
}
.textarea {
  resize: vertical;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.recaptcha-notice {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reviews {
  display: grid;
  gap: 0;
  margin-bottom: 12px;
}
.reviews-more-actions {
  justify-content: center;
  margin-bottom: 12px;
}
.review {
  min-width: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.review-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.review-name { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.review-date { flex-shrink: 0; color: var(--muted); font-size: 12px; line-height: 22px; font-variant-numeric: tabular-nums; }
.review-rating { margin-bottom: 10px; font-size: 16px; line-height: 1; }
.review-content { margin: 0; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .review { padding: 18px 0; }
  .review-head { gap: 12px; }
  .review-identity { gap: 6px; }
  .review-images .image-preview-trigger { flex-basis: 68px; width: 68px; height: 68px; }
}
.stars {
  color: var(--accent);
}

.cart-layout,
.checkout-layout {
  display: grid;
  gap: 12px;
}

.checkout-auth-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
}

.inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.paypal-checkout-button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #ffc439;
  color: #111827;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
}

.paypal-checkout-button:hover {
  background: #f4b800;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.16);
}

.paypal-checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.paypal-wordmark {
  color: #003087;
  font-weight: 900;
  font-size: 19px;
}

.paypal-button-text {
  line-height: 1.2;
}

.paypal-checkout-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  margin-top: -2px;
}

.payment-result-page {
  width: 100%;
  max-width: 900px;
  min-height: 64vh;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.payment-result-panel {
  text-align: center;
}

.payment-status-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #eef2f5;
  color: #4b5563;
}

.payment-status-mark::before {
  width: 24px;
  height: 24px;
  border: 3px solid #c6ced6;
  border-top-color: #315e7d;
  border-radius: 50%;
  content: "";
  animation: payment-result-spin 0.8s linear infinite;
}

.payment-result-panel[data-state="success"] .payment-status-mark {
  background: #e8f4ed;
  color: #1f6f4a;
}

.payment-result-panel[data-state="success"] .payment-status-mark::before {
  width: auto;
  height: auto;
  border: 0;
  content: "\2713";
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  animation: none;
}

.payment-result-panel[data-state="cancel"] .payment-status-mark,
.payment-result-panel[data-state="failed"] .payment-status-mark {
  background: #fff1ee;
  color: #a33d32;
}

.payment-result-panel[data-state="cancel"] .payment-status-mark::before,
.payment-result-panel[data-state="failed"] .payment-status-mark::before {
  width: auto;
  height: auto;
  border: 0;
  content: "!";
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  animation: none;
}

.payment-result-eyebrow {
  color: #1f6f4a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payment-result-panel[data-state="cancel"] .payment-result-eyebrow,
.payment-result-panel[data-state="failed"] .payment-result-eyebrow {
  color: #a33d32;
}

.payment-result-title {
  max-width: 680px;
  margin: 8px auto 10px;
  font-size: 34px;
  line-height: 1.2;
}

.payment-result-hint {
  max-width: 620px;
  min-height: 24px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.payment-order-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 34px auto 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.payment-order-summary[hidden] {
  display: none;
}

.payment-order-summary > div {
  min-width: 0;
  padding: 17px 16px;
}

.payment-order-summary > div + div {
  border-left: 1px solid var(--border);
}

.payment-order-summary dt {
  color: var(--muted);
  font-size: 12px;
}

.payment-order-summary dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 800;
}

.payment-next-steps {
  display: grid;
  max-width: 720px;
  margin: 24px auto 0;
  text-align: left;
}

.payment-next-steps[hidden] {
  display: none;
}

.payment-next-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 14px 0;
}

.payment-next-step + .payment-next-step {
  border-top: 1px solid var(--border);
}

.payment-next-step > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf3f7;
  color: #315e7d;
  font-size: 12px;
  font-weight: 800;
}

.payment-next-step strong,
.payment-next-step small {
  display: block;
}

.payment-next-step strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.payment-next-step small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.payment-result-actions .btn {
  min-width: 160px;
  border-radius: 8px;
}

.payment-result-support {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.payment-result-support a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes payment-result-spin {
  to { transform: rotate(360deg); }
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item img {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8f8f8;
}
.cart-item .ci-name {
  font-weight: 700;
}
.cart-item .ci-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.cart-item .icon-btn {
  min-width: 44px;
  min-height: 44px;
}
.icon-btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.icon-btn:hover {
  border-color: var(--primary);
  background: var(--gold-light);
}
.danger {
  color: var(--danger);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.summary-row.total {
  font-weight: 900;
  font-size: 16px;
}
.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.grid-2 {
  display: grid;
  gap: 12px;
}

.site-footer {
  border-top: 2px solid var(--border);
  background: #ffffff;
  margin-top: 64px;
}

/* Footer Features Strip */
.footer-features {
  border-bottom: 1px solid var(--border);
  background: #f8f8f8;
}
.footer-features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.footer-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.footer-feature-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 10px;
}
.footer-feature-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
}
.footer-feature-icon svg {
  width: 48px;
  height: 48px;
}
.footer-feature-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.footer-feature-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.footer-feature-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.footer-feature-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.footer-feature-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Footer Main Content */
.footer-main-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col-social {
  gap: 16px;
}
.footer-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-link {
  display: block;
  color: var(--muted);
  margin: 0;
  padding: 1px 0;
  transition: color 0.2s;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--primary);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
  text-decoration: none;
}
.social-link svg {
  display: block;
  width: 20px;
  height: 20px;
}
.social-link:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 1px;
}
.contact-info-value {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.footer-newsletter {
  margin-top: 2px;
  padding: 0;
  background: transparent;
  color: var(--text);
}
.footer-newsletter[hidden] { display: none !important; }
.footer-newsletter .newsletter-heading { margin-bottom: 9px; color: var(--text); font-size: 16px; letter-spacing: -.01em; }
.newsletter-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: 0;
  min-height: 46px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 7px;
  padding: 0 10px 0 13px;
  background: #fff;
}
.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 11px 8px 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.18);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-btn {
  padding: 8px 0 6px 13px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.34);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-btn:disabled { cursor: wait; opacity: .55; }
.newsletter-hint { min-height: 18px; margin-top: 8px; color: var(--text); }
.footer-newsletter .newsletter-consent { color: var(--muted); line-height: 1.45; }
.footer-newsletter .newsletter-consent a,
.footer-newsletter .recaptcha-notice,
.footer-newsletter .recaptcha-notice a { color: inherit; }
.footer-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 34;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.footer-top-btn.visible {
  display: flex;
}
.footer-top-btn svg {
  width: 16px;
  height: 16px;
}
.footer-top-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.copyright {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.payment-label {
  color: var(--muted);
  font-size: 13px;
}
.payment-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}
.payment-logo {
  height: 24px;
  width: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
}
.payment-logo-link:hover {
  transform: translateY(-2px);
}
.payment-logo-link:hover .payment-logo {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
@media (max-width: 639px) {
  .footer-features-inner {
    padding: 20px 10px;
    flex-wrap: nowrap;
  }
  .footer-feature-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .footer-feature-icon {
    width: 48px;
    height: 48px;
  }
  .footer-feature-icon svg {
    width: 36px;
    height: 36px;
  }
  .footer-feature-number {
    font-size: 14px;
  }
  .footer-feature-title {
    font-size: 12px;
  }
  .footer-feature-sub {
    font-size: 11px;
  }
  .footer-feature-divider {
    width: 1px;
    height: 50px;
    margin: 0 4px;
  }
}
@media (min-width: 640px) {
  .footer-features-inner {
    flex-wrap: nowrap;
  }
  .footer-feature-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    flex: 1;
  }
  .footer-feature-divider {
    width: 1px;
    height: 60px;
    margin: 0 10px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .footer-bottom {
    flex-direction: row;
    padding: 14px 20px;
  }
  .footer-payment {
    flex-direction: row;
    width: auto;
    gap: 12px;
  }
}
@media (min-width: 860px) {
  .footer-features-inner {
    flex-wrap: nowrap;
  }
  .footer-feature-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    flex: 1;
  }
  .footer-feature-divider {
    width: 1px;
    height: 60px;
    margin: 0 10px;
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
  }
  .payment-logos {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .payment-logo {
    height: 28px;
  }
  .hero-banner {
    grid-template-columns: 1.2fr 1fr;
    min-height: 450px;
  }
  .hero-banner-image {
    position: relative;
    width: 100%;
    opacity: 1;
  }
}

.prose {
  max-width: 860px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose ul {
  padding-left: 20px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 60;
}
.modal-backdrop.show {
  display: flex;
}
.modal {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 24px;
}
.modal-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}
.modal-body p {
  color: var(--muted);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 44px;
  min-height: 44px;
}
.coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 2px dashed var(--accent);
  border-radius: 16px;
  padding: 12px 16px;
  background: var(--pink-light);
  margin: 12px 0;
}
.coupon-code {
  font-weight: 900;
  letter-spacing: 1px;
}
.coupon-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.coupon-entry .btn {
  min-width: 92px;
}
.coupon-hint {
  min-height: 18px;
  margin-top: -4px;
}
.checkout-discount {
  color: #287a4b;
}
.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

/* Desktop enhancements */
@media (min-width: 860px) {
  .h1 {
    font-size: 44px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "media info"
      "detail info";
    column-gap: 28px;
    row-gap: 22px;
    align-items: start;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .modal-actions {
    grid-template-columns: 1fr 1fr;
  }
  .poster-large {
    min-height: 350px;
  }
  .poster-medium {
    min-height: 250px;
  }
}

@media (max-width: 600px) {
  .payment-result-page {
    min-height: 58vh;
    padding: 38px 16px 56px;
  }

  .payment-result-title {
    font-size: 27px;
  }

  .payment-order-summary {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .payment-order-summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 2px;
  }

  .payment-order-summary > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .payment-result-actions {
    display: grid;
  }

  .payment-result-actions .btn {
    width: 100%;
  }
}

/* Commerce conversion controls */
.wishlist-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  position: relative;
}
.wishlist-nav-link:hover { color: var(--text); }
.wishlist-nav-link .badge { margin-left: 0; }
.mobile-wishlist-btn { display: none; }

.product-card { position: relative; }
.product-card-link { color: inherit; text-decoration: none; }
.pc-content-link { display: block; flex: 1; }
.pc-image-wrap { position: relative; overflow: hidden; }
.pc-image-wrap > .product-card-link { display: block; }
.product-card-wishlist {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #353535;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .09);
}
.product-card-wishlist svg,
.product-wishlist-button svg {
  width: 20px;
  height: 20px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-card-wishlist:hover,
.product-card-wishlist.is-active,
.product-wishlist-button:hover,
.product-wishlist-button.is-active { color: #a33d4b; border-color: #dca8af; background: #fff7f8; }
.product-card-wishlist.is-active svg,
.product-wishlist-button.is-active svg { fill: currentColor; }
.pc-actions,
.hot-selling-item-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 6;
  padding: 0;
  transition: opacity .18s ease, transform .22s ease;
}
.product-card-quick-add {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(212, 165, 116, .72);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
  backdrop-filter: blur(8px);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.product-card-quick-add:hover,
.product-card-quick-add:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(212, 165, 116, .34);
  outline: none;
}
.product-card-quick-add.is-added { border-color: #287a4b; background: #287a4b; color: #fff; }
.product-card-quick-add:disabled { border-color: rgba(0, 0, 0, .08); background: rgba(245, 245, 244, .96); color: #888; cursor: not-allowed; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }

@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .pc-actions,
  .hot-selling-item-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 12px));
  }
  .pc-image-wrap:hover > .pc-actions,
  .pc-image-wrap:focus-within > .pc-actions,
  .hot-selling-item-image-wrapper:hover > .hot-selling-item-actions,
  .hot-selling-item-image-wrapper:focus-within > .hot-selling-item-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.product-primary-actions { display: flex; flex: 1; min-width: 0; gap: 8px; }
.product-add-button { flex: 1; min-height: 52px; border-radius: 8px; font-size: 16px; }
.product-wishlist-button {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.mobile-purchase-actions { display: flex; align-items: center; gap: 7px; }
.product-summary-details {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-summary-details-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}
.product-specifications {
  margin: 0;
}
.product-specification-row {
  display: grid;
  grid-template-columns: minmax(108px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid #eeeeeb;
}
.product-specification-row:first-child { border-top: 0; }
.product-specification-row dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.product-specification-row dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.purchase-confidence {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 0;
  box-shadow: none;
}
.purchase-confidence > .trust-mark {
  min-height: 72px;
  padding: 10px 4px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.purchase-confidence > .trust-mark:nth-child(odd) { border-right: 1px solid var(--border); }
.purchase-confidence > .trust-mark:last-child { border-right: 0; }
.purchase-confidence > .trust-mark:hover,
.purchase-confidence > .trust-mark[aria-expanded="true"] { background: #faf8f4; color: #6f4b2c; }
.purchase-confidence .trust-mark svg { width: 22px; height: 22px; margin: 0 auto 5px; }
.purchase-confidence .trust-mark strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.purchase-confidence .trust-mark span { display: none; }
.trust-detail-panel {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #faf8f4;
  font-size: 12px;
  line-height: 1.5;
}
.trust-detail-panel strong { display: block; margin-bottom: 2px; }
.trust-detail-panel span { color: var(--muted); }

.cart-shipping-progress { padding: 12px 16px; background: #fbf8f2; border-block: 1px solid #eee5d6; }
.cart-page-shipping-progress,
.checkout-shipping-progress { margin-top: 10px; border: 1px solid #eee5d6; border-radius: 8px; }
.cart-shipping-message { font-size: 12px; font-weight: 700; line-height: 1.4; }
.cart-shipping-track { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e6ded1; }
.cart-shipping-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--primary); transition: width .25s ease; }

.has-open-overlay { overflow: hidden; }
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 72;
  background: rgba(20, 18, 16, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.cart-drawer-overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 73;
  width: min(430px, 100vw);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: #fff;
  color: var(--text);
  box-shadow: -12px 0 36px rgba(0, 0, 0, .16);
  transform: translateX(105%);
  transition: transform .22s ease;
}
.cart-drawer.show { transform: translateX(0); }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--border); }
.cart-drawer-header h2 { margin: 2px 0 0; font-size: 21px; }
.cart-drawer-eyebrow { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cart-drawer-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; }
.cart-drawer-body { min-height: 0; overflow-y: auto; padding: 0 18px 18px; }
.cart-drawer-empty { display: grid; gap: 5px; padding: 26px 2px 18px; text-align: center; }
.cart-drawer-empty span { color: var(--muted); font-size: 13px; }
.cart-drawer-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-drawer-item-image { display: block; width: 82px; height: 82px; border-radius: 8px; overflow: hidden; background: #f5f5f4; }
.cart-drawer-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item-copy { min-width: 0; }
.cart-drawer-item-name { display: block; color: inherit; font-size: 13px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.cart-drawer-line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.cart-drawer-quantity { display: inline-grid; grid-template-columns: 44px 30px 44px; align-items: center; border: 1px solid var(--border); border-radius: 6px; text-align: center; }
.cart-drawer-quantity button { height: 44px; border: 0; background: transparent; cursor: pointer; }
.cart-drawer-quantity span { font-size: 12px; }
.cart-drawer-remove { min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; text-decoration: underline; }
.cart-drawer-section-title { margin: 20px 0 10px; font-size: 13px; font-weight: 900; }
.cart-drawer-recommendation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-drawer-recommendation-list .product-card { min-height: 0; box-shadow: none; }
.cart-drawer-recommendation-list .pc-body { padding: 8px; }
.cart-drawer-recommendation-list .pc-name { font-size: 11px; line-height: 1.3; }
.cart-drawer-recommendation-list .pc-meta .muted { display: none; }
.cart-drawer-recommendation-list .pc-actions { right: 6px; bottom: 6px; left: 6px; padding: 0; }
.cart-drawer-recommendation-list .product-card-wishlist { width: 44px; height: 44px; top: 6px; right: 6px; }
.cart-drawer-recommendation-list .product-card-wishlist svg { width: 16px; height: 16px; }
.cart-drawer-footer { padding: 15px 18px calc(15px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; }
.cart-drawer-discount { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #287a4b; font-size: 12px; }
.cart-drawer-total { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-size: 15px; }
.cart-drawer-shipping-note { min-height: 18px; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.cart-drawer-footer .btn { width: 100%; border-radius: 7px; }
.cart-drawer-footer .btn.is-disabled { pointer-events: none; opacity: .45; }
.cart-drawer-view-link { display: block; margin-top: 10px; color: inherit; font-size: 12px; font-weight: 700; text-align: center; text-underline-offset: 3px; }

.wishlist-page { min-height: 58vh; }
.wishlist-page-head { display: flex; align-items: end; justify-content: space-between; padding: 26px 0 8px; }
.wishlist-eyebrow { margin-bottom: 7px; color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.wishlist-empty { max-width: 620px; margin: 38px auto; }
.wishlist-empty-heart { color: var(--primary); font-size: 48px; line-height: 1; }
.wishlist-empty .btn { margin-top: 16px; }

.modal-backdrop#promoModal { background: rgba(10,14,14,.66); backdrop-filter: blur(3px); }
.promo-modal { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); width: min(900px, 100%); max-width: 900px; min-height: 540px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.promo-modal-visual { position: relative; min-height: 540px; overflow: hidden; background: #d9cfbf; }
.promo-modal-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.10), transparent 38%, rgba(0,0,0,.08)); content: ""; }
.promo-modal-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.promo-modal-wordmark { position: absolute; z-index: 1; top: 23px; left: 25px; color: #fff; font-family: Georgia, serif; font-size: clamp(24px, 3.25vw, 43px); letter-spacing: .12em; text-shadow: 0 1px 12px rgba(0,0,0,.2); }
.promo-modal-content { display: flex; flex-direction: column; justify-content: center; padding: 62px 50px 42px; text-align: center; }
.promo-modal .modal-close { z-index: 3; top: 15px; right: 15px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; border: 0; border-radius: 50%; background: #193f46; color: #fff; }
.promo-modal .modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.promo-modal .modal-title { margin: 0 auto 13px; color: #202526; font-family: Georgia, serif; font-size: clamp(28px, 3.1vw, 42px); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; white-space: pre-line; }
.promo-modal .modal-body > p:first-child { max-width: 390px; margin: 0 auto; color: #4f5758; font-size: 15px; line-height: 1.55; white-space: pre-line; }
.promo-modal-kicker { margin-bottom: 15px; color: #a06e45; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.promo-modal .promo-offer-terms { margin: 13px auto 0; color: #767c7d; font-size: 11px; line-height: 1.5; }
.promo-subscribe-form { display: grid; gap: 10px; margin-top: 24px; }
.promo-subscribe-form .input { width: 100%; min-height: 50px; padding-inline: 17px; border: 1px solid #9da3a3; border-radius: 999px; background: #fff; font-size: 15px; }
.promo-subscribe-form .btn { width: 100%; min-height: 52px; border-radius: 999px; background: #173f48; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.promo-subscribe-form .btn:hover { background: #0d3038; }
.promo-subscribe-hint { min-height: 18px; }
.promo-no-thanks { display: block; min-height: 44px; margin: 5px auto 8px; padding: 5px 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.promo-consent { line-height: 1.45; text-align: center; }
.promo-consent a { color: inherit; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .filters .select select { min-height: 44px; }
  .promo-banner { margin-bottom: 24px; }
  .mobile-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    color: var(--text);
    text-decoration: none;
  }
  .mobile-wishlist-btn .badge { position: absolute; top: -3px; right: -5px; margin: 0; }
  .product-card .product-card-wishlist,
  .hot-selling-item .hot-selling-wishlist {
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
  }
  .hot-selling-item .hot-selling-wishlist {
    right: auto;
    left: 7px;
  }
  .product-card .product-card-wishlist svg,
  .hot-selling-item .hot-selling-wishlist svg {
    width: 14px;
    height: 14px;
  }
  .pc-image-wrap > .pc-actions,
  .hot-selling-item-image-wrapper > .hot-selling-item-actions {
    display: none !important;
  }
  .product-card .product-card-wishlist::after,
  .hot-selling-item .hot-selling-wishlist::after {
    content: "";
    position: absolute;
    inset: -4px;
  }
  .qty-row { align-items: end; }
  .product-primary-actions { flex: 1; }
  .purchase-confidence { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .purchase-confidence > .trust-mark { min-height: 60px; padding: 7px 2px; border-right: 1px solid var(--border) !important; border-bottom: 0 !important; }
  .purchase-confidence > .trust-mark:last-child { border-right: 0 !important; }
  .purchase-confidence .trust-mark svg { width: 18px; height: 18px; margin-bottom: 4px; }
  .purchase-confidence .trust-mark strong {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 9px;
    line-height: 1.1;
  }
  .purchase-confidence .trust-mark span { display: none; }
  .mobile-purchase-bar .btn { min-width: 124px; }
  .mobile-purchase-bar .product-wishlist-button { min-width: 44px; width: 44px; height: 44px; flex-basis: 44px; }
  .footer-top-btn {
    right: 14px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 700px) {
  .promo-modal { grid-template-columns: 1fr; min-height: 0; max-width: 470px; }
  .promo-modal-visual { min-height: 170px; max-height: 190px; }
  .promo-modal-visual img { object-position: center 48%; }
  .promo-modal-wordmark { top: 15px; left: 18px; font-size: 25px; }
  .promo-modal-content { padding: 28px 22px 20px; }
  .promo-modal .modal-title { font-size: 30px; }
  .promo-modal-kicker { margin-bottom: 10px; }
  .promo-subscribe-form { margin-top: 17px; }
  .promo-modal .recaptcha-notice { margin-block: 0; }
}

@media (max-width: 520px) {
  .header-mobile-nav { padding-inline: 10px; }
  .mobile-header-right { gap: 3px; }
  .footer-newsletter { padding: 0; }
  .product-card .pc-body { padding: 9px; }
  .pc-name { font-size: 12px; }
  .pc-meta { align-items: start; flex-direction: column; gap: 2px; }
  .qty-row { align-items: stretch; flex-direction: column; }
  .qty-row .select { align-self: flex-start; }
  .product-add-button { min-height: 48px; }
  .product-wishlist-button { width: 48px; height: 48px; flex-basis: 48px; }
  .hot-selling-item-body { padding: 9px !important; }
  .hot-selling-item-name { min-height: 2.6em; margin-bottom: 5px; font-size: 11px; }
  .hot-selling-item .hot-selling-wishlist { top: 7px; right: auto; left: 7px; }
  .cart-drawer { width: 100vw; }
}

@media (max-height: 520px) {
  .modal-backdrop {
    align-items: flex-start;
    padding-block: 8px;
  }
}

/* Account and customer-facing order tracking */
.account-page,
.tracking-page { padding-top: 30px; }
.account-page-head,
.tracking-page-head { max-width: 680px; margin-bottom: 28px; }
.account-page-head p,
.tracking-page-head p { margin: 0; font-size: 15px; }
.account-eyebrow,
.account-benefits-kicker { margin-bottom: 7px; color: #a56f3d; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.account-auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr); max-width: 1040px; margin: 0 auto 46px; overflow: hidden; border: 1px solid rgba(23,63,72,.12); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(27,35,34,.09); }
.account-benefits { min-height: 590px; display: flex; flex-direction: column; justify-content: space-between; padding: 52px 48px 42px; background: radial-gradient(circle at 80% 5%, rgba(232,184,154,.26), transparent 28%), linear-gradient(145deg, #173f48, #102e35); color: #fff; }
.account-benefits-kicker { color: #e9bd92; }
.account-benefits h2 { max-width: 470px; margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 3.5vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.account-benefit-list { display: grid; gap: 22px; margin: 38px 0; padding: 0; list-style: none; }
.account-benefit-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; align-items: start; }
.account-benefit-list li > span { padding-top: 2px; color: #e9bd92; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.account-benefit-list strong,
.account-benefit-list small { display: block; }
.account-benefit-list strong { margin-bottom: 3px; font-size: 14px; }
.account-benefit-list small { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; }
.account-text-link { color: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(165,111,61,.45); text-underline-offset: 4px; }
.account-benefits .account-text-link { color: rgba(255,255,255,.83); text-decoration-color: rgba(255,255,255,.3); }
.account-auth-card { padding: 38px 42px 30px; }
.account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 34px; border-bottom: 1px solid var(--border); }
.account-auth-tab { min-height: 48px; padding: 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.account-auth-tab.is-active { border-bottom-color: #173f48; color: #173f48; }
.account-auth-panel h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.account-auth-panel > p { margin: 0 0 25px; font-size: 13px; }
.account-form { gap: 8px; }
.account-form .field-label,
.tracking-form .field-label { margin-top: 5px; color: #313738; font-size: 11px; font-weight: 800; }
.account-form .input,
.tracking-form .input { min-height: 48px; border-radius: 7px; background: #fff; }
.account-form .btn,
.tracking-form .btn { min-height: 50px; margin-top: 13px; border-radius: 7px; background: #173f48; border-color: #173f48; }
.account-form .btn:hover,
.tracking-form .btn:hover { background: #0f3037; border-color: #0f3037; }
.account-form .form-hint.is-success { color: #246b4c; }
.account-inline-action { justify-self: end; margin: 1px 0 0; padding: 2px 0; border: 0; background: transparent; color: #556f75; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.account-inline-action:hover { color: #173f48; }
.account-inline-action--back { justify-self: start; margin-top: 18px; }
.password-strength { margin: 2px 0 4px; color: var(--muted); }
.password-strength-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.password-strength-heading span { font-weight: 700; }
.password-strength-heading strong { color: #6d7172; }
.password-strength-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 6px 0; }
.password-strength-meter span { height: 4px; border-radius: 999px; background: #e4e6e5; transition: background-color .18s ease; }
.password-strength p { min-height: 18px; margin: 0; font-size: 11px; line-height: 1.45; }
.password-strength[data-level="weak"] .password-strength-meter span:first-child { background: #b94a48; }
.password-strength[data-level="weak"] .password-strength-heading strong { color: #a13f3d; }
.password-strength[data-level="fair"] .password-strength-meter span:nth-child(-n+2) { background: #c7892d; }
.password-strength[data-level="fair"] .password-strength-heading strong { color: #9b681e; }
.password-strength[data-level="strong"] .password-strength-meter span { background: #2f7a52; }
.password-strength[data-level="strong"] .password-strength-heading strong { color: #276c48; }
.form-hint { min-height: 20px; color: #9a3939; font-size: 12px; line-height: 1.5; }
.account-guest-note { margin: 19px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.account-dashboard { margin-bottom: 46px; }
.account-welcome-card { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 18px; align-items: center; margin-bottom: 18px; padding: 25px 28px; border: 1px solid rgba(23,63,72,.12); border-radius: 14px; background: linear-gradient(120deg, #f7f2eb, #fff); }
.account-welcome-card h2 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.account-welcome-card p { margin: 2px 0 0; font-size: 12px; }
.account-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #173f48; color: #fff; font-family: Georgia, serif; font-size: 25px; }
.account-dashboard-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 18px; align-items: start; }
.account-sidebar { position: sticky; top: 96px; display: grid; align-content: start; padding: 9px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.account-sidebar-links { display: grid; }
.account-sidebar a { padding: 12px 13px; border-radius: 7px; color: #555; font-size: 13px; font-weight: 700; }
.account-sidebar a:hover,
.account-sidebar a.is-active { background: #f5efe8; color: #173f48; }
.account-signout { margin: 22px 8px 3px; padding: 13px 5px 3px; border: 0; border-top: 1px solid var(--border); background: transparent; color: #8a8e8d; cursor: pointer; font: inherit; font-size: 11px; text-align: left; }
.account-signout:hover { color: #555; text-decoration: underline; }
.account-dashboard--standalone { margin-top: 30px; }
.account-dashboard--standalone .wishlist-page-head,
.account-dashboard--standalone .tracking-page-head { padding-top: 0; }
.account-dashboard-main { display: grid; gap: 18px; min-width: 0; }
.account-orders-section,
.account-reviews-section,
.account-details-card { padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.account-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.account-section-head h2,
.account-details-card h2 { margin: 0; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.account-orders { display: grid; gap: 12px; }
.account-reviews { display: grid; gap: 12px; }
.account-loading,
.account-inline-error { padding: 22px; border-radius: 8px; background: #f8f6f2; color: var(--muted); font-size: 13px; text-align: center; }
.account-inline-error { background: #fff5f4; color: #8b3d39; }
.account-order-card { padding: 18px; border: 1px solid var(--border); border-radius: 9px; transition: border-color .2s, box-shadow .2s; }
.account-order-card:hover { border-color: rgba(165,111,61,.45); box-shadow: 0 8px 24px rgba(31,34,32,.07); }
.account-order-top,
.account-order-summary,
.account-order-link { display: flex; align-items: center; }
.account-order-top { justify-content: space-between; gap: 15px; }
.account-order-top div span,
.account-order-summary span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-order-top div strong { font-size: 13px; word-break: break-word; }
.account-order-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #edf5f1; color: #1e6a4c; font-size: 10px; font-weight: 900; text-transform: capitalize; }
.account-order-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; padding: 13px 0; border-block: 1px solid var(--border); }
.account-order-summary strong { font-size: 12px; }
.account-order-items { margin: 12px 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-order-link { justify-content: space-between; min-height: 44px; color: #173f48; font-size: 12px; font-weight: 900; }
.account-orders-empty { padding: 34px 20px; border: 1px dashed rgba(23,63,72,.25); border-radius: 9px; text-align: center; }
.account-orders-empty-icon { color: #a56f3d; font-size: 34px; }
.account-orders-empty h3 { margin: 3px 0; }
.account-orders-empty p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.account-orders-empty .btn { border-radius: 7px; }
.account-review-card { padding: 18px; border: 1px solid var(--border); border-radius: 9px; }
.account-review-top,
.account-review-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-review-top > div { min-width: 0; }
.account-review-top > div span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-review-top > div strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-review-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #f7f0e5; color: #8b5d22; font-size: 10px; font-weight: 900; }
.account-review-status.is-approved { background: #edf5f1; color: #1e6a4c; }
.account-review-status.is-rejected { background: #fff1f0; color: #963f3a; }
.account-review-meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.account-review-stars { color: #a56f3d; font-size: 15px; letter-spacing: .06em; }
.account-review-meta time { color: var(--muted); font-size: 10px; }
.account-review-card > p { margin: 10px 0 0; color: #454a49; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.account-details-card { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(260px,1fr); gap: 24px; align-items: start; }
.account-details-card > div > p { max-width: 210px; margin: 8px 0 0; line-height: 1.55; }
.account-profile-form,
.account-password-form { gap: 7px; }
.account-profile-form .field-label,
.account-password-form .field-label { margin-top: 5px; color: #313738; font-size: 11px; font-weight: 800; }
.account-profile-form .input,
.account-password-form .input { min-height: 48px; border-radius: 7px; }
.account-profile-form .input[readonly] { background: #f5f5f3; color: #6e7271; cursor: not-allowed; }
.account-profile-form small,
.account-password-form small { margin: -1px 0 4px; font-size: 10px; line-height: 1.45; }
.account-profile-form .btn,
.account-password-form .btn { justify-self: start; min-height: 46px; margin-top: 9px; border-radius: 7px; background: #173f48; border-color: #173f48; }
.account-profile-form .btn:hover,
.account-password-form .btn:hover { background: #0f3037; border-color: #0f3037; }
.account-profile-form .form-hint.is-success,
.account-password-form .form-hint.is-success { color: #246b4c; }
.account-reset-page { display: grid; place-items: start center; min-height: 60vh; padding-bottom: 52px; }
.account-reset-card { width: min(100%, 600px); padding: 36px 40px; border: 1px solid rgba(23,63,72,.12); border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(27,35,34,.09); }
.account-reset-card > h1 { margin: 0 0 8px; font-family: Georgia, serif; font-size: clamp(29px, 4vw, 38px); font-weight: 500; }
.account-reset-card > p { margin: 0 0 25px; font-size: 13px; line-height: 1.6; }
.account-reset-success h2 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.account-reset-success p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.account-reset-success .btn { min-height: 46px; border-radius: 7px; }
.account-reset-help { margin: 24px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px !important; }
.account-reset-help a { color: #173f48; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.tracking-lookup-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); gap: 55px; align-items: center; max-width: 960px; margin: 0 auto 26px; padding: 38px 42px; border: 1px solid rgba(23,63,72,.12); border-radius: 16px; background: linear-gradient(135deg, #f8f3ec, #fff 55%); box-shadow: 0 16px 42px rgba(27,35,34,.08); }
.tracking-lookup-copy h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.tracking-lookup-copy p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.tracking-form { display: grid; gap: 7px; }
.tracking-form .recaptcha-notice { margin-top: 2px; text-align: center; }
.tracking-result { max-width: 1080px; margin: 30px auto; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.tracking-order-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.tracking-order-head span,
.tracking-shipment-head span,
.tracking-number span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.tracking-order-head h2 { margin: 0; font-size: 19px; word-break: break-word; }
.tracking-order-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.tracking-payment-badge { padding: 7px 11px; border-radius: 999px; background: #edf5f1; color: #1e6a4c; font-size: 10px; font-weight: 900; }
.tracking-shipment { padding: 25px 0; border-bottom: 1px solid var(--border); }
.tracking-shipment-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.tracking-shipment-head h3 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.tracking-number { text-align: right; }
.tracking-number strong { font-size: 11px; word-break: break-all; }
.tracking-progress { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.tracking-progress li { position: relative; min-width: 0; padding-right: 12px; }
.tracking-progress li::before { position: absolute; z-index: 0; top: 14px; right: 0; left: 28px; height: 2px; background: #e5e6e4; content: ""; }
.tracking-progress li:last-child::before { display: none; }
.tracking-progress li.is-completed::before { background: #2b7658; }
.tracking-step-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid #d7dad8; border-radius: 50%; background: #fff; color: #a4a8a6; font-size: 10px; font-weight: 900; }
.tracking-progress li.is-completed .tracking-step-marker { border-color: #2b7658; background: #2b7658; color: #fff; }
.tracking-progress li.is-current .tracking-step-marker { border-color: #a56f3d; color: #a56f3d; box-shadow: 0 0 0 5px #f6ece2; }
.tracking-step-copy { display: grid; gap: 3px; margin-top: 12px; padding-right: 7px; }
.tracking-step-copy strong { font-size: 11px; line-height: 1.35; }
.tracking-step-copy span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.tracking-step-copy time { margin-top: 2px; color: #a56f3d; font-size: 9px; font-weight: 800; }
.tracking-order-bottom { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 42px; padding-top: 24px; }
.tracking-order-bottom h3 { margin: 0 0 12px; font-size: 15px; }
.tracking-items { margin: 0; padding: 0; list-style: none; }
.tracking-items li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--border); }
.tracking-items li > div { display: grid; gap: 2px; }
.tracking-items li > div:last-child { flex: 0 0 auto; text-align: right; }
.tracking-items strong { font-size: 12px; }
.tracking-items span { color: var(--muted); font-size: 10px; }
.tracking-totals { margin: 0; padding: 17px 19px; border-radius: 9px; background: #f8f6f2; }
.tracking-totals div { display: flex; justify-content: space-between; gap: 15px; padding: 5px 0; }
.tracking-totals dt,
.tracking-totals dd { margin: 0; font-size: 11px; }
.tracking-totals .is-total { margin-top: 6px; padding-top: 11px; border-top: 1px solid rgba(0,0,0,.1); }
.tracking-totals .is-total dt,
.tracking-totals .is-total dd { font-size: 14px; font-weight: 900; }
.tracking-help-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 960px; margin: 28px auto 45px; padding: 19px 22px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.tracking-help-strip strong,
.tracking-help-strip span { display: block; }
.tracking-help-strip strong { font-size: 13px; }
.tracking-help-strip span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.tracking-help-strip .btn { min-height: 44px; border-radius: 7px; }

@media (max-width: 760px) {
  .account-page,
  .tracking-page { padding-top: 20px; }
  .account-auth-shell { grid-template-columns: 1fr; border-radius: 12px; }
  .account-benefits { min-height: 0; padding: 32px 25px 27px; }
  .account-benefits h2 { font-size: 32px; }
  .account-benefit-list { gap: 15px; margin: 25px 0; }
  .account-auth-card { padding: 25px 22px 23px; }
  .account-reset-card { padding: 28px 21px; border-radius: 12px; }
  .account-auth-tabs { margin-bottom: 26px; }
  .account-welcome-card { grid-template-columns: 48px minmax(0,1fr); padding: 20px; }
  .account-avatar { width: 48px; height: 48px; }
  .account-welcome-card h2 { font-size: 23px; }
  .account-dashboard-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; display: block; padding: 7px; }
  .account-sidebar-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-sidebar a { padding: 11px 10px; }
  .account-signout { width: calc(100% - 16px); margin-top: 6px; padding: 10px 5px 3px; }
  .account-orders-section,
  .account-reviews-section,
  .account-details-card { padding: 20px 16px; }
  .account-section-head { align-items: start; flex-direction: column; gap: 7px; }
  .account-order-summary { grid-template-columns: 1.4fr .6fr 1fr; }
  .account-details-card { grid-template-columns: 1fr; gap: 16px; }
  .account-details-card > div > p { max-width: none; }
  .tracking-lookup-card { grid-template-columns: 1fr; gap: 25px; padding: 28px 21px; border-radius: 12px; }
  .tracking-lookup-copy h2 { font-size: 29px; }
  .tracking-result { margin: 24px auto; padding: 20px 16px; }
  .tracking-order-head,
  .tracking-shipment-head { flex-direction: column; }
  .tracking-number { text-align: left; }
  .tracking-progress { grid-template-columns: 1fr; gap: 0; }
  .tracking-progress li { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 13px; min-height: 79px; padding: 0 0 12px; }
  .tracking-progress li::before { top: 29px; bottom: 0; left: 14px; width: 2px; height: auto; }
  .tracking-step-copy { margin-top: 3px; padding: 0; }
  .tracking-step-copy strong { font-size: 12px; }
  .tracking-step-copy span { font-size: 11px; }
  .tracking-order-bottom { grid-template-columns: 1fr; gap: 20px; }
  .tracking-help-strip { align-items: stretch; flex-direction: column; }
}

/* Preserve the native hidden contract after all component display rules. */
[hidden] {
  display: none !important;
}
