/* ==========================================================
   HOME DESIGN 92 — base styles (mobile-first)
   Breakpoint overrides live in responsive.css.
   Motion/keyframes live in animations.css.
   ========================================================== */

:root {
  /* Freight Display Big and Le Monde Journal are commercial fonts
     (no free/Google Fonts license) — Fraunces and Lora are used here
     as close free substitutes with a similar editorial character.
     If you purchase and self-host the real fonts, add @font-face
     rules for them and swap the two family names below — nothing
     else in this file needs to change. */
  --ivory: #f5f1ea;
  --white: #ffffff;
  --charcoal: #171716;
  --brown: #29231e;
  --gray: #77716a;
  --gold: #b59a62;

  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1280px;
  --gutter: 16px;
  --section-pad: 56px;
}

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

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  background: var(--charcoal);
}

body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--gray);
  font-size: 15px;
}

.section-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.section-dark {
  background: var(--brown);
  color: var(--ivory);
}

.section-dark .section-head p {
  color: #d8d2c6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease,
    transform 220ms ease, box-shadow 220ms ease;
  min-height: 46px;
}

.btn-solid {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.btn-solid:hover {
  background: #050505;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 23, 22, 0.22);
}

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

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-outline-light {
  color: var(--ivory);
  border-color: rgba(245, 241, 234, 0.6);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
  transform: translateY(-2px);
}

.btn-ghost {
  color: inherit;
  padding: 10px 16px;
  border-color: currentColor;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn-ghost:hover {
  background: rgba(23, 23, 22, 0.06);
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  background: transparent;
  color: var(--ivory);
  transition: background 250ms ease, box-shadow 250ms ease, color 250ms ease;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: var(--ivory);
  color: var(--charcoal);
  box-shadow: 0 1px 0 #e8e0d5, 0 4px 16px rgba(23, 23, 22, 0.04);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-black {
  display: none;
}

.site-header.is-scrolled .logo-white {
  display: none;
}

.site-header.is-scrolled .logo-black {
  display: block;
}

.nav-desktop {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.social-icons {
  display: none;
  align-items: center;
  gap: 2px;
  padding-right: 6px;
  margin-right: 6px;
  border-right: 1px solid currentColor;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: inherit;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.social-icons .icon-btn {
  width: 30px;
  height: 30px;
}

.social-icons .icon-btn svg {
  width: 14px;
  height: 14px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Search panel ---------- */
.search-panel {
  background: var(--ivory);
  color: var(--charcoal);
  border-bottom: 1px solid #e8e0d5;
}

.search-panel[hidden] {
  display: none;
}

.search-panel-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px var(--gutter);
}

.search-panel-inner input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  padding: 8px 0;
}

.search-panel-inner input:focus-visible {
  outline: none;
}

/* ---------- Nav dropdown ("Nos produits") ---------- */
.has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.nav-caret {
  width: 10px;
  height: 7px;
  transition: transform 200ms ease;
}

.has-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  flex-direction: column;
}

.has-dropdown.is-open .nav-dropdown {
  display: flex;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--ivory);
  color: var(--charcoal);
  transform: translateX(100%);
  transition: transform 280ms ease;
  overflow-y: auto;
  z-index: 49;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu nav a,
.mobile-menu .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px var(--gutter);
  font-size: 17px;
  border-bottom: 1px solid #e8e0d5;
  text-align: left;
}

.mobile-menu .nav-dropdown {
  background: var(--beige, #e8e0d5);
}

.mobile-menu .nav-dropdown a {
  padding-left: calc(var(--gutter) * 2);
  font-size: 15px;
  color: var(--gray);
  border-bottom: 1px solid #ded5c6;
}

.mobile-contact {
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-contact a:first-child {
  font-weight: 600;
  font-size: 16px;
}

.mobile-contact span {
  font-size: 13px;
  color: var(--gray);
}

.mobile-contact .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  background-color: #51473b;
  height: 100vh;
  min-height: 560px;
  margin-top: -84px;
  /* header overlays hero */
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(23, 23, 22, 0.62) 0%,
      rgba(23, 23, 22, 0.3) 30%,
      rgba(23, 23, 22, 0.38) 60%,
      rgba(23, 23, 22, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 38px;
  color: var(--ivory);
  line-height: 1.08;
  max-width: 16ch;
  min-height: 1.1em;
}

.hero-content p {
  margin: 16px 0 24px;
  font-size: 16px;
  color: var(--ivory);
  max-width: 34ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ivory);
  background: transparent;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}

.hero-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* Inner pages use a shorter editorial hero; the homepage hero is intentionally untouched. */
.hero-inner-page {
  height: min(68vh, 700px);
  min-height: 430px;
}

.hero-inner-page .hero-content {
  padding-bottom: 56px;
}

/* Product navigation: label opens the catalogue, caret toggles category links. */
.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-product-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.nav-dropdown-trigger {
  padding: 8px;
  border-radius: 2px;
}

.nav-dropdown-trigger:hover {
  background: rgba(181, 154, 98, .13);
}

/* Catalogue filters */
.product-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin: 24px 0 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e0d5;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
}

.filter-group input,
.filter-group select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d9d0c4;
  background: #fff;
  color: var(--charcoal);
  font: inherit;
  font-size: 14px;
  border-radius: 0;
}

