/* ============================================================
   HASFARM — Custom styles (Bootstrap 5 overrides + brand UI)
   ============================================================ */

:root {
  --color-green-dark: #1e3a2a;
  --color-green-mid: #3f6a4c;
  --color-orange: #c45c26;
  --color-orange-soft: #e39a5c;
  --color-gold: #c6a15b;
  --color-peach-bg: #f4dcc8;
  --color-peach-card: #f3e4d4;
  --color-cream-bg: #faf6f0;
  --color-sage-blob: #b7c99a;
  --color-blush: #f4c9d0;
  --color-magenta: #e23d7a;
  --color-lime: #c5e36a;
  --color-white: #ffffff;
  --color-text-dark: #243028;
  --color-text-muted: #6a6f68;
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-logo: "Great Vibes", cursive;
  --shadow-soft: 0 8px 28px rgba(30, 58, 42, 0.1);
  --container-max: 1320px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-green-dark);
  background-color: var(--color-cream-bg);
  line-height: 1.6;
}

body.is-loading,
body:has(.page-loader.is-on) {
  overflow: hidden;
}

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

a {
  color: var(--color-green-dark);
  text-decoration: none;
}

a:hover {
  color: var(--color-orange);
}

.container,
.container-lg {
  max-width: var(--container-max);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 2000;
  background: var(--color-green-dark);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--color-white);
}

.fs-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Decorative 4-petal flower */
.icon-flower {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

.icon-flower svg {
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */
.btn-brand-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--color-green-mid);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--color-green-dark);
  border: 1.5px solid var(--color-green-dark);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
  background-color: var(--color-green-dark);
  color: var(--color-white);
}

.btn-brand-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-orange-soft);
  color: var(--color-green-dark);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-brand-orange:hover,
.btn-brand-orange:focus {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* ---------- 1. Announcement bar ---------- */
.announce-bar {
  background-color: var(--color-peach-bg);
  color: var(--color-green-dark);
  font-size: 0.78rem;
  padding: 0.55rem 2.5rem;
  text-align: center;
  position: relative;
}

.announce-bar p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
}

.announce-bar .icon-flower {
  color: var(--color-orange);
  width: 0.95rem;
  height: 0.95rem;
}

.announce-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-green-dark);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.2rem;
  opacity: 0.7;
}

.announce-close:hover {
  opacity: 1;
}

.announce-bar[hidden] {
  display: none !important;
}

/* ---------- 2. Navbar ---------- */
.site-header {
  background-color: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(30, 58, 42, 0.06);
  transform: translateY(0);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  will-change: transform;
}

.site-header.is-header-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.is-header-visible {
  box-shadow: 0 8px 24px rgba(30, 58, 42, 0.08);
}

.navbar {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-brand.logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.navbar-brand.logo:hover {
  opacity: 0.92;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(188px, 48vw);
  object-fit: contain;
  border-radius: 8px;
}

.brand-logo--footer {
  height: 86px;
  max-width: 190px;
  border-radius: 10px;
}

.brand-logo--loader {
  height: clamp(52px, 14vw, 72px);
  max-width: min(220px, 70vw);
  margin: 0 auto;
  border-radius: 12px;
}

.page-loader__brand {
  margin: 0 0 0.35rem;
  line-height: 0;
}

.logo-mark {
  position: relative;
  display: inline-block;
}

.logo-mark::after {
  content: "";
  position: absolute;
  top: 0.08em;
  left: 50%;
  width: 0.32em;
  height: 0.32em;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 45%, var(--color-orange) 32%, transparent 34%),
    radial-gradient(circle at 50% 12%, var(--color-orange) 22%, transparent 23%),
    radial-gradient(circle at 82% 55%, var(--color-orange) 22%, transparent 23%),
    radial-gradient(circle at 18% 55%, var(--color-orange) 22%, transparent 23%),
    radial-gradient(circle at 50% 88%, var(--color-orange) 22%, transparent 23%);
}

.nav-menu {
  gap: 0.15rem;
}

.nav-menu .nav-link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  padding: 0.45rem 0.7rem;
  position: relative;
}

.nav-menu .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--color-orange);
}

.nav-actions {
  gap: 0.85rem;
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--color-green-mid);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 0.42rem 0.95rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.btn-nav-login i {
  font-size: 1rem;
}

