:root {
    --brand: #0f766e;
    --brand-dark: #0b5c56;
    --brand-tint: #ecfdf8;
    --accent: #f59e0b;
    --bg: #fafaf9;
    --surface: #ffffff;
    --text: #1c1917;
    --muted: #6b7280;
    --border: #e7e5e4;
    --danger: #b91c1c;
    --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; font-size: 16px; }
h1, h2, h3, .brand-text, .footer-brand { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.25; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* ---------- header ---------- */
.top-strip { background: var(--brand-dark); color: #e7fffb; font-size: 13px; }
.top-strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.top-strip a { color: #fff; margin-left: 14px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.brand-text { font-weight: 800; font-size: 17px; color: var(--brand-dark); }
.brand-text small { display: block; font-family: 'Inter'; font-weight: 500; font-size: 11px; color: var(--muted); }
.search { flex: 1; display: flex; max-width: 460px; margin-left: auto; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: #f5f5f4; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; font: inherit; font-size: 15px; min-width: 0; outline: none; }
.search button { border: 0; background: transparent; padding: 0 14px; color: var(--brand-dark); cursor: pointer; }
.search-inline { margin: 18px auto; max-width: 420px; border-radius: 10px; }
.search-inline .btn { border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--text); cursor: pointer; }
.main-nav { border-top: 1px solid var(--border); }
.main-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav a { color: var(--text); font-weight: 600; font-size: 14.5px; padding: 11px 12px; white-space: nowrap; }
.main-nav a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 780px) {
    .header-row { flex-wrap: wrap; }
    .nav-toggle { display: block; margin-left: auto; }
    .search { order: 3; max-width: none; flex-basis: 100%; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav .wrap { flex-direction: column; padding: 0; }
    .main-nav a { padding: 13px 16px; border-bottom: 1px solid var(--border); }
    .top-strip .wrap > span:first-child { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: .65; cursor: wait; }
.btn-accent { background: var(--accent); color: #1c1917; }
.btn-accent:hover { background: #d97706; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 16.5px; }
.btn-block { display: flex; width: 100%; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.10), transparent 45%), linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.hero-inner { padding-top: 52px; padding-bottom: 52px; text-align: center; }
.hero h1 { font-size: clamp(26px, 4.4vw, 40px); margin: 6px auto 14px; max-width: 860px; }
.hero .lead { font-size: 17px; opacity: .95; max-width: 640px; margin: 0 auto 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.hero .eyebrow { color: #fde68a; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; }

/* ---------- sections & grid ---------- */
.section { margin: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-title { font-size: 22px; margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #f0efed; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; color: #a8a29e; font-size: 28px; background: #f0efed; }
.badge-off { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 14.5px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: 'Inter', sans-serif; line-height: 1.4; }
.card-cta { margin-top: auto; color: var(--brand); font-size: 13.5px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-weight: 800; color: var(--brand-dark); font-size: 17px; }
.price s { color: var(--muted); font-size: 13.5px; }
.price.big .now { font-size: 30px; }
.price.big s { font-size: 17px; }
.save { background: #fef3c7; color: #92400e; font-weight: 700; font-size: 13px; padding: 2px 8px; border-radius: 6px; }

.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.subject { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; color: var(--text); display: flex; flex-direction: column; gap: 2px; }
.subject:hover { border-color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.subject span { color: var(--muted); font-size: 13.5px; }
.types { display: flex; flex-wrap: wrap; gap: 10px; }
.type { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; border-radius: 999px; padding: 10px 18px; }

.founder { display: flex; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; flex-wrap: wrap; }
.founder img, .founder-ph { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.founder-ph { background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 52px; font-weight: 800; }
.founder > div { flex: 1; min-width: 240px; }
.founder h2 { margin: 0; }
.founder-title { color: var(--brand); font-weight: 600; margin: 2px 0 10px; }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 10px 0 0; color: #44403c; }

/* ---------- listing / page ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin: 18px 0 8px; }
.crumbs a { color: var(--muted); }
.listing-head h1 { font-size: 28px; margin: 6px 0 10px; }
.intro { color: #44403c; max-width: 820px; margin-bottom: 8px; }
.count { color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 50px 0; }
.page { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 30px; }
.page h1 { margin-top: 0; }
.rich h2 { font-size: 20px; margin: 26px 0 10px; }
.rich h3 { font-size: 17px; margin: 20px 0 8px; }
.rich ul, .rich ol { padding-left: 22px; }
.rich li { margin-bottom: 4px; }
.rich table { border-collapse: collapse; width: 100%; }
.rich td, .rich th { border: 1px solid var(--border); padding: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.contact-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; color: var(--text); }
.contact-card span { color: var(--muted); }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; margin: 10px 0 30px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 20px; } }
.main-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.summary h1 { font-size: clamp(21px, 3vw, 27px); margin: 0 0 12px; }
.summary .price { margin: 6px 0 18px; }
.perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; font-size: 14.5px; color: #44403c; }
.short-desc { border-top: 1px solid var(--border); padding-top: 14px; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags a { font-size: 12.5px; background: #f5f5f4; color: #57534e; padding: 4px 10px; border-radius: 999px; }
.description { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.description > h2:first-child { margin-top: 0; }
.buy-bar { display: none; }
@media (max-width: 820px) {
    .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--border); padding: 10px 16px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
    .buy-bar s { color: var(--muted); font-size: 13px; }
    body:has(.buy-bar) .wa-float { bottom: 80px; }
    body:has(.buy-bar) .site-footer { padding-bottom: 70px; }
}

/* ---------- checkout / order ---------- */
.checkout, .order-box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin: 10px 0 40px; }
.order-box { text-align: center; }
.order-box .co-form { text-align: left; margin-top: 10px; }
.co-summary { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.co-summary img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.co-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.co-form h1 { font-size: 21px; margin: 18px 0 4px; }
.co-form label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.co-form input { width: 100%; padding: 12px 14px; border: 1px solid #d6d3d1; border-radius: 10px; font: inherit; font-size: 16px; }
.co-form input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.co-form .btn { margin-top: 20px; }
.co-msg { margin-top: 14px; font-size: 14.5px; border-radius: 8px; }
.co-msg.err:not(:empty) { color: var(--danger); background: #fef2f2; padding: 10px 12px; }
.co-msg.ok:not(:empty) { color: #065f46; background: #ecfdf5; padding: 10px 12px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.order-ok { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto 6px; }
.dl-group { text-align: left; margin: 22px 0; }
.dl-group h2 { font-size: 16px; margin: 0 0 10px; }
.dl { margin-bottom: 10px; text-align: left; justify-content: flex-start; }
.warn { background: #fffbeb; color: #92400e; padding: 10px 12px; border-radius: 8px; }

/* ---------- footer ---------- */
.site-footer { background: #14110f; color: #d6d3d1; margin-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: #fff; font-weight: 800; font-size: 18px; }
.site-footer p { color: #a8a29e; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14.5px; }
.site-footer a { color: #a8a29e; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.addr { font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #78716c; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom a { display: inline; color: #d6d3d1; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 50; }
