/**
 * Hazel & Hush — Common Design System & Layout Styles
 * Single Source of Truth for shared styles across all boutique pages.
 */

:root {
  --hh-bg: #F7F5F0;               /* Warm unbleached linen / oatmeal */
  --hh-card-bg: #EFEBE2;          /* Warm organic paper / raw flax */
  --hh-announcement: #969772;     /* Muted Earthy Olive Sage */
  --hh-announcement-dark: #838461;
  --hh-footer: #aec8d3;           /* Soft Muted Sky Blue (Balanced Midpoint) */
  --hh-text: #2B2723;             /* Deep warm espresso peat */
  --hh-muted: #6E6860;            /* Warm earthy stone */
  --hh-manifesto-bg: #ECE6DC;     /* Warm unbleached natural flax */
  --hh-border: rgba(43, 39, 35, 0.12); /* Warm organic border */
  --hh-white: #FFFFFF;
  --hh-accent: #B2B8A3;           /* Soft sage */
  --hh-accent-dark: #8F957E;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-logo: 'Cormorant Garamond', Georgia, serif;

  /* Global Section Spacing Standards (Unified Block Rhythm) */
  --hh-section-py: clamp(3.5rem, 5.5vw, 5rem);
  --hh-section-py-sm: clamp(2.5rem, 4vw, 3.5rem);

  /* Global Button Standards (Unified Style & Width) */
  --hh-btn-min-width: 270px;
  --hh-btn-py: 0.9rem;
  --hh-btn-px: 2.2rem;
  --hh-btn-font-size: 0.8rem;
  --hh-btn-letter-spacing: 2px;
}

html {
  background-color: var(--hh-footer);
  overscroll-behavior-y: none;
}

section[id] {
  scroll-margin-top: 80px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--hh-bg);
  color: var(--hh-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

main {
  overflow-x: clip;
}

.twc-lookbook-wrap {
  width: 100%;
}

/* Elegant Serif Headings (Unified Scale) */
h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--hh-text);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h2, .h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.3;
}

/* Category Labels & Eyebrows (Unified Scale) */
.category-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hh-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.category-label-light {
  color: rgba(249, 248, 246, 0.82);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--hh-announcement);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.65rem 1rem;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

@media (max-width: 575.98px) {
  .announcement-bar {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.75rem;
    line-height: 1.35;
    color: #FFFFFF;
  }
}

/* Header & Navigation */
.site-header {
  background-color: var(--hh-bg);
  border-bottom: 1px solid var(--hh-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: background-color 0.3s ease;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.mobile-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px !important;
  margin-right: 6px;
  line-height: 1;
}

.mobile-cart-btn .cart-count-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  margin-left: 0;
  min-width: 18px;
  height: 18px;
  font-size: 0.68rem;
  padding: 0 4px;
}

.brand-logo {
  font-family: var(--font-logo);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--hh-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  color: var(--hh-text);
  opacity: 0.8;
}

.brand-logo-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.22em;
  color: var(--hh-announcement-dark);
  text-transform: lowercase;
  letter-spacing: normal;
  margin: 0 0.18em 0 0.12em;
  line-height: 1;
  display: inline-block;
}

.nav-link-custom {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--hh-text);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  transition: opacity 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.nav-link-custom:hover {
  opacity: 0.6;
  color: var(--hh-text);
}

.nav-link-custom.active {
  font-weight: 600;
  opacity: 1;
  border-bottom: 1px solid var(--hh-text);
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  font-size: 0.72rem;
  font-weight: 600;
  background-color: var(--hh-text);
  color: #FFFFFF;
  border-radius: 50rem;
  margin-left: 6px;
}

/* Buttons (Unified Standard Across Entire Template) */
.btn-hh-outline,
.btn-twc-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: var(--hh-btn-min-width);
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: var(--hh-btn-font-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--hh-btn-letter-spacing);
  color: var(--hh-text);
  background: transparent;
  border: 1px solid var(--hh-text);
  padding: var(--hh-btn-py) var(--hh-btn-px);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.3;
}

