/*
 * Drop by Drop 2026 refresh
 * Clean marketplace-inspired UI with the atelier's warm luxury identity.
 */

:root {
  --dbd-ink: #1f2320;
  --dbd-muted: #606761;
  --dbd-line: #e2e5e1;
  --dbd-surface: #ffffff;
  --dbd-soft: #f5f6f3;
  --dbd-accent: #b54b28; /* 5.2:1 with white text (WCAG AA) */
  --dbd-accent-dark: #963b1c;
  --dbd-gold: #86622b; /* 5.2:1 on ivory */
  --dbd-success: #18794e;
  --dbd-radius-sm: 10px;
  --dbd-radius: 16px;
  --dbd-radius-lg: 24px;
  --dbd-shadow-sm: 0 2px 10px rgba(22, 28, 24, 0.06);
  --dbd-shadow: 0 16px 50px rgba(22, 28, 24, 0.12);
  --dbd-container: 1220px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dbd-ink);
  background: var(--dbd-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: Satoshi, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(200, 88, 50, 0.42) !important;
  outline-offset: 3px;
}

:where(button, .button, [role="button"]) {
  min-height: 44px;
}

.site-content {
  overflow: clip;
}

/* Header: high-contrast, quiet and consistent on every page. */
.whb-main-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(31, 35, 32, 0.1);
  box-shadow: 0 4px 18px rgba(22, 28, 24, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.whb-main-header :where(.wd-nav > li > a, .wd-header-nav, .wd-tools-element > a) {
  color: var(--dbd-ink) !important;
}

.whb-main-header .wd-nav > li > a {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.whb-main-header .wd-nav > li > a:hover {
  color: var(--dbd-accent) !important;
}

/* Fast single-image hero. */
.home .main-page-wrapper {
  padding-top: 0;
}

.dbd-hero-v2 {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #1c211e;
}

.dbd-hero-v2 .dbd-hero-media,
.dbd-hero-v2 .dbd-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dbd-hero-v2 .dbd-hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: center 52%;
}

.dbd-hero-v2 .dbd-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 18, 15, 0.88) 0%, rgba(13, 18, 15, 0.55) 45%, rgba(13, 18, 15, 0.08) 78%),
    linear-gradient(0deg, rgba(13, 18, 15, 0.72) 0%, transparent 42%);
}

.dbd-hero-shell {
  width: min(calc(100% - 40px), var(--dbd-container));
  margin: 0 auto;
  padding: clamp(92px, 14vh, 150px) 0 clamp(48px, 7vh, 76px);
}

.dbd-hero-copy {
  width: min(690px, 100%);
  color: #fff;
}

.dbd-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(10, 15, 12, 0.34);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dbd-hero-v2 h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.dbd-hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.dbd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.dbd-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--dbd-radius-sm);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.dbd-action:hover {
  transform: translateY(-2px);
}

.dbd-action-primary {
  background: var(--dbd-accent);
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(155, 55, 25, 0.3);
}

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

.dbd-action-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.dbd-action-ghost:hover {
  background: #fff;
  color: var(--dbd-ink) !important;
}

.dbd-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.dbd-hero-facts li {
  display: grid;
  gap: 2px;
  min-width: 130px;
}

.dbd-hero-facts strong {
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.dbd-hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* Homepage sections: marketplace clarity, atelier warmth. */
.home :where(.dbd-luxury-atelier, .dbd-minimal-location, .dbd-video-reviews) {
  color: var(--dbd-ink);
}

.home .dbd-luxury-atelier {
  padding-block: clamp(64px, 9vw, 112px);
  background: var(--dbd-surface);
}

.home .dbd-luxury-wrap,
.home .dbd-minimal-location,
.dbd-video-reviews > :where(.dbd-reviews-head, .dbd-reels-grid) {
  width: min(calc(100% - 40px), var(--dbd-container));
  margin-inline: auto;
}

.home .dbd-luxury-wrap {
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.home .dbd-luxury-visual {
  overflow: hidden;
  border-radius: var(--dbd-radius-lg);
  box-shadow: var(--dbd-shadow);
}

.home .dbd-luxury-content h2,
.dbd-reviews-head h2,
.dbd-faq-heading h2 {
  color: var(--dbd-ink);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home .dbd-luxury-steps > div {
  border-color: var(--dbd-line);
}

.home :where(.dbd-luxury-btn, .dbd-book-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--dbd-radius-sm);
  background: var(--dbd-ink);
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
}

.home .dbd-minimal-location {
  margin-block: clamp(48px, 7vw, 90px);
  overflow: hidden;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius-lg);
  background: var(--dbd-soft);
  box-shadow: var(--dbd-shadow-sm);
}

.dbd-video-reviews {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--dbd-soft);
}

.dbd-reviews-head {
  margin-bottom: 30px !important;
}

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

.dbd-reel-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: #101310;
  box-shadow: var(--dbd-shadow-sm);
}

