@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

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

:root,
[data-theme="cream"] {
  --bg: #ffffff;
  --fg: hsl(30, 15%, 22%);
  --secondary: hsl(36, 30%, 88%);
  --muted: hsl(30, 10%, 50%);
  --accent: #fbefe1;
  --accent-fg: #000000;
  --border: hsl(33, 25%, 82%);
  --cream: #f3e5d7;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

[data-theme="classic"] {
  --bg: #ffffff;
  --fg: hsl(30, 10%, 15%);
  --secondary: hsl(33, 30%, 90%);
  --muted: hsl(30, 8%, 45%);
  --accent: #fbefe1;
  --accent-fg: #000000;
  --border: hsl(33, 20%, 88%);
  --cream: #f3e5d7;
}

/* ── Theme Switcher ── */
.theme-switcher {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  display: flex;
  background: var(--fg);
  border-radius: 50px;
  padding: 4px;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.theme-switcher button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  background: transparent;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.theme-switcher button.active {
  background: var(--accent);
  color: var(--accent-fg);
}
.theme-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.theme-swatch--classic {
  background: linear-gradient(135deg, #ffffff 50%, hsl(24, 50%, 48%) 50%);
}
.theme-swatch--cream {
  background: linear-gradient(135deg, #F7F3EA 50%, hsl(30, 45%, 52%) 50%);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ── */
.section-padding { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .section-padding { padding: 6rem 5rem; } }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.025em;
}

.section-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--accent); color: var(--accent-fg); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--fg);
  color: var(--fg);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }

/* ── Top Bar Slider ── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 51;
  background: var(--cream);
  color: #1a1a1a;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--accent-fg);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.top-bar-arrow:hover { opacity: 1; }
.top-bar-track {
  position: relative;
  overflow: hidden;
  width: 320px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .top-bar-track { width: 240px; }
}
.top-bar-track span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.top-bar-track span.active {
  opacity: 1;
  transform: translateX(0);
}
.top-bar-track span.exit-left {
  opacity: 0;
  transform: translateX(-100%);
}
.top-bar-track span.exit-right {
  opacity: 0;
  transform: translateX(100%);
}
.top-bar-track span.enter-left {
  transform: translateX(-100%);
}
.top-bar-track span.enter-right {
  transform: translateX(100%);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 4rem;
}
@media (min-width: 768px) { .header-inner { height: 5rem; padding: 0 3rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 5rem; } }

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 261px;
  height: auto;
  display: block;
}

.desktop-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.desktop-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--fg); }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.3em; }
.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15em;
  transition: transform 0.3s;
}
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 0.1em;
}
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  background: var(--bg);
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 1000;
  flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-panel {
  display: flex;
}
.nav-dropdown-panel a {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  white-space: nowrap;
}
.nav-dropdown-panel a:hover {
  background: rgba(0,0,0,0.03);
  color: var(--fg);
}

/* Mobile nav dropdown */
.mobile-nav-group { display: flex; flex-direction: column; }
.mobile-nav-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.3em; }
.mobile-nav-toggle::after {
  content: '';
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15em;
  transition: transform 0.3s;
}
.mobile-nav-group.open .mobile-nav-toggle::after {
  transform: rotate(-135deg);
  margin-top: 0.1em;
}
.mobile-nav-sub {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
}
.mobile-nav-group.open .mobile-nav-sub {
  display: flex;
}
.mobile-nav-sub a {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  opacity: 0.75;
}

.header-icons { display: flex; align-items: center; gap: 1.25rem; }
.header-icons button, .header-icons a { color: var(--fg); transition: color 0.3s; }
.header-icons button:hover, .header-icons a:hover { color: #000000; }

/* Social Dropdown */
.social-dropdown { position: relative; }
.social-toggle.active { color: var(--fg); }

.social-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 8px 24px hsla(30, 10%, 15%, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(50%) translateY(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.social-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
  pointer-events: auto;
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg);
  padding: 4px 2px;
  font-family: inherit;
}
.lang-toggle svg { opacity: 0.5; transition: transform 0.2s; }
.lang-switcher.open .lang-toggle svg { transform: rotate(180deg); }
.lang-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 6px 20px hsla(30, 10%, 15%, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 100;
}
.lang-switcher.open .lang-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.lang-option {
  display: block;
  padding: 6px 14px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 4px;
  text-align: center;
  transition: color 0.15s, background 0.15s;
}
.lang-option:hover {
  color: var(--fg);
  background: var(--secondary);
}

.social-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  color: var(--muted);
  transition: all 0.2s;
}
.social-panel a:hover {
  background: var(--secondary);
  color: #000000;
}

.icon-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 16px; height: 16px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.menu-btn { display: block; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.user-btn { display: none; }
@media (min-width: 768px) { .user-btn { display: block; } }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--fg); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 100%; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(30, 10%, 8%, 0.55) 0%, hsla(30, 10%, 8%, 0.25) 50%, transparent 100%);
  z-index: 3;
}

/* ── Hero Assembly Animation ── */
.hero-piece {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero1.png');
  background-size: cover;
  background-position: center;
  z-index: 2;
}

/* Canapé : côté gauche */
.hero-piece--sofa {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  animation:
    piece-sofa-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both,
    piece-fadeout 0.5s ease 2.4s forwards;
}

/* Chaises : côté droit */
.hero-piece--chairs {
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 60% 100%);
  animation:
    piece-chairs-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both,
    piece-fadeout 0.5s ease 2.4s forwards;
}

