/* ============================================================
   period.lk — Main stylesheet
   Sojourn design system v3.0.0
   Tokens live in style.css (:root)
   ============================================================ */

/* ── Reset / base ───────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font: var(--type-body-md);
  font-family: var(--font-sans);
  background-color: var(--color-canvas);
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

img,video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul,ol { list-style: none; }

/* Screen reader utility */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: static; width: auto; height: auto; clip: auto; margin: 0; padding: 8px 16px; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container       { max-width: var(--container);      margin: 0 auto; padding: 0 var(--space-base); }
.container-wide  { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-base); }
.container-narrow{ max-width: var(--container-narrow);margin: 0 auto; padding: 0 var(--space-base); }

/* ── Eyebrow ─────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--color-wine);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: var(--type-btn);
  font-family: var(--font-sans);
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.btn--primary:hover  { background: var(--color-primary-active); }
.btn--primary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-blush); }

.btn--ghost {
  background: rgba(255,255,255,.18);
  color: var(--color-on-primary);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.28); }

.btn--pill { border-radius: var(--radius-full); }
.btn--sm   { height: 36px; padding: 0 18px; font-size: 14px; }
.btn--lg   { height: 56px; padding: 0 40px; font-size: 17px; }

/* ── Announcement bar ───────────────────────────────────────── */
.announcement-bar {
  background: var(--color-wine);
  color: var(--color-on-wine-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .015em;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.announcement-bar__track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.announcement-bar__track:hover { animation-play-state: paused; }

.announcement-bar__item { padding: 0 12px; }
.announcement-bar__sep  { opacity: .5; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Store header ───────────────────────────────────────────── */
.store-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-hairline);
  transition: box-shadow .2s;
}
.store-header.is-scrolled { box-shadow: var(--shadow-card); }

.store-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: 72px;
}

/* Logo */
.store-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.store-header__logo:hover { text-decoration: none; }
.site-logo        { height: 44px; width: auto; }
.site-logo-mark   { flex-shrink: 0; }
.site-logo-text   {
  font: 700 22px/1 var(--font-serif);
  color: var(--color-ink);
  letter-spacing: -.01em;
}
.site-logo-dot { color: var(--color-wine); }

/* Nav */
.store-header__nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  font: var(--type-nav);
  font-family: var(--font-sans);
  color: var(--color-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.nav-list a:hover, .nav-list .current-menu-item > a {
  background: var(--color-blush);
  color: var(--color-wine);
  text-decoration: none;
}

/* Header actions */
.store-header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--color-body);
  position: relative;
  transition: background .15s, color .15s;
}
.header-icon-btn:hover { background: var(--color-blush); color: var(--color-wine); }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--color-wine);
  color: var(--color-on-primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform .15s;
}
.cart-badge.is-visible { transform: scale(1); }

/* Mobile toggle — hidden on desktop */
.header-menu-toggle { display: none; }
.icon-close { display: none; }

/* Mobile nav — full-screen overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--color-canvas);
  overflow-y: auto;
  padding: 100px var(--space-xl) var(--space-xl);
  /* slides in from top when shown */
  transform: translateY(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mobile-nav:not([hidden]) {
  transform: translateY(0);
}
.mobile-nav[hidden] {
  display: block !important; /* keep in DOM for transition */
  pointer-events: none;
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__list a {
  display: block;
  padding: 14px 16px;
  font: 500 20px/1.3 var(--font-sans);
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.mobile-nav__list a:hover { background: var(--color-blush); color: var(--color-wine); text-decoration: none; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--scrim-bg);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
}
.search-overlay__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-overlay .search-field {
  flex: 1;
  height: 52px;
  border: 2px solid var(--color-wine);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  font: var(--type-body-lg);
  font-family: var(--font-sans);
  background: var(--color-canvas);
  color: var(--color-ink);
  outline: none;
}
.search-overlay__close {
  color: var(--color-on-primary);
  padding: 8px;
}

/* ── Hero section ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-cream) 55%, var(--color-surface-strong) 100%);
  padding: var(--space-section) 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.hero__copy { max-width: 540px; }

.hero__eyebrow { margin-bottom: var(--space-base); }

.hero__heading {
  font: var(--type-display-2xl);
  font-family: var(--font-serif);
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
}
.hero__heading em {
  font-style: italic;
  color: var(--color-wine);
}

.hero__body {
  font: var(--type-body-lg);
  font-family: var(--font-sans);
  color: var(--color-body);
  margin-bottom: var(--space-xxl);
  max-width: 420px;
}

.hero__actions {
  display: flex;
  gap: var(--space-base);
  flex-wrap: wrap;
}

.hero__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero__media-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-blush-strong);
}
.hero__media-img:first-child { transform: translateY(-24px); }
.hero__media-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}
.section-header .eyebrow { margin-bottom: var(--space-sm); }
.section-header__heading {
  font: var(--type-display-lg);
  font-family: var(--font-serif);
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}
.section-header__sub {
  font: var(--type-body-lg);
  font-family: var(--font-sans);
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Category tiles ─────────────────────────────────────────── */
.categories-section {
  padding: var(--space-section) 0;
  background: var(--color-canvas);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter-grid);
}

.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-blush);
  display: block;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }

.category-tile__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.category-tile:hover .category-tile__img { transform: scale(1.04); }

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,18,22,.7) 0%, transparent 55%);
}

.category-tile__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  color: #fff7f3;
}
.category-tile__sinhala {
  display: block;
  font-size: 12px;
  font-family: var(--font-sans);
  opacity: .75;
  margin-bottom: 4px;
}
.category-tile__name {
  display: block;
  font: 600 18px/1.2 var(--font-serif);
}

/* ── Products grid ───────────────────────────────────────────── */
.products-section {
  padding: var(--space-section) 0;
  background: var(--color-blush);
}
.products-section--cream { background: var(--color-cream); }

.product-grid-native {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter-grid);
}

/* ── Product card ────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-card__plate {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-blush);
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .25s;
}
.product-card__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .25s;
}
.product-card:hover .product-card__img--hover { opacity: 1; }
.product-card:hover .product-card__img:not(.product-card__img--hover) { opacity: 0; }

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-wine);
  color: var(--color-on-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.product-card__badge--sale { background: var(--color-sale); }

.product-card__wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,253,251,.85);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted);
  transition: color .15s, background .15s;
}
.product-card__wishlist:hover, .product-card__wishlist.is-saved {
  color: var(--color-wine);
  background: var(--color-blush);
}

.product-card__atb {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-wine);
  color: var(--color-on-primary);
  font: 600 14px/1 var(--font-sans);
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%);
  transition: transform .22s;
}
.product-card:hover .product-card__atb { transform: translateY(0); }

.product-card__meta {
  padding: var(--space-base);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.product-card__name {
  font: 500 15px/1.3 var(--font-serif);
  color: var(--color-ink);
}

.product-card__stars {
  display: flex;
  gap: 2px;
  color: var(--color-star-rating);
}
.product-card__stars svg { fill: currentColor; }

.product-card__price {
  font: var(--type-price);
  font-family: var(--font-sans);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card__price-old {
  text-decoration: line-through;
  color: var(--color-muted);
  font-weight: 400;
}
.product-card__price-sale { color: var(--color-sale); }

/* ── WooCommerce product grid (native .products list) ────────── */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter-grid);
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font: 500 15px/1.3 var(--font-serif);
  color: var(--color-ink);
  padding: var(--space-base) var(--space-base) 4px;
}

.woocommerce ul.products li.product .price {
  font: var(--type-price);
  font-family: var(--font-sans);
  color: var(--color-ink);
  padding: 0 var(--space-base) var(--space-sm);
}

.woocommerce ul.products li.product .price del { color: var(--color-muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--color-sale); }

.woocommerce ul.products li.product .onsale {
  background: var(--color-sale);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 3px 10px;
  top: 12px; left: 12px;
  min-height: 0;
  min-width: 0;
  line-height: 1.4;
}

.woocommerce ul.products li.product .button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-wine);
  color: var(--color-on-primary);
  font: 600 14px/1 var(--font-sans);
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .18s;
  text-decoration: none;
  margin: 0 var(--space-base) var(--space-base);
}
.woocommerce ul.products li.product .button:hover,
.woocommerce .button:hover { background: var(--color-primary-active); text-decoration: none; }

/* ── Value / trust band ──────────────────────────────────────── */
.value-band {
  padding: var(--space-xxl) 0;
  background: var(--color-cream);
}
.value-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xxl);
}
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-base);
}
.value-item__icon {
  width: 52px; height: 52px;
  background: var(--color-blush);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-wine);
}
.value-item__title {
  font: 600 16px/1.3 var(--font-serif);
  color: var(--color-ink);
}
.value-item__body {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-muted);
  max-width: 240px;
}