.btn-hh-outline:hover,
.btn-twc-outline:hover {
  background-color: var(--hh-text);
  color: #FAF8F5;
  border-color: var(--hh-text);
  transform: translateY(-1px);
}

.btn-hh-solid,
.btn-twc-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: var(--hh-btn-min-width);
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: var(--hh-btn-font-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--hh-btn-letter-spacing);
  color: #FFFFFF;
  background-color: #24211D;
  border: 1px solid #24211D;
  padding: var(--hh-btn-py) var(--hh-btn-px);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.3;
}

.btn-hh-solid:hover,
.btn-twc-solid:hover {
  background-color: var(--hh-announcement-dark);
  border-color: var(--hh-announcement-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(43, 39, 35, 0.15);
}

.btn-hero-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: var(--hh-btn-min-width);
  max-width: 100%;
  background-color: rgba(250, 248, 245, 0.08);
  color: #FAF8F5;
  border: 1px solid rgba(250, 248, 245, 0.85);
  font-family: var(--font-sans);
  font-size: var(--hh-btn-font-size);
  font-weight: 500;
  letter-spacing: var(--hh-btn-letter-spacing);
  text-transform: uppercase;
  padding: var(--hh-btn-py) var(--hh-btn-px);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.3;
}

.btn-hero-luxury:hover {
  background-color: #FAF8F5;
  color: #1E1C18;
  border-color: #FAF8F5;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .btn-hh-outline,
  .btn-twc-outline,
  .btn-hh-solid,
  .btn-twc-solid,
  .btn-hero-luxury {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Mobile Offcanvas Menu */
.offcanvas {
  background-color: var(--hh-bg);
}

.offcanvas-header {
  border-bottom: 1px solid var(--hh-border);
  padding: 1.5rem 2rem;
}

.offcanvas-body {
  padding: 2.5rem 2rem;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--hh-text);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.05);
  transition: opacity 0.2s ease;
}

.mobile-nav-link:hover {
  opacity: 0.6;
  color: var(--hh-text);
}

.mobile-nav-link.active {
  font-weight: 600;
  color: var(--hh-text);
}

/* Standalone Compact Newsletter Section */
.newsletter-standalone-section {
  padding: clamp(38px, calc(4vw + 4px), 48px) 0;
  background-color: var(--hh-card-bg);
  border-top: none;
}

.newsletter-title-compact {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--hh-text);
  margin-bottom: 0.35rem;
}

.newsletter-desc-compact {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--hh-muted);
  max-width: 540px;
  margin-bottom: 0;
}