.btn-nav-login:hover,
.btn-nav-login:focus,
.btn-nav-login.is-active {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.nav-icon {
  color: var(--color-green-dark);
  font-size: 1.15rem;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.nav-icon:hover {
  color: var(--color-orange);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- 3. Hero ---------- */
.hero-section {
  padding: 0;
  width: 100%;
  max-width: none;
}

.hero-card {
  --hero-h: calc(100dvh - 7.35rem);
  background-color: var(--color-peach-bg);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: var(--hero-h);
}

.hero-card.carousel .carousel-inner,
.hero-card.carousel .carousel-item,
.hero-card.carousel .carousel-item.active {
  min-height: var(--hero-h);
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: var(--hero-h);
  align-items: center;
}

.hero-copy {
  padding: 2.4rem 2rem 3.2rem clamp(1.4rem, 6vw, 5.5rem);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  text-transform: none;
}

.hero-title .line-green,
.hero-title .line-orange {
  display: block;
}

.hero-title .line-green {
  color: var(--color-green-dark);
}

.hero-title .line-orange {
  color: var(--color-orange);
}

.carousel-item .hero-title span,
.carousel-item .hero-lead,
.carousel-item .hero-copy .btn-brand-primary {
  opacity: 0;
}

.carousel-item.active .hero-title span {
  animation: heroLineIn 0.7s ease forwards;
}

.carousel-item.active .hero-title span:nth-child(1) { animation-delay: 0.05s; }
.carousel-item.active .hero-title span:nth-child(2) { animation-delay: 0.16s; }
.carousel-item.active .hero-title span:nth-child(3) { animation-delay: 0.28s; }

.carousel-item.active .hero-lead {
  animation: heroLineIn 0.7s ease 0.38s forwards;
}

.carousel-item.active .hero-copy .btn-brand-primary {
  animation: heroLineIn 0.7s ease 0.48s forwards;
}

.carousel-item.active .hero-visual {
  animation: heroImageIn 0.85s ease 0.12s both;
}

.hero-lead {
  max-width: 28rem;
  font-size: 1rem;
  color: var(--color-green-dark);
  opacity: 0.85;
  margin-bottom: 1.75rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-spark {
  position: absolute;
  color: var(--color-orange);
  pointer-events: none;
  animation: sparkFloat 3.6s ease-in-out infinite;
}

.hero-spark--tl {
  top: 2.2rem;
  left: clamp(1.2rem, 5vw, 3.4rem);
  width: 1.1rem;
}

.hero-spark--mid {
  left: 12.5rem;
  top: 7.2rem;
  width: 0.85rem;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: var(--hero-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.4rem;
}

.hero-blob {
  position: absolute;
  width: 78%;
  height: 84%;
  left: 50%;
  top: 50%;
  right: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  background: var(--color-sage-blob);
  border-radius: 48% 52% 46% 54%;
  z-index: 0;
  animation: blobPulse 8s ease-in-out infinite;
}

.hero-visual > img,
.hero-visual .hero-cutout {
  position: relative;
  z-index: 1;
  width: min(96%, 560px);
  max-height: min(72vh, 560px);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(30, 58, 42, 0.16));
}

.hero-gift-stack {
  position: relative;
  z-index: 1;
  width: min(88%, 480px);
  height: min(70vh, 520px);
  margin-left: auto;
  margin-right: auto;
  transform: none;
}

.hero-gift-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(30, 58, 42, 0.16));
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-gift-stack img.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-deco-flower {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  color: var(--color-orange);
  width: 1.35rem;
  z-index: 2;
  animation: sparkFloat 3.6s ease-in-out infinite;
}

.hero-splatter {
  position: absolute;
  bottom: 4.2rem;
  left: 42%;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  pointer-events: none;
}

.hero-splatter span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  opacity: 0.7;
}

.hero-splatter span:nth-child(2) {
  width: 5px;
  height: 5px;
  transform: translateY(6px);
}

.hero-splatter span:nth-child(3) {
  width: 4px;
  height: 4px;
  transform: translateY(-3px);
}

.hero-indicators {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 1.6rem;
  z-index: 3;
  margin: 0;
  justify-content: center;
  transform: translateX(-50%);
}

.hero-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid var(--color-orange);
  opacity: 1;
  margin: 0 0.4rem 0 0;
}

.hero-card:not(.carousel) .hero-title span,
.hero-card:not(.carousel) .hero-lead,
.hero-card:not(.carousel) .hero-copy .btn-brand-primary {
  opacity: 0;
}

.hero-card:not(.carousel) .hero-title span {
  animation: heroLineIn 0.7s ease forwards;
}

.hero-card:not(.carousel) .hero-title span:nth-child(1) { animation-delay: 0.05s; }
.hero-card:not(.carousel) .hero-title span:nth-child(2) { animation-delay: 0.16s; }
.hero-card:not(.carousel) .hero-title span:nth-child(3) { animation-delay: 0.28s; }

.hero-card:not(.carousel) .hero-lead {
  animation: heroLineIn 0.7s ease 0.38s forwards;
}

.hero-card:not(.carousel) .hero-copy .btn-brand-primary {
  animation: heroLineIn 0.7s ease 0.48s forwards;
}

.hero-card:not(.carousel) .hero-visual {
  animation: heroImageIn 0.85s ease 0.12s both;
}

/* ---------- 4. Features ---------- */
.features-section {
  padding: 1.75rem 0 2.5rem;
}

.feature-card {
  background-color: var(--color-peach-card);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--color-orange);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.15rem;
  color: var(--color-green-dark);
}

.feature-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ---------- Section headings ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-green-dark);
}

.section-title .icon-flower {
  color: var(--color-orange);
  width: 1.05rem;
  height: 1.05rem;
}

.collections-section,
.bestsellers-section,
.occasions-section {
  padding: 2rem 0 2.75rem;
}

/* ---------- 5. Product cards ---------- */
.product-card {
  background-color: var(--color-peach-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-card__media {
  display: block;
  aspect-ratio: 4 / 4.15;
  overflow: hidden;
  background: #f3ddd0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card__media img[src$=".png"] {
  object-fit: contain;
  padding: 0.9rem;
  background: var(--color-peach-card);
}

.product-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
}

.product-card__body h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.15rem;
}

