/* AMG Import：全局设计变量与基础组件 */
:root {
  --navy: #0f3d6e;
  --navy-deep: #092a4d;
  --navy-soft: #eaf1f8;
  --orange: #ff6b00;
  --orange-dark: #d95700;
  --orange-soft: #fff2e8;
  --ink: #152235;
  --muted: #617084;
  --line: #dfe7ef;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --success: #147a4b;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 110, 0.05), 0 8px 24px rgba(15, 61, 110, 0.06);
  --shadow-md: 0 16px 42px rgba(9, 42, 77, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.05;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.45);
  outline-offset: 2px;
}

::selection {
  background: #ffd7bb;
  color: var(--navy-deep);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
  transform: none;
}

.button--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 7px 18px rgba(255, 107, 0, 0.2);
}

.button--primary:hover {
  background: var(--orange-dark);
}

.button--outline {
  border-color: #bed0e2;
  background: #fff;
  color: var(--navy);
}

.button--outline:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.button--whatsapp {
  border-color: #b9e5cb;
  background: #effbf4;
  color: #106c42;
}

.button--whatsapp:hover {
  border-color: #58b884;
  background: #e4f8ec;
}

.button--wide {
  width: 100%;
}

/* 顶部通知、品牌和导航 */
.announcement {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
}

.announcement__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 650;
}

.announcement__link:hover {
  color: #ffd0ac;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-main {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: inset -5px -5px 0 rgba(255, 255, 255, 0.06);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search {
  position: relative;
  display: flex;
  width: min(440px, 100%);
  align-items: center;
  color: var(--muted);
}

.search svg {
  position: absolute;
  left: 15px;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.search input::placeholder {
  color: #8390a0;
}

.search input:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 61, 110, 0.08);
}

