:root {
  /* Warm ivory base — between N1's and N2's creams, but its own value */
  --color-bg: #fbf3ec;
  --color-bg-card: #f3e4d8;
  --color-bg-input: #f0dfce;
  --color-text: #2b1810;
  --color-text-muted: #8a7364;
  --color-border: #e3cdb8;
  /* Primary brand/CTA color: refined from the original Shopify store's deep maroon.
     Every existing --color-accent usage (buttons, prices, links) becomes this. */
  --color-accent: #5c0a24;
  --color-accent-dark: #3e0618;
  /* Signature accent: warm gold — new to this build, used sparingly (stars, dividers,
     the arch-card motif, the secondary "Buy it Now" CTA) so it reads as one deliberate
     highlight rather than a second competing brand color. */
  --color-gold: #c08a3e;
  --color-gold-dark: #9c6d2c;
  --color-star: var(--color-gold);
  --max-width: 1320px;
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, .product_title, .section-heading h2, .product-info h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Announcement bar (marquee) */
.announcement-bar {
  background: var(--color-accent);
  color: var(--color-bg-card);
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 0;
}
.announcement-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.announcement-track span {
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
}
.header-row__start {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  grid-column: 1;
  min-width: 0;
}
.header-row__end {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
  /* Pin to the last grid column explicitly — .header-search sits between
     these two in the DOM and goes display:none on mobile, which removes it
     from the grid entirely and would otherwise auto-place this into the
     middle column instead of the right one. */
  grid-column: 3;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  padding: 9px 14px;
  width: 320px;
  max-width: 100%;
  justify-self: center;
}
.header-search .icon { width: 15px; height: 15px; color: var(--color-text-muted); }
.header-search input {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
  width: 100%;
  color: var(--color-text);
}
.header-search input::placeholder { color: var(--color-text-muted); }

.site-logo-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--color-text);
  white-space: nowrap;
  line-height: 1;
}

.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.header-actions a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-actions a:hover { color: var(--color-accent); }
.cart-link { position: relative; display: flex; align-items: center; }
.cart-link .icon { width: 20px; height: 20px; }
.cart-link .cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--color-accent); color: #fff; font-size: 10px;
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.main-nav-row { border-top: 1px solid var(--color-border); }
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 7px 0;
}
.main-nav > li { position: relative; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.main-nav a .icon { width: 15px; height: 15px; }
.main-nav a:hover { color: var(--color-accent); }
.main-nav .has-children:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  z-index: 20;
}
.dropdown li a {
  display: block;
  padding: 8px 16px;
  text-transform: none;
  font-weight: 400;
  font-size: 14px;
}
.dropdown li a:hover { background: var(--color-bg-input); }

/* Hero / slideshow */
.hero {
  position: relative;
  height: 68vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* Anchor to the top so cover-cropping trims off the bottom of the image
     (floor/feet) instead of the top (faces/heads) when the hero's aspect
     ratio is narrower than the source photo's. */
  background-position: top center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,10,8,0.55) 0%, rgba(20,10,8,0.05) 55%);
}
/* .hero__wrap is a real .wrap (max-width:1320px, centered) so its left edge lines up
   with the header logo and every other section's content — .hero__content then sits
   as a plain left-aligned block inside it, capped at 640px for readable line length.
   (A bare .hero__content.wrap used to do both jobs at once, which either centered the
   whole box — via .wrap's margin:auto — or, when that margin was zeroed out, pinned it
   flush to the raw viewport edge instead of matching the rest of the page's inset.) */