.product-card__price {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-orange);
  font-weight: 500;
}

.product-card__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background-color: var(--color-green-dark);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-card__arrow:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ---------- 6. Story ---------- */
.story-section {
  padding: 0.5rem 0 2.75rem;
}

.story-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-peach-bg);
}

.story-banner__copy {
  padding: 3.25rem 2.5rem 3rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.story-banner__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  max-width: 18ch;
}

.story-banner__copy p {
  font-size: 0.92rem;
  color: var(--color-green-dark);
  opacity: 0.85;
  max-width: 34ch;
  margin-bottom: 1.6rem;
}

.story-banner__copy .btn-brand-primary {
  align-self: flex-start;
  width: auto;
  max-width: max-content;
}

.story-deco {
  position: absolute;
  bottom: 1.6rem;
  left: 3.25rem;
  color: var(--color-orange);
  width: 1.15rem;
}

.story-banner__photo {
  position: relative;
  min-height: 380px;
}

.story-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 45%;
  position: absolute;
  inset: 0;
}

.story-wave {
  position: absolute;
  left: -1px;
  top: 0;
  height: 100%;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 7. Occasions ---------- */
.occasion-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.2rem 2.6rem;
}

.occasion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 96px;
  color: var(--color-green-dark);
  transition: transform 0.2s ease;
}

.occasion-item:hover {
  transform: translateY(-3px);
  color: var(--color-green-dark);
}

.occasion-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--color-peach-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
}

.occasion-orb svg {
  width: 42px;
  height: 42px;
}

.occasion-item span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- 8. Newsletter ---------- */
.newsletter-section {
  padding: 0.5rem 0 2.75rem;
}

.newsletter-banner {
  background-color: var(--color-green-mid);
  border-radius: var(--radius-xl);
  padding: 2.1rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.newsletter-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.newsletter-banner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.28rem 0.28rem 0.35rem;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}

.newsletter-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-dark);
  outline: none;
  min-width: 0;
}

.newsletter-form input::placeholder {
  color: #9a9a9a;
}

