/* SAMAR PARFUMERIE — EDITORIAL E-COMMERCE · DESIGN TOKENS FROM APPROVED CHARTE GRAPHIQUE */
/* Playfair Display: Logo / Titres / Éditorial · Montserrat: Textes / Boutons / Interfaces */

/* ═══════════════════════════════════════════════
   1. DESIGN TOKENS & RESET
   ═══════════════════════════════════════════════ */

:root {
  --burgundy: #641F35;
  --burgundy-dk: #34161D;
  --ivory: #F7F1E8;
  --champagne: #C8A46A;
  --ebony: #25201F;
  --rose: #D9A5A5;
  --paper: #FFFDF9;
  --stone: #EEE4D8;
  --muted: #7B706B;
  --line: #E8DFD5;
  --sans: 'Montserrat', Arial, sans-serif;
  --serif: 'Playfair Display', Didot, Georgia, serif;
  --max: 1300px;
  --shadow: 0 18px 50px #36192312;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth }

body {
  margin: 0;
  color: var(--ebony);
  font: 400 14px/1.65 var(--sans);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.panel-is-open { overflow: hidden }

a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button, input, textarea, select { font: inherit }
button { cursor: pointer }
button:disabled { cursor: not-allowed; opacity: .5 }
h1, h2, h3, h4, p { margin-top: 0 }
h1, h2, h3 { font-weight: 400 }
h1, h2, .serif { font-family: var(--serif) }
h1 { font-size: clamp(44px, 5vw, 73px); line-height: 1.12 }
h2 { font-size: clamp(31px, 3.2vw, 47px); line-height: 1.18 }
h3 { font-size: 25px; line-height: 1.25 }
p { margin-bottom: 1em }
input, textarea { border-radius: 0 }

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

::selection {
  background: var(--rose);
  color: var(--burgundy-dk);
}

/* ═══════════════════════════════════════════════
   2. UTILITY CLASSES
   ═══════════════════════════════════════════════ */

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  display: inline-block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 38px;
}

.section { padding-block: 78px }

.eyebrow, .overline {
  font: 600 11px/1.4 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.overline { color: var(--champagne) }
.muted { color: var(--muted) }

.caps {
  text-transform: uppercase;
  letter-spacing: .19em;
}

.text-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  display: inline-block;
  white-space: nowrap;
  transition: color var(--transition);
}
.text-link:hover { color: var(--burgundy) }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading .eyebrow { margin-bottom: 9px }
.section-heading h2 { margin-bottom: 0 }

/* ═══════════════════════════════════════════════
   3. BUTTONS
   ═══════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 15px 22px;
  min-height: 49px;
  border-radius: 2px;
  border: 1px solid transparent;
  font: 650 10px/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(54, 25, 35, 0.15) }
.btn .ico { width: 15px; height: 15px }
.btn-white { background: #FFF; color: var(--burgundy) }
.btn-white:hover { background: var(--ivory) }
.btn-burgundy { background: var(--burgundy); color: #fff }
.btn-burgundy:hover { background: var(--burgundy-dk) }
.btn-outline { border-color: var(--burgundy); background: transparent; color: var(--burgundy) }
.btn-outline:hover { background: var(--burgundy); color: #fff }
.btn-small { padding: 11px 13px; min-height: 39px; font-size: 9px; width: 100%; letter-spacing: .07em }
.btn:disabled:hover { transform: none; box-shadow: none }

/* ═══════════════════════════════════════════════
   4. SKIP LINK & ACCESSIBILITY
   ═══════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -60px;
  left: 5px;
  z-index: 120;
  background: #fff;
  padding: 10px;
}
.skip-link:focus { top: 5px }

/* ═══════════════════════════════════════════════
   5. ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════ */

.announcement {
  min-height: 30px;
  padding: 7px 20px;
  text-align: center;
  background: linear-gradient(90deg, #4B1929, var(--burgundy-dk), #4B1929);
  color: #EEE4DC;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .18em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════════
   6. HEADER
   ═══════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--burgundy-dk);
  border-bottom: 1px solid #ffffff1b;
  transition: box-shadow .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(37, 32, 31, 0.35);
}

.header-inner {
  height: 80px;
  display: grid;
  grid-template-columns: 210px 1fr 180px;
  align-items: center;
  gap: 20px;
}

.header-logo img { width: 190px; max-height: 60px }

.desktop-nav {
  display: flex;
  gap: clamp(15px, 2.2vw, 32px);
  justify-content: center;
}
.desktop-nav a {
  color: #FBF5ED;
  font: 500 11px var(--sans);
  transition: color var(--transition);
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width .3s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current=page]::after {
  width: 100%;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current=page] {
  color: var(--champagne);
}

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

.icon-button {
  color: inherit;
  background: none;
  border: none;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color var(--transition), transform var(--transition);
}
.site-header .icon-button { color: var(--ivory) }
.icon-button:hover { color: var(--champagne); transform: scale(1.08) }
.header-actions .ico { height: 20px; width: 20px }

.count-pill {
  position: absolute;
  top: -6px;
  right: -7px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--burgundy-dk);
  width: 16px;
  height: 16px;
  display: grid;
  place-content: center;
  font-size: 9px;
  font-weight: 700;
}

