/*
 * Drop by Drop – home page (templates/home.php)
 * Premium, clear and conversion-focused. Reuses tokens from
 * dropbydrop-refresh.css and components from dbd-gyg.css.
 */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

.dbd-home {
  --dbd-serif: "Cormorant Garamond", "Times New Roman", serif;
  --dbd-ivory: #faf7f2;
  --dbd-sand: #f2ece2;
  --dbd-night: #171513;
  --dbd-gold-soft: #d8b98a;
  width: 100%;
  color: var(--dbd-ink);
  font-size: 17px;
  line-height: 1.6;
}

.dbd-home :where(h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.dbd-home :where(ul, ol) {
  padding: 0;
  list-style: none;
}

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

.dbd-wrap {
  max-width: var(--dbd-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Full-bleed bands inside WoodMart's boxed container. */
.dbd-sec,
.dbd-cta-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.dbd-sec {
  padding: clamp(64px, 9vw, 120px) 0;
}

/* ---------- Typography ---------- */
.dbd-home .dbd-hs h1 {
  font-family: var(--dbd-serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.dbd-home .dbd-eyebrow {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  margin-bottom: 14px !important;
  color: var(--dbd-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dbd-title {
  color: var(--dbd-ink);
  font-family: var(--dbd-serif);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.dbd-title em {
  color: var(--dbd-accent);
  font-style: italic;
  font-weight: 500;
}

.dbd-lead {
  color: var(--dbd-ink);
  font-size: 20px;
  line-height: 1.55;
}

.dbd-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.dbd-head > p:not(.dbd-eyebrow) {
  margin-top: 16px;
  color: var(--dbd-muted);
}

.dbd-head-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dbd-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.dbd-head-split > p {
  max-width: 380px;
  margin: 0 !important;
}

/* ---------- Buttons ---------- */
.dbd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

.dbd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dbd-btn:hover {
  transform: translateY(-1px);
}

.dbd-btn-primary {
  background: var(--dbd-accent);
  color: #fff !important;
}

.dbd-btn-primary:hover {
  background: var(--dbd-accent-dark);
}

.dbd-btn-dark {
  background: var(--dbd-ink);
  color: #fff !important;
}

.dbd-btn-dark:hover {
  background: #000;
}

.dbd-btn-ghost {
  border-color: rgba(31, 35, 32, 0.25);
  background: transparent;
  color: var(--dbd-ink) !important;
}

.dbd-btn-ghost:hover {
  border-color: var(--dbd-ink);
}

.dbd-btn-lg {
  min-height: 60px;
  padding: 0 40px;
  font-size: 17px;
}

.dbd-link {
  color: var(--dbd-ink) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dbd-price-note {
  color: var(--dbd-muted);
  font-size: 15px;
}

/* ---------- Intro ---------- */
.dbd-intro {
  padding-top: clamp(48px, 7vw, 96px);
}

.dbd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.dbd-intro-media {
  position: relative;
}

.dbd-intro-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--dbd-radius-lg);
}

.dbd-intro-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--dbd-shadow-sm);
  color: var(--dbd-muted);
  font-size: 13px;
}

.dbd-intro-badge span {
  color: var(--dbd-ink);
  font-size: 15px;
  font-weight: 700;
}

.dbd-intro-copy > p:not(.dbd-eyebrow) {
  margin-top: 20px;
  color: var(--dbd-muted);
}

.dbd-intro-copy .dbd-lead {
  margin-top: 24px !important;
  color: var(--dbd-ink) !important;
}

/* Notes as an editorial line, like a perfumer's composition card. */
.dbd-intro-copy .dbd-notes-label {
  margin-top: 32px !important;
  padding-top: 20px;
  border-top: 1px solid var(--dbd-line);
  color: var(--dbd-muted) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dbd-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 10px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--dbd-line);
}

.dbd-notes li {
  color: var(--dbd-ink);
  font-family: var(--dbd-serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
}

.dbd-notes li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin: 0 14px;
  background: #c9b79a;
  vertical-align: -1px;
}

/* ---------- Steps ---------- */
.dbd-steps {
  background: var(--dbd-ivory);
}

.dbd-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.dbd-step {
  position: relative;
}

.dbd-step-media {
  overflow: hidden;
  border-radius: var(--dbd-radius);
}

.dbd-step-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dbd-step:hover .dbd-step-media img {
  transform: scale(1.04);
}

.dbd-step-num {
  display: block;
  margin-top: 22px;
  color: var(--dbd-gold);
  font-family: var(--dbd-serif);
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.dbd-step h3 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.dbd-step p {
  margin-top: 8px;
  color: var(--dbd-muted);
  font-size: 16px;
}

/* ---------- Reels ---------- */
.dbd-reels {
  background: var(--dbd-night);
  color: #fff;
}

.dbd-reels .dbd-title {
  color: #fff;
}

.dbd-reels .dbd-eyebrow {
  color: var(--dbd-gold-soft);
}

.dbd-reels .dbd-head-split > p {
  color: rgba(255, 255, 255, 0.7);
}

.dbd-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dbd-reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: var(--dbd-radius);
  background: #2a2622;
}

.dbd-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}



.dbd-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dbd-reel.is-playing::after {
  opacity: 0.35;
}

.dbd-reel-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.dbd-reel-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dbd-reel-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--dbd-ink);
  transform: translate(-50%, -50%);
}

.dbd-reel-play:hover .dbd-reel-icon {
  transform: scale(1.08);
}

.dbd-reel.is-playing .dbd-reel-icon {
  opacity: 0;
}

.dbd-reel.is-playing .dbd-reel-play:hover .dbd-reel-icon,
.dbd-reel.is-playing .dbd-reel-play:focus-visible .dbd-reel-icon {
  opacity: 1;
}

.dbd-reel.is-playing .dbd-reel-icon::before {
  left: 50%;
  width: 18px;
  height: 22px;
  border: 0;
  border-left: 6px solid var(--dbd-ink);
  border-right: 6px solid var(--dbd-ink);
}

.dbd-reel-caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dbd-reel-caption strong {
  font-family: var(--dbd-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.dbd-reel-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.dbd-reel.is-playing .dbd-reel-caption {
  opacity: 0;
}

/* ---------- Reels: cinema mood (spotlight, film grain, 3D pop) ---------- */
.dbd-reels {
  --mx: 50%;
  --my: 35%;
  overflow: hidden;
  isolation: isolate;
}

.dbd-reels > .dbd-wrap {
  position: relative;
  z-index: 2;
}

/* Projector spotlight + vignette. */
.dbd-reels::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 214, 160, 0.16), transparent 62%),
    radial-gradient(ellipse at 50% -10%, rgba(255, 214, 160, 0.1), transparent 55%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  animation: dbd-flicker 5s infinite steps(1);
}

/* Animated film grain (SVG noise, no image file). */
.dbd-reels::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: dbd-grain 0.9s steps(6) infinite;
}