/* Table basse : centre bas */
.hero-piece--table {
  clip-path: polygon(30% 50%, 68% 50%, 68% 100%, 30% 100%);
  animation:
    piece-table-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both,
    piece-fadeout 0.5s ease 2.4s forwards;
}

@keyframes piece-sofa-in {
  from { transform: translateX(-115%); }
  to   { transform: translateX(0); }
}
@keyframes piece-chairs-in {
  from { transform: translateX(115%); }
  to   { transform: translateX(0); }
}
@keyframes piece-table-in {
  from { transform: translateY(115%); }
  to   { transform: translateY(0); }
}
@keyframes piece-fadeout {
  to { opacity: 0; }
}
@keyframes hero-img-reveal {
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 2rem;
  max-width: 40rem;
  text-align: left;
}
@media (min-width: 768px) { .hero-content { padding: 0 4rem; } }
@media (min-width: 1024px) { .hero-content { padding: 0 6rem; } }

.hero-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  white-space: nowrap;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.hero h1 em { font-style: italic; }

.hero-desc {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 300;
  max-width: 32rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }

.hero-cta {
  margin-top: 2.5rem;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}
.hero-cta a {
  display: inline-block;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s;
}
.hero-cta a:hover { background: var(--accent); color: var(--accent-fg); }
@media (min-width: 768px) {
  .hero-cta a { padding: 0.85rem 2.25rem; font-size: 0.9rem; letter-spacing: 0.15em; }
}

/* ── Craft Banner ── */
.craft-banner { border-bottom: 1px solid var(--border); }
.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .craft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .craft-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.craft-item { text-align: center; }
.craft-item img {
  width: 230px;
  height: 230px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
  opacity: 0.7;
}
.craft-item h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .craft-item h3 { font-size: 1.25rem; } }
.craft-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── Popular Products (Rugs) ── */
.popular-products .grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .popular-products .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.rug-card { cursor: pointer; }
.rug-card .img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--secondary);
}
.rug-card .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.rug-card .img-wrap .img-hover {
  opacity: 0;
}
.rug-card:hover .img-wrap .img-primary {
  opacity: 0;
}
.rug-card:hover .img-wrap .img-hover {
  opacity: 1;
  transform: scale(1.03);
}
.rug-card .info { margin-top: 1rem; text-align: center; }
.rug-card .info h3 { font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.05em; }
.rug-card .info p { color: var(--muted); font-size: 0.875rem; margin-top: 0.25rem; }

.text-center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
@media (min-width: 768px) { .mb-16 { margin-bottom: 4rem; } }

/* ── Collections ── */
.collections-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .collections-header { margin-bottom: 3.5rem; } }

.collections-header--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.collections-header__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.collections-header__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 260px;
}
.collections-header__divider span {
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
}
.collections-header__link {
  margin-top: 1.5rem;
}

.collections-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
}
.collections-header h2 em { font-style: italic; }

.collections-header .view-all {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.collections-header .view-all:hover { color: var(--fg); }
@media (min-width: 768px) { .collections-header .view-all { display: inline-flex; } }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
  }
}

.bento-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.bento-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.bento-card:hover img { transform: scale(1.05); }
.bento-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(30,10%,15%,0.5), hsla(30,10%,15%,0.1), transparent);
}
.bento-card .label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
}
@media (min-width: 768px) { .bento-card .label { bottom: 2rem; left: 2rem; } }
.bento-card h3 {
  font-size: 1.25rem;
  color: var(--cream);
}
@media (min-width: 768px) { .bento-card h3 { font-size: 1.5rem; } }

.bento-large {
  aspect-ratio: 4/3;
}
@media (min-width: 768px) {
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .bento-large h3 { font-size: 1.875rem; }
}

.bento-small { aspect-ratio: 4/3; }
@media (min-width: 768px) {
  .bento-small {
    aspect-ratio: auto;
    height: 100%;
  }
}

.bento-wide {
  aspect-ratio: 16/7;
}
@media (min-width: 768px) {
  .bento-wide {
    grid-column: span 3;
    aspect-ratio: 16/5;
  }
  .bento-wide h3 { font-size: 1.875rem; }
}

/* ── Prestations (image + texte alternés) ── */
.prestations-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.prestation-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .prestation-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .prestation-item.reverse .prestation-img {
    order: 2;
  }
  .prestation-item.reverse .prestation-text {
    order: 1;
  }
}
.prestation-img {
  overflow: hidden;
  border-radius: 6px;
}
.prestation-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s;
}
.prestation-item:hover .prestation-img img {
  transform: scale(1.03);
}
.prestation-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.prestation-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.mobile-cta {
  margin-top: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .mobile-cta { display: none; } }
.mobile-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-cta a:hover { color: var(--fg); }

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { cursor: pointer; }
.product-card .img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.product-card:hover img { transform: scale(1.1); }
.product-card .add-btn {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 2.5rem; height: 2.5rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s;
}
.product-card:hover .add-btn { opacity: 1; transform: translateY(0); }
.product-card .add-btn:hover { background: #b1866a; }

.product-card .info { margin-top: 1rem; }
.product-card .info h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.product-card .info p { color: var(--muted); font-size: 0.875rem; margin-top: 0.25rem; }

/* ── Values ── */
.values-section { background: var(--secondary); }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }

.value-item { text-align: center; }
.value-item .icon-circle {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.value-item .icon-circle svg { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 1.5; fill: none; }
.value-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.value-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── Story ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .story-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }

.story-img-wrap { overflow: hidden; }
.story-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.7s;
}
@media (min-width: 1024px) { .story-img-wrap img { height: 600px; } }
.story-img-wrap:hover img { transform: scale(1.05); }