.hero__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__content {
  color: #fff;
  padding-bottom: 56px;
  text-align: left;
  max-width: 640px;
}
.hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(20,10,8,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.hero__arrow:hover { background: rgba(20,10,8,0.6); }
.hero__arrow .icon { width: 18px; height: 18px; }
.hero__arrow--prev { left: 24px; }
.hero__arrow--prev .icon { transform: rotate(180deg); }
.hero__arrow--next { right: 24px; }
.hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 10px;
}
.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.hero__dots button.is-active { background: #fff; }
@media (max-width: 640px) {
  .hero__arrow { display: none; }
}
.hero__content .eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  opacity: 0.85;
}
.hero__content h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 56px);
  margin: 0 0 16px;
}
.hero__content p { font-size: 15px; margin: 0 0 20px; opacity: 0.9; letter-spacing: 0.03em; text-transform: uppercase; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border: 1px solid currentColor;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: all 0.2s ease;
}
.btn:hover { background: #fff; color: var(--color-text); }
.btn--solid {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.btn--solid:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn--dark { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.btn--outline { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn--outline:hover { background: var(--color-accent); color: #fff; }

/* Section headings */
.section { padding: 48px 0; }
.section + .section { padding-top: 8px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 28px; font-weight: 500; margin: 0 0 6px; letter-spacing: 0; }
.section-heading::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--color-gold);
  margin-top: 12px;
}
.section-heading--center::after { margin-left: auto; margin-right: auto; }
.section-heading p { color: var(--color-text-muted); margin: 0; font-size: 14px; }
.section-heading--center { text-align: center; }

/* Category marquee — continuously auto-scrolling row of circular category tiles
   (content is duplicated in the markup so the loop point is seamless) */
.category-marquee {
  overflow: hidden;
}
.category-marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: category-marquee 45s linear infinite;
}
.category-marquee:hover .category-marquee__track { animation-play-state: paused; }
@keyframes category-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.category-marquee .category-card { flex: 0 0 260px; margin: 0; }
.category-card {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); }
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(20,10,8,0.55) 0%, rgba(20,10,8,0.15) 100%);
}
/* Category label — curves along the tile's inner border instead of sitting
   as a straight horizontal line, via an SVG text-on-a-path. */
.category-card__label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.category-card__label text {
  fill: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px 20px;
  align-items: stretch;
}

/* Left-to-right scrolling row used for homepage category sections (5–10 products) */
.product-grid--scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  gap: 20px;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.product-grid--scroll::-webkit-scrollbar { height: 6px; }
.product-grid--scroll::-webkit-scrollbar-thumb { background: var(--color-border); }
.product-grid--scroll .product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  .product-grid--scroll .product-card { flex-basis: 200px; }
}

.product-scroll-row { position: relative; }
.product-scroll-row__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-scroll-row__arrow:hover { border-color: var(--color-accent); color: var(--color-accent); }
.product-scroll-row__arrow--prev { left: -8px; }
.product-scroll-row__arrow--prev .icon { transform: rotate(180deg); }
.product-scroll-row__arrow--next { right: -8px; }
.product-scroll-row__view-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 780px) {
  .product-scroll-row__arrow { display: none; }
}
.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.product-card__link { display: flex; flex-direction: column; flex: 1; }
.product-card__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-bg-input);
  cursor: pointer;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media img.card-gallery-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card__media img.card-gallery-image.is-active { opacity: 1; }
.product-card__dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.product-card__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}
.product-card__dots span.is-active { background: #fff; transform: scale(1.3); }
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  z-index: 2;
}
.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--color-text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}
.product-card__wishlist .icon { width: 16px; height: 16px; }
.product-card__wishlist:hover { color: var(--color-accent); transform: scale(1.08); }
.product-card__wishlist.is-active { color: var(--color-accent); }
.product-card__wishlist.is-active .icon { fill: var(--color-accent); }

.product-card__quick-add {
  /* WooCommerce's own default .button style has equal specificity to a single
     class selector and its stylesheet can print after ours, so it silently wins
     the cascade here without !important — that's why this was rendering WC's
     stock grey instead of the intended tan background. */
  display: block;
  text-align: center;
  margin-top: auto;
  padding-top: 8px;
  padding: 10px;
  border: 1px solid var(--color-border) !important;
  background: var(--color-bg-input) !important;
  color: var(--color-text) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  cursor: pointer;
}
.product-card__quick-add:hover { background: var(--color-accent) !important; border-color: var(--color-accent) !important; color: #fff !important; }
.product-card__quick-add.loading { opacity: 0.6; pointer-events: none; }
.product-card__quick-add.added::after { content: ' \2713'; }
.product-card__body { padding: 12px 2px 0; }
.product-card__title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.price--compare { text-decoration: line-through; color: var(--color-text-muted); font-size: 13px; font-weight: 400; margin-left: 8px; }
.product-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; }

/* Star rating (SVG) */
.stars { display: inline-flex; gap: 1px; }
.star-icon { fill: none; stroke: var(--color-border); stroke-width: 1.5px; }
.star-icon.is-filled { fill: var(--color-star); stroke: var(--color-star); }
.star-icon.is-half { fill: var(--color-star); stroke: var(--color-star); opacity: 0.5; }