@keyframes dbd-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(-2%, 6%); }
}

@keyframes dbd-flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 0.93; }
  42% { opacity: 1; }
  77% { opacity: 0.96; }
  78% { opacity: 1; }
}

/* 3D stage. */
.dbd-reels-grid {
  perspective: 1300px;
  perspective-origin: 50% 40%;
}

.dbd-reel {
  --rx: 0deg;
  --ry: 0deg;
  --sheen: 50%;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease;
  will-change: transform;
}

/* WoodMart paints every hovered button light grey: keep the overlay clear. */
.dbd-reel-play,
.dbd-reel-play:hover,
.dbd-reel-play:focus,
.dbd-reel-play:active {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* Light sweep across the selected card. */
.dbd-reel-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 240, 215, 0.22) 50%, transparent 70%) no-repeat;
  background-size: 220% 100%;
  background-position: calc(100% - var(--sheen)) 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* The others step back into the dark. */
.dbd-reels-grid:hover .dbd-reel:not(:hover),
.dbd-reels-grid.has-playing .dbd-reel:not(.is-playing) {
  filter: brightness(0.42) saturate(0.6);
  transform: scale(0.95);
}

/* The selected one comes out of the screen. */
.dbd-reel:hover,
.dbd-reel:focus-within,
.dbd-reel.is-playing {
  z-index: 3;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(80px) scale(1.07);
  box-shadow:
    0 50px 90px -25px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 236, 205, 0.14),
    0 0 70px rgba(216, 185, 138, 0.22);
}

.dbd-reel:hover .dbd-reel-play::before,
.dbd-reel.is-playing .dbd-reel-play::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .dbd-reels::before,
  .dbd-reels::after {
    animation: none;
  }

  .dbd-reel,
  .dbd-reel:hover,
  .dbd-reel.is-playing {
    transform: none;
  }
}

/* ---------- Steps: same cinema mood, tuned for the light background ---------- */
.dbd-steps {
  --mx: 50%;
  --my: 40%;
  overflow: hidden;
  isolation: isolate;
}

.dbd-steps > .dbd-wrap {
  position: relative;
  z-index: 2;
}

.dbd-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px circle at var(--mx) var(--my), rgba(216, 160, 90, 0.2), transparent 62%),
    radial-gradient(ellipse at center, transparent 55%, rgba(120, 90, 50, 0.1) 100%);
  pointer-events: none;
  animation: dbd-flicker 5s infinite steps(1);
}

