:root {
    --paper: #f3eee4;
    --paper-2: #e7e0d2;
    --ink: #1a2420;
    --muted: #5d675f;
    --line: #ddd4c4;
    --pine: #1c5c40;
    --pine-2: #143f2d;
    --clay: #c4622d;
    --card: #fffdf8;
    --wa: #1b9e54;
    --shadow: 0 20px 50px rgba(26, 36, 32, 0.08);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--body-size, 17px);
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
p { margin: 0 0 0.8rem; }
.container { width: min(1520px, calc(100% - 48px)); max-width: 1520px; margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 48px)); }
.skip-link {
    position: absolute; left: 12px; top: -40px; background: var(--ink); color: white; padding: 8px 12px;
}
.skip-link:focus { top: 12px; z-index: 20; }

.announce {
    background: var(--ink);
    color: #f6f1e8;
    text-align: center;
    font-size: 0.92rem;
    padding: 8px 16px;
}
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--header-bg, #f3eee4);
    color: var(--header-text, var(--ink));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 78px; flex-wrap: wrap; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 180px; color: var(--header-text, var(--ink)); }
.brand img { height: 48px; width: auto; }
.brand.brand-logo { min-width: 0; }
.brand strong { display: block; font-size: 1.05rem; }
.brand small { display: none; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; background: var(--pine-2); color: #f6f1e8;
    display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem;
}
.desktop-nav { display: flex; gap: 18px; align-items: center; }
.desktop-nav a { text-decoration: none; font-size: var(--header-size, 15px); color: var(--header-text, var(--ink)); }
.desktop-nav a.is-active { box-shadow: inset 0 -2px 0 var(--clay); }
.drop { position: relative; }
.drop-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
    box-shadow: var(--shadow);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