.newsletter-deco {
  position: absolute;
  color: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.newsletter-deco--left {
  left: 1.4rem;
  bottom: 0.6rem;
  width: 52px;
}

.newsletter-deco--right {
  right: 1.4rem;
  top: 0.5rem;
  width: 48px;
}

.newsletter-feedback {
  display: none;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #e8f0d8;
}

.newsletter-feedback.is-visible {
  display: block;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background-color: var(--color-green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.footer-logo:hover {
  opacity: 0.9;
}

.site-footer p {
  font-size: 0.85rem;
  max-width: 26ch;
}

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--color-orange-soft);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.footer-social a:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Search overlay */
.search-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: 260px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
  z-index: 20;
}

.search-panel.is-open {
  display: block;
}

.search-panel input {
  width: 100%;
  border: 1px solid var(--color-peach-bg);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  outline: none;
}

.search-wrap {
  position: relative;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-indicators {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .hero-card {
    --hero-h: calc(100dvh - 7.1rem);
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-title {
    font-size: clamp(2rem, 4.8vw, 3.1rem);
  }

  .story-banner {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-banner {
    grid-template-columns: 1fr;
    padding: 2rem 1.75rem;
  }

  .newsletter-form {
    margin-left: 0;
  }

  .nav-menu {
    padding: 1rem 0 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .announce-bar {
    padding-right: 2.2rem;
    font-size: 0.72rem;
  }

  .hero-card {
    --hero-h: calc(100svh - 5.6rem);
  }

  .hero-section {
    margin-top: 0;
  }

  .hero-card.carousel .carousel-inner,
  .hero-card.carousel .carousel-item,
  .hero-card.carousel .carousel-item.active {
    min-height: var(--hero-h);
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    min-height: var(--hero-h);
    justify-content: flex-start;
  }

  .hero-visual {
    order: -1;
    flex: 0 0 44svh;
    height: 44svh;
    min-height: 44svh;
    max-height: 44svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem 0.15rem;
  }

  .hero-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    margin-top: 0;
    padding: 0.85rem 1.4rem 3.4rem;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10.2vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 1.45rem;
    text-align: center;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.45rem;
    max-width: none;
    opacity: 0.9;
  }

  .hero-copy .btn-brand-primary {
    width: 100%;
    max-width: none;
    justify-content: center;
    background: #111;
    color: #fff;
    padding: 1.05rem 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    margin-top: 0.15rem;
  }

  .hero-copy .btn-brand-primary:hover,
  .hero-copy .btn-brand-primary:focus {
    background: #000;
    color: #fff;
  }

  .hero-blob {
    width: 78%;
    height: 82%;
    top: 52%;
    left: 50%;
  }

  .hero-visual img,
  .hero-visual .hero-cutout {
    width: min(86%, 340px);
    max-height: min(40svh, 310px);
    height: auto;
  }

  .hero-gift-stack {
    width: min(90%, 340px);
    height: min(40svh, 300px);
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .hero-gift-stack img.is-active {
    transform: scale(1.04) translateY(0);
  }

  .hero-indicators {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1.05rem;
    justify-content: center;
  }

  .hero-spark--mid,
  .hero-spark--tl,
  .hero-deco-flower,
  .hero-splatter {
    display: none;
  }

  .story-banner {
    grid-template-columns: 1fr;
  }

  .story-banner__copy {
    padding: 2rem 1.35rem 1.35rem;
  }

  .story-banner__copy h2 {
    max-width: none;
    text-transform: none;
  }

  .story-wave {
    display: none;
  }

  .story-banner__photo {
    min-height: 220px;
  }

  .story-deco {
    left: 1.5rem;
  }

  .occasion-row {
    justify-content: center;
    gap: 0.85rem 0.5rem;
  }

  .occasion-item {
    min-width: 0;
    flex: 0 0 calc(33.333% - 0.45rem);
    max-width: calc(33.333% - 0.45rem);
  }

  .occasion-orb {
    width: 68px;
    height: 68px;
  }

  .occasion-orb svg {
    width: 30px;
    height: 30px;
  }

  .occasion-item span {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.25;
  }

  .newsletter-form {
    flex-direction: column;
    background: transparent;
    gap: 0.6rem;
    padding: 0;
    border-radius: 0;
  }

  .newsletter-form input {
    background: var(--color-white);
    border-radius: var(--radius-pill);
  }

  .newsletter-banner {
    padding: 1.6rem 1.2rem;
  }

  .newsletter-banner h2 {
    font-size: 1.2rem;
  }

  .newsletter-deco {
    display: none;
  }

  .cart-row {
    grid-template-columns: 72px 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .feature-card {
    padding: 1rem 1.1rem;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blobPulse {
  0%,
  100% {
    border-radius: 48% 52% 46% 54%;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    border-radius: 54% 46% 52% 48%;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes sparkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px) rotate(10deg);
  }
}

@keyframes badgeBump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes aboutFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item .hero-title span,
  .carousel-item .hero-lead,
  .carousel-item .hero-copy .btn-brand-primary,
  .carousel-item.active .hero-visual,
  .hero-card:not(.carousel) .hero-title span,
  .hero-card:not(.carousel) .hero-lead,
  .hero-card:not(.carousel) .hero-copy .btn-brand-primary,
  .hero-card:not(.carousel) .hero-visual {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-blob,
  .hero-spark,
  .hero-deco-flower,
  .about-cutout img {
    animation: none;
  }

  .about-framed-photo:hover,
  .about-framed-photo:hover img,
  .about-quote-card:hover,
  .about-quote-card:hover img,
  .contact-form-card:hover,
  .contact-map-panel:hover {
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: fadeUp 0.7s ease forwards;
}

.cart-badge.is-bump {
  animation: badgeBump 0.4s ease;
}

.btn-brand-primary,
.btn-brand-outline,
.btn-brand-orange,
.product-card__arrow,
.occasion-item,
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* ---------- Pages intérieures ---------- */
.page-hero {
  padding: 0.5rem 0 2rem;
}

.page-hero-card {
  background: var(--color-peach-bg);
  border-radius: var(--radius-xl);
  padding: 3rem 3.25rem;
  position: relative;
  overflow: hidden;
}

.page-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.6rem;
}

.page-hero-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.page-hero-card p {
  max-width: 40rem;
  margin: 0;
  color: var(--color-green-dark);
}

.page-section {
  padding: 1rem 0 3rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-price-lg {
  font-size: 1.35rem;
  color: var(--color-orange);
  font-weight: 600;
}

.product-hero-media {
  background: var(--color-peach-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-media img[src$=".png"] {
  object-fit: contain;
  padding: 1.5rem;
  background: var(--color-peach-card);
}

.occasion-grid a,
.corp-card {
  background: var(--color-peach-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: block;
}

.corp-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ---------- Panier & commande ---------- */
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--color-peach-card);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.cart-row img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--color-peach-card);
}

.cart-row img[src$=".png"] {
  object-fit: contain;
  padding: 0.3rem;
}

.cart-row h3 {
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}

.cart-row p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.45rem;
}

.cart-qty button {
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  color: var(--color-green-dark);
}

.cart-remove {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--color-text-muted);
}

.cart-summary,
.checkout-card,
.account-card {
  background: var(--color-peach-bg);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  margin-top: 1.25rem;
}

.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.brand-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.brand-field input,
.brand-field select,
.brand-field textarea {
  width: 100%;
  border: 1px solid #e6d3c2;
  background: var(--color-white);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-dark);
}

.brand-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error {
  color: #9b2c2c;
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.order-preview {
  white-space: pre-line;
  font-size: 0.88rem;
  background: var(--color-white);
  border-radius: 16px;
  padding: 1rem;
}

.toast-cart {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  background: var(--color-green-dark);
  color: var(--color-white);
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 4000;
}

.toast-cart.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 767.98px) {
  .page-hero-card {
    padding: 2rem 1.4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand.logo .brand-logo {
    height: 46px;
    max-width: min(162px, 46vw);
  }

  .btn-nav-login span {
    display: none;
  }

  .btn-nav-login {
    width: 2rem;
    height: 2rem;
    padding: 0;
  }

  .about-hero {
    min-height: 52vh;
    padding: 4.5rem 1.25rem 3rem;
  }

  .cart-drawer {
    width: 100%;
  }
}

body.cart-open {
  overflow: hidden;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 22, 0.45);
  z-index: 50;
}

.cart-overlay[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  position: relative;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.cart-drawer__head h2 {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.cart-drawer__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  font-size: 1.1rem;
  color: #222;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-drawer__empty {
  text-align: center;
  padding: 2rem 0.5rem;
  color: var(--color-text-muted);
}

.drawer-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.drawer-item img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 0.25rem;
  background: var(--color-peach-card);
  border-radius: 4px;
}

.drawer-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
}

.drawer-item__price {
  margin: 0 0 0.55rem;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.92rem;
}

.drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.drawer-qty span,
.drawer-qty .js-qty {
  background: #f3f3f3;
  border: none;
  min-width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
}

.drawer-trash {
  border: none;
  background: none;
  color: var(--color-orange);
  margin-left: 0.45rem;
  font-size: 1rem;
}

.cart-drawer__foot {
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid #eee;
}

.drawer-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  color: #111;
}

.drawer-summary strong {
  font-size: 1.2rem;
}

.drawer-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 0.95rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

.drawer-checkout:hover {
  background: #000;
  color: #fff;
}

.about-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 1.5rem 4.5rem;
  background:
    linear-gradient(180deg, rgba(250, 246, 240, 0.78) 0%, rgba(250, 246, 240, 0.42) 42%, rgba(250, 246, 240, 0.18) 100%),
    url("/assets/images/about-hero.jpg") center 40% / cover no-repeat;
  color: var(--color-green-dark);
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 0.75rem;
}

.about-hero p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

.about-main {
  padding: 3.5rem 0 4rem;
}

.about-block {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.about-block h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.contact-hero {
  padding: 2.5rem 0 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bannière promo (boutique / à propos) ---------- */
.promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--color-blush);
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  align-items: stretch;
}

.promo-banner__copy {
  padding: 3rem 2.4rem 2.4rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.promo-banner__copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 3.05rem);
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.18;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.promo-banner__copy p {
  font-size: 0.95rem;
  color: #6b6570;
  max-width: 38ch;
  margin: 0 0 1.55rem;
  line-height: 1.6;
}

.promo-banner__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--color-magenta);
  color: #fff;
  border-radius: 999px;
  padding: 0.82rem 1.7rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.promo-banner__cta:hover,
.promo-banner__cta:focus {
  background: #c92d68;
  color: #fff;
  transform: translateY(-1px);
}

.promo-banner__dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 2.1rem;
}