.newsletter-form-standalone {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.newsletter-fields-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.newsletter-input-standalone {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--hh-border);
  background-color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--hh-text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input-standalone:focus {
  border-color: var(--hh-announcement);
  box-shadow: 0 0 0 2px rgba(150, 151, 114, 0.25);
}

.btn-newsletter-submit {
  background-color: var(--hh-announcement);
  color: #FFFFFF;
  border: 1px solid var(--hh-announcement);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.75rem 1.85rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-newsletter-submit:hover {
  background-color: var(--hh-announcement-dark);
  border-color: var(--hh-announcement-dark);
  color: #FFFFFF;
}

@media (max-width: 991.98px) {
  .newsletter-standalone-section {
    padding: 36px 0;
    text-align: center;
  }
  .newsletter-standalone-section .category-label {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .newsletter-title-compact {
    text-align: center;
  }
  .newsletter-desc-compact {
    text-align: center;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
  }
  .newsletter-form-standalone {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .newsletter-standalone-section .small.text-muted {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .newsletter-fields-row {
    flex-direction: column;
    gap: 8px;
  }
  .btn-newsletter-submit {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }
}

/* Site Footer */
.site-footer {
  background-color: var(--hh-footer);
  color: var(--hh-text);
  padding: 60px 0 35px;
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--hh-text);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
  color: #000000;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--hh-text);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  color: var(--hh-text);
  opacity: 0.8;
}

.footer-logo .brand-logo-amp {
  color: #4e543c;
}

.footer-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.18rem, 1.35vw, 1.32rem);
  color: var(--hh-text);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  font-weight: 350;
  line-height: 1.75;
  color: rgba(43, 39, 35, 0.85);
  max-width: 360px;
}

.footer-bottom-text {
  color: rgba(43, 39, 35, 0.85);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.footer-bottom-link {
  color: rgba(43, 39, 35, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: #000000;
  text-decoration: underline;
}

.footer-eyebrow,
.category-label.footer-eyebrow {
  color: var(--hh-text) !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.88rem, 0.95vw, 0.94rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

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

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-list a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: rgba(43, 39, 35, 0.8);
  line-height: 1.5;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #000000;
  transform: translateX(3px);
}

/* Footer Social Icons & Bottom Divider */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(43, 39, 35, 0.22);
  color: var(--hh-text);
  font-size: 1.05rem;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-icon:hover {
  background-color: var(--hh-text);
  color: var(--hh-footer) !important;
  border-color: var(--hh-text);
  transform: translateY(-2px);
}

.footer-bottom-divider {
  border-top: 1px solid rgba(43, 39, 35, 0.14);
}

@media (max-width: 575.98px) {
  .site-footer {
    padding: 45px 0 25px;
  }
}

/* ==========================================================================
   Hazel & Hush — Heirloom Product Cards & Quick View (Unified)
   ========================================================================== */

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--hh-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  border-color: rgba(43, 39, 35, 0.18);
}

.product-image-box {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #EFECE6;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-img-main,
.product-img-alt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.product-img-alt {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .product-img-main {
  opacity: 0;
}

.product-card:hover .product-img-alt {
  opacity: 1;
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--hh-bg);
  color: var(--hh-text);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(51, 51, 51, 0.1);
  z-index: 2;
  pointer-events: none;
}

.product-quickview-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(249, 248, 246, 0.96);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--hh-text);
  border: 1px solid var(--hh-border);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-quickview-btn:hover {
  background: var(--hh-text);
  color: #FFFFFF;
  border-color: var(--hh-text);
}

.product-card:hover .product-quickview-btn,
.product-card:focus-within .product-quickview-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-info-box {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--hh-text);
  font-weight: 400;
  line-height: 1.35;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.product-title a:hover {
  opacity: 0.7;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hh-text);
  letter-spacing: 0.02em;
}

/* Minimalist / Gift Guide Borderless Card Template (Centered Content) */
.product-card.product-card-minimal {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.product-card.product-card-minimal:hover {
  transform: translateY(-3px);
  box-shadow: none;
  border-color: transparent;
}

.product-card.product-card-minimal .product-image-box {
  background-color: #ECE7DE;
  aspect-ratio: 3 / 4;
  margin-bottom: 0.75rem;
}

.product-card.product-card-minimal .product-info-box {
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card.product-card-minimal .product-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
  line-height: 1.35;
  color: var(--hh-text);
  text-align: center;
  width: 100%;
}

.product-card.product-card-minimal .product-price {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: #6E6860;
  margin-top: 0.2rem;
  text-align: center;
  width: 100%;
}

/* 4-column variant slight typography scale */
.product-card.product-card-4col .product-title {
  font-size: 0.98rem;
}

.product-card.product-card-4col .product-price {
  font-size: 0.88rem;
}

/* Star Reviews Rating in Product Previews (Centered) */
.product-review-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  line-height: 1;
  width: 100%;
}

.product-review-rating .review-stars {
  color: #B89358;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
}

.product-review-rating .review-count {
  color: #8C827A;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 400;
}

@media (max-width: 575.98px) {
  .product-card.product-card-minimal .product-title {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
  }
  .product-card.product-card-minimal .product-price {
    font-size: 0.84rem;
  }
  .product-review-rating {
    font-size: 0.72rem;
    gap: 0.25rem;
  }
  .product-review-rating .review-stars {
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   Universal Product Preview Grid (Contained & Wide Screen / 3 or 4 Columns)
   ========================================================================== */
.product-preview-section {
  padding-top: var(--hh-section-py);
  padding-bottom: var(--hh-section-py);
  background-color: var(--hh-bg);
  position: relative;
  width: 100%;
}

.product-preview-header {
  margin-bottom: clamp(2rem, 3.2vw, 2.75rem);
}

.product-preview-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--hh-text);
  margin-bottom: 0.75rem;
}

.product-preview-subtitle {
  color: var(--hh-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.product-preview-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* Widescreen / Full-Bleed (Edge-to-edge, zero left/right whitespace) */
.product-preview-section.product-preview-wide {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.product-preview-section.product-preview-wide .row {
  margin-left: 0;
  margin-right: 0;
  --bs-gutter-x: clamp(4px, 0.6vw, 10px);
  --bs-gutter-y: clamp(6px, 0.9vw, 14px);
}

.product-preview-section.product-preview-wide .product-card.product-card-minimal .product-info-box {
  padding: 0.75rem 0.5rem 0;
}

/* Contained (Standard luxury container with left/right breathing margins) */
.product-preview-section.product-preview-contained .row {
  --bs-gutter-x: clamp(1rem, 1.8vw, 1.75rem);
  --bs-gutter-y: clamp(1.25rem, 2vw, 2rem);
}

.color-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
}

.color-swatch-dot:hover {
  transform: scale(1.25);
}

.color-swatch-dot.active {
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--hh-text);
  cursor: default;
}

@media (max-width: 575.98px) {
  .product-info-box {
    padding: 0.85rem;
  }
  .product-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  .product-price {
    font-size: 0.88rem;
  }
  .product-badge {
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 1px;
  }
  .product-quickview-btn {
    bottom: 8px;
    left: 8px;
    right: 8px;
    font-size: 0.68rem;
    padding: 0.5rem 0.5rem;
    letter-spacing: 1px;
  }
}

/* ==========================================================================
   Hazel & Hush — Refined Product Grid & Narrow Gutters (Single Source of Truth)
   ========================================================================== */

.products-grid-row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1.5rem;
}

@media (max-width: 575.98px) {
  .products-grid-row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 1rem;
  }
}

/* Shared Curated / Seasonal Products Showcase Section (Unified Rhythm) */
.seasonal-favourites-section {
  background-color: var(--hh-bg);
  border-top: none;
}

.seasonal-header {
  margin-bottom: 2.25rem;
  text-align: center;
}

.seasonal-header .category-label {
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.seasonal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--hh-text);
  margin-bottom: 0.75rem;
  text-align: center;
}