/* ── Gifting band ────────────────────────────────────────────── */
.gifting-band {
  padding: var(--space-section) 0;
  background: var(--color-wine);
  color: var(--color-on-primary);
}
.gifting-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}
.gifting-band .eyebrow { color: var(--color-on-wine-muted); }
.gifting-band__heading {
  font: var(--type-display-lg);
  font-family: var(--font-serif);
  color: var(--color-on-primary);
  margin: var(--space-md) 0 var(--space-lg);
}
.gifting-band__body {
  font: var(--type-body-lg);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
  margin-bottom: var(--space-xxl);
  max-width: 400px;
}
.gifting-band__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-base);
}
.gifting-band__media-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-wine-soft);
}
.gifting-band__media-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Testimonial ─────────────────────────────────────────────── */
.testimonial-section {
  padding: var(--space-section) 0;
  background: var(--color-canvas);
}
.testimonial-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xxl);
  background: var(--color-blush);
  border-radius: var(--radius-xl);
}
.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  color: var(--color-star-rating);
  margin-bottom: var(--space-base);
}
.testimonial-card__stars svg { fill: currentColor; }
.testimonial-card__quote {
  font: italic 700 22px/1.45 var(--font-serif);
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
}
.testimonial-card__author {
  font: 500 14px/1.3 var(--font-sans);
  color: var(--color-muted);
}

/* ── Site footer ─────────────────────────────────────────────── */

/* Newsletter band */
.footer-newsletter {
  background: var(--color-wine);
  padding: var(--space-xxl) 0;
}
.footer-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}
.footer-newsletter__copy .eyebrow { color: var(--color-on-wine-muted); }
.footer-newsletter__heading {
  font: var(--type-display-md);
  font-family: var(--font-serif);
  color: var(--color-on-primary);
  margin: var(--space-sm) 0 var(--space-sm);
}
.footer-newsletter__sub {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
}
.newsletter-form__row {
  display: flex;
  gap: 8px;
  margin-top: var(--space-md);
}
.newsletter-form__input {
  flex: 1;
  height: 48px;
  border: 1.5px solid rgba(255,247,243,.35);
  border-radius: var(--radius-sm);
  background: rgba(255,247,243,.12);
  color: var(--color-on-primary);
  font: var(--type-body-md);
  font-family: var(--font-sans);
  padding: 0 16px;
  outline: none;
  transition: border-color .15s;
}
.newsletter-form__input::placeholder { color: var(--color-on-wine-muted); }
.newsletter-form__input:focus { border-color: rgba(255,247,243,.7); }
.newsletter-form__legal {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-on-wine-muted);
}
.newsletter-form__legal a { color: var(--color-on-wine-muted); text-decoration: underline; }

/* Footer main */
.footer-main {
  background: var(--color-wine-deep);
  padding: var(--space-section) 0 var(--space-xxl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-xxl);
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo__text {
  font: 700 20px/1 var(--font-serif);
  color: var(--color-on-primary);
}
.footer-logo__dot { color: var(--color-blush); }

.footer-tagline {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

/* Footer social */
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social__link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,247,243,.1);
  border-radius: var(--radius-sm);
  color: var(--color-on-wine-muted);
  transition: background .15s, color .15s;
}
.footer-social__link:hover { background: var(--color-wine-soft); color: var(--color-on-primary); }

/* Footer columns */
.footer-col__heading {
  font: 600 13px/1 var(--font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-on-primary);
  margin-bottom: var(--space-base);
}
.footer-col__list li + li { margin-top: 10px; }
.footer-col__list a {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
  transition: color .15s;
}
.footer-col__list a:hover { color: var(--color-on-primary); text-decoration: none; }

/* Trust badges */
.footer-trust { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 10px; }
.footer-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
}
.footer-trust__item svg { flex-shrink: 0; opacity: .7; }

/* Footer bottom bar */
.footer-bottom {
  background: var(--color-wine-deep);
  border-top: 1px solid rgba(255,247,243,.08);
  padding: var(--space-lg) 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
}
.footer-bottom__legal {
  display: flex;
  gap: var(--space-base);
}
.footer-bottom__legal a {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
  color: var(--color-on-wine-muted);
  transition: color .15s;
}
.footer-bottom__legal a:hover { color: var(--color-on-primary); text-decoration: none; }

/* ── WooCommerce — single product ────────────────────────────── */
.woocommerce div.product div.images img { border-radius: var(--radius-md); }

