/* Final storefront theme layer. Keep theme-specific fixes here, after legacy CSS. */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="dark"] body { background: var(--wf-bg); color: var(--wf-ink); }
html[data-theme="dark"] div.header {
  background: #16191b !important;
  border-bottom-color: #343b3c !important;
}
html[data-theme="dark"] div.header .container,
html[data-theme="dark"] div.header .row,
html[data-theme="dark"] div.header .inner { background: transparent !important; }
html[data-theme="dark"] div.header a,
html[data-theme="dark"] div.header ul li a,
html[data-theme="dark"] div.header .wf-cart-label,
html[data-theme="dark"] div.header .wf-cart-total,
html[data-theme="dark"] div.header .wf-cart-count,
html[data-theme="dark"] div.header button { color: #f0eee9 !important; }
html[data-theme="dark"] div.header .form-control,
html[data-theme="dark"] div.header input[type="text"] {
  background: #252b2d !important;
  border-color: #4c5657 !important;
  color: #f0eee9 !important;
}
html[data-theme="dark"] div.header .form-control::placeholder { color: #c5cecc !important; }
html[data-theme="dark"] div.nav,
html[data-theme="dark"] div.nav .menu-container,
html[data-theme="dark"] div.nav .menu,
html[data-theme="dark"] div.nav .menu > ul,
html[data-theme="dark"] div.nav .menu > ul > li { background: #202729 !important; }
html[data-theme="dark"] div.nav .menu > ul > li > a { color: #f0eee9 !important; }
html[data-theme="dark"] div.nav .menu ul ul,
html[data-theme="dark"] div.nav .menu ul li ul,
html[data-theme="dark"] div.nav .children { background: #293235 !important; border-color: #485456 !important; }
html[data-theme="dark"] div.nav .menu ul ul li a,
html[data-theme="dark"] div.nav .children li a { color: #f0eee9 !important; background: transparent !important; }
html[data-theme="dark"] div.nav .menu ul ul li a:hover,
html[data-theme="dark"] div.nav .children li a:hover { background: #3b4749 !important; }
html[data-theme="dark"] .wf-consent { background: #283235; border-color: #516063; color: #f0eee9; }
html[data-theme="dark"] .wf-consent a { color: #ffd0b7; }

/* The hero copy remains real HTML, so it is selectable, translatable and crawlable. */
.wf-home-hero { background: #f4f5f1; min-height: 0; overflow: hidden; border-bottom: 1px solid #dfe5e0; }
.wf-home-hero-slide { position: relative; display: flex; align-items: center; min-height: 430px; isolation: isolate; }
.wf-home-hero-slide[hidden] { display: none !important; }
.wf-home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.wf-home-hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(247,249,246,.98) 0%, rgba(247,249,246,.95) 27%, rgba(247,249,246,.68) 45%, rgba(247,249,246,0) 74%); }
.wf-home-hero .container { width: 100%; }
.wf-home-hero-content { position: relative; z-index: 2; max-width: 570px; margin-left: 0; margin-right: auto; padding: 48px 0 66px; direction: rtl; text-align: right; }
.wf-home-hero h1, .wf-home-hero h2 { color: #223635; font-size: clamp(34px, 4vw, 51px); line-height: 1.18; font-weight: 900; margin: 0 0 16px; }
.wf-home-hero p { color: #425652; font-size: 18px; line-height: 1.75; max-width: 510px; }
.wf-home-hero .wf-hero-kicker { background: #edf6ee; border-color: #bfd8c9; color: #1e5242; }
.wf-home-hero .wf-home-trust span { background: rgba(255,255,255,.86); border: 1px solid #cddad2; color: #2c4840; }
.wf-home-hero .wf-home-hero-actions .btn-default { background: #fff !important; border-color: #a9c5b7 !important; color: #234439 !important; }
.wf-home-hero-controls { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.wf-home-hero-controls button { width: 42px; height: 12px; border: 2px solid #315b4d; border-radius: 999px; padding: 0; background: #fff; cursor: pointer; }
.wf-home-hero-controls button[aria-current="true"] { background: #176b4e; }
.wf-home-hero-controls button:focus-visible { outline: 3px solid #e04000; outline-offset: 3px; }

html[data-theme="dark"] .wf-home-hero { background: #192324; border-bottom-color: #384849; }
html[data-theme="dark"] .wf-home-hero-slide::before { background: linear-gradient(90deg, rgba(25,34,36,.98) 0%, rgba(25,34,36,.95) 27%, rgba(25,34,36,.68) 46%, rgba(25,34,36,.05) 78%); }
html[data-theme="dark"] .wf-home-hero h1,
html[data-theme="dark"] .wf-home-hero h2 { color: #f5f5ee; }
html[data-theme="dark"] .wf-home-hero p { color: #d7e2dd; }
html[data-theme="dark"] .wf-home-hero .wf-hero-kicker,
html[data-theme="dark"] .wf-home-hero .wf-home-trust span { background: #2d4540; border-color: #527165; color: #edf8ef; }
html[data-theme="dark"] .wf-home-hero .wf-home-hero-actions .btn-default { background: #293b3a !important; border-color: #729084 !important; color: #f5f5ee !important; }
html[data-theme="dark"] .wf-home-hero-controls button { border-color: #dae9df; background: #293d3a; }
html[data-theme="dark"] .wf-home-hero-controls button[aria-current="true"] { background: #b7dec2; }

@media (max-width: 767px) {
  .wf-home-hero-slide { display: block; min-height: 0; }
  .wf-home-hero-image { height: 250px; object-position: 74% center; }
  .wf-home-hero-slide::before { background: linear-gradient(180deg, rgba(247,249,246,0) 0, rgba(247,249,246,.15) 170px, #f7f9f6 250px, #f7f9f6 100%); }
  .wf-home-hero-content { max-width: none; padding: 268px 0 70px !important; }
  .wf-home-hero h1, .wf-home-hero h2 { font-size: clamp(29px, 7vw, 38px) !important; }
  .wf-home-hero p { font-size: 16px !important; }
  html[data-theme="dark"] .wf-home-hero-slide::before { background: linear-gradient(180deg, rgba(25,34,36,0) 0, rgba(25,34,36,.15) 170px, #192224 250px, #192224 100%); }
}