.mobile-menu-button { display: none }

/* ═══════════════════════════════════════════════
   7. HERO
   ═══════════════════════════════════════════════ */

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 51% 49%;
  background: var(--burgundy-dk);
  color: var(--ivory);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  padding: 100px max(35px, calc((100vw - var(--max)) / 2 + 38px)) 80px max(38px, calc((100vw - var(--max)) / 2 + 38px));
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 95% 70%, #7A3848 0, #501C2D 33%, #2D1119 93%);
  min-height: 570px;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -30% -5% auto auto;
  width: 65%;
  height: 120%;
  border-radius: 50%;
  border: 70px solid #D9A5A50b;
  transform: rotate(-30deg);
  pointer-events: none;
}
.hero-copy::after {
  content: "";
  position: absolute;
  bottom: -210px;
  right: -100px;
  width: 390px;
  height: 390px;
  border: 1px solid #D9A5A532;
  transform: rotate(45deg);
  border-radius: 55%;
}

.hero-copy-inner {
  position: relative;
  z-index: 1;
  max-width: 585px;
  margin-left: auto;
  width: 100%;
}
.hero .overline { margin-bottom: 17px }
.hero h1 {
  margin: 0 0 19px;
  font-size: clamp(46px, 5vw, 75px);
  letter-spacing: -.028em;
}
.hero-lead {
  font-size: 14px;
  max-width: 410px;
  line-height: 1.8;
  color: #EEE2DE;
  margin-bottom: 29px;
}
.hero-copy .btn {
  border-radius: 2px;
  padding-inline: 26px;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-signature::after {
  content: "";
  height: 1px;
  width: 80px;
  background: var(--champagne);
  opacity: .7;
}

.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-media picture, .category-card picture, .gift-banner-image picture, .story-card picture, .journal-card picture { display:block; width:100%; height:100%; }
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center 38%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #34161D24, transparent 42%), linear-gradient(0deg, #25100B50, transparent 34%);
}

.hero-media-mark {
  position: absolute;
  bottom: 35px;
  right: 38px;
  z-index: 1;
  text-align: right;
  color: #FFF;
  text-shadow: 0 1px 16px #25100Baa;
  letter-spacing: .23em;
  font-size: 10px;
  text-transform: uppercase;
}
.hero-media-mark img {
  width: 36px;
  min-height: 0;
  height: 45px;
  object-fit: contain;
  margin: 0 0 12px auto;
}

/* ═══════════════════════════════════════════════
   8. TRUST RIBBON
   ═══════════════════════════════════════════════ */

.trust-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #3B1824;
  color: #F8EFE8;
  padding: 17px max(38px, calc((100vw - var(--max)) / 2 + 38px));
  gap: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-right: 1px solid #ffffff2f;
}
.trust-item:last-child { border: 0 }
.trust-item .ico {
  width: 27px;
  height: 27px;
  color: var(--champagne);
  stroke-width: 1.3;
}
.trust-item b {
  font-size: 10px;
  display: block;
  font-weight: 600;
}
.trust-item small {
  font-size: 9px;
  display: block;
  color: #D6C3BD;
}

/* ═══════════════════════════════════════════════
   9. CATEGORIES
   ═══════════════════════════════════════════════ */

.categories-section { background: var(--paper) }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1.10;
  background: var(--stone);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.category-card:hover img { transform: scale(1.055) }
.category-card::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(transparent, #221215bc);
}

.category-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  color: #fff;
}
.category-label strong {
  font: 400 clamp(19px, 1.75vw, 27px)/1.1 var(--serif);
  display: block;
}
.category-label span {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  transition: color var(--transition);
}
.category-card:hover .category-label span {
  color: var(--champagne);
}

/* ═══════════════════════════════════════════════
   10. PRODUCT CARDS
   ═══════════════════════════════════════════════ */

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