.seasonal-subtitle {
  color: var(--hh-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 767.98px) {
  .seasonal-header {
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   Hazel & Hush — Subpage Editorial Template (The White Company Standard)
   ========================================================================== */

/* Unified Container with Equal Left/Right Margins */
.twc-container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.2vw, 1.75rem);
  padding-right: clamp(1rem, 2.2vw, 1.75rem);
}

/* Editorial Sections Spacing (Unified Block Rhythm) */
.twc-section {
  padding: var(--hh-section-py) 0;
}

.twc-section-bordered {
  border-top: none;
}

/* Asymmetrical Editorial Row with Generous Spacing Between Columns */
.twc-asymmetric-row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 2.5rem;
}

@media (min-width: 992px) {
  .twc-asymmetric-row {
    --bs-gutter-x: clamp(3rem, 6vw, 6rem);
  }
}

/* Typographic Hierarchy (Unified Scale) */
.twc-title-large {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--hh-text);
  text-transform: none;
  margin-bottom: 1.25rem;
}

.twc-title-medium {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--hh-text);
  text-transform: none;
  margin-bottom: 1rem;
}

.twc-lead-text,
.twc-body-text {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--hh-muted);
}

.twc-body-text {
  margin-bottom: 1.5rem;
}

.twc-side-text {
  max-width: 520px;
}

.twc-side-text .twc-body-text,
.twc-side-text .twc-lead-text {
  max-width: 520px;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .twc-side-text {
    max-width: 100%;
    padding-bottom: 1.5rem;
  }
}