.filter-search {
  grid-column: span 2;
}

.filter-price {
  grid-column: span 1;
}

.product-filters .btn {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 11px;
}

.product-result-count {
  margin: 12px 0 20px;
  font-size: 13px;
  color: var(--gray);
}

.pagination-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pagination-controls .btn {
  min-width: 44px;
  padding: 10px 14px;
}

.pagination-controls button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Product detail page */
.product-detail-section {
  background: var(--ivory);
}

.product-detail-container {
  max-width: 1180px;
  margin: 0 auto;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.product-image-caption {
  color: var(--gray);
  font-size: 12px;
  margin: 10px 4px 2px;
}

.product-detail-info {
  padding: 10px 0;
}

.product-detail-info h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin: 8px 0 14px;
}

.product-detail-ref {
  font-size: 14px;
  color: var(--gray);
}

.product-detail-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 20px 0;
}

.product-detail-desc {
  white-space: pre-line;
  color: #514b44;
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-detail-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
  padding: 18px 0;
  border-top: 1px solid #ded5c8;
  border-bottom: 1px solid #ded5c8;
  list-style: none;
}

.product-detail-points li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  margin-right: 10px;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail-note {
  color: var(--gray);
  font-size: 12px;
  margin-top: 18px;
}

#related-products .section-head {
  max-width: none;
}

#related-products .section-head p {
  color: #d8d2c6;
}

.breadcrumb {
  font-size: 12px;
  margin-bottom: 22px;
  color: var(--gray);
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================
   Categories — "Explorez nos matériaux"
   ========================================================== */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

.category-rail {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--white);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

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

.category-large {
  position: relative;
  min-height: 380px;
}

.category-large img {
  position: absolute;
  inset: 0;
}

.category-large .category-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(41, 35, 30, 0.78), rgba(41, 35, 30, 0));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.category-large .category-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ivory);
}

.category-small {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e0d5;
}

.category-small img {
  width: 100%;
  height: 150px;
}

.category-small .category-label {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-small .category-name {
  font-size: 16px;
  font-weight: 600;
}

.category-small .category-desc {
  font-size: 13px;
  color: var(--gray);
}

.category-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--ivory);
  transition: transform 250ms ease;
}

