*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--bf-font-body); color: var(--bf-ink); background: var(--bf-cream); margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--bf-green-700); text-decoration: none; }
a:hover { color: var(--bf-orange-600); }
h1, h2, h3, h4 { font-family: var(--bf-font-head); font-weight: 700; color: var(--bf-green-900); line-height: 1.15; }
.script { font-family: var(--bf-font-script); font-weight: 700; color: var(--bf-orange-500); letter-spacing: .5px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 600; color: var(--bf-green-500); display: block; margin-bottom: .6rem; }
.section { padding: 4.5rem 0; position: relative; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--bf-muted); max-width: 560px; margin: .6rem auto 0; }
.text-orange { color: var(--bf-orange-500) !important; }

/* Buttons */
.btn-bf, .btn-bf-outline { border-radius: 999px; font-weight: 600; padding: .75rem 1.6rem; border: 2px solid var(--bf-green-700); transition: transform .25s, box-shadow .25s, background .25s, color .25s; display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; cursor: pointer; }
.btn-bf { background: var(--bf-green-700); color: #fff; }
.btn-bf:hover { background: var(--bf-green-900); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31, 91, 46, .28); }
.btn-bf i { transition: transform .25s; }
.btn-bf:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-bf-outline { background: transparent; color: var(--bf-green-700); }
.btn-bf-outline:hover { background: var(--bf-green-700); color: #fff; transform: translateY(-2px); }
.btn-orange { background: var(--bf-orange-500); border-color: var(--bf-orange-500); color: #fff; }
.btn-orange:hover { background: var(--bf-orange-600); border-color: var(--bf-orange-600); }
.btn-bf:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.topbar { background: var(--bf-green-900); color: #dfe9d9; font-size: .8rem; padding: .4rem 0; }
.topbar a { color: #dfe9d9; }
.site-header { background: rgba(255, 250, 240, .92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--bf-line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.site-header .brand img { height: 52px; width: auto; }
.nav-link-bf { color: var(--bf-ink); font-weight: 500; font-size: .92rem; padding: .4rem .2rem; position: relative; }
.nav-link-bf::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--bf-orange-500); transition: width .25s; }
.nav-link-bf:hover::after, .nav-link-bf.active::after { width: 100%; }
.icon-btn { background: none; border: 0; color: var(--bf-ink); font-size: 1.15rem; position: relative; padding: .4rem .55rem; }
.cart-badge { position: absolute; top: -2px; right: -4px; background: var(--bf-orange-500); color: #fff; border-radius: 999px; font-size: .65rem; min-width: 18px; height: 18px; display: grid; place-items: center; font-weight: 700; }
.cart-badge:empty, .cart-badge[data-n="0"] { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 20%, var(--bf-orange-100), transparent 60%), linear-gradient(180deg, #f6fbf1, var(--bf-cream)); padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 1rem; }
.hero h1 .script { font-size: 1.15em; display: block; }
.hero p.lead { color: var(--bf-muted); max-width: 460px; }
.hero-art { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--bf-shadow); aspect-ratio: 16/10; background: #fff; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-badge { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, .92); border-radius: 14px; padding: .6rem 1rem; box-shadow: var(--bf-shadow); font-size: .85rem; }
.hero-note { position: absolute; top: 1rem; right: 1.2rem; transform: rotate(-4deg); font-size: 1.5rem; line-height: 1.1; text-align: center; text-shadow: 0 2px 0 #fff; }
.hero-dots { display: flex; gap: .4rem; margin-top: 1.5rem; }
.hero-dots span { width: 28px; height: 4px; border-radius: 4px; background: var(--bf-line); }
.hero-dots span.on { background: var(--bf-orange-500); }

/* Trust strip */
.trust { background: #fff; border-block: 1px solid var(--bf-line); }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.1rem .5rem; }
.trust-item .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--bf-green-100); color: var(--bf-green-700); display: grid; place-items: center; font-size: 1.15rem; flex: none; transition: transform .3s, background .3s, color .3s; }
.trust-item:hover .ico { transform: rotate(-8deg) scale(1.08); background: var(--bf-green-700); color: #fff; }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { font-size: .8rem; color: var(--bf-muted); }

/* Product cards */
.p-card { background: #fff; border-radius: var(--bf-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .05); height: 100%; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; border: 1px solid var(--bf-line); }
.p-card:hover { transform: translateY(-8px); box-shadow: var(--bf-shadow); }
.p-card .media { position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, #fff7e4, #f4f9ee); display: grid; place-items: center; overflow: hidden; }
.p-card .media img { max-height: 92%; object-fit: contain; transition: transform .5s; }
.p-card:hover .media img { transform: scale(1.07) rotate(-1.5deg); }
.p-tag { position: absolute; top: 12px; left: 12px; background: var(--bf-orange-500); color: #fff; padding: .2rem .8rem; border-radius: 6px; font-size: .72rem; font-weight: 600; }
.p-tag.soon { background: var(--bf-green-700); }
.p-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { font-size: 1.15rem; margin: 0 0 .25rem; font-family: var(--bf-font-body); font-weight: 600; }
.p-desc { color: var(--bf-muted); font-size: .85rem; flex: 1; }
.price { font-weight: 700; color: var(--bf-green-900); }
.price small { font-weight: 400; color: var(--bf-muted); }
.price del { color: var(--bf-muted); font-weight: 400; font-size: .85em; margin-left: .3rem; }

/* Story band */
.story { background: linear-gradient(100deg, #e8f3df 0%, #f4f9ee 55%, #fffaf0 100%); overflow: hidden; }
.story-img { position: relative; }
.story-img img { border-radius: 24px; box-shadow: var(--bf-shadow); width: 100%; object-fit: cover; max-height: 460px; }
.story-chip { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; font-size: .8rem; font-weight: 500; }
.story-chip .ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--bf-green-700); font-size: 1.3rem; box-shadow: 0 6px 16px rgba(0,0,0,.07); transition: transform .3s; }
.story-chip:hover .ico { transform: translateY(-5px); }

/* Recipes / reels */
.tile { position: relative; border-radius: var(--bf-radius); overflow: hidden; aspect-ratio: 1; display: block; background: var(--bf-green-100); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img, .tile:hover video { transform: scale(1.08); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 55%); }
.tile .cap { position: absolute; left: 1rem; bottom: .8rem; z-index: 2; color: #fff; font-weight: 600; font-size: .95rem; }
.tile .play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--bf-green-900); display: grid; place-items: center; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--bf-line); border-radius: var(--bf-radius); padding: 1.4rem; height: 100%; }
.review .st { color: var(--bf-orange-500); font-size: .85rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bf-green-700); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.review-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: thin; }
.review-track > * { flex: 0 0 min(360px, 85%); scroll-snap-align: start; }

/* Newsletter */
.newsletter { background: linear-gradient(110deg, var(--bf-green-900), var(--bf-green-700)); color: #fff; border-radius: 28px; padding: 2.6rem; position: relative; overflow: hidden; }
.newsletter h2, .newsletter h3 { color: #fff; }
.newsletter::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 138, 28, .55), transparent 70%); }
.newsletter .form-control { border-radius: 999px 0 0 999px; border: 0; padding: .8rem 1.3rem; }
.newsletter .btn-orange { border-radius: 0 999px 999px 0; }

/* Footer */
.site-footer { background: var(--bf-green-900); color: #cfdcc8; padding: 3.5rem 0 1.2rem; margin-top: 4rem; }
.site-footer h5, .site-footer h3.h5 { color: #fff; font-family: var(--bf-font-body); font-size: 1rem; font-weight: 600; }
.site-footer a { color: #cfdcc8; font-size: .9rem; }
.site-footer a:hover { color: var(--bf-orange-500); }
.site-footer ul { list-style: none; padding: 0; } .site-footer li { margin-bottom: .45rem; }
.footer-logo { background: #fff; padding: .5rem .8rem; border-radius: 12px; display: inline-block; }
.footer-logo img { height: 44px; }

/* Page hero / breadcrumbs */
.page-hero { background: linear-gradient(120deg, #e8f3df, #fff3dc); padding: 2.6rem 0; text-align: center; border-bottom: 1px solid var(--bf-line); }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }

/* Product page */
.gallery-main { background: linear-gradient(160deg, #fff7e4, #f4f9ee); border-radius: var(--bf-radius); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--bf-line); overflow: hidden; }
.gallery-main img { max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; background: #fff; }
.thumbs img.on { border-color: var(--bf-orange-500); }
.variant-btn { border: 2px solid var(--bf-line); background: #fff; border-radius: 12px; padding: .55rem 1rem; font-size: .9rem; font-weight: 500; transition: all .2s; cursor: pointer; text-align: left; }
.variant-btn:hover { border-color: var(--bf-green-500); }
.variant-btn.on { border-color: var(--bf-green-700); background: var(--bf-green-100); }
.variant-btn[disabled] { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--bf-line); border-radius: 999px; background: #fff; }
.qty button { background: none; border: 0; width: 38px; height: 38px; font-size: 1.1rem; color: var(--bf-green-700); }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 600; background: transparent; }
.rich p { margin-bottom: .9rem; } .rich ul { padding-left: 1.2rem; } .rich img { border-radius: 14px; }

/* Cart & checkout */
.box { background: #fff; border: 1px solid var(--bf-line); border-radius: var(--bf-radius); padding: 1.4rem; }
.cart-line { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--bf-line); }
.cart-line:last-child { border: 0; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: var(--bf-orange-100); border-radius: 12px; flex: none; }
.pay-opt { border: 2px solid var(--bf-line); border-radius: 14px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; cursor: pointer; transition: border .2s, background .2s; }
.pay-opt:has(input:checked) { border-color: var(--bf-green-700); background: var(--bf-green-100); }
.form-control, .form-select { border-radius: 12px; border-color: var(--bf-line); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--bf-green-500); box-shadow: 0 0 0 .2rem rgba(63, 138, 75, .15); }

/* Toast */
.bf-toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; width: calc(100% - 32px); }
.bf-toast { background: #1d2b1f; color: #fff; padding: .8rem 1.4rem; border-radius: 999px; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: toastIn .35s ease; max-width: 520px; text-align: center; }
.bf-toast.err { background: #8f2a1d; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.reveal.left { transform: translateX(-34px); } .reveal.right { transform: translateX(34px); }
.reveal.in { opacity: 1; transform: none; }
.float-y { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-y { animation: none; } html { scroll-behavior: auto; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; z-index: 1020; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .25s; }
.wa-float:hover { color: #fff; transform: scale(1.1); }

@media (max-width: 767px) { .section { padding: 3rem 0; } .newsletter { padding: 1.8rem 1.3rem; } .hero { padding-top: 1.6rem; } .hero-note { font-size: 1.1rem; } }