.woocommerce div.product .product_title {
  font: var(--type-display-md);
  font-family: var(--font-serif);
  color: var(--color-ink);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font: var(--type-price);
  font-family: var(--font-sans);
  color: var(--color-ink);
  font-size: 22px;
}

.woocommerce div.product form.cart .button {
  height: 52px;
  font-size: 16px;
  border-radius: var(--radius-full);
}

/* ── WooCommerce — cart & checkout ───────────────────────────── */
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: var(--type-body-md);
  font-family: var(--font-sans);
  color: var(--color-ink);
  transition: border-color .15s;
}
.woocommerce form .form-row input.input-text:focus { border-color: var(--color-wine); outline: none; }

/* ── WooCommerce — breadcrumb ────────────────────────────────── */
.wc-breadcrumb { margin: 16px 0; }
.wc-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.wc-breadcrumb li { display: flex; align-items: center; gap: 6px; font: var(--type-body-sm); font-family: var(--font-sans); color: var(--color-muted); }
.wc-breadcrumb a { color: var(--color-muted); }
.wc-breadcrumb a:hover { color: var(--color-wine); }

/* ── Elementor overrides ─────────────────────────────────────── */
.elementor-section .elementor-container { max-width: var(--container-wide); }

/* ── Page / post content ─────────────────────────────────────── */
.entry-content h1,.entry-content h2,.entry-content h3,
.entry-content h4,.entry-content h5,.entry-content h6 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  margin: 1.5em 0 .6em;
}
.entry-content p   { margin-bottom: 1.2em; }
.entry-content a   { color: var(--color-wine); text-decoration: underline; }
.entry-content ul,
.entry-content ol  { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--radius-sm); }

/* ── Standard page / shop layout ────────────────────────────── */
.page-hero {
  background: var(--color-blush);
  padding: var(--space-xxl) 0 var(--space-xl);
  text-align: center;
}
.page-hero__title {
  font: var(--type-display-lg);
  font-family: var(--font-serif);
  color: var(--color-ink);
}

.page-content { padding: var(--space-section) 0; }

/* Shop archive */
.woocommerce .woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering select {
  font: var(--type-body-sm);
  font-family: var(--font-sans);
}

/* ── 404 ─────────────────────────────────────────────────────── */
.error-404 { text-align: center; padding: var(--space-section) 0; }
.error-404 h1 {
  font: var(--type-display-xl);
  font-family: var(--font-serif);
  color: var(--color-wine);
  margin-bottom: var(--space-lg);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero__heading { font-size: 48px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero__media { display: none; }
  .hero { text-align: center; }
  .hero__copy { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__body { margin-left: auto; margin-right: auto; }

  .gifting-band__inner { grid-template-columns: 1fr; }
  .gifting-band__media { display: none; }

  .footer-newsletter__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .product-grid-native { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-section: 56px; }

  /* Header — mobile */
  .store-header__nav { display: none; }
  .header-menu-toggle { display: flex; }
  .store-header__inner {
    padding: 0 var(--space-base);
    gap: var(--space-sm);
  }
  /* Tighten action icons on mobile */
  .header-icon-btn { width: 36px; height: 36px; }
  /* Hamburger gets blush highlight when active — remove persistent hover bg */
  .header-icon-btn:not(:hover):not(:focus-visible) { background: transparent; }

  .hero { padding: var(--space-xxl) 0; }
  .hero__heading { font-size: 36px; }

  .value-band__grid { grid-template-columns: 1fr; gap: var(--space-xl); }

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

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

  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .product-grid-native { grid-template-columns: repeat(2, 1fr); }

  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Footer newsletter stacked */
  .footer-newsletter { padding: var(--space-xl) 0; }

  /* Section headers smaller */
  .section-header__heading { font-size: 28px; }

  /* Testimonial full width */
  .testimonial-card { padding: var(--space-xl); }
  .testimonial-card__quote { font-size: 18px; }
}

@media (max-width: 480px) {
  :root { --space-section: 40px; }

  .store-header__inner { height: 60px; }

  .hero__heading { font-size: 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn--lg { width: 100%; justify-content: center; }

  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }

  .newsletter-form__row { flex-direction: column; }
  .newsletter-form__input,.newsletter-form__row .btn { width: 100%; }

  .footer-grid { gap: var(--space-xl); }
}

/* ── Utilities ───────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-wine   { color: var(--color-wine); }
.bg-blush    { background: var(--color-blush); }
.bg-cream    { background: var(--color-cream); }
.bg-wine     { background: var(--color-wine); color: var(--color-on-primary); }