.promo-banner__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f8e4e8;
}

.promo-banner__dots span.is-active {
  background: var(--color-magenta);
}

.promo-banner__visual {
  position: relative;
  min-height: 320px;
}

.promo-banner__visual img {
  position: absolute;
  inset: 0;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: contain;
  object-position: 70% 55%;
  filter: drop-shadow(0 18px 28px rgba(90, 30, 50, 0.12));
}

.promo-banner__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  filter: none;
}

/* ---------- Contact (page dédiée) ---------- */
.contact-hero-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 3.25rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 36, 24, 0.62) 0%, rgba(18, 36, 24, 0.28) 55%, rgba(18, 36, 24, 0.18) 100%),
    url("/assets/images/bg-contact.jpg") center 40% / cover no-repeat;
}

.contact-crumbs {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-lime);
  margin-bottom: 0.55rem;
}

.contact-crumbs a {
  color: var(--color-lime);
}

.contact-crumbs a:hover {
  color: #fff;
}

.contact-hero-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.contact-info-section {
  padding: 2.75rem 0 1.25rem;
}

.contact-info-title {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 1.35rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e8eee6;
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  height: 100%;
}

.contact-info-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f0d8;
  color: var(--color-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card__label {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-green-mid);
}

.contact-info-card__value {
  margin: 0;
  font-weight: 600;
  color: var(--color-green-dark);
  font-size: 0.95rem;
  line-height: 1.35;
}

a.contact-info-card__value:hover {
  color: var(--color-orange);
}

.contact-touch-section {
  padding: 1rem 0 3rem;
}

.contact-touch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-form-card {
  background: #fff;
  border: 1px solid #e8eee6;
  border-radius: 18px;
  padding: 1.75rem 1.7rem 1.85rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-card h2 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 1.2rem;
}

.contact-form-card .brand-field input,
.contact-form-card .brand-field select,
.contact-form-card .brand-field textarea {
  border-color: #dce3d8;
  border-radius: 10px;
}

.contact-form-card .brand-field textarea {
  min-height: 140px;
}

.contact-form-card .newsletter-feedback {
  color: var(--color-green-mid);
  display: block;
  margin-top: 0.75rem;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  background: var(--color-green-mid);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-contact-submit:hover,
.btn-contact-submit:focus {
  background: var(--color-green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.contact-map-wrap {
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8eee6;
  background: #e8eee6;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.contact-subscribe {
  background-color: #1b2420;
  background-image: radial-gradient(circle at 18% 40%, rgba(255, 255, 255, 0.05) 0 18px, transparent 19px),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.04) 0 22px, transparent 23px);
  padding: 2.4rem 0;
}

.contact-subscribe__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-subscribe p {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 28ch;
}

.contact-subscribe__form {
  display: flex;
  align-items: stretch;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  padding: 0.28rem 0.28rem 0.28rem 0.2rem;
}

.contact-subscribe__form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0.7rem 1.1rem;
  outline: none;
}

.contact-subscribe__form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-subscribe__form button {
  border: none;
  background: var(--color-lime);
  color: #152018;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
}

.contact-subscribe__feedback {
  margin-top: 0.85rem;
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #faf6f0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-on {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.page-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.page-loader__caption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.page-loader__bloom {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-block;
  animation: bloomSpin 1.6s linear infinite;
}

.page-loader__bloom i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-orange);
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
}

.page-loader__bloom i:nth-child(1) { transform: translateY(-18px); background: var(--color-orange); }
.page-loader__bloom i:nth-child(2) { transform: translateX(18px); background: var(--color-green-mid); }
.page-loader__bloom i:nth-child(3) { transform: translateY(18px); background: var(--color-magenta); }
.page-loader__bloom i:nth-child(4) { transform: translateX(-18px); background: var(--color-gold); }

@keyframes bloomSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .promo-banner {
    grid-template-columns: 1fr 0.9fr;
    min-height: 300px;
  }

  .promo-banner__copy {
    padding: 2.4rem 1.6rem 2rem 2rem;
  }

  .contact-touch-grid,
  .contact-subscribe__inner {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap iframe {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .promo-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .promo-banner__copy {
    padding: 2rem 1.35rem 0.5rem;
  }

  .promo-banner__copy h1 {
    max-width: none;
  }

  .promo-banner__dots {
    margin-top: 1.4rem;
  }

  .promo-banner__visual {
    min-height: 240px;
  }

  .contact-hero-banner {
    min-height: 220px;
    padding: 4.25rem 0 2.2rem;
  }

  .contact-form-card {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .contact-subscribe p {
    font-size: 1.05rem;
    max-width: none;
  }

  .contact-subscribe__form {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.45rem;
    gap: 0.45rem;
  }

  .contact-subscribe__form button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-card {
    --hero-h: calc(100svh - 5.35rem);
    border-radius: 0;
  }

  .hero-visual {
    flex-basis: 42svh;
    height: 42svh;
    min-height: 42svh;
    max-height: 42svh;
    padding: 0.2rem 0.5rem 0;
  }

  .hero-copy {
    padding: 0.7rem 1.25rem 3.2rem;
    margin-top: 0;
    text-align: left;
    align-items: stretch;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 2.85rem);
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .hero-lead {
    font-size: 0.88rem;
    margin-bottom: 1.3rem;
  }

  .hero-blob {
    width: 84%;
    height: 86%;
    top: 52%;
  }

  .hero-visual .hero-cutout,
  .hero-visual > img {
    width: min(90%, 320px);
    max-height: min(38svh, 290px);
  }

  .hero-gift-stack {
    width: min(92%, 310px);
    height: min(38svh, 280px);
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .hero-gift-stack img.is-active {
    transform: scale(1.05) translateY(0);
  }

  .hero-indicators {
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }

  .occasion-item {
    flex: 0 0 calc(33.333% - 0.45rem);
    max-width: calc(33.333% - 0.45rem);
    min-width: 0;
  }

  .promo-banner {
    border-radius: 0;
  }
}

/* ---------- Page À propos (refonte) ---------- */
.about-page-hero {
  position: relative;
  width: 100%;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.46) 0%, rgba(17, 17, 17, 0.58) 100%),
    url("/assets/images/about-hero.jpg") center 38% / cover no-repeat;
}

.about-page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.about-crumbs {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.about-crumbs a {
  color: rgba(255, 255, 255, 0.88);
}

.about-crumbs a:hover {
  color: var(--color-gold);
}

.about-history,
.about-mission,
.about-testimonials {
  padding: 5rem 0;
  background: #fff;
}

.about-mission {
  background: var(--color-cream-bg);
}

.about-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: center;
}

.about-split--reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.about-framed-photo {
  position: relative;
  padding: 1.75rem 0 0 1.75rem;
  transition: transform 0.4s ease;
}

.about-framed-photo:hover {
  transform: translateY(-8px);
}

.about-framed-photo__frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 1.75rem;
  bottom: 1.75rem;
  border: 1px solid var(--color-gold);
  pointer-events: none;
}

.about-framed-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.6s ease;
}

.about-split__copy {
  position: relative;
}

