/* === Fuzzviva store — regenerated to fix structure === */
:root {
  --brand: #c2410c;
  --brand-dark: #9a3412;
  --green: #287a45;
  --green-dark: #185a32;
  --orange: #f5a623;
  --cream: #f6f8f1;
  --ink: #173124;
}

body { min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: #fff; }
main.container { flex: 1; padding-top: 1.5rem; }
.container { max-width: 1240px; }

.brand, .brand:hover { color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-logo { width: auto; height: 38px; max-width: 200px; object-fit: contain; border-radius: 0; }
.site-header .brand strong { display: none; }
.footer-brand .brand-logo { height: 48px; }
.footer-brand strong { display: inline; }

.lang-toggle { font-weight: 600; border: 1px solid #d8e4d6; border-radius: 999px; padding: 0.28rem 0.65rem; }

/* Header / nav */
.site-header { position: relative; z-index: 4; background: #fff; border-bottom: 1px solid #edf1e9; }
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 2rem; max-width: 1240px; }
.main-menu, .utility-menu { gap: 1.4rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-menu a, .utility-menu a { font-size: 0.82rem; text-decoration: none; color: #355343; }
.main-menu a:hover, .utility-menu a:hover { color: var(--green); }
.utility-menu { margin-left: auto; }

/* Footer */
.site-footer { background: #f6f8f1; color: #355343; padding: 0; border-top: 1px solid #e6ede0; }
.footer-top { background: #f6f8f1; padding: 4rem 1.2rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1.4fr; gap: 2.2rem; max-width: 1240px; align-items: start; }
.footer-col h4 { color: #173124; font-size: 0.95rem; margin: 0 0 1rem; font-weight: 800; letter-spacing: 0.01em; }
.footer-col a { display: block; color: #5b7162; text-decoration: none; font-size: 0.82rem; margin: 0.55rem 0; line-height: 1.4; }
.footer-col a:hover { color: var(--green); }
.footer-brand { color: #173124; }
.footer-brand-col p { font-size: 0.82rem; line-height: 1.7; color: #5b7162; margin: 1rem 0 1.2rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid #287a45; color: #287a45; border-radius: 50%; margin: 0; }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-contact-col p { margin: 0 0 0.6rem; }
.footer-line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #5b7162; }
.footer-line svg { flex-shrink: 0; color: #287a45; }
.footer-newsletter { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #d8e4d6; }
.footer-newsletter h5 { font-size: 0.85rem; color: #173124; margin: 0 0 0.4rem; font-weight: 800; }
.footer-newsletter p { font-size: 0.74rem; color: #718178; margin: 0 0 0.7rem; line-height: 1.5; }
.footer-form { display: flex; gap: 0; }
.footer-form input { flex: 1; padding: 0.55rem 0.75rem; font-size: 0.78rem; border: 1.5px solid #d8e4d6; border-right: none; border-radius: 4px 0 0 4px; background: #fff; margin: 0; }
.footer-form input:focus { outline: none; border-color: var(--green); }
.footer-form button { padding: 0.55rem 1rem; font-size: 0.78rem; background: var(--orange); color: #fff; border: 0; border-radius: 0 4px 4px 0; font-weight: 700; cursor: pointer; }
.footer-form button:hover { background: #dc8e13; }
.footer-bottom-bar { background: #123b25; color: #93b19a; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; gap: 1rem; max-width: 1240px; flex-wrap: wrap; }
.footer-bottom-row small { font-size: 0.72rem; }
.footer-legal a { color: #c6d9c9; text-decoration: none; font-size: 0.72rem; margin: 0 0.3rem; }
.footer-legal a:hover { color: #fff; }
.footer-payments { display: flex; gap: 0.4rem; }
.pay-pill { padding: 0.2rem 0.6rem; background: #1c4a32; color: #c6d9c9; border-radius: 3px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }

/* Hero */
.hero-carousel { height: min(650px, calc(100vh - 76px)); min-height: 490px; position: relative; overflow: hidden; background: #dfeadb; }
.hero-slide { position: absolute; inset: 0; background-image: var(--hero-image); background-position: center; background-size: contain; display: none; opacity: 1; transform: none; z-index: 0; }
.hero-slide.is-active { display: block; z-index: 1; }
.hero-dots { z-index: 2; position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #b5c1b2; }
.dot.active { background: var(--orange); transform: scale(1.35); }
.hero-copy { max-width: 1240px; margin: 0 auto; padding: clamp(5rem, 12vw, 9rem 1.2rem) 1.2rem; }
.eyebrow { display: block; color: var(--green); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 1rem; }
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: 0.98; letter-spacing: -0.055em; color: var(--green-dark); margin: 0 0 1.4rem; }
.hero-copy h1 em, .section-copy h2 em, .section-heading h2 em { color: var(--orange); font-style: normal; }
.hero-copy p { max-width: 350px; color: #42614b; }
.cta { background: var(--orange); border-color: var(--orange); color: #fff; border-radius: 3px; font-weight: 700; padding: 0.72rem 1.35rem; box-shadow: 0 8px 22px rgba(245, 166, 35, 0.25); text-decoration: none; display: inline-flex; gap: 1.4rem; align-items: center; }
.cta:hover { background: #dc8e13; border-color: #dc8e13; color: #fff; }

/* Section padding */
.section-pad { padding: 6rem 1.2rem; }

/* Commitment / story */
.commitment { background: var(--cream); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1240px; }
.section-copy h2, .section-heading h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.05em; color: var(--green-dark); margin: 0 0 1.3rem; }
.section-copy > p { max-width: 510px; color: #5b7162; line-height: 1.75; }
.image-frame { border-radius: 2px; overflow: hidden; box-shadow: 22px 22px 0 rgba(40, 122, 69, 0.13); }
.image-frame img { width: 100%; height: 360px; object-fit: cover; display: block; }
.mini-points { display: flex; flex-wrap: wrap; gap: 0.65rem 1.3rem; color: var(--green); font-size: 0.82rem; font-weight: 700; margin: 1.4rem 0; }
.text-link { color: var(--green); font-weight: 800; text-decoration: none; }
.text-link span { color: var(--orange); margin-left: 0.7rem; }

/* Features */
.features { background: var(--green); color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.8rem 1.2rem; text-align: center; gap: 1rem; max-width: 1240px; }
.feature-grid > div { border-right: 1px solid rgba(255, 255, 255, 0.2); }
.feature-grid > div:last-child { border: 0; }
.feature-grid b { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%; font-size: 1.4rem; margin-bottom: 0.8rem; }
.feature-grid h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.feature-grid p { font-size: 0.76rem; color: #c5e0c9; margin: 0; }

/* Shop / showcase */
.shop-section { padding-bottom: 4rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3rem; }
.section-heading > p { color: #718178; margin: 0 0 0.4rem; }
.showcase { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 5rem; align-items: center; margin: 0 auto 6rem; max-width: 1100px; }
.showcase.reverse { grid-template-columns: 0.88fr 1.12fr; }
.showcase.reverse .showcase-image { order: 2; }
.showcase-image { overflow: hidden; border-radius: 2px; background: var(--cream); }
.showcase-image img { width: 100%; height: 390px; object-fit: cover; display: block; }
.showcase-copy h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; color: var(--green-dark); margin: 0 0 1rem; }
.showcase-copy > p { color: #63776a; line-height: 1.6; }
.showcase-copy ul { padding: 0; list-style: none; color: #52725a; font-size: 0.84rem; line-height: 2; }
.showcase-copy li::before { content: '✓'; color: var(--orange); font-weight: 800; margin-right: 0.6rem; }
.showcase-price { font-size: 1.35rem; font-weight: 800; color: var(--green) !important; }

/* Community */
.community { background: var(--cream); padding: 5rem 1.2rem; text-align: center; }
.community h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); color: var(--green-dark); margin: 0; }
.community p { color: #63776a; }
.community-image { max-width: 900px; margin: 2rem auto 0; overflow: hidden; }
.community-image img { width: 100%; height: 260px; object-fit: cover; display: block; }

/* Trust bar */
.trust-bar { background: var(--green-dark); color: #fff; }
.trust-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 1rem; padding: 2rem 1.2rem !important; max-width: 1240px; }
.trust-grid > div { display: flex !important; gap: 0.8rem; align-items: flex-start; }
.trust-grid b { font-size: 1.4rem; color: var(--orange); line-height: 1.2; flex-shrink: 0; }
.trust-grid span { font-size: 0.72rem; color: #c9ddcb; line-height: 1.4; }
.trust-grid strong { display: block !important; color: #fff; font-size: 0.85rem; margin-bottom: 0.2rem; font-weight: 700; }

/* Product grid (legacy) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.product-card { display: flex; flex-direction: column; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--pico-muted-border-color); border-radius: var(--pico-border-radius); }
.product-card .hero { width: 100%; height: 180px; object-fit: cover; display: block; }
.product-card h3 { margin: 0.75rem 0.75rem 0; font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.4em; }
.product-card .desc { margin: 0.25rem 0.75rem 0.5rem; color: var(--pico-muted-color); font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.product-card .price { margin: 0 0.75rem 0.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.product-card .price .was { font-size: 0.8rem; color: var(--pico-muted-color); text-decoration: line-through; font-weight: 400; }
.product-card .price .now { font-size: 1.1rem; color: var(--brand); }
.product-card .buy-btn { margin: auto 0.75rem 0.75rem; text-align: center; }

.muted { color: var(--pico-muted-color); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 320px 1fr; align-items: start; } }
.hero-detail { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--pico-border-radius); }
.product-detail .price { font-size: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.product-detail .price .was { font-size: 1rem; color: var(--pico-muted-color); text-decoration: line-through; font-weight: 400; }
.product-detail .price .now { font-size: 1.5rem; color: var(--brand); }
.product-detail .buy-btn { width: 100%; max-width: 280px; display: inline-block; text-align: center; }
.back-link { display: inline-block; margin-bottom: 0.5rem; }

/* Auth */
.auth-card { max-width: 420px; margin: 2rem auto; padding: 1.5rem; border: 1px solid var(--pico-muted-border-color); border-radius: var(--pico-border-radius); }
.auth-card .errors { color: #b91c1c; }
.auth-card .ok { color: #15803d; }
.auth-card .switch { text-align: center; margin-top: 1rem; }

/* Admin tables */
.admin-table { font-size: 0.85rem; table-layout: fixed; width: 100%; }
.admin-table th, .admin-table td { padding: 0.35rem 0.5rem; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
.admin-table th { font-size: 0.8rem; font-weight: 600; }
.admin-table td.col-order, .admin-table th.col-order { width: 11rem; white-space: nowrap; }
.admin-table td.col-qty, .admin-table th.col-qty { width: 2.5rem; text-align: right; }
.admin-table td.col-total, .admin-table th.col-total { width: 4.5rem; text-align: right; white-space: nowrap; }
.admin-table td.col-status, .admin-table th.col-status { width: 4.5rem; white-space: nowrap; }
.admin-table td.col-placed, .admin-table th.col-placed { width: 7rem; white-space: nowrap; }
.admin-table td.col-action, .admin-table th.col-action { width: 4.5rem; text-align: center; white-space: nowrap; }
.admin-table td.col-email, .admin-table td.col-product { white-space: nowrap; }

.errors { color: #b91c1c; }
.ok { color: #15803d; }

/* Phone */
.phone-input { display: flex; align-items: stretch; gap: 0; margin-top: 0.25rem; }
.phone-input .phone-prefix { display: inline-flex; align-items: center; padding: 0.5rem 0.75rem; font-weight: 600; color: var(--pico-muted-color); background: var(--pico-secondary-background); border: 1px solid var(--pico-muted-border-color); border-right: none; border-radius: var(--pico-border-radius) 0 0 var(--pico-border-radius); white-space: nowrap; }
.phone-input input[name="phone"] { flex: 1; border-radius: 0 var(--pico-border-radius) var(--pico-border-radius) 0; margin: 0; }
.phone-input + small.muted { display: block; margin-top: 0.4rem; }

/* Admin upload */
.upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: -0.25rem; margin-bottom: 1rem; }
.upload-row input[type="file"] { flex: 1 1 14rem; margin: 0; padding: 0.4rem 0.6rem; font-size: 0.85rem; }
.upload-row button { margin: 0; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.upload-status { font-size: 0.85rem; color: var(--pico-muted-color); min-width: 1ch; }
.upload-status[data-kind="ok"] { color: #15803d; }
.upload-status[data-kind="err"] { color: #b91c1c; }
.upload-tip { flex-basis: 100%; font-size: 0.8rem; line-height: 1.3; }

/* Responsive */
@media (max-width: 900px) {
  .main-menu { display: none; }
  .nav-shell { padding: 0.7rem 1rem; }
  .hero-copy { padding-top: 6rem; }
  .split-section, .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .showcase.reverse .showcase-image { order: 0; }
  .feature-grid, .trust-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .feature-grid > div:nth-child(2) { border: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .utility-menu li:not(:last-child) { display: none; }
  .hero-carousel { min-height: 540px; height: 70vh; }
  .hero-slide { background-position: center; }
  .hero-copy { padding-top: 5rem; }
  .section-pad { padding-top: 4rem; padding-bottom: 4rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; padding-left: 0.5rem; padding-right: 0.5rem; }
  .feature-grid > div { border: 0 !important; }
  .showcase { margin-bottom: 4rem; }
  .showcase-image img { height: 270px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-row { display: block; }
  .footer-legal, .footer-payments { margin-top: 0.6rem; }
}