.product-card {
  min-width: 0;
  background: #FFF;
  border: 1px solid #F0EBE6;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--champagne);
  transform: scaleX(0);
  transition: transform .35s ease;
  z-index: 2;
}
.product-card:hover::before {
  transform: scaleX(1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-photo {
  position: relative;
  overflow: hidden;
  background: #F3EAE0;
  aspect-ratio: .83;
}
.product-photo a, .product-photo img { width: 100%; height: 100% }
.product-photo img {
  object-fit: cover;
  transition: transform .5s ease;
}
.product-photo:hover img { transform: scale(1.035) }

.product-badge {
  position: absolute;
  top: 12px;
  left: 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--burgundy);
  font: 650 8px var(--sans);
  letter-spacing: .09em;
  padding: 5px 8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.heart-button {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.93);
  border: 0;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--burgundy);
  transition: transform var(--transition), background var(--transition);
  z-index: 10;
}
.heart-button:hover {
  transform: scale(1.12);
  background: var(--rose);
}
.heart-button .ico { width: 16px; height: 16px }
.heart-button.is-active .ico { fill: var(--burgundy) }

.product-meta { padding: 16px 14px 14px }
.product-meta > span {
  font-size: 9px;
  color: var(--muted);
  display: block;
  line-height: 1.4;
  min-height: 13px;
}

.product-name {
  display: block;
  font: 400 20px/1.3 var(--serif);
  margin: 4px 0 8px;
  min-height: 50px;
}
.product-name:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-sub {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.product-sub span { font-size: 9px; color: var(--muted) }
.product-sub strong { font-weight: 650; font-size: 11px }
.products-section { padding-top: 0 }

/* ═══════════════════════════════════════════════
   11. EDITORIAL SECTIONS
   ═══════════════════════════════════════════════ */

.collection-section { background: var(--ivory) }
.collection-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.collection-intro p { color: var(--muted) }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.collection-grid .product-card .product-name { min-height: 0 }

/* Gift Banner */
.gift-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 470px;
  background: var(--burgundy-dk);
  color: var(--ivory);
}
.gift-banner-image {
  min-height: 470px;
  overflow: hidden;
}
.gift-banner-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}
.gift-banner:hover .gift-banner-image img {
  transform: scale(1.04);
}
.gift-banner-content {
  padding: 75px clamp(35px, 6vw, 110px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 10%, #722C43, #3D1927 74%);
}
.gift-banner-content::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 430px;
  height: 430px;
  background: url('../assets/icons/emblem-gold.svg') center/contain no-repeat;
  opacity: .065;
  pointer-events: none;
}
.gift-banner h2 {
  font-size: clamp(33px, 4vw, 55px);
  max-width: 470px;
}
.gift-banner p { max-width: 370px; color: #EDDDDA }
.gift-banner .btn { margin-top: 13px }

/* Story Cards */
.story-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.story-card {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: var(--ivory);
}
.story-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.story-card:hover img { transform: scale(1.04) }
.story-card-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #29140Db3, transparent 70%);
}
.story-overlay {
  position: absolute;
  bottom: 32px;
  left: 34px;
  z-index: 1;
  color: #FFF;
  max-width: 370px;
}
.story-overlay .eyebrow { color: var(--champagne) }
.story-overlay h2 { font-size: 35px }
.story-overlay p { max-width: 315px }
.story-overlay .btn { margin-top: 10px }

.journal-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  background: #EDE0D2;
}
.journal-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.journal-content {
  padding: 50px clamp(32px, 5vw, 80px);
  align-self: center;
}
.journal-content h2 { margin-bottom: 15px }

/* ═══════════════════════════════════════════════
   12. NEWSLETTER
   ═══════════════════════════════════════════════ */