.about-label {
  color: var(--color-gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.about-heading-wrap {
  position: relative;
  margin-bottom: 1.35rem;
}

.about-ghost {
  position: absolute;
  top: -0.55em;
  left: -0.08em;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 700;
  color: rgba(17, 17, 17, 0.045);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.about-ghost--small {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.about-split__copy h2,
.about-testimonials__intro h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  margin: 0;
  color: #111;
}

.about-split__copy p {
  color: #5c5c5c;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.75rem;
}

.about-sign img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.about-sign strong {
  display: block;
  font-size: 0.95rem;
  color: #111;
}

.about-sign span {
  display: block;
  font-size: 0.78rem;
  color: #888;
}

.about-sign__script {
  font-family: var(--font-logo);
  font-size: 1.55rem;
  color: #222;
  margin: 0.1rem 0 0;
  line-height: 1;
}

.about-cutout {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}

.about-cutout img {
  width: min(100%, 460px);
  max-height: 520px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 22px 36px rgba(30, 58, 42, 0.16));
  animation: aboutFloat 5.5s ease-in-out infinite;
}

.btn-about-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  background: var(--color-gold);
  color: #111;
  padding: 0.85rem 1.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-about-gold:hover,
.btn-about-gold:focus {
  background: #a38648;
  color: #111;
}

.btn-about-outline {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  border: 1px solid var(--color-gold);
  color: #111;
  padding: 0.8rem 1.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-about-outline:hover,
.btn-about-outline:focus {
  background: var(--color-gold);
  color: #111;
}

.about-testimonials {
  position: relative;
}

.about-testimonials::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 180px;
  height: 180px;
  opacity: 0.06;
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, #111 43% 46%, transparent 47%),
    linear-gradient(#111, #111);
  background-size: 100% 100%, 8px 70%;
  background-position: center, center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.about-testimonials__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-testimonials__intro p {
  color: #5c5c5c;
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.about-quote-card {
  background: #fff;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
  padding: 2.4rem 1.5rem 1.7rem;
  text-align: center;
  position: relative;
  margin-top: 2.2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-quote-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  margin: -3.4rem auto 1rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.45s ease;
}

.about-quote-card p {
  color: #5c5c5c;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.about-stars {
  color: var(--color-gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.about-quote-card strong {
  display: block;
  color: #111;
  font-size: 0.95rem;
}

.about-quote-card span {
  color: #999;
  font-size: 0.78rem;
}

.about-framed-photo:hover img {
  transform: scale(1.04);
}

.about-quote-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.12);
}

.about-quote-card:hover img {
  transform: scale(1.06);
}

.contact-form-card:hover,
.contact-map-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(30, 58, 42, 0.12);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.about-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.about-gallery img:hover {
  filter: grayscale(0);
}

.about-newsletter {
  background: #111;
  padding: 2.1rem 0;
}

.about-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.about-newsletter h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0;
}

.about-newsletter__form {
  display: flex;
  align-items: stretch;
  min-width: min(100%, 380px);
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
}

.about-newsletter__form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0.85rem 1rem;
  outline: none;
}

.about-newsletter__form input::placeholder {
  color: #8a8a8a;
}

.about-newsletter__form button {
  width: 58px;
  border: none;
  background: var(--color-gold);
  color: #111;
  font-size: 1.05rem;
}

.about-newsletter__feedback {
  margin-top: 0.75rem;
}

@media (max-width: 991.98px) {
  .about-split,
  .about-split--reverse,
  .about-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-framed-photo img {
    height: 400px;
  }

  .about-cutout {
    min-height: 280px;
    order: -1;
  }

  .about-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-newsletter__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .about-page-hero {
    min-height: 38vh;
    padding: 4rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .about-history,
  .about-mission,
  .about-testimonials {
    padding: 3.2rem 0;
  }

  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-gallery img {
    height: 160px;
  }

  .about-quote-card {
    padding-top: 3rem;
  }

  .about-quote-card img {
    margin-top: -2.6rem;
  }
}

.contact-page-hero {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.46) 0%, rgba(17, 17, 17, 0.58) 100%),
    url("/assets/images/plante7.webp") center 40% / cover no-repeat;
}

.contact-form-card--plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.contact-form-card--plain .newsletter-feedback {
  color: var(--color-green-mid);
}

.contact-map-panel {
  min-height: 520px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #e8eee6;
  align-items: stretch;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.login-wrap {
  padding: 2.75rem 0 4.5rem;
}

.login-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 2.2rem 1.7rem 2rem;
  box-shadow: var(--shadow-soft);
}

.login-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  margin-bottom: 0.45rem;
  color: var(--color-green-dark);
}

.login-lead {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}

.login-card .brand-field {
  margin-bottom: 0.9rem;
}

.login-card .brand-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--color-text-muted);
}

.login-card .brand-field input {
  width: 100%;
  border: 1px solid #e6d3c2;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-body);
}

.login-card .btn-brand-outline {
  margin-top: 0.55rem;
}

body.pay-open {
  overflow: hidden;
}

.pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 58, 42, 0.52);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1rem 2rem;
  overflow-y: auto;
}

.pay-overlay[hidden] {
  display: none !important;
}

.pay-modal {
  position: relative;
  width: min(430px, 100%);
  margin: 1.5rem auto;
  background: var(--color-cream-bg);
  border-radius: 22px;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: 0 24px 60px rgba(30, 58, 42, 0.22);
  overflow-x: hidden;
  touch-action: pan-y;
}

.pay-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-muted);
  z-index: 2;
}

.pay-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, var(--color-green-mid) 0%, var(--color-green-dark) 100%);
  box-shadow: 0 14px 28px rgba(30, 58, 42, 0.22);
  touch-action: pan-y;
  user-select: none;
}

.pay-card-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -30px;
  border: 18px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.pay-card-visual::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -50px;
  bottom: -50px;
  border: 14px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.pay-card-visual__chip {
  display: block;
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f3e2a8, #c6a15b);
  margin-bottom: 1.35rem;
}