.whatsapp-action,
.cart-trigger {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.whatsapp-action {
  padding: 0 14px;
  border: 1px solid #9dd4b5;
  color: #16784b;
}

.whatsapp-action:hover {
  background: #effbf4;
}

.cart-trigger {
  position: relative;
  min-width: 112px;
  padding: 0 14px;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.cart-trigger:hover {
  background: var(--navy-deep);
}

.cart-badge {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.cart-badge:empty,
.cart-badge[data-empty="true"] {
  display: none;
}

/* 首页主视觉 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 66px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.91) 58%, rgba(234, 241, 248, 0.72) 100%),
    radial-gradient(circle at 86% 20%, rgba(255, 107, 0, 0.12), transparent 31%),
    var(--surface-soft);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(15, 61, 110, 0.04);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.hero__content {
  max-width: 730px;
}

.hero__content h1 {
  max-width: 730px;
  margin-bottom: 22px;
  color: var(--navy-deep);
}

.hero__content p {
  max-width: 650px;
  margin-bottom: 30px;
  color: #506175;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.75;
}

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

.hero__panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(15, 61, 110, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.hero-stat {
  min-height: 144px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}

/* 目录标题和筛选 */
.catalog-section {
  padding: 70px 0 88px;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.catalog-heading h2 {
  margin-bottom: 5px;
  color: var(--navy-deep);
}

.catalog-heading p {
  margin-bottom: 0;
}

.catalog-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 25px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  font-size: 0.78rem;
}

.catalog-whatsapp strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.category-bar {
  margin-bottom: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.category-bar--header {
  margin-bottom: 0;
  border-top: 0;
  padding: 7px 0;
}

.category-bar--header .category-list {
  padding: 0;
  gap: 6px;
}


.category-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #516276;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  transition: all 0.16s ease;
}

.category-chip:hover {
  background: var(--surface-soft);
  color: var(--navy);
}

.category-chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.catalog-message {
  display: none;
  margin-bottom: 24px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.86rem;
}

.catalog-message.is-visible {
  display: block;
}

.catalog-message.is-error {
  border-color: #f2c6c2;
  background: var(--danger-soft);
  color: var(--danger);
}

/* 商品卡片和价格选择 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #b9cadd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: #fff;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.025);
}

.product-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid rgba(15, 61, 110, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 16px;
}

.product-card__sku {
  margin-bottom: 5px;
  color: #8492a3;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.product-card__title {
  display: -webkit-box;
  min-height: 45px;
  margin-bottom: 13px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-units-label {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-units {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.unit-choice {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #536376;
  cursor: pointer;
  font-size: 0.73rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.unit-choice span {
  font-weight: 600;
}

.unit-choice strong {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
}

.unit-choice:hover {
  border-color: #a9bfd5;
}

.unit-choice.is-selected {
  border-color: var(--navy);
  background: var(--navy-soft);
  box-shadow: inset 3px 0 0 var(--navy);
}

.unit-choice.is-selected strong {
  color: var(--navy-deep);
}

.quote-price {
  display: flex;
  min-height: 53px;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
}

.quote-price strong {
  color: #9a4300;
  font-size: 0.8rem;
}

.quote-price small {
  color: #9b6541;
  font-size: 0.68rem;
}

.add-to-cart {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 750;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.add-to-cart:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.add-to-cart.is-added {
  border-color: var(--success);
  background: var(--success);
}

.catalog-empty {
  padding: 58px 24px;
  border: 1px dashed #c7d4e2;
  border-radius: var(--radius);
  text-align: center;
}

.catalog-empty__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
}

.catalog-empty h3 {
  margin-bottom: 6px;
}

.catalog-empty p {
  margin-bottom: 20px;
  color: var(--muted);
}

.product-card--skeleton {
  pointer-events: none;
}

.skeleton-block {
  position: relative;
  overflow: hidden;
  background: #edf2f7;
}

.skeleton-block::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.25s infinite;
}

.skeleton-media {
  aspect-ratio: 1 / 1;
}

.skeleton-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
}

.skeleton-line--short {
  width: 42%;
}

.skeleton-line--button {
  height: 40px;
  margin-top: 7px;
}

@keyframes skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}
/* 页脚 */
.site-footer {
  padding: 56px 0 24px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  gap: 64px;
  padding-bottom: 42px;
}

.brand--footer .brand__mark {
  background: #fff;
  color: var(--navy);
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-brand p {
  max-width: 410px;
  margin: 18px 0 0;
  font-size: 0.84rem;
  line-height: 1.75;
}

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

.footer-links h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a,
.footer-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 0.8rem;
  text-align: left;
}

.footer-links a:hover,
.footer-button:hover {
  color: #ffb27d;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.69rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 购物车抽屉 */
.drawer-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(5, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  touch-action: none;
}

.cart-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(440px, 100%);
  flex-direction: column;
  background: #fff;
  box-shadow: -16px 0 50px rgba(5, 23, 42, 0.19);
  animation: drawer-in 0.22s ease-out;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 22px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow {
  margin-bottom: 6px;
  font-size: 0.65rem;
}

.cart-drawer__header h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--surface-soft);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.cart-item__details {
  min-width: 0;
}

.cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__top h3 {
  display: -webkit-box;
  margin-bottom: 3px;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item__meta {
  color: var(--muted);
  font-size: 0.67rem;
}

.remove-item {
  flex-shrink: 0;
  padding: 2px;
  border: 0;
  background: transparent;
  color: #9a6a6a;
  cursor: pointer;
  font-size: 0.68rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.quantity-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quantity-control button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.quantity-control button:hover {
  background: var(--surface-soft);
}

.quantity-control span {
  display: grid;
  min-width: 30px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 700;
}

.cart-item__price {
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 750;
  text-align: right;
}

.cart-item__price small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
}

.cart-empty {
  padding: 64px 20px;
  color: var(--muted);
  text-align: center;
}

.cart-empty svg {
  margin-bottom: 15px;
  color: #a9b8c8;
}

.cart-empty h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.cart-empty p {
  margin-bottom: 19px;
  font-size: 0.82rem;
}

.cart-drawer__footer {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-summary-line strong {
  color: var(--ink);
  font-weight: 650;
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.cart-total span {
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 750;
}

.cart-total strong {
  color: var(--navy);
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.cart-note {
  margin: 10px 0 16px;
  padding: 9px 11px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  color: #8e4a1c;
  font-size: 0.7rem;
  line-height: 1.5;
}

.cart-actions {
  display: grid;
  gap: 9px;
}

.cart-clear {
  justify-self: center;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 轻提示 */
.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-message {
  position: fixed;
  z-index: 300;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  border: 1px solid #edc7c3;
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
  text-align: center;
}

/* 结算页 */
.checkout-page {
  background: #f7f9fc;
}

.site-header--compact .header-main {
  min-height: 76px;
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.text-link,
.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.text-link:hover {
  color: var(--navy);
}

.secure-note {
  color: #23724e;
}

.checkout-main {
  padding: 40px 0 70px;
}

.checkout-heading {
  margin-bottom: 28px;
}

.back-link {
  display: none;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 0.78rem;
}

.checkout-heading h1 {
  margin-bottom: 9px;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.checkout-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: start;
  gap: 24px;
}

.checkout-form-card,
.order-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.checkout-form-card {
  padding: 28px;
}

.order-summary {
  position: sticky;
  top: 102px;
  padding: 24px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 800;
}

.card-heading h2 {
  margin-bottom: 3px;
  font-size: 1.08rem;
}

.card-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

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

.form-field label,
.label-row label {
  margin-bottom: 7px;
  color: #334357;
  font-size: 0.76rem;
  font-weight: 700;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.label-row label span {
  color: var(--muted);
  font-weight: 500;
}

.label-row small {
  color: var(--muted);
  font-size: 0.66rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfdae6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input {
  height: 44px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 112px;
  padding: 11px 13px;
  line-height: 1.55;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #939fad;
  font-size: 0.78rem;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 61, 110, 0.08);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: var(--danger);
  background: #fffafa;
}

.field-error {
  min-height: 17px;
  padding-top: 4px;
  color: var(--danger);
  font-size: 0.66rem;
  line-height: 1.35;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-alert {
  margin-bottom: 18px;
  padding: 11px 13px;
  border: 1px solid #f0c1bd;
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.76rem;
}

.checkout-submit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.submit-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.55;
  text-align: center;
}

.summary-items {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 3px;
}

.summary-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item__image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.summary-item__details h3 {
  display: -webkit-box;
  margin-bottom: 2px;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.summary-item__details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.summary-item__price {
  max-width: 95px;
  color: var(--navy);
  font-size: 0.71rem;
  font-weight: 700;
  text-align: right;
}

.summary-item__price small {
  display: block;
  color: #9a5a2d;
  font-size: 0.59rem;
  font-weight: 500;
}

.summary-totals {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-total-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.73rem;
}

.summary-total-line strong {
  color: var(--ink);
}

.summary-grand-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.summary-grand-total span {
  color: var(--navy-deep);
  font-weight: 750;
}

.summary-grand-total strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.summary-price-note {
  margin: 9px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  color: #8e4a1c;
  font-size: 0.65rem;
}

.edit-cart-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary-assurance {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #d8e8df;
  border-radius: var(--radius);
  background: #f5fbf7;
  color: #3f6f57;
  font-size: 0.68rem;
  line-height: 1.5;
}

.summary-assurance svg {
  flex: 0 0 auto;
}

.checkout-empty {
  max-width: 560px;
  margin: 20px auto;
  padding: 55px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.empty-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
}

.checkout-empty h2 {
  margin-bottom: 7px;
}

.checkout-empty p {
  margin-bottom: 24px;
  color: var(--muted);
}

.success-panel {
  max-width: 660px;
  margin: 12px auto;
  padding: 50px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ef;
  color: var(--success);
}

.success-panel .eyebrow {
  margin-bottom: 9px;
}

.success-panel .eyebrow::before {
  display: none;
}

.success-panel h2 {
  color: var(--navy-deep);
  font-size: 2rem;
}

.success-panel > p {
  max-width: 510px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.7;
}

.order-number {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 27px;
  padding: 13px 25px;
  border: 1px solid #cddae7;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.order-number span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-number strong {
  color: var(--navy-deep);
  font-size: 1.05rem;
  letter-spacing: 0.025em;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.checkout-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.checkout-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* 平板断点 */
@media (max-width: 1080px) {
  .header-main {
    gap: 18px;
  }

  .whatsapp-action span {
    display: none;
  }

  .whatsapp-action {
    width: 44px;
    padding: 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero__content {
    max-width: 820px;
  }

  .hero__panel {
    max-width: 620px;
  }

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

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

/* 手机与窄平板断点 */
@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .announcement__inner > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement__link {
    flex: 0 0 auto;
  }

  .header-main {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 1rem;
  }

  .brand__text small {
    font-size: 0.59rem;
  }

  .header-actions {
    display: contents;
  }

  .header-actions .search {
    order: 3;
    width: 100%;
  }

  .cart-trigger {
    min-width: auto;
    padding: 0 12px;
  }

  .cart-trigger__label {
    display: none;
  }

  .hero {
    padding: 52px 0 48px;
  }

  .hero__content h1 {
    margin-bottom: 18px;
  }

  .hero__panel {
    width: 100%;
  }

  .hero-stat {
    min-height: 118px;
    padding: 22px 12px;
  }

  .hero-stat strong {
    font-size: 1.55rem;
  }

  .catalog-section {
    padding: 52px 0 64px;
  }

  .catalog-heading {
    align-items: flex-start;
  }

  .catalog-whatsapp {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .product-card__content {
    padding: 13px;
  }

  .product-card__image {
    padding: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .checkout-header-actions {
    gap: 0;
  }

  .secure-note {
    display: none;
  }

  .text-link {
    font-size: 0;
  }

  .text-link svg {
    width: 23px;
    height: 23px;
  }

  .checkout-main {
    padding: 25px 0 50px;
  }

  .back-link {
    display: inline-block;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    grid-row: 1;
  }

  .checkout-form-card {
    grid-row: 2;
  }

  .summary-items {
    max-height: none;
  }
}

/* 小屏手机断点 */
@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .announcement__inner {
    min-height: 32px;
  }

  .announcement {
    font-size: 0.68rem;
  }

  .announcement__link svg {
    display: none;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__panel {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    display: flex;
    min-height: 0;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }

  .hero-stat strong {
    width: 44px;
    flex: 0 0 auto;
    margin-bottom: 0;
  }

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

  .product-card__image {
    padding: 18px;
  }

  .product-card__title {
    min-height: 0;
  }

  .product-units {
    grid-template-columns: minmax(0, 1fr);
  }

  .unit-choice {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .unit-choice strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .cart-drawer__header,
  .cart-drawer__body,
  .cart-drawer__footer {
    padding-right: 17px;
    padding-left: 17px;
  }

  .checkout-heading .eyebrow {
    margin-bottom: 8px;
  }

  .checkout-form-card,
  .order-summary {
    padding: 18px;
  }

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

  .form-field--full {
    grid-column: auto;
  }

  .checkout-submit {
    grid-template-columns: 1fr;
  }

  .submit-note {
    grid-column: auto;
  }

  .success-panel {
    padding: 38px 20px;
  }

  .success-actions {
    flex-direction: column;
  }

  .checkout-footer .container {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Compact navigation and denser product cards */
.site-header {
  border-bottom-color: rgba(212, 175, 55, 0.2);
  background:
    linear-gradient(90deg, rgba(11, 11, 9, 0.58), rgba(12, 11, 8, 0.46), rgba(8, 8, 7, 0.58));
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.header-main {
  min-height: 54px;
  gap: 14px;
}

.brand {
  gap: 8px;
}

.brand__logo {
  width: 36px;
  height: 36px;
  padding: 2px;
}

.brand__text strong {
  font-size: 0.94rem;
}

.brand__text small {
  margin-top: 1px;
  font-size: 0.48rem;
}

.header-actions {
  gap: 8px;
}

.search {
  width: min(370px, 100%);
}

.search svg {
  left: 11px;
  width: 17px;
  height: 17px;
}

.search input {
  height: 34px;
  padding: 0 12px 0 34px;
  font-size: 0.73rem;
}

.whatsapp-action,
.cart-trigger {
  height: 34px;
  gap: 6px;
  padding: 0 10px;
  font-size: 0.68rem;
}

.whatsapp-action svg,
.cart-trigger svg {
  width: 18px;
  height: 18px;
}

.cart-trigger {
  min-width: 100px;
}

.cart-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: 0.54rem;
}

.category-bar--header {
  padding: 2px 0;
  background: rgba(0, 0, 0, 0.12);
}

.category-bar--header .category-list {
  gap: 4px;
}

.category-list {
  padding: 2px 0;
}

.category-chip {
  min-height: 27px;
  padding: 3px 10px;
  font-size: 0.66rem;
}

.category-chip.is-activating {
  animation: category-tap 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__spanish {
  color: #fff;
}

.product-card {
  border-color: rgba(212, 175, 55, 0.23);
  background: linear-gradient(155deg, #211f18 0%, #181710 46%, #12110e 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.product-card__content {
  padding: 8px 9px 9px;
}

.product-card__sku {
  margin-bottom: 1px;
  font-size: 0.52rem;
  line-height: 1.25;
}

.product-card__title {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 3px;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-card__description {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 0.57rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-units-label {
  margin-bottom: 3px;
  font-size: 0.49rem;
  line-height: 1.25;
}

.product-units {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  margin-bottom: 6px;
}

.unit-choice {
  position: relative;
  min-height: 37px;
  align-items: center;
  justify-content: stretch;
  gap: 1px 6px;
  padding: 4px 6px;
  overflow: hidden;
  font-size: 0.56rem;
  line-height: 1.2;
  text-align: left;
}

.unit-choice__name {
  justify-self: start;
  text-align: left;
}

.unit-choice strong {
  justify-self: end;
  font-size: 0.59rem;
}

.unit-choice small {
  grid-column: 1 / -1;
  justify-self: start;
  overflow: hidden;
  font-size: 0.45rem;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unit-choice::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 234, 164, 0.2) 45%, transparent 78%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
}

.unit-choice.is-activating {
  animation: unit-tap 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-choice.is-activating::after {
  animation: unit-sheen 0.38s ease-out;
}

.product-card__add-row {
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 4px;
}

.card-quantity input {
  height: 33px;
  font-size: 0.7rem;
}

.add-to-cart {
  min-height: 33px;
  padding: 4px;
  font-size: 0.54rem;
}

.add-to-cart.is-activating {
  animation: cart-button-tap 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes category-tap {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(0.92);
  }
  72% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes unit-tap {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.97);
  }
  70% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes unit-sheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes cart-button-tap {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 206, 119, 0.35);
  }
  38% {
    transform: scale(0.96);
  }
  62% {
    transform: scale(1.025);
    box-shadow: 0 0 0 7px rgba(239, 206, 119, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 206, 119, 0);
  }
}

@media (max-width: 820px) {
  .header-main {
    min-height: 46px;
    gap: 4px 8px;
    padding: 5px 0 7px;
  }

  .brand__logo {
    width: 34px;
    height: 34px;
  }

  .brand__text strong {
    font-size: 0.88rem;
  }

  .brand__text small {
    font-size: 0.44rem;
  }

  .header-actions .search {
    margin-top: 3px;
  }

  .search input {
    height: 32px;
  }

  .whatsapp-action,
  .cart-trigger {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
  }

  .cart-trigger__label {
    display: none;
  }

  .category-bar--header {
    padding: 1px 0;
  }

  .category-chip {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 0.61rem;
  }
}

@media (max-width: 540px) {
  .product-card__description {
    font-size: 0.53rem;
  }

  .unit-choice {
    min-height: 35px;
    padding: 3px 5px;
  }

  .unit-choice small {
    font-size: 0.42rem;
  }

  .card-quantity input,
  .add-to-cart {
    height: 31px;
    min-height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-chip.is-activating,
  .unit-choice.is-activating,
  .add-to-cart.is-activating {
    animation: none;
  }
}

/* Final white & gold theme */
:root {
  color-scheme: light;
  --black: #f7f4ec;
  --black-soft: #f1ede4;
  --surface: #fffefa;
  --surface-soft: #f7f3ea;
  --ink: #221e15;
  --muted: #726a5c;
  --line: rgba(157, 116, 28, 0.22);
  --navy: #a77a1d;
  --navy-deep: #795614;
  --navy-soft: #f7efd9;
  --orange: #bd8a24;
  --orange-dark: #936817;
  --orange-soft: #fbf2dc;
  --gold: #bd8a24;
  --gold-bright: #d9b34f;
  --gold-deep: #805b13;
  --primary-gradient: linear-gradient(135deg, #f2d77e 0%, #d4aa42 48%, #b48122 100%);
}

html {
  background: #f7f4ec;
}

body {
  color: #221e15;
  background:
    radial-gradient(circle at 8% 12%, rgba(211, 177, 89, 0.11), transparent 26%),
    radial-gradient(circle at 92% 55%, rgba(222, 198, 137, 0.12), transparent 30%),
    linear-gradient(180deg, #fffefa 0%, #f8f5ee 55%, #fffefa 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(157, 116, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 116, 28, 0.04) 1px, transparent 1px);
  opacity: 0.65;
}

::selection {
  background: #d7b55c;
  color: #17130c;
}

h1,
h2,
h3 {
  color: #221e15;
}

.announcement {
  border-bottom-color: rgba(173, 130, 37, 0.25);
  background-image: linear-gradient(90deg, #fbf8f0, #f1e6ca 52%, #fbf8f0);
  color: #5f5544;
}

.announcement__link,
.footer-links a:hover,
.footer-button:hover {
  color: #805b13;
}

.site-header {
  border-bottom-color: rgba(177, 134, 41, 0.24);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(253, 250, 243, 0.7), rgba(255, 255, 255, 0.8));
  box-shadow: 0 9px 30px rgba(88, 65, 23, 0.08);
}

.brand__text strong {
  color: #241f15;
}

.brand__text small {
  color: #7f7462;
}

.search {
  color: #805b13;
}

.search input {
  border-color: rgba(168, 126, 36, 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: #221e15;
}

.search input::placeholder {
  color: #887e6d;
}

.search input:focus {
  border-color: #bd8a24;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 151, 52, 0.1);
}

.whatsapp-action {
  border-color: rgba(172, 130, 38, 0.33);
  background: rgba(255, 255, 255, 0.76);
  color: #805b13;
}

.cart-trigger {
  border-color: #b88a2d;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.cart-badge {
  border-color: #a7791d;
  background: #fffdf7;
  color: #7c5915;
}

.category-bar--header {
  background: rgba(255, 255, 255, 0.3);
}

.category-chip {
  color: #655c4d;
}

.category-chip:hover {
  border-color: rgba(177, 134, 41, 0.32);
  background: #fffaf0;
  color: #805b13;
}

.category-chip.is-active {
  border-color: #b68a31;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.category-chip--new:not(.is-active) {
  border-color: rgba(177, 134, 41, 0.34);
  background: #fffaf1;
  color: #805b13;
}

.button--primary,
.add-to-cart {
  border-color: #c49a3b;
  background-image: var(--primary-gradient);
  color: #18130b;
  box-shadow: 0 9px 24px rgba(162, 119, 28, 0.18);
}

.button--outline,
.button--glass,
.button--whatsapp {
  border-color: rgba(161, 118, 29, 0.38);
  background-image: linear-gradient(135deg, #fff, #f8efdd);
  color: #795713;
}

.hero {
  background-color: #fffdf8;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 238, 0.93) 58%, rgba(244, 232, 204, 0.82)),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(215, 177, 78, 0.16), transparent 29%);
  border-top-color: rgba(171, 127, 32, 0.1);
  border-bottom-color: rgba(168, 126, 36, 0.26);
}

.hero::before {
  background:
    linear-gradient(90deg, transparent, rgba(192, 150, 49, 0.04) 50%, transparent),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(218, 181, 85, 0.2), transparent 19%);
}

.hero__orb {
  border-color: rgba(180, 137, 39, 0.17);
  background: radial-gradient(circle, rgba(217, 180, 82, 0.18), rgba(217, 180, 82, 0.02) 68%, transparent 70%);
}

.hero__grid-lines {
  border-left-color: rgba(180, 137, 39, 0.12);
  background-image:
    linear-gradient(rgba(180, 137, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 137, 39, 0.08) 1px, transparent 1px);
}

.hero__content h1 {
  background-image:
    radial-gradient(circle 125px at var(--glow-x) var(--glow-y), #fff9df 0%, #f0d47d 18%, rgba(192, 143, 31, 0.3) 50%, transparent 72%),
    linear-gradient(112deg, #e3c165 0%, #aa7b1d 34%, #f0d580 53%, #805b13 80%, #c39a38 100%);
  filter: drop-shadow(0 10px 24px rgba(142, 102, 20, 0.12));
}

.hero__content .hero__spanish {
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border-left: 3px solid #f1d27b;
  background: linear-gradient(135deg, #8e6717, #6e4e11);
  color: #fff;
}

.hero__content .hero__lead {
  color: #6f6759;
}

.hero__meta {
  border-top-color: rgba(166, 123, 28, 0.24);
  border-bottom-color: rgba(166, 123, 28, 0.15);
}

.hero__meta div {
  border-right-color: rgba(166, 123, 28, 0.16);
}

.hero__meta strong {
  color: #805b13;
}

.hero__meta span {
  color: #776e5f;
}

.hero__terms {
  border-color: rgba(164, 120, 25, 0.27);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 225, 0.93));
  box-shadow: 0 24px 64px rgba(91, 68, 24, 0.1);
}

.hero__terms-heading {
  border-bottom-color: rgba(166, 123, 28, 0.19);
}

.hero__terms-heading > span,
.hero__terms-list p span {
  color: #805b13;
}

.hero__terms-heading h2 {
  color: #261f13;
}

.hero__terms-heading p,
.hero__terms-list p {
  color: #706657;
}

.hero__terms-list p {
  border-bottom-color: rgba(143, 105, 25, 0.11);
}

.catalog-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(221, 192, 119, 0.12), transparent 24%),
    #f7f4ec;
}

.catalog-heading h2 {
  color: #211c13;
}

.catalog-whatsapp {
  border-left-color: #bd8a24;
  color: #776f61;
}

.catalog-whatsapp strong {
  color: #805b13;
}

.product-card {
  border-color: rgba(163, 121, 29, 0.22);
  background: linear-gradient(165deg, #fff 0%, #fffdf8 58%, #faf6ed 100%);
  box-shadow: 0 9px 26px rgba(91, 68, 24, 0.07);
}

.product-card:hover {
  border-color: rgba(171, 126, 28, 0.58);
  box-shadow: 0 20px 45px rgba(83, 60, 18, 0.12);
}

.product-card__media {
  border-bottom-color: rgba(169, 126, 32, 0.17);
  background: #f6f1e7;
}

.product-card__image {
  background: linear-gradient(145deg, #fff, #f7f2e8);
}

.product-card__category {
  border-color: rgba(164, 121, 27, 0.34);
  background: rgba(255, 253, 247, 0.95);
  color: #765414;
}

.gallery-arrow,
.gallery-count {
  border-color: rgba(169, 126, 32, 0.4);
  background: rgba(255, 253, 247, 0.94);
  color: #775316;
}

.product-card__content {
  padding: 11px 11px 12px;
}

.product-card__sku {
  margin-bottom: 3px;
  color: #9a762e;
  font-size: 0.64rem;
  line-height: 1.35;
}

.product-card__title {
  min-height: 0;
  margin-bottom: 5px;
  color: #211c13;
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.product-card__description {
  min-height: 0;
  margin-bottom: 8px;
  color: #746b5c;
  font-size: 0.68rem;
  line-height: 1.45;
  -webkit-line-clamp: 1;
}

.product-units-label {
  margin-bottom: 5px;
  color: #7c725f;
  font-size: 0.59rem;
  line-height: 1.35;
}

.product-units {
  gap: 4px;
  margin-bottom: 8px;
}

.unit-choice {
  border-color: rgba(156, 117, 31, 0.2);
  background: linear-gradient(135deg, #fff, #fbf7ed);
  color: #4e4639;
  font-size: 0.64rem;
}

.unit-choice__name {
  color: #3d3529;
}

.unit-choice strong {
  color: #87621b;
  font-size: 0.69rem;
}

.unit-choice small {
  color: #827764;
  font-size: 0.54rem;
}

.unit-choice.is-selected {
  border-color: #ba8b2b;
  background: linear-gradient(135deg, #fff9e9, #f4e8c8);
  box-shadow: inset 3px 0 0 #b38628;
}

.card-quantity input {
  border-color: rgba(161, 120, 31, 0.26);
  background: #fff;
  color: #292216;
  font-size: 0.8rem;
}

.add-to-cart {
  font-size: 0.65rem;
}

.site-footer {
  border-top-color: rgba(164, 121, 28, 0.22);
  background: linear-gradient(145deg, #fffdf7, #f1ebde);
  color: #756b5b;
}

.brand--footer .brand__text strong,
.footer-links h2 {
  color: #261f14;
}

.brand--footer .brand__text small,
.footer-links a,
.footer-button,
.footer-bottom,
.footer-brand p {
  color: #756c5d;
}

.cart-drawer {
  border-left-color: rgba(166, 123, 28, 0.3);
  background: #fffefa;
  color: #221e15;
  box-shadow: -20px 0 60px rgba(62, 46, 17, 0.18);
}

.cart-drawer__header,
.cart-drawer__footer {
  border-color: rgba(164, 121, 28, 0.18);
  background: #fffdf8;
}

.cart-item {
  border-bottom-color: rgba(158, 117, 30, 0.14);
}

.cart-item__image {
  border-color: rgba(161, 120, 31, 0.23);
  background: #f8f3e9;
}

.cart-item__meta,
.cart-item__price small,
.cart-clear {
  color: #7e7464;
}

.cart-item__price,
.cart-total strong {
  color: #755314;
}

.quantity-control button {
  background: #fffaf1;
  color: #795614;
}

.quantity-control input {
  border-color: rgba(162, 121, 31, 0.22);
  background: #fff;
  color: #292216;
}

.toast {
  border-color: rgba(167, 124, 30, 0.45);
  background: #fffdf7;
  color: #6e5012;
  box-shadow: 0 18px 45px rgba(65, 48, 17, 0.18);
}

.icon-button {
  border-color: rgba(164, 121, 28, 0.24);
  background: #fffdf8;
  color: #785514;
}

.drawer-overlay {
  background: rgba(38, 29, 13, 0.38);
}

.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(211, 177, 89, 0.12), transparent 26%),
    #f8f5ee;
}

.text-link,
.secure-note,
.checkout-heading p,
.back-link {
  color: #756c5d;
}

.checkout-heading h1 {
  color: #211c13;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(164, 121, 28, 0.2);
  background: linear-gradient(150deg, #fff, #fdfaf2);
  box-shadow: 0 18px 44px rgba(71, 53, 19, 0.07);
}

.step-number {
  border-color: rgba(167, 124, 30, 0.34);
  background: #f8efda;
  color: #795715;
}

.card-heading h2 {
  color: #251f15;
}

.card-heading p,
.form-field label,
.label-row label {
  color: #574f42;
}

.form-field input,
.form-field textarea {
  border-color: rgba(158, 117, 30, 0.24);
  background: #fff;
  color: #221e15;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999080;
}

.phone-input,
.form-field .phone-input select {
  border-color: rgba(158, 117, 30, 0.22);
  background: #fff;
  color: #6d5015;
}

.field-hint {
  color: #847a6a;
}

.summary-item {
  border-bottom-color: rgba(160, 119, 30, 0.14);
}

.summary-item__image {
  border-color: rgba(160, 119, 30, 0.2);
  background: #f8f3e9;
}

.summary-item__details h3 {
  color: #292217;
}

.summary-item__details p,
.summary-total-line {
  color: #7d7465;
}

.summary-item__price,
.summary-grand-total strong {
  color: #755314;
}

.checkout-empty,
.success-panel {
  border-color: rgba(162, 119, 29, 0.22);
  background: linear-gradient(145deg, #fff, #fbf7ed);
}

.order-number {
  border-color: rgba(162, 119, 29, 0.28);
  background: #fbf4e5;
}

.order-number strong {
  color: #745214;
}

.checkout-footer {
  border-top-color: rgba(162, 119, 29, 0.16);
  color: #817768;
  background: #f8f4ec;
}

.image-preview {
  border-color: rgba(165, 121, 28, 0.34);
  background: #fffefa;
  color: #221e15;
}

.image-preview__header,
.image-preview__footer {
  background: linear-gradient(135deg, #fff, #f5ecda);
  color: #756c5c;
}

.image-preview__header .eyebrow,
.image-preview__footer a,
.image-preview__header h2 {
  color: #745315;
}

.image-preview__stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(215, 178, 82, 0.17), transparent 56%),
    #f7f2e8;
}

.preview-arrow,
.image-preview__close {
  border-color: rgba(164, 121, 28, 0.3);
  background: #fffdf8;
  color: #755315;
}

@media (max-width: 820px) {
  .product-card__title {
    font-size: 0.8rem;
  }

  .product-card__description {
    font-size: 0.64rem;
  }

  .product-units-label {
    font-size: 0.56rem;
  }

  .unit-choice {
    font-size: 0.59rem;
  }

  .unit-choice strong {
    font-size: 0.63rem;
  }

  .unit-choice small {
    font-size: 0.5rem;
  }

  .add-to-cart {
    font-size: 0.59rem;
  }
}

@media (max-width: 540px) {
  .product-card__sku {
    font-size: 0.59rem;
  }

  .product-card__title {
    font-size: 0.76rem;
  }

  .product-card__description {
    font-size: 0.61rem;
  }

  .unit-choice {
    min-height: 40px;
    font-size: 0.57rem;
  }

  .unit-choice strong {
    font-size: 0.61rem;
  }

  .unit-choice small {
    font-size: 0.48rem;
  }

  .card-quantity input,
  .add-to-cart {
    height: 35px;
    min-height: 35px;
  }
}

/* White & gold visual system with larger product-card typography */
:root {
  color-scheme: light;
  --black: #f7f4ec;
  --black-soft: #f1ede4;
  --surface: #fffefa;
  --surface-soft: #f6f2e9;
  --ink: #221e15;
  --muted: #726a5c;
  --line: rgba(157, 116, 28, 0.22);
  --navy: #a77a1d;
  --navy-deep: #795614;
  --navy-soft: #f7efd9;
  --orange: #bd8a24;
  --orange-dark: #936817;
  --orange-soft: #fbf2dc;
  --gold: #bd8a24;
  --gold-bright: #d9b34f;
  --gold-deep: #805b13;
  --primary-gradient: linear-gradient(135deg, #f2d77e 0%, #d4aa42 48%, #b48122 100%);
  --navy-gradient: linear-gradient(135deg, #2d271b 0%, #17140f 100%);
  --shadow-sm: 0 1px 2px rgba(71, 54, 20, 0.05), 0 10px 28px rgba(79, 59, 20, 0.06);
  --shadow-md: 0 22px 60px rgba(74, 56, 19, 0.12);
}

html {
  background: #f7f4ec;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(211, 177, 89, 0.11), transparent 26%),
    radial-gradient(circle at 92% 55%, rgba(222, 198, 137, 0.12), transparent 30%),
    linear-gradient(180deg, #fffefa 0%, #f8f5ee 55%, #fffefa 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(157, 116, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 116, 28, 0.04) 1px, transparent 1px);
  opacity: 0.65;
}

::selection {
  background: #d7b55c;
  color: #17130c;
}

h1,
h2,
h3 {
  color: var(--ink);
}

.muted,
.catalog-heading p,
.catalog-heading h2 span {
  color: var(--muted);
}

.eyebrow {
  color: var(--gold-deep);
}

.announcement {
  border-bottom-color: rgba(173, 130, 37, 0.25);
  background-image: linear-gradient(90deg, #fbf8f0, #f1e6ca 52%, #fbf8f0);
  color: #5f5544;
}

.announcement__link,
.footer-links a:hover,
.footer-button:hover {
  color: var(--gold-deep);
}

.site-header {
  border-bottom-color: rgba(177, 134, 41, 0.24);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(253, 250, 243, 0.68), rgba(255, 255, 255, 0.78));
  box-shadow: 0 9px 30px rgba(88, 65, 23, 0.08);
}

.brand__text strong {
  color: #241f15;
}

.brand__text small {
  color: #7f7462;
}

.brand__logo {
  border-color: rgba(184, 140, 44, 0.44);
  background: #fff;
}

.search {
  color: var(--gold-deep);
}

.search input {
  border-color: rgba(168, 126, 36, 0.25);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.search input::placeholder {
  color: #887e6d;
}

.search input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 151, 52, 0.1);
}

.whatsapp-action {
  border-color: rgba(172, 130, 38, 0.33);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-deep);
}

.whatsapp-action:hover {
  border-color: var(--gold);
  background: #fffaf0;
}

.cart-trigger {
  border-color: #b88a2d;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.cart-trigger:hover {
  background-image: linear-gradient(135deg, #f8df91, #c79b35);
}

.cart-badge {
  border-color: #a7791d;
  background: #fffdf7;
  color: #7c5915;
}

.category-bar--header {
  background: rgba(255, 255, 255, 0.26);
}

.category-chip {
  color: #655c4d;
}

.category-chip:hover {
  border-color: rgba(177, 134, 41, 0.32);
  background: #fffaf0;
  color: var(--gold-deep);
}

.category-chip.is-active {
  border-color: #b68a31;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.category-chip--new:not(.is-active) {
  border-color: rgba(177, 134, 41, 0.34);
  background: #fffaf1;
  color: var(--gold-deep);
}

.button--primary,
.add-to-cart {
  border-color: #c49a3b;
  background-image: var(--primary-gradient);
  color: #18130b;
  box-shadow: 0 9px 24px rgba(162, 119, 28, 0.18);
}

.button--primary:hover,
.add-to-cart:hover {
  border-color: #d5ae4a;
  background-image: linear-gradient(135deg, #f8df91, #c99d35);
  box-shadow: 0 13px 30px rgba(162, 119, 28, 0.24);
}

.button--outline,
.button--glass {
  border-color: rgba(161, 118, 29, 0.38);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 232, 0.9));
  color: var(--gold-deep);
}

.button--outline:hover,
.button--glass:hover {
  border-color: var(--gold);
  background-image: linear-gradient(135deg, #fff, #f8efdb);
}

.button--whatsapp {
  border-color: rgba(168, 126, 36, 0.38);
  background-image: linear-gradient(135deg, #fffdf7, #f7edda);
  color: #795713;
}

.button--whatsapp:hover {
  border-color: var(--gold);
  background-image: linear-gradient(135deg, #fff, #f5e8cd);
}

.hero {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 28%;
  background-color: #fffdf8;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 238, 0.93) 58%, rgba(244, 232, 204, 0.82)),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(215, 177, 78, 0.16), transparent 29%);
  border-top-color: rgba(171, 127, 32, 0.1);
  border-bottom-color: rgba(168, 126, 36, 0.26);
}

.hero::before {
  background:
    linear-gradient(90deg, transparent, rgba(192, 150, 49, 0.04) 50%, transparent),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(218, 181, 85, 0.2), transparent 19%);
}

.hero::after {
  background: linear-gradient(transparent, rgba(179, 135, 38, 0.42), transparent);
}

.hero__orb {
  border-color: rgba(180, 137, 39, 0.17);
  background: radial-gradient(circle, rgba(217, 180, 82, 0.18), rgba(217, 180, 82, 0.02) 68%, transparent 70%);
}

.hero__grid-lines {
  border-left-color: rgba(180, 137, 39, 0.12);
  background-image:
    linear-gradient(rgba(180, 137, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 137, 39, 0.08) 1px, transparent 1px);
}

.hero__content h1 {
  background-image:
    radial-gradient(circle 125px at var(--glow-x) var(--glow-y), #fff9df 0%, #f0d47d 18%, rgba(192, 143, 31, 0.3) 50%, transparent 72%),
    linear-gradient(112deg, #e3c165 0%, #aa7b1d 34%, #f0d580 53%, #805b13 80%, #c39a38 100%);
  filter: drop-shadow(0 10px 24px rgba(142, 102, 20, 0.12));
}

.hero__content .hero__spanish {
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border-left: 3px solid #f1d27b;
  background: linear-gradient(135deg, #8e6717, #6e4e11);
  color: #fff;
}

.hero__content .hero__lead {
  color: #6f6759;
}

.hero__meta {
  border-top-color: rgba(166, 123, 28, 0.24);
  border-bottom-color: rgba(166, 123, 28, 0.15);
}

.hero__meta div {
  border-right-color: rgba(166, 123, 28, 0.16);
}

.hero__meta strong {
  color: var(--gold-deep);
}

.hero__meta span {
  color: #776e5f;
}

.hero__terms {
  border-color: rgba(164, 120, 25, 0.27);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 225, 0.9)),
    #fffdfa;
  box-shadow: 0 24px 64px rgba(91, 68, 24, 0.1);
}

.hero__terms::before {
  background: linear-gradient(90deg, transparent, #d3aa42, transparent);
}

.hero__terms::after {
  border-color: rgba(173, 129, 34, 0.14);
}

.hero__terms-heading {
  border-bottom-color: rgba(166, 123, 28, 0.19);
}

.hero__terms-heading > span,
.hero__terms-list p span {
  color: var(--gold-deep);
}

.hero__terms-heading h2 {
  color: #261f13;
}

.hero__terms-heading p,
.hero__terms-list p {
  color: #706657;
}

.hero__terms-list p {
  border-bottom-color: rgba(143, 105, 25, 0.11);
}

.catalog-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(221, 192, 119, 0.12), transparent 24%),
    #f7f4ec;
}

.catalog-heading h2 {
  color: #211c13;
}

.catalog-whatsapp {
  border-left-color: var(--gold);
  color: #776f61;
}

.catalog-whatsapp strong {
  color: var(--gold-deep);
}

.catalog-message {
  border-color: rgba(165, 121, 27, 0.22);
  background: #fffdf8;
  color: #71695b;
}

.product-card {
  border-color: rgba(163, 121, 29, 0.2);
  background: linear-gradient(165deg, #fff 0%, #fffdf8 58%, #faf6ed 100%);
  box-shadow: 0 9px 26px rgba(91, 68, 24, 0.07);
}

.product-card:hover {
  border-color: rgba(171, 126, 28, 0.58);
  box-shadow: 0 20px 45px rgba(83, 60, 18, 0.12);
}

.product-card__media {
  border-bottom-color: rgba(169, 126, 32, 0.17);
  background: #f6f1e7;
}

.product-card__image {
  background: linear-gradient(145deg, #fff, #f7f2e8);
}

.product-card__category {
  border-color: rgba(164, 121, 27, 0.34);
  background: rgba(255, 253, 247, 0.94);
  color: #765414;
}

.product-card__new {
  border-color: #d1a844;
  background: linear-gradient(135deg, #f1d77f, #c4942e);
  color: #171209;
}

.gallery-arrow,
.gallery-count {
  border-color: rgba(169, 126, 32, 0.4);
  background: rgba(255, 253, 247, 0.92);
  color: #775316;
}

.product-card__content {
  padding: 11px 11px 12px;
}

.product-card__sku {
  margin-bottom: 3px;
  color: #9a762e;
  font-size: 0.64rem;
  line-height: 1.35;
}

.product-card__title {
  min-height: 0;
  margin-bottom: 5px;
  color: #211c13;
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.product-card__description {
  min-height: 0;
  margin-bottom: 8px;
  color: #746b5c;
  font-size: 0.68rem;
  line-height: 1.45;
  -webkit-line-clamp: 1;
}

.product-units-label {
  margin-bottom: 5px;
  color: #7c725f;
  font-size: 0.59rem;
  line-height: 1.35;
}

.product-units {
  gap: 4px;
  margin-bottom: 8px;
}

.unit-choice {
  border-color: rgba(156, 117, 31, 0.19);
  background: linear-gradient(135deg, #fff, #fbf7ed);
  color: #4e4639;
  font-size: 0.64rem;
}

.unit-choice__name {
  color: #3d3529;
}

.unit-choice strong {
  color: #87621b;
  font-size: 0.69rem;
}

.unit-choice small {
  color: #827764;
  font-size: 0.54rem;
}

.unit-choice:hover {
  border-color: rgba(173, 130, 34, 0.45);
  background: #fff9ed;
}

.unit-choice.is-selected {
  border-color: #ba8b2b;
  background: linear-gradient(135deg, #fff9e9, #f4e8c8);
  box-shadow: inset 3px 0 0 #b38628;
}

.unit-choice.is-selected strong {
  color: #735114;
}

.card-quantity input {
  border-color: rgba(161, 120, 31, 0.26);
  background: #fff;
  color: #292216;
  font-size: 0.8rem;
}

.card-quantity input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 145, 43, 0.1);
}

.add-to-cart {
  font-size: 0.65rem;
}

.catalog-empty {
  border-color: rgba(166, 123, 28, 0.3);
  background: #fffdf8;
}

.catalog-empty__icon,
.empty-mark {
  background: #f7efdc;
  color: var(--gold-deep);
}

.catalog-empty p,
.checkout-empty p {
  color: #756c5e;
}

.skeleton-block {
  background: #eee9df;
}

.skeleton-block::after {
  background: linear-gradient(90deg, transparent, rgba(190, 148, 56, 0.11), transparent);
}

.site-footer {
  border-top-color: rgba(164, 121, 28, 0.22);
  background:
    radial-gradient(circle at 12% 20%, rgba(210, 174, 87, 0.12), transparent 26%),
    linear-gradient(145deg, #fffdf7, #f1ebde);
  color: #756b5b;
}

.brand--footer .brand__text strong,
.footer-links h2 {
  color: #261f14;
}

.brand--footer .brand__text small,
.footer-links a,
.footer-button,
.footer-bottom {
  color: #756c5d;
}

.footer-brand p {
  color: #756c5e;
}

.footer-bottom {
  border-top-color: rgba(163, 121, 28, 0.18);
}

.cart-drawer {
  border-left-color: rgba(166, 123, 28, 0.3);
  background: #fffefa;
  color: var(--ink);
  box-shadow: -20px 0 60px rgba(62, 46, 17, 0.18);
}

.cart-drawer__header,
.cart-drawer__footer {
  border-color: rgba(164, 121, 28, 0.18);
  background: #fffdf8;
}

.cart-item {
  border-bottom-color: rgba(158, 117, 30, 0.14);
}

.cart-item__image {
  border-color: rgba(161, 120, 31, 0.23);
  background: #f8f3e9;
}

.cart-item__meta,
.cart-item__price small,
.cart-clear {
  color: #7e7464;
}

.cart-item__price,
.cart-total strong {
  color: #755314;
}

.quantity-control {
  border-color: rgba(162, 121, 31, 0.25);
}

.quantity-control button {
  background: #fffaf1;
  color: #795614;
}

.quantity-control button:hover {
  background: #f7edd8;
}

.quantity-control input {
  border-color: rgba(162, 121, 31, 0.22);
  background: #fff;
  color: #292216;
}

.cart-total {
  border-top-color: rgba(164, 121, 28, 0.23);
}

.cart-total span {
  color: #51493d;
}

.cart-note {
  border-left-color: var(--gold);
  background: #fbf0d8;
  color: #795916;
}

.toast {
  border-color: rgba(167, 124, 30, 0.45);
  background: #fffdf7;
  color: #6e5012;
  box-shadow: 0 18px 45px rgba(65, 48, 17, 0.18);
}

.icon-button {
  border-color: rgba(164, 121, 28, 0.24);
  background: #fffdf8;
  color: #785514;
}

.icon-button:hover {
  background: #f8efdd;
}

.drawer-overlay {
  background: rgba(38, 29, 13, 0.38);
}

.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(211, 177, 89, 0.12), transparent 26%),
    #f8f5ee;
}

.text-link,
.secure-note,
.checkout-heading p,
.back-link {
  color: #756c5d;
}

.text-link:hover {
  color: var(--gold-deep);
}

.secure-note {
  color: #8b671c;
}

.checkout-heading h1 {
  color: #211c13;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(164, 121, 28, 0.2);
  background: linear-gradient(150deg, #fff, #fdfaf2);
  box-shadow: 0 18px 44px rgba(71, 53, 19, 0.07);
}

.step-number {
  border-color: rgba(167, 124, 30, 0.34);
  background: #f8efda;
  color: #795715;
}

.card-heading h2 {
  color: #251f15;
}

.card-heading p,
.form-field label,
.label-row label {
  color: #574f42;
}

.form-field label span,
.label-row label span,
.label-row small {
  color: #827868;
}

.form-field input,
.form-field textarea {
  border-color: rgba(158, 117, 30, 0.24);
  background: #fff;
  color: var(--ink);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999080;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 145, 43, 0.1);
}

.phone-input {
  border-color: rgba(158, 117, 30, 0.24);
  background: #fff;
}

.phone-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 145, 43, 0.1);
}

.form-field .phone-input select {
  border-right-color: rgba(158, 117, 30, 0.2);
  background: linear-gradient(135deg, #fff, #f7eedb);
  color: #6d5015;
}

.field-hint {
  color: #847a6a;
}

.form-alert {
  border-color: rgba(185, 91, 69, 0.3);
  background: #fff4f1;
  color: #a34c3b;
}

.checkout-submit {
  border-top-color: rgba(164, 121, 28, 0.17);
}

.submit-note,
.edit-cart-link {
  color: #7a7162;
}

.summary-item {
  border-bottom-color: rgba(160, 119, 30, 0.14);
}

.summary-item__image {
  border-color: rgba(160, 119, 30, 0.2);
  background: #f8f3e9;
}

.summary-item__details h3 {
  color: #292217;
}

.summary-item__details p,
.summary-total-line {
  color: #7d7465;
}

.summary-item__price,
.summary-grand-total strong {
  color: #755314;
}

.summary-item__price small {
  color: #8e702f;
}

.summary-totals,
.summary-grand-total {
  border-top-color: rgba(162, 121, 31, 0.2);
}

.summary-total-line strong {
  color: #494236;
}

.summary-price-note {
  border-left-color: var(--gold);
  background: #fbf0d8;
  color: #795916;
}

.summary-assurance {
  border-color: rgba(162, 121, 31, 0.22);
  background: #fbf5e8;
  color: #7c6c4e;
}

.checkout-empty,
.success-panel {
  border-color: rgba(162, 119, 29, 0.22);
  background: linear-gradient(145deg, #fff, #fbf7ed);
}

.success-icon {
  border-color: rgba(162, 119, 29, 0.4);
  background: #f8efdb;
  color: #7b5715;
}

.success-panel > p {
  color: #756c5d;
}

.order-number {
  border-color: rgba(162, 119, 29, 0.28);
  background: #fbf4e5;
}

.order-number span {
  color: #786f60;
}

.order-number strong {
  color: #745214;
}

.success-mail-note {
  border-color: rgba(162, 119, 29, 0.25);
  background: #fbf2df;
  color: #795d24;
}

.checkout-footer {
  border-top-color: rgba(162, 119, 29, 0.16);
  color: #817768;
  background: #f8f4ec;
}

.image-preview {
  border-color: rgba(165, 121, 28, 0.34);
  background: #fffefa;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(55, 40, 13, 0.28);
}

.image-preview::backdrop {
  background: rgba(40, 30, 13, 0.68);
}

.image-preview__header,
.image-preview__footer {
  background: linear-gradient(135deg, #fff, #f5ecda);
  color: #756c5c;
}

.image-preview__header .eyebrow,
.image-preview__footer a,
.image-preview__header h2 {
  color: #745315;
}

.image-preview__stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(215, 178, 82, 0.17), transparent 56%),
    #f7f2e8;
}

.preview-arrow {
  border-color: rgba(164, 121, 28, 0.38);
  background: rgba(255, 253, 247, 0.94);
  color: #755315;
}

.image-preview__close {
  border-color: rgba(164, 121, 28, 0.26);
  background: #fffdf8;
  color: #745315;
}

.image-preview__close:hover {
  border-color: var(--gold);
  background: #f8efdd;
}

@media (max-width: 820px) {
  .product-card__content {
    padding: 9px 9px 10px;
  }

  .product-card__title {
    font-size: 0.8rem;
  }

  .product-card__description {
    font-size: 0.64rem;
  }

  .product-units-label {
    font-size: 0.56rem;
  }

  .unit-choice {
    font-size: 0.59rem;
  }

  .unit-choice strong {
    font-size: 0.63rem;
  }

  .unit-choice small {
    font-size: 0.5rem;
  }

  .add-to-cart {
    font-size: 0.59rem;
  }
}

@media (max-width: 540px) {
  .product-card__sku {
    font-size: 0.59rem;
  }

  .product-card__title {
    font-size: 0.76rem;
  }

  .product-card__description {
    font-size: 0.61rem;
  }

  .unit-choice {
    min-height: 40px;
    font-size: 0.57rem;
  }

  .unit-choice strong {
    font-size: 0.61rem;
  }

  .unit-choice small {
    font-size: 0.48rem;
  }

  .card-quantity input,
  .add-to-cart {
    height: 35px;
    min-height: 35px;
  }
}

/* 2026 refresh: Faire-inspired editorial frame, bilingual UI and dense catalog */
:root {
  --navy: #1b3152;
  --navy-deep: #10233d;
  --navy-soft: #eef3f8;
  --orange: #e7662f;
  --orange-dark: #c94e1c;
  --orange-soft: #fff4ec;
  --teal: #3b766e;
  --teal-soft: #eaf4f1;
  --sand: #f6f3ec;
  --line: #e2e7e7;
  --muted: #667372;
  --radius: 10px;
  --primary-gradient: linear-gradient(135deg, #f18a4d 0%, #dd5a24 100%);
  --navy-gradient: linear-gradient(135deg, #27476d 0%, #172d4b 100%);
  --teal-gradient: linear-gradient(135deg, #4e8980 0%, #2f665f 100%);
  --shadow-sm: 0 2px 4px rgba(28, 48, 52, 0.03), 0 10px 26px rgba(28, 48, 52, 0.06);
  --shadow-md: 0 18px 48px rgba(25, 45, 52, 0.14);
}

body {
  background:
    linear-gradient(180deg, #fff 0%, #fdfcf9 68%, #fff 100%);
}

.container {
  width: min(1440px, calc(100% - 44px));
}

.button,
.cart-trigger,
.brand__mark,
.category-chip.is-active,
.add-to-cart {
  background-image: var(--navy-gradient);
}

.button--primary,
.add-to-cart {
  border-color: transparent;
  background-image: var(--primary-gradient);
  box-shadow: 0 8px 20px rgba(221, 90, 36, 0.2);
}

.button--primary:hover,
.add-to-cart:hover {
  border-color: transparent;
  background-image: linear-gradient(135deg, #e97739 0%, #bc4315 100%);
}

.button--outline {
  border-color: #cbd7d5;
  background-image: linear-gradient(135deg, #fff, #f3f7f5);
}

.button--whatsapp {
  border-color: #94c9b1;
  background-image: linear-gradient(135deg, #effaf5, #dff3e9);
  color: #176848;
}

.button--whatsapp:hover {
  border-color: #61aa83;
  background-image: linear-gradient(135deg, #e4f7ed, #cfeee0);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.7);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 242, 0.78));
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(28, 48, 52, 0.09);
  backdrop-filter: blur(10px);
}

.announcement {
  background-image: linear-gradient(90deg, #182b42 0%, #213c58 55%, #355a57 100%);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #e0e7e4;
}

.brand__mark {
  background-image: linear-gradient(145deg, #35587c 0%, #172d49 100%);
  border-radius: 12px 5px 12px 5px;
}

.search input {
  border-color: #d8e0de;
  border-radius: 999px;
  background: #f4f6f3;
}

.search input:focus {
  border-color: #7b9e96;
  box-shadow: 0 0 0 4px rgba(73, 127, 118, 0.1);
}

.whatsapp-action {
  border-color: #c8dfd6;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7fcfa, #eef8f3);
}

.cart-trigger {
  border-radius: 999px;
  background-image: linear-gradient(135deg, #315374 0%, #172b45 100%);
}

.category-bar--header {
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.96);
}

.category-chip {
  border-radius: 999px;
  color: #536563;
}

.category-chip.is-active {
  border-color: transparent;
  background-image: linear-gradient(135deg, #365877 0%, #152d49 100%);
}

.category-chip--new:not(.is-active) {
  border-color: #f0d2c0;
  background: #fff8f2;
  color: #a94b1f;
}

.category-chip--new.is-active {
  background-image: var(--primary-gradient);
}

.hero {
  min-height: 540px;
  padding: 86px 0 76px;
  border: 0;
  background-color: #070706;
  background-image: none;
}

.hero::after {
  display: none;
}

.hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(540px, 0.92fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 30px 24px;
}

.hero__content {
  max-width: 650px;
  grid-column: 2;
  grid-row: 1;
}

.hero__content h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: #183449;
  font-size: clamp(3rem, 5.7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero__spanish {
  max-width: 650px;
  margin: 0 0 12px;
  color: #49615e;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  font-weight: 550;
  line-height: 1.45;
}

.hero__content .hero__lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: #647370;
  font-size: 0.94rem;
  line-height: 1.7;
}

.hero__panel {
  align-self: end;
  width: 100%;
  grid-column: 2;
  grid-row: 2;
  border-color: rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(239, 246, 242, 0.72));
  box-shadow: 0 24px 70px rgba(40, 65, 63, 0.16);
  backdrop-filter: blur(14px);
}

.hero-stat {
  min-height: 132px;
  padding: 26px 17px;
}

.hero-stat strong {
  color: #325e59;
}

.catalog-section {
  padding: 76px 0 94px;
}

.catalog-heading {
  align-items: flex-end;
  margin-bottom: 24px;
}

.catalog-heading h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.catalog-heading h2 span {
  color: #788582;
  font-size: 0.47em;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}

.product-card {
  border-color: #e0e5e3;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff 92%, #fdfbf7 100%);
}

.product-card:hover {
  border-color: #c9d5d1;
  box-shadow: 0 16px 35px rgba(35, 56, 54, 0.1);
}

.product-card__media {
  border-bottom-color: #e7eae8;
  background: #f5f6f2;
}

.product-card__gallery {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-card__gallery::-webkit-scrollbar,
.preview-track::-webkit-scrollbar {
  display: none;
}

.product-card__slides {
  display: flex;
  width: 100%;
  height: 100%;
}

.product-card__image-button {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.product-card__image {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  background: linear-gradient(145deg, #fff, #f5f6f2);
}

.product-card:hover .product-card__image {
  transform: scale(1.02);
}

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 29px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(27, 49, 77, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.16s ease;
  backdrop-filter: blur(7px);
}

.product-card:hover .gallery-arrow,
.gallery-arrow:focus-visible {
  opacity: 1;
}

.gallery-arrow:disabled {
  opacity: 0.28;
}

.gallery-arrow--prev {
  left: 8px;
}

.gallery-arrow--next {
  right: 8px;
}

.gallery-count {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(18, 37, 55, 0.72);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 650;
  backdrop-filter: blur(6px);
}

.product-card__category {
  top: 8px;
  left: 8px;
  max-width: calc(100% - 74px);
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.56rem;
  backdrop-filter: blur(6px);
}

.product-card__new {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f08b50, #d75522);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 12px rgba(194, 78, 30, 0.22);
}

.product-card__content {
  padding: 11px 11px 12px;
}

.product-card__sku {
  margin-bottom: 3px;
  font-size: 0.57rem;
}

.product-card__title {
  min-height: 37px;
  margin-bottom: 5px;
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.product-card__description {
  display: -webkit-box;
  min-height: 28px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #75817f;
  font-size: 0.62rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-units-label {
  margin-bottom: 5px;
  font-size: 0.55rem;
}

.product-units {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin-bottom: 9px;
}

.unit-choice {
  display: grid;
  min-height: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 6px;
  padding: 6px 7px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff, #fbfcfb);
  font-size: 0.59rem;
}

.unit-choice strong {
  font-size: 0.63rem;
}

.unit-choice small {
  grid-column: 1 / -1;
  color: #889491;
  font-size: 0.51rem;
  line-height: 1.3;
}

.unit-choice.is-selected {
  border-color: #71968e;
  background: linear-gradient(135deg, #eff7f4, #e7f1ee);
  box-shadow: inset 3px 0 0 #4c7c73;
}

.unit-choice.is-selected strong {
  color: #274e48;
}

.quote-price {
  margin-bottom: 9px;
  border-left-color: var(--orange);
  background: linear-gradient(135deg, #fff7f1, #fff0e5);
}

.product-card__add-row {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr);
  gap: 5px;
  margin-top: auto;
}

.card-quantity {
  display: block;
}

.card-quantity input {
  width: 100%;
  height: 38px;
  padding: 0 3px;
  border: 1px solid #cfd9d6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  outline: none;
}

.card-quantity input:focus {
  border-color: #5d877f;
  box-shadow: 0 0 0 3px rgba(73, 127, 118, 0.1);
}

.add-to-cart {
  min-height: 38px;
  margin-top: 0;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.59rem;
  line-height: 1.25;
}

.add-to-cart.is-added {
  border-color: transparent;
  background-image: linear-gradient(135deg, #4e9181, #27725e);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.65fr 0.8fr;
}

.cart-total strong,
.summary-grand-total strong {
  color: #244d48;
}

.quantity-control input {
  width: 42px;
  min-width: 42px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 750;
  text-align: center;
  outline: none;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.cart-item__price small {
  color: #788582;
}

/* Image preview */
.image-preview {
  width: min(1160px, calc(100% - 30px));
  max-width: none;
  height: min(820px, calc(100dvh - 30px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #111f2d;
  color: #fff;
  box-shadow: 0 36px 100px rgba(4, 16, 27, 0.38);
}

.image-preview::backdrop {
  background: rgba(8, 18, 28, 0.78);
  backdrop-filter: blur(5px);
}

.image-preview__shell {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

.image-preview__header,
.image-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 19px;
  background: linear-gradient(135deg, #172d40, #0d1c2b);
}

.image-preview__header .eyebrow {
  margin-bottom: 2px;
  color: #f5b286;
  font-size: 0.56rem;
}

.image-preview__header h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.image-preview__close {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
}

.image-preview__close:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
}

.image-preview__stage {
  position: relative;
  display: flex;
  min-height: 0;
  flex: 1;
  align-items: stretch;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.1), transparent 59%),
    #0c1926;
}

.preview-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.preview-slide {
  display: grid;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  margin: 0;
  padding: 18px 64px;
  place-items: center;
  scroll-snap-align: start;
}

.preview-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.25));
}

.preview-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(18, 39, 58, 0.67);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.preview-arrow--prev {
  left: 12px;
}

.preview-arrow--next {
  right: 12px;
}

.preview-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.image-preview__footer {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.image-preview__footer a {
  color: #ffd2b4;
  font-weight: 700;
}

/* Checkout refinements */
.checkout-form-card,
.order-summary {
  border-radius: 14px;
}

.field-hint {
  margin: 6px 0 0;
  color: #768481;
  font-size: 0.68rem;
  line-height: 1.5;
}

.phone-input {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cfdae6;
  border-radius: var(--radius);
  background: #fff;
}

.phone-input:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 61, 110, 0.08);
}

.form-field .phone-input select,
.form-field .phone-input input {
  height: 44px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.form-field .phone-input select {
  padding: 0 10px;
  border-right: 1px solid #dbe3e8;
  background: linear-gradient(135deg, #f6f9f8, #eef4f2);
  color: #334c49;
  outline: none;
}

.success-mail-note {
  max-width: 500px;
  margin: -8px auto 22px;
  padding: 11px 14px;
  border: 1px solid #f0d6c5;
  border-radius: 9px;
  background: linear-gradient(135deg, #fff8f3, #fff2e9);
  color: #88502f;
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 1420px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    min-height: 500px;
    background-image: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .hero__content,
  .hero__panel {
    grid-column: 1;
  }

  .hero__content {
    grid-row: 1;
  }

  .hero__panel {
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1440px);
  }

  .hero {
    min-height: 570px;
    padding: 62px 0 54px;
    background-image: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content h1 {
    max-width: 650px;
    font-size: clamp(2.85rem, 10vw, 4.6rem);
  }

  .hero__panel {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .product-card__content {
    padding: 9px 9px 11px;
  }

  .product-card__image {
    padding: 8px;
  }

  .gallery-arrow {
    width: 25px;
    height: 32px;
    opacity: 1;
  }

  .catalog-heading h2 {
    display: block;
  }

  .catalog-heading h2 span {
    display: block;
    margin-top: 3px;
    font-size: 0.56em;
  }

  .image-preview {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
  }

  .preview-slide {
    padding: 12px 46px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 18px, 1440px);
  }

  .hero {
    min-height: 610px;
    padding: 48px 0 24px;
    background-position: center, 64% center, 64% center;
  }

  .hero__grid {
    gap: 24px;
  }

  .hero__content h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-stat {
    display: block;
    min-height: 82px;
    padding: 13px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero-stat:last-child {
    border-right: 0;
  }

  .hero-stat strong {
    width: auto;
    margin-bottom: 4px;
    font-size: 1.12rem;
  }

  .hero-stat span {
    font-size: 0.58rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card__content {
    padding: 8px 7px 9px;
  }

  .product-card__sku {
    font-size: 0.52rem;
  }

  .product-card__title {
    min-height: 32px;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .product-card__description {
    min-height: 24px;
    margin-bottom: 7px;
    font-size: 0.54rem;
  }

  .product-units {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    margin-bottom: 7px;
  }

  .unit-choice {
    padding: 5px;
    font-size: 0.53rem;
  }

  .unit-choice strong {
    font-size: 0.55rem;
  }

  .unit-choice small {
    font-size: 0.46rem;
  }

  .product-card__add-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px;
  }

  .card-quantity input {
    height: 37px;
    padding: 0 1px;
    font-size: 0.72rem;
  }

  .add-to-cart {
    min-height: 37px;
    font-size: 0.53rem;
  }

  .product-card__category {
    max-width: calc(100% - 65px);
    padding: 4px 6px;
    font-size: 0.48rem;
  }

  .product-card__new {
    padding: 3px 5px;
    font-size: 0.45rem;
  }

  .gallery-count {
    right: 5px;
    bottom: 5px;
    font-size: 0.45rem;
  }

  .gallery-arrow {
    width: 23px;
    height: 29px;
    font-size: 1.15rem;
  }

  .phone-input {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .preview-slide {
    padding: 8px 33px;
  }

  .preview-arrow {
    width: 34px;
    height: 44px;
  }

  .image-preview__header,
  .image-preview__footer {
    padding: 12px;
  }

  .image-preview__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.63rem;
  }
}

/* Black & gold editorial refresh */
:root {
  color-scheme: dark;
  --black: #070706;
  --black-soft: #0c0c0a;
  --surface: #11110e;
  --surface-soft: #181610;
  --ink: #f5f0e3;
  --muted: #aaa28f;
  --line: rgba(207, 170, 83, 0.22);
  --navy: #d0a642;
  --navy-deep: #090907;
  --navy-soft: #1d190f;
  --orange: #d4af37;
  --orange-dark: #b88b28;
  --orange-soft: #211b0d;
  --teal: #7d8d72;
  --teal-soft: #161a14;
  --gold: #d4af37;
  --gold-bright: #f4dc90;
  --gold-deep: #9b711d;
  --radius: 0px;
  --primary-gradient: linear-gradient(135deg, #f0d47e 0%, #d4ae45 45%, #a9791e 100%);
  --navy-gradient: linear-gradient(135deg, #252218 0%, #0b0b09 100%);
  --teal-gradient: linear-gradient(135deg, #302b1c 0%, #10100d 100%);
  --shadow-sm: 0 1px 0 rgba(255, 220, 134, 0.08);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.5);
}

* ,
*::before,
*::after {
  border-radius: 0 !important;
}

html {
  background: var(--black);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(183, 137, 35, 0.08), transparent 28%),
    radial-gradient(circle at 88% 64%, rgba(212, 175, 55, 0.045), transparent 26%),
    var(--black);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

::selection {
  background: var(--gold);
  color: #080806;
}

h1,
h2,
h3 {
  color: var(--ink);
}

.muted,
.catalog-heading p,
.catalog-heading h2 span {
  color: var(--muted);
}

.eyebrow {
  color: var(--gold);
}

.button,
.add-to-cart,
.cart-trigger {
  border-radius: 0 !important;
}

.button--primary,
.add-to-cart {
  border-color: #e3c56b;
  background-image: var(--primary-gradient);
  color: #080806;
  box-shadow: 0 10px 28px rgba(168, 119, 25, 0.22);
}

.button--primary:hover,
.add-to-cart:hover {
  border-color: var(--gold-bright);
  background-image: linear-gradient(135deg, #ffe49a 0%, #d4ad45 48%, #b98727 100%);
  box-shadow: 0 14px 36px rgba(195, 148, 43, 0.3);
}

.button--outline,
.button--glass {
  border-color: rgba(212, 175, 55, 0.42);
  background-image: linear-gradient(135deg, rgba(30, 28, 20, 0.94), rgba(10, 10, 8, 0.94));
  color: var(--gold-bright);
  box-shadow: none;
}

.button--outline:hover,
.button--glass:hover {
  border-color: var(--gold);
  background-image: linear-gradient(135deg, #2a2518, #0b0b09);
}

.button--whatsapp {
  border-color: #b99743;
  background-image: linear-gradient(135deg, #2b2414, #100f0b);
  color: var(--gold-bright);
}

.button--whatsapp:hover {
  border-color: var(--gold-bright);
  background-image: linear-gradient(135deg, #3a3018, #15120b);
}

.announcement {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background-image: linear-gradient(90deg, #050505, #111009 55%, #050505);
  color: #c9c0ae;
}

.announcement__link,
.footer-links a:hover,
.footer-button:hover {
  color: var(--gold-bright);
}

.site-header {
  border-bottom-color: rgba(212, 175, 55, 0.22);
  background: rgba(7, 7, 6, 0.94);
}

.brand {
  color: var(--ink);
}

.brand__logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: #fff;
  object-fit: contain;
}

.brand__text strong {
  color: #f3ead5;
}

.brand__text small {
  color: #9f9787;
}

.search {
  color: var(--gold);
}

.search input {
  border-color: rgba(212, 175, 55, 0.26);
  background: #0d0d0b;
  color: var(--ink);
}

.search input::placeholder {
  color: #777164;
}

.search input:focus {
  border-color: var(--gold);
  background: #11100c;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.whatsapp-action {
  border-color: rgba(212, 175, 55, 0.37);
  background: linear-gradient(135deg, #19170f, #0b0b09);
  color: var(--gold-bright);
}

.whatsapp-action:hover {
  border-color: var(--gold);
  background: #211c11;
}

.cart-trigger {
  border: 1px solid #e0bf61;
  background-image: var(--primary-gradient);
  color: #080806;
}

.cart-trigger:hover {
  background-image: linear-gradient(135deg, #ffe59b, #c3922c);
}

.cart-badge {
  border-color: var(--gold);
  background: #080806;
  color: var(--gold-bright);
}

.category-bar,
.category-bar--header {
  border-color: rgba(212, 175, 55, 0.18);
  background: #090908;
}

.category-chip {
  border-color: transparent;
  background: transparent;
  color: #97907f;
}

.category-chip:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background: #14120d;
  color: var(--gold-bright);
}

.category-chip.is-active {
  border-color: var(--gold);
  background-image: var(--primary-gradient);
  color: #080806;
}

.category-chip--new:not(.is-active) {
  border-color: rgba(212, 175, 55, 0.35);
  background: #121009;
  color: var(--gold-bright);
}

/* Hero without image: typography, light interaction and animated ambience */
.hero {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 28%;
  isolation: isolate;
  min-height: 710px;
  padding: 78px 0 70px;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.34);
  background-color: #070706;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.015), transparent 38%),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(212, 175, 55, 0.12), transparent 27%),
    linear-gradient(180deg, #070706 0%, #0c0b08 58%, #080807 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.02) 50%, transparent 100%),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(244, 220, 144, 0.16), transparent 18%);
  content: "";
  transition: background 0.12s linear;
}

.hero::after {
  display: block;
  position: absolute;
  z-index: -1;
  top: -35%;
  right: 6%;
  width: 1px;
  height: 170%;
  background: linear-gradient(transparent, rgba(212, 175, 55, 0.45), transparent);
  content: "";
  opacity: 0.5;
  transform: rotate(24deg);
  animation: hero-line-drift 8s ease-in-out infinite alternate;
}

.hero__ambience,
.hero__orb,
.hero__grid-lines {
  position: absolute;
  pointer-events: none;
}

.hero__ambience {
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero__orb {
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.01) 68%, transparent 70%);
  filter: blur(0.2px);
}

.hero__orb--one {
  top: 8%;
  right: 7%;
  width: 340px;
  height: 340px;
  animation: orb-float 9s ease-in-out infinite;
}

.hero__orb--two {
  bottom: -18%;
  left: 23%;
  width: 220px;
  height: 220px;
  animation: orb-float 12s ease-in-out -4s infinite reverse;
}

.hero__grid-lines {
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  border-left: 1px solid rgba(212, 175, 55, 0.1);
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, rgba(0, 0, 0, 0.25));
  transform: skewX(-8deg);
  animation: grid-breathe 8s ease-in-out infinite alternate;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 64px;
}

.hero__content {
  max-width: 760px;
  grid-column: 1;
  grid-row: 1;
}

.hero__content h1 {
  --glow-x: 42%;
  --glow-y: 32%;
  max-width: 760px;
  margin-bottom: 26px;
  background-image:
    radial-gradient(circle 125px at var(--glow-x) var(--glow-y), #fffbe8 0%, rgba(244, 220, 144, 0.9) 20%, rgba(212, 175, 55, 0.22) 52%, transparent 72%),
    linear-gradient(112deg, #f5e5b2 0%, #c49a39 38%, #fff0bd 55%, #a4771d 82%, #e8c66e 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  filter: drop-shadow(0 12px 34px rgba(188, 142, 42, 0.12));
  transition: filter 0.22s ease, transform 0.22s ease;
}

.hero__content h1:hover {
  filter: drop-shadow(0 15px 42px rgba(236, 194, 98, 0.25));
  transform: translateY(-2px);
}

.hero__spanish {
  max-width: 680px;
  color: #c7bda8;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.hero__content .hero__lead {
  max-width: 650px;
  color: #8f897c;
  font-size: 0.9rem;
}

.hero__actions {
  margin-bottom: 33px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.hero__meta div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 9px;
  padding: 15px 17px 15px 0;
  border-right: 1px solid rgba(212, 175, 55, 0.13);
}

.hero__meta div + div {
  padding-left: 17px;
}

.hero__meta div:last-child {
  border-right: 0;
}

.hero__meta strong {
  color: var(--gold-bright);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero__meta span {
  overflow: hidden;
  color: #918a7a;
  font-size: 0.65rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__terms {
  position: relative;
  width: 100%;
  grid-column: 2;
  grid-row: 1;
  padding: 29px 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    linear-gradient(165deg, #15140f 0%, #0b0b09 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero__terms::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  content: "";
  transform: translateX(-100%);
  animation: border-sweep 4.8s ease-in-out infinite;
}

.hero__terms::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(212, 175, 55, 0.13);
  content: "";
  transform: rotate(45deg);
}

.hero__terms-heading {
  position: relative;
  z-index: 1;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.17);
}

.hero__terms-heading > span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero__terms-heading h2 {
  margin: 8px 0 7px;
  color: #f2e8d2;
  font-size: 1.25rem;
}

.hero__terms-heading p {
  margin: 0;
  color: #8f8879;
  font-size: 0.7rem;
  line-height: 1.55;
}

.hero__terms-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  padding-top: 4px;
}

.hero__terms-list p {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #b8b0a0;
  font-size: 0.7rem;
  line-height: 1.62;
}

.hero__terms-list p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero__terms-list p span {
  padding-top: 1px;
  color: #d8b85e;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@keyframes orb-float {
  0% {
    transform: translate3d(-8px, 0, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(20px, -26px, 0) rotate(16deg);
  }
}

@keyframes grid-breathe {
  from {
    opacity: 0.42;
    transform: skewX(-8deg) translateY(-8px);
  }
  to {
    opacity: 0.8;
    transform: skewX(-8deg) translateY(8px);
  }
}

@keyframes hero-line-drift {
  from {
    transform: translateX(-25px) rotate(24deg);
  }
  to {
    transform: translateX(32px) rotate(24deg);
  }
}

@keyframes border-sweep {
  0%,
  20% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

/* Catalog */
.catalog-section {
  background:
    radial-gradient(circle at 76% 8%, rgba(212, 175, 55, 0.06), transparent 24%),
    #080807;
}

.catalog-heading h2 {
  color: #f3ead6;
}

.catalog-whatsapp {
  border-left-color: var(--gold);
  color: #928b7d;
}

.catalog-whatsapp strong {
  color: var(--gold-bright);
}

.catalog-message {
  border-color: rgba(212, 175, 55, 0.22);
  background: #12110d;
  color: #b8b0a0;
}

.catalog-message.is-error {
  border-color: rgba(203, 93, 72, 0.4);
  background: #1d0d0a;
  color: #e8a091;
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.product-card {
  border-color: rgba(212, 175, 55, 0.16);
  background: linear-gradient(180deg, #11110e 0%, #0b0b09 100%);
  box-shadow: none;
}

.product-card:hover {
  border-color: rgba(226, 191, 99, 0.62);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(212, 175, 55, 0.08);
  transform: translateY(-4px);
}

.product-card__media {
  border-bottom-color: rgba(212, 175, 55, 0.18);
  background: #f1eee5;
}

.product-card__image {
  background: linear-gradient(145deg, #fff, #efede5);
}

.product-card__category {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(8, 8, 7, 0.9);
  color: var(--gold-bright);
}

.product-card__new {
  border: 1px solid #f3d584;
  background: linear-gradient(135deg, #f5dd91, #bd8b2c);
  color: #080806;
  box-shadow: none;
}

.gallery-arrow {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(8, 8, 7, 0.9);
  color: var(--gold-bright);
}

.gallery-count {
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(8, 8, 7, 0.88);
  color: var(--gold-bright);
}

.product-card__sku {
  color: #bc9d54;
}

.product-card__title {
  color: #eee6d5;
}

.product-card__description {
  color: #989181;
}

.product-units-label {
  color: #837c6f;
}

.unit-choice {
  border-color: rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, #171611, #0d0d0b);
  color: #bab2a1;
}

.unit-choice strong {
  color: #ddc274;
}

.unit-choice small {
  color: #777164;
}

.unit-choice:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: #19160e;
}

.unit-choice.is-selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, #292315, #15120b);
  box-shadow: inset 3px 0 0 var(--gold);
}

.unit-choice.is-selected strong {
  color: var(--gold-bright);
}

.quote-price {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, #211b0d, #12110d);
}

.quote-price strong {
  color: var(--gold-bright);
}

.quote-price small {
  color: #9e8b64;
}

.card-quantity input {
  border-color: rgba(212, 175, 55, 0.25);
  background: #0b0b09;
  color: #f1e9d7;
}

.card-quantity input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.09);
}

.add-to-cart.is-added {
  background-image: linear-gradient(135deg, #d8c08a, #8b753d);
}

.catalog-empty {
  border-color: rgba(212, 175, 55, 0.3);
  background: #0d0d0b;
}

.catalog-empty__icon,
.empty-mark {
  background: #1b180f;
  color: var(--gold);
}

.catalog-empty p,
.checkout-empty p {
  color: #958e80;
}

.skeleton-block {
  background: #1b1913;
}

.skeleton-block::after {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
}

/* Footer and cart */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.08), transparent 25%),
    linear-gradient(145deg, #0d0d0b, #050505);
  color: #8d8678;
}

.brand--footer .brand__text strong,
.footer-links h2 {
  color: #eee5d2;
}

.brand--footer .brand__text small,
.footer-links a,
.footer-button,
.footer-bottom {
  color: #807a6d;
}

.footer-brand p {
  color: #8f887b;
}

.footer-bottom {
  border-top-color: rgba(212, 175, 55, 0.16);
}

.drawer-overlay {
  background: rgba(0, 0, 0, 0.78);
}

.cart-drawer {
  border-left: 1px solid rgba(212, 175, 55, 0.3);
  background: #080807;
  color: var(--ink);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.58);
}

.cart-drawer__header,
.cart-drawer__footer {
  border-color: rgba(212, 175, 55, 0.18);
  background: #0c0c0a;
}

.cart-item {
  border-bottom-color: rgba(212, 175, 55, 0.13);
}

.cart-item__image {
  border-color: rgba(212, 175, 55, 0.2);
  background: #f3f0e7;
}

.cart-item__meta,
.cart-item__price small,
.cart-clear {
  color: #8d8576;
}

.cart-item__price,
.cart-total strong {
  color: var(--gold-bright);
}

.quantity-control {
  border-color: rgba(212, 175, 55, 0.25);
}

.quantity-control button {
  background: #15130d;
  color: var(--gold-bright);
}

.quantity-control button:hover {
  background: #252014;
}

.quantity-control input {
  border-color: rgba(212, 175, 55, 0.22);
  background: #090908;
  color: #eee6d5;
}

.cart-total {
  border-top-color: rgba(212, 175, 55, 0.25);
}

.cart-total span {
  color: #c8c0b0;
}

.cart-note {
  border-left-color: var(--gold);
  background: #1f190c;
  color: #d8bd79;
}

.toast {
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: #0d0c09;
  color: var(--gold-bright);
}

.icon-button {
  border-color: rgba(212, 175, 55, 0.25);
  background: #11100c;
  color: var(--gold-bright);
}

.icon-button:hover {
  background: #211b10;
}

/* Checkout */
.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(212, 175, 55, 0.055), transparent 25%),
    #080807;
}

.text-link,
.secure-note,
.checkout-heading p,
.back-link {
  color: #989184;
}

.text-link:hover {
  color: var(--gold-bright);
}

.secure-note {
  color: #bc9d54;
}

.checkout-heading h1 {
  color: #f2e8d3;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(212, 175, 55, 0.19);
  background: linear-gradient(150deg, #11110e, #0a0a08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.step-number {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #1e190e;
  color: var(--gold-bright);
}

.card-heading h2 {
  color: #eee5d2;
}

.card-heading p,
.form-field label,
.label-row label {
  color: #b0a794;
}

.form-field label span,
.label-row label span,
.label-row small {
  color: #817a6d;
}

.form-field input,
.form-field textarea {
  border-color: rgba(212, 175, 55, 0.21);
  background: #090908;
  color: #f1e9d8;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #615d54;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.09);
}

.phone-input {
  border-color: rgba(212, 175, 55, 0.21);
  background: #090908;
}

.phone-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.09);
}

.form-field .phone-input select {
  border-right-color: rgba(212, 175, 55, 0.2);
  background: linear-gradient(135deg, #1d190f, #0d0c09);
  color: #e0cb90;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #b55c49;
  background: #1b0d0a;
}

.field-error {
  color: #df8b78;
}

.field-hint {
  color: #7f786b;
}

.form-alert {
  border-color: rgba(201, 99, 77, 0.4);
  background: #1d0e0a;
  color: #e3a292;
}

.checkout-submit {
  border-top-color: rgba(212, 175, 55, 0.17);
}

.submit-note,
.edit-cart-link {
  color: #8d8578;
}

.edit-cart-link:hover {
  color: var(--gold-bright);
}

.summary-item {
  border-bottom-color: rgba(212, 175, 55, 0.14);
}

.summary-item__image {
  border-color: rgba(212, 175, 55, 0.2);
  background: #f0ede4;
}

.summary-item__details h3 {
  color: #e8dfcd;
}

.summary-item__details p,
.summary-total-line {
  color: #8f8778;
}

.summary-item__price,
.summary-grand-total strong {
  color: var(--gold-bright);
}

.summary-item__price small {
  color: #aa976b;
}

.cart-empty {
  color: #989183;
}

.summary-totals,
.summary-grand-total {
  border-top-color: rgba(212, 175, 55, 0.2);
}

.summary-total-line strong {
  color: #ddd3bf;
}

.summary-price-note {
  border-left-color: var(--gold);
  background: #1d180c;
  color: #cdb372;
}

.summary-assurance {
  border-color: rgba(212, 175, 55, 0.23);
  background: #15130d;
  color: #a79a7d;
}

.checkout-empty,
.success-panel {
  border-color: rgba(212, 175, 55, 0.22);
  background: linear-gradient(145deg, #12110d, #090908);
}

.success-icon {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #201b0e;
  color: var(--gold-bright);
}

.success-panel > p {
  color: #9a9284;
}

.order-number {
  border-color: rgba(212, 175, 55, 0.32);
  background: #17140d;
}

.order-number span {
  color: #938a7a;
}

.order-number strong {
  color: var(--gold-bright);
}

.success-mail-note {
  border-color: rgba(212, 175, 55, 0.27);
  background: #1c180d;
  color: #cbb47d;
}

.checkout-footer {
  border-top-color: rgba(212, 175, 55, 0.16);
  color: #7f786b;
  background: #070706;
}

/* Image preview */
.image-preview {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #050505;
}

.image-preview::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.image-preview__header,
.image-preview__footer {
  background: linear-gradient(135deg, #16130c, #070706);
}

.image-preview__header .eyebrow,
.image-preview__footer a {
  color: var(--gold-bright);
}

.image-preview__stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(212, 175, 55, 0.1), transparent 56%),
    #080807;
}

.preview-arrow {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(8, 8, 7, 0.88);
  color: var(--gold-bright);
}

.image-preview__close:hover {
  border-color: var(--gold);
  background: #251f11;
}

/* Motion: children fade from their parent groups; cards and fields animate individually. */
.js-enabled .motion-item {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms),
    filter 0.72s ease var(--motion-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js-enabled .motion-item.is-inview {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.js-enabled .product-card.motion-item {
  filter: none;
  transform: none;
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms);
}

.js-enabled .product-card.motion-item.motion-seen {
  opacity: 1;
}

.button,
.category-chip,
.unit-choice,
.product-card__image,
.icon-button,
.search input {
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.button::after,
.cart-trigger::after {
  display: none;
}

@media (max-width: 1420px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
    gap: 42px;
  }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.84fr);
    gap: 32px;
  }

  .hero__terms {
    padding: 24px 21px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    background-image:
      radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(212, 175, 55, 0.12), transparent 26%),
      linear-gradient(180deg, #070706, #0d0c09);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .hero__content,
  .hero__terms {
    grid-column: 1;
  }

  .hero__content {
    grid-row: 1;
  }

  .hero__terms {
    grid-row: 2;
    max-width: 760px;
  }

  .hero__grid-lines {
    width: 70%;
  }

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

@media (max-width: 820px) {
  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 0;
    padding: 57px 0 48px;
  }

  .hero__content h1 {
    font-size: clamp(2.75rem, 11vw, 4.3rem);
  }

  .hero__terms {
    padding: 22px 19px;
  }

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

  .product-card__media {
    background: #f1eee5;
  }
}

@media (max-width: 540px) {
  .hero__content h1 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__meta div,
  .hero__meta div + div {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.13);
  }

  .hero__meta div:last-child {
    border-bottom: 0;
  }

  .hero__meta span {
    white-space: normal;
  }

  .hero__terms-heading h2 {
    font-size: 1.1rem;
  }

  .hero__terms-list p {
    font-size: 0.67rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .js-enabled .motion-item,
  .js-enabled .motion-item.is-inview {
    opacity: 1;
    filter: none;
    transform: none;
    transition-duration: 0.01ms !important;
  }

  .hero__orb,
  .hero__grid-lines,
  .hero::after,
  .hero__terms::before {
    animation: none !important;
  }
}

/* Final cascade: compact glass navigation and reduced card height */
.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  isolation: isolate;
  border-bottom-color: rgba(212, 175, 55, 0.2);
  background:
    linear-gradient(90deg, rgba(11, 11, 9, 0.58), rgba(12, 11, 8, 0.46), rgba(8, 8, 7, 0.58));
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.header-main {
  min-height: 54px;
  gap: 14px;
}

.brand {
  gap: 8px;
}

.brand__logo {
  width: 36px;
  height: 36px;
  padding: 2px;
}

.brand__text strong {
  font-size: 0.94rem;
}

.brand__text small {
  margin-top: 1px;
  font-size: 0.48rem;
}

.header-actions {
  gap: 8px;
}

.search {
  width: min(370px, 100%);
}

.search svg {
  left: 11px;
  width: 17px;
  height: 17px;
}

.search input {
  height: 34px;
  padding: 0 12px 0 34px;
  font-size: 0.73rem;
}

.whatsapp-action,
.cart-trigger {
  height: 34px;
  gap: 6px;
  padding: 0 10px;
  font-size: 0.68rem;
}

.whatsapp-action svg,
.cart-trigger svg {
  width: 18px;
  height: 18px;
}

.cart-trigger {
  min-width: 100px;
}

.cart-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: 0.54rem;
}

.category-bar--header {
  width: 100%;
  overflow: hidden;
  padding: 1px 0;
  background: rgba(0, 0, 0, 0.12);
}

.category-bar--header .category-list,
.category-list {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 0;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 25px;
  padding: 2px 9px;
  white-space: nowrap;
  font-size: 0.66rem;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.category-chip.is-activating {
  animation: category-tap 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__content .hero__spanish {
  color: #fff;
}

.product-card {
  border-color: rgba(212, 175, 55, 0.23);
  background: linear-gradient(155deg, #211f18 0%, #181710 46%, #12110e 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.product-card__content {
  padding: 8px 9px 9px;
}

.product-card__sku {
  margin-bottom: 1px;
  font-size: 0.52rem;
  line-height: 1.25;
}

.product-card__title {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 3px;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-card__description {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 0.57rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-units-label {
  margin-bottom: 3px;
  font-size: 0.49rem;
  line-height: 1.25;
}

.product-units {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  margin-bottom: 6px;
}

.unit-choice {
  position: relative;
  min-height: 37px;
  align-items: center;
  justify-content: stretch;
  gap: 1px 6px;
  padding: 4px 6px;
  overflow: hidden;
  font-size: 0.56rem;
  line-height: 1.2;
  text-align: left;
}

.unit-choice__name {
  justify-self: start;
  text-align: left;
}

.unit-choice strong {
  justify-self: end;
  font-size: 0.59rem;
}

.unit-choice small {
  grid-column: 1 / -1;
  justify-self: start;
  overflow: hidden;
  font-size: 0.45rem;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unit-choice::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 234, 164, 0.2) 45%, transparent 78%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
}

.unit-choice.is-activating {
  animation: unit-tap 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-choice.is-activating::after {
  animation: unit-sheen 0.38s ease-out;
}

.product-card__add-row {
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 4px;
}

.card-quantity input {
  height: 33px;
  font-size: 0.7rem;
}

.add-to-cart {
  min-height: 33px;
  padding: 4px;
  font-size: 0.54rem;
}

.add-to-cart.is-activating {
  animation: cart-button-tap 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 821px) {
  .product-units {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unit-choice {
    display: flex;
    min-height: 53px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 5px 6px;
  }

  .unit-choice strong {
    justify-self: auto;
    font-size: 0.55rem;
  }

  .unit-choice small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.43rem;
    line-height: 1.25;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* Final seller picker sizing: desktop scrollable grid, mobile single-column list */
.seller-option__compact {
  display: none !important;
}

@media (min-width: 821px) {
  .seller-modal .seller-modal__shell {
    overflow: hidden;
    padding: 17px 20px;
  }

  .seller-modal .seller-grid {
    max-height: calc(100vh - 255px);
    gap: 7px;
    overflow-y: scroll;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #168cad #e5eff1;
    scrollbar-gutter: stable;
  }

  .seller-modal .seller-grid::-webkit-scrollbar {
    width: 8px;
  }

  .seller-modal .seller-grid::-webkit-scrollbar-track {
    background: #e5eff1;
  }

  .seller-modal .seller-grid::-webkit-scrollbar-thumb {
    border: 1px solid #e5eff1;
    background: #168cad;
  }

  .seller-modal .seller-option {
    min-height: 0;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 6px 8px;
  }

  .seller-modal .seller-option__avatar {
    width: 52px;
    height: 52px;
  }

  .seller-modal .seller-option__content {
    gap: 1px;
    line-height: 1.18;
  }

  .seller-modal .seller-option__content strong {
    font-size: 0.78rem;
  }

  .seller-modal .seller-option__content > span {
    font-size: 0.68rem;
  }

  .seller-modal .seller-option__content small {
    font-size: 0.54rem;
  }
}

@media (max-width: 820px) {
  .seller-modal .seller-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100dvh - 115px);
    gap: 3px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #168cad #e5eff1;
  }

  .seller-modal .seller-option {
    min-height: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px;
    padding: 3px 5px;
  }

  .seller-modal .seller-option__avatar {
    width: 32px;
    height: 32px;
  }

  .seller-modal .seller-option__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 1px;
    align-items: baseline;
    line-height: 1.12;
  }

  .seller-modal .seller-option__content strong {
    min-width: 0;
    grid-column: 1;
    overflow: hidden;
    font-size: 0.67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-modal .seller-option__content > span {
    min-width: 0;
    grid-column: 2;
    overflow: hidden;
    font-size: 0.57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-modal .seller-option__phone,
  .seller-modal .seller-option__email,
  .seller-modal .seller-option__wechat {
    display: block;
    overflow: hidden;
    grid-column: 1 / -1;
    color: #71848b;
    font-size: 0.46rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-modal .seller-option__compact {
    display: none !important;
  }
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity),
.product-card .unit-choice.is-selected:not(.has-cart-quantity):hover {
  border-color: #173e4b;
  background: #f4f8f9;
  color: #173e4b;
  box-shadow: inset 4px 0 0 #173e4b;
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity) strong {
  color: #173e4b;
}

.seller-option__compact {
  display: none;
}

@media (min-width: 821px) {
  .seller-modal {
    width: min(980px, calc(100% - 28px));
    max-height: calc(100vh - 24px);
    overflow: hidden;
  }

  .seller-modal__shell {
    overflow: hidden;
    padding: 17px 20px;
  }

  .seller-modal__header {
    margin-bottom: 10px;
  }

  .seller-grid {
    max-height: calc(100vh - 255px);
    gap: 7px;
    overflow-y: scroll;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #168cad #e5eff1;
    scrollbar-gutter: stable;
  }

  .seller-grid::-webkit-scrollbar {
    width: 8px;
  }

  .seller-grid::-webkit-scrollbar-track {
    background: #e5eff1;
  }

  .seller-grid::-webkit-scrollbar-thumb {
    border: 1px solid #e5eff1;
    background: #168cad;
  }

  .seller-option {
    min-height: 0;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 6px 8px;
  }

  .seller-option__avatar {
    width: 52px;
    height: 52px;
  }

  .seller-option__content {
    gap: 1px;
    line-height: 1.18;
  }

  .seller-option__content strong {
    font-size: 0.78rem;
  }

  .seller-option__content > span {
    font-size: 0.68rem;
  }

  .seller-option__content small {
    font-size: 0.54rem;
  }

  .seller-modal__note {
    margin-top: 10px;
    padding-top: 7px;
    font-size: 0.58rem;
  }
}

@media (max-width: 820px) {
  .seller-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100dvh - 115px);
    gap: 3px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #168cad #e5eff1;
  }

  .seller-option {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px;
    padding: 3px 5px;
  }

  .seller-option__avatar {
    width: 32px;
    height: 32px;
  }

  .seller-option__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 1px;
    align-items: baseline;
    line-height: 1.12;
  }

  .seller-option__content strong {
    min-width: 0;
    grid-column: 1;
    font-size: 0.67rem;
  }

  .seller-option__content > span {
    min-width: 0;
    grid-column: 2;
    font-size: 0.57rem;
  }

  .seller-option__phone,
  .seller-option__email,
  .seller-option__wechat {
    display: block;
    overflow: hidden;
    grid-column: 1 / -1;
    font-size: 0.46rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-option__content .seller-option__compact {
    display: none;
  }
}

@media (max-width: 820px) {
  .header-main {
    min-height: 46px;
    gap: 4px 8px;
    padding: 5px 0 7px;
  }

  .brand__logo {
    width: 34px;
    height: 34px;
  }

  .brand__text strong {
    font-size: 0.88rem;
  }

  .brand__text small {
    font-size: 0.44rem;
  }

  .header-actions .search {
    margin-top: 3px;
  }

  .search input {
    height: 32px;
  }

  .whatsapp-action,
  .cart-trigger {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
  }

  .cart-trigger__label {
    display: none;
  }

  .category-bar--header {
    padding: 1px 0;
  }

  .category-chip {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 0.61rem;
  }
}

@media (max-width: 540px) {
  .product-card__description {
    font-size: 0.53rem;
  }

  .unit-choice {
    min-height: 35px;
    padding: 3px 5px;
  }

  .unit-choice small {
    font-size: 0.42rem;
  }

  .card-quantity input,
  .add-to-cart {
    height: 31px;
    min-height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-chip.is-activating,
  .unit-choice.is-activating,
  .add-to-cart.is-activating {
    animation: none;
  }
}

/* White & gold final override (EOF) */
:root {
  color-scheme: light;
  --black: #f7f4ec;
  --black-soft: #f1ede4;
  --surface: #fffefa;
  --surface-soft: #f7f3ea;
  --ink: #221e15;
  --muted: #726a5c;
  --line: rgba(157, 116, 28, 0.22);
  --navy: #a77a1d;
  --navy-deep: #795614;
  --navy-soft: #f7efd9;
  --orange: #bd8a24;
  --orange-dark: #936817;
  --orange-soft: #fbf2dc;
  --gold: #bd8a24;
  --gold-bright: #d9b34f;
  --gold-deep: #805b13;
  --primary-gradient: linear-gradient(135deg, #f2d77e 0%, #d4aa42 48%, #b48122 100%);
}

html {
  background: #f7f4ec;
}

body {
  color: #221e15;
  background:
    radial-gradient(circle at 8% 12%, rgba(211, 177, 89, 0.11), transparent 26%),
    radial-gradient(circle at 92% 55%, rgba(222, 198, 137, 0.12), transparent 30%),
    linear-gradient(180deg, #fffefa 0%, #f8f5ee 55%, #fffefa 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(157, 116, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 116, 28, 0.04) 1px, transparent 1px);
  opacity: 0.65;
}

h1,
h2,
h3 {
  color: #221e15;
}

.announcement {
  border-bottom-color: rgba(173, 130, 37, 0.25);
  background-image: linear-gradient(90deg, #fbf8f0, #f1e6ca 52%, #fbf8f0);
  color: #5f5544;
}

.announcement__link,
.footer-links a:hover,
.footer-button:hover {
  color: #805b13;
}

.site-header {
  border-bottom-color: rgba(177, 134, 41, 0.24);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(253, 250, 243, 0.72), rgba(255, 255, 255, 0.82));
  box-shadow: 0 9px 30px rgba(88, 65, 23, 0.08);
}

.brand__text strong {
  color: #241f15;
}

.brand__text small {
  color: #7f7462;
}

.search {
  color: #805b13;
}

.search input {
  border-color: rgba(168, 126, 36, 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: #221e15;
}

.search input::placeholder {
  color: #887e6d;
}

.search input:focus {
  border-color: #bd8a24;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 151, 52, 0.1);
}

.whatsapp-action {
  border-color: rgba(172, 130, 38, 0.33);
  background: rgba(255, 255, 255, 0.76);
  color: #805b13;
}

.cart-trigger {
  border-color: #b88a2d;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.cart-badge {
  border-color: #a7791d;
  background: #fffdf7;
  color: #7c5915;
}

.category-bar--header {
  background: rgba(255, 255, 255, 0.3);
}

.category-chip {
  color: #655c4d;
}

.category-chip:hover {
  border-color: rgba(177, 134, 41, 0.32);
  background: #fffaf0;
  color: #805b13;
}

.category-chip.is-active {
  border-color: #b68a31;
  background-image: var(--primary-gradient);
  color: #17130c;
}

.category-chip--new:not(.is-active) {
  border-color: rgba(177, 134, 41, 0.34);
  background: #fffaf1;
  color: #805b13;
}

.button--primary,
.add-to-cart {
  border-color: #c49a3b;
  background-image: var(--primary-gradient);
  color: #18130b;
  box-shadow: 0 9px 24px rgba(162, 119, 28, 0.18);
}

.button--outline,
.button--glass,
.button--whatsapp {
  border-color: rgba(161, 118, 29, 0.38);
  background-image: linear-gradient(135deg, #fff, #f8efdd);
  color: #795713;
}

.hero {
  background-color: #fffdf8;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 238, 0.93) 58%, rgba(244, 232, 204, 0.82)),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(215, 177, 78, 0.16), transparent 29%);
  border-top-color: rgba(171, 127, 32, 0.1);
  border-bottom-color: rgba(168, 126, 36, 0.26);
}

.hero::before {
  background:
    linear-gradient(90deg, transparent, rgba(192, 150, 49, 0.04) 50%, transparent),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(218, 181, 85, 0.2), transparent 19%);
}

.hero__orb {
  border-color: rgba(180, 137, 39, 0.17);
  background: radial-gradient(circle, rgba(217, 180, 82, 0.18), rgba(217, 180, 82, 0.02) 68%, transparent 70%);
}

.hero__grid-lines {
  border-left-color: rgba(180, 137, 39, 0.12);
  background-image:
    linear-gradient(rgba(180, 137, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 137, 39, 0.08) 1px, transparent 1px);
}

.hero__content h1 {
  background-image:
    radial-gradient(circle 125px at var(--glow-x) var(--glow-y), #fff9df 0%, #f0d47d 18%, rgba(192, 143, 31, 0.3) 50%, transparent 72%),
    linear-gradient(112deg, #e3c165 0%, #aa7b1d 34%, #f0d580 53%, #805b13 80%, #c39a38 100%);
  filter: drop-shadow(0 10px 24px rgba(142, 102, 20, 0.12));
}

.hero__content .hero__spanish {
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border-left: 3px solid #f1d27b;
  background: linear-gradient(135deg, #8e6717, #6e4e11);
  color: #fff;
}

.hero__content .hero__lead,
.hero__meta span,
.hero__terms-heading p,
.hero__terms-list p {
  color: #706657;
}

.hero__meta {
  border-top-color: rgba(166, 123, 28, 0.24);
  border-bottom-color: rgba(166, 123, 28, 0.15);
}

.hero__meta strong {
  color: #805b13;
}

.hero__terms {
  border-color: rgba(164, 120, 25, 0.27);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 225, 0.93));
  box-shadow: 0 24px 64px rgba(91, 68, 24, 0.1);
}

.hero__terms-heading {
  border-bottom-color: rgba(166, 123, 28, 0.19);
}

.hero__terms-heading > span,
.hero__terms-list p span {
  color: #805b13;
}

.hero__terms-heading h2 {
  color: #261f13;
}

.hero__terms-list p {
  border-bottom-color: rgba(143, 105, 25, 0.11);
}

.catalog-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(221, 192, 119, 0.12), transparent 24%),
    #f7f4ec;
}

.catalog-heading h2 {
  color: #211c13;
}

.catalog-whatsapp {
  border-left-color: #bd8a24;
  color: #776f61;
}

.catalog-whatsapp strong {
  color: #805b13;
}

.product-card {
  border-color: rgba(163, 121, 29, 0.22);
  background: linear-gradient(165deg, #fff 0%, #fffdf8 58%, #faf6ed 100%);
  box-shadow: 0 9px 26px rgba(91, 68, 24, 0.07);
}

.product-card:hover {
  border-color: rgba(171, 126, 28, 0.58);
  box-shadow: 0 20px 45px rgba(83, 60, 18, 0.12);
}

.product-card__media {
  border-bottom-color: rgba(169, 126, 32, 0.17);
  background: #f6f1e7;
}

.product-card__image {
  background: linear-gradient(145deg, #fff, #f7f2e8);
}

.product-card__category {
  border-color: rgba(164, 121, 27, 0.34);
  background: rgba(255, 253, 247, 0.95);
  color: #765414;
}

.product-card__content {
  padding: 11px 11px 12px;
}

.product-card__sku {
  margin-bottom: 3px;
  color: #9a762e;
  font-size: 0.64rem;
  line-height: 1.35;
}

.product-card__title {
  margin-bottom: 5px;
  color: #211c13;
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.product-card__description {
  margin-bottom: 8px;
  color: #746b5c;
  font-size: 0.68rem;
  line-height: 1.45;
  -webkit-line-clamp: 1;
}

.product-units-label {
  margin-bottom: 5px;
  color: #7c725f;
  font-size: 0.59rem;
  line-height: 1.35;
}

.product-units {
  gap: 4px;
  margin-bottom: 8px;
}

.unit-choice {
  border-color: rgba(156, 117, 31, 0.2);
  background: linear-gradient(135deg, #fff, #fbf7ed);
  color: #4e4639;
  font-size: 0.64rem;
}

.unit-choice__name {
  color: #3d3529;
}

.unit-choice strong {
  color: #87621b;
  font-size: 0.69rem;
}

.unit-choice small {
  color: #827764;
  font-size: 0.54rem;
}

.unit-choice.is-selected {
  border-color: #ba8b2b;
  background: linear-gradient(135deg, #fff9e9, #f4e8c8);
  box-shadow: inset 3px 0 0 #b38628;
}

.card-quantity input {
  border-color: rgba(161, 120, 31, 0.26);
  background: #fff;
  color: #292216;
  font-size: 0.8rem;
}

.add-to-cart {
  font-size: 0.65rem;
}

.site-footer {
  border-top-color: rgba(164, 121, 28, 0.22);
  background: linear-gradient(145deg, #fffdf7, #f1ebde);
  color: #756b5b;
}

.brand--footer .brand__text strong,
.footer-links h2 {
  color: #261f14;
}

.brand--footer .brand__text small,
.footer-links a,
.footer-button,
.footer-bottom,
.footer-brand p {
  color: #756c5d;
}

.cart-drawer,
.cart-drawer__header,
.cart-drawer__footer {
  background: #fffefa;
  color: #221e15;
}

.cart-item__price,
.cart-total strong {
  color: #755314;
}

.quantity-control input {
  background: #fff;
  color: #292216;
}

.toast {
  border-color: rgba(167, 124, 30, 0.45);
  background: #fffdf7;
  color: #6e5012;
}

.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(211, 177, 89, 0.12), transparent 26%),
    #f8f5ee;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(164, 121, 28, 0.2);
  background: linear-gradient(150deg, #fff, #fdfaf2);
  box-shadow: 0 18px 44px rgba(71, 53, 19, 0.07);
}

.checkout-heading h1,
.card-heading h2 {
  color: #211c13;
}

.form-field input,
.form-field textarea,
.phone-input {
  border-color: rgba(158, 117, 30, 0.24);
  background: #fff;
  color: #221e15;
}

.form-field .phone-input select {
  background: #fffaf1;
  color: #6d5015;
}

.checkout-empty,
.success-panel {
  border-color: rgba(162, 119, 29, 0.22);
  background: linear-gradient(145deg, #fff, #fbf7ed);
}

.checkout-footer {
  border-top-color: rgba(162, 119, 29, 0.16);
  color: #817768;
  background: #f8f4ec;
}

.image-preview {
  border-color: rgba(165, 121, 28, 0.34);
  background: #fffefa;
  color: #221e15;
}

.image-preview__header,
.image-preview__footer {
  background: linear-gradient(135deg, #fff, #f5ecda);
  color: #756c5c;
}

.image-preview__stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(215, 178, 82, 0.17), transparent 56%),
    #f7f2e8;
}

.preview-arrow,
.image-preview__close {
  border-color: rgba(164, 121, 28, 0.3);
  background: #fffdf8;
  color: #755315;
}

@media (max-width: 820px) {
  .product-card__title {
    font-size: 0.8rem;
  }

  .product-card__description {
    font-size: 0.64rem;
  }

  .product-units-label {
    font-size: 0.56rem;
  }

  .unit-choice {
    font-size: 0.59rem;
  }

  .unit-choice strong {
    font-size: 0.63rem;
  }

  .unit-choice small {
    font-size: 0.5rem;
  }

  .add-to-cart {
    font-size: 0.59rem;
  }
}

@media (max-width: 540px) {
  .product-card__sku {
    font-size: 0.59rem;
  }

  .product-card__title {
    font-size: 0.76rem;
  }

  .product-card__description {
    font-size: 0.61rem;
  }

  .unit-choice {
    min-height: 40px;
    font-size: 0.57rem;
  }

  .unit-choice strong {
    font-size: 0.61rem;
  }

  .unit-choice small {
    font-size: 0.48rem;
  }

  .card-quantity input,
  .add-to-cart {
    height: 35px;
    min-height: 35px;
  }
}

/* Final card typography scale */
.product-card__sku {
  font-size: 0.68rem;
}

.product-card__title {
  font-size: 0.95rem;
}

.product-card__description {
  font-size: 0.72rem;
}

.product-units-label {
  font-size: 0.62rem;
}

.unit-choice {
  font-size: 0.7rem;
}

.unit-choice strong {
  font-size: 0.74rem;
}

.unit-choice small {
  font-size: 0.6rem;
}

.card-quantity input {
  font-size: 0.86rem;
}

.add-to-cart {
  font-size: 0.7rem;
}

@media (max-width: 820px) {
  .product-card__sku {
    font-size: 0.64rem;
  }

  .product-card__title {
    font-size: 0.82rem;
  }

  .product-card__description {
    font-size: 0.66rem;
  }

  .unit-choice {
    font-size: 0.63rem;
  }

  .unit-choice strong {
    font-size: 0.66rem;
  }

  .unit-choice small {
    font-size: 0.55rem;
  }

  .add-to-cart {
    font-size: 0.62rem;
  }
}

/* Secondary text contrast on white surfaces */
.text-link,
.secure-note,
.checkout-heading p,
.back-link,
.card-heading p,
.form-field label,
.label-row label,
.summary-item__details p,
.summary-total-line,
.submit-note,
.edit-cart-link,
.order-number span,
.success-panel > p {
  color: #665e50;
}

.form-field label span,
.label-row label span,
.label-row small,
.field-hint,
.summary-item__price small {
  color: #827868;
}

.summary-item__details h3,
.summary-total-line strong {
  color: #2d271d;
}

.field-error {
  color: #b14f3e;
}

.form-alert {
  border-color: rgba(185, 91, 69, 0.3);
  background: #fff4f1;
  color: #a34c3b;
}

.summary-price-note,
.cart-note {
  border-left-color: #bd8a24;
  background: #fbf0d8;
  color: #795916;
}

.summary-assurance {
  border-color: rgba(162, 121, 31, 0.22);
  background: #fbf5e8;
  color: #7c6c4e;
}

.success-mail-note {
  border-color: rgba(162, 119, 29, 0.25);
  background: #fbf2df;
  color: #795d24;
}

.cart-empty,
.catalog-empty p,
.checkout-empty p {
  color: #756c5e;
}

.image-preview__footer {
  color: #756c5c;
}

.image-preview__header .eyebrow,
.image-preview__footer a {
  color: #745315;
}

.unit-choice strong {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.18;
}

/* White, blue and cyan final color system */
:root {
  color-scheme: light;
  --black: #f5f9fb;
  --black-soft: #edf5f8;
  --surface: #ffffff;
  --surface-soft: #f2f8fa;
  --ink: #172126;
  --muted: #60727c;
  --line: rgba(36, 123, 157, 0.2);
  --navy: #0d6f91;
  --navy-deep: #07506e;
  --navy-soft: #e8f6fa;
  --orange: #138caa;
  --orange-dark: #0b6e91;
  --orange-soft: #e9f8fc;
  --gold: #138caa;
  --gold-bright: #55d2e5;
  --gold-deep: #0b5d7d;
  --primary-gradient: linear-gradient(135deg, #26c1d8 0%, #148fb9 48%, #125c9c 100%);
  --navy-gradient: linear-gradient(135deg, #0d5b7c 0%, #0a3e64 100%);
  --shadow-sm: 0 1px 2px rgba(17, 78, 105, 0.05), 0 10px 28px rgba(17, 78, 105, 0.06);
  --shadow-md: 0 22px 60px rgba(17, 78, 105, 0.12);
}

html {
  background: #f5f9fb;
}

body {
  color: #172126;
  background:
    radial-gradient(circle at 8% 10%, rgba(56, 189, 217, 0.12), transparent 27%),
    radial-gradient(circle at 90% 52%, rgba(35, 107, 180, 0.1), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f3f9fb 55%, #fff 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(30, 121, 154, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 121, 154, 0.04) 1px, transparent 1px);
}

h1,
h2,
h3 {
  color: #172126;
}

.announcement {
  border-bottom-color: rgba(32, 139, 171, 0.2);
  background-image: linear-gradient(90deg, #f9fcfd, #e5f5f8 52%, #f9fcfd);
  color: #536771;
}

.announcement__link,
.footer-links a:hover,
.footer-button:hover {
  color: #0b6684;
}

.site-header {
  border-bottom-color: rgba(33, 132, 162, 0.2);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(240, 250, 252, 0.72), rgba(255, 255, 255, 0.82));
  box-shadow: 0 9px 30px rgba(10, 80, 105, 0.08);
}

.brand__text strong {
  color: #14272e;
}

.brand__text small {
  color: #67808b;
}

.search {
  color: #0b6e91;
}

.search input {
  border-color: rgba(29, 128, 157, 0.23);
  background: rgba(255, 255, 255, 0.85);
  color: #172126;
}

.search input::placeholder {
  color: #7b8c94;
}

.search input:focus {
  border-color: #168cad;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 161, 194, 0.1);
}

.whatsapp-action {
  border-color: rgba(30, 134, 164, 0.3);
  background: rgba(255, 255, 255, 0.78);
  color: #0b6e91;
}

.whatsapp-action:hover {
  border-color: #168cad;
  background: #f4fcfd;
}

.cart-trigger {
  border-color: #168cad;
  background-image: var(--primary-gradient);
  color: #fff;
}

.cart-trigger:hover {
  background-image: linear-gradient(135deg, #3ed1e4, #147cad);
}

.cart-badge {
  border-color: #0b6e91;
  background: #fff;
  color: #0b5d7d;
}

.category-bar--header {
  background: rgba(255, 255, 255, 0.32);
}

.category-chip {
  color: #536771;
}

.category-chip:hover {
  border-color: rgba(31, 132, 162, 0.3);
  background: #f2fbfc;
  color: #0b6684;
}

.category-chip.is-active {
  border-color: #168cad;
  background-image: var(--primary-gradient);
  color: #fff;
}

.category-chip--new:not(.is-active) {
  border-color: rgba(31, 132, 162, 0.28);
  background: #f1fafc;
  color: #0b6684;
}

.button--primary,
.add-to-cart {
  border-color: #1389ac;
  background-image: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 9px 24px rgba(14, 112, 151, 0.2);
}

.button--primary:hover,
.add-to-cart:hover {
  border-color: #2fb9d3;
  background-image: linear-gradient(135deg, #4bd7e8, #137bac);
  box-shadow: 0 13px 30px rgba(14, 112, 151, 0.26);
}

.button--outline,
.button--glass,
.button--whatsapp {
  border-color: rgba(21, 131, 162, 0.35);
  background-image: linear-gradient(135deg, #fff, #eaf7fa);
  color: #0b6684;
}

.button--outline:hover,
.button--glass:hover,
.button--whatsapp:hover {
  border-color: #168cad;
  background-image: linear-gradient(135deg, #fff, #dcf3f7);
}

.hero {
  background-color: #fff;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.99), rgba(241, 250, 252, 0.94) 58%, rgba(218, 241, 248, 0.78)),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(55, 190, 214, 0.16), transparent 29%);
  border-top-color: rgba(31, 132, 162, 0.08);
  border-bottom-color: rgba(31, 132, 162, 0.22);
}

.hero::before {
  background:
    linear-gradient(90deg, transparent, rgba(38, 153, 182, 0.04) 50%, transparent),
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(80, 204, 225, 0.18), transparent 19%);
}

.hero::after {
  background: linear-gradient(transparent, rgba(28, 139, 170, 0.38), transparent);
}

.hero__orb {
  border-color: rgba(32, 144, 175, 0.18);
  background: radial-gradient(circle, rgba(50, 184, 211, 0.18), rgba(50, 184, 211, 0.02) 68%, transparent 70%);
}

.hero__grid-lines {
  border-left-color: rgba(30, 132, 163, 0.11);
  background-image:
    linear-gradient(rgba(30, 132, 163, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 132, 163, 0.07) 1px, transparent 1px);
}

.hero__content h1 {
  background-image:
    radial-gradient(circle 125px at var(--glow-x) var(--glow-y), #eaffff 0%, #7ee3ed 18%, rgba(22, 128, 170, 0.28) 50%, transparent 72%),
    linear-gradient(112deg, #50d4e6 0%, #158db6 34%, #76e0ee 53%, #145b91 80%, #2cadc9 100%);
  filter: drop-shadow(0 10px 24px rgba(20, 104, 135, 0.13));
}

.hero__content .hero__spanish {
  width: auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #101820;
}

.hero__content .hero__lead,
.hero__meta span,
.hero__terms-heading p,
.hero__terms-list p {
  color: #62747d;
}

.hero__meta {
  border-top-color: rgba(28, 127, 158, 0.22);
  border-bottom-color: rgba(28, 127, 158, 0.14);
}

.hero__meta div {
  border-right-color: rgba(28, 127, 158, 0.14);
}

.hero__meta strong {
  color: #0b6684;
}

.hero__terms {
  border-color: rgba(27, 129, 160, 0.24);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(235, 248, 251, 0.94));
  box-shadow: 0 24px 64px rgba(14, 85, 110, 0.1);
}

.hero__terms-heading {
  border-bottom-color: rgba(28, 127, 158, 0.18);
}

.hero__terms-heading > span,
.hero__terms-list p span {
  color: #0b6684;
}

.hero__terms-list p {
  border-bottom-color: rgba(28, 127, 158, 0.1);
}

.catalog-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(72, 188, 211, 0.1), transparent 24%),
    #f5f9fb;
}

.catalog-heading h2 {
  color: #172126;
}

.catalog-whatsapp {
  border-left-color: #168cad;
  color: #687a83;
}

.catalog-whatsapp strong {
  color: #0b6684;
}

.product-card {
  border-color: rgba(31, 125, 153, 0.18);
  background: linear-gradient(165deg, #fff 0%, #fcfefe 58%, #f3fafc 100%);
  box-shadow: 0 9px 26px rgba(14, 85, 110, 0.07);
}

.product-card:hover {
  border-color: rgba(22, 140, 173, 0.5);
  box-shadow: 0 20px 45px rgba(14, 85, 110, 0.12);
}

.product-card__media {
  border-bottom-color: rgba(31, 125, 153, 0.14);
  background: #f2f8fa;
}

.product-card__image {
  background: linear-gradient(145deg, #fff, #f3f9fa);
}

.product-card__category {
  border-color: rgba(27, 126, 155, 0.28);
  background: rgba(255, 255, 255, 0.95);
  color: #0b6684;
}

.product-card__new {
  border-color: #36b7cf;
  background: linear-gradient(135deg, #54d8e7, #147fae);
  color: #fff;
}

.gallery-arrow,
.gallery-count {
  border-color: rgba(28, 129, 159, 0.34);
  background: rgba(255, 255, 255, 0.94);
  color: #0b6684;
}

.product-card__sku {
  color: #28788e;
}

.product-card__title {
  color: #172126;
}

.product-card__description {
  color: #63767f;
}

.product-units-label {
  color: #697b83;
}

.unit-choice {
  border-color: rgba(29, 125, 154, 0.17);
  background: linear-gradient(135deg, #fff, #f4fafb);
  color: #42565e;
}

.unit-choice__name {
  color: #304850;
}

.unit-choice strong {
  color: #0c6f8e;
}

.unit-choice small {
  color: #71828a;
}

.unit-choice.is-selected {
  border-color: #168cad;
  background: linear-gradient(135deg, #effbfd, #dff3f7);
  box-shadow: inset 3px 0 0 #168cad;
}

.unit-choice.is-selected strong {
  color: #075d7d;
}

.card-quantity input {
  border-color: rgba(29, 125, 154, 0.22);
  background: #fff;
  color: #172126;
}

.site-footer {
  border-top-color: rgba(29, 125, 154, 0.18);
  background:
    radial-gradient(circle at 12% 20%, rgba(66, 188, 211, 0.1), transparent 26%),
    linear-gradient(145deg, #fff, #eaf5f8);
  color: #62757d;
}

.brand--footer .brand__text strong,
.footer-links h2 {
  color: #172126;
}

.brand--footer .brand__text small,
.footer-links a,
.footer-button,
.footer-bottom,
.footer-brand p {
  color: #63757d;
}

.cart-item__price,
.cart-total strong,
.summary-item__price,
.summary-grand-total strong,
.order-number strong {
  color: #0b6684;
}

.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(65, 188, 211, 0.1), transparent 26%),
    #f5f9fb;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(29, 125, 154, 0.17);
  background: linear-gradient(150deg, #fff, #f7fcfe);
}

.step-number {
  border-color: rgba(27, 126, 155, 0.28);
  background: #eaf7fa;
  color: #0b6684;
}

.form-field input,
.form-field textarea,
.phone-input {
  border-color: rgba(29, 125, 154, 0.2);
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus,
.phone-input:focus-within {
  border-color: #168cad;
  box-shadow: 0 0 0 3px rgba(43, 161, 194, 0.09);
}

.form-field .phone-input select {
  background: #eef9fb;
  color: #0b6684;
}

.summary-price-note,
.cart-note {
  border-left-color: #168cad;
  background: #eaf7fa;
  color: #0b6684;
}

.summary-assurance {
  border-color: rgba(29, 125, 154, 0.19);
  background: #eff9fb;
  color: #586f78;
}

.toast {
  border-color: rgba(27, 126, 155, 0.4);
  background: #fff;
  color: #0b6684;
}

.image-preview {
  border-color: rgba(29, 125, 154, 0.28);
}

.image-preview__header,
.image-preview__footer {
  background: linear-gradient(135deg, #fff, #e9f6f9);
}

.image-preview__header .eyebrow,
.image-preview__footer a,
.image-preview__header h2,
.preview-arrow,
.image-preview__close {
  color: #0b6684;
}

.image-preview__stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(67, 190, 212, 0.14), transparent 56%),
    #f3f9fa;
}

/* Final card controls and blue-white secondary pages */
.brand__logo,
.brand--footer .brand__logo {
  border-color: rgba(27, 126, 155, 0.38);
  background: #fff;
}

.product-card__new {
  border-color: #d4aa42;
  background: linear-gradient(135deg, #f3d77c, #bd8a24);
  color: #241a08;
}

.product-units-label {
  display: none;
}

.product-card__add-row {
  display: grid;
  width: 100%;
  grid-template-columns: 43px 46px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.add-to-cart {
  display: grid;
  width: 46px;
  min-width: 46px;
  padding: 0;
  place-items: center;
}

.add-to-cart svg {
  display: block;
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.add-to-cart.is-added {
  border-color: #0b738f;
  background-image: linear-gradient(135deg, #52d7e4, #137eab);
  color: #fff;
}

.cart-drawer {
  border-left-color: rgba(27, 126, 155, 0.28);
  background: #fff;
  color: #172126;
  box-shadow: -20px 0 60px rgba(10, 66, 88, 0.2);
}

.cart-drawer__header,
.cart-drawer__footer {
  border-color: rgba(29, 125, 154, 0.16);
  background: linear-gradient(145deg, #fff, #f4fbfc);
}

.cart-item {
  border-bottom-color: rgba(29, 125, 154, 0.13);
}

.cart-item__image {
  border-color: rgba(29, 125, 154, 0.18);
  background: #f3f9fa;
}

.cart-item__top h3,
.cart-empty h3 {
  color: #172126;
}

.cart-item__meta,
.cart-item__price small,
.cart-clear,
.cart-empty {
  color: #687b84;
}

.cart-item__price,
.cart-total strong {
  color: #0b6684;
}

.quantity-control {
  border-color: rgba(29, 125, 154, 0.2);
}

.quantity-control button {
  background: #eff9fb;
  color: #0b6684;
}

.quantity-control button:hover {
  background: #dff3f7;
}

.quantity-control input {
  border-color: rgba(29, 125, 154, 0.18);
  background: #fff;
  color: #172126;
}

.cart-summary-line {
  color: #687b84;
}

.cart-summary-line strong {
  color: #24343a;
}

.cart-total {
  border-top-color: rgba(29, 125, 154, 0.2);
}

.cart-total span {
  color: #31464e;
}

.cart-note {
  border-left-color: #168cad;
  background: #eaf7fa;
  color: #0b6684;
}

.cart-clear {
  color: #627780;
}

.drawer-overlay {
  background: rgba(14, 44, 59, 0.42);
}

.checkout-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(65, 188, 211, 0.1), transparent 26%),
    #f4f9fb;
}

.checkout-heading h1,
.card-heading h2 {
  color: #172126;
}

.text-link,
.secure-note,
.checkout-heading p,
.back-link,
.card-heading p,
.form-field label,
.label-row label,
.summary-item__details p,
.summary-total-line,
.submit-note,
.edit-cart-link,
.order-number span,
.success-panel > p {
  color: #62757d;
}

.secure-note,
.edit-cart-link:hover {
  color: #0b6684;
}

.checkout-form-card,
.order-summary {
  border-color: rgba(29, 125, 154, 0.17);
  background: linear-gradient(150deg, #fff, #f7fcfe);
  box-shadow: 0 18px 44px rgba(14, 85, 110, 0.07);
}

.step-number {
  border-color: rgba(27, 126, 155, 0.26);
  background: #e9f7fa;
  color: #0b6684;
}

.form-field input,
.form-field textarea,
.phone-input {
  border-color: rgba(29, 125, 154, 0.2);
  background: #fff;
  color: #172126;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a2a8;
}

.form-field input:focus,
.form-field textarea:focus,
.phone-input:focus-within {
  border-color: #168cad;
  box-shadow: 0 0 0 3px rgba(43, 161, 194, 0.09);
}

.form-field .phone-input select {
  border-right-color: rgba(29, 125, 154, 0.18);
  background: #edf8fa;
  color: #0b6684;
}

.field-hint,
.form-field label span,
.label-row label span,
.label-row small,
.summary-item__price small {
  color: #7b8a90;
}

.field-error {
  color: #b14f3e;
}

.form-alert {
  border-color: rgba(185, 91, 69, 0.28);
  background: #fff4f1;
  color: #a34c3b;
}

.checkout-submit {
  border-top-color: rgba(29, 125, 154, 0.15);
}

.summary-item {
  border-bottom-color: rgba(29, 125, 154, 0.13);
}

.summary-item__image {
  border-color: rgba(29, 125, 154, 0.18);
  background: #f3f9fa;
}

.summary-item__details h3,
.summary-total-line strong {
  color: #24343a;
}

.summary-item__price,
.summary-grand-total strong,
.order-number strong {
  color: #0b6684;
}

.summary-totals,
.summary-grand-total {
  border-top-color: rgba(29, 125, 154, 0.18);
}

.summary-price-note {
  border-left-color: #168cad;
  background: #eaf7fa;
  color: #0b6684;
}

.summary-assurance {
  border-color: rgba(29, 125, 154, 0.18);
  background: #eef9fb;
  color: #586f78;
}

.checkout-empty,
.success-panel {
  border-color: rgba(29, 125, 154, 0.18);
  background: linear-gradient(145deg, #fff, #f2fafc);
}

.empty-mark,
.success-icon {
  border-color: rgba(27, 126, 155, 0.24);
  background: #e9f7fa;
  color: #0b6684;
}

.order-number {
  border-color: rgba(29, 125, 154, 0.22);
  background: #eef9fb;
}

.success-mail-note {
  border-color: rgba(29, 125, 154, 0.2);
  background: #edf9fb;
  color: #0b6684;
}

.checkout-footer {
  border-top-color: rgba(29, 125, 154, 0.15);
  color: #73858d;
  background: #f7fbfc;
}

.icon-button,
.image-preview__close {
  border-color: rgba(29, 125, 154, 0.22);
  background: #fff;
  color: #0b6684;
}

.icon-button:hover,
.image-preview__close:hover {
  border-color: #168cad;
  background: #edf8fa;
}

.remove-item,
.cart-clear {
  color: #0b6684;
}

.remove-item:hover,
.cart-clear:hover {
  color: #075372;
}

/* Final card arrangement and mobile header alignment */
.product-units {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 4px;
}

.unit-choice {
  display: grid !important;
  min-height: 42px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1px 7px;
  padding: 5px 7px;
}

.unit-choice__name {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

.unit-choice strong {
  width: auto;
  grid-column: 2;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.unit-choice small {
  grid-column: 1 / -1;
  justify-self: start;
  text-align: left;
}

.product-card__add-row {
  display: grid;
  width: 100%;
  grid-template-columns: 43px 46px;
  justify-content: end;
  gap: 0;
}

.card-quantity {
  width: 43px;
}

.card-quantity input {
  width: 43px;
  border-right: 0;
}

.add-to-cart {
  width: 46px;
  min-width: 46px;
  border-left: 0;
}

.product-card__category,
.product-card__new {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.product-card__category {
  color: #0b6684;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

.product-card__new {
  color: #b47e1d;
  font-weight: 850;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

@media (max-width: 820px) {
  .header-main {
    display: grid;
    min-height: 46px;
    grid-template-columns: minmax(0, 1fr) 34px 34px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 5px 6px;
    padding: 5px 0 7px;
  }

  .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    display: contents;
  }

  .header-actions .search {
    width: 100%;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .whatsapp-action {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .cart-trigger {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .unit-choice {
    min-height: 40px;
  }
}

/* Final motion and alignment cleanup */
.hero__content h1 {
  background-image: linear-gradient(112deg, #58d4e5 0%, #168fb8 36%, #7ee4ef 55%, #145b91 82%, #36b6cc 100%);
  filter: none;
  transform: none;
  transition: none;
}

.hero__content h1:hover {
  filter: none;
  transform: none;
}

.hero::after,
.hero__grid-lines,
.hero__terms::after {
  display: none;
}

.hero__orb {
  border: 0;
  filter: blur(42px);
}

.js-enabled .motion-item {
  transition-duration: 0.62s;
}

.js-enabled .motion-item.is-inview {
  opacity: 1;
  filter: none;
  transform: none;
}

.product-card__content {
  display: flex;
  flex-direction: column;
}

.product-units {
  align-content: end;
  margin-top: auto;
  margin-bottom: 2px;
}

.product-card__add-row {
  margin-top: 0;
}

.site-header > .container {
  margin-inline: auto;
}

.category-bar--header > .category-list {
  margin-inline: 0;
  padding-left: 0;
}

.site-header > .category-bar--header.container {
  width: min(1440px, calc(100% - 44px));
  margin-inline: auto;
  padding-inline: 0;
}

.checkout-back-link {
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .site-header > .container {
    width: min(100% - 18px, 1440px);
  }

  .site-header > .category-bar--header.container {
    width: min(100% - 18px, 1440px);
  }

  .category-bar--header > .category-list {
    padding-left: 0;
  }
}

/* Remove cart-count background and use light-blue hover states */
.cart-badge {
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 0.62rem;
  line-height: 1;
  box-shadow: none;
}

.cart-badge[data-empty="true"] {
  display: none;
}

.unit-choice:hover,
.unit-choice.is-selected:hover {
  border-color: #168cad;
  background: linear-gradient(135deg, #fff, #edf9fb);
  color: #294c57;
  box-shadow: inset 3px 0 0 rgba(22, 140, 173, 0.28);
}

.unit-choice:hover .unit-choice__name,
.unit-choice.is-selected:hover .unit-choice__name {
  color: #173e4b;
}

.unit-choice:hover strong,
.unit-choice.is-selected:hover strong {
  color: #086987;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid .phone-input input {
  border-color: #c35d4a !important;
  background: #fff8f7 !important;
  color: #172126 !important;
  box-shadow: none !important;
}

.form-field.is-invalid input::placeholder,
.form-field.is-invalid textarea::placeholder {
  color: #8b817d !important;
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill {
  -webkit-text-fill-color: #172126;
  box-shadow: 0 0 0 1000px #fff inset;
}

.success-order-action {
  max-width: 520px;
  margin: -12px auto 20px;
  color: #0b6684;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .site-header--compact .header-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
  }

  .site-header--compact .checkout-back-link {
    order: -1;
  }

  .site-header--compact .brand {
    min-width: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .site-header--compact .checkout-header-actions {
    display: flex;
    margin-left: auto;
  }
}

/* Seller binding, automatic card quantity and live cart pricing */
.seller-strip {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  padding-bottom: 9px;
  border-top: 1px solid rgba(29, 125, 154, 0.12);
}

.seller-identity {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #173e4b;
  cursor: pointer;
  text-align: left;
}

.seller-identity__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid #ccebed;
  border-radius: 50%;
  background: #eef9fb;
  object-fit: cover;
}

.seller-identity__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.seller-identity__copy small {
  color: #6d8189;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.seller-identity__copy strong {
  overflow: hidden;
  max-width: 240px;
  color: #173e4b;
  font-size: 0.79rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-identity__switch {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid #cde3e6;
  color: #0b6684;
  font-size: 0.62rem;
  font-weight: 750;
}

.seller-identity:hover .seller-identity__switch {
  border-color: #168cad;
  background: #eef9fb;
}

.seller-strip__phone {
  color: #6d8189;
  font-size: 0.7rem;
  white-space: nowrap;
}

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

.seller-strip__button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(29, 125, 154, 0.22);
  background: #fff;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 750;
  white-space: nowrap;
}

.seller-strip__button:hover {
  border-color: #168cad;
  background: #eef9fb;
}

.seller-strip__button:disabled {
  cursor: default;
  opacity: 0.45;
}

.seller-strip__button--whatsapp {
  border-color: #b9e5cb;
  color: #16784b;
}

.seller-strip__button--wechat {
  border-color: #c7e5c4;
  color: #2d742b;
}

.seller-modal {
  width: min(920px, calc(100% - 28px));
  max-height: min(90vh, 820px);
  padding: 0;
  border: 1px solid rgba(29, 125, 154, 0.2);
  border-radius: 0;
  background: #fff;
  color: #172126;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.3);
}

.seller-modal::backdrop {
  background: rgba(5, 27, 38, 0.7);
  backdrop-filter: blur(5px);
}

.seller-modal__shell {
  padding: clamp(20px, 4vw, 34px);
}

.seller-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.seller-modal__header h2 {
  margin-bottom: 7px;
  color: #173e4b;
}

.seller-modal__header h2 span {
  display: block;
  margin-top: 3px;
  color: #168cad;
  font-size: 0.62em;
  font-weight: 750;
}

.seller-modal__header p {
  margin: 0;
  color: #6d8189;
  font-size: 0.78rem;
}

.seller-modal__status {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #c8dadd;
  background: #f8fcfc;
  color: #6d8189;
  font-size: 0.8rem;
  text-align: center;
}

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

.seller-option {
  display: grid;
  min-width: 0;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid #d8e5e7;
  background: #fff;
  color: #173e4b;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.seller-option:hover,
.seller-option:focus-visible {
  border-color: #168cad;
  background: #f1fafb;
  transform: translateY(-1px);
}

.seller-option__avatar {
  width: 78px;
  height: 78px;
  border: 2px solid #d6ecee;
  border-radius: 50%;
  background: #eef9fb;
  object-fit: cover;
}

.seller-option__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.seller-option__content strong {
  color: #173e4b;
  font-size: 0.95rem;
}

.seller-option__content > span {
  color: #46616a;
  font-size: 0.78rem;
}

.seller-option__content small {
  overflow: hidden;
  color: #71848b;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-option__action {
  padding: 5px 7px;
  border: 1px solid #b8dadd;
  color: #0b6684;
  font-size: 0.63rem;
  font-weight: 750;
  white-space: nowrap;
}

.seller-modal__note {
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px solid #e5eeee;
  color: #7b8c92;
  font-size: 0.66rem;
  line-height: 1.65;
  text-align: center;
}

body.seller-modal-open {
  overflow: hidden;
}

body.seller-gate-pending {
  overflow: hidden;
}

body.seller-gate-pending::before {
  position: fixed;
  z-index: 70;
  inset: 0;
  background: rgba(7, 35, 48, 0.62);
  backdrop-filter: blur(4px);
  content: "";
}

body.seller-gate-pending::after {
  position: fixed;
  z-index: 71;
  top: 50%;
  left: 50%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #0b6684;
  color: #fff;
  content: "请选择卖手 · Elige tu vendedor";
  font-size: 0.8rem;
  font-weight: 750;
  transform: translate(-50%, -50%);
}

.product-card__add-row {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.card-quantity-label {
  color: #63757c;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-quantity-label small {
  display: block;
  color: #91a0a5;
  font-size: 0.57rem;
  font-weight: 600;
}

.card-stepper {
  display: grid;
  min-width: 110px;
  grid-template-columns: 32px 44px 32px;
  border: 1px solid #cbdadd;
  background: #fff;
}

.card-stepper button {
  display: grid;
  width: 32px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  background: #f4fafb;
  color: #0b6684;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.card-stepper button:hover {
  background: #e6f6f8;
}

.card-stepper .card-quantity {
  width: 44px;
}

.card-stepper .card-quantity input {
  width: 44px;
  min-height: 34px;
  padding: 2px;
  border: 0;
  border-right: 1px solid #dce8ea;
  border-left: 1px solid #dce8ea;
  background: #fff;
  color: #173e4b;
  text-align: center;
}

.card-stepper input::-webkit-inner-spin-button,
.card-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.card-quantity-hint {
  min-height: 17px;
  margin: 5px 0 0;
  color: #8a9ba0;
  font-size: 0.57rem;
  line-height: 1.35;
  text-align: right;
}

.card-quantity-hint.is-active {
  color: #147a4b;
  font-weight: 700;
}

.product-card.has-quantity {
  border-color: rgba(20, 122, 75, 0.48);
  box-shadow: 0 10px 26px rgba(20, 122, 75, 0.1);
}

.checkout-seller-confirm {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 13px;
  border: 1px solid rgba(29, 125, 154, 0.2);
  background: linear-gradient(135deg, #f1fbfc, #fff);
}

.checkout-seller-confirm > img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid #ccebed;
  border-radius: 50%;
  object-fit: cover;
}

.checkout-seller-confirm > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.checkout-seller-confirm small,
.checkout-seller-confirm span {
  color: #6d8189;
  font-size: 0.67rem;
}

.checkout-seller-confirm strong {
  color: #173e4b;
  font-size: 0.93rem;
}

.checkout-seller-confirm .button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 7px 12px;
  font-size: 0.7rem;
}

.success-seller-contact {
  display: flex;
  max-width: 540px;
  flex-direction: column;
  gap: 3px;
  margin: 20px auto 0;
  padding: 13px 16px;
  border: 1px solid rgba(29, 125, 154, 0.2);
  background: #eef9fb;
  color: #617084;
  font-size: 0.72rem;
}

.success-seller-contact strong {
  color: #0b6684;
  font-size: 0.9rem;
}

.site-header--compact .seller-strip {
  min-height: 48px;
}

@media (max-width: 820px) {
  .seller-strip {
    min-height: 42px;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 4px 0;
  }

  .seller-identity {
    min-width: 0;
    flex: 1 1 auto;
    gap: 6px;
  }

  .seller-identity__avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .seller-identity__copy {
    line-height: 1.15;
  }

  .seller-identity__copy small,
  .seller-identity__switch {
    display: none;
  }

  .seller-identity__copy strong {
    max-width: none;
    font-size: 0.72rem;
  }

  .seller-strip__phone {
    display: none;
  }

  .seller-strip__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 3px;
    overflow: visible;
  }

  .seller-strip__button {
    width: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 3px;
  }

  .seller-strip__label {
    display: none;
  }

  .seller-modal__header {
    gap: 10px;
  }

  .seller-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: 58vh;
    overflow-y: auto;
    padding-right: 2px;
  }

  .seller-option {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .seller-option__avatar {
    width: 62px;
    height: 62px;
  }

  .product-card__add-row {
    align-items: flex-end;
    gap: 4px;
  }

  .card-quantity-label {
    font-size: 0.6rem;
  }

  .card-stepper {
    min-width: 104px;
    grid-template-columns: 30px 44px 30px;
  }

  .card-stepper button {
    width: 30px;
  }

  .card-quantity-hint {
    text-align: left;
  }

  .site-header--compact .seller-strip {
    min-height: 42px;
    flex-wrap: nowrap;
  }

  .site-header--compact .seller-strip__actions {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
}

@media (max-width: 430px) {
  .product-card__add-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-stepper {
    width: 100%;
    grid-template-columns: 1fr 44px 1fr;
  }

  .card-stepper button {
    width: 100%;
  }

  .seller-option__action {
    display: none;
  }

  .seller-option {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .seller-option__avatar {
    width: 58px;
    height: 58px;
  }

  .checkout-seller-confirm {
    flex-wrap: wrap;
  }

  .checkout-seller-confirm .button {
    width: 100%;
  }
}

.order-number__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.order-copy-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(29, 125, 154, 0.28);
  background: #fff;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 750;
  white-space: nowrap;
}

.order-copy-button:hover {
  border-color: #168cad;
  background: #eef9fb;
}

.order-copy-button.is-copied {
  border-color: rgba(20, 122, 75, 0.4);
  background: #effbf4;
  color: #147a4b;
}

.order-number .order-copy-button__label {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 430px) {
  .order-number__row {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.seller-wechat-modal {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid rgba(45, 116, 43, 0.25);
  border-radius: 0;
  background: #fff;
  color: #172126;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.3);
}

.seller-wechat-modal::backdrop {
  background: rgba(5, 27, 38, 0.72);
  backdrop-filter: blur(5px);
}

.seller-wechat-modal__shell {
  padding: clamp(18px, 4vw, 30px);
}

.seller-wechat-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.seller-wechat-modal__header h2 {
  margin-bottom: 6px;
  color: #173e4b;
  font-size: clamp(1.25rem, 5vw, 1.7rem);
}

.seller-wechat-modal__header p {
  margin: 0;
  color: #6d8189;
  font-size: 0.75rem;
}

.seller-wechat-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d9e8df;
  background: linear-gradient(145deg, #f7fcf8, #fff);
  text-align: center;
}

.seller-wechat-card > img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #e2ebe5;
  background: #fff;
  object-fit: contain;
}

.seller-wechat-card__fallback {
  max-width: 330px;
  margin: 0;
  padding: 12px;
  border: 1px dashed #c8d9cf;
  background: #fff;
  color: #708078;
  font-size: 0.74rem;
}

.seller-wechat-card__id {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-wechat-card__id small {
  color: #788a82;
  font-size: 0.64rem;
  font-weight: 700;
}

.seller-wechat-card__id strong {
  color: #245d31;
  font-size: 0.95rem;
  word-break: break-all;
}

.seller-wechat-card > .button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.7rem;
}

.checkout-seller-wechat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -10px 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 116, 43, 0.22);
  background: #f5fbf6;
}

.checkout-seller-wechat > img {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border: 1px solid #dbe8df;
  background: #fff;
  object-fit: contain;
}

.checkout-seller-wechat > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.checkout-seller-wechat small,
.checkout-seller-wechat span,
.checkout-seller-wechat p {
  margin: 0;
  color: #6d8175;
  font-size: 0.67rem;
}

.checkout-seller-wechat strong {
  color: #245d31;
  font-size: 0.86rem;
  word-break: break-all;
}

.success-seller-contact__qr {
  width: min(150px, 70%);
  height: auto;
  margin: 8px auto 2px;
  border: 1px solid rgba(29, 125, 154, 0.2);
  background: #fff;
  object-fit: contain;
}

@media (max-width: 430px) {
  .seller-wechat-modal__shell {
    padding: 16px;
  }

  .checkout-seller-wechat {
    align-items: flex-start;
  }

  .checkout-seller-wechat > img {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }
}

.mobile-search-trigger,
.seller-switch-mobile {
  display: none;
}

.card-quantity-label__mobile {
  display: none;
}

.seller-strip__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.catalog-header .category-chip--new:not(.is-active) {
  border-color: #e1c266;
  background: transparent;
  color: #8a6500;
}

.catalog-header .category-chip--new:not(.is-active):hover {
  border-color: #c9a332;
  background: transparent;
  color: #735300;
}

.catalog-header .category-chip--new.is-active {
  border-color: #b58b13;
  background: transparent;
  color: #8a6500;
  box-shadow: inset 0 0 0 1px rgba(181, 137, 19, 0.2);
}

.product-card .unit-choice--static {
  cursor: default;
}

.product-card .unit-choice--static:hover {
  border-color: var(--line);
  background: #fff;
  color: #536376;
  box-shadow: none;
}

.product-card .unit-choice--static.is-purchase-unit,
.product-card .unit-choice--static.is-purchase-unit:hover {
  border-color: #168cad;
  background: #eef9fb;
  color: #173e4b;
  box-shadow: inset 3px 0 0 #168cad;
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity),
.product-card .unit-choice.is-selected:not(.has-cart-quantity):hover {
  border-color: rgba(29, 125, 154, 0.17);
  background: #fff;
  color: #536376;
  box-shadow: none;
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity) .unit-choice__name {
  color: #536376;
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity) strong {
  color: #173e4b;
}

.product-card .unit-choice.has-cart-quantity,
.product-card .unit-choice.has-cart-quantity:hover {
  border-color: #168cad;
  background: #eef9fb;
  color: #173e4b;
  box-shadow: inset 3px 0 0 #168cad;
}

.product-card .unit-choice.has-cart-quantity strong,
.product-card .unit-choice.has-cart-quantity:hover strong {
  color: #086987;
}

.card-stepper .card-quantity input.is-zero {
  color: #9ba9ad;
  font-weight: 500;
}

@media (min-width: 821px) {
  .catalog-header .category-bar--header {
    padding: 9px 0;
  }

  .catalog-header .category-chip {
    min-height: 45px;
    padding: 10px 16px;
  }
}

@media (max-width: 820px) {
  .catalog-header .header-main {
    position: relative;
    display: grid;
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) 36px 82px;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
  }

  .catalog-header .header-main > .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-header .brand__logo {
    width: 40px;
    height: 40px;
  }

  .catalog-header .brand__text strong {
    overflow: hidden;
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-header .brand__text small {
    display: none;
  }

  .catalog-header .header-actions {
    display: contents;
  }

  .catalog-header .mobile-search-trigger {
    display: grid;
    width: 36px;
    height: 38px;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(29, 125, 154, 0.22);
    background: #fff;
    color: #0b6684;
    cursor: pointer;
  }

  .catalog-header .mobile-search-trigger:hover,
  .catalog-header .mobile-search-trigger.is-active {
    border-color: #168cad;
    background: #eef9fb;
  }

  .catalog-header .whatsapp-action {
    display: none;
  }

  .catalog-header .cart-trigger {
    width: 82px;
    min-width: 0;
    height: 38px;
    grid-column: 3;
    grid-row: 1;
    padding: 0 9px;
    gap: 5px;
  }

  .catalog-header .cart-trigger svg {
    width: 19px;
    height: 19px;
  }

  .catalog-header .cart-trigger__label {
    display: none;
  }

  .catalog-header .header-actions .search {
    position: absolute;
    z-index: 65;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    display: none;
    width: auto;
    height: 46px;
    margin: 0;
    padding: 2px;
    border: 1px solid rgba(29, 125, 154, 0.22);
    background: #fff;
    box-shadow: 0 12px 26px rgba(9, 42, 77, 0.16);
  }

  .catalog-header .header-actions .search.is-open {
    display: flex;
  }

  .catalog-header .header-actions .search input {
    height: 40px;
  }

  .seller-identity__switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .seller-switch-desktop {
    display: none;
  }

  .seller-switch-mobile {
    display: inline;
  }

  .catalog-header .category-bar--header {
    padding: 9px 0;
  }

  .catalog-header .category-list {
    gap: 6px;
    padding: 0;
  }

  .catalog-header .category-chip {
    min-height: 45px;
    padding: 10px 14px;
  }
}

@media (max-width: 540px) {
  .product-card__media {
    aspect-ratio: 1 / 1;
  }

  .product-card__image {
    padding: 8px;
  }

  .product-card__content {
    padding: 11px 7px 9px;
  }

  .product-card__title {
    min-height: 36px;
    margin-bottom: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .product-card__description {
    margin-bottom: 7px;
    font-size: 0.61rem;
    line-height: 1.35;
  }

  .product-units {
    gap: 3px;
    margin-bottom: 7px;
  }

  .unit-choice {
    min-height: 34px !important;
    gap: 0 5px;
    padding: 4px 6px;
  }

  .unit-choice small {
    font-size: 0.51rem;
    line-height: 1.15;
  }

  .product-card__add-row {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    margin-top: 6px;
  }

  .card-quantity-label {
    flex: 0 0 auto;
    font-size: 0.5rem;
    font-weight: 750;
    line-height: 1;
  }

  .card-quantity-label small {
    display: none;
  }

  .card-quantity-label__desktop {
    display: none;
  }

  .card-quantity-label__mobile {
    display: block;
    white-space: nowrap;
  }

  .card-stepper {
    width: 86px;
    min-width: 86px;
    grid-template-columns: 25px 36px 25px;
  }

  .card-stepper button {
    width: 25px;
    min-height: 30px;
  }

  .card-stepper .card-quantity,
  .card-stepper .card-quantity input {
    width: 36px;
  }

  .card-stepper .card-quantity input {
    min-height: 30px;
  }

  .card-quantity-hint {
    display: block;
    min-height: 0;
    margin-top: 4px;
    font-size: 0.51rem;
    line-height: 1.25;
  }

  .card-quantity-hint.is-active {
    display: block;
    color: #147a4b;
    font-weight: 650;
  }
}

/* Long product names and descriptions shrink before they are clipped. */
.product-card__title {
  display: block !important;
  max-height: 58px;
  min-height: 0;
  overflow: hidden;
  --fit-min-font-size: 8.5px;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.product-card__description {
  display: block !important;
  max-height: 36px;
  min-height: 0;
  overflow: hidden;
  --fit-min-font-size: 7.5px;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

@media (max-width: 540px) {
  .product-card__title {
    max-height: 59px;
    --fit-min-font-size: 8px;
  }

  .product-card__description {
    max-height: 42px;
    --fit-min-font-size: 7px;
  }
}

@media (max-width: 820px) {
  .seller-modal {
    width: calc(100% - 14px);
    max-height: calc(100dvh - 12px);
    overflow: hidden;
  }

  .seller-modal__shell {
    max-height: calc(100dvh - 14px);
    overflow: hidden;
    padding: 12px;
  }

  .seller-modal__header {
    gap: 8px;
    margin-bottom: 8px;
  }

  .seller-modal__header .eyebrow {
    margin-bottom: 4px;
    font-size: 0.58rem;
  }

  .seller-modal__header h2 {
    margin-bottom: 2px;
    font-size: 1.16rem;
  }

  .seller-modal__header h2 span {
    display: inline;
    margin: 0 0 0 4px;
    font-size: 0.62em;
  }

  .seller-modal__header p {
    font-size: 0.64rem;
    line-height: 1.3;
  }

  .seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    gap: 5px;
    overflow: visible;
    padding: 0;
  }

  .seller-option {
    min-height: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px;
    padding: 5px;
  }

  .seller-option__avatar {
    width: 40px;
    height: 40px;
  }

  .seller-option__content {
    gap: 0;
    line-height: 1.15;
  }

  .seller-option__content strong {
    overflow: hidden;
    font-size: 0.69rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-option__content > span {
    overflow: hidden;
    font-size: 0.59rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-option__content small {
    font-size: 0.47rem;
    line-height: 1.15;
  }

  .seller-option__action {
    display: none;
  }

  .seller-modal__note {
    margin-top: 8px;
    padding-top: 6px;
    font-size: 0.54rem;
    line-height: 1.3;
  }
}

@media (max-width: 820px) and (max-height: 600px) {
  .seller-modal__header .eyebrow,
  .seller-modal__header p,
  .seller-modal__note {
    display: none;
  }

  .seller-modal__shell {
    padding: 8px;
  }

  .seller-modal__header {
    margin-bottom: 6px;
  }
}

.account-trigger {
  font-weight: 750;
}

.account-header-action {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(29, 125, 154, 0.25);
  background: #fff;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.account-label-mobile {
  display: none;
}

.account-header-action:hover,
.account-header-action.is-authenticated {
  border-color: #168cad;
  background: #eef9fb;
}

.account-trigger.is-authenticated {
  border-color: #b8dadd;
  background: #eef9fb;
}

.account-trigger--page {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(29, 125, 154, 0.22);
  background: #fff;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.72rem;
}

.account-modal {
  width: min(460px, calc(100% - 24px));
  padding: 0;
  border: 1px solid rgba(29, 125, 154, 0.24);
  border-radius: 0;
  background: #fff;
  color: #172126;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.3);
}

.account-modal::backdrop {
  background: rgba(5, 27, 38, 0.72);
  backdrop-filter: blur(5px);
}

.account-modal__shell {
  padding: 26px;
}

.account-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-modal__header h2 {
  margin-bottom: 5px;
  color: #173e4b;
}

.account-modal__header h2 span {
  color: #168cad;
  font-size: 0.58em;
}

.account-modal__header p {
  margin: 0;
  color: #6d8189;
  font-size: 0.74rem;
}

.account-alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #cbe5e7;
  background: #eef9fb;
  color: #0b6684;
  font-size: 0.72rem;
  line-height: 1.55;
}

.account-alert.is-error {
  border-color: #efc8c2;
  background: #fff5f3;
  color: #9d3328;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-form > label {
  color: #46616a;
  font-size: 0.75rem;
  font-weight: 700;
}

.account-form > input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #cfdee1;
  background: #fff;
  color: #172126;
  outline: none;
}

.account-form > input:focus {
  border-color: #168cad;
  box-shadow: 0 0 0 3px rgba(22, 140, 173, 0.1);
}

#account-code {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  text-align: center;
}

.account-code-copy {
  margin: 0 0 2px;
  color: #617084;
  font-size: 0.72rem;
}

.account-code-copy strong {
  color: #173e4b;
}

.account-text-button {
  align-self: center;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-guest-button {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #d4e1e3;
  background: #f8fbfb;
  color: #526970;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 700;
}

.account-guest-button:hover {
  border-color: #a9c6cb;
  background: #eef8f9;
  color: #173e4b;
}

.account-main {
  min-height: calc(100vh - 170px);
  padding: 52px 0 72px;
  background: #f5f9fa;
}

.account-heading {
  margin-bottom: 24px;
}

.account-heading h1 {
  margin-bottom: 8px;
  color: #173e4b;
}

.account-heading h1 span {
  color: #168cad;
  font-size: 0.55em;
}

.account-heading p {
  margin: 0;
  color: #617084;
}

.account-orders-card {
  overflow: hidden;
  border: 1px solid #d8e5e7;
  background: #fff;
}

.account-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e3edef;
}

.account-orders-header h2 {
  margin-bottom: 4px;
  color: #173e4b;
  font-size: 1.18rem;
}

.account-orders-header h2 span {
  color: #168cad;
  font-size: 0.66em;
}

.account-orders-header p {
  margin: 0;
  color: #71848b;
  font-size: 0.7rem;
}

.account-orders-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.account-orders-actions .button {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.7rem;
}

.account-orders-state {
  padding: 44px 22px;
  color: #71848b;
  text-align: center;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-orders-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

/* Dense scrollable order lists */
.cart-drawer__body,
.summary-items {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #168cad #e5eff1;
  scrollbar-gutter: stable;
}

.cart-drawer__body::-webkit-scrollbar,
.summary-items::-webkit-scrollbar {
  width: 8px;
}

.cart-drawer__body::-webkit-scrollbar-track,
.summary-items::-webkit-scrollbar-track {
  background: #e5eff1;
}

.cart-drawer__body::-webkit-scrollbar-thumb,
.summary-items::-webkit-scrollbar-thumb {
  border: 1px solid #e5eff1;
  background: #168cad;
}

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

.cart-item__image-button {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.cart-item__image-button .cart-item__image {
  width: 58px;
  height: 58px;
  padding: 4px;
}

.cart-item__top h3 {
  margin-bottom: 1px;
  font-size: 0.76rem;
  line-height: 1.25;
  -webkit-line-clamp: 1;
}

.cart-item__meta {
  font-size: 0.6rem;
}

.remove-item {
  font-size: 0.62rem;
}

.cart-item__bottom {
  gap: 8px;
  margin-top: 5px;
}

.quantity-control button {
  width: 24px;
  height: 24px;
}

.quantity-control input {
  width: 30px;
  min-height: 24px;
  height: 24px;
}

.cart-item__price {
  font-size: 0.72rem;
}

.cart-item__price small {
  font-size: 0.57rem;
}

.summary-item {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 7px;
  padding: 7px 0;
}

.summary-item__image-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.summary-item__image {
  width: 44px;
  height: 44px;
  padding: 3px;
}

.summary-item__details h3 {
  margin-bottom: 1px;
  font-size: 0.68rem;
  line-height: 1.3;
}

.summary-item__details p {
  font-size: 0.57rem;
}

.summary-item__price {
  font-size: 0.66rem;
}

.summary-item__price small {
  font-size: 0.55rem;
}

@media (max-width: 820px) {
  .summary-items {
    max-height: min(46vh, 390px);
    overflow-y: scroll;
    padding-right: 8px;
  }

  .cart-drawer__body {
    padding-right: 14px;
    padding-left: 14px;
  }
}

.summary-image-preview {
  width: min(900px, calc(100% - 18px));
  max-height: calc(100dvh - 18px);
  padding: 0;
  border: 1px solid rgba(29, 125, 154, 0.24);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.36);
}

.summary-image-preview::backdrop {
  background: rgba(5, 27, 38, 0.8);
  backdrop-filter: blur(4px);
}

.summary-image-preview__shell {
  display: flex;
  max-height: calc(100dvh - 20px);
  flex-direction: column;
}

.summary-image-preview__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid #e2ebed;
}

.summary-image-preview__header h2 {
  margin: 0;
  color: #173e4b;
  font-size: 0.92rem;
}

#summary-image-large {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 88px);
  object-fit: contain;
  background: #f2f8f9;
}

.account-orders-table th,
.account-orders-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8eff1;
  text-align: left;
  vertical-align: middle;
}

.account-orders-table th {
  background: #f0f9fa;
  color: #173e4b;
  font-size: 0.74rem;
  font-weight: 750;
}

.account-orders-table th span {
  color: #7a8c92;
  font-size: 0.6rem;
  font-weight: 600;
}

.account-orders-table td {
  color: #526970;
  font-size: 0.76rem;
}

.account-orders-table td strong {
  color: #0b6684;
}

.account-status {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid #b9dfcf;
  background: #effbf4;
  color: #147a4b;
  font-size: 0.65rem;
  font-weight: 750;
}

.account-detail-button {
  padding: 5px 9px;
  border: 1px solid #b8dadd;
  background: #fff;
  color: #0b6684;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 750;
  white-space: nowrap;
}

.account-detail-button:hover {
  border-color: #168cad;
  background: #eef9fb;
}

.order-detail-modal {
  width: min(900px, calc(100% - 22px));
  max-height: calc(100dvh - 22px);
  padding: 0;
  border: 1px solid rgba(29, 125, 154, 0.24);
  border-radius: 0;
  background: #fff;
  color: #172126;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.32);
}

.order-detail-modal::backdrop {
  background: rgba(5, 27, 38, 0.74);
  backdrop-filter: blur(5px);
}

.order-detail-modal__shell {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}

.order-detail-modal__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e1ebed;
  background: rgba(255, 255, 255, 0.98);
}

.order-detail-modal__header h2 {
  margin-bottom: 4px;
  color: #173e4b;
  font-size: 1.35rem;
}

.order-detail-modal__header h2 span {
  color: #168cad;
  font-size: 0.72em;
}

.order-detail-modal__header p {
  margin: 0;
  color: #71848b;
  font-size: 0.72rem;
}

.order-detail-modal__body {
  padding: 18px 22px 24px;
}

.order-detail-section + .order-detail-section {
  margin-top: 20px;
}

.order-detail-section h3 {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e6eef0;
  color: #173e4b;
  font-size: 0.9rem;
}

.order-detail-section h3 span {
  color: #168cad;
  font-size: 0.68em;
  font-weight: 650;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.order-detail-grid > div {
  padding: 9px 10px;
  border: 1px solid #e4edef;
  background: #f9fcfc;
}

.order-detail-grid > .is-full {
  grid-column: 1 / -1;
}

.order-detail-grid dt {
  margin-bottom: 2px;
  color: #71848b;
  font-size: 0.62rem;
  font-weight: 700;
}

.order-detail-grid dd {
  margin: 0;
  color: #253b42;
  font-size: 0.73rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.order-detail-items {
  display: grid;
  gap: 8px;
}

.order-detail-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #e4edef;
  background: #fff;
}

.order-detail-item__image {
  display: block;
  width: 72px;
  height: 72px;
  padding: 4px;
  border: 1px solid #dce8ea;
  background: #f6fafb;
  cursor: zoom-in;
}

.order-detail-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-detail-item__content {
  min-width: 0;
}

.order-detail-item__heading {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
}

.order-detail-item__heading > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #eef9fb;
  color: #0b6684;
  font-size: 0.68rem;
  font-weight: 800;
}

.order-detail-item__heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.order-detail-item__heading strong {
  color: #173e4b;
  font-size: 0.78rem;
}

.order-detail-item__heading small {
  color: #71848b;
  font-size: 0.62rem;
}

.order-detail-item__heading b {
  color: #0b6684;
  font-size: 0.78rem;
  white-space: nowrap;
}

.order-detail-item__content > p {
  margin: 6px 0 0 33px;
  color: #617084;
  font-size: 0.66rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.order-detail-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #cfdee1;
  color: #71848b;
  text-align: center;
}

.order-detail-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #cfe4e8;
  background: #eef9fb;
  color: #617084;
  font-size: 0.72rem;
}

.order-detail-total strong {
  color: #0b6684;
  text-align: right;
}

.order-image-modal {
  width: min(900px, calc(100% - 18px));
  max-height: calc(100dvh - 18px);
  padding: 0;
  border: 1px solid rgba(29, 125, 154, 0.24);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 28px 90px rgba(7, 50, 68, 0.36);
}

.order-image-modal::backdrop {
  background: rgba(5, 27, 38, 0.8);
  backdrop-filter: blur(4px);
}

.order-image-modal__shell {
  display: flex;
  max-height: calc(100dvh - 20px);
  flex-direction: column;
}

.order-image-modal__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e0e9eb;
  background: #fff;
}

.order-image-modal__header h2 {
  margin: 0;
  color: #173e4b;
  font-size: 0.95rem;
}

#order-image-large {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 90px);
  object-fit: contain;
  background: #f1f7f8;
}

@media (max-width: 820px) {
  .account-modal__shell {
    padding: 20px 17px;
  }

  .account-main {
    padding: 34px 0 52px;
  }

  .account-orders-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .account-orders-actions {
    width: 100%;
  }

  .account-orders-actions .button {
    flex: 1;
  }

  .account-trigger--page {
    width: 82px;
    min-width: 82px;
    justify-content: center;
    padding: 5px 7px;
    font-size: 0.58rem;
  }

  .account-trigger--page [data-account-label] {
    display: none;
  }

  .order-detail-modal__header {
    padding: 16px 14px 12px;
  }

  .order-detail-modal__body {
    padding: 14px;
  }

  .order-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-detail-grid > .is-full {
    grid-column: 1;
  }

  .order-detail-item__heading {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .order-detail-item__heading b {
    grid-column: 2;
  }

  .order-detail-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  .order-detail-item__image {
    width: 58px;
    height: 58px;
  }

  .order-detail-item__content > p {
    margin-left: 31px;
  }

  .catalog-header .header-main {
    grid-template-columns: minmax(0, 1fr) 32px 72px 72px;
    gap: 4px;
  }

  .catalog-header .mobile-search-trigger {
    width: 32px;
    grid-column: 2;
  }

  .catalog-header .account-header-action {
    width: 72px;
    min-width: 72px;
    height: 38px;
    grid-column: 3;
    grid-row: 1;
    gap: 2px;
    padding: 0 4px;
    font-size: 0.47rem;
  }

  .catalog-header .account-header-action > svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .catalog-header .account-header-action [data-account-label] {
    display: none;
  }

  .account-header-action .account-label-mobile,
  .account-trigger--page .account-label-mobile {
    display: inline;
  }

  .catalog-header .cart-trigger {
    width: 72px;
    grid-column: 4;
    padding: 0 7px;
  }

  .checkout-header-actions .account-header-action {
    width: 72px;
    min-width: 72px;
    height: 38px;
    gap: 2px;
    padding: 0 4px;
    font-size: 0.47rem;
  }

  .checkout-header-actions .account-header-action > svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .checkout-header-actions .account-header-action [data-account-label] {
    display: none;
  }

  .account-header-action,
  .cart-trigger {
    height: 38px;
  }
}

@media (min-width: 821px) {
  .catalog-header .account-header-action,
  .catalog-header .cart-trigger {
    width: 160px;
    min-width: 160px;
    height: 44px;
    justify-content: center;
    padding-inline: 12px;
  }

  .checkout-header-actions .account-header-action {
    width: 160px;
    min-width: 160px;
    height: 44px;
  }
}

/* Seller picker: desktop always-scrollable, mobile one seller per row */
@media (min-width: 821px) {
  .seller-modal .seller-grid {
    max-height: calc(100vh - 255px);
    overflow-y: scroll !important;
    scrollbar-width: thin;
    scrollbar-color: #168cad #e5eff1;
    scrollbar-gutter: stable;
  }

  .seller-modal .seller-grid::-webkit-scrollbar {
    width: 8px;
  }

  .seller-modal .seller-grid::-webkit-scrollbar-thumb {
    background: #168cad;
  }
}

@media (max-width: 820px) {
  .seller-modal .seller-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: calc(100dvh - 115px);
    overflow-y: auto !important;
  }

  .seller-modal .seller-option {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 5px;
    padding: 2px 4px;
  }

  .seller-modal .seller-option__avatar {
    width: 30px !important;
    height: 30px !important;
  }

  .seller-modal .seller-option__content strong {
    font-size: 0.62rem;
  }

  .seller-modal .seller-option__content > span {
    font-size: 0.54rem;
  }

  .seller-modal .seller-option__content .seller-option__phone,
  .seller-modal .seller-option__content .seller-option__email,
  .seller-modal .seller-option__content .seller-option__wechat {
    font-size: 0.42rem;
    line-height: 1.05;
  }

  .seller-modal .seller-option__content .seller-option__phone,
  .seller-modal .seller-option__content .seller-option__email,
  .seller-modal .seller-option__content .seller-option__wechat {
    display: block !important;
    grid-column: 1 / -1;
  }

  .seller-modal .seller-option__content .seller-option__compact {
    display: none !important;
  }
}

/* Price rows: clicked = light blue, added to cart = dark blue with white text */
.product-card .unit-choice.is-selected:not(.has-cart-quantity),
.product-card .unit-choice.is-selected:not(.has-cart-quantity):hover {
  border-color: #168cad;
  background: #eaf7fa;
  color: #173e4b;
  box-shadow: inset 3px 0 0 #168cad;
}

.product-card .unit-choice.is-selected:not(.has-cart-quantity) .unit-choice__name,
.product-card .unit-choice.is-selected:not(.has-cart-quantity) strong {
  color: #086987;
}

.product-card .unit-choice.has-cart-quantity,
.product-card .unit-choice.has-cart-quantity:hover {
  border-color: #0b6684;
  background: #0b6684;
  color: #fff;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.3);
}

.product-card .unit-choice.has-cart-quantity .unit-choice__name,
.product-card .unit-choice.has-cart-quantity strong,
.product-card .unit-choice.has-cart-quantity small {
  color: #fff;
}

.product-card .unit-choice.has-cart-quantity small {
  opacity: 0.82;
}

.card-stepper button:disabled,
.card-stepper input:disabled {
  background: #f1f4f5;
  color: #aab5b9;
  cursor: default;
  opacity: 1;
}

.card-quantity-hint {
  color: #60757d;
  font-size: 0.64rem;
  line-height: 1.45;
  text-align: left;
}

.card-purchase-current {
  color: #526970;
  font-weight: 700;
}

.card-purchase-empty {
  color: #87989e;
}

.card-purchase-label {
  margin-left: 5px;
  color: #0b6684;
  font-size: 0.66rem;
  font-weight: 800;
}

.card-purchase-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-left: 3px;
  vertical-align: middle;
}

.card-purchase-item {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 1px 4px;
  border-left: 3px solid #0b6684;
  background: #e8f6f9;
  color: #0b6684;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.35;
}

.card-purchase-item b {
  color: #074f69;
  font-size: 1.04em;
}

@media (max-width: 540px) {
  .card-quantity-hint {
    font-size: 0.58rem;
    line-height: 1.4;
  }

  .card-purchase-item {
    font-size: 0.66rem;
  }
}