.category-card:hover .category-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================
   Featured products — "Nos incontournables"
   ========================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 14px;
  border: 1px solid #e8e0d5;
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-category {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-ref {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.product-link {
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
}

/* ==========================================================
   About / brand editorial
   ========================================================== */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-image {
  min-height: 320px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-text .eyebrow {
  display: block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 15px;
  color: #d8d2c6;
  max-width: 46ch;
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 8px;
}

/* ==========================================================
   Benefits — "Pourquoi Home Design 92"
   ========================================================== */
.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
}

.benefit-item {
  padding: 24px 0;
  border-top: 1px solid #e8e0d5;
}

.benefit-item:last-child {
  border-bottom: 1px solid #e8e0d5;
}

.benefit-item h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.benefit-item p {
  font-size: 14px;
  color: var(--gray);
  max-width: 46ch;
}

/* ==========================================================
   Inspirations gallery
   ========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.gallery-item.is-large {
  min-height: 340px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ivory);
  background: linear-gradient(0deg, rgba(41, 35, 30, 0.7), rgba(41, 35, 30, 0));
}

/* ==========================================================
   Material storytelling — "Du matériau à l'espace"
   ========================================================== */
.story-section {
  background: var(--white);
}

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

.story-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-copy {
  max-width: 640px;
  margin-top: 32px;
}

.story-copy h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.story-copy p {
  font-size: 15px;
  color: var(--gray);
}

/* ==========================================================
   Services / conseils
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

.service-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid #e8e0d5;
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid #e8e0d5;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

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

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--charcoal);
  transition: transform 200ms ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease;
}

.faq-answer>div {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray);
  padding-bottom: 18px;
  max-width: 60ch;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
  text-align: center;
}

.final-cta .container {
  max-width: 600px;
}

.final-cta h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.final-cta p {
  font-size: 16px;
  color: #d8d2c6;
  margin-bottom: 28px;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: var(--charcoal);
  color: #d8d2c6;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand img {
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: #a39d90;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: #a39d90;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.footer-newsletter input[type="email"] {
  padding: 12px 14px;
  border: 1px solid rgba(245, 241, 234, 0.18);
  background: transparent;
  color: var(--ivory);
  font-family: inherit;
  font-size: 14px;
}

.footer-newsletter input[type="email"]::placeholder {
  color: #77716a;
}

.footer-newsletter .form-note {
  font-size: 12px;
  color: var(--gold);
  min-height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.12);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #77716a;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

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

/* ---------- Pagination ---------- */
.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  border: 1px solid #e8e0d5;
  background: var(--white);
  border-radius: 1px;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-2px);
}

.pagination-btn.current {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Home Design 92 product gallery: ecommerce hover zoom + lightbox */
/* Main product image: full-bleed image inside a soft glass-style frame. */
.hd-product-gallery {
  width: 100%;
  min-width: 0
}

.hd-product-image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .68) !important;
  outline: 0 !important;
  background: rgba(255, 255, 255, .18) !important;
  border-radius: 28px;
  isolation: isolate;
  cursor: zoom-in;
  box-shadow: 0 18px 48px rgba(37, 30, 22, .12), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%)
}

.hd-product-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4)
}

.hd-product-main-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: inherit !important;
  box-shadow: none !important;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: none
}

@media (hover:hover) and (pointer:fine) {
  .hd-product-main-image {
    transition: transform .22s ease-out
  }
}

.hd-image-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .94);
  font-size: 25px;
  cursor: pointer
}

.hd-product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap
}

.hd-product-thumb {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-sizing: border-box;
}



.hd-product-thumb.is-active {
  border: 2px solid #a98b61
}



.hd-image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 15, 15, .94);
  align-items: center;
  justify-content: center;
  padding: 5vh 8vw
}

.hd-image-lightbox.is-open {
  display: flex
}

.hd-image-lightbox>img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 8px 50px #0008
}

.hd-lightbox-close,
.hd-lightbox-prev,
.hd-lightbox-next {
  position: absolute;
  border: 0;
  background: #fff;
  color: #222;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1
}

.hd-lightbox-close {
  top: 22px;
  right: 24px
}

.hd-lightbox-prev {
  left: 24px
}

.hd-lightbox-next {
  right: 24px
}