.newsletter {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #451A29, #641F35);
  padding: 60px 25px;
  text-align: center;
  color: #FFF;
}
.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  background: url('../assets/icons/emblem-gold.svg') center/contain no-repeat;
  width: 160px;
  height: 200px;
  opacity: .12;
  top: 18px;
}
.newsletter::before { left: 5% }
.newsletter::after { right: 5% }
.newsletter h2 {
  font-size: 36px;
  margin-bottom: 7px;
}
.newsletter p { font-size: 12px; color: #F3DAD5 }

.newsletter-form {
  max-width: 440px;
  margin: 23px auto 0;
}
.newsletter-form-row {
  display: flex;
  background: #FFF;
  padding: 4px;
  border-radius: 2px;
}
.newsletter-form-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 14px;
  background: transparent;
  outline: none;
  font-size: 12px;
  color: var(--ebony);
}
.newsletter-form-row input::placeholder { color: var(--muted) }
.newsletter-form .btn { min-height: 40px }
.newsletter-consent { display:flex; align-items:flex-start; gap:8px; margin-top:12px; color:#fff; font-size:12px; line-height:1.5; text-align:left }
.newsletter-form .newsletter-consent input { flex:none; min-width:auto; width:16px; height:16px; margin:2px 0 0; padding:0; accent-color:#fff }
.newsletter-consent a { color:#fff; text-decoration:underline }

/* ═══════════════════════════════════════════════
   13. FOOTER
   ═══════════════════════════════════════════════ */

.foot-reassurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding-block: 27px;
  gap: 15px;
  text-align: center;
}
.foot-reassurance span {
  font: 500 10px var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.foot-reassurance .ico { color: var(--burgundy) }

.site-footer { background: var(--ivory) }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 55px;
  padding-block: 62px;
}
.footer-brand img { width: 195px; margin-bottom: 20px }
.footer-brand p {
  max-width: 315px;
  color: var(--muted);
  font-size: 12px;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--ivory);
  transition: all .3s ease;
}
.footer-social a svg {
  width: 18px;
  height: 18px;
}
.footer-social a:hover {
  background: var(--champagne);
  color: var(--ebony);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(100, 31, 53, .25);
}

.footer-grid h4 {
  font: 650 10px var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 6px 0 22px;
  color: var(--burgundy);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-grid li a {
  font-size: 12px;
  color: #645952;
  transition: color var(--transition);
}
.footer-grid li a:hover {
  text-decoration: underline;
  color: var(--burgundy);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #DCD1C5;
  padding-block: 19px;
  font-size: 10px;
  color: var(--muted);
}


/* ═══════════════════════════════════════════════
   14. INNER PAGES — HEADINGS, FILTERS, CATALOG
   ═══════════════════════════════════════════════ */

.page-heading {
  padding: 70px 0 47px;
  text-align: center;
  background: linear-gradient(160deg, #FFFDF9, var(--ivory));
  position: relative;
  overflow: hidden;
}
.page-heading::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 220px;
  background: url('../assets/icons/motif-signature.svg') center/contain no-repeat;
  opacity: .06;
  pointer-events: none;
}
.page-heading h1 {
  font-size: clamp(42px, 4vw, 63px);
  margin: 7px 0 10px;
}
.page-heading p:last-child {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb-section {
  padding-block: 17px;
  font-size: 10px;
  color: var(--muted);
}
.breadcrumbs {
  padding-top: 27px;
  padding-bottom: 22px;
  font-size: 10px;
  color: var(--muted);
}
.breadcrumbs a:hover { text-decoration: underline }

.catalog-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 20px;
}
.filter-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .07em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.filter-tabs button.active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}
.filter-tabs button:hover {
  color: var(--burgundy);
}

.catalog-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.catalog-controls input,
.catalog-controls select {
  border: 1px solid var(--line);
  padding: 11px 13px;
  background: #fff;
  min-height: 42px;
  color: var(--ebony);
  font-size: 11px;
  max-width: 190px;
  transition: border-color var(--transition);
}
.catalog-controls input:hover,
.catalog-controls select:hover {
  border-color: var(--champagne);
}

.catalog-count {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 20px;
}
.catalog-list {
  grid-template-columns: repeat(4, 1fr);
  row-gap: 30px;
}
.catalog-list .product-photo { aspect-ratio: .88 }
.empty-state {
  padding: 50px 10px;
  grid-column: 1/-1;
  color: var(--muted);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   15. PRODUCT DETAIL
   ═══════════════════════════════════════════════ */

.detail-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 75px;
  align-items: start;
  padding-bottom: 55px;
}
.detail-visual {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
  min-height: 640px;
}
.detail-visual img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}
.detail-watermark {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font: 40px var(--serif);
  letter-spacing: .2em;
  color: #641f351a;
  pointer-events: none;
}
.detail-information { padding-top: 18px }
.detail-information h1 {
  font-size: clamp(42px, 4vw, 62px);
  margin: 12px 0 8px;
}
.detail-family {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.detail-price {
  font: 500 24px var(--serif);
  margin: 22px 0;
  color: var(--burgundy);
}
.detail-copy {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.9;
  color: #5D5450;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.format-field {
  border: 0;
  padding: 15px 0 25px;
  margin: 0;
}
.format-field legend {
  font-size: 11px;
  font-weight: 600;
}
.format-options {
  display: flex;
  gap: 9px;
  margin-top: 11px;
}
.format-label { cursor: pointer }
.format-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.format-label span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 100px;
  border: 1px solid #CFC3B9;
  padding: 10px 15px;
  text-align: center;
  font-size: 11px;
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.format-label span small {
  font-size: 10px;
  color: var(--muted);
}
.format-label:hover span {
  border-color: var(--champagne);
}
.format-label input:checked + span {
  border-color: var(--burgundy);
  box-shadow: inset 0 0 0 1px var(--burgundy);
  color: var(--burgundy);
}
.format-label input:focus-visible + span {
  outline: 2px solid var(--champagne);
}

.detail-action {
  display: flex;
  gap: 11px;
}
.detail-action .btn { flex: 1 }

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  gap: 10px;
}
.qty-control button {
  width: 27px;
  height: 27px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 17px;
  color: var(--burgundy);
  transition: background var(--transition);
}
.qty-control button:hover {
  background: var(--ivory);
}
.qty-control span {
  min-width: 10px;
  text-align: center;
  font-size: 11px;
}
.qty-control.large { gap: 17px }
.qty-control.large button {
  height: 46px;
  width: 30px;
}

.detail-reassurance {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.detail-reassurance .ico { color: var(--champagne) }

.detail-accordions {
  border-top: 1px solid var(--line);
  margin-top: 29px;
}
.detail-accordions details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
  color: var(--muted);
}
.detail-accordions summary {
  list-style: none;
  cursor: pointer;
  color: var(--ebony);
  font-weight: 600;
  font-size: 11px;
  transition: color var(--transition);
}
.detail-accordions summary:hover { color: var(--burgundy) }
.detail-accordions summary::-webkit-details-marker { display: none }
.detail-accordions summary::after {
  content: '+';
  float: right;
  font-size: 16px;
  transition: transform var(--transition);
}
.detail-accordions details[open] summary::after {
  content: '−';
}
.detail-accordions details p {
  padding-top: 15px;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   16. ABOUT, GUIDE, CONTACT
   ═══════════════════════════════════════════════ */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.intro-split img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}
.intro-split h2 { max-width: 510px }
.intro-split p { max-width: 500px; color: #675A54 }

.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 25px;
}
.quote-block p {
  font: italic 37px/1.35 var(--serif);
  color: var(--burgundy);
}
.quote-block span {
  font: 600 10px var(--sans);
  letter-spacing: .2em;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.guide-step {
  background: var(--ivory);
  padding: 33px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.guide-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.guide-step .number {
  font: 40px var(--serif);
  color: var(--champagne);
}
.guide-step h3 {
  font-size: 27px;
  margin-top: 10px;
}
.guide-step p {
  font-size: 12px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 55px;
}
.contact-information {
  background: var(--burgundy);
  color: var(--ivory);
  padding: 48px;
}
.contact-information h2 { color: var(--ivory) }
.contact-information .eyebrow { color: var(--champagne) }
.contact-information p { color: #E7D7D3 }

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}
.field label {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .05em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #D8CFC5;
  resize: vertical;
  background: white;
  color: var(--ebony);
  font-size: 12px;
  transition: border-color var(--transition);
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--champagne);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-hint {
  color: var(--muted);
  font-size: 10px;
}

/* ═══════════════════════════════════════════════
   17. OVERLAY, DRAWERS, SEARCH, CART
   ═══════════════════════════════════════════════ */

.overlay {
  position: fixed;
  inset: 0;
  background: #120C0Cb8;
  z-index: 90;
  backdrop-filter: blur(2px);
}

.side-panel {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: min(465px, 100%);
  height: 100dvh;
  background: #FFFCF7;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .33s ease;
  box-shadow: 0 0 60px #0003;
  visibility: hidden;
}
.side-panel.open {
  transform: translateX(0);
  visibility: visible;
}

.panel-header {
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-header h2 { font-size: 27px; margin: 0 }

.panel-close {
  font-size: 30px;
  color: var(--burgundy);
  border: 0;
  background: none;
  line-height: 1;
  padding: 0 3px;
  transition: transform var(--transition);
}
.panel-close:hover { transform: rotate(90deg) }

.panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 25px;
}

.panel-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--line);
}
.panel-footer .btn { width: 100% }

.panel-total {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 15px;
}
.panel-total strong { font-size: 17px }
.panel-footer small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  margin-top: 8px;
}

.cart-item {
  display: flex;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-item > img {
  width: 83px;
  height: 99px;
  object-fit: cover;
  background: var(--ivory);
}
.cart-item-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  padding-right: 18px;
}
.cart-item-copy > a { font: 18px var(--serif) }
.cart-item-copy > span { font-size: 10px; color: var(--muted) }
.cart-availability { margin: 8px 0 0; color: #8b1936; font-size: 12px; line-height: 1.4; }
.cart-item .qty-control { align-self: start; margin-top: 7px }

.cart-remove {
  position: absolute;
  right: 0;
  top: -7px;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--muted);
  transition: color var(--transition);
}
.cart-remove:hover { color: var(--burgundy) }

.cart-empty {
  text-align: center;
  padding-top: 70px;
}
.cart-empty .ico {
  width: 40px;
  height: 40px;
  color: var(--champagne);
}
.cart-empty h3 { margin-top: 17px }
.cart-empty p {
  font-size: 12px;
  color: var(--muted);
}