.dbd-steps::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: dbd-grain 0.9s steps(6) infinite;
}

.dbd-steps-grid {
  perspective: 1300px;
  perspective-origin: 50% 35%;
}

.dbd-step {
  --rx: 0deg;
  --ry: 0deg;
  --sheen: 50%;
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

.dbd-step-media {
  position: relative;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.dbd-step-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 245, 225, 0.35) 50%, transparent 70%) no-repeat;
  background-size: 220% 100%;
  background-position: calc(100% - var(--sheen)) 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dbd-steps-grid:hover .dbd-step:not(:hover) {
  filter: saturate(0.55) brightness(0.92);
  opacity: 0.55;
  transform: scale(0.97);
}

.dbd-step:hover {
  z-index: 3;
}

.dbd-step:hover .dbd-step-media {
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(70px) scale(1.06);
  box-shadow:
    0 45px 80px -30px rgba(60, 40, 20, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 60px rgba(216, 160, 90, 0.25);
}

.dbd-step:hover .dbd-step-media::after {
  opacity: 1;
}

.dbd-step:hover .dbd-step-media img {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .dbd-steps::before,
  .dbd-steps::after {
    animation: none;
  }

  .dbd-step:hover .dbd-step-media {
    transform: none;
  }
}

/* ---------- Guest gallery ---------- */
.dbd-gallery {
  padding-bottom: 0;
}

.dbd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
}

.dbd-gallery-grid li {
  margin: 0;
  overflow: hidden;
  border-radius: var(--dbd-radius);
}

.dbd-gallery-grid .is-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.dbd-gallery-grid .is-tall {
  grid-row: span 2;
}

.dbd-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s ease;
}

.dbd-gallery-grid li:hover img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .dbd-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 10px;
  }
}

/* ---------- Details ---------- */
.dbd-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.dbd-check {
  display: grid;
  gap: 16px;
  margin-top: 32px !important;
}

.dbd-check li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
}

.dbd-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius-lg);
  background: var(--dbd-ivory);
  overflow: hidden;
}

.dbd-facts > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-content: start;
  column-gap: 14px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--dbd-line);
}

.dbd-facts .dbd-icon {
  grid-row: span 2;
  margin-top: 2px;
  color: var(--dbd-accent);
}

.dbd-facts > div:nth-child(odd) {
  border-right: 1px solid var(--dbd-line);
}

