/* The Zen Woodcrafts: base styles and hover states. Layout and spacing are inline in the Blade
   views, ported from the design handoff (design/*.dc.html). Tokens:
   cream #faf6f0 · sand #f2e9dd · placeholder #efe5d8 · line #e8dfd3 · ink #2a2420 · muted #6e645b
   body-2 #4a4038 · bark #2a1c13 · wood #b36a26 · wood-dark #8f511a · wood-light #e3a75e */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#faf6f0;color:#2a2420;font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#b36a26;text-decoration:none}
a:hover{color:#8f511a}
h1,h2,h3,p{margin:0}
button,input,select,textarea{font-family:inherit}
input:focus,select:focus,textarea:focus{border-color:#b36a26 !important;outline:none}
[x-cloak]{display:none !important}
img{max-width:100%}

/* Hover states (the prototypes' style-hover attributes) */
.zw-nav a{color:#2a2420}
.zw-nav a:hover{color:#b36a26}
.zw-nav::-webkit-scrollbar{display:none}
.zw-btn{background:#b36a26;color:#fff}
.zw-btn:hover{background:#8f511a;color:#fff}
.zw-btn-ghost:hover{background:#faf6f0 !important;color:#2a1c13 !important}
.zw-btn-line:hover{background:#b36a26 !important;color:#fff !important}
.zw-card:hover{box-shadow:0 8px 24px rgba(42,28,19,.12) !important;color:#2a2420}
.zw-card-b:hover{border-color:#b36a26 !important;color:#2a2420}
.zw-dashed:hover{border-color:#b36a26 !important;background:#fff;color:#2a2420}
.zw-gold:hover{background:linear-gradient(180deg,#ebc27c,#c9944a) !important;color:#2a1c13 !important}
.zw-wa:hover{background:rgba(250,246,240,.08);color:#faf6f0}
.zw-foot a:hover{color:#e3a75e !important}
.zw-top:hover{background:#8f511a !important}
.zw-legal-nav a:hover{background:#f2e9dd !important;color:#2a2420 !important}
.zw-paypal:hover{background:#f2b92f !important}
.zw-plain:hover{color:#2a2420}

/* Small screens */
@media (max-width:720px){
  .zw-wrap{padding-left:16px !important;padding-right:16px !important}
  .zw-hero-text{max-width:100% !important}
  .zw-hero-pill{display:none}
  .zw-topbar-text{display:none}
  .zw-header-quote{padding:8px 12px !important;font-size:13px !important}
  .zw-brand-text{display:none}
  .zw-opt{grid-template-columns:96px 1fr !important;gap:16px !important}
  .zw-opt img{width:96px !important;height:96px !important}
  .zw-foot-bottom{flex-wrap:wrap;gap:16px}
  .zw-foot-bottom nav{margin-left:0 !important}
  .zw-legal-nav{position:static !important;flex:1 1 100% !important}
  .zw-track span{font-size:10px !important}
  h2.zw-h2{font-size:28px !important}
}
.zw-hide{display:none !important}

/* Footer (wooden banner design) */
.zw-foot-col{border-left:1px solid rgba(217,163,94,.35);padding-left:36px;min-width:0}
.zw-foot-legal a:first-child{border-left:none !important}
@media (max-width:1100px){
  .zw-foot-grid{grid-template-columns:1fr 1fr !important}
  .zw-foot-col{border-left:none;padding-left:0}
}
@media (max-width:720px){
  .zw-foot-grid{grid-template-columns:1fr !important;padding-top:48px !important}
  .zw-foot-legal{margin-left:0 !important}
  .zw-foot-legal a{padding:2px 10px !important}
  .zw-foot-legal a:first-child{padding-left:0 !important}
  .zw-foot{background-image:linear-gradient(rgba(24,13,7,.8),rgba(24,13,7,.8)),url(../img/footer-bg.webp) !important;background-position:center !important}
}

/* How It Works: hover lift, gold ring, image zoom, number pop */
.zw-step{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.zw-step-img{transition:box-shadow .35s ease,border-color .35s ease}
.zw-step-img img{transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.zw-step-num{transition:transform .35s cubic-bezier(.3,1.6,.5,1),background-color .35s ease}
.zw-step h3{transition:color .3s ease}
.zw-step:hover{transform:translateY(-6px)}
.zw-step:hover .zw-step-img{border-color:#d9a35e !important;box-shadow:0 0 0 4px rgba(217,163,94,.35),0 14px 28px rgba(90,46,26,.22)}
.zw-step:hover .zw-step-img img{transform:scale(1.12) rotate(-2deg)}
.zw-step:hover .zw-step-num{transform:scale(1.18) rotate(-12deg);background-color:#8e4f17 !important}
.zw-step:hover h3{color:#b36a26}
@media (prefers-reduced-motion: reduce){
  .zw-step,.zw-step-img img,.zw-step-num{transition:none}
  .zw-step:hover,.zw-step:hover .zw-step-img img,.zw-step:hover .zw-step-num{transform:none}
}

/* Why order from us: same hover as How It Works; the icon circle pops instead of a photo zoom */
.zw-why .zw-step-img{transition:box-shadow .35s ease,border-color .35s ease,transform .35s cubic-bezier(.3,1.6,.5,1),background-color .35s ease}
.zw-why:hover .zw-step-img{transform:scale(1.1) rotate(-8deg);background-color:#fff !important}
@media (prefers-reduced-motion: reduce){.zw-why .zw-step-img{transition:none}.zw-why:hover .zw-step-img{transform:none}}

/* Floating WhatsApp (glowing) above the back-to-top button */
.zw-float{position:fixed;right:22px;bottom:22px;z-index:60;display:flex;flex-direction:column;align-items:center;gap:12px}
.zw-wa{position:relative;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff !important;display:grid;place-items:center;box-shadow:0 6px 18px rgba(37,211,102,.45);animation:zw-wa-glow 2.4s ease-in-out infinite;transition:transform .25s ease}
.zw-wa::before{content:"";position:absolute;inset:0;border-radius:50%;background:#25d366;z-index:-1;animation:zw-wa-ring 2.4s ease-out infinite}
.zw-wa:hover{transform:scale(1.08)}
@keyframes zw-wa-glow{0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.55),0 6px 18px rgba(37,211,102,.4)}50%{box-shadow:0 0 22px 6px rgba(37,211,102,.55),0 6px 18px rgba(37,211,102,.4)}}
@keyframes zw-wa-ring{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.7);opacity:0}}
.zw-top{width:46px;height:46px;border:none;border-radius:50%;background:#b07a3c;color:#fff;font-size:20px;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.3);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease,visibility .3s,background-color .2s}
.zw-top.is-on{opacity:1;visibility:visible;transform:none}
@media (max-width:720px){.zw-float{right:14px;bottom:14px}.zw-wa{width:52px;height:52px}.zw-top{width:42px;height:42px}}
@media (prefers-reduced-motion: reduce){.zw-wa,.zw-wa::before{animation:none}}

/* How It Works illustrated icons: lift with a warm drop shadow instead of the photo ring */
.zw-step-icon img{transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .35s ease}
.zw-step:hover .zw-step-icon img{transform:scale(1.08) rotate(-3deg);filter:drop-shadow(0 12px 16px rgba(90,46,26,.25))}
@media (prefers-reduced-motion: reduce){.zw-step-icon img{transition:none}.zw-step:hover .zw-step-icon img{transform:none}}

/* Legal and other CMS rich text */
.zw-prose{font-size:15px;line-height:1.7;color:#4a4038}
.zw-prose>p:first-child{font-size:17px;line-height:1.65}
.zw-prose p{margin:8px 0 0;text-wrap:pretty}
.zw-prose h2{margin-top:28px;font-family:'Libre Baskerville',serif;font-weight:400;font-size:20px;color:#2a2420}
.zw-prose h3{margin-top:22px;font-family:'Libre Baskerville',serif;font-weight:400;font-size:17px;color:#2a2420}
.zw-prose ul,.zw-prose ol{margin:8px 0 0;padding-left:22px}
.zw-prose li{margin-top:4px}
.zw-prose a{color:#b36a26;text-decoration:underline}

/* Portfolio: category chips, card hover and photo viewer */
.zw-chip{cursor:pointer;font:600 12px 'DM Sans',sans-serif;padding:8px 14px;border-radius:8px;border:1px solid #e8dfd3;background:#fff;color:#2a2420;transition:background .2s,color .2s,border-color .2s}
.zw-chip:hover{border-color:#b36a26}
.zw-chip.is-on{background:#8f511a;border-color:#8f511a;color:#fff}
.zw-pf img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.zw-pf:hover img{transform:scale(1.04)}
.zw-lb{position:fixed;inset:0;z-index:80;background:rgba(24,13,7,.82);display:grid;place-items:center;padding:24px}
.zw-lb-box{position:relative;width:min(1100px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#faf6f0;border-radius:14px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.zw-lb-img{position:relative;background:#efe5d8;display:grid;place-items:center;min-height:320px}
.zw-lb-img img{width:100%;max-height:calc(100vh - 48px);object-fit:contain;display:block}
.zw-lb-info{padding:32px}
.zw-lb-x{position:absolute;right:10px;top:10px;z-index:2;cursor:pointer;width:38px;height:38px;border-radius:50%;border:none;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:22px;line-height:1;color:#2a2420}
.zw-lb-nav{position:absolute;top:50%;transform:translateY(-50%);cursor:pointer;width:40px;height:40px;border-radius:50%;border:none;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:20px;color:#2a2420}
@media (max-width:760px){.zw-lb{padding:12px}.zw-lb-box{grid-template-columns:1fr;max-height:calc(100vh - 24px)}.zw-lb-img img{max-height:60vh}.zw-lb-info{padding:20px}}
@media (max-width:760px){.zw-chips{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px}.zw-chips::-webkit-scrollbar{display:none}.zw-chip{white-space:nowrap;flex-shrink:0}}

/* Mobile header menu */
.zw-burger{display:none;cursor:pointer;width:42px;height:42px;border:1px solid #e8dfd3;border-radius:8px;background:#fff;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.zw-burger span{display:block;width:18px;height:2px;border-radius:2px;background:#2a2420;transition:transform .25s,opacity .2s}
.zw-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.zw-burger.is-open span:nth-child(2){opacity:0}
.zw-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.zw-menu{display:none}
.zw-nav a[aria-current="page"]{color:#b36a26}
@media (max-width:900px){
  .zw-nav{display:none !important}
  .zw-burger{display:flex}
  .zw-menu{display:block;position:absolute;left:0;right:0;top:100%;background:#faf6f0;border-bottom:1px solid #e8dfd3;box-shadow:0 18px 30px rgba(42,28,19,.15);max-height:0;overflow:hidden;visibility:hidden;transition:max-height .3s ease,visibility .3s}
  .zw-menu.is-open{max-height:calc(100vh - 72px);overflow-y:auto;visibility:visible}
  .zw-menu nav{display:flex;flex-direction:column;padding-top:8px;padding-bottom:20px;max-width:1280px;margin:0 auto;padding-left:32px;padding-right:32px}
  .zw-menu nav>a:not(.zw-menu-cta):not(.zw-menu-wa){display:flex;justify-content:space-between;align-items:center;padding:14px 2px;border-bottom:1px solid #eadfd1;font-size:17px;font-weight:500;color:#2a2420}
  .zw-menu nav>a span{color:#b36a26;font-size:22px;line-height:1}
  .zw-menu-cta{margin-top:18px;text-align:center;padding:14px;border-radius:8px;font-size:15px;font-weight:600}
  .zw-menu-wa{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;color:#2a2420}
}

/* Mobile layouts: swipe carousels for card rows, two columns for lists and points */
@media (max-width:720px){
  .zw-swipe{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;gap:14px !important;margin-left:-16px;margin-right:-16px;padding:4px 16px 14px;scroll-padding:0 16px;scrollbar-width:none}
  .zw-swipe::-webkit-scrollbar{display:none}
  .zw-swipe>*{flex:0 0 78%;min-width:0;scroll-snap-align:start;margin-bottom:0 !important}
  .zw-swipe-sm>*{flex-basis:44%}
  .zw-swipe-price>*{flex-direction:column;align-items:flex-start !important;gap:14px !important;padding:18px !important}
  .zw-swipe-price>* img{width:100% !important;height:auto !important;aspect-ratio:4/3}
  .zw-dots{display:flex;justify-content:center;gap:6px;margin-top:4px}
  .zw-dots i{width:6px;height:6px;border-radius:50%;background:#d9cbb9;transition:width .25s,background .25s}
  .zw-dots i.on{width:18px;border-radius:3px;background:#b36a26}

  .zw-g2{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;columns:2 !important;column-gap:12px !important}
  .zw-g2[style*="columns"]{display:block}
  .zw-g2[style*="columns"]{display:grid !important;align-items:start}
  .zw-g2[style*="columns"]>*{margin-bottom:0 !important}
  .zw-g2>.zw-card h3,.zw-g2>.zw-card h2,.zw-g2 figcaption h2{font-size:14px !important}
  .zw-g2>.zw-card>div[style*="padding:16px"],.zw-g2 figcaption,.zw-g2>a>div[style*="padding:14px"]{padding:10px 12px !important}
  .zw-g2>.zw-card p{font-size:12px !important}
  .zw-steps>:last-child:nth-child(odd),.zw-points>:last-child:nth-child(odd){grid-column:1/-1}
  .zw-g2>.zw-card>div>div[style*="margin-top:auto"]{flex-direction:column;align-items:flex-start !important;gap:2px;padding-top:10px !important}
  .zw-g2>.zw-card>div>div[style*="margin-top:auto"] span:first-child{font-size:14px}

  .zw-steps{gap:28px 12px !important}
  .zw-steps .zw-step-icon{width:110px !important;height:110px !important}
  .zw-steps h3{font-size:15px !important}
  .zw-steps p{font-size:13px !important}
  .zw-points{gap:20px 12px !important}
  .zw-points>*{flex-direction:column;align-items:center !important;text-align:center;gap:10px !important;padding:0 !important}
  .zw-points>* > span:first-child{width:52px !important;height:52px !important;font-size:19px !important}
  .zw-g3s{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px 10px !important;padding-top:32px !important;padding-bottom:32px !important}
  .zw-g3s>*{flex-direction:column;align-items:center !important;text-align:center;gap:8px !important}
  .zw-g3s>* > span:first-child{width:48px !important;height:48px !important;font-size:18px !important}
  .zw-g3s h3{font-size:13px !important}
  .zw-g3s p{font-size:11.5px !important}
  .zw-badges{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px !important;margin-top:36px !important}
  .zw-badges>*{flex-direction:column;text-align:center;gap:8px !important;font-size:12px !important;max-width:none !important}
}
@media (max-width:760px){.zw-chips>*{flex-shrink:0;white-space:nowrap}}
@media (max-width:720px){
  .zw-foot-grid{grid-template-columns:1fr 1fr !important;gap:32px 20px !important}
  .zw-foot-grid>:first-child,.zw-foot-grid>:last-child{grid-column:1/-1}
}

/* Category (product) page on phones */
@media (max-width:720px){
  .zw-hide-m{display:none !important}
  .zw-viewer-note{display:none !important}
  .zw-thumbs{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;gap:8px !important;padding:3px 2px 6px}
  .zw-thumbs::-webkit-scrollbar{display:none}
  .zw-thumbs>button{flex:0 0 64px;width:64px !important;height:64px !important}
  .zw-perks{gap:16px 10px !important;padding:16px !important}
  .zw-perks>*{gap:8px !important}
  .zw-perks span[style*="width:40px"]{width:32px !important;height:32px !important;font-size:13px !important}
  .zw-perks h3{font-size:13px !important}
  .zw-perks p{font-size:11px !important}
  .zw-clamp3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}