/* Trust banner */
.trust-banner {
  padding: 12px 24px;
}
.trust-banner h2 {
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .trust-banner h2 { white-space: normal; }
}

/* Testimonials */
.testimonials-heading { margin-bottom: 28px; }
.testimonials-heading .label { font-size: 16px; margin-bottom: 8px; display: block; }
.testimonials-heading .count { font-size: 13px; color: var(--color-text-muted); display: flex; align-items: center; gap: 8px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--color-bg-input);
  padding: 22px;
  border: 1px solid var(--color-border);
}
.testimonial-card .stars { margin-bottom: 10px; }
.testimonial-card .title { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.testimonial-card p { font-size: 13px; color: var(--color-text-muted); margin: 0; }
.testimonial-card .name { font-weight: 500; margin-top: 12px; display: block; font-size: 13px; }

/* Content blocks */
.content-block { max-width: 760px; margin: 0 auto; }
.content-block h2 { font-size: 20px; text-transform: uppercase; margin: 20px 0 12px; }
.content-block p { color: var(--color-text-muted); margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
.content-block strong { color: var(--color-text); }
.content-block a { text-decoration: underline; }
.content-block a:hover { color: var(--color-accent); }

/* Homepage: reviews (40%) / description (60%) side by side, stretched to equal height */
.reviews-content-split {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 56px;
  align-items: stretch;
}
.reviews-content-split__reviews {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.testimonial-marquee {
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.testimonial-marquee__track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: testimonial-marquee 22s linear infinite;
}
.testimonial-marquee:hover .testimonial-marquee__track { animation-play-state: paused; }
@keyframes testimonial-marquee {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.reviews-content-split__reviews .testimonial-grid {
  grid-template-columns: 1fr;
}
.reviews-content-split__description.content-block {
  max-width: none;
  margin: 0;
  border-left: 1px solid var(--color-border);
  padding-left: 40px;
}
@media (max-width: 900px) {
  .reviews-content-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reviews-content-split__description.content-block {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 32px;
  }
  /* Stacked layout: show the reviews as a plain static list instead of a
     height-matched marquee, since there's no second column to match height to. */
  .testimonial-marquee { min-height: 0; overflow: visible; mask-image: none; flex: none; }
  .testimonial-marquee__track { animation: none; }
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { text-decoration: underline; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .icon { width: 12px; height: 12px; }

/* Category hero banner */
.collection-hero {
  background-size: cover;
  background-position: center;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 32px;
}
.collection-hero__inner { padding: 32px 24px; color: #fff; }
.collection-hero__inner h1 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 8px;
}
.collection-hero__inner p { font-size: 14px; opacity: 0.9; margin: 0 0 10px; max-width: 560px; }
.collection-hero__count {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 12px;
}
.collection-page-heading { padding: 32px 0 8px; }
.collection-page-heading h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

/* Collection layout */
.collection-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-bottom: 64px;
}
@media (max-width: 780px) { .collection-layout { grid-template-columns: 1fr; } }
.filters-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.filters-box ul { list-style: none; margin: 0; padding: 0; }
.filters-box ul li { margin-bottom: 4px; font-size: 14px; }
.filters-box ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.filters-box ul li a:hover { color: var(--color-accent); background: var(--color-bg-card); }
.filters-box ul li a.is-active { color: var(--color-accent); background: var(--color-bg-card); font-weight: 600; }
.filters-box ul li a em { font-style: normal; font-size: 12px; color: var(--color-text-muted); }
.filters-box ul li a.is-active em { color: var(--color-accent); }

.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.collection-toolbar select {
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  font-family: inherit;
  background: var(--color-bg-input);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination ul.page-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination ul.page-numbers li { display: block; }
.pagination a, .pagination span,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  font-size: 13px;
}
.pagination a { text-decoration: none; }
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .current { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.pagination-note { text-align: center; font-size: 12px; color: var(--color-text-muted); margin-top: 12px; }

@media (max-width: 640px) {
  .pagination ul.page-numbers { gap: 6px; }
  .pagination a, .pagination span, .pagination .page-numbers { min-width: 32px; height: 32px; padding: 0 8px; font-size: 12px; }
}

/* "From ID" jump bar */
.from-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
  font-size: 13px;
}
.from-bar form { display: flex; align-items: center; gap: 8px; }
.from-bar input[type="number"] {
  width: 84px;
  padding: 9px 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-input);
  font-family: inherit;
  font-size: 13px;
}
.from-bar .ids-list { color: var(--color-text-muted); font-size: 12px; }
.from-note {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}
.from-note a { text-decoration: underline; }
.anchor-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent);
  font-size: 13px;
}
.anchor-callout strong { color: var(--color-text); }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 20px;
  padding: 8px 0 64px;
}
/* Grid items default to min-width:auto, so a non-wrapping descendant (e.g. the
   "Complete the Look" item names below, which are white-space:nowrap + ellipsis)
   can force this column wider than its track instead of actually eliding — pinning
   min-width:0 makes the column honor the track width and lets ellipsis/wrap work. */
.product-detail > * { min-width: 0; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-gallery__thumbs div {
  aspect-ratio: 4/5;
  opacity: 0.6;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
}
.product-gallery__thumbs div:hover, .product-gallery__thumbs div.is-active { opacity: 1; border-color: var(--color-accent); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__main {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-bg-input);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid;
}
.pill .icon { width: 13px; height: 13px; }
.pill--bestseller { color: var(--color-accent); border-color: var(--color-accent); background: rgba(92,10,36,0.08); }
.pill--party { color: #7e3f9d; border-color: #7e3f9d; background: rgba(126,63,157,0.08); }
.pill--ready { color: #2f7a4f; border-color: #2f7a4f; background: rgba(47,122,79,0.08); }

.product-info h1 { font-size: 28px; font-weight: 500; margin: 0 0 14px; line-height: 1.3; }
.product-info .price-row { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.product-info .tax-note { font-size: 13px; color: var(--color-text-muted); margin-bottom: 20px; }

.urgency-banner {
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  padding: 14px 16px;
  font-size: 13px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.urgency-banner .icon { color: var(--color-accent); width: 15px; height: 15px; }
.urgency-banner strong { color: var(--color-accent); }
.urgency-banner .row { display: flex; align-items: center; gap: 6px; }

.option-row { margin-bottom: 16px; }
.option-row label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--color-text-muted); }
.option-row select {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  font-family: inherit;
  background: var(--color-bg-input);
  min-width: 160px;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.qty-selector button { border: none; background: none; width: 40px; height: 46px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-selector input { width: 40px; border: none; text-align: center; font-family: inherit; background: none; }
.product-actions { display: flex; gap: 12px; margin: 20px 0 12px; }
.product-actions .btn { flex: 1; }
.btn--full { width: 100%; padding: 15px; }
.trust-icons { display: flex; gap: 20px; margin-top: 20px; font-size: 12px; color: var(--color-text-muted); flex-wrap: wrap; }
.trust-icons span { display: flex; align-items: center; gap: 6px; }
.trust-icons .icon { width: 16px; height: 16px; color: var(--color-accent); }

/* "Complete the Look" — cross-sell add-ons on the product page */
.frequently-bought {
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  padding: 20px;
  margin-top: 24px;
}
.frequently-bought__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.frequently-bought__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.frequently-bought__item:last-of-type { border-bottom: none; }
.frequently-bought__item--main { cursor: default; }
.frequently-bought__item img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.frequently-bought__checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}
.frequently-bought__item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.frequently-bought__item-name {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frequently-bought__item-name a { color: inherit; }
.frequently-bought__item-name a:hover { color: var(--color-accent); }
.frequently-bought__item-price { font-size: 12px; color: var(--color-text-muted); }
.frequently-bought__item--main .frequently-bought__item-name { font-weight: 600; }
.frequently-bought__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.frequently-bought__total-label { font-size: 13px; color: var(--color-text-muted); }
.frequently-bought__total { color: var(--color-text); font-size: 16px; }
.frequently-bought__add-btn { flex-shrink: 0; }
.frequently-bought__add-btn:disabled { opacity: 0.6; cursor: default; }

/* Product Details (left) / Reviews (right), even 50/50 columns on the product page */
.reviews-description-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.reviews-description-grid__description {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.reviews-description-grid__reviews {
  border-left: 1px solid var(--color-border);
  padding-left: 40px;
}
/* Product details — FAQ-style accordion, one section per detected heading
   ("Top Details", "Bottom Details", "Specifications", etc.), each collapsed
   by default with its own dropdown toggle. */
.details-accordion__item { border-bottom: 1px solid var(--color-border); }
.details-accordion__item:first-child { border-top: 1px solid var(--color-border); }
.details-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.details-accordion__chevron { display: inline-flex; flex-shrink: 0; color: var(--color-accent); }
.details-accordion__chevron .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.details-accordion__item.is-open .details-accordion__chevron .icon { transform: rotate(180deg); }
.details-accordion__panel {
  display: none;
  padding: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.details-accordion__panel p { margin: 0 0 10px; }
.details-accordion__panel p:last-child { margin-bottom: 0; }
.details-accordion__item.is-open .details-accordion__panel { display: block; }
.product-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.product-specs__table tr { border-bottom: 1px solid var(--color-border); }
.product-specs__table tr:last-child { border-bottom: none; }
.product-specs__table th, .product-specs__table td {
  text-align: left;
  padding: 10px 12px;
  font-weight: 400;
}
.product-specs__table th {
  width: 40%;
  color: var(--color-text);
  font-weight: 500;
  background: var(--color-bg-input);
}
.product-specs__table td { color: var(--color-text-muted); }

@media (max-width: 900px) {
  .reviews-description-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reviews-description-grid__reviews {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 24px;
  }
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 8px 0 64px;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-summary {
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  padding: 24px;
  align-self: start;
}
.checkout-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.checkout-line__media { width: 56px; height: 70px; flex-shrink: 0; overflow: hidden; background: var(--color-bg); }
.checkout-line__media img { width: 100%; height: 100%; object-fit: cover; }
.checkout-line__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.checkout-line__title { font-size: 13px; font-weight: 500; }
.checkout-line__qty { font-size: 12px; color: var(--color-text-muted); }
.checkout-line__price { font-size: 13px; font-weight: 500; white-space: nowrap; }
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--color-border); padding: 12px 14px;
  font-size: 14px; cursor: pointer;
}
.payment-option input { margin: 0; }

/* Checkout: multi-step wizard */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.field-optional { font-size: 11px; color: var(--color-text-muted); font-weight: 400; }

.step-track { display: flex; align-items: center; justify-content: center; padding: 32px 0 8px; gap: 0; }
.step-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.step-dot {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--color-border); background: var(--color-bg-card); color: var(--color-text-muted);
  transition: all .3s ease;
}
.step-dot .icon { width: 16px; height: 16px; }
.step-dot.is-current { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-bg); }
.step-dot.is-done { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.step-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.step-line { flex: 1; height: 2px; max-width: 90px; background: var(--color-border); margin-bottom: 22px; }
.step-line.is-done { background: var(--color-accent); }

.step-summary-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  padding: 14px 18px; margin-bottom: 18px;
}
.step-summary-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); display: block; margin-bottom: 4px; }
.step-summary-name { font-size: 15px; font-weight: 500; }
.step-summary-sub { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.step-edit-link { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); border: 1px solid var(--color-accent); padding: 6px 12px; white-space: nowrap; }

/* Order confirmation */
.order-confirm { max-width: 640px; margin: 0 auto; text-align: center; }
.order-confirm__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(47,122,79,0.1); color: #2f7a4f; margin-bottom: 16px;
}
.order-confirm__icon .icon { width: 28px; height: 28px; }
.order-confirm h1 { font-size: 26px; text-transform: uppercase; margin-bottom: 12px; }
.order-confirm p { color: var(--color-text-muted); margin-bottom: 24px; }
.order-confirm__box {
  background: var(--color-bg-input); border: 1px solid var(--color-border);
  padding: 20px; text-align: left; margin-bottom: 24px;
}
.order-confirm__box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; gap: 16px; }
.order-confirm__box .row span:last-child { text-align: right; color: var(--color-text-muted); }
.order-confirm__box .row.total { border-top: 1px solid var(--color-border); font-weight: 600; }
.order-confirm__box .row.total span:last-child { color: var(--color-text); }
.order-confirm__items { text-align: left; }

/* Order history cards */
.order-card { border: 1px solid var(--color-border); padding: 20px; margin-bottom: 20px; }
.order-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.order-card__id { font-weight: 600; margin-right: 10px; }
.order-card__date { color: var(--color-text-muted); font-size: 13px; }
.order-card__status { display: flex; align-items: center; gap: 6px; color: #2f7a4f; font-size: 13px; text-transform: uppercase; }
.order-card__status .icon { width: 14px; height: 14px; }
.order-card__footer { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); font-size: 14px; color: var(--color-text-muted); }
.order-card__total { font-weight: 600; color: var(--color-text); font-size: 16px; }

/* Cart */
.cart-page { padding: 32px 0 64px; }
.cart-page h1 { text-transform: uppercase; font-size: 26px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); padding: 12px 0; }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cart-line { display: flex; gap: 16px; align-items: center; }
.cart-line__media { width: 70px; height: 90px; flex-shrink: 0; overflow: hidden; background: var(--color-bg-input); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { max-width: 340px; margin-left: auto; margin-top: 24px; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; }
.cart-summary .row.total { font-weight: 600; font-size: 18px; border-top: 1px solid var(--color-border); }
.empty-state { text-align: center; padding: 80px 24px; color: var(--color-text-muted); }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--color-border); }
.empty-state p { margin: 0 0 20px; font-size: 15px; }
.empty-state .btn { display: inline-flex; }