.dbd-reel-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 15.5;
  object-fit: cover;
  background: #171a18;
}

.dbd-review-card {
  position: absolute;
  inset: auto 12px 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(13, 17, 14, 0.72);
  color: #fff;
  backdrop-filter: blur(12px);
}

.dbd-review-card :where(strong, span) {
  color: inherit;
}

.dbd-sound-btn {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(12, 16, 13, 0.76);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* Booking page. */
.page-id-1179 {
  background: var(--dbd-soft);
}

.page-id-1179 .main-page-wrapper {
  padding-top: 0;
}

.page-id-1179 .ofs-workshop-booking {
  width: min(calc(100% - 40px), var(--dbd-container));
  margin: 0 auto;
  padding: 44px 0 88px;
  color: var(--dbd-ink);
}

.page-id-1179 .ofs-page-header {
  max-width: 820px;
  margin-bottom: 26px;
}

.page-id-1179 .ofs-page-header h1 {
  color: var(--dbd-ink);
  font-family: inherit;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.page-id-1179 .ofs-gallery-grid {
  gap: 10px;
  overflow: hidden;
  border-radius: var(--dbd-radius-lg);
  background: #e7e9e6;
  box-shadow: var(--dbd-shadow-sm);
}

.page-id-1179 .ofs-gallery-cell {
  min-height: 120px;
  border-radius: 0;
}

.page-id-1179 .ofs-columns {
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 38px;
}

.page-id-1179 :where(.ofs-story-box, .ofs-info-section, .ofs-highlight-note) {
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: var(--dbd-surface);
  box-shadow: var(--dbd-shadow-sm);
}

.page-id-1179 .ofs-experience-grid > * {
  border-color: var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: var(--dbd-surface);
}

.page-id-1179 .ofs-section-heading {
  color: var(--dbd-ink);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.page-id-1179 .ofs-sidebar {
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius-lg);
  background: var(--dbd-surface);
  box-shadow: var(--dbd-shadow);
}

.page-id-1179 .ofs-sidebar-price {
  color: var(--dbd-ink);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.page-id-1179 .ofs-sidebar-field {
  min-height: 58px;
  border: 1px solid #cfd4cf;
  border-radius: var(--dbd-radius-sm);
  background: #fff;
  color: var(--dbd-ink);
}

.page-id-1179 .ofs-sidebar-field:hover {
  border-color: var(--dbd-ink);
}

.page-id-1179 :where(.ofs-sidebar-cta, .ofs-confirm-btn, .dbd-faq-reserve-btn) {
  min-height: 54px;
  border: 0;
  border-radius: var(--dbd-radius-sm);
  background: var(--dbd-accent) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(169, 64, 32, 0.2);
}

.page-id-1179 :where(.ofs-sidebar-cta, .ofs-confirm-btn, .dbd-faq-reserve-btn):hover {
  background: var(--dbd-accent-dark) !important;
  transform: translateY(-1px);
}

.page-id-1179 .ofs-sidebar-trust {
  color: var(--dbd-muted);
}

.page-id-1179 .ofs-trust-item::first-line {
  color: var(--dbd-ink);
  font-weight: 700;
}

.page-id-1179 .ofs-modal {
  overflow: hidden;
  border-radius: var(--dbd-radius-lg);
  box-shadow: 0 26px 80px rgba(13, 18, 15, 0.28);
}

.page-id-1179 .ofs-modal :where(button, [role="button"]) {
  min-width: 44px;
  min-height: 44px;
}

.page-id-1179 .dbd-faq {
  padding: clamp(64px, 8vw, 96px) 20px;
  background: var(--dbd-surface);
}

.page-id-1179 .dbd-faq-container {
  width: min(100%, 920px);
}

.page-id-1179 .dbd-faq-item {
  border-color: var(--dbd-line);
}

.page-id-1179 .dbd-sticky-booking-bar {
  border-top: 1px solid var(--dbd-line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--dbd-ink);
  box-shadow: 0 -8px 28px rgba(22, 28, 24, 0.1);
  backdrop-filter: blur(14px);
}

.page-id-1179 .dbd-sticky-booking-bar button {
  border-radius: var(--dbd-radius-sm);
  background: var(--dbd-accent);
  color: #fff;
  font-weight: 800;
}

/* WooCommerce: clean Shopify-like cards and checkout surfaces. */
.woocommerce-page:not(.page-id-1179) .main-page-wrapper,
.woocommerce-shop .main-page-wrapper {
  background: var(--dbd-soft);
}

.woocommerce-shop :where(.site-content, .shop-content-area),
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.woocommerce-account .site-content {
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.woocommerce-shop .page-title {
  margin-bottom: 30px;
  color: var(--dbd-ink);
  font-family: inherit;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 780;
  letter-spacing: -0.045em;
}

.woocommerce-shop .area-sidebar-shop .wd-widget {
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: var(--dbd-surface);
  box-shadow: var(--dbd-shadow-sm);
}

.woocommerce-shop .wd-products {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)) !important;
  gap: 22px !important;
}

.woocommerce-shop .wd-product-wrapper {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: var(--dbd-surface);
  box-shadow: var(--dbd-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce-shop .wd-product-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--dbd-shadow);
}

.woocommerce-shop .wd-product-thumb {
  overflow: hidden;
  border-radius: calc(var(--dbd-radius) - 1px) calc(var(--dbd-radius) - 1px) 0 0;
  background: #eceeea;
}

.woocommerce-shop .wd-product :where(.wd-product-content, .wd-product-information, .wd-product-info) {
  padding: 18px;
}

.woocommerce-shop .wd-product .wd-entities-title {
  color: var(--dbd-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.woocommerce-shop .wd-product .price {
  color: var(--dbd-ink);
  font-size: 17px;
  font-weight: 800;
}

.woocommerce-shop .wd-product .add_to_cart_button,
.woocommerce-cart .wc-backward,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--dbd-radius-sm) !important;
  background: var(--dbd-accent) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: none !important;
}

.woocommerce-shop .wd-product .add_to_cart_button:hover,
.woocommerce-cart .wc-backward:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: var(--dbd-accent-dark) !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  width: min(calc(100% - 40px), var(--dbd-container));
  margin-inline: auto;
}

.woocommerce-cart :where(.cart-empty, .woocommerce-cart-form, .cart_totals),
.woocommerce-checkout :where(.woocommerce-checkout-review-order, .woocommerce-billing-fields, .woocommerce-additional-fields),
.woocommerce-account :where(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--dbd-line);
  border-radius: var(--dbd-radius);
  background: var(--dbd-surface);
  box-shadow: var(--dbd-shadow-sm);
}

.woocommerce-cart .cart-empty {
  margin-bottom: 18px;
  color: var(--dbd-ink);
  font-family: inherit;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.woocommerce-checkout :where(input.input-text, textarea, select),
.woocommerce-account :where(input.input-text, textarea, select) {
  min-height: 50px;
  border: 1px solid #cfd4cf;
  border-radius: var(--dbd-radius-sm);
  background: #fff;
}

.woocommerce-checkout :where(input.input-text, textarea, select):focus,
.woocommerce-account :where(input.input-text, textarea, select):focus {
  border-color: var(--dbd-accent);
  box-shadow: 0 0 0 3px rgba(200, 88, 50, 0.14);
}

/* Informational pages keep a calm reading width and consistent headings. */
:where(.page-id-19, .page-id-21, .page-id-1502, .page-id-1516) .site-content {
  color: var(--dbd-ink);
}

:where(.page-id-19, .page-id-21, .page-id-1502, .page-id-1516) h1,
:where(.page-id-19, .page-id-21, .page-id-1502, .page-id-1516) h2 {
  color: var(--dbd-ink);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

@media (max-width: 1024px) {
  .dbd-reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-id-1179 .ofs-sidebar {
    top: 86px;
  }
}

@media (max-width: 767px) {
  .dbd-hero-v2 {
    min-height: 690px;
  }

  .dbd-hero-v2 .dbd-hero-media {
    object-position: 56% center;
  }

  .dbd-hero-v2 .dbd-hero-shade {
    background: linear-gradient(0deg, rgba(12, 17, 14, 0.92) 0%, rgba(12, 17, 14, 0.56) 55%, rgba(12, 17, 14, 0.16) 100%);
  }

  .dbd-hero-shell {
    width: min(calc(100% - 32px), var(--dbd-container));
    padding-bottom: 30px;
  }

  .dbd-hero-v2 h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .dbd-hero-actions {
    display: grid;
  }

  .dbd-action {
    width: 100%;
  }

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

  .dbd-hero-facts li {
    min-width: 0;
  }

  .home .dbd-luxury-wrap,
  .home .dbd-minimal-location,
  .dbd-video-reviews > :where(.dbd-reviews-head, .dbd-reels-grid) {
    width: min(calc(100% - 32px), var(--dbd-container));
  }

  .dbd-reels-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

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

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

  .page-id-1179 .ofs-workshop-booking {
    width: min(calc(100% - 28px), var(--dbd-container));
    padding-top: 28px;
  }

  .page-id-1179 .ofs-columns {
    gap: 28px;
    margin-top: 26px;
  }

  .page-id-1179 .ofs-sidebar {
    position: static;
    border-radius: var(--dbd-radius);
    box-shadow: var(--dbd-shadow-sm);
  }

  .page-id-1179 .dbd-sticky-booking-bar {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce,
  .woocommerce-account .woocommerce {
    width: min(calc(100% - 28px), var(--dbd-container));
  }
}

@media (max-width: 480px) {
  .dbd-eyebrow {
    font-size: 11px;
  }

  .dbd-hero-facts span {
    font-size: 11px;
  }

  .page-id-1179 .ofs-page-header h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