.pay-card-visual__brand {
  position: relative;
  top: auto;
  right: auto;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.pay-card-visual__kicker {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 0.85rem;
}

.pay-card-visual__number {
  position: relative;
  z-index: 1;
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  margin: 0 0 1.15rem;
  font-weight: 500;
}

.pay-card-visual__meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-form {
  display: grid;
  gap: 0.85rem;
}

.pay-field span {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 0.28rem;
}

.pay-field input,
.pay-field select {
  width: 100%;
  border: 1px solid #e6d3c2;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white);
}

.pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pay-save {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.pay-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.pay-submit {
  width: 100%;
  border: none;
  background: var(--color-green-mid);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 0.95rem 1rem;
}

.pay-submit:hover,
.pay-submit:focus {
  background: var(--color-green-dark);
  color: #fff;
}

@media (max-width: 767.98px) {
  body.pay-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }

  .pay-overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .pay-modal {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    padding: max(0.65rem, env(safe-area-inset-top)) 0.85rem max(0.85rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    touch-action: pan-y;
  }

  .pay-modal__close {
    top: max(0.55rem, env(safe-area-inset-top));
    right: 0.75rem;
  }

  .pay-card-visual {
    min-height: 88px;
    padding: 0.65rem 0.85rem 0.55rem;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
  }

  .pay-card-visual__brand {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .pay-card-visual__kicker {
    font-size: 0.62rem;
    margin-bottom: 0.45rem;
  }

  .pay-card-visual__number {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
  }

  .pay-card-visual__meta {
    font-size: 0.62rem;
  }

  .pay-form {
    gap: 0.5rem;
    flex: 1 1 auto;
    min-height: 0;
  }

  .pay-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .pay-field span {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
  }

  .pay-field input,
  .pay-field select {
    padding: 0.55rem 0.65rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .pay-note {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .pay-submit {
    padding: 0.75rem 0.85rem;
    font-size: 0.72rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  .pay-overlay {
    align-items: center;
    padding: 0.7rem 1rem;
  }

  .pay-modal {
    width: min(500px, 90vw);
    margin: 0 auto;
    max-height: min(86vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.1rem 1.2rem 1.05rem;
  }

  .pay-card-visual {
    min-height: 128px;
    padding: 0.9rem 1.05rem 0.8rem;
    margin: 0.45rem auto 0.55rem;
    width: 100%;
  }

  .pay-card-visual__chip {
    margin-bottom: 0.7rem;
  }

  .pay-card-visual__number {
    font-size: 1.02rem;
    margin-bottom: 0.65rem;
  }

  .pay-form {
    gap: 0.48rem;
  }

  .pay-field input,
  .pay-field select {
    padding: 0.48rem 0.7rem;
  }

  .pay-submit {
    padding: 0.68rem 1rem;
  }
}

@media (min-width: 1400px) {
  .pay-overlay {
    align-items: center;
    padding: 2.5rem 2rem;
  }

  .pay-modal {
    width: min(980px, 94vw);
    margin: 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
    column-gap: 2.1rem;
    row-gap: 0.4rem;
    padding: 2.15rem 2.2rem 1.9rem;
    border-radius: 28px;
    max-height: min(92vh, 860px);
    overflow: auto;
    align-items: center;
  }

  .pay-modal > .visually-hidden {
    position: absolute;
  }

  .pay-modal__close {
    top: 1.05rem;
    right: 1.2rem;
  }

  .pay-card-visual {
    grid-column: 1;
    min-height: 210px;
    margin-top: 0;
    align-self: center;
  }

  .pay-form {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-content: start;
  }

  .pay-field input,
  .pay-field select {
    padding: 0.78rem 0.9rem;
  }
}

.thanks-hero {
  padding: 2.5rem 0 4rem;
}

.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-peach-bg);
  border-radius: var(--radius-xl);
  padding: 3.2rem 2.2rem 2.8rem;
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--color-sage-blob);
  border-radius: 48% 52% 46% 54%;
  top: -60px;
  right: -40px;
  opacity: 0.55;
}

.thanks-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--color-green-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.thanks-card .page-kicker,
.thanks-card h1,
.thanks-card p,
.thanks-card .thanks-actions {
  position: relative;
  z-index: 1;
}

.thanks-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--color-green-dark);
}

.thanks-card p {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  color: var(--color-green-dark);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

@media (min-width: 1400px) {
  :root {
    --container-max: 1400px;
  }

  .hero-card {
    --hero-h: calc(100dvh - 7rem);
  }

  .hero-copy {
    padding: 2.8rem 2.5rem 3.4rem clamp(3.5rem, 8vw, 8rem);
  }

  .hero-title {
    font-size: clamp(3.1rem, 4.6vw, 5.35rem);
  }

  .hero-lead {
    font-size: 1.08rem;
    max-width: 32rem;
  }

  .hero-visual .hero-cutout,
  .hero-visual > img {
    width: min(98%, 680px);
    max-height: min(78vh, 680px);
  }

  .hero-gift-stack {
    width: min(92%, 560px);
    height: min(74vh, 600px);
  }

  .about-page-hero,
  .contact-page-hero {
    min-height: 70vh;
  }

  .about-split,
  .about-split--reverse {
    gap: 5.5rem;
  }

  .about-framed-photo img {
    height: 580px;
  }

  .navbar {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .site-footer {
    padding-top: 4.25rem;
  }
}

@media (min-width: 1700px) {
  :root {
    --container-max: 1540px;
  }

  .hero-copy {
    padding-left: 9rem;
  }

  .hero-title {
    font-size: 5.6rem;
  }
}
