/*
Theme Name: MiniPouces
Theme URI: https://minipouces.fr
Author: MiniPouces Studio
Author URI: https://minipouces.fr
Description: Thème WordPress FSE pour MiniPouces — Mobilier & Jouets Montessori. Design interactif avec animations organiques, explorateur de pièces et transformations par âge.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minipouces
Tags: full-site-editing, block-patterns, woocommerce, e-commerce, montessori

MiniPouces — Mobilier & Jouets · Montessori
*/

/* ===================================================================
   BASE RESET & GLOBAL STYLES
   (theme.json handles most design tokens — this file is for custom CSS
   that can't be expressed via theme.json)
   =================================================================== */

/* Accessibility: screen reader only text */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Selection color */
::selection {
  background-color: rgba(200, 113, 74, 0.2);
  color: #231F1C;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid #C8714A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===================================================================
   TYPOGRAPHY ENHANCEMENTS
   =================================================================== */

/* Headings — display font */
h1, h2, h3, h4, h5, h6,
.has-display-font-family {
  text-wrap: balance;
}

/* Body text optimization */
p, li, blockquote {
  text-wrap: pretty;
  max-inline-size: 75ch;
}

/* ===================================================================
   ORGANIC SHAPE UTILITIES
   =================================================================== */

.mp-wave-divider {
  width: 100%;
  height: auto;
  display: block;
  margin: -1px 0;
  pointer-events: none;
}

.mp-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  will-change: transform;
}

.mp-grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url('assets/svg/grain-texture.svg');
  background-repeat: repeat;
}

/* ===================================================================
   SCROLL ANIMATION BASE CLASSES
   =================================================================== */

.mp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mp-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mp-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mp-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mp-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mp-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mp-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.mp-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mp-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.mp-stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.mp-stagger.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.mp-stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.mp-stagger.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.mp-stagger.is-visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ===================================================================
   MICRO-INTERACTIONS
   =================================================================== */

/* Card hover lift */
.mp-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

.mp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(200, 113, 74, 0.12);
}

/* Image zoom on card hover */
.mp-card__image {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.mp-card__image img {
  transition: transform 0.5s ease;
  will-change: transform;
}

.mp-card:hover .mp-card__image img {
  transform: scale(1.06);
}

/* Button press effect */
.mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease,
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}

.mp-btn:active {
  transform: scale(0.97);
}

.mp-btn--primary {
  background-color: #C8714A;
  color: #FFFFFF;
}

.mp-btn--primary:hover {
  background-color: #B5603D;
  box-shadow: 0 8px 24px rgba(200, 113, 74, 0.25);
}

.mp-btn--secondary {
  background-color: transparent;
  color: #C8714A;
  border: 2px solid #C8714A;
}

.mp-btn--secondary:hover {
  background-color: rgba(200, 113, 74, 0.06);
}

/* Age badge wobble */
.mp-age-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  background-color: #E8F0EC;
  color: #231F1C;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.mp-age-badge:hover {
  background-color: #9FBFB5;
  color: #FFFFFF;
  animation: mp-wobble 0.4s ease;
}

.mp-age-badge.is-active {
  background-color: var(--mp-accent, #C8714A);
  color: #FFFFFF;
  transition: background-color 0.6s ease;
}

@keyframes mp-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

/* ===================================================================
   MARQUEE TRUST BAR
   =================================================================== */

.mp-marquee {
  overflow: hidden;
  white-space: nowrap;
  background-color: #F6F1E9;
  padding: 12px 0;
  border-top: 1px solid #CFBE9F;
  border-bottom: 1px solid #CFBE9F;
}

.mp-marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: mp-marquee-scroll 30s linear infinite;
}

.mp-marquee:hover .mp-marquee__track {
  animation-play-state: paused;
}

.mp-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #231F1C;
  flex-shrink: 0;
}

@keyframes mp-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================================================================
   IMAGE REVEAL CURTAIN
   =================================================================== */

.mp-image-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.mp-image-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #C8714A;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}

.mp-image-reveal.is-revealed::after {
  transform: scaleX(0);
}

/* ===================================================================
   STICKY HEADER
   =================================================================== */

.mp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.mp-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(35, 31, 28, 0.08);
}

.mp-header__topbar {
  background-color: #C8714A;
  color: #FFFFFF;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  max-height: 50px;
  position: relative;
}

.mp-header.is-scrolled .mp-header__topbar {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
}

/* Topbar rotating slider */
.mp-topbar-slider {
  position: relative;
  height: 1.3em;
}

.mp-topbar-slider__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mp-topbar-slider__item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.mp-topbar__icon {
  flex-shrink: 0;
  vertical-align: middle;
  stroke: #FFFFFF;
}

/* Menu item underline slide */
.mp-nav__link {
  position: relative;
  text-decoration: none;
  color: #231F1C;
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
}

.mp-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C8714A;
  transition: width 0.3s ease;
}

.mp-nav__link:hover::after {
  width: 100%;
}

/* Mega dropdown */
.mp-nav__dropdown {
  position: relative;
}

.mp-nav__link--has-sub::after {
  display: none;
}

.mp-nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 9999;
  padding-top: 12px;
}

.mp-nav__dropdown:hover .mp-nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mp-nav__sub-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 -8px 32px rgba(35, 31, 28, 0.10);
  border: 1px solid rgba(207, 190, 159, 0.2);
  min-width: 480px;
}

.mp-nav__sub-heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #CFBE9F;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F6F1E9;
}

.mp-nav__sub-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mp-nav__sub-col a:hover {
  color: #C8714A;
  padding-left: 4px;
}

/* Narrow single-column dropdown (Par pièce, Par âge) */
.mp-nav__sub--narrow {
  left: 50%;
  transform: translateX(-50%);
  min-width: auto;
}
.mp-nav__sub-inner--single {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 24px;
  min-width: 180px;
}
.mp-nav__sub-inner--single a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid rgba(207,190,159,0.2);
}
.mp-nav__sub-inner--single a:last-child {
  border-bottom: none;
}
.mp-nav__sub-inner--single a:hover {
  color: #C8714A;
  padding-left: 4px;
}

/* Header layout */
.mp-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  gap: 24px;
}

.mp-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.mp-header__logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.mp-header__logo:hover img {
  opacity: 0.8;
}

/* Shrunk header logo */
.mp-header--scrolled .mp-header__logo img {
  height: 34px;
}

.mp-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mp-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mp-header__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #231F1C;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-header__cart:hover {
  background: #F6F1E9;
  color: #C8714A;
}

/* Mobile hamburger */
.mp-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mp-mobile-toggle:hover {
  background: #F6F1E9;
}

.mp-mobile-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #231F1C;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X animation when open */
.mp-mobile-toggle[aria-expanded="true"] .mp-mobile-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mp-mobile-toggle[aria-expanded="true"] .mp-mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu overlay */
.mp-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.mp-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mp-mobile-menu__inner {
  padding: 100px 32px 48px;
  max-width: 400px;
  margin: 0 auto;
}

.mp-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.mp-mobile-menu__nav a {
  display: block;
  padding: 16px 0;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #231F1C;
  text-decoration: none;
  border-bottom: 1px solid #CFBE9F;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mp-mobile-menu__nav a:hover {
  color: #C8714A;
  padding-left: 8px;
}

.mp-mobile-menu__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #CFBE9F;
  margin-bottom: 12px;
}

.mp-mobile-menu__main-link {
  background: #C8714A !important;
  color: #FFFFFF !important;
  border-radius: 12px;
  text-align: center;
  border-bottom: none !important;
  margin-bottom: 8px;
}

.mp-mobile-menu__section {
  margin-bottom: 28px;
}

.mp-mobile-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mp-mobile-menu__grid a {
  display: block;
  padding: 10px 16px;
  background: #F6F1E9;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-mobile-menu__grid a:hover {
  background: #C8714A;
  color: #FFFFFF;
}

.mp-mobile-menu__secondary {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #CFBE9F;
  padding-top: 16px;
}

.mp-mobile-menu__secondary a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mp-mobile-menu__secondary a:hover {
  color: #C8714A;
}

/* Legacy - remove old room styles */
.mp-mobile-menu__rooms {
  margin-bottom: 28px;
}

.mp-mobile-menu__rooms a {
  display: inline-block;
  padding: 8px 18px;
  margin: 0 8px 8px 0;
  background: #F6F1E9;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-mobile-menu__rooms a:hover {
  background: #C8714A;
  color: #FFFFFF;
}

.mp-mobile-menu__ages {
  margin-bottom: 28px;
}

.mp-mobile-menu__ages .mp-age-badge {
  margin: 0 6px 8px 0;
}

/* Age bar */
.mp-age-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background-color: #FDFBF7;
  border-bottom: 1px solid #CFBE9F;
  overflow-x: auto;
  scrollbar-width: none;
}

.mp-age-bar::-webkit-scrollbar {
  display: none;
}

/* ===================================================================
   AGE-BASED THEME TRANSFORM
   =================================================================== */

body {
  --mp-accent: #C8714A;
  --mp-accent-light: #F5E6DC;
  --mp-card-radius: 16px;
  --mp-blob-color: rgba(200, 113, 74, 0.06);
  --mp-animation-speed: 1;
  overflow-x: hidden;
  transition: --mp-accent 0.6s ease, --mp-accent-light 0.6s ease;
}

body[data-age="0-6"] {
  --mp-accent: #9FBFB5;
  --mp-accent-light: #E8F0EC;
  --mp-card-radius: 24px;
  --mp-blob-color: rgba(159, 191, 181, 0.08);
  --mp-animation-speed: 1.4;
}

body[data-age="6-12"] {
  --mp-accent: #CFBE9F;
  --mp-accent-light: #F0EBDF;
  --mp-card-radius: 20px;
  --mp-blob-color: rgba(207, 190, 159, 0.08);
  --mp-animation-speed: 1.2;
}

body[data-age="1-2"] {
  --mp-accent: #C8714A;
  --mp-accent-light: #F5E6DC;
  --mp-card-radius: 16px;
  --mp-blob-color: rgba(200, 113, 74, 0.06);
  --mp-animation-speed: 1.0;
}

body[data-age="2-3"] {
  --mp-accent: #B5603D;
  --mp-accent-light: #F6F1E9;
  --mp-card-radius: 12px;
  --mp-blob-color: rgba(181, 96, 61, 0.07);
  --mp-animation-speed: 0.8;
}

body[data-age="3-5"] {
  --mp-accent: #9FBFB5;
  --mp-accent-light: #E8F0EC;
  --mp-card-radius: 10px;
  --mp-blob-color: rgba(122, 158, 142, 0.08);
  --mp-animation-speed: 0.7;
}

/* Apply accent to dynamic elements */
.mp-btn--primary {
  background-color: var(--mp-accent);
}

.mp-card {
  border-radius: var(--mp-card-radius);
}

.mp-age-badge.is-active {
  background-color: var(--mp-accent);
}

/* ===================================================================
   ROOM EXPLORER
   =================================================================== */

.mp-room-explorer {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.mp-room-explorer__house-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.mp-room-explorer__house {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(35, 31, 28, 0.08));
}

/* Hotspot buttons positioned over the SVG house */
.mp-room-explorer__hotspot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(6px);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  z-index: 5;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #231F1C;
}

.mp-room-explorer__hotspot:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: #C8714A;
  box-shadow: 0 8px 24px rgba(200, 113, 74, 0.18);
  background: rgba(253, 251, 247, 0.98);
}

.mp-room-explorer__hotspot.is-active {
  border-color: #C8714A;
  background: #C8714A;
  color: #FFFFFF;
}

.mp-room-explorer__hotspot img {
  width: 32px;
  height: 32px;
}

/* Position each hotspot over its room area */
.mp-room-explorer__hotspot--chambre-leo {
  top: 32%;
  left: 8%;
}
.mp-room-explorer__hotspot--chambre-giulia {
  top: 32%;
  left: 38%;
}
.mp-room-explorer__hotspot--cuisine {
  bottom: 18%;
  left: 8%;
}
.mp-room-explorer__hotspot--salon {
  bottom: 18%;
  left: 38%;
}
.mp-room-explorer__hotspot--jardin {
  bottom: 22%;
  right: 8%;
}

/* ===================================================================
   ROOM MODAL (fullscreen overlay)
   =================================================================== */

/* Backdrop — soft blur, no dark overlay */
.mp-room-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 247, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mp-room-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Room Modal ---- */
.mp-room-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mp-room-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Centered card modal — not fullscreen */
.mp-room-modal__inner {
  background: #FDFBF7;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 80px rgba(35, 31, 28, 0.18),
              0 0 0 1px rgba(207, 190, 159, 0.15);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.mp-room-modal.is-open .mp-room-modal__inner {
  transform: translateY(0) scale(1);
}

/* Close button — always visible top-right */
.mp-room-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(35, 31, 28, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #231F1C;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.mp-room-modal__close:hover {
  background: rgba(35, 31, 28, 0.12);
  transform: scale(1.1);
}

/* Header — compact */
.mp-room-modal__header {
  text-align: center;
  padding: 32px 48px 16px;
  flex-shrink: 0;
}

.mp-room-modal__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #231F1C;
  margin: 0 0 6px;
}

.mp-room-modal__age {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 13px;
  opacity: 0.5;
  margin-left: 8px;
}

.mp-room-modal__desc {
  font-size: 0.92rem;
  color: #6B6560;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 480px;
}

/* Scrollable product area */
.mp-room-modal__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 12px 32px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Product card */
.mp-room-modal__product {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EDE5D8;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.mp-room-modal__product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(200, 113, 74, 0.12);
}

.mp-room-modal__product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F6F1E9;
}

.mp-room-modal__product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mp-room-modal__product:hover .mp-room-modal__product-img img {
  transform: scale(1.05);
}

.mp-room-modal__product-name {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #231F1C;
  margin: 12px 14px 4px;
  line-height: 1.3;
}

.mp-room-modal__product-price {
  font-size: 1rem;
  font-weight: 700;
  color: #C8714A;
  padding: 0 14px 14px;
}

/* CTA — always visible at bottom */
.mp-room-modal__cta {
  display: block;
  text-align: center;
  flex-shrink: 0;
  padding: 16px 32px 24px;
  border-top: 1px solid #EDE5D8;
}

.mp-room-modal__cta .mp-btn {
  min-width: 260px;
}

/* SVG room hover (for the inline SVG approach) */
.mp-room-explorer__house .room {
  transition: opacity 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.mp-room-explorer__house .room:hover {
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(200, 113, 74, 0.4));
}

.mp-room-explorer__house .room.is-active {
  filter: brightness(1.15) drop-shadow(0 0 18px rgba(200, 113, 74, 0.5));
}

.mp-room-explorer__house .room:not(:hover):not(.is-active) {
  opacity: 0.7;
}

/* (Legacy panel styles removed — now using .mp-room-modal above) */

/* ===================================================================
   SCROLL STORY
   =================================================================== */

.mp-scroll-story {
  position: relative;
  height: 400vh;
  overflow-x: clip;
}

.mp-scroll-story__heading {
  text-align: center;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #231F1C;
  padding: 48px 32px 0;
  margin: 0;
}

.mp-scroll-story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mp-scroll-story__bg {
  position: absolute;
  inset: 0;
  transition: background-color 0.8s ease;
  z-index: 0;
}

.mp-scroll-story__scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.mp-scroll-story__scene.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mp-scroll-story__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mp-scroll-story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(246, 241, 233, 0.3) 0%,
    rgba(246, 241, 233, 0.55) 40%,
    rgba(246, 241, 233, 0.85) 70%,
    rgba(246, 241, 233, 0.95) 100%
  );
  z-index: 1;
}

.mp-scroll-story__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.mp-scroll-story__badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(200, 113, 74, 0.1);
  color: #C8714A;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.mp-scroll-story__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #231F1C;
  margin: 0 0 16px;
  line-height: 1.2;
}

.mp-scroll-story__text {
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #231F1C;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.mp-scroll-story__products {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.mp-scroll-story__product-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border: 1.5px solid #CFBE9F;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.mp-scroll-story__product-tag:hover {
  border-color: #C8714A;
  background: rgba(200, 113, 74, 0.06);
  transform: translateY(-2px);
  color: #C8714A;
}

/* Progress dots */
.mp-scroll-story__progress {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.mp-scroll-story__progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CFBE9F;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.mp-scroll-story__progress-dot.is-active {
  background: #C8714A;
  transform: scale(1.3);
}

/* ===================================================================
   MORPHING BLOBS
   =================================================================== */

.mp-morphing-blob {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  opacity: 1;
}

/* Ensure page content sits above morphing blobs (z-index: 1) */
.mp-hero,
.mp-trust-section,
.mp-newsletter,
.mp-footer {
  position: relative;
  z-index: 2;
}

.mp-scroll-story {
  position: relative;
  z-index: 2;
}

.mp-morphing-blob svg path {
  transition: fill 1s ease;
}

.mp-morphing-blob--1 {
  top: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  animation: mp-blob-float-1 25s ease-in-out infinite;
}

.mp-morphing-blob--2 {
  top: 50%;
  right: -8%;
  width: 350px;
  height: 350px;
  animation: mp-blob-float-2 30s ease-in-out infinite;
}

.mp-morphing-blob--3 {
  bottom: 5%;
  left: 15%;
  width: 300px;
  height: 300px;
  animation: mp-blob-float-3 20s ease-in-out infinite;
}

@keyframes mp-blob-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, 30px) rotate(-3deg); }
  75% { transform: translate(20px, 10px) rotate(4deg); }
}

@keyframes mp-blob-float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-25px, 15px) rotate(-4deg); }
  66% { transform: translate(15px, -25px) rotate(6deg); }
}

@keyframes mp-blob-float-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -15px) rotate(-5deg); }
}

/* ===================================================================
   NEWSLETTER BLOCK
   =================================================================== */

.mp-newsletter {
  background-color: #C8714A;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mp-newsletter__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}

.mp-newsletter__desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-inline: auto;
}

.mp-newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.mp-newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #231F1C;
}

.mp-newsletter__input::placeholder {
  color: #CFBE9F;
}

.mp-newsletter__submit {
  padding: 14px 28px;
  border: none;
  border-radius: 9999px;
  background-color: #231F1C;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.15s ease;
  white-space: nowrap;
}

.mp-newsletter__submit:hover {
  background-color: #231F1C;
}

.mp-newsletter__submit:active {
  transform: scale(0.97);
}

@media (max-width: 540px) {
  .mp-newsletter__form {
    flex-direction: column;
  }

  /* Room modal — mobile: fullscreen */
  .mp-room-modal {
    padding: 0;
  }

  .mp-room-modal__inner {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

  .mp-room-modal__products {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 8px 16px 12px;
  }

  .mp-room-modal__product-name {
    font-size: 0.8rem;
    margin: 8px 10px 2px;
  }

  .mp-room-modal__product-price {
    font-size: 0.9rem;
    padding: 0 10px 10px;
  }

  .mp-room-modal__header {
    padding: 48px 16px 10px;
  }

  .mp-room-modal__title {
    font-size: 1.3rem;
  }

  .mp-room-modal__desc {
    font-size: 0.85rem;
  }

  .mp-room-modal__cta {
    padding: 10px 16px 20px;
  }

  .mp-room-modal__cta .mp-btn {
    min-width: 0;
    width: 100%;
  }

  .mp-room-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */

.mp-faq__item {
  border-bottom: 1px solid #CFBE9F;
}

.mp-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #231F1C;
  text-align: left;
  line-height: 1.4;
}

.mp-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.mp-faq__item.is-open .mp-faq__icon {
  transform: rotate(45deg);
}

.mp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.4s ease;
  padding: 0 0;
}

.mp-faq__item.is-open .mp-faq__answer {
  max-height: 500px;
  padding: 0 0 20px;
}

.mp-faq__answer p {
  color: #231F1C;
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================================================
   PRODUCT CARD (WooCommerce override)
   =================================================================== */

.mp-product-card {
  background: #FFFFFF;
  border-radius: var(--mp-card-radius, 16px);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  border: 1px solid #CFBE9F;
}

.mp-product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(200, 113, 74, 0.18);
}

.mp-product-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #F6F1E9;
}

.mp-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mp-product-card:hover .mp-product-card__image img {
  transform: scale(1.06);
}

.mp-product-card__body {
  padding: 16px 20px 20px;
}

.mp-product-card__category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #CFBE9F;
  margin-bottom: 6px;
}

.mp-product-card__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: 17px;
  color: #231F1C;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Force product title links to black on product cards (override terracotta global link color) */
.mp-product-card .wp-block-post-title a,
.mp-product-card .wp-block-post-title a:visited,
.mp-bestsellers-grid .mp-product-card__title {
  color: #231F1C !important;
  text-decoration: none;
}

.mp-product-card .wp-block-post-title a:hover {
  color: #C8714A !important;
}

.mp-product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #C8714A;
}

.mp-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mp-product-card__badge--new {
  background-color: #9FBFB5;
  color: #FFFFFF;
}

.mp-product-card__badge--bestseller {
  background-color: #C8714A;
  color: #FFFFFF;
}

/* Best-sellers grid */
.mp-bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mp-bestsellers-grid > p {
  display: none;
}

.mp-bestsellers-grid .mp-product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
}

.mp-product-card__cat {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(35, 31, 28, 0.4);
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .mp-bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mp-bestsellers-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===================================================================
   POST CARD (Blog grid)
   =================================================================== */

.mp-post-card {
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  border: 1px solid #CFBE9F;
}

.mp-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(200, 113, 74, 0.10);
}

.mp-post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mp-post-card .wp-block-post-title a {
  color: #231F1C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mp-post-card .wp-block-post-title a:hover {
  color: #C8714A;
}

/* ===================================================================
   BUTTONS & LINKS
   =================================================================== */

.mp-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.mp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 113, 74, 0.2);
}

.mp-btn--primary {
  background-color: #C8714A;
  color: #FFFFFF;
}

.mp-btn--primary:hover {
  background-color: #B5603D;
  color: #FFFFFF;
}

.mp-btn--outline {
  background: transparent;
  color: #231F1C;
  border: 2px solid #CFBE9F;
}

.mp-btn--outline:hover {
  border-color: #C8714A;
  color: #C8714A;
}

/* General link styles */
.mp-footer a,
.mp-article a {
  transition: color 0.2s ease;
}

/* Featured image aspect ratio for templates */
.wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Age badge shared styles */
.mp-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1.5px solid #CFBE9F;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: #231F1C;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.mp-age-badge:hover {
  border-color: #C8714A;
  background: rgba(200, 113, 74, 0.05);
  color: #C8714A;
}

/* Footer link list */
.mp-footer__links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mp-footer__links li {
  padding: 4px 0;
}

.mp-footer__links a {
  color: #231F1C;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.mp-footer__links a:hover {
  color: #C8714A;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
  .mp-header__main {
    padding: 10px 20px;
  }

  .mp-header__nav {
    gap: 16px;
  }

  .mp-nav__link {
    font-size: 14px;
  }

  .mp-room-nav {
    gap: 20px;
    font-size: 13px;
  }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  /* Header responsive */
  .mp-header__main {
    padding: 10px 16px;
  }

  .mp-header__nav {
    display: none;
  }

  .mp-mobile-toggle {
    display: flex;
  }

  .mp-room-nav {
    display: none;
  }

  .mp-age-bar {
    gap: 8px;
    padding: 8px 12px;
  }

  .mp-age-badge {
    font-size: 12px;
    padding: 6px 12px;
    white-space: nowrap;
  }

  /* Hero section */
  .mp-hero {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Category cards stack to 2 columns */
  .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .wp-block-columns > .wp-block-column {
    flex-basis: calc(50% - 8px) !important;
  }

  /* Room Explorer mobile */
  .mp-room-explorer__products {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-room-explorer__house-wrapper {
    display: none;
  }

  .mp-room-explorer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .mp-room-explorer__hotspot {
    position: static;
    padding: 24px 16px;
    background: #F6F1E9;
    border: 1.5px solid #CFBE9F;
    border-radius: 16px;
  }

  /* Room modal — tablet */
  .mp-room-modal {
    padding: 24px;
  }

  .mp-room-modal__inner {
    max-height: 90vh;
  }

  .mp-room-modal__products {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 12px 20px 16px;
  }

  .mp-room-modal__header {
    padding: 28px 20px 12px;
  }

  .mp-room-modal__cta {
    padding: 12px 20px 20px;
  }

  /* Scroll story mobile — show all scenes stacked */
  .mp-scroll-story {
    height: auto;
    min-height: 0;
  }

  .mp-scroll-story__heading {
    font-size: 1.5rem;
    padding: 32px 20px 0;
  }

  .mp-scroll-story__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    flex-direction: column;
    display: block;
  }

  .mp-scroll-story__scene {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    border-bottom: 1px solid #CFBE9F;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
  }

  .mp-scroll-story__scene:last-child {
    border-bottom: none;
  }

  .mp-scroll-story__image {
    border-radius: 0;
  }

  .mp-scroll-story__overlay {
    background: linear-gradient(
      to bottom,
      rgba(246, 241, 233, 0.1) 0%,
      rgba(246, 241, 233, 0.4) 30%,
      rgba(246, 241, 233, 0.85) 60%,
      rgba(246, 241, 233, 1) 100%
    );
  }

  .mp-scroll-story__content {
    padding: 0 20px 40px;
  }

  .mp-scroll-story__bg {
    display: none;
  }

  .mp-scroll-story__progress {
    display: none;
  }

  .mp-scroll-story__products {
    flex-direction: column;
    align-items: center;
  }

  .mp-scroll-story__title {
    font-size: 1.4rem;
  }

  .mp-scroll-story__text {
    font-size: 0.95rem;
  }

  /* Newsletter */
  .mp-newsletter {
    padding: 32px 20px !important;
    border-radius: 0 !important;
  }

  .mp-newsletter__form {
    flex-direction: column !important;
  }

  .mp-newsletter__form input[type="email"] {
    min-width: auto !important;
    width: 100% !important;
  }

  .mp-newsletter__form button {
    width: 100% !important;
  }

  /* Footer columns stack on mobile */
  .mp-footer .wp-block-columns {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .mp-footer .wp-block-column {
    flex-basis: 100% !important;
  }

  .mp-footer__links {
    padding-left: 0 !important;
    list-style: none;
  }

  .mp-footer__links li {
    padding: 4px 0;
  }

  .mp-footer__links a {
    color: #231F1C;
    text-decoration: none;
  }

  .mp-footer__links a:hover {
    color: #C8714A;
  }

  /* Reassurance bar */
  .mp-reassurance {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  .mp-reassurance p {
    font-size: 13px !important;
    line-height: 1.8;
  }

  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
  }

  /* Product cards in category pages */
  .mp-product-card {
    border-radius: 12px;
  }

  /* Buttons full width on mobile */
  .wp-block-buttons {
    flex-direction: column !important;
    width: 100%;
  }

  .wp-block-button {
    width: 100%;
  }

  .wp-block-button__link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Page title sizing */
  .wp-block-post-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
  }

  /* Topbar text */
  .mp-header__topbar p {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Small mobile: <= 480px */
@media (max-width: 480px) {
  .mp-room-explorer__products {
    grid-template-columns: 1fr;
  }

  .mp-room-explorer {
    grid-template-columns: 1fr;
  }

  .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mp-hero h1 {
    font-size: 1.75rem !important;
  }

  .mp-hero p {
    font-size: 0.95rem !important;
  }

  .mp-category-card {
    padding: 24px 16px;
  }

  .mp-scroll-story__badge {
    font-size: 0.7rem;
    padding: 5px 14px;
  }

  .mp-age-bar {
    gap: 6px;
    padding: 6px 8px;
  }
}

/* ============================================================
   11. PARALLAX LAYERS
   ============================================================ */
.mp-parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

.mp-parallax-layer--back {
  z-index: 0;
}

.mp-parallax-layer--mid {
  z-index: 1;
}

.mp-parallax-layer--front {
  z-index: 2;
}

.mp-parallax-layer__element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

/* ============================================================
   12. CATEGORY CARD STYLES
   ============================================================ */
.mp-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.mp-category-card {
  background: #FDFBF7;
  border: 1.5px solid #CFBE9F;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.mp-category-card:hover {
  border-color: #C8714A;
  box-shadow: 0 8px 32px rgba(200, 113, 74, 0.10);
}

.mp-category-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mp-category-card:hover .mp-category-card__icon {
  transform: scale(1.15);
}

.mp-category-card__title {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  color: #231F1C;
  margin: 0 0 6px;
}

.mp-category-card__count {
  font-size: 0.8125rem;
  color: #9FBFB5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   13. HERO SECTION ENHANCEMENTS
   ============================================================ */
.mp-hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6F1E9;
}

.mp-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(246, 241, 233, 0.45) 0%,
    rgba(246, 241, 233, 0.3) 40%,
    rgba(35, 31, 28, 0.15) 100%
  );
  z-index: 1;
}

.mp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 80px 32px;
}

.mp-hero__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #231F1C;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
  text-shadow: 0 1px 30px rgba(246, 241, 233, 0.6);
}

.mp-hero__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #231F1C;
  line-height: 1.7;
  margin: 0 0 36px;
  text-shadow: 0 1px 20px rgba(246, 241, 233, 0.8);
}

.mp-hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mp-btn--lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

@keyframes mp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 113, 74, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(200, 113, 74, 0); }
}

/* ============================================================
   14. BLOG ARTICLE STYLES
   ============================================================ */
.mp-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #231F1C;
}

.mp-article p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin: 6px 12px 0 0;
  color: #C8714A;
}

.mp-article h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.625rem;
  margin: 48px 0 16px;
  color: #231F1C;
}

.mp-article img {
  border-radius: 12px;
  margin: 32px 0;
}

.mp-toc {
  background: #F6F1E9;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 0 0 40px;
}

.mp-toc__title {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  margin: 0 0 14px;
  color: #231F1C;
}

.mp-toc ol {
  margin: 0;
  padding-left: 20px;
}

.mp-toc li {
  margin-bottom: 8px;
}

.mp-toc a {
  color: #C8714A;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mp-toc a:hover {
  opacity: 0.7;
}

.mp-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F6F1E9;
  color: #231F1C;
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.mp-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #CFBE9F;
  margin-top: 56px;
  padding-top: 32px;
}

.mp-author-box__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mp-author-box__name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  margin: 0 0 4px;
}

.mp-author-box__bio {
  font-size: 0.875rem;
  color: #231F1C;
  opacity: 0.65;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   15. FOOTER STYLES
   ============================================================ */
.mp-footer {
  background: #231F1C;
  color: #F6F1E9;
  padding: 64px 24px 0;
}

.mp-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-footer__heading {
  font-family: 'Fraunces', serif;
  font-size: 1.0625rem;
  margin: 0 0 20px;
  color: #FDFBF7;
}

.mp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-footer__links li {
  margin-bottom: 10px;
}

.mp-footer__links a {
  color: #F6F1E9;
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.25s, opacity 0.25s;
}

.mp-footer__links a:hover {
  color: #C8714A;
  opacity: 1;
}

.mp-footer__newsletter-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(246, 241, 233, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #F6F1E9;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.mp-footer__newsletter-input::placeholder {
  color: rgba(246, 241, 233, 0.4);
}

.mp-footer__newsletter-btn {
  width: 100%;
  padding: 12px;
  background: #C8714A;
  color: #FDFBF7;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.mp-footer__newsletter-btn:hover {
  background: #B5603D;
}

.mp-footer__bottom {
  border-top: 1px solid rgba(246, 241, 233, 0.1);
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* ============================================================
   16. TRUST SECTION
   ============================================================ */
.mp-trust-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 40px 24px;
  background: #FDFBF7;
}

.mp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px;
  position: relative;
}

.mp-trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #CFBE9F;
}

.mp-trust-item__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  color: #C8714A;
}

.mp-trust-item__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #231F1C;
  margin-bottom: 2px;
}

.mp-trust-item__sub {
  font-size: 0.75rem;
  color: #231F1C;
  opacity: 0.55;
}

/* Trust section responsive */
@media (max-width: 768px) {
  .mp-trust-section {
    flex-wrap: wrap;
    gap: 24px 0;
  }
  .mp-trust-item {
    flex: 0 0 50%;
    padding: 0 20px;
  }
  .mp-trust-item:not(:last-child)::after {
    display: none;
  }
  .mp-trust-item:nth-child(1),
  .mp-trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(207, 190, 159, 0.3);
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .mp-trust-section {
    flex-direction: column;
    gap: 20px;
  }
  .mp-trust-item {
    flex: 0 0 100%;
    flex-direction: row;
    gap: 12px;
    text-align: left;
    padding: 0 24px;
  }
  .mp-trust-item__icon {
    margin-bottom: 0;
    width: 28px;
    height: 28px;
  }
  .mp-trust-item:nth-child(1),
  .mp-trust-item:nth-child(2) {
    border-bottom: none;
    padding-bottom: 0;
  }
  .mp-trust-item:not(:last-child) {
    border-bottom: 1px solid rgba(207, 190, 159, 0.3);
    padding-bottom: 20px;
  }
}

/* ============================================================
   17. BREADCRUMB STYLES
   ============================================================ */
.mp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #231F1C;
  opacity: 0.55;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.mp-breadcrumbs a:hover {
  color: #C8714A;
  opacity: 1;
}

.mp-breadcrumbs__sep::before {
  content: '\203A';
  margin: 0 2px;
  font-size: 1em;
}

.mp-breadcrumbs__current {
  color: #231F1C;
  opacity: 1;
  font-weight: 500;
}

/* ============================================================
   18. LOADING SKELETON
   ============================================================ */
.mp-skeleton {
  background: #CFBE9F;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mp-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 251, 247, 0.55) 50%,
    transparent 100%
  );
  animation: mp-shimmer 1.6s ease-in-out infinite;
}

@keyframes mp-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.mp-skeleton--text {
  height: 14px;
  margin-bottom: 10px;
  width: 80%;
}

.mp-skeleton--title {
  height: 22px;
  width: 55%;
  margin-bottom: 16px;
}

.mp-skeleton--image {
  aspect-ratio: 4 / 3;
  width: 100%;
}

/* ============================================================
   19. SCROLL PROGRESS BAR
   ============================================================ */
.mp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #C8714A;
  z-index: 1050; /* above header (1000) but below modals (1100+) */
  width: 0%;
  transition: width 60ms linear;
  pointer-events: none;
}

/* ============================================================
   20. ADDITIONAL RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .mp-hero {
    min-height: 65vh;
    padding: 56px 20px;
  }

  .mp-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .mp-hero {
    min-height: 70vh;
  }

  .mp-hero__video {
    display: none;
  }

  .mp-hero__overlay {
    background: rgba(246, 241, 233, 0.2);
  }

  .mp-hero__content {
    padding: 60px 20px;
  }

  .mp-hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .mp-btn--lg {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .mp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .mp-trust-section {
    flex-wrap: wrap;
    gap: 24px;
  }

  .mp-trust-item {
    padding: 0 24px;
  }

  .mp-trust-item:not(:last-child)::after {
    display: none;
  }

  .mp-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mp-category-card {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .mp-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mp-hero__cta {
    padding: 14px 32px;
    font-size: 0.9375rem;
  }

  .mp-article {
    padding: 40px 16px 60px;
  }

  .mp-trust-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Touch-friendly targets */
@media (pointer: coarse) {
  .mp-footer__links a,
  .mp-breadcrumbs a,
  .mp-toc a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .mp-category-card {
    min-height: 44px;
  }
}

/* ============================================================
   21. PRINT STYLES
   ============================================================ */
@media print {
  .mp-hero__dot,
  .mp-parallax-layer,
  .mp-scroll-progress,
  .mp-trust-section,
  nav,
  .mp-footer,
  .mp-breadcrumbs,
  .mp-hero__cta {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }

  .mp-article {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
  }
}

/* ============================================================
   22. ACCESSIBILITY
   ============================================================ */
@media (forced-colors: active) {
  .mp-hero__cta,
  .mp-footer__newsletter-btn {
    border: 2px solid ButtonText;
  }

  .mp-category-card {
    border: 2px solid ButtonText;
  }

  .mp-scroll-progress {
    background: Highlight;
  }
}

*:focus-visible {
  outline: 2px solid #C8714A;
  outline-offset: 3px;
  border-radius: 4px;
}

.mp-footer__newsletter-input:focus-within,
.mp-footer__newsletter-input:focus {
  border-color: #C8714A;
  box-shadow: 0 0 0 3px rgba(200, 113, 74, 0.2);
  outline: none;
}

.mp-toc:focus-within {
  box-shadow: 0 0 0 3px rgba(200, 113, 74, 0.15);
}

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

/* ===================================================================
   STACKED HEADER LAYOUT — Big logo + nav below
   =================================================================== */

/* Logo row: centered logo + icons on the right */
.mp-header__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 32px 12px;
}

.mp-header__logo--big {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mp-header__logo--big img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.mp-header--scrolled .mp-header__logo--big img {
  height: 54px;
}

.mp-header__logo--big:hover img {
  opacity: 0.85;
}

/* Icons pinned to right side of logo row */
.mp-header__logo-row .mp-header__actions {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.mp-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #231F1C;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-header__icon:hover {
  background: #F6F1E9;
  color: #C8714A;
}

/* Navigation bar below logo */
.mp-header__nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 32px 14px;
  border-bottom: 1px solid rgba(207,190,159,0.25);
}

.mp-header__nav-bar .mp-nav__link {
  position: relative;
}

/* On scroll, tighten spacing */
.mp-header--scrolled .mp-header__logo-row {
  padding: 10px 32px 6px;
}

.mp-header--scrolled .mp-header__nav-bar {
  padding-bottom: 10px;
  gap: 24px;
}

@media (max-width: 1024px) {
  .mp-header__logo--big img {
    height: 56px;
  }
  .mp-header__nav-bar {
    gap: 20px;
  }
  .mp-header__nav-bar .mp-nav__link {
    font-size: 13px;
  }
  .mp-header__logo-row {
    padding: 16px 20px 8px;
  }
  .mp-header__logo-row .mp-header__actions {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .mp-header__logo--big img {
    height: 48px;
  }
  .mp-header__logo-row {
    padding: 12px 16px 8px;
  }
  .mp-header__logo-row .mp-header__actions {
    right: 16px;
  }
  .mp-header__nav-bar {
    display: none;
  }
}

/* ===================================================================
   NOTRE HISTOIRE SECTION
   =================================================================== */

.mp-notre-histoire {
  padding: 80px 32px;
  background: #FDFBF7;
}

.mp-notre-histoire__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

.mp-notre-histoire__portrait {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(35, 31, 28, 0.08));
}

.mp-notre-histoire__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C8714A;
  margin-bottom: 12px;
}

.mp-notre-histoire__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #231F1C;
  line-height: 1.3;
  margin: 0 0 24px;
}

.mp-notre-histoire__quote {
  font-size: 15px;
  font-style: italic;
  color: #8B7355;
  line-height: 1.7;
  margin: 0 0 20px;
  padding-left: 20px;
  border-left: 3px solid #C8714A;
}

.mp-notre-histoire__text {
  font-size: 15px;
  color: #231F1C;
  line-height: 1.7;
  margin: 0 0 16px;
}

.mp-notre-histoire__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.mp-notre-histoire__signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-notre-histoire__signature strong {
  font-size: 15px;
  color: #231F1C;
}

.mp-notre-histoire__signature span {
  font-size: 13px;
  color: #8B7355;
}

@media (max-width: 768px) {
  .mp-notre-histoire {
    padding: 60px 20px;
  }
  .mp-notre-histoire__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .mp-notre-histoire__portrait {
    width: 200px;
  }
  .mp-notre-histoire__quote {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #C8714A;
    padding-top: 16px;
  }
  .mp-notre-histoire__footer {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===================================================================
   À PROPOS PAGE
   =================================================================== */

.mp-about-page {
  color: #231F1C;
}

.mp-about-hero {
  background: linear-gradient(135deg, #F6F1E9 0%, #E8F0EC 100%);
  padding: 100px 32px 80px;
  text-align: center;
}

.mp-about-hero__inner {
  max-width: 700px;
  margin: 0 auto;
}

.mp-about-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C8714A;
  margin-bottom: 16px;
}

.mp-about-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #231F1C;
}

.mp-about-section {
  padding: 60px 32px;
}

.mp-about-section--warm {
  background: #FFF8F0;
}

.mp-about-section--values {
  background: #F6F1E9;
}

.mp-about-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.mp-about-section__inner--narrow {
  max-width: 680px;
}

.mp-about-subtitle {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #231F1C;
  margin: 0 0 24px;
}

.mp-about-text {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
  color: #231F1C;
}

.mp-about-text--highlight {
  font-size: 18px;
  color: #C8714A;
  margin-top: 32px;
}

.mp-about-quote-block blockquote {
  font-size: 17px;
  font-style: italic;
  color: #8B7355;
  line-height: 1.7;
  margin: 0 0 32px;
  padding: 24px 28px;
  background: #F6F1E9;
  border-left: 4px solid #C8714A;
  border-radius: 0 12px 12px 0;
}

.mp-about-big-quote {
  margin: 0 auto 24px;
  max-width: 560px;
}

.mp-about-big-quote p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: #C8714A;
  line-height: 1.5;
  margin: 0;
}