.story-text h2 { margin-top: 0.5rem; }
.story-text h2 em { font-style: italic; }
.story-text p { margin-top: 1.5rem; color: var(--muted); line-height: 1.7; }
.story-text p + p { margin-top: 1rem; }
.story-text .btn-outline { margin-top: 2rem; }
@media (min-width: 1024px) { .story-text { padding-left: 2rem; } }

/* ── Reviews ── */
.reviews-section { background: var(--secondary); }

.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}

.reviews-grid {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.reviews-grid .review-card {
  width: calc((100% - 3rem) / 3);
  min-width: calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  flex-shrink: 0;
  min-height: 220px;
}

@media (max-width: 768px) {
  .reviews-grid .review-card {
    min-width: 100%;
  }
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid hsla(30, 15%, 70%, 0.3);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg);
  transition: background 0.2s, border-color 0.2s;
}
.reviews-nav-btn:hover {
  background: var(--accent);
  border-color: var(--fg);
  color: #fff;
}

.review-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid hsla(30, 15%, 70%, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) { .review-card { padding: 2rem 2.25rem; } }

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.reviewer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.review-stars { display: flex; gap: 0.2rem; }
.review-stars svg { width: 14px; height: 14px; fill: #d4a437; stroke: #d4a437; }

.reviewer-location {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-top: 0.125rem;
}

.reviewer-location .flag-icon {
  width: 20px;
  height: 15px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,0.2);
}

.review-card .review-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
}

/* ── Newsletter ── */
.newsletter-inner { max-width: 36rem; margin: 0 auto; text-align: center; }
.newsletter-inner p { color: var(--muted); margin-top: 1rem; line-height: 1.7; }

.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.3s;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { border-color: var(--fg); }

/* ── Footer ── */
.site-footer { background: #261E15; color: var(--bg); }

.footer-inner {
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 3rem;
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 5rem;
  }
}

.footer-brand .logo-img { filter: brightness(1.5); }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: hsla(40,33%,97%,0.6); line-height: 1.7; }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
  color: hsla(40,33%,97%,0.6);
  transition: color 0.3s;
}
.social-links a:hover { color: var(--fg); }
.social-links svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.875rem;
  color: hsla(40,33%,97%,0.6);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--fg); }
.footer-col .contact-info { font-size: 0.875rem; color: hsla(40,33%,97%,0.6); }
.footer-col .contact-info li { margin-bottom: 0.75rem; }

.footer-bottom {
  border-top: 1px solid hsla(40,33%,97%,0.1);
  padding: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: hsla(40,33%,97%,0.4); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (min-width: 768px) { .breadcrumb { padding: 1.25rem 3rem; margin-top: 5rem; } }
@media (min-width: 1024px) { .breadcrumb { padding: 1.25rem 5rem; } }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span { color: var(--fg); font-weight: 500; }

/* ── Cart Page ── */
.cart-page {
  padding: 1rem 1.5rem 4rem;
  min-height: 60vh;
}
@media (min-width: 768px) { .cart-page { padding: 1.5rem 3rem 6rem; } }
@media (min-width: 1024px) { .cart-page { padding: 1.5rem 5rem 6rem; } }

.cart-page-header {
  margin-bottom: 2.5rem;
}
.cart-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.cart-page-header p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.375rem;
  letter-spacing: 0.05em;
}

/* ── Empty state ── */
.cart-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 5rem 1rem;
  text-align: center;
}
.cart-empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-empty-icon svg {
  stroke: var(--border);
}
.cart-empty h2 {
  font-size: 1.5rem;
  font-weight: 300;
}
.cart-empty p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.6;
}

/* ── Cart content layout ── */
.cart-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .cart-content {
    grid-template-columns: 1fr 400px;
    gap: 3.5rem;
    align-items: start;
  }
}

/* ── Items column header ── */
.cart-items-header {
  display: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 768px) {
  .cart-items-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
  }
  .cart-items-header span:nth-child(2) { text-align: center; width: 120px; }
  .cart-items-header span:nth-child(3) { text-align: right; width: 100px; }
}

/* ── Cart item row ── */
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .cart-item {
    grid-template-columns: 110px 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
}

.cart-item-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  border-radius: 4px;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cart-item:hover .cart-item-img img {
  transform: scale(1.05);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cart-item-tribu {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
@media (min-width: 768px) { .cart-item-name { font-size: 1.25rem; } }
.cart-item-dimensions {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  background: var(--secondary);
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.cart-item-unit-price {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* Remove button */
.remove-btn {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 50%;
  transition: all 0.2s;
}
.remove-btn:hover {
  background: hsl(0, 70%, 95%);
  color: hsl(0, 60%, 45%);
}

/* Bottom row: qty + total */
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.cart-item-qty-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: all 0.2s;
}
.qty-btn:hover {
  background: var(--secondary);
  color: var(--fg);
}

.qty-value {
  width: 2.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 2.25rem;
  user-select: none;
}

/* Item total price */
.cart-item-total {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ── Back link ── */
.cart-actions-bar {
  padding-top: 1.5rem;
}
.cart-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.cart-back-link:hover { color: var(--fg); }

/* ── Summary card ── */
.summary-card {
  background: hsl(40, 40%, 95%);
  padding: 2rem;
  border-radius: 4px;
  position: sticky;
  top: 6rem;
}

.summary-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.summary-total {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--fg);
  padding: 0.75rem 0 0;
}

.summary-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.free-shipping-msg {
  display: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: #2e7d32;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  margin-top: 0.75rem;
}

/* Checkout button */
.btn-checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding: 1.1rem 2rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-checkout:hover {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Payment info */
.payment-icons {
  margin-top: 1.25rem;
  text-align: center;
}
.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.badge-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
  line-height: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.badge-pay svg {
  display: block;
  width: 38px;
  height: 24px;
}

/* ── Cart Toast Notification ── */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--fg);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 4px;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════
   COLLECTION PAGE
   ══════════════════════════════════ */

/* ── Collection Hero Banner ── */
.collection-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .collection-hero { height: 400px; margin-top: 5rem; }
}

.collection-hero-bg {
  position: absolute;
  inset: 0;
}
.collection-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}
.collection-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(30, 10%, 10%, 0.7), hsla(30, 10%, 15%, 0.25));
}

.collection-hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  max-width: 36rem;
}
@media (min-width: 768px) { .collection-hero-content { padding: 3rem 3rem; } }
@media (min-width: 1024px) { .collection-hero-content { padding: 3.5rem 5rem; } }

.collection-hero-sub {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.625rem;
}

.collection-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
}
.collection-hero-content h1 em { font-style: italic; }

.collection-hero-desc {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.6;
  font-weight: 300;
}

/* ── Filters Bar ── */
.collection-filters {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .collection-filters { top: 5rem; } }

.filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .filters-inner { padding: 0 3rem; } }
@media (min-width: 1024px) { .filters-inner { padding: 0 5rem; } }

/* ── Filter Dropdown ── */
.filter-dropdown {
  position: relative;
}

.filter-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.filter-dropdown-toggle:hover { opacity: 0.6; }
.filter-dropdown-toggle svg {
  transition: transform 0.25s;
}
.filter-dropdown.open .filter-dropdown-toggle svg {
  transform: rotate(180deg);
}

.filter-dropdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #b8860b);
  flex-shrink: 0;
}

.filter-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  white-space: nowrap;
  background: var(--bg);
  border: 1px solid var(--border, rgba(0,0,0,0.1));
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 0.25rem;
  padding: 0.4rem 0;
  z-index: 50;
}
.filter-dropdown.open .filter-dropdown-panel {
  display: block;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.15s;
}
.filter-checkbox-item:hover {
  background: rgba(0,0,0,0.03);
}
.filter-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--fg);
  cursor: pointer;
  flex-shrink: 0;
}
.filter-checkbox-item span {
  line-height: 1.2;
}

.filter-dropdown-count {
  background: var(--fg);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.1rem;
}

.filter-count {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: auto;
  padding: 1.1rem 0;
}
.filter-count span {
  font-weight: 600;
  color: var(--fg);
}

/* ── Active filter tags ── */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 1rem;
}
@media (min-width: 768px) { .filter-tags { padding: 0.75rem 3rem 1rem; } }
@media (min-width: 1024px) { .filter-tags { padding: 0.75rem 5rem 1rem; } }

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  color: var(--fg);
  background: var(--secondary, rgba(0,0,0,0.05));
  border: 1px solid var(--border, rgba(0,0,0,0.12));
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
}
.filter-tag:hover {
  background: rgba(0,0,0,0.08);
  border-color: var(--fg);
}
.filter-tag svg {
  opacity: 0.5;
  transition: opacity 0.2s;
}
.filter-tag:hover svg {
  opacity: 1;
}

.filter-tag-clear {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25rem;
  transition: color 0.2s;
}
.filter-tag-clear:hover {
  color: var(--fg);
}

/* ── Collection Grid ── */
.collection-grid-section {
  padding: 2rem 1.5rem 4rem;
}
@media (min-width: 768px) { .collection-grid-section { padding: 2.5rem 3rem 6rem; } }
@media (min-width: 1024px) { .collection-grid-section { padding: 2.5rem 5rem 6rem; } }

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 400px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 685px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1200px) {
  .collection-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

/* ── Collection Card ── */
.col-card {
  position: relative;
  overflow: visible;
  cursor: pointer;
  animation: colFadeUp 0.5s ease forwards;
  opacity: 0;
}

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

.col-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.col-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.4s ease;
  padding: 0.5rem;
}

.col-card-img .img-primary {
  opacity: 1;
}

.col-card-img .img-hover {
  position: absolute;
  inset: 0;
  object-fit: cover;
  padding: 0;
  opacity: 0;
}

.col-card:hover .col-card-img .img-primary {
  opacity: 0;
}

.col-card:hover .col-card-img .img-hover {
  opacity: 1;
}

.col-dimension-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--fg);
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.1;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}
.col-dimension-unit {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--fg);
}

/* Badge */
.col-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 2;
}
.col-banner-sur-commande {
  position: absolute;
  top: 37.5%;
  left: 0;
  padding: 0.4rem 0.75rem;
  background: #A0522D;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  border-radius: 0 3px 3px 0;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0.4rem 0;
  transition: max-width 2s ease-out, opacity 0.6s ease-out, padding 2s ease-out;
}
.col-banner-sur-commande.visible {
  max-width: 100%;
  opacity: 1;
  padding: 0.4rem 0.75rem;
}
.col-banner-sur-commande.settled {
  white-space: normal;
}