.hd-product-dimensions {
  padding: 14px 16px;
  background: #f6f3ee;
  border-left: 3px solid #ad8b5d
}

.product-description-section {
  margin-top: 22px
}

.product-description-section h3 {
  font-size: 1.08rem;
  margin-bottom: 8px
}

.product-description-section p {
  line-height: 1.8;
  color: #5b5751
}

.hd-extra-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px
}

.hd-extra-preview span {
  font-size: 12px;
  background: #f3eee6;
  border: 1px solid #ddd2c3;
  border-radius: 4px;
  padding: 7px 9px;
  overflow-wrap: anywhere
}

.product-detail-main {
  min-width: 0
}

@media(max-width:700px) {
  .hd-image-lightbox {
    padding: 5vh 14px
  }

  .hd-lightbox-prev {
    left: 8px
  }

  .hd-lightbox-next {
    right: 8px
  }

  .hd-lightbox-close {
    top: 10px;
    right: 10px
  }

  .hd-product-thumb {
    width: 62px;
    height: 72px
  }
}

/* ABOUT PAGE — section headings and boutique cards */
#about-story .section-head,
#about-stores .section-head {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

#about-story .section-head h2,
#about-stores .section-head h2 {
  max-width: 680px;
  margin: 10px auto 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

#about-story .section-head p,
#about-stores .section-head p {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(.94rem, 1.1vw, 1.03rem);
  line-height: 1.7;
  text-wrap: pretty;
}


#about-stores .stores-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

#about-stores .store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 20px;
  gap: 9px;
}

#about-stores .store-card .service-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  margin-bottom: 2px;
}

#about-stores .store-card .service-icon svg {
  width: 20px;
  height: 20px;
}

#about-stores .store-card h3 {
  margin: 2px 0 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  text-wrap: balance;
}

#about-stores .store-region {
  margin: 0 0 2px;
  padding: 5px 9px;
  font-size: .72rem;
}

#about-stores .store-tagline {
  margin: 0 0 5px;
  color: var(--gray);
  font-size: .9rem;
}

#about-stores .store-detail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 5px;
  font-size: .88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#about-stores .store-detail svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--gold);
}

#about-stores .store-detail a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

#about-stores .store-detail a:hover,
#about-stores .store-detail a:focus-visible {
  text-decoration: underline;
}

#about-stores .store-hours {
  margin: 3px 0 8px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 12px;
  background: rgba(255, 255, 255, .38);
}

#about-stores .store-hours strong {
  display: block;
  margin-bottom: 4px;
  font-size: .82rem;
}

#about-stores .store-hours p {
  margin: 0;
  color: var(--gray);
  font-size: .82rem;
  line-height: 1.55;
}

#about-stores .store-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 14px;
  font-size: .85rem;
}

#about-stores .stores-note {
  max-width: 68ch;
  margin: 24px auto 0;
  color: var(--gray);
  text-align: center;
  line-height: 1.7;
}

#apropos .about-signature {
  display: block;
  margin-top: 8px;
}

/* About page — store map card */
.about-map-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(181, 154, 98, 0.34);
  border-radius: 5px;
  background: #fffdf9;
  box-shadow: 0 12px 32px rgba(23, 23, 22, 0.07);
}

.about-map-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
}

.about-map-info .eyebrow {
  margin-bottom: 12px;
}

.about-map-info h3 {
  margin-bottom: 16px;
  font-size: clamp(25px, 3vw, 34px);
}

.about-map-address {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
}

.about-map-description {
  max-width: 340px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
}

.about-map-directions {
  margin-top: 24px;
}

.about-map-frame {
  min-height: 340px;
  background: #e8e4dc;
}

.about-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: saturate(.78) contrast(.96);
}

@media (max-width: 760px) {
  .about-map-card {
    grid-template-columns: 1fr;
  }

  .about-map-info {
    padding: 28px 24px;
  }

  .about-map-frame,
  .about-map-frame iframe {
    min-height: 280px;
  }
}