/* West East Firewood — small layer on top of Tailwind */
html { scroll-behavior: smooth; }
body { -webkit-tap-highlight-color: transparent; }
main, footer { overflow-x: clip; }
.grid > * { min-width: 0; }
.font-display { font-variation-settings: "opsz" 96; letter-spacing: -0.015em; }

.wood-grain {
  background-color: #F9F5EB;
  background-image: radial-gradient(circle at 20% 20%, rgba(139, 90, 43, .06) 0 2px, transparent 3px),
                    radial-gradient(circle at 70% 60%, rgba(26, 93, 26, .05) 0 2px, transparent 3px);
  background-size: 28px 28px, 36px 36px;
}

/* Option chips (species / split / length) */
.chip { display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid rgba(17,17,17,.15); background: #fff;
  padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; user-select: none; }
.chip:hover { border-color: #8B5A2B; }
input:checked + .chip, .chip[aria-pressed="true"] { background: #1a5d1a; border-color: #1a5d1a; color: #fff; }
input:focus-visible + .chip { outline: 3px solid #c9935c; outline-offset: 2px; }

/* Calendar day buttons at checkout */
.day-btn { border: 1.5px solid rgba(17,17,17,.12); border-radius: 14px; padding: .55rem .25rem; text-align: center; background: #fff; transition: all .15s; }
.day-btn:hover { border-color: #8B5A2B; }
input:checked + .day-btn { background: #1a5d1a; color: #fff; border-color: #1a5d1a; }
input:focus-visible + .day-btn { outline: 3px solid #c9935c; outline-offset: 2px; }

.scroll-snap { scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroll-snap::-webkit-scrollbar { display: none; }
.scroll-snap > * { scroll-snap-align: start; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  transition: all .25s; background: #111; color: #F9F5EB; padding: .85rem 1.1rem; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: flex; gap: .75rem; align-items: center; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(17,17,17,.55); z-index: 50; display: none; align-items: flex-end; justify-content: center; }
.modal-backdrop.open { display: flex; }
@media (min-width: 768px) { .modal-backdrop { align-items: center; padding: 24px; } }

.step-line { position: relative; }
.step-line::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #8B5A2B 0 8px, transparent 8px 14px); }

.leaflet-container { font: inherit; }
.num-pin { background: #1a5d1a; color: #fff; border: 2px solid #fff; border-radius: 999px; width: 28px !important; height: 28px !important;
  display: grid !important; place-items: center; font-weight: 700; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.num-pin.depot { background: #8B5A2B; }

/* WhatsApp floating button (bottom-right, every page) */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 9999; transition: transform .15s; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: wa-pulse 2s ease-out infinite; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: #111; color: #fff;
  font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 8px; opacity: 0; pointer-events: none; transition: all .15s; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.wa-tip::after { content: ""; position: absolute; right: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right: 0; border-left-color: #111; }
.whatsapp-float:hover .wa-tip, .whatsapp-float:focus-visible .wa-tip { opacity: 1; transform: translateY(-50%); }

/* Live chat bubble (bottom-left) + panel */
.chat-float { position: fixed; bottom: 25px; left: 25px; width: 60px; height: 60px; border-radius: 50%; background: #1a5d1a; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 9998; transition: transform .15s; }
.chat-float:hover { transform: scale(1.07); }
.chat-float:focus-visible { outline: 3px solid #c9935c; outline-offset: 3px; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #f59e0b; border: 2px solid #fff; }
.chat-panel { position: fixed; left: 25px; bottom: 97px; width: 360px; max-width: calc(100vw - 40px); max-height: min(560px, calc(100vh - 130px));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.3); z-index: 9998; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem; background: #1a5d1a; color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; background: #F9F5EB; min-height: 140px; }
.chat-msg { max-width: 85%; padding: .6rem .85rem; border-radius: 16px; font-size: 14.5px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.chat-msg.them { background: #fff; border: 1px solid rgba(0,0,0,.06); border-top-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: #1a5d1a; color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.chat-msg small { display: block; font-size: 11px; opacity: .6; margin-top: 2px; }
.chat-form { padding: .7rem; border-top: 1px solid rgba(0,0,0,.08); background: #fff; }
.chat-input { width: 100%; border: 1px solid rgba(0,0,0,.15); border-radius: 12px; padding: .5rem .7rem; font-size: 14px; }
.chat-input:focus { outline: none; border-color: #1a5d1a; box-shadow: 0 0 0 2px rgba(26,93,26,.15); }
@media (max-width: 640px) {
  .whatsapp-float { bottom: 18px; right: 16px; width: 54px; height: 54px; }
  .chat-float { bottom: 18px; left: 16px; width: 54px; height: 54px; }
  .chat-panel { left: 12px; right: 12px; width: auto; max-width: none; bottom: 90px; }
  .wa-tip { display: none; }
  .toast { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }

/* ───── Luxury layer: gold accents, hero, route card, trust bar ───── */
.text-gold { color: #e9c46a; }
.text-gold-dark { color: #a8792a; }
.btn-lux { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 600; color: #1b1407;
  background: linear-gradient(135deg, #f6dd94, #e9c46a 45%, #c99a3c); box-shadow: 0 12px 30px rgba(201,154,60,.35), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .15s, box-shadow .15s; }
.btn-lux:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(201,154,60,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.hero-lux { perspective: 1200px; }
/* The truck sits in the right ~68% on desktop so the headline never covers the door badge; full-bleed + darker on phones. */
.hero-lux picture { position: absolute; inset: 0; overflow: hidden; }
.hero-lux__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.04); transition: transform .4s ease-out; will-change: transform; }
.hero-lux__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,14,8,.9), rgba(8,14,8,.55) 55%, rgba(8,14,8,.35)); }
@media (min-width: 1024px) {
  .hero-lux picture { left: 32%; }
  .hero-lux__shade { background: linear-gradient(90deg, #0b130b 0%, #0b130b 32%, rgba(11,19,11,.55) 40%, rgba(11,19,11,0) 56%), linear-gradient(0deg, rgba(11,19,11,.85), transparent 30%); }
}
.hero-copy { position: relative; z-index: 3; }
.route-wrap { position: relative; z-index: 5; max-width: 80rem; margin: -7.5rem auto 0; padding: 0 1rem; perspective: 1400px; }
.route-card.route-card--wide { display: grid; gap: 1.25rem; background: linear-gradient(160deg, rgba(20,34,20,.96), rgba(10,18,10,.97)); border-color: rgba(233,196,106,.35); color: #fff;
  box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(233,196,106,.15), inset 0 1px 0 rgba(255,255,255,.12); transform: rotateX(4deg); transform-origin: 50% 0; }
@media (min-width: 768px) { .route-card.route-card--wide { grid-template-columns: 1.15fr 1fr; padding: 1.5rem 1.75rem; } }
.hero-title { text-shadow: 0 6px 30px rgba(0,0,0,.45); letter-spacing: -.02em; }
.route-card { position: relative; border-radius: 26px; padding: 1.25rem; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25); transform-style: preserve-3d; }
.route-stage { position: relative; margin-top: .9rem; perspective: 700px; }
.route-plane { width: 100%; height: auto; transform: rotateX(28deg); transform-origin: 50% 100%; filter: drop-shadow(0 18px 18px rgba(0,0,0,.45)); border-radius: 18px; background: rgba(10,30,12,.55); }
.route-line { stroke-dasharray: 10 9; animation: route-dash 1.2s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -19; } }
.route-label { position: absolute; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; white-space: nowrap; }
.route-tier { display: flex; justify-content: space-between; gap: .5rem; border-radius: 12px; padding: .45rem .7rem; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); }
.route-tier b { color: #e9c46a; }
.trust-lux { background: linear-gradient(90deg, #0f2f10, #1a5d1a 50%, #0f2f10); color: #fff; border-top: 1px solid rgba(233,196,106,.35); border-bottom: 1px solid rgba(233,196,106,.35); }
.trust-ico { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 999px; color: #1b1407; background: linear-gradient(135deg, #f6dd94, #c99a3c); box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* 3D tilt with a soft glare that follows the pointer */
[data-tilt] { transition: transform .25s ease-out, box-shadow .25s; transform-style: preserve-3d; position: relative; }
[data-tilt].is-tilting { transition: transform .06s linear, box-shadow .25s; box-shadow: 0 28px 50px rgba(0,0,0,.18); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 45%); }
[data-tilt].is-tilting::after { opacity: 1; }

/* Yard reels */
.reel { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 9 / 14; box-shadow: 0 20px 40px rgba(0,0,0,.45); cursor: pointer; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); pointer-events: none; }
.reel::before { content: "▶"; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: #111; font-size: 20px; pointer-events: none; transition: opacity .2s; }
.reel.playing::before { opacity: 0; }

/* FAQ accordion */
.faq-lux { border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.faq-lux summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq-lux summary::-webkit-details-marker { display: none; }
.faq-lux summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: #a8792a; transition: transform .2s; }
.faq-lux[open] summary::after { transform: rotate(45deg); }
.faq-lux p { padding: 0 1.25rem 1.2rem; color: rgba(0,0,0,.7); }

/* Sticky add-to-cart (product pages) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -10px 30px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .25s ease-out; }
.sticky-buy.show { transform: none; }
.has-sticky-buy .whatsapp-float, .has-sticky-buy .chat-float { bottom: 96px; }
.has-sticky-buy .chat-panel { bottom: 168px; }

/* Checkout progress + payment badges */
.co-steps { display: flex; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 600; }
.co-steps li { display: flex; align-items: center; gap: .45rem; color: rgba(0,0,0,.45); }
.co-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; border: 2px solid currentColor; font-size: .75rem; }
.co-steps li.done, .co-steps li.on { color: #1a5d1a; }
.co-steps li.done span { background: #1a5d1a; color: #fff; border-color: #1a5d1a; }
.co-steps .bar { flex: 1; height: 2px; min-width: 18px; background: rgba(0,0,0,.12); }
.co-steps .bar.done { background: #1a5d1a; }
.pay-badge { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 .55rem; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }

/* ───── Seasonal themes (Admin › Settings › Branding) ───── */
.season-canvas { position: fixed; inset: 0; z-index: 35; pointer-events: none; }
.season-ribbon { color: #fff; position: relative; overflow: hidden; }
.season-ribbon--winter { background: linear-gradient(90deg, #5b0f14, #8e1b22 50%, #5b0f14); border-bottom: 1px solid rgba(233,196,106,.5); }
.season-ribbon--fall { background: linear-gradient(90deg, #4a1d06, #8a3a0c 50%, #4a1d06); border-bottom: 1px solid rgba(233,196,106,.5); }
.season-ribbon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); transform: translateX(-100%); animation: ribbon-shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes ribbon-shine { 60%, 100% { transform: translateX(100%); } }
.gold-badge { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .25rem .8rem; font-weight: 700; font-size: .8rem; color: #1b1407;
  background: linear-gradient(135deg, #f6dd94, #e9c46a 45%, #c99a3c); box-shadow: 0 2px 10px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6); }
.season-pumpkin { position: absolute; left: -2px; bottom: -2px; width: 17px; height: 17px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); animation: pk-bob 3s ease-in-out infinite; }
@keyframes pk-bob { 50% { transform: translateY(-2px) rotate(-6deg); } }
.season-section--winter { background: radial-gradient(1200px 400px at 50% 0, #fff6f0, #F9F5EB); border-bottom: 1px solid rgba(142,27,34,.1); }
.season-section--fall { background: radial-gradient(1200px 400px at 50% 0, #fff1e2, #F9F5EB); border-bottom: 1px solid rgba(138,58,12,.1); }
.season-section--none { background: #fff; }
.hero-glow { position: absolute; inset: auto -10% -30% -10%; height: 70%; pointer-events: none; mix-blend-mode: screen; animation: glow-breathe 5s ease-in-out infinite; }
.hero-glow--winter { background: radial-gradient(60% 60% at 30% 100%, rgba(255,170,80,.35), transparent 70%); }
.hero-glow--fall { background: radial-gradient(60% 60% at 30% 100%, rgba(255,120,30,.42), transparent 70%); }
@keyframes glow-breathe { 50% { opacity: .65; } }
.fall-fog { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 25% at 20% 85%, rgba(255,255,255,.18), transparent 70%), radial-gradient(35% 22% at 70% 90%, rgba(255,255,255,.14), transparent 70%);
  animation: fog-drift 18s ease-in-out infinite alternate; }
@keyframes fog-drift { to { transform: translateX(6%); } }
/* String of warm lights along the top of the hero (winter) */
.xmas-lights { position: absolute; z-index: 2; top: -6px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 1%; pointer-events: none; }
.xmas-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 22px; border-bottom: 2px solid rgba(20,30,20,.85); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.xmas-lights li { position: relative; width: 11px; height: 17px; margin-top: 18px; border-radius: 50% 50% 45% 45%; background: #ffd27a; box-shadow: 0 2px 18px 4px rgba(255,190,90,.75); animation: bulb 2.4s ease-in-out infinite; }
.xmas-lights li:nth-child(3n+2) { background: #ff6b6b; box-shadow: 0 2px 18px 4px rgba(255,90,90,.7); animation-delay: .8s; }
.xmas-lights li:nth-child(3n) { background: #fff3c4; box-shadow: 0 2px 18px 4px rgba(255,240,190,.7); animation-delay: 1.6s; }
.xmas-lights li:nth-child(odd) { margin-top: 24px; }
.xmas-lights li::before { content: ""; position: absolute; top: -5px; left: 3px; width: 5px; height: 6px; border-radius: 2px; background: #2a3a2a; }
@keyframes bulb { 50% { opacity: .55; box-shadow: 0 2px 8px 1px rgba(255,190,90,.4); } }
@media (max-width: 640px) { .xmas-lights li:nth-child(n+15) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .route-line, .season-ribbon::after, .season-pumpkin, .hero-glow, .fall-fog, .xmas-lights li { animation: none !important; }
  [data-tilt], .hero-lux__img { transition: none; transform: none !important; }
}

/* USA delivery tier tile map */
.us-map { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.us-map .st { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: clamp(9px, 1.5vw, 14px); color: #fff; }

@media print {
  .no-print, .whatsapp-float, .chat-float, .chat-panel { display: none !important; }
  body { background: #fff !important; }
}