/* Search page form */
.search-form {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 40px;
  display: flex;
  gap: 8px;
  box-sizing: border-box;
}
.search-form input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-input);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.search-form button { flex-shrink: 0; }

/* Forms */
.form-page { max-width: 420px; margin: 0 auto; padding: 56px 24px; }
.form-page h1 { text-align: center; margin-bottom: 24px; font-size: 24px; text-transform: uppercase; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-input);
  font-family: inherit;
  font-size: 14px;
}
.form-footnote { text-align: center; font-size: 13px; margin-top: 16px; color: var(--color-text-muted); }
.form-error {
  background: rgba(183,49,46,0.08); border: 1px solid rgba(183,49,46,0.3);
  color: var(--color-accent); font-size: 13px; padding: 12px 14px; margin-bottom: 20px;
}
.form-success {
  background: rgba(47,122,79,0.08); border: 1px solid rgba(47,122,79,0.3);
  color: #2f7a4f; font-size: 13px; padding: 12px 14px; margin-bottom: 20px;
}

/* Static content pages */
.policy-page { max-width: 780px; margin: 0 auto; padding: 8px 24px 80px; }
.policy-page h1 { font-size: 28px; margin-bottom: 20px; text-transform: uppercase; text-align: center; }
.policy-page h2 { font-size: 17px; margin-top: 30px; text-transform: uppercase; }
.policy-page p, .policy-page li { color: var(--color-text-muted); font-size: 14px; line-height: 1.7; }
.policy-page ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.policy-page strong { color: var(--color-text); }
.policy-page a { text-decoration: underline; }
.policy-page a:hover { color: var(--color-accent); }
.contact-info p { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--color-text); margin: 0 0 14px; }
.contact-info .icon { color: var(--color-accent); width: 17px; height: 17px; }

/* Footer — illustration fills the whole footer as a true background, content sits on top of it */
.site-footer {
  position: relative;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
  background-color: var(--color-bg);
  background-image: url('../images/footer-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.site-footer::before {
  /* Soft cream wash so the link columns stay legible over the busiest part of the illustration */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(251,243,236,0.85) 45%, rgba(251,243,236,0.35) 75%, rgba(251,243,236,0) 100%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 140px 24px 160px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col h4 .icon { width: 12px; height: 12px; color: var(--color-text-muted); }
.footer-col ul li { margin-bottom: 12px; font-size: 14px; }
.footer-col ul li a { display: inline-flex; align-items: center; gap: 6px; }
.footer-col ul li a .icon { width: 14px; height: 14px; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; color: var(--color-text); }
.footer-col .highlight { font-weight: 600; display: block; margin-top: 6px; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { display: flex; }
.footer-social .icon { width: 19px; height: 19px; }
.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 18px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text);
  text-shadow: 0 1px 3px rgba(251,243,236,0.9), 0 0 12px rgba(251,243,236,0.7);
}
.footer-bottom .icon { width: 12px; height: 12px; color: var(--color-accent); display: inline; vertical-align: -1px; }

/* ==========================================================================
   Mobile navigation: hamburger, drawer, bottom dock
   ========================================================================== */
.hamburger-btn { display: none; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger-btn .icon { width: 22px; height: 22px; }
.mobile-cart-icon { display: none; position: relative; }
.mobile-cart-icon .icon { width: 22px; height: 22px; }
.mobile-cart-icon .cart-count {
  position: absolute; top: 0; right: 4px;
  background: var(--color-accent); color: #fff; font-size: 10px;
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

.mobile-nav-drawer {
  position: fixed; top: 0; left: -85%; width: 85%; max-width: 340px; height: 100%;
  background: var(--color-bg); z-index: 200; overflow-y: auto;
  transition: left 0.25s ease; box-shadow: 8px 0 24px rgba(0,0,0,0.15);
}
.mobile-nav-drawer.is-open { left: 0; }
.mobile-nav-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--color-border);
}
.mobile-nav-drawer__header .site-logo-text { font-size: 22px; }
.drawer-close { background: none; border: none; padding: 4px; cursor: pointer; }
.drawer-close .icon { width: 20px; height: 20px; }
.mobile-nav-list li { border-bottom: 1px solid var(--color-border); }
.mobile-nav-list > li > a {
  display: flex; align-items: center; gap: 8px; padding: 16px 20px;
  font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em;
}
.mobile-nav-list .icon { width: 16px; height: 16px; }
.mobile-nav-toggle { justify-content: space-between; }
.mobile-nav-toggle .icon { transition: transform 0.2s ease; }
.mobile-nav-list li.is-open .mobile-nav-toggle .icon { transform: rotate(180deg); }
.mobile-nav-sublist { display: none; padding: 0 20px 12px 32px; }
.mobile-nav-list li.is-open .mobile-nav-sublist { display: block; }
.mobile-nav-sublist li { border-bottom: none; }
.mobile-nav-sublist a { display: block; padding: 8px 0; font-size: 14px; text-transform: none; color: var(--color-text-muted); }

.mobile-nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150;
}
.mobile-nav-backdrop.is-open { display: block; }
body.no-scroll { overflow: hidden; }