.dbd-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dbd-facts dt {
  color: var(--dbd-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dbd-facts dd {
  grid-column: 2;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

/* ---------- Occasions ---------- */
.dbd-occasions {
  padding-top: 0;
}

.dbd-occ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dbd-occ {
  position: relative;
  overflow: hidden;
  border-radius: var(--dbd-radius-lg);
  color: #fff;
}

.dbd-occ img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dbd-occ:hover img {
  transform: scale(1.04);
}

.dbd-occ::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
}

.dbd-occ > div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.dbd-occ h3 {
  color: #fff;
  font-family: var(--dbd-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.dbd-occ p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

/* ---------- Reviews ---------- */
.dbd-reviews {
  background: var(--dbd-ivory);
}

/* ---------- FAQ ---------- */
.dbd-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.dbd-faq-grid .dbd-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.dbd-faq-list details {
  border-bottom: 1px solid var(--dbd-line);
}

.dbd-faq-list details:first-child {
  border-top: 1px solid var(--dbd-line);
}

.dbd-faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.dbd-faq-list summary::-webkit-details-marker {
  display: none;
}

.dbd-faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid var(--dbd-line);
  border-radius: 50%;
  background:
    linear-gradient(var(--dbd-ink), var(--dbd-ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--dbd-ink), var(--dbd-ink)) center / 2px 12px no-repeat;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.dbd-faq-list details[open] summary::after {
  background: linear-gradient(var(--dbd-ink), var(--dbd-ink)) center / 12px 2px no-repeat;
  transform: translateY(-50%) rotate(180deg);
}

.dbd-faq-list summary:hover {
  color: var(--dbd-accent);
}

.dbd-faq-list details p {
  padding: 0 48px 24px 0;
  color: var(--dbd-muted);
}

/* ---------- Visit ---------- */
.dbd-visit {
  padding-top: 0;
}

.dbd-visit-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  max-width: calc(var(--dbd-container) - 40px);
  overflow: hidden;
  border-radius: var(--dbd-radius-lg);
  background: var(--dbd-sand);
}

.dbd-visit-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.dbd-visit-copy {
  align-self: center;
  padding: clamp(32px, 6vw, 72px);
}

.dbd-visit address {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  font-style: normal;
}

.dbd-visit address span {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 14px;
  font-size: 18px;
}

.dbd-visit address .dbd-icon {
  grid-row: span 2;
  margin-top: 2px;
  color: var(--dbd-accent);
}

.dbd-visit address span > :not(.dbd-icon) {
  grid-column: 2;
}

.dbd-visit address b {
  color: var(--dbd-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dbd-visit address a {
  color: var(--dbd-ink);
}

/* ---------- Final CTA ---------- */
.dbd-cta-band {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(200, 88, 50, 0.28), transparent 70%),
    var(--dbd-night);
  color: #fff;
  text-align: center;
}

.dbd-cta-band h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--dbd-serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.dbd-cta-band p {
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.75);
}

/* The CTA band sits directly on the footer. */
.home .wd-content-layout {
  padding-bottom: 0;
}

/* ---------- Mobile sticky CTA ---------- */
.dbd-mobile-cta {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dbd-reels-grid {
    display: flex;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .dbd-reels-grid::-webkit-scrollbar {
    display: none;
  }

  .dbd-reel {
    flex: 0 0 min(260px, 68vw);
    scroll-snap-align: start;
  }

  .dbd-details-grid,
  .dbd-faq-grid {
    grid-template-columns: 1fr;
  }

  .dbd-faq-grid .dbd-head {
    position: static;
  }
}

@media (max-width: 767px) {
  .dbd-home {
    font-size: 16px;
  }

  .dbd-intro-grid,
  .dbd-visit-card {
    grid-template-columns: 1fr;
  }

  .dbd-intro-media img {
    aspect-ratio: 4 / 3;
  }

  .dbd-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dbd-steps-grid,
  .dbd-occ-grid {
    display: flex;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .dbd-steps-grid::-webkit-scrollbar,
  .dbd-occ-grid::-webkit-scrollbar {
    display: none;
  }

  .dbd-step,
  .dbd-occ {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .dbd-facts {
    grid-template-columns: 1fr;
  }

  .dbd-facts > div:nth-child(odd) {
    border-right: 0;
  }

  .dbd-facts > div:nth-last-child(2) {
    border-bottom: 1px solid var(--dbd-line);
  }

  .dbd-visit-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .dbd-faq-list summary {
    font-size: 16px;
  }

  .dbd-actions .dbd-btn {
    flex: 1 1 auto;
  }

  .dbd-mobile-cta {
    position: fixed;
    z-index: 390;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(22, 28, 24, 0.22);
    transform: translateY(140%);
    transition: transform 0.3s ease;
  }

  .dbd-mobile-cta.is-visible {
    transform: none;
  }

  .dbd-mobile-cta span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .dbd-mobile-cta small {
    color: var(--dbd-muted);
    font-size: 12px;
  }

  .dbd-mobile-cta .dbd-btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dbd-home *,
  .dbd-mobile-cta {
    transition: none !important;
  }
}

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] .dbd-faq-list summary {
  padding: 24px 0 24px 48px;
}

[dir="rtl"] .dbd-faq-list summary::after {
  right: auto;
  left: 4px;
}

[dir="rtl"] .dbd-faq-list details p {
  padding: 0 0 24px 48px;
}

[dir="rtl"] .dbd-intro-badge {
  left: auto;
  right: 20px;
}

[dir="rtl"] .dbd-notes li:not(:last-child)::after {
  margin: 0 14px;
}

/* ---------- Design polish ---------- */

/* Balanced headings: no lone word on the last line. */
.dbd-home :is(h1, h2, h3, .dbd-title),
.dbd-cta-band h2 {
  text-wrap: balance;
}

.dbd-home :is(p, li, dd) {
  text-wrap: pretty;
}

.dbd-head-center {
  max-width: 820px;
}

/* One vertical rhythm for all sections. */
.dbd-sec {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.dbd-occasions,
.dbd-visit {
  padding-top: 0;
}

/* "Perfect for": three cards of exactly the same size. */
.dbd-occ-grid {
  align-items: stretch;
}

.dbd-occ {
  aspect-ratio: 3 / 4;
}

.dbd-occ img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Gallery on mobile: one large photo, then pairs, no holes. */
@media (max-width: 767px) {
  .dbd-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }

  .dbd-gallery-grid .is-wide {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .dbd-gallery-grid .is-tall {
    grid-row: span 2;
  }

  .dbd-gallery-grid li:last-child {
    grid-column: 1 / -1;
  }

  .dbd-occ {
    aspect-ratio: auto;
    height: 100vw;
    max-height: 460px;
  }
}

/* Mobile carousels keep the page side margin (the list reset removed it). */
@media (max-width: 767px) {
  .dbd-steps-grid,
  .dbd-occ-grid,
  .dbd-reels-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
    scroll-padding-left: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .dbd-reels-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
    scroll-padding-left: 20px;
  }
}