/* Overlay with add button */
.col-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  background: linear-gradient(to top, hsla(30, 10%, 15%, 0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.col-card:hover .col-card-overlay {
  opacity: 1;
}

.col-add-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s;
  transform: translateY(8px);
  box-shadow: 0 2px 12px hsla(0, 0%, 0%, 0.15);
}
.col-card:hover .col-add-btn {
  transform: translateY(0);
}
.col-add-btn:hover {
  background: var(--fg);
  color: var(--bg);
}
.col-add-btn.added {
  background: var(--accent);
  color: var(--accent-fg);
}

/* Card info */
.col-card-info {
  padding: 0.875rem 0.25rem 0;
  text-align: center;
}
.col-card-info h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.col-card-info .col-card-dimensions {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg);
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  font-weight: 500;
}
.col-card-info .col-card-price {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}
.col-card-info p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* ── Active nav link ── */
.desktop-nav a.active {
  color: var(--fg);
  font-weight: 500;
}

/* ── SVG inline icon helpers ── */
.inline-svg { display: inline-block; vertical-align: middle; }

/* ═══════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════ */

/* ── Hero ── */
.contact-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  background: linear-gradient(135deg, hsl(30, 20%, 18%) 0%, hsl(24, 30%, 28%) 50%, hsl(24, 50%, 48%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.contact-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.contact-hero-uptitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}
.contact-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ── Intro ── */
.contact-intro {
  background: var(--cream);
}
.contact-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.contact-intro-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--fg);
}
.contact-intro-inner > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.contact-reason {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--fg);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-reason:hover {
  border-color: var(--fg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-reason svg {
  color: var(--fg);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ── Contact Grid ── */
.contact-content {
  background: var(--bg);
}
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-sidebar {
    flex-direction: column !important;
  }
}

/* ── Form ── */
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-align: center;
}
.contact-form-desc {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  text-align: center;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  text-align: left;
}
.contact-form label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--fg);
  box-shadow: 0 0 0 3px hsla(24, 50%, 48%, 0.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: hsl(30, 8%, 65%);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-form {
  text-align: center;
}
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.contact-submit-btn:hover {
  background: hsl(24, 50%, 42%);
  transform: translateY(-1px);
}
.contact-submit-btn:active {
  transform: translateY(0);
}

/* ── Form success ── */
.contact-form-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
}
.contact-form-success svg {
  color: var(--fg);
}
.contact-form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.contact-form-success p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Info Sidebar ── */
.contact-info-sidebar {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}
.contact-info-sidebar .contact-info-card {
  flex: 1;
}
.contact-info-card {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  text-align: center;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  color: var(--fg);
  border: 1px solid var(--border);
}
.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.contact-info-card a {
  color: var(--fg);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info-card a:hover {
  color: hsl(24, 50%, 38%);
}
.contact-info-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-info-note {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  margin-top: 0.25rem;
  opacity: 0.7;
}

/* ── Social card ── */
.contact-social-card {
  padding: 1.5rem;
  background: var(--fg);
  border-radius: 0.75rem;
  text-align: center;
}
.contact-social-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-fg);
  margin-bottom: 1rem;
}
.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.contact-social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--accent-fg);
  transition: background 0.3s, transform 0.2s;
}
.contact-social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ── FAQ ── */
.contact-faq {
  background: var(--cream);
  text-align: center;
}
.contact-faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}
.faq-grid {
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  text-align: left;
  transition: color 0.3s;
}
.faq-toggle:hover { color: var(--fg); }
.faq-toggle svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--fg);
}
.faq-item.open .faq-toggle svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 1000px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════
   SUR-MESURE PAGE
   ═══════════════════════════════════ */

/* ── Hero ── */
.sm-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  max-height: 75vh;
  margin-top: calc(36px + 5rem);
}
@media (max-width: 767px) {
  .sm-hero { margin-top: calc(36px + 4rem); }
}
@media (max-width: 768px) {
  .sm-hero { grid-template-columns: 1fr; min-height: auto; }
}
.sm-hero-img {
  position: relative;
  overflow: hidden;
  max-height: 75vh;
}
.sm-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.sm-hero-content--centered {
  align-items: center;
  text-align: center;
}
.sm-uptitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.sm-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.sm-hero-content h1 .accent {
  color: var(--cream);
  font-style: italic;
}
.sm-hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 1.25rem;
}
.sm-hero-desc--secondary {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.75;
  margin-bottom: 2.5rem;
}
.sm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--cream);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: fit-content;
}
.sm-cta-btn:hover {
  background: #d4b89a;
  transform: translateY(-1px);
}

/* ── Process Steps ── */
.sm-process {
  background: var(--fg);
  color: var(--accent-fg);
  text-align: center;
}
.sm-process-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #fff;
}
.sm-process-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}
.sm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .sm-steps { grid-template-columns: 1fr; gap: 2rem; }
}
.sm-step {
  position: relative;
  text-align: center;
}
.sm-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  margin-bottom: 1rem;
}
.sm-step-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--fg);
}
.sm-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #fff;
}
.sm-step p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ── Custom Intro ── */
.sm-custom-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.sm-custom-intro > p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.sm-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem auto;
  max-width: 480px;
}
.sm-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.sm-check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-check-icon::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8956c;
}
.sm-check-icon--time::after {
  border-radius: 2px;
  width: 7px;
  height: 7px;
}
.sm-check-item span:last-child {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.sm-check-item--time span:last-child {
  font-style: italic;
}

/* ── Divider ── */
.sm-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.sm-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.sm-divider p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: #c8956c;
  white-space: nowrap;
}

/* ── 6-step grid ── */
.sm-steps--6 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1050px;
  gap: 3rem 2.5rem;
}
.sm-step-line {
  width: 30px;
  height: 2px;
  background: #c8956c;
  margin: 0 auto 1.25rem;
  opacity: 0.6;
}
@media (max-width: 768px) {
  .sm-steps--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sm-steps--6 { grid-template-columns: 1fr; }
}