/* Underlined Text Links */
.link-twc-underline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hh-text);
  text-decoration: none;
  border-bottom: 1px solid var(--hh-text);
  padding-bottom: 3px;
  display: inline-block;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.link-twc-underline:hover {
  color: var(--hh-announcement-dark);
  border-color: var(--hh-announcement-dark);
  transform: translateY(-1px);
}

/* Image Containers (Same as Gift Guide Left Blocks) */
.twc-img-box {
  position: relative;
  overflow: hidden;
  background-color: #ECE7DE;
  width: 100%;
}

.twc-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.twc-img-box:hover img {
  transform: scale(1.02);
}

/* Quote Interlude Section */
.editorial-quote-section {
  background-color: var(--hh-card-bg);
  padding: clamp(2.5rem, 3.5vw, 3.25rem) 0;
  border-top: none;
  border-bottom: none;
  text-align: center;
}

.editorial-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--hh-text);
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.editorial-quote-author {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7D776F;
}

.editorial-quote-author .author-name {
  font-weight: 600;
  color: var(--hh-text);
}

/* Unified Editorial Signoff (Centered, 2 lines, Cormorant Garamond italic, warm taupe) */
.editorial-signoff {
  text-align: center;
  margin: 0 auto;
}

.editorial-signoff-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: #7D756C; /* Warm taupe / muted graphite */
  line-height: 1.45;
}

/* Editorial Graphic Accent Icon (Replaces Botanical Sprig across all quote & manifesto sections) */
.editorial-accent-icon {
  display: block;
  margin: 0 auto clamp(0.85rem, 1.2vw, 1.15rem);
  width: 24px;
  height: 24px;
  color: #7D756C; /* Softer warm taupe / muted graphite */
  opacity: 0.85;
}

/* Widescreen Hero Banner (Subpages) */
.story-widescreen-banner {
  position: relative;
  width: 100%;
  height: clamp(340px, 42vw, 540px);
  overflow: hidden;
  background-color: #ECE7DE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-widescreen-banner .story-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-widescreen-banner .story-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.25) 0%, rgba(28, 25, 23, 0.45) 100%);
}

.story-widescreen-banner .story-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

.story-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.story-banner-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Hazel & Hush — Universal Section Rhythm & Block Spacing
   Iron Rule: Identical vertical spacing between blocks across ALL pages.
   ========================================================================== */

/* Universal Banner & Hero Rule:
   Banners and Heroes must have ZERO bottom margin.
   The space below them is governed strictly and consistently by the subsequent section's padding-top. */
.hero-section,
.story-widescreen-banner,
.care-dual-section {
  margin-bottom: 0 !important;
}

.product-preview-section,
.shop-section,
.collection-section,
.seasonal-favourites-section,
.manifesto-section,
.gifts-section,
.material-section,
.care-edge-section,
.policy-content-section,
.terms-content-section,
.twc-section,
.about-signature-section {
  padding-top: var(--hh-section-py);
  padding-bottom: var(--hh-section-py);
}

/* Intelligent collapse for consecutive sections sharing identical light background
   Prevents double-padding (80px + 80px = 160px) and preserves uniform 80px rhythm across the site */
.collection-section + .product-preview-section,
.collection-section + .seasonal-favourites-section,
.product-preview-section + .product-preview-section,
.product-preview-section + .seasonal-favourites-section {
  padding-top: 0;
}

@media (max-width: 767.98px) {
  .product-preview-section,
  .twc-section,
  .shop-section,
  .collection-section,
  .seasonal-favourites-section,
  .manifesto-section,
  .gifts-section,
  .material-section,
  .care-edge-section,
  .policy-content-section,
  .terms-content-section,
  .about-signature-section {
    padding-top: var(--hh-section-py-sm);
    padding-bottom: var(--hh-section-py-sm);
  }

  .collection-section + .product-preview-section,
  .collection-section + .seasonal-favourites-section,
  .product-preview-section + .product-preview-section,
  .product-preview-section + .seasonal-favourites-section {
    padding-top: 0;
  }
}