.mp-about-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-about-signature strong {
  font-size: 16px;
  color: #231F1C;
}

.mp-about-signature span {
  font-size: 14px;
  color: #8B7355;
}

.mp-about-founder-photo {
  margin-bottom: 32px;
}

.mp-about-founder-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 4px solid #F6F1E9;
  box-shadow: 0 8px 32px rgba(35, 31, 28, 0.1);
}

.mp-about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mp-about-value {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(207,190,159,0.3);
}

.mp-about-value__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.mp-about-value h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #231F1C;
}

.mp-about-value p {
  font-size: 14px;
  line-height: 1.6;
  color: #8B7355;
  margin: 0;
}

@media (max-width: 768px) {
  .mp-about-hero {
    padding: 80px 20px 60px;
  }
  .mp-about-section {
    padding: 48px 20px;
  }
  .mp-about-values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===================================================================
   SEO TEXT BLOCK (homepage bottom)
   =================================================================== */

.mp-seo-block {
  padding: 72px 32px;
  background: #fff;
}

.mp-seo-block__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.mp-seo-block__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #231F1C;
  text-align: center;
  margin: 0 0 40px;
}

.mp-seo-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mp-seo-block__item {
  padding: 24px;
  background: #FDFBF7;
  border-radius: 16px;
  border: 1px solid rgba(207,190,159,0.2);
}

.mp-seo-block__item h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #231F1C;
  margin: 0 0 12px;
}

.mp-seo-block__item p {
  font-size: 14px;
  line-height: 1.7;
  color: #6B6560;
  margin: 0;
}

.mp-seo-block__item strong {
  color: #231F1C;
}

@media (max-width: 768px) {
  .mp-seo-block {
    padding: 48px 20px;
  }
  .mp-seo-block__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   MINI TRUST BAR (after hero)
   ============================================================ */
.mp-mini-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #F6F1E9;
  font-size: 13px;
  color: #231F1C;
  flex-wrap: wrap;
}

.mp-mini-trust__item {
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.mp-mini-trust__sep {
  color: #CFBE9F;
  font-weight: 300;
}

@media (max-width: 640px) {
  .mp-mini-trust {
    gap: 6px 16px;
    font-size: 12px;
    padding: 12px 16px;
  }
  .mp-mini-trust__sep {
    display: none;
  }
  .mp-mini-trust__item {
    flex: 0 0 auto;
  }
}

/* ============================================================
   CUSTOMER REVIEWS SECTION
   ============================================================ */
.mp-reviews {
  padding: 80px 32px;
  background: #E8F0EC;
}

.mp-reviews__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.mp-reviews__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #231F1C;
  margin: 0 0 8px;
}

.mp-reviews__subtitle {
  color: #8B7355;
  font-size: 15px;
  margin: 0 0 48px;
}

.mp-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.mp-reviews__card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(35, 31, 28, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(35, 31, 28, 0.08);
}

.mp-reviews__stars {
  color: #C8714A;
  font-size: 18px;
  letter-spacing: 2px;
}

.mp-reviews__text {
  font-size: 15px;
  line-height: 1.7;
  color: #231F1C;
  margin: 0;
  flex: 1;
}

.mp-reviews__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid #EDE5D8;
}

.mp-reviews__author strong {
  font-size: 14px;
  color: #231F1C;
}

.mp-reviews__author span {
  font-size: 13px;
  color: #8B7355;
}

@media (max-width: 768px) {
  .mp-reviews {
    padding: 56px 20px;
  }
  .mp-reviews__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   NEWSLETTER FORM VALIDATION & FEEDBACK
   ============================================================ */
.mp-newsletter__input:invalid:not(:placeholder-shown) {
  outline: 2px solid #e74c3c;
  outline-offset: -2px;
}

.mp-newsletter__input:valid:not(:placeholder-shown) {
  outline: 2px solid #9FBFB5;
  outline-offset: -2px;
}

.mp-newsletter__feedback {
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

.mp-newsletter__feedback--success {
  color: #FFFFFF;
}

.mp-newsletter__feedback--error {
  color: #FFD4C4;
}

/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */
.mp-exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mp-exit-popup.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mp-exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 28, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mp-exit-popup__card {
  position: relative;
  background: #FDFBF7;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(35, 31, 28, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mp-exit-popup.is-active .mp-exit-popup__card {
  transform: translateY(0) scale(1);
}

.mp-exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #8B7355;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.mp-exit-popup__close:hover {
  background: rgba(35, 31, 28, 0.06);
}

.mp-exit-popup__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  color: #231F1C;
  margin: 0 0 12px;
}

.mp-exit-popup__text {
  font-size: 15px;
  color: #231F1C;
  line-height: 1.6;
  margin: 0 0 24px;
}

.mp-exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.mp-exit-popup__input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #EDE5D8;
  border-radius: 12px;
  font-size: 15px;
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.mp-exit-popup__input:focus {
  outline: none;
  border-color: #C8714A;
}

.mp-exit-popup__form .mp-btn {
  width: 100%;
}

.mp-exit-popup__feedback {
  font-size: 14px;
  min-height: 20px;
}

.mp-exit-popup__legal {
  font-size: 12px;
  color: #8B7355;
  margin: 16px 0 0;
}

@media (max-width: 480px) {
  .mp-exit-popup__card {
    padding: 36px 24px;
  }
}