.mobile-dock {
  display: none;
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100;
  background: #fff; border-top: 1px solid var(--color-border);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.mobile-dock .dock__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: none; font-family: inherit; cursor: pointer;
  font-size: 11px; color: var(--color-text);
}
.mobile-dock .dock__item .icon { width: 20px; height: 20px; }
.mobile-dock .dock__item.is-active { color: var(--color-accent); }
.dock__cart-wrap { position: relative; display: flex; }
.dock__cart-wrap .cart-count {
  position: absolute; top: -6px; right: -4px;
  background: var(--color-accent); color: #fff; font-size: 9px;
  border-radius: 50%; width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
}


@media screen and (max-width: 1007px) {
  .collection-layout { grid-template-columns: 1fr; }
  .filters-box { border-bottom: 1px solid var(--color-border); padding-bottom: 20px; margin-bottom: 20px; }
  /* A horizontal scrolling row (marquee-style) instead of a multi-row wrapped
     pill grid — matches the category marquee elsewhere on the site and
     avoids the filter list eating several rows of vertical space on mobile. */
  .filters-box ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters-box ul::-webkit-scrollbar { display: none; }
  .filters-box ul li {
    flex: 0 0 auto;
    margin-bottom: 0; padding: 8px 16px; border: 1px solid var(--color-border);
    font-size: 13px; border-radius: 999px; white-space: nowrap;
  }
}
@media screen and (max-width: 749px) {
  .filters-box ul { margin-left: -16px; margin-right: -16px; padding-left: 16px; }
  .filters-box ul li:last-child { margin-right: 16px; }
}

@media screen and (max-width: 749px) {
  /* Header */
  .header-row { padding: 16px 20px; gap: 16px; min-height: 60px; }
  .hamburger-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; }
  .hamburger-btn .icon { width: 24px; height: 24px; }
  .header-search { display: none; }
  .header-actions { display: none; }
  .mobile-cart-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
  .mobile-cart-icon .icon { width: 24px; height: 24px; }
  .site-logo-text { font-size: 24px; }
  .main-nav-row { display: none; }
  .announcement-track { animation-duration: 18s; }
  .announcement-bar { padding: 10px 0; font-size: 12px; }

  /* Bottom dock takes over primary nav actions on phone */
  .mobile-dock { display: flex; }
  body { padding-bottom: 64px; }
  .template-product .mobile-dock { display: none; }
  .template-product body,
  body.has-sticky-cart { padding-bottom: 76px; }

  /* Hero */
  .hero { height: 56vh; min-height: 340px; }
  .hero__content { padding-bottom: 40px; }
  .hero__content h1 { font-size: 34px; }
  .hero__content .eyebrow { font-size: 16px; }

  .section { padding: 32px 0; }
  .section + .section { padding-top: 4px; }
  .wrap { padding: 0 16px; }

  /* Category & product grids */
  /* Bleed edge-to-edge on mobile instead of sitting boxed-in inside .wrap's
     gutter — the circular tiles already have their own breathing room, so
     the extra side padding just read as wasted margin. */
  .category-marquee { margin-left: -16px; margin-right: -16px; }
  .category-marquee__track { gap: 14px; animation-duration: 30s; padding-left: 16px; }
  .category-marquee .category-card { flex-basis: 160px; }
  .category-card { max-width: 200px; padding: 14px; }
  .category-card span { font-size: 14px; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .product-card__title { font-size: 12px; min-height: 32px; }

  /* Same edge-to-edge bleed as the category marquee — horizontal product
     rows (Best Sellers, You May Also Like, etc.) were sitting boxed-in
     inside .wrap's gutter, cropping the next card's preview. */
  .product-grid--scroll { margin-left: -16px; margin-right: -16px; padding-left: 16px; scroll-padding-left: 16px; }
  .product-grid--scroll .product-card:last-child { margin-right: 16px; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-banner h2 { font-size: 20px; }

  /* Product detail: stack thumbs above main image */
  .product-detail { grid-template-columns: 1fr; gap: 16px; padding-top: 0; }
  .product-gallery__thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .product-gallery__thumbs div { flex: 0 0 64px; }
  .product-gallery__main { order: 1; }
  .product-info { order: 3; }
  .breadcrumb { display: none; }
  .product-actions .btn--solid { display: none; }

  /* Quantity + Add to Cart + Buy it Now become a fixed 3-column bar at the
     bottom of the viewport on mobile, replacing their normal in-flow position.
     Variable products: the row lives in WC's own .woocommerce-variation-add-to-cart
     wrapper. Simple products: the whole (much shorter) form.cart IS that row. */
  .product-info .woocommerce-variation-add-to-cart,
  .product-info form.cart:not(:has(.variations)) {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    margin: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(43,24,16,0.12);
    border-top: 1px solid var(--color-border);
  }
  .product-info .woocommerce-variation-add-to-cart .quantity,
  .product-info form.cart:not(:has(.variations)) .quantity {
    flex: 0 0 64px;
    margin-right: 0;
    height: auto;
  }
  .product-info .woocommerce-variation-add-to-cart .quantity .qty,
  .product-info form.cart:not(:has(.variations)) .quantity .qty {
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .product-info .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
  .product-info .woocommerce-variation-add-to-cart .btn--buy-now,
  .product-info form.cart:not(:has(.variations)) button.single_add_to_cart_button,
  .product-info form.cart:not(:has(.variations)) .btn--buy-now {
    flex: 1;
    padding: 0 8px;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  body.single-product { padding-bottom: 72px; }

  /* Footer accordion */
  .footer-grid { grid-template-columns: 1fr; padding: 32px 16px; gap: 0; }
  .footer-col { border-bottom: 1px solid var(--color-border); padding: 16px 0; }
  .footer-col h4 { cursor: pointer; justify-content: space-between; margin-bottom: 0; }
  .footer-col .icon.icon-chevron-down { transition: transform 0.2s ease; }
  .footer-col.is-open .icon.icon-chevron-down { transform: rotate(180deg); }
  .footer-col ul, .footer-col address, .footer-col .footer-social {
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .footer-col.is-open ul, .footer-col.is-open address, .footer-col.is-open .footer-social {
    max-height: 600px; margin-top: 16px;
  }
  .site-footer { min-height: 420px; }
  .footer-grid { padding-bottom: 180px; }

  /* Cart table -> stacked rows */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
  .cart-table td { padding: 4px 0; border: none; }
  .cart-summary { max-width: 100%; }

  .collection-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* 404 page */
.error-404__hero {
  text-align: center;
  padding: 72px 24px 56px;
  max-width: 640px;
}
.error-404__eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 5px 14px;
  margin-bottom: 20px;
}
.error-404__hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 14px;
  line-height: 1.25;
}
.error-404__hero p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.error-404__search {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 28px;
  justify-self: center;
}
.error-404__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error-404__actions .btn .icon { width: 15px; height: 15px; }
.error-404__categories { padding-top: 0; }
.error-404__cat-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.error-404__cat-links a {
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.error-404__cat-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.error-404-page { display: flex; flex-direction: column; align-items: center; }
.error-404-page > .error-404__hero { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 640px) {
  .error-404__hero { padding: 48px 20px 40px; }
  .error-404__actions { flex-direction: column; width: 100%; }
  .error-404__actions .btn { width: 100%; }
}