/* ── Closing text ── */
.sm-process-closing {
  text-align: center;
  max-width: 650px;
  margin: 3.5rem auto 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ── Alternating Image-Text Blocks ── */
.sm-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.sm-block:nth-child(even) { background: var(--cream); }
.sm-block:nth-child(odd) { background: var(--bg); }

.sm-block--left .sm-block-img { order: 2; }
.sm-block--left .sm-block-text { order: 1; }

@media (max-width: 768px) {
  .sm-block { grid-template-columns: 1fr; }
  .sm-block--left .sm-block-img { order: 0; }
  .sm-block--left .sm-block-text { order: 0; }
}
.sm-block-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 350px;
}
.sm-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.sm-block-img:hover img {
  transform: scale(1.03);
}
.sm-block-text {
  padding: clamp(2rem, 5vw, 4rem);
}
.sm-block-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--fg);
}
.sm-block-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.sm-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.sm-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--fg);
}
.sm-detail svg {
  color: var(--fg);
  flex-shrink: 0;
}

/* ── Quote / Devis Form ── */
.sm-quote {
  background: var(--cream);
}
.sm-quote-inner {
  max-width: 900px;
  margin: 0 auto;
}
.sm-quote-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.sm-quote-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.sm-quote-header p {
  color: var(--muted);
  font-size: 0.95rem;
}
.sm-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.sm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .sm-form-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.sm-form-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.sm-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.sm-form label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.sm-form input,
.sm-form select,
.sm-form textarea {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.sm-form input:focus,
.sm-form select:focus,
.sm-form textarea:focus {
  border-color: var(--fg);
  box-shadow: 0 0 0 3px hsla(24, 50%, 48%, 0.1);
}
.sm-form input::placeholder,
.sm-form textarea::placeholder {
  color: hsl(30, 8%, 65%);
}
.sm-form textarea { resize: vertical; min-height: 100px; }
.sm-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ── Upload zone ── */
.sm-upload-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.sm-upload-zone.dragover {
  border-color: var(--fg);
  background: hsla(24, 50%, 48%, 0.04);
}
.sm-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  border: none;
  padding: 0;
}
.sm-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0.5rem;
  color: var(--muted);
}
.sm-upload-placeholder svg {
  color: var(--border);
}
.sm-upload-placeholder span {
  font-size: 0.85rem;
}
.sm-upload-hint {
  font-size: 0.7rem !important;
  opacity: 0.6;
}
.sm-upload-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 160px;
}
.sm-upload-preview img {
  max-height: 200px;
  max-width: 100%;
  border-radius: 0.375rem;
  object-fit: contain;
}
.sm-upload-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}
.sm-upload-remove:hover {
  background: var(--accent);
}

/* ── Submit ── */
.sm-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
  justify-content: center;
}
.sm-submit-btn:hover {
  background: hsl(24, 50%, 42%);
  transform: translateY(-1px);
}

/* ── Form success ── */
.sm-form-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
.sm-form-success svg { color: var(--fg); }
.sm-form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.sm-form-success p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 400px;
}

/* ── Reassurance Bar ── */
.sm-reassurance {
  background: var(--fg);
  padding: 2rem 1.5rem;
}
.sm-reassurance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.sm-reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
}
.sm-reassurance-item svg {
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
.sm-reassurance-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.sm-reassurance-item span {
  font-size: 0.7rem;
  opacity: 0.6;
}
@media (max-width: 768px) {
  .sm-reassurance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .sm-reassurance-inner {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════
   PRODUCT DETAIL PAGE (PDP)
   ═══════════════════════════════════ */

/* ── Breadcrumb ── */
.pdp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8.5rem 2rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pdp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.pdp-breadcrumb a:hover { color: var(--fg); }
.pdp-breadcrumb span { color: var(--border); }
.pdp-breadcrumb span:last-child { color: var(--fg); }

/* ── Main Layout ── */
.pdp-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .pdp-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.25rem 2rem;
  }
}

/* ── Gallery ── */
.pdp-gallery { position: relative; }
.pdp-img-main {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1;
  border: 1px solid #e0e0e0;
}
.pdp-dimension-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--fg);
  z-index: 6;
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  line-height: 1.1;
}
.pdp-dimension-inner {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
.pdp-dimension-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.pdp-dimension-x {
  font-size: 0.85rem;
  color: var(--fg);
  font-weight: 600;
}
.pdp-dimension-unit {
  font-size: 0.65rem;
  color: var(--fg);
  font-weight: 600;
}
.pdp-img-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.pdp-img-main:hover img { transform: none; }

.pdp-inspiration-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  z-index: 5;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  pointer-events: none;
}
.pdp-inspiration-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.pdp-zoom-lens {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 250%;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  cursor: crosshair;
  border-radius: 0.75rem;
}
.pdp-img-main.zooming .pdp-zoom-lens {
  opacity: 1;
  pointer-events: auto;
}
.pdp-img-main.zooming img {
  opacity: 0;
}
.pdp-img-main.zooming .pdp-zoom-btn {
  opacity: 0;
}
.pdp-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  z-index: 2;
}
.pdp-zoom-btn {
  position: absolute;
  bottom: 3.5rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--fg);
  transition: background 0.3s, color 0.3s;
  z-index: 6;
}
.pdp-zoom-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--fg);
}

/* Thumbnails */
.pdp-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--cream);
  padding: 0;
  transition: border-color 0.3s;
}
.pdp-thumb.active { border-color: var(--fg); }
.pdp-thumb:hover { border-color: var(--muted); }
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Product Info ── */
.pdp-info {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.pdp-info h1 {
  margin-bottom: 1rem;
}
.pdp-name-tribu {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.pdp-name-distinct {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  font-style: italic;
}

.pdp-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.pdp-stock-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: hsl(0, 0%, 97%);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.pdp-stock-inline .pdp-stock-detail {
  margin-left: auto;
}
.pdp-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pdp-stock-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pdp-stock-detail {
  font-size: 0.8rem;
  color: var(--muted);
}
.pdp-other-prices {
  display: flex;
  gap: 0.75rem;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}
.pdp-other-prices span {
  font-size: 0.85rem;
  color: var(--muted);
}

.pdp-short-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.pdp-short-desc > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pdp-specs-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 0.5rem;
}
.pdp-specs-list {
  list-style: disc;
  padding: 0 0 0 1.5rem;
  margin: 0 0 1rem;
}
.pdp-specs-list li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--fg);
}
.pdp-specs-list li strong {
  color: var(--fg);
  font-weight: 600;
}
.pdp-desc-text {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ── Actions ── */
.pdp-actions {
  margin-bottom: 0;
}
.pdp-add-btn--full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  height: 52px;
}
.pdp-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  overflow: hidden;
}
.pdp-qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s;
}
.pdp-qty-btn:hover { background: var(--cream); }
.pdp-qty span {
  width: 40px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}
.pdp-add-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0 2rem;
  height: 44px;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.pdp-add-btn:hover {
  transform: translateY(-1px);
}
.pdp-add-btn.added {
  background: hsl(145, 50%, 40%);
}

/* ── Auth Page (Connexion / Inscription) ── */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
}
.auth-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
}
.auth-tab {
  flex: 1;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}
.auth-tab.active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.auth-form-group {
  margin-bottom: 1.25rem;
}
.auth-form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.auth-form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.3s;
}
.auth-form-group input:focus {
  outline: none;
  border-color: var(--fg);
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.auth-forgot {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.auth-forgot:hover {
  color: var(--fg);
}
.auth-submit-btn {
  width: 100%;
  padding: 0.9375rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.5rem;
}
.auth-submit-btn:hover {
  background: var(--accent);
  color: var(--accent-fg);
}
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.auth-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--fg);
}
.auth-checkbox a {
  color: var(--fg);
  text-decoration: underline;
}

.pdp-notice-commande {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--cream);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg);
}
.pdp-notice-commande svg {
  color: #1a1a1a;
  flex-shrink: 0;
}
.pdp-notice-commande p {
  margin: 0 0 0.2rem;
  padding-left: 0.6rem;
  text-indent: -0.6rem;
}
.pdp-notice-commande p:last-child {
  margin-bottom: 0;
}

/* ── Trust / Reassurance ── */
.pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 0.75rem;
}
@media (max-width: 480px) {
  .pdp-trust { grid-template-columns: 1fr; }
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  min-height: 2.75rem;
  background: var(--cream);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg);
}
.pdp-trust-item svg {
  color: #1a1a1a;
  flex-shrink: 0;
}

/* ── Tabs ── */
.pdp-tabs-section { background: var(--bg); }
.pdp-tabs-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.pdp-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.pdp-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.pdp-tab:hover { color: var(--fg); }
.pdp-tab.active {
  color: var(--fg);
  border-bottom-color: var(--fg);
  font-weight: 500;
}
.pdp-tab-content { display: none; }
.pdp-tab-content.active { display: block; }
.pdp-tab-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Details table */
.pdp-details-table {
  width: 100%;
  border-collapse: collapse;
}
.pdp-details-table tr { border-bottom: 1px solid var(--border); }
.pdp-details-table th,
.pdp-details-table td {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.pdp-details-table th {
  width: 35%;
  font-weight: 500;
  color: var(--fg);
}
.pdp-details-table td { color: var(--muted); }

/* Care tips */
.pdp-care {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pdp-care-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.pdp-care-item svg {
  color: var(--fg);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pdp-care-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.pdp-care-item p {
  font-size: 0.8rem !important;
  margin-bottom: 0 !important;
}

/* ── Related Products ── */
.pdp-related {
  background: var(--cream);
  text-align: center;
}
.pdp-related h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 2rem;
}
.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .pdp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pdp-related-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.pdp-related-card {
  text-decoration: none;
  color: var(--fg);
  text-align: left;
  transition: transform 0.3s;
}
.pdp-related-card:hover { transform: translateY(-4px); }
.pdp-related-img {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg);
  margin-bottom: 0.75rem;
}
.pdp-related-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pdp-related-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.pdp-related-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Zoom Overlay ── */
.pdp-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pdp-zoom-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.pdp-zoom-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.pdp-zoom-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
}
.pdp-zoom-close:hover { background: rgba(255,255,255,0.2); }

/* ── WhatsApp Button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ════════════════════════════════════════
   MON COMPTE — Layout with Sidebar
   ════════════════════════════════════════ */

.myaccount {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: calc(36px + 5rem);
}
@media (max-width: 768px) {
  .myaccount { grid-template-columns: 1fr; gap: 0; margin-top: calc(36px + 4rem); }
}

