/* Heritage Sandook — storefront (from Stitch DESIGN.md) */
:root {
  --ink: #140f0c;
  --ink-soft: #3a2f28;
  --on-surface: #1f1b12;
  --on-surface-variant: #4e453a;
  --wood: #4a2c1e;
  --wood-deep: #24140e;
  --wood-grain: #6e4330;
  --indigo: #1e3358;
  --indigo-bright: #2f4d7a;
  --brass: #b08d57;
  --brass-light: #d4b87a;
  --primary: #775928;
  --silk: #e6dcc8;
  --surface: #fff8f0;
  --surface-dim: #e2d9c9;
  --surface-container: #f6eddd;
  --surface-alt: #e2d5bf;
  --outline: #807569;
  --outline-variant: #d1c5b6;
  --danger: #8b2e2e;
  --ok: #2f5d3a;
  --radius: 2px;
  --shadow: 0 8px 24px rgba(36, 20, 14, 0.12);
  --shadow-hover: 0 16px 36px rgba(36, 20, 14, 0.18);
  --font-display: "Fraunces", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --container: 1120px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--surface);
  background-image: var(--stitch-paper);
  min-height: 100vh;
  line-height: 1.55;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--wood-grain);
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header chrome (top social bar + main nav) ——— */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wood-deep);
  color: var(--silk);
  transition: background 0.25s ease;
}

.site-chrome.is-compact {
  background: rgba(36, 20, 14, 0.95);
  backdrop-filter: blur(8px);
}

.site-chrome.is-compact .top-bar {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  border-bottom-color: transparent;
  overflow: hidden;
}

.site-chrome.is-compact .site-header {
  height: 4rem;
}

.top-bar {
  max-height: 2.5rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(212, 184, 122, 0.15);
  background: #1a0e08;
  transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.5rem;
}

.top-bar-email {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(212, 184, 122, 0.85);
  text-decoration: none;
}

.top-bar-email:hover {
  color: var(--silk);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a,
.social-links .social-muted {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(212, 184, 122, 0.9);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--silk);
}

.social-links .social-muted {
  opacity: 0.45;
  cursor: default;
}

.social-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.social-icon-ms {
  font-size: 1.15rem !important;
  line-height: 1;
}

.social-links--footer {
  margin-top: 1rem;
  gap: 0.85rem 1.25rem;
}

.social-links--footer a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
}

.social-links--footer a:hover {
  color: var(--primary);
}

.social-links--footer .social-icon {
  color: var(--wood-grain);
}

.site-header {
  height: 5rem;
  background: transparent;
  color: var(--silk);
  border-bottom: 1px solid rgba(212, 184, 122, 0.2);
  transition: height 0.25s ease;
}

.site-header a {
  color: var(--silk);
  text-decoration: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
}

.brand-mark .hi {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--silk);
  line-height: 1.1;
}

.brand-mark .en {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 220, 200, 0.7);
}

.header-nav-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  min-width: 0;
}

.nav a {
  color: rgba(212, 184, 122, 0.85);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--silk);
  border-bottom-color: var(--brass-light);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-cta {
  padding: 0.4rem 0.85rem !important;
  font-size: 0.72rem !important;
  white-space: nowrap;
  color: var(--brass-light) !important;
  border-color: rgba(212, 184, 122, 0.65) !important;
  background: transparent !important;
}

.header-cta:hover {
  background: rgba(212, 184, 122, 0.12) !important;
  color: var(--silk) !important;
}

.pitara-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brass-light) !important;
  border: none !important;
  line-height: 1;
}

.pitara-link .material-symbols-outlined {
  font-size: 1.45rem;
}

.pitara-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--brass-light);
  color: var(--wood-deep);
  font-size: 0.65rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--silk);
  cursor: pointer;
}

/* Trust ribbon (top bar) */
.trust-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.trust-ribbon li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(212, 184, 122, 0.9);
  white-space: nowrap;
}

.trust-ribbon .material-symbols-outlined {
  font-size: 1rem;
  color: var(--brass-light);
}

/* Header utility cluster (search + cart + menu) — always visible */
.header-utility {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0.25rem;
  color: var(--brass-light);
  cursor: pointer;
  line-height: 1;
}

.icon-btn:hover {
  color: var(--silk);
}

.icon-btn .material-symbols-outlined {
  font-size: 1.4rem;
}

/* Global search panel */
.site-search {
  background: #1a0e08;
  border-top: 1px solid rgba(212, 184, 122, 0.18);
  border-bottom: 1px solid rgba(212, 184, 122, 0.18);
  padding: 0.85rem 0;
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-search-form .material-symbols-outlined {
  color: var(--brass-light);
  font-size: 1.4rem;
}

.site-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 184, 122, 0.3);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  color: var(--silk);
  font-size: 0.95rem;
}

.site-search-form input[type="search"]::placeholder {
  color: rgba(230, 220, 200, 0.55);
}

.site-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brass-light);
}

.messages {
  list-style: none;
  margin: 1rem auto 0;
  padding: 0;
  width: min(var(--container), calc(100% - 2.5rem));
}

.messages li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(74, 94, 134, 0.1);
  border-left: 3px solid var(--indigo-bright);
  border-radius: var(--radius);
}

.messages li.success {
  border-color: var(--ok);
  background: rgba(47, 93, 58, 0.1);
}

.messages li.error {
  border-color: var(--danger);
  background: rgba(139, 46, 46, 0.1);
}

/* ——— Hero (Stitch full-bleed wood) ——— */
.hero {
  position: relative;
  min-height: min(92vh, 921px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--silk);
  background: var(--wood-deep);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

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

/* Home hero: no brown overlay — image shows as-is */
.hero:not(.hero-short) .hero-wash {
  display: none;
}

.hero-short .hero-wash {
  background:
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(212, 184, 122, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(36, 20, 14, 0.2), rgba(36, 20, 14, 0.55));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--brass-light);
  opacity: 0.95;
  animation: rise-in 0.9s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
  color: var(--silk);
  animation: rise-in 0.9s ease 0.1s both;
}

.hero p {
  margin: 0 auto 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
  color: rgba(230, 220, 200, 0.85);
  animation: rise-in 0.9s ease 0.2s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: rise-in 0.9s ease 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(212, 184, 122, 0.45);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-primary {
  background: var(--brass-light);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--brass-light);
  color: var(--brass-light);
}

.btn-ghost:hover {
  background: rgba(212, 184, 122, 0.1);
  color: var(--brass-light);
}

.btn-dark {
  background: var(--wood-deep);
  color: var(--silk);
}

.btn-outline {
  background: transparent;
  border-color: var(--wood);
  color: var(--wood);
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

.section-dim {
  background: var(--surface-dim);
  background-image: var(--stitch-paper);
  border-bottom: 1px solid rgba(209, 197, 182, 0.35);
}

.section-wood {
  background: var(--wood-deep);
  color: var(--silk);
  position: relative;
  overflow: hidden;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0;
  color: var(--wood-deep);
}

.section-wood .section-head h2,
.section-wood .section-head p {
  color: var(--silk);
}

.section-head p {
  margin: 0.5rem 0 0;
  color: var(--on-surface-variant);
  max-width: 36rem;
}

.section-head a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--brass-light);
  text-decoration: none;
}

/* ——— Package grid / tiles ——— */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.package-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: true;
}

.package-tile:hover {
  color: inherit;
}

.package-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.package-tile:hover .package-media {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.package-tile:hover .package-media img {
  transform: scale(1.08);
}

.package-media-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(36, 20, 14, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.package-tile:hover .package-media-overlay {
  opacity: 1;
}

.package-media-overlay span {
  background: var(--brass-light);
  color: var(--ink);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.package-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.package-body .brand {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.package-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: var(--wood-deep);
}

.package-body .subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.package-body .price {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--wood-grain);
}

/* ——— Chips / regions ——— */
.region-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.region-row::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--outline-variant);
  background: var(--silk);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover,
.chip.is-active {
  background: var(--wood-deep);
  color: var(--silk);
  border-color: var(--wood-deep);
}

/* ——— Quote ——— */
.quote-block {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-block .material-symbols-outlined {
  font-size: 3rem;
  color: var(--brass-light);
  margin-bottom: 1.5rem;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 1.5rem;
  color: var(--silk);
}

.quote-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.quote-attr::before,
.quote-attr::after {
  content: "";
  width: 3rem;
  height: 1px;
  background: rgba(212, 184, 122, 0.35);
}

.wash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.wash-orb-brass {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(212, 184, 122, 0.12);
}

.wash-orb-indigo {
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(47, 77, 122, 0.12);
}

/* ——— Shop page ——— */
.page-hero {
  padding: 3.5rem 0 1.5rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.page-hero > p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.page-hero-wash {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.12;
  z-index: -1;
}

.page-hero-wash::before {
  content: "";
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  background: var(--brass-light);
  filter: blur(120px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 3rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface-container);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(36, 20, 14, 0.06);
  position: sticky;
  top: 5.5rem;
  z-index: 30;
}

.filters input,
.filters select,
.form-grid input,
.form-grid select,
.form-grid textarea,
.qty-input {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-alt);
  background: var(--silk);
  color: var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.filters input:focus,
.filters select:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--wood-grain);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
}

.filters input[type="search"] {
  flex: 1 1 14rem;
}

.filters select {
  flex: 1 1 8rem;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

/* ——— PDP ——— */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}

.detail-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--silk);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.detail-media:hover img {
  transform: scale(1.04);
}

.detail-copy .brand-link {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--brass-light);
  text-underline-offset: 4px;
}

.detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2rem);
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
  color: var(--ink);
}

.detail-copy .lede {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.detail-copy .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wood-grain);
  margin: 0 0 1.5rem;
}

.detail-copy .price small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.55;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.meta-chips .chip {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  background: rgba(36, 20, 14, 0.08);
  border-color: transparent;
  color: var(--ink-soft);
}

.meta-chips .chip.ok {
  background: rgba(47, 93, 58, 0.1);
  color: var(--ok);
}

.meta-chips .chip.brass {
  background: rgba(176, 141, 87, 0.15);
  color: var(--primary);
}

.story {
  white-space: pre-wrap;
  color: var(--ink-soft);
  border-left: 2px solid rgba(212, 184, 122, 0.35);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.story-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

.qty-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  background: rgba(230, 220, 200, 0.35);
  height: 3.5rem;
}

.qty-box input {
  width: 3rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
}

.add-row .btn {
  flex: 1;
  min-width: 12rem;
}

/* ——— Pitara / tables ——— */
.pitara-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 252, 246, 0.7);
}

.pitara-table th,
.pitara-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(74, 44, 30, 0.12);
  text-align: left;
  vertical-align: middle;
}

.pitara-shell {
  border: 1px solid rgba(74, 44, 30, 0.15);
  background: var(--surface-container);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(74, 44, 30, 0.25);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(212, 184, 122, 0.55);
}

.timeline li {
  position: relative;
  padding: 0 0 1.25rem 1.25rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--brass-light);
}

.timeline .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ——— Brands ——— */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gutter);
}

.brand-card {
  display: block;
  padding: 1.5rem;
  background: var(--surface-container);
  border: 1px solid rgba(209, 197, 182, 0.5);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.brand-card .state {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.brand-card h3 {
  font-family: var(--font-display);
  margin: 0.4rem 0;
  color: var(--wood-deep);
}

.brand-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.brand-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin: -0.25rem -0.25rem 1rem;
  background: var(--surface-alt);
}

.brand-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brand-card:hover .brand-card-media img {
  transform: scale(1.04);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

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

/* ——— Pitara lines ——— */
.pitara-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pitara-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(74, 44, 30, 0.1);
}

.pitara-thumb {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

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

.pitara-line-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.pitara-line-copy a {
  color: var(--wood-deep);
  text-decoration: none;
}

.pitara-line-copy span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pitara-qty {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.pitara-qty input {
  width: 4rem;
  font: inherit;
  padding: 0.5rem;
  border: 1px solid var(--surface-alt);
  background: var(--silk);
  border-radius: var(--radius);
}

.pitara-line-total {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--wood-grain);
  white-space: nowrap;
}

.totals-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

/* ——— Checkout ——— */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.panel-title {
  font-family: var(--font-display);
  margin: 0 0 1.25rem;
  color: var(--wood-deep);
  font-size: 1.35rem;
}

.form-actions {
  margin-top: 1.25rem;
}

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.checkout-lines {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout-lines li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.checkout-lines img {
  width: 3.25rem;
  height: 4rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.checkout-lines div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
}

.checkout-lines span {
  color: var(--ink-soft);
}

.checkout-subtotal {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(74, 44, 30, 0.25);
}

.form-stack p {
  margin: 0 0 0.85rem;
}

.form-stack label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-stack input {
  width: 100%;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-alt);
  background: var(--silk);
  border-radius: var(--radius);
}

.auth-lede {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.auth-foot {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 0;
  padding: 4rem 0 2rem;
  background: var(--surface-dim);
  background-image: var(--stitch-paper);
  color: var(--ink-soft);
  border-top: 1px solid rgba(209, 197, 182, 0.35);
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--brass-light);
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--wood-grain);
  font-size: 1.5rem;
}

.footer-grid h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--brass-light);
  width: fit-content;
  padding-bottom: 0.25rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(209, 197, 182, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(74, 44, 30, 0.25);
  background: rgba(255, 252, 246, 0.6);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}

.page-content {
  padding: 2.5rem 0 4rem;
}

.page-content h1,
.page-content h2 {
  font-family: var(--font-display);
  color: var(--wood-deep);
}

/* ——— Marketing / portal extras ——— */
.hero-short {
  min-height: 52vh;
}

.hero-short .hero-inner {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 0.5rem;
}

.step-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--wood-deep);
  color: var(--brass-light);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.step-card:hover .step-icon {
  transform: translateY(-4px);
}

.step-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  color: var(--wood-deep);
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-list {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--outline-variant);
  background: rgba(230, 220, 200, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--wood-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  color: var(--brass);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-soft);
}

.faq-body p {
  margin: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.story-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gutter);
}

.region-guide-card {
  display: block;
  padding: 1.35rem;
  background: var(--surface-container);
  border: 1px solid rgba(209, 197, 182, 0.5);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.region-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.region-guide-card .state {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.region-guide-card h3 {
  font-family: var(--font-display);
  margin: 0.4rem 0;
  color: var(--wood-deep);
}

.region-guide-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.region-guide-card .link-hint {
  font-size: 0.85rem;
  color: var(--primary);
}

.contact-layout,
.profile-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-aside-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.contact-aside-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.address-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(74, 44, 30, 0.1);
}

.address-list p {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.empty-inline {
  color: var(--ink-soft);
  border: 0 !important;
}

.saved-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.saved-remove {
  text-align: center;
}

.detail-media {
  position: relative;
}

.exclusive-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--wood-deep);
  color: var(--brass-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
}

.cancel-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.cancel-form input {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--surface-alt);
  background: var(--silk);
  border-radius: var(--radius);
  min-width: 16rem;
}

.legal-prose {
  max-width: 42rem;
  margin-inline: auto;
}

.prose-rich p {
  color: var(--ink-soft);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.amount-chip {
  display: grid;
  place-items: center;
  padding: 1rem 0.5rem;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  background: var(--silk);
  cursor: pointer;
  font-weight: 600;
}

.amount-chip:has(input:checked) {
  border-color: var(--wood-grain);
  background: rgba(176, 141, 87, 0.18);
}

.amount-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wrap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.wrap-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  background: var(--surface-container);
  cursor: pointer;
}

.wrap-card:has(input:checked) {
  border-color: var(--brass);
  box-shadow: var(--shadow);
}

.wrap-card input {
  margin-bottom: 0.5rem;
}

.wrap-card p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.loyalty-points {
  font-family: var(--font-display);
  font-size: 3rem;
  margin: 0 0 0.5rem;
  color: var(--wood-grain);
  line-height: 1;
}

.loyalty-points small {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.tier-list,
.ledger-list,
.artisan-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tier-list li,
.ledger-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(74, 44, 30, 0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.copy-input {
  width: 100%;
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--surface-alt);
  background: var(--silk);
  border-radius: var(--radius);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gutter);
}

.journal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface-container);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(209, 197, 182, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.journal-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.journal-body h3 {
  font-family: var(--font-display);
  margin: 0.35rem 0 0.5rem;
  color: var(--wood-deep);
}

.journal-body p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.journal-body .meta {
  font-size: 0.8rem;
  color: var(--outline);
}

.artisan-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.artisan-map {
  min-height: 28rem;
}

.artisan-list li {
  border-bottom: 1px solid rgba(74, 44, 30, 0.1);
  padding: 0.75rem 0;
}

.artisan-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
}

.artisan-list span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.inline-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--wood-deep);
  border-left: 3px solid var(--brass-light);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}

.item-picker {
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  padding: 1rem;
}

.item-picker legend {
  padding: 0 0.35rem;
  font-weight: 600;
}

.auth-card {
  max-width: 28rem;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--surface-container);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--wood-deep);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .header-cta {
    display: none;
  }

  .nav {
    gap: 0.65rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .footer-grid,
  .form-grid,
  .checkout-layout,
  .steps-grid,
  .story-layout,
  .contact-layout,
  .profile-layout,
  .artisan-layout,
  .wrap-grid,
  .amount-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    gap: 2rem;
  }

  .pitara-line {
    grid-template-columns: 4rem 1fr;
    grid-template-areas:
      "thumb copy"
      "thumb qty"
      "thumb total"
      "thumb remove";
  }

  .pitara-thumb { grid-area: thumb; }
  .pitara-line-copy { grid-area: copy; }
  .pitara-qty { grid-area: qty; }
  .pitara-line-total { grid-area: total; }


  .nav-toggle {
    display: inline-flex;
  }

  .brand-mark { order: 1; }
  .header-utility { order: 2; }
  .header-nav-cluster { order: 3; }

  .header-nav-cluster {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.25rem 0 1rem;
  }

  .header-nav-cluster.is-open {
    display: flex;
  }

  .trust-ribbon {
    gap: 1rem;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .trust-ribbon::-webkit-scrollbar { display: none; }

  .nav {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
  }

  .header-actions:not(:empty) {
    width: 100%;
    justify-content: stretch;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(212, 184, 122, 0.2);
  }

  .header-actions .header-cta {
    width: 100%;
    text-align: center;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.85rem 0;
  }

  .site-header {
    height: auto;
  }

  .top-bar-email {
    display: none;
  }

  .site-chrome.is-compact .top-bar {
    max-height: 2.5rem;
    padding-block: 0.35rem;
    opacity: 1;
    border-bottom-color: rgba(212, 184, 122, 0.15);
  }

  .filters {
    position: static;
  }
}

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

/* ============================================================
   CRO components: ratings, badges, PDP assurances, reviews
   ============================================================ */

/* Star ratings */
.stars {
  display: inline-flex;
  align-items: center;
  color: #c9962f;
  line-height: 1;
}
.stars .material-symbols-outlined {
  font-size: 1.05rem;
  font-variation-settings: "FILL" 1;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0;
}
.rating .rating-count {
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.85;
}
.rating--sm .stars .material-symbols-outlined { font-size: 0.9rem; }
.rating--sm .rating-count { font-size: 0.72rem; }
.rating--link { text-decoration: none; }
.rating--link:hover .rating-count { text-decoration: underline; }