.search-field {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--burgundy);
  padding: 8px 0;
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  padding: 12px 0;
  font-size: 13px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
.search-result:hover { background: var(--ivory) }
.search-result img {
  width: 54px;
  height: 65px;
  object-fit: cover;
}
.search-result span {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.search-result strong { font: 17px var(--serif) }
.search-result small { font-size: 10px; color: var(--muted) }
.search-result .ico { width: 16px }
.search-results-heading { margin: 30px 0 8px }

.mobile-links { display: grid; gap: 0 }
.mobile-links a {
  font: 24px var(--serif);
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-links a:hover {
  color: var(--burgundy);
  padding-left: 10px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--burgundy-dk);
  color: #fff;
  border-left: 3px solid var(--champagne);
  padding: 13px 19px;
  font-size: 11px;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(37, 32, 31, 0.3);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ═══════════════════════════════════════════════
   18. CHECKOUT
   ═══════════════════════════════════════════════ */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
}
.checkout-summary {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--ivory);
  align-self: start;
}
.checkout-summary h2 { font-size: 28px }
.checkout-payment-methods { margin: 25px 0 0; padding: 0; border: 0; }
.checkout-payment-methods legend { margin-bottom: 12px; font: 600 17px var(--serif); color: var(--text); }
.checkout-payment-option { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; padding: 15px; border: 1px solid #ddd1c9; border-radius: 8px; background: #fff; cursor: pointer; }
.checkout-payment-option:has(input:checked) { border-color: var(--burgundy); background: #fdf8f8; }
.checkout-payment-option input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--burgundy); }
.checkout-payment-option span { display: grid; gap: 5px; }
.checkout-payment-option strong { font-size: 15px; }
.checkout-payment-option small { color: var(--muted); line-height: 1.45; }
.checkout-payment-option:focus-within { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.checkout-payment-error { display: block; color: #a53232; }
.payment-next-step { margin: 22px 0 30px; padding: 24px; border: 1px solid #d9c9bd; border-radius: 10px; background: #faf8f5; text-align: left; }
.payment-next-step h2 { margin: 0 0 9px; font: 600 24px var(--serif); }
.payment-next-step p { margin: 0 0 17px; line-height: 1.6; }
.payment-next-step dl { margin: 0 0 20px; display: grid; gap: 8px; }
.payment-next-step dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #eadfd7; }
.payment-next-step dt { color: var(--muted); }
.payment-next-step dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.payment-account-number { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.payment-next-step small { display: block; margin-top: 13px; color: var(--muted); line-height: 1.5; }
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #D9CCBC;
  font-size: 12px;
}
.checkout-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 13px;
}
.checkout-total strong { font-size: 18px }
.checkout-note {
  font-size: 10px;
  color: var(--muted);
  margin: 17px 0 0;
}
.order-result {
  margin-top: 24px;
  border: 1px solid var(--champagne);
  padding: 20px;
}
.order-result textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.order-result .btn { margin: 12px 10px 0 0 }

/* ═══════════════════════════════════════════════
   19. FEATURED BRANDS
   ═══════════════════════════════════════════════ */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.brands-grid a {
  min-height: 175px;
  padding: 28px 20px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.brands-grid a:hover {
  background: var(--burgundy);
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.brands-grid span {
  font: 28px/1.2 var(--serif);
  text-align: center;
}
.brands-grid small {
  font: 600 9px var(--sans);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 15px;
}

/* ═══════════════════════════════════════════════
   20. SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.visible {
  animation: fadeUp .65s ease forwards;
}

/* Page load transition */
@keyframes pageIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
main {
  animation: pageIn .4s ease;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 80;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.95);
  color: var(--burgundy);
  display: grid;
  place-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(37, 32, 31, 0.12);
  cursor: pointer;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}
.back-to-top .ico {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

/* ═══════════════════════════════════════════════
   21. RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 170px 1fr 160px }
  .header-logo img { width: 166px }
  .desktop-nav { gap: 14px }
  .desktop-nav a { font-size: 10px }
  .header-actions { gap: 12px }
  .hero-copy { padding-left: 38px; padding-right: 36px }
  .product-grid { grid-template-columns: repeat(4, 1fr) }
  .product-grid .product-card:nth-child(n+5) { display: none }
  .catalog-list .product-card:nth-child(n+5) { display: block }
  .footer-grid { gap: 30px }
}

@media (max-width: 850px) {
  .container { padding-inline: 22px }
  .section { padding-block: 53px }
  .announcement { font-size: 8px }
  .header-inner {
    height: 66px;
    display: flex;
    justify-content: space-between;
  }
  .mobile-menu-button { display: inline-flex }
  .header-logo img { width: 155px }
  .desktop-nav { display: none }
  .header-actions { gap: 12px }
  .header-actions .icon-button:nth-child(3) { display: none }
  .hero { grid-template-columns: 1fr }
  .hero-copy {
    padding: 70px 28px;
    min-height: 385px;
  }
  .hero-copy-inner { max-width: 600px; margin: 0 auto }
  .hero h1 { font-size: 55px }
  .hero-media { height: 430px }
  .hero-media img { min-height: 0; height: 100%; object-position: center 32% }
  .trust-ribbon { grid-template-columns: repeat(2, 1fr); padding: 17px 24px }
  .trust-item:nth-child(2) { border: 0 }
  .categories-grid { grid-template-columns: repeat(2, 1fr) }
  .category-card { aspect-ratio: 1/1.02 }
  .category-label strong { font-size: 24px }
  .product-grid { grid-template-columns: repeat(2, 1fr) }
  .product-grid .product-card:nth-child(n+5) { display: block }
  .product-card:nth-child(n+5) { display: none }
  .catalog-list .product-card:nth-child(n+5) { display: block }
  .collection-grid { grid-template-columns: repeat(2, 1fr) }
  .gift-banner { grid-template-columns: 1fr }
  .gift-banner-image { min-height: 330px; height: 330px }
  .gift-banner-content { min-height: 350px; padding: 47px 30px }
  .story-cards { grid-template-columns: 1fr }
  .story-card { min-height: 390px }
  .journal-card { grid-template-columns: 1fr }
  .journal-card img { height: 310px }
  .journal-content { padding: 35px }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding-block: 50px;
  }
  .footer-brand {
    grid-column: 1/-1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 5px;
  }
  .footer-brand p { text-align: center }
  .footer-social { justify-content: center }
  .intro-split { gap: 25px }
  .intro-split img { height: 430px }
  .detail-grid { gap: 30px }
  .detail-visual, .detail-visual img { min-height: 0; height: 490px }
  .checkout-grid { gap: 32px }
}

@media (max-width: 600px) {
  h1 { font-size: 44px }
  h2 { font-size: 34px }
  .container { padding-inline: 18px }
  .section-heading { align-items: start; gap: 15px }
  .section-heading .text-link { margin-top: 12px; white-space: normal; overflow-wrap: anywhere }
  .collection-intro { flex-direction: column; align-items: flex-start }
  .collection-intro .text-link { white-space: normal; overflow-wrap: anywhere }
  .hero-copy { padding: 54px 23px 55px; min-height: 345px }
  .hero h1 { font-size: 50px; letter-spacing: -.04em }
  .hero-lead { font-size: 12px }
  .hero-media { height: 355px }
  .trust-ribbon { gap: 10px; padding: 15px 16px }
  .trust-item { gap: 7px }
  .trust-item .ico { width: 23px }
  .trust-item b { font-size: 8px }
  .trust-item small { font-size: 8px }
  .categories-grid { gap: 9px }
  .category-label { left: 13px; bottom: 12px }
  .category-label strong { font-size: 19px }
  .category-card { aspect-ratio: .91 }
  .product-grid { gap: 9px }
  .product-meta { padding: 12px 10px }
  .product-name { font-size: 17px; min-height: 43px }
  .product-sub { min-height: 55px }
  .product-sub strong { font-size: 10px }
  .product-meta > span, .product-sub span { font-size: 8px }
  .product-badge { font-size: 7px; top: 7px; left: 7px; padding: 4px }
  .btn-small { font-size: 8px; padding: 9px 6px; gap: 6px }
  .btn-small .ico { display: none }
  .collection-grid { gap: 9px }
  .collection-grid .product-card:nth-child(n+5) { display: none }
  .gift-banner-image { height: 280px; min-height: 280px }
  .gift-banner-content { min-height: 330px; padding: 44px 22px }
  .gift-banner h2 { font-size: 37px }
  .story-card { min-height: 345px }
  .story-overlay { bottom: 20px; left: 21px }
  .story-overlay h2 { font-size: 29px }
  .story-overlay p { font-size: 11px }
  .journal-card img { height: 260px }
  .newsletter { padding: 45px 18px }
  .newsletter h2 { font-size: 31px }
  .newsletter::before, .newsletter::after { width: 75px }
  .newsletter-form input { min-width: 0; font-size: 10px; padding: 10px }
  .newsletter-form .btn { padding: 11px; font-size: 9px; letter-spacing: .03em }
  .foot-reassurance {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    padding-block: 20px;
  }
  .foot-reassurance span {
    font-size: 9px;
    gap: 6px;
    justify-content: start;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 38px;
    gap: 0;
  }
  .footer-brand {
    grid-column: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-brand img { width: 160px; margin-bottom: 16px }
  .footer-brand p {
    text-align: center;
    max-width: 280px;
    font-size: 11px;
    line-height: 1.7;
  }
  .footer-social {
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }
  .footer-social a {
    width: 42px;
    height: 42px;
  }
  .footer-social a svg {
    width: 19px;
    height: 19px;
  }
  .footer-grid > div:not(.footer-brand) {
    padding-block: 16px;
    border-bottom: 1px solid rgba(220, 209, 197, .5);
  }
  .footer-grid > div:not(.footer-brand):last-child {
    border-bottom: none;
    padding-bottom: 6px;
  }
  .footer-grid h4 {
    margin: 0 0 14px;
    font-size: 10px;
  }
  .footer-grid ul { gap: 10px }
  .footer-grid li a { font-size: 12px }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding-block: 18px;
    font-size: 10px;
  }
  .page-heading { padding: 48px 18px 35px }
  .page-heading h1 { font-size: 43px }
  .page-heading::after { display: none }
  .catalog-panel { align-items: stretch }
  .filter-tabs { overflow-x: auto; width: 100%; gap: 16px }
  .filter-tabs button { white-space: nowrap; flex-shrink: 0 }
  .catalog-controls { width: 100% }
  .catalog-controls input,
  .catalog-controls select {
    flex: 1;
    width: 40%;
    min-width: 0;
    max-width: none;
  }
  .catalog-list { grid-template-columns: repeat(2, 1fr); gap: 10px }
  .detail-grid { grid-template-columns: 1fr; gap: 22px }
  .detail-visual img { height: 470px }
  .detail-visual { height: 470px }
  .detail-information { padding-top: 0 }
  .detail-information h1 { font-size: 44px }
  .related { padding-top: 20px }
  .intro-split { grid-template-columns: 1fr }
  .intro-split img { height: 360px }
  .intro-split > div { padding-top: 12px }
  .quote-block { padding: 65px 21px }
  .quote-block p { font-size: 29px }
  .guide-grid { grid-template-columns: 1fr; gap: 11px }
  .guide-step { padding: 23px }
  .contact-grid, .checkout-grid { grid-template-columns: 1fr; gap: 26px }
  .contact-information { padding: 30px }
  .form-row { grid-template-columns: 1fr; gap: 0 }
  .toast { min-width: 70%; text-align: center }
  .footer-brand img { width: 170px }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 9px }
  .brands-grid a { min-height: 125px; padding: 15px }
  .brands-grid span { font-size: 22px }
  .back-to-top { bottom: 18px; right: 18px; width: 38px; height: 38px }
}

/* ═══════════════════════════════════════════════
   22. REDUCED MOTION
   ═══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
  .fade-in { opacity: 1; transform: none }
}

/* Pagination */
.samar-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.samar-pagination .page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--card-bg, #fff);
    color: var(--text, #333);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--border, #eaeaea);
    transition: all 0.2s ease;
}
.samar-pagination .page-item svg {
    width: 18px;
    height: 18px;
}
.samar-pagination .page-item:hover:not(.disabled):not(.active) {
    background-color: var(--burgundy, #641F35);
    color: #fff;
    border-color: var(--burgundy, #641F35);
}
.samar-pagination .page-item.active {
    background-color: var(--burgundy, #641F35);
    color: #fff;
    border-color: var(--burgundy, #641F35);
    font-weight: 600;
}
.samar-pagination .page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
}
.samar-pagination .page-numbers {
    display: flex;
    gap: 8px;
}
@media (max-width: 600px) {
    .samar-pagination .page-numbers {
        display: none;
    }
}


/* Product quantities reflect the confirmed cart without interrupting browsing. */
[data-product-cart] { min-width: 0; }
[data-product-cart] [hidden] { display: none !important; }
.product-cart-quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 46px; border: 1px solid var(--burgundy); color: var(--burgundy); background: var(--ivory); }
.product-cart-quantity form { margin: 0; flex: 0 0 44px; }
.product-cart-quantity button { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 22px; cursor: pointer; }
.product-cart-quantity button:hover { background: rgba(100,31,53,.06); }
.product-cart-quantity button:focus-visible { outline: 2px solid var(--burgundy); outline-offset: -3px; }
.product-cart-quantity button:disabled { opacity: .4; cursor: default; }
.product-cart-quantity-copy { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.product-cart-quantity-copy strong { font-size: 16px; }
.product-cart-quantity-copy small { font-size: 11px; }
.product-cart-error { color: #a53232; font-size: 13px; margin: 8px 0 0; }
[data-product-cart][aria-busy="true"] { opacity: .7; }
#add-to-cart-form .qty-control.large button { min-width: 44px; }