.myaccount-sidebar {
  position: sticky;
  top: 100px;
  background: var(--secondary, #f9f6f1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
@media (max-width: 768px) {
  .myaccount-sidebar { position: static; margin-bottom: 24px; }
}
.myaccount-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.myaccount-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.myaccount-name { font-weight: 600; font-size: 0.92rem; color: var(--fg); }
.myaccount-email { font-size: 0.78rem; color: var(--muted); }

.myaccount-nav { display: flex; flex-direction: column; gap: 4px; }
.myaccount-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--fg);
  text-decoration: none;
  transition: background 0.15s;
}
.myaccount-nav a:hover { background: var(--bg); }
.myaccount-nav a.active {
  background: var(--bg);
  font-weight: 600;
  color: var(--fg);
}
.myaccount-nav a svg { flex-shrink: 0; }

.myaccount-sidebar-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.myaccount-admin-link {
  font-size: 0.82rem;
  color: var(--fg);
  text-decoration: none;
}
.myaccount-admin-link:hover { text-decoration: underline; }
.myaccount-logout {
  font-size: 0.82rem;
  color: var(--fg);
  text-decoration: none;
}
.myaccount-logout:hover { color: var(--fg); }

.myaccount-content { min-width: 0; }

.myaccount-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--fg);
}

.myaccount-flash {
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}
.myaccount-flash--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.myaccount-flash--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.myaccount-card {
  background: var(--secondary, #f9f6f1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.myaccount-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--fg);
}

.myaccount-field { margin-bottom: 14px; }
.myaccount-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.myaccount-field input,
.myaccount-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s;
}
.myaccount-field input:focus,
.myaccount-field select:focus {
  outline: none;
  border-color: var(--fg);
}
.myaccount-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) {
  .myaccount-form-row { grid-template-columns: 1fr; }
}

.myaccount-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) {
  .myaccount-addresses { grid-template-columns: 1fr; }
}
.myaccount-addresses .myaccount-card { margin-bottom: 0; }

.myaccount-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
}
.myaccount-empty svg { margin-bottom: 12px; opacity: 0.35; }
.myaccount-empty p { font-size: 0.92rem; }

.myaccount-orders { display: flex; flex-direction: column; gap: 16px; }
.myaccount-order {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--secondary, #f9f6f1);
}
.myaccount-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg);
  gap: 12px;
}
.myaccount-order-id { font-weight: 600; font-size: 0.88rem; color: var(--fg); font-family: monospace; }
.myaccount-order-date { font-size: 0.78rem; color: var(--muted); margin-left: 8px; }
.myaccount-order-items { padding: 12px 16px; }
.myaccount-order-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.myaccount-order-item:last-child { border-bottom: none; }
.myaccount-order-tracking {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #eaf6ff;
  font-size: 0.82rem;
  color: #0c5460;
}
.myaccount-order-tracking svg { flex-shrink: 0; }
.myaccount-order-tracking a { color: var(--fg); margin-left: 8px; font-size: 0.82rem; }
.myaccount-order-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  font-size: 0.85rem;
  color: var(--muted);
}

.badge-status { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 500; }
.badge-status--paid { background: #fff3cd; color: #856404; }
.badge-status--shipped { background: #cce5ff; color: #004085; }
.badge-status--delivered { background: #d4edda; color: #155724; }
.badge-status--cancelled { background: #f8d7da; color: #721c24; }

/* ══════════════════════════════════════════
   CONFIRMATION
   ══════════════════════════════════════════ */
.confirmation-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 1.5rem 4rem;
}
.confirmation-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.confirmation-icon {
  margin-bottom: 1.5rem;
}
.confirmation-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.confirmation-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.confirmation-details {
  background: hsl(0, 0%, 97%);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-items {
  text-align: left;
  margin-bottom: 1.5rem;
}
.confirmation-items h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.confirmation-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.confirmation-shipping {
  text-align: left;
  margin-bottom: 2rem;
}
.confirmation-shipping h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.confirmation-shipping p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.confirmation-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}
.confirmation-actions .btn-primary:hover {
  background: #333;
}
.confirmation-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.3s;
}
.confirmation-actions .btn-secondary:hover {
  border-color: var(--fg);
}

/* ══════════════════════════════════════════
   CHECKOUT
   ══════════════════════════════════════════ */
.checkout-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.checkout-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .checkout-page {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 1.25rem 3rem;
  }
}

/* ── Sections ── */
.checkout-section {
  margin-bottom: 2rem;
}
.checkout-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── User bar ── */
.checkout-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: hsl(0, 0%, 97%);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.checkout-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.checkout-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.checkout-user-menu {
  position: relative;
}
.checkout-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
}
.checkout-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 10;
}
.checkout-menu-dropdown.open {
  display: block;
}
.checkout-menu-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--fg);
  text-decoration: none;
}
.checkout-menu-dropdown a:hover {
  background: hsl(0, 0%, 97%);
}

/* ── Form fields ── */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-field {
  margin-bottom: 0.75rem;
}
.checkout-field input,
.checkout-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s;
}
.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: var(--fg);
}
.checkout-field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ── Payment ── */
.checkout-payment-info {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-checkout:hover {
  background: #333;
}
.btn-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.paypal-container {
  margin-top: 0.5rem;
}

/* ── Messages ── */
.checkout-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.checkout-message--error {
  background: #fef2f2;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}
.checkout-message--info {
  background: #f0f9ff;
  color: #1e6091;
  border: 1px solid #bee3f8;
}

/* ── Order Summary (right) ── */
.checkout-summary-card {
  background: hsl(0, 0%, 97%);
  border-radius: 10px;
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}
.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.checkout-summary-item-img {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.checkout-summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.checkout-summary-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-summary-item-info {
  flex: 1;
  min-width: 0;
}
.checkout-summary-item-name {
  font-size: 0.85rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-summary-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.summary-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.checkout-back-link:hover {
  color: var(--fg);
}