/* Catalog tile badges + sale price */
.package-media { position: relative; }
.tile-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  background: var(--wood-deep);
  color: var(--brass-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius);
}
.tile-badge--sale { background: #7c2d12; color: #ffe9d6; }
.tile-badge--urgent { background: #a3341f; color: #fff; top: auto; bottom: 0.6rem; }
.tile-badge--muted { background: rgba(36,20,14,0.75); }
.price-compare {
  margin-left: 0.4rem;
  color: var(--ink-soft);
  opacity: 0.6;
  font-weight: 400;
  font-size: 0.85em;
}
.price-save {
  display: inline-block;
  margin-left: 0.5rem;
  color: #7c2d12;
  font-size: 0.8rem;
  font-weight: 700;
}

/* PDP scarcity + assurances */
.stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a3341f;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.4rem 0 0.2rem;
}
.stock-urgency .material-symbols-outlined { font-size: 1.1rem; }
.pdp-assurances {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(176,141,87,0.25);
  display: grid;
  gap: 0.6rem;
}
.pdp-assurances li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.pdp-assurances .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Reviews */
.reviews-section { background: rgba(176,141,87,0.05); }
.reviews-head { margin-bottom: 1.5rem; }
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.reviews-score { font-size: 2rem; font-weight: 700; font-family: var(--font-display); color: var(--primary); }
.review-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.review-item {
  background: #fff;
  border: 1px solid rgba(176,141,87,0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.review-item-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ok);
}
.verified-badge .material-symbols-outlined { font-size: 0.95rem; }
.review-meta { display: flex; align-items: center; gap: 0.75rem; margin: 0.35rem 0; }
.review-loc, .review-date { font-size: 0.78rem; color: var(--ink-soft); opacity: 0.75; }
.review-title { font-weight: 600; margin: 0.35rem 0 0.2rem; }
.review-body { margin: 0; color: var(--ink-soft); }
.review-empty { color: var(--ink-soft); opacity: 0.8; margin-bottom: 1.5rem; }

/* Review form */
.review-form {
  background: #fff;
  border: 1px solid rgba(176,141,87,0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-form h3 { margin: 0 0 1rem; font-family: var(--font-display); }
.review-form label { display: block; font-size: 0.85rem; margin-bottom: 0.85rem; }
.review-form input, .review-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(58,47,40,0.25);
  border-radius: var(--radius);
  font: inherit;
}
/* Interactive star input (CSS-only, reversed order in DOM: 5→1) */
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { cursor: pointer; margin: 0; }
.star-input label .material-symbols-outlined { font-size: 1.9rem; color: #d8cdb8; transition: color 0.1s; }
.star-input input:checked ~ label .material-symbols-outlined,
.star-input label:hover .material-symbols-outlined,
.star-input label:hover ~ label .material-symbols-outlined {
  color: #c9962f;
  font-variation-settings: "FILL" 1;
}

/* PDP thumbnail gallery */
.detail-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.detail-thumb {
  width: 4.5rem; height: 4.5rem; padding: 0; border: 1px solid rgba(176,141,87,0.35);
  border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb:hover { border-color: var(--brass-light); }

/* Cart: free-shipping bar, qty steppers, cross-sell */
.free-ship-bar { margin-bottom: 1.25rem; }
.free-ship-bar p { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.5rem; font-size: 0.92rem; }
.free-ship-bar .material-symbols-outlined { font-size: 1.2rem; color: var(--primary); }
.free-ship-bar .is-unlocked { color: var(--ok); }
.free-ship-bar .is-unlocked .material-symbols-outlined { color: var(--ok); }
.free-ship-track { height: 6px; background: rgba(176,141,87,0.2); border-radius: 999px; overflow: hidden; }
.free-ship-track span { display: block; height: 100%; background: var(--brass-light); transition: width 0.3s ease; }

.qty-stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid rgba(58,47,40,0.3); border-radius: var(--radius); overflow: hidden; height: 2.4rem; }
.qty-btn {
  width: 2.2rem; height: 100%; border: 0; background: var(--surface-container);
  font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.qty-btn:hover { background: var(--surface-alt); }
.qty-num {
  width: 3rem; height: 100%; border: 0; border-left: 1px solid rgba(58,47,40,0.15);
  border-right: 1px solid rgba(58,47,40,0.15); text-align: center; font: inherit;
  -moz-appearance: textfield;
}
.qty-num::-webkit-outer-spin-button, .qty-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.line-stock { display: block; color: #a3341f; font-size: 0.75rem; font-weight: 600; margin-top: 0.2rem; }

.cross-sell { margin-top: 3rem; }
.cross-sell h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }

/* Checkout trust elements */
.checkout-steps { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 1rem 0 0; flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-soft); opacity: 0.6; }
.checkout-steps li span {
  display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: rgba(58,47,40,0.15); font-size: 0.75rem; font-weight: 700;
}
.checkout-steps li.is-active { opacity: 1; color: var(--primary); font-weight: 600; }
.checkout-steps li.is-active span { background: var(--primary); color: #fff; }
.checkout-secure { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--ink-soft); margin-top: 1rem; }
.checkout-secure .material-symbols-outlined { font-size: 1rem; color: var(--ok); }
.checkout-totals { margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgba(176,141,87,0.25); }
.checkout-totals div { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.checkout-totals dt, .checkout-totals dd { margin: 0; }
.checkout-grand { font-size: 1.15rem; font-weight: 700; border-top: 1px solid rgba(176,141,87,0.25); padding-top: 0.6rem; margin-top: 0.3rem; }
.free-tag { color: var(--ok); font-weight: 700; }
.checkout-inclusive { font-size: 0.75rem; color: var(--ink-soft); opacity: 0.7; margin: 0 0 1rem; }
.pay-methods { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 1rem; }
.pay-methods li {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  border: 1px solid rgba(176,141,87,0.4); border-radius: var(--radius); padding: 0.25rem 0.5rem; color: var(--ink-soft);
}
.checkout-assurances { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid rgba(176,141,87,0.25); display: grid; gap: 0.5rem; }
.checkout-assurances li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-soft); }
.checkout-assurances .material-symbols-outlined { font-size: 1.1rem; color: var(--primary); }

/* Catalog toolbar + pagination */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.result-count { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.sort-form { display: flex; align-items: center; gap: 0.5rem; }
.sort-form label { font-size: 0.85rem; color: var(--ink-soft); }
.sort-form select { padding: 0.45rem 0.6rem; border: 1px solid rgba(58,47,40,0.3); border-radius: var(--radius); font: inherit; background: #fff; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.5rem; }
.page-link { font-weight: 600; text-decoration: none; color: var(--primary); padding: 0.5rem 1rem; border: 1px solid rgba(176,141,87,0.4); border-radius: var(--radius); }
.page-link:hover { background: rgba(176,141,87,0.12); }
.page-status { font-size: 0.88rem; color: var(--ink-soft); }

/* Newsletter capture band + WhatsApp FAB */
.newsletter-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 1.75rem 0 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(176,141,87,0.25);
}
.newsletter-copy h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 0.35rem; color: var(--wood-grain); }
.newsletter-copy p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 0.5rem; flex: 1; min-width: 260px; max-width: 460px; }
.newsletter-form input[type=email] {
  flex: 1; min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid rgba(58,47,40,0.3);
  border-radius: var(--radius); font: inherit; background: #fff;
}
.newsletter-form .btn { white-space: nowrap; }

.whatsapp-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 3.5rem; height: 3.5rem; border-radius: 999px; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); color: #fff; }
@media (max-width: 560px) {
  .newsletter-band { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; max-width: none; }
  .whatsapp-fab { width: 3rem; height: 3rem; right: 0.85rem; bottom: 0.85rem; }
}