.drop-menu a { padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.drop-menu a:hover { background: var(--paper); }
.header-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-search { display: flex; border: 1px solid var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.header-search input { border: 0; background: transparent; padding: 8px 12px; width: 160px; outline: none; }
.header-search button { border: 0; background: transparent; padding: 0 12px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 6px 10px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 10px 16px; text-decoration: none; border: 1px solid transparent;
    font: inherit; cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 12px 18px; }
.btn-sm { padding: 7px 12px; font-size: 0.92rem; }
.btn-wa { background: var(--wa); color: white; box-shadow: 0 10px 22px rgba(27, 158, 84, .22); }
.btn-wa:hover { background: #158347; color: white; }
.btn-ink { background: var(--ink); color: #f6f1e8; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-line { background: transparent; border-color: var(--line); }
.wa-pill { background: var(--pine); color: white; text-decoration: none; border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.kicker, .eyebrow {
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--clay); margin-bottom: 8px;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.hero {
    position: relative;
    padding: 42px 0 28px;
    overflow: hidden;
}
.hero-glow {
    position: absolute; inset: auto -10% -30% 40%; height: 520px;
    background: radial-gradient(circle, rgba(28, 92, 64, .16), transparent 68%);
    pointer-events: none;
    animation: glow-drift 14s ease-in-out infinite;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-copy > * { animation: rise .7s ease both; }
.hero-copy .kicker { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .14s; }
.hero-copy .lede { animation-delay: .24s; }
.hero-copy .hero-actions { animation-delay: .34s; }
.hero-copy .hero-facts { animation-delay: .46s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 18px 0 0; margin: 8px 0 0; }
.hero-facts li { border-top: 1px solid var(--line); padding-top: 10px; }
.hero-facts strong { display: block; font-size: .95rem; }
.hero-facts span { color: var(--muted); font-size: .88rem; }
.hero-stage { position: relative; min-height: 460px; }
.stage-card {
    position: absolute; left: 0; top: 28px; width: 46%;
    display: grid; gap: 8px; text-decoration: none;
    background: var(--card); border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transform: rotate(-7deg);
    animation: card-settle 1s ease both;
}
.stage-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.stage-card span { display: grid; gap: 2px; padding: 0 12px 12px; font-family: var(--serif); font-size: 1.05rem; }
.stage-card small { font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay); font-size: .68rem; }
.stage-card b { font-family: var(--sans); font-weight: 500; color: var(--pine); }
.slip {
    position: relative; z-index: 1; margin-left: 22%;
    background: var(--pine-2); color: #f6f1e8; border-radius: 32px; padding: 18px 18px 16px;
    box-shadow: 0 30px 60px rgba(20, 63, 45, .28);
    animation: float-phone 7s ease-in-out infinite;
}
.slip-top { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.slip-top i { font-size: 1.4rem; color: #7dffa8; }
.slip-top span { display: block; color: #b7e7c8; font-size: 0.82rem; }
.slip-top span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7dffa8; margin-right: 6px; }
.slip-thread { display: grid; gap: 8px; }
.msg { margin: 0; max-width: 92%; padding: 10px 12px; border-radius: 16px; font-size: .92rem; line-height: 1.45; animation: pop-msg .55s ease both; }
.msg b { display: inline; }
.msg-in { background: #24543d; border-bottom-left-radius: 4px; animation-delay: .35s; }
.msg-in:nth-child(2) { animation-delay: .7s; }
.msg-out { justify-self: end; background: #efe6d4; color: var(--ink); border-bottom-right-radius: 4px; animation-delay: 1.15s; }
.slip-note { color: #d5e4da; font-size: 0.86rem; margin: 14px 0 0; }

.trust { padding: 10px 0 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; transition: transform .4s ease, box-shadow .4s ease; }
.trust-grid i { color: var(--pine); font-size: 1.3rem; }
.trust-grid h2 { font-size: 1.15rem; margin: 8px 0; }
.trust-grid p { color: var(--muted); font-size: 0.95rem; }

.section { padding: 42px 0; }
.section-tint { background: #ebe4d6; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.text-link { color: var(--pine); }
.filters, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button, .chip-row a {
    border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 12px;
    font: inherit; cursor: pointer; text-decoration: none;
}
.filters button.is-on, .chip-row a.is-on { background: var(--ink); color: #f6f1e8; border-color: var(--ink); }
.product-grid, .post-grid, .quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card, .post-card, blockquote {
    background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease;
}
.product-card:hover, .post-card:hover, .trust-grid article:hover, .quote-grid blockquote:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(26, 36, 32, .1);
}
.product-body, .post-card { padding: 14px 14px 16px; }
.post-card { padding: 14px; }
.product-media, .post-media { display: block; aspect-ratio: 4/3; background: #d9d1c3; overflow: hidden; }
.product-media img, .post-media img, .article-cover, .product-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img, .post-card:hover .post-media img { transform: scale(1.05); }
body.page-home .product-media { aspect-ratio: auto; background: #071e33; overflow: hidden; }
body.page-home .product-media img { width: 100%; height: auto; object-fit: contain; transform: none; }
body.page-home .product-card:hover .product-media img { transform: none; }
.product-card h3, .post-card h3 { font-size: 1.25rem; margin: 6px 0; }
.product-card h3 a, .post-card h3 a { text-decoration: none; }
.product-card p, .post-card p { color: var(--muted); font-size: 0.95rem; }
.product-meta, .price-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.price, .price-row strong { font-family: var(--serif); font-size: 1.4rem; }
.stars { color: var(--clay); font-size: 0.92rem; }
.badge-pill { position: absolute; margin: 12px; background: var(--clay); color: white; border-radius: 999px; padding: 4px 8px; font-size: 0.75rem; }
.product-media { position: relative; }
.media-fallback { display: grid; place-items: center; height: 100%; color: var(--pine-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { padding: 8px 8px 0 0; }
.steps span { font-family: var(--serif); color: var(--clay); font-size: 1.4rem; }
.home-seo, .prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4rem; }
.prose ul { padding-left: 1.1rem; }
.quote-grid blockquote { margin: 0; padding: 18px; }
.quote-grid footer { color: var(--muted); font-size: 0.9rem; }
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 28px; }
.accordion-item { background: var(--card); border: 1px solid var(--line) !important; }
.accordion-button { font-family: var(--sans); background: var(--card); }
.accordion-button:not(.collapsed) { background: #f7f3ea; color: var(--ink); box-shadow: none; }
.closing { padding: 28px 0 70px; }
.closing .container {
    background: var(--pine-2); color: #f6f1e8; border-radius: 28px; padding: 36px;
    display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.closing h2 { margin: 0; max-width: 16ch; }

.page-hero { padding: 36px 0 10px; }
.shop-bar { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.sort-form { display: flex; gap: 8px; align-items: center; }
.sort-form select, .stack-form input, .stack-form textarea, .search-wide input, .login-card input,
.stack input, .stack textarea, .stack select, .side-card input, .side-card select, .panel input, .panel textarea, .panel select,
.settings-form input, .settings-form textarea, .settings-form select {
    width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 12px; font: inherit;
}
.theme-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 16px; }
.theme-card {
    display: grid !important;
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: #fff;
    cursor: pointer;
}
.theme-card input { position: absolute; opacity: 0; }
.theme-card:has(input:checked) { border-color: #143f2d; box-shadow: 0 0 0 2px #143f2d; }
.theme-swatch { width: 54px; height: 54px; border-radius: 12px; grid-row: 1 / span 2; }
.theme-swatch-classic { background: linear-gradient(160deg, #f3eee4, #1a2420 70%); }
.theme-swatch-point { background: linear-gradient(160deg, #071e33 40%, #2fbfb0 40% 62%, #ff7a59 62%); }
.theme-card small { color: #667068; }
.point-hero-panel { margin: 8px 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.point-hero-panel h2 { margin: 0 0 6px; font-size: 1.2rem; }
.point-hero-panel label { display: grid; gap: 6px; margin-top: 10px; font-weight: 650; }
.point-menu-preview { display: flex; gap: 14px; align-items: center; margin-top: 14px; border-radius: 16px 16px 0 0; padding: 12px 16px; font-size: 14px; }
.point-hero-preview { border-radius: 0 0 16px 16px; padding: 18px 16px; }
.point-card-preview { margin-top: 14px; margin-left: auto; width: min(220px, 100%); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.point-hero-preview-kicker { margin: 0 0 8px; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: #2fbfb0; }
.point-hero-preview h3 { margin: 0 0 8px; font-size: 1.6rem; line-height: 1.15; }
.point-hero-preview-copy { margin: 0; font-size: 0.95rem; opacity: .85; }
.look-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr); gap: 18px; align-items: start; }
.look-colors { display: grid; gap: 10px; margin: 12px 0; }
.look-color { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; background: #f7f4ee; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.look-swatch-btn { position: relative; width: 76px; height: 76px; margin: 0; cursor: pointer; }
.look-swatch { display: block; width: 76px; height: 76px; border-radius: 16px; border: 1px solid rgba(26, 36, 32, .16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.settings-form .look-swatch-btn input[type="color"] {
    position: absolute; inset: 0; width: 76px; height: 76px; padding: 0; border: 0; opacity: 0; cursor: pointer;
}
.look-color strong { display: block; }
.look-color small, .look-default { display: block; color: #667068; }
.look-hex { display: inline-block; margin-top: 4px; background: white; border-radius: 999px; padding: 2px 8px; font-size: 0.82rem; }
.look-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.look-actions .fine { margin: 0; max-width: 36rem; }
.look-stage { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: sticky; top: 12px; }
.look-stage-bar { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.look-stage-bar span { opacity: .85; }
.look-stage-body { padding: 18px 16px 22px; }
.look-stage-body h3 { margin: 0 0 8px; font-size: 1.8rem; }
.look-kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-bottom: 6px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.product-shot { background: #e5ddd0; border-radius: 28px; overflow: hidden; }
.product-copy { margin-top: 28px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-row a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: white; font-size: 0.9rem; }
.fine, .muted { color: var(--muted); font-size: 0.92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.article-cover { border-radius: 24px; margin: 12px 0 18px; max-height: 420px; object-fit: cover; }
.ask-box { margin-top: 22px; background: #efe6d4; border-radius: 20px; padding: 16px; }
.pager { display: flex; gap: 8px; margin-top: 18px; }
.pager a { text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; background: white; }
.pager a.is-current { background: var(--ink); color: white; }
.search-wide { display: flex; gap: 8px; margin-top: 12px; }
.search-wide input { flex: 1; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.stack-form, .stack, .side-card { display: grid; gap: 12px; }
.stack-form label, .stack label, .side-card label, .panel label, .settings-form label, .login-card label { display: grid; gap: 6px; font-size: 0.92rem; }
.contact-side { background: var(--card); border-radius: 24px; padding: 18px; border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 12px; padding: 10px 12px; }
.alert.ok { background: #e5f6ea; }
.alert.bad { background: #fde8df; }
.empty { color: var(--muted); }

.site-footer { background: #14211c; color: #e7efe9; padding: 36px 0 20px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 18px; }
.footer-grid a { display: block; color: #d5e0d8; text-decoration: none; margin: 4px 0; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; }
.social-row, .header-social { display: flex; flex-wrap: wrap; gap: 8px; }
.social-row a, .header-social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    text-decoration: none; background: var(--card); color: var(--ink); border: 1px solid var(--line);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.site-footer .social-row a { background: transparent; color: #f6f1e8; border-color: rgba(255,255,255,.28); }
.social-row a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social-row a:hover, .header-social a:hover { background: var(--pine); color: white; border-color: var(--pine); transform: translateY(-2px); }
.header-social a { width: 34px; height: 34px; font-size: 0.95rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sitemap-grid h2 { font-size: 1.4rem; margin-top: 0; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { margin: 8px 0; }
.sitemap-grid a { color: var(--pine); text-decoration: none; }
.sitemap-grid a:hover { text-decoration: underline; }
.mobile-drawer .social-row { margin-top: 16px; }
.mobile-drawer .social-row a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-bottom: 0;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    background: var(--card);
    color: var(--ink);
    border-color: var(--line);
}
.footer-base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; padding-top: 12px; color: #c5d2cb; font-size: 0.9rem; }
.wa-float {
    position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: white; display: grid; place-items: center; font-size: 1.6rem;
    box-shadow: 0 10px 24px rgba(27, 158, 84, .35); z-index: 40; text-decoration: none;
    animation: wa-pulse 2.8s ease-in-out infinite;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.product-card.reveal.is-in:hover, .post-card.reveal.is-in:hover, .trust-grid article.reveal.is-in:hover, .quote-grid blockquote.reveal.is-in:hover {
    transform: translateY(-6px);
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes pop-msg {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}
@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes card-settle {
    from { opacity: 0; transform: rotate(-12deg) translateY(16px); }
    to { opacity: 1; transform: rotate(-7deg); }
}
@keyframes glow-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-30px, 16px, 0); }
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(27, 158, 84, .35); }
    50% { box-shadow: 0 10px 24px rgba(27, 158, 84, .35), 0 0 0 10px rgba(27, 158, 84, .12); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
.to-top {
    position: fixed; right: 22px; bottom: 86px; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: var(--ink); color: #f6f1e8; display: grid; place-items: center; font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(26, 36, 32, .22); z-index: 40; cursor: pointer;
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--pine); }
.buy-bar { display: none; }

.mobile-drawer a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: var(--header-size, 15px); }
.mobile-drawer a.sub { padding-left: 12px; color: var(--muted); }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 12px; }
.login-card h1 { font-size: 2.4rem; }

.admin-body { background: #efeae1; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #14211c; color: #e7efe9; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.admin-brand { color: white; text-decoration: none; font-weight: 640; }
.admin-role { color: #b7c7be; font-size: 0.85rem; }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a, .admin-side-foot a { color: #d7e4dc; text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.admin-side nav a.is-active, .admin-side nav a:hover { background: #234237; color: white; }
.admin-side-foot { margin-top: auto; display: grid; gap: 4px; }
.admin-main { min-width: 0; }
.admin-top { padding: 18px 22px 0; }
.admin-top h1 { font-family: var(--sans); font-size: 1.6rem; }
.admin-content { padding: 12px 22px 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: white; border-radius: 16px; padding: 14px; text-decoration: none; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.8rem; }
.panel { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.toolbar { margin-bottom: 12px; }
.list-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.list-search { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 14px; min-width: min(380px, 100%); }
.list-search i { color: #6d766f; }
.list-search input { border: 0; outline: none; background: transparent; width: 100%; min-width: 0; }
.list-search button { border: 0; background: var(--ink); color: white; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.search-clear { color: #6d766f; text-decoration: none; font-size: 0.88rem; }
.table-card { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.table-card > .list-search { margin: 12px; }
.table-wrap { overflow: auto; background: white; }
.table-card .table-wrap { border: 0; border-radius: 0; }
.data { width: 100%; border-collapse: collapse; }
.data th, .data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.data thead th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #667068; background: #f6f2ea; }
.data tbody tr:hover { background: #fbf8f3; }
.data tbody tr:last-child td { border-bottom: 0; }
.col-serial { width: 64px; color: #6d766f; font-variant-numeric: tabular-nums; }
.col-actions, td.row-actions { text-align: right; width: 150px; white-space: nowrap; vertical-align: middle; }
td.row-actions { display: table-cell; }
td.row-actions > * + * { margin-left: 6px; }
td.row-actions form { display: inline-flex; margin: 0 0 0 6px; vertical-align: middle; }
.empty-row { text-align: center; color: #6d766f; padding: 28px 14px !important; }
.icon-btn {
    width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; vertical-align: middle;
    border: 1px solid var(--line); background: #f7f3ea; color: var(--ink); text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn.edit:hover { background: var(--pine); color: white; border-color: var(--pine); }
.icon-btn.view:hover { background: var(--ink); color: white; border-color: var(--ink); }
.icon-btn.danger { color: #9a3b24; background: #fff4ef; border-color: #f0d2c6; }
.icon-btn.danger:hover { background: #9a3b24; color: white; border-color: #9a3b24; }
.admin-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); background: #fbf8f3; }
.pager-meta { margin: 0; color: #6d766f; font-size: 0.9rem; }
.pager-pages { display: flex; align-items: center; gap: 6px; }
.pager-num, .pager-arrow {
    min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; display: inline-grid; place-items: center;
    text-decoration: none; border: 1px solid var(--line); background: white; color: var(--ink);
}
.pager-num.is-current { background: var(--ink); color: white; border-color: var(--ink); }
.pager-arrow.is-disabled { opacity: 0.35; }
.pager-gap { color: #6d766f; padding: 0 2px; }
.is-unread { background: #fff8ee; }
.editor-grid, .split-admin { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 16px; align-items: start; }
.side-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px; position: sticky; top: 12px; }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; }
.check input { width: auto; }
.product-line { display: flex; align-items: center; gap: 12px; }
.list-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f6f2ea; flex: 0 0 52px; }
.seo-box { background: #f7f3ea; border-radius: 16px; padding: 12px; display: grid; gap: 10px; }
.snippet { background: white; border-radius: 12px; padding: 10px; }
.snippet-title { color: #1a0dab; margin: 0; }
.snippet-url { color: #0d652d; font-size: 0.85rem; margin: 0; }
.snippet-desc { color: #444; font-size: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.settings-form .nav-tabs { margin-bottom: 0; }
.settings-form .tab-content { border-top-left-radius: 0; }
.repeat-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 8px; margin-bottom: 8px; }
.save-bar { position: sticky; bottom: 0; background: rgba(239,234,225,.95); padding: 10px 0; }
.narrow-admin { max-width: 860px; }
.index-list { margin-top: 12px; }
.note-editor { background: white; }

@media (max-width: 980px) {
    .desktop-nav, .header-search { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .header-social { display: none; }
    .hero-grid, .trust-grid, .product-grid, .post-grid, .quote-grid, .steps, .faq-layout, .product-layout, .contact-grid, .footer-grid, .sitemap-grid, .admin-shell, .editor-grid, .split-admin, .stat-grid, .form-grid, .look-layout {
        grid-template-columns: 1fr;
    }
    .closing .container, .section-head, .shop-bar, .footer-base { display: grid; }
    .header-tools { margin-left: 0; }
    .side-card { position: static; }
    .repeat-row { grid-template-columns: 1fr; }
    .page-product .buy-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
        background: #fffdf8; border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; align-items: center; justify-content: space-between;
    }
    .page-product .buy-bar span { display: block; font-size: 0.8rem; color: var(--muted); max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hero-facts, .hero-stage { grid-template-columns: 1fr; min-height: 0; }
    .stage-card { position: relative; width: 100%; top: 0; transform: none; margin-bottom: -36px; animation: none; }
    .slip { margin-left: 12%; animation: none; }
    .page-product .wa-float { bottom: 76px; }
    .page-product .to-top { bottom: 144px; }
    body.page-product { padding-bottom: 74px; }
}
