:root {
    color-scheme: light;
    --brand: #2f7a4b;
    --brand-dark: #235f39;
    --ink: #1f2d24;
    --muted: #71817d;
    --bg: #e6f0e0;
    --accent: #c65d21;
    --accent-dark: #a84b17;
    --surface: #ffffff;
    --surface-soft: #d9e8d1;
    --line: #c9dcc1;
    --lime: #f2b544;
    --danger: #c64c43;
    --shadow: 0 12px 32px rgba(24, 56, 35, .075);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .btn { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -50px; z-index: 100; padding: 10px 14px; border-radius: 9px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { background: var(--surface); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 38px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--brand); color: #fff; }
.logo-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.logo-copy { display: grid; line-height: 1.2; }
.logo-copy strong { font: 800 21px/1.15 'Manrope', sans-serif; letter-spacing: -.065em; }
.logo-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.search { flex: 1 1 420px; max-width: 600px; display: flex; align-items: center; min-width: 150px; height: 48px; gap: 10px; padding: 0 6px 0 15px; border: 1px solid var(--line); border-radius: 13px; background: #f3f8ef; transition: border-color .18s, box-shadow .18s; }
.search:focus-within { border-color: #8fc29d; box-shadow: 0 0 0 3px rgba(47, 122, 75, .08); }
.search > svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #82928a; stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search input::placeholder { color: #8b9992; }
.search button { align-self: stretch; margin-block: 5px; padding: 0 17px; border: 0; border-radius: 9px; background: var(--brand); color: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s; }
.search button:hover { background: var(--brand-dark); }
.header-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.help-link { display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.help-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); font-size: 18px; }
.help-link > span:last-child { display: grid; line-height: 1.25; }
.help-link small { color: var(--muted); font-size: 10px; }
.help-link strong { font-size: 12px; font-weight: 700; }
.cartlink { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.cartlink svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 5px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800; }
.category-nav { border-top: 1px solid #f0f3ef; background: var(--surface); }
.cats { display: flex; align-items: center; gap: 28px; min-height: 51px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { position: relative; display: inline-flex; align-items: center; align-self: stretch; color: #5b6d66; font-size: 12px; font-weight: 600; transition: color .18s; }
.cats a:hover, .cats a:focus-visible { color: var(--brand); }
.cats .nav-all { color: var(--ink); font-weight: 800; }
.nav-note { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--brand); font-size: 11px; font-weight: 700; }
.nav-note span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e0f1e2; }

main { min-height: 52vh; padding-bottom: 20px; }
.hero-wrap { padding-top: 30px; }
.eyebrow { margin: 0 0 15px; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 11px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.btn:hover { background: var(--brand-dark); box-shadow: 0 8px 20px rgba(47, 122, 75, .15); transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(47, 122, 75, .3); outline-offset: 3px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 20px 48px; padding: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 86px; padding: 15px 12px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 12px; background: #eaf4e8; color: var(--brand); }
.trust-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 12px; font-weight: 800; }
.trust-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.section { margin-top: 45px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.section-heading .eyebrow { margin-bottom: 4px; }
h1, h2, h3, h4 { font-family: 'Manrope', 'DM Sans', sans-serif; }
.section-heading h2, h2 { margin: 0; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.25; letter-spacing: -.055em; }
.see-all { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 12px; font-weight: 800; white-space: nowrap; }
.see-all span { transition: transform .18s; }
.see-all:hover span { transform: translateX(4px); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.category-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; overflow: hidden; padding: 17px 17px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-tile::after { content: ''; position: absolute; width: 98px; height: 98px; right: -30px; bottom: -37px; border-radius: 50%; background: #eaf2e9; transition: transform .25s; }
.category-tile:hover { transform: translateY(-3px); border-color: #c5d8cb; box-shadow: var(--shadow); }
.category-tile:hover::after { transform: scale(1.2); }
.category-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: #eaf4e8; color: var(--brand); }
.category-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.category-tile strong { position: relative; z-index: 1; font-size: 14px; font-weight: 800; }
.category-tile small { position: relative; z-index: 1; margin-top: 3px; color: var(--muted); font-size: 10px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); transition: box-shadow .2s, transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: #d2dfd5; box-shadow: var(--shadow); }
.card-media { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.16 / 1; margin: 8px 8px 0; border-radius: 12px; background: linear-gradient(145deg, #f5f8f4, #eaf0e9); }
.card-media img { width: 100%; height: 100%; padding: 13px; object-fit: contain; transition: transform .3s; }
.product-card:hover .card-media img { transform: scale(1.045); }
.condition-tag, .sale-tag { position: absolute; z-index: 1; top: 10px; display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 6px; font-size: 8px; font-weight: 800; letter-spacing: .015em; }
.condition-tag { left: 10px; background: rgba(255,255,255,.9); color: #526e60; }
.sale-tag { right: 10px; background: var(--lime); color: #264734; }
.card-body { padding: 13px 14px 14px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.stock-label { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); white-space: nowrap; font-size: 9px; }
.stock-label i { width: 5px; height: 5px; border-radius: 50%; background: #60aa75; }
.stock-label.out { color: var(--danger); }
.stock-label.out i { background: var(--danger); }
.card-title { display: -webkit-box; min-height: 42px; margin: 7px 0 12px; overflow: hidden; font: 700 13px/1.55 'Manrope', sans-serif; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-title:hover { color: var(--brand); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid #edf1ed; }
.card-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.card-prices strong { font: 800 15px/1.2 'Manrope', sans-serif; letter-spacing: -.04em; }
.card-prices s { color: #96a39b; font-size: 10px; }
.quick-add-form { margin: 0; }
.quick-add { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.quick-add:hover { background: var(--brand-dark); transform: rotate(90deg); }
.quick-add svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.quick-add.disabled { background: #e6eae5; color: #9aa49c; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-block: 48px 28px; }
.why-item { padding: 20px; border-radius: 15px; background: #eaf1e9; }
.why-item .why-symbol { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 11px; border-radius: 11px; background: #fff; color: var(--brand); font-size: 17px; }
.why-item h3 { margin: 0 0 5px; font-size: 13px; letter-spacing: -.02em; }
.why-item p { margin: 0; color: #6e8075; font-size: 11px; line-height: 1.7; }

.page-head { padding: 37px 0 22px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 11px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { color: #b3beb5; }
.page-head h1, .content-page h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.06em; }
.page-subtitle { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.category-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.result-note { color: var(--muted); font-size: 11px; }
.sort { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; font-size: 11px; }
.sort-label { color: var(--muted); margin-right: 3px; }
.sort a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; transition: background .18s, border-color .18s; }
.sort a:hover, .sort a.active { border-color: #b9d4bf; background: #edf6e8; color: var(--brand-dark); }
.empty-state { padding: 60px 20px; border: 1px dashed #cad8cd; border-radius: 18px; background: var(--surface); text-align: center; }
.empty-state .empty-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 13px; border-radius: 17px; background: #eaf4e8; color: var(--brand); font-size: 25px; }
.empty-state h2 { font-size: 21px; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 28px 0; }
.pager a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--brand); font-size: 12px; font-weight: 700; }
.pager a:hover { border-color: var(--brand); }

.prod { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 65px); align-items: start; padding-top: 25px; }
.product-gallery { position: sticky; top: 20px; }
.product-image { display: grid; place-items: center; min-height: 420px; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #f5f8f4, #eaf0e9); }
.product-image img { width: 100%; height: 100%; max-height: 540px; padding: 36px; object-fit: contain; }
.product-info { padding: 12px 0 20px; }
.product-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.product-kicker .divider-dot { color: #b1bdb4; }
.product-kicker .verified-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; background: #e5f3e4; color: var(--brand-dark); font-size: 9px; }
.product-info h1 { margin: 17px 0 14px; font: 800 clamp(28px, 3.3vw, 41px)/1.15 'Manrope', sans-serif; letter-spacing: -.065em; }
.product-rating-note { margin: 0 0 19px; color: var(--muted); font-size: 12px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px; margin: 0 0 20px; }
.price b { font: 800 29px/1.2 'Manrope', sans-serif; letter-spacing: -.055em; }
.price s { color: #96a39b; font-size: 14px; }
.product-savings { display: inline-flex; align-items: center; margin-bottom: 20px; padding: 6px 9px; border-radius: 7px; background: #e9f6d9; color: #36663d; font-size: 10px; font-weight: 800; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
.product-actions .btn { min-height: 51px; min-width: 170px; }
.stock-prompt { display: flex; align-items: center; gap: 7px; color: var(--brand); font-size: 11px; font-weight: 700; }
.stock-prompt span { width: 7px; height: 7px; border-radius: 50%; background: #5bb073; }
.product-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 22px 0; }
.product-benefit { padding: 12px 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.product-benefit strong { display: block; font-size: 10px; }
.product-benefit small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.product-description { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.product-description h2 { margin-bottom: 9px; font-size: 17px; }
.product-description p, .desc { color: #5e7069; font-size: 13px; line-height: 1.9; white-space: normal; }

.content-page { padding-top: 38px; padding-bottom: 25px; }
.content-page > h1 { margin-bottom: 21px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.cart-panel, .summary-panel, .checkout-panel { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.cart-panel { overflow: hidden; }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.cart-panel-head small { color: var(--muted); font-size: 10px; font-weight: 500; }
.cart-item { display: grid; grid-template-columns: 87px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 17px 20px; }
.cart-item + .cart-item { border-top: 1px solid #edf1ed; }
.cart-thumb { display: grid; place-items: center; width: 87px; height: 87px; overflow: hidden; border-radius: 11px; background: #f0f4ef; }
.cart-thumb img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.cart-item-info { min-width: 0; }
.cart-item-info small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.cart-item-info > a { display: block; font: 700 13px/1.45 'Manrope', sans-serif; }
.cart-item-info > a:hover { color: var(--brand); }
.cart-unit-price { margin-top: 5px; color: #71817a; font-size: 11px; }
.cart-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.qty-form { display: inline-flex; align-items: center; gap: 5px; }
.qty-form input { width: 53px; height: 33px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--ink); text-align: center; }
.mini-btn { display: inline-grid; place-items: center; min-width: 34px; height: 33px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.remove-btn { min-width: 33px; color: #9aa49e; font-size: 18px; }
.cart-subtotal { align-self: start; padding-top: 3px; font: 800 14px 'Manrope', sans-serif; white-space: nowrap; }
.summary-panel { padding: 20px; }
.summary-panel h2 { margin-bottom: 18px; font-size: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; margin: 11px 0; color: var(--muted); font-size: 12px; }
.summary-line strong { color: var(--ink); font-size: 12px; }
.summary-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.summary-total strong { font: 800 20px 'Manrope', sans-serif; letter-spacing: -.04em; }
.summary-panel .btn { width: 100%; margin-top: 19px; }
.secure-note { display: flex; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.empty-cart { padding: 55px 25px; text-align: center; }
.empty-cart .empty-icon { display: grid; place-items: center; width: 63px; height: 63px; margin: 0 auto 15px; border-radius: 20px; background: #eaf4e8; color: var(--brand); }
.empty-cart .empty-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty-cart h2 { margin: 0 0 6px; font-size: 21px; }
.empty-cart p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.total { font-size: 18px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.checkout-panel { padding: 23px; }
.checkout-panel h2 { margin: 0 0 19px; font-size: 18px; }
.checkout-panel .form { max-width: none; }
.checkout-aside { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.checkout-aside h2 { margin: 0 0 16px; font-size: 18px; }
.order-mini-item { display: grid; grid-template-columns: 47px 1fr auto; gap: 10px; align-items: center; padding-block: 9px; border-bottom: 1px solid #edf1ed; }
.order-mini-thumb { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 8px; background: #eff4ee; overflow: hidden; }
.order-mini-thumb img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.order-mini-item strong { display: block; font-size: 10px; line-height: 1.4; }
.order-mini-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.order-mini-price { font-size: 10px; font-weight: 800; white-space: nowrap; }
.err { margin: 0 0 17px; padding: 11px 13px; border: 1px solid #f0cbc7; border-radius: 9px; background: #fff3f1; color: #a73f37; font-size: 12px; }
.form { display: grid; gap: 15px; max-width: 600px; }
.form label { display: grid; gap: 6px; color: #334e45; font-size: 11px; font-weight: 700; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dce5dd; border-radius: 9px; outline: 0; background: #fbfcfa; color: var(--ink); font: 13px 'DM Sans', sans-serif; transition: border-color .18s, box-shadow .18s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #8fc29d; box-shadow: 0 0 0 3px rgba(47, 122, 75, .08); }
.form input[type=radio], .form input[type=checkbox] { accent-color: var(--brand); }
.form fieldset { display: grid; gap: 9px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; }
.form fieldset legend { padding: 0 5px; color: #334e45; font-size: 11px; font-weight: 800; }
.form fieldset label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form fieldset input { margin: 0; }
.form .btn { justify-self: start; min-width: 170px; }
.form textarea { resize: vertical; }

.success-card { max-width: 700px; margin: 50px auto 15px; padding: 45px 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 24px; background: #e4f4d3; color: var(--brand); font-size: 31px; }
.success-card h1 { margin: 0 0 9px; font-size: 32px; letter-spacing: -.06em; }
.success-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.success-card .btn { margin-inline: auto; }

.site-footer { margin-top: 57px; padding-top: 45px; background: #183823; color: #f0f6ee; }
.footer-main { display: grid; grid-template-columns: 1.55fr 1fr 1.2fr 1.1fr; gap: 45px; padding-bottom: 36px; }
.logo-footer .logo-mark { background: var(--lime); color: #1a3a31; }
.logo-footer .logo-copy small { color: #a7beb0; }
.footer-brand p { max-width: 285px; margin: 17px 0 0; color: #afc3b6; font-size: 11px; line-height: 1.9; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h4 { margin: 4px 0 5px; color: #fff; font: 800 12px 'Manrope', sans-serif; }
.footer-column a, .footer-column span { color: #b2c5b8; font-size: 11px; transition: color .18s; }
.footer-column a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 16px; border-top: 1px solid rgba(234, 247, 235, .13); color: #8ea99a; font-size: 10px; }
.footer-heart { color: var(--lime); }

/* Admin pages reuse the same visual system. */
.adm { min-height: 100vh; padding: 34px 0; background: var(--bg); }
.adm > .wrap { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.adm h1 { margin: 16px 0 22px; font-size: 27px; letter-spacing: -.05em; }
.adm > .wrap > p:first-child { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0 -27px 25px; padding: 0 27px 19px; border-bottom: 1px solid var(--line); }
.adm > .wrap > p:first-child a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); font-size: 12px; font-weight: 700; }
.adm > .wrap > p:first-child a:hover { background: #edf6e8; }
.adm table { width: 100%; border-collapse: collapse; }
.adm th, .adm td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 11px; }
.adm th { color: var(--muted); font-weight: 700; }
.adm td button, .adm td select, .adm td a { min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--brand); font-size: 11px; cursor: pointer; }
.adm td button:hover, .adm td a:hover { border-color: var(--brand); }
.adm .form { max-width: 650px; }
.adm .form label { margin-bottom: 3px; }

@media (min-width: 1500px) { .hero { min-height: 420px; } .hero-visual { min-height: 410px; } }
@media (max-width: 1080px) {
    .header-inner { gap: 22px; }
    .help-link { display: none; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-main { gap: 28px; }
}
@media (max-width: 760px) {
    .wrap { width: min(100% - 32px, 600px); }
    .header-inner { min-height: auto; flex-wrap: wrap; gap: 13px; padding-block: 15px; }
    .logo-mark { width: 38px; height: 38px; border-radius: 12px; }
    .logo-copy strong { font-size: 19px; }
    .logo-copy small { font-size: 7px; }
    .header-actions { margin-left: auto; }
    .cartlink { gap: 5px; }
    .cartlink svg { width: 22px; }
    .cart-label { display: none; }
    .search { flex: 0 0 100%; max-width: none; order: 3; height: 44px; }
    .cats { min-height: 45px; gap: 22px; }
    .nav-note { display: none; }
    .hero-wrap { padding-top: 17px; }
    .trust { grid-template-columns: 1fr 1fr; margin-block: 14px 35px; }
    .trust-item { justify-content: flex-start; min-height: 72px; padding: 12px; gap: 9px; }
    .trust-item + .trust-item { border-left: 0; }
    .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .trust-icon { width: 34px; height: 34px; border-radius: 10px; }
    .trust-item strong { font-size: 10px; }
    .trust-item small { font-size: 9px; }
    .section { margin-top: 35px; }
    .section-heading { margin-bottom: 14px; }
    .section-heading h2, h2 { font-size: 23px; }
    .eyebrow { font-size: 9px; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-tile { min-height: 126px; padding: 13px; }
    .category-tile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 105px; }
    .category-icon { width: 38px; height: 38px; }
    .category-tile strong { font-size: 12px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card-media { margin: 5px 5px 0; border-radius: 10px; aspect-ratio: .98 / 1; }
    .condition-tag, .sale-tag { top: 7px; min-height: 20px; padding-inline: 6px; font-size: 7px; }
    .condition-tag { left: 7px; }
    .sale-tag { right: 7px; }
    .card-body { padding: 10px; }
    .card-meta { font-size: 9px; }
    .stock-label { gap: 3px; font-size: 8px; }
    .card-title { min-height: 40px; margin: 6px 0 9px; font-size: 11px; }
    .card-bottom { padding-top: 9px; }
    .card-prices { gap: 4px; }
    .card-prices strong { font-size: 12px; }
    .card-prices s { font-size: 9px; }
    .quick-add { width: 30px; height: 30px; border-radius: 9px; }
    .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 35px 20px; }
    .why-item { padding: 14px; }
    .why-item h3 { font-size: 11px; }
    .why-item p { font-size: 10px; }
    .page-head { padding-top: 25px; }
    .page-head h1, .content-page h1 { font-size: 29px; }
    .category-tools { align-items: flex-start; flex-direction: column; gap: 10px; }
    .prod { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
    .product-gallery { position: static; }
    .product-image { min-height: 260px; max-height: 420px; aspect-ratio: 1.1 / 1; }
    .product-image img { padding: 24px; }
    .product-info { padding-top: 0; }
    .product-info h1 { margin-top: 11px; font-size: 32px; }
    .product-benefits { gap: 6px; }
    .product-benefit { padding: 9px 7px; }
    .product-benefit strong { font-size: 9px; }
    .product-benefit small { font-size: 8px; }
    .content-page { padding-top: 26px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 15px; }
    .cart-panel-head { padding: 14px; }
    .cart-item { grid-template-columns: 65px minmax(0,1fr); gap: 10px; padding: 13px; }
    .cart-thumb { width: 65px; height: 65px; grid-row: span 2; }
    .cart-item-info > a { font-size: 11px; }
    .cart-subtotal { grid-column: 2; grid-row: 2; justify-self: start; padding: 0; font-size: 12px; }
    .cart-controls { justify-content: flex-start; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
    .summary-panel, .checkout-panel, .checkout-aside { padding: 17px; }
    .form .btn { width: 100%; }
    .success-card { margin-top: 28px; padding: 32px 20px; }
    .success-card h1 { font-size: 27px; }
    .site-footer { margin-top: 40px; padding-top: 32px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-bottom: 27px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 360px; }
    .footer-bottom { flex-direction: column; gap: 5px; font-size: 9px; }
    .adm { padding: 16px 0; }
    .adm > .wrap { padding: 16px; }
    .adm > .wrap > p:first-child { margin: 0 -16px 20px; padding: 0 16px 15px; }
    .adm table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 380px) {
    .wrap { width: calc(100% - 24px); }
    .trust-item { padding: 9px; }
    .trust-icon { width: 29px; height: 29px; }
    .trust-icon svg { width: 17px; }
    .card-body { padding: 8px; }
    .card-prices strong { font-size: 11px; }
    .quick-add { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.category-tile strong, .category-tile small { display: block; }

/* ===== Mobile menu (drawer) and phone refinements ===== */
.menu-toggle, .drawer-head, .drawer-foot, .nav-overlay { display: none; }
@media (max-width: 760px) {
    /* header: burger | logo | cart, search on its own row */
    .js .menu-toggle { display: inline-grid; place-content: center; gap: 5px; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
    .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
    .header-inner { gap: 12px; padding-block: 12px; }
    .cartlink { justify-content: center; min-width: 44px; min-height: 44px; }

    /* category bar becomes a slide-in drawer (only when JS is available) */
    .js .category-nav { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); display: flex; flex-direction: column; border: 0; background: var(--surface); box-shadow: 0 0 40px rgba(14, 34, 22, .25); transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
    .nav-open .category-nav { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
    .js .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 800 18px 'Manrope', sans-serif; }
    .drawer-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
    .js .cats { flex: 1; flex-direction: column; align-items: stretch; gap: 0; width: 100%; min-height: 0; margin: 0; padding: 4px 20px; overflow-y: auto; white-space: normal; }
    .js .cats a { align-self: auto; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 600; }
    .js .cats a::after { content: '\203A'; color: #9aa89f; font-size: 24px; }
    .js .cats .nav-all { color: var(--brand); font-weight: 800; }
    .js .drawer-foot { display: grid; gap: 2px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); font-size: 15px; }
    .drawer-foot small { color: var(--muted); font-size: 12px; }
    .drawer-foot a { padding: 6px 0; color: var(--brand-dark); font-weight: 700; }
    .js .nav-overlay { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(14, 34, 22, .5); opacity: 0; pointer-events: none; transition: opacity .25s; }
    .nav-open .nav-overlay { opacity: 1; pointer-events: auto; }
    html.nav-open { overflow: hidden; }

    /* hero: no decorative device art, text and button come first */

    /* readable text sizes (nothing below 10px, body copy 12-14px) */
    .logo-copy small { font-size: 8px; }
    .eyebrow { font-size: 10px; }
    .trust-item strong { font-size: 12px; }
    .trust-item small { font-size: 11px; }
    .section-heading { align-items: center; gap: 12px; }
    .see-all { font-size: 13px; }
    .see-all-name { display: none; }
    .category-tile strong { font-size: 15px; }
    .category-tile small { font-size: 11px; }
    .condition-tag, .sale-tag { min-height: 22px; font-size: 9px; }
    .card-meta { font-size: 11px; }
    .stock-label { font-size: 10px; }
    .card-title { min-height: 41px; font-size: 13px; }
    .card-prices strong { font-size: 15px; }
    .card-prices s { font-size: 11px; }
    .quick-add { width: 40px; height: 40px; }
    .why-item h3 { font-size: 14px; }
    .why-item p { font-size: 12px; }
    .breadcrumbs { font-size: 12px; }
    .page-subtitle { font-size: 14px; }
    .result-note, .sort { font-size: 12px; }
    .sort a { padding: 9px 12px; }

    /* product, cart, checkout */
    .product-kicker { font-size: 12px; }
    .product-actions form { flex: 1 1 100%; }
    .product-actions .btn { width: 100%; }
    .product-benefit strong { font-size: 11px; }
    .product-benefit small { font-size: 10px; }
    .product-description .desc { font-size: 14px; }
    .cart-item-info > a { font-size: 14px; }
    .cart-unit-price { font-size: 12px; }
    .cart-subtotal { font-size: 14px; }
    .mini-btn { min-width: 40px; min-height: 40px; }
    .qty-form input { height: 40px; font-size: 16px; }
    .summary-line, .summary-line strong { font-size: 14px; }
    .summary-total { font-size: 15px; }
    .secure-note { font-size: 12px; }
    .form label, .form fieldset legend { font-size: 13px; }
    .form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { min-height: 48px; font-size: 16px; }
    .form fieldset label { min-height: 40px; font-size: 14px; }
    .order-mini-item strong, .order-mini-price { font-size: 13px; }
    .order-mini-item small { font-size: 12px; }

    /* search field: 16px stops iOS from zooming the page on focus */
    .search input { font-size: 16px; }
    .search button { padding: 0 16px; font-size: 13px; }

    /* footer */
    .footer-brand p, .footer-column a, .footer-column span { font-size: 13px; }
    .footer-column h4 { font-size: 14px; }
    .footer-column a { padding-block: 2px; }
    .footer-bottom { font-size: 11px; }
}
@media (max-width: 380px) {
    .card-prices strong { font-size: 14px; }
    .quick-add { width: 38px; height: 38px; }
}


/* ===== Тема «Усадьба»: нежно-зелёный фон, белые карточки, тёплый акцент ===== */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url('/assets/flowers-bg.svg') 0 0 / 460px repeat; opacity: .14; }
.site-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
.category-nav { background: rgba(255, 255, 255, .94); border-top: 0; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(24, 56, 35, .05); }
.product-card, .category-tile, .trust, .category-tools, .cart-panel, .summary-panel, .checkout-panel, .checkout-aside, .success-card, .empty-state { border-color: var(--line); box-shadow: 0 2px 10px rgba(24, 56, 35, .06); }
.why-item { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(24, 56, 35, .05); }
.why-item .why-symbol { background: #e3efdc; }
.btn, .quick-add, .search button { background: var(--accent); }
.btn:hover, .quick-add:hover, .search button:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(198, 93, 33, .22); }
.quick-add.disabled { background: #e1e8dd; }
.search { background: #fff; border-color: #bcd3b3; }
.cart-count { background: var(--lime); }
.hero-wrap { padding-top: 30px; }
.logo-copy small { letter-spacing: .14em; }
h1, h2, .logo-copy strong, .section-heading h2, .page-head h1, .content-page h1, .product-info h1, .success-card h1 { font-family: Georgia, 'Times New Roman', serif; }
.section-heading h2, .page-head h1, .content-page h1, .product-info h1, .success-card h1, .logo-copy strong { font-weight: 700; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Блок советов (слайдер) ===== */
.tips { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; border-radius: 26px; background: #173f2a; color: #f3f8ee; box-shadow: 0 14px 34px rgba(24, 56, 35, .22); isolation: isolate; }
.tips::before { content: ''; position: absolute; z-index: -1; width: 460px; height: 460px; top: -210px; right: 14%; border: 1px solid rgba(190, 230, 170, .12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(190, 230, 170, .03), 0 0 0 80px rgba(190, 230, 170, .03); }
.tips-main { display: flex; flex-direction: column; padding: 38px 20px 30px 52px; }
.tips .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--lime); }
.tips .eyebrow::before { content: ''; width: 21px; height: 1px; background: var(--lime); }
.tip-slides { display: grid; flex: 1; }
.tip { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s, transform .45s, visibility 0s .45s; }
.tip.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tip-num { display: block; margin-bottom: 2px; color: transparent; -webkit-text-stroke: 1.5px var(--lime); font: 700 46px/1 Georgia, serif; }
.tip h2 { max-width: 560px; margin: 0 0 12px; color: #fff; font: 700 clamp(23px, 2.5vw, 31px)/1.22 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; }
.tip p { max-width: 560px; margin: 0; color: #cfe2cb; font-size: 14px; line-height: 1.75; }
.tip .tip-shop { margin-top: 14px; padding: 2px 0 2px 13px; border-left: 3px solid var(--lime); color: #f5e6c0; font-size: 13px; line-height: 1.65; }
.tip-shop b { display: block; margin-bottom: 2px; color: var(--lime); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.tips-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tips-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: transparent; color: #fff; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s; }
.tips-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.tip-dots { display: flex; align-items: center; gap: 7px; }
.tip-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .2s, width .25s, border-radius .25s; }
.tip-dot.is-active { width: 24px; border-radius: 6px; background: var(--lime); }
.tips .btn { margin-left: auto; background: var(--lime); color: #2b2111; }
.tips .btn:hover { background: #f7c968; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.tips-visual { position: relative; min-height: 340px; }
.tips-glow { position: absolute; width: 320px; height: 320px; right: 12%; top: 26px; border-radius: 50%; background: #2d6a47; }
.tips-glow::after { content: ''; position: absolute; inset: 22px; border: 1px solid rgba(220, 245, 206, .2); border-radius: 50%; }
.tips-visual img { position: absolute; z-index: 2; right: calc(12% + 8px); bottom: 8px; width: 300px; height: auto; }
.tips-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .1); }
.tips-progress span { display: block; height: 100%; width: 0; background: var(--lime); }
.tips-progress.run span { animation: tipfill var(--dur, 20000ms) linear forwards; }
.tips.is-paused .tips-progress span { animation-play-state: paused; }
@keyframes tipfill { from { width: 0; } to { width: 100%; } }
@media (max-width: 1080px) { .tips-main { padding-left: 38px; } .tips-visual img { right: 6%; width: 260px; } .tips-glow { right: 4%; } }
@media (max-width: 760px) {
    .hero-wrap { padding-top: 17px; }
    body::before { background-size: 320px; }
    .tips { grid-template-columns: 1fr; border-radius: 21px; }
    .tips-visual { display: none; }
    .tips-main { padding: 26px 20px 28px; }
    .tip-num { font-size: 38px; }
    .tip p { font-size: 14px; }
    .tips .btn { margin-left: 0; width: 100%; min-height: 48px; }
    .tips-controls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tip { transition: none; } .tips-progress { display: none; } }


/* ===== Статус заказа ===== */
.status-form { max-width: none; gap: 13px; }
.status-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.status-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-or::before, .status-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.status-result:not(:empty) { margin-top: 18px; display: grid; gap: 12px; }
.status-msg { margin: 0; padding: 12px 14px; border: 1px solid #ecd9ac; border-radius: 10px; background: #fff8e8; color: #7a5a12; font-size: 13px; line-height: 1.55; }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #f3f8ef; }
.status-no { min-width: 170px; padding: 14px 18px; border-radius: 12px; background: #173f2a; color: #fff; }
.status-no small { display: block; color: #b9d3b9; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-no strong { display: block; margin: 2px 0; color: var(--lime); font: 700 34px/1.1 Georgia, serif; }
.status-no em { display: block; max-width: 190px; color: #cfe2cb; font-size: 11px; font-style: normal; line-height: 1.45; }
.status-info p { margin: 8px 0 6px; font-size: 14px; line-height: 1.55; }
.status-info small { color: var(--muted); font-size: 12px; }
.status-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: #3b2a07; font-size: 12px; font-weight: 800; }
.is-paid .status-pill, .is-done .status-pill { background: #cfe8c9; color: #1f5a31; }
.is-prepaid .status-pill { background: #f8e8c4; color: #7a4f00; }
.is-shipped .status-pill { background: #cfe3f3; color: #1f4f7a; }
.is-cancelled .status-pill { background: #f6d6d2; color: #8e2f27; }
.order-no-big { display: inline-block; margin: 6px 0 14px; padding: 14px 26px; border-radius: 14px; background: #173f2a; color: #fff; }
.order-no-big small { display: block; color: #b9d3b9; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.order-no-big strong { color: var(--lime); font: 700 40px/1.15 Georgia, serif; }
.content-page .status-panel { max-width: 640px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 2px 10px rgba(24, 56, 35, .06); }
@media (max-width: 560px) { .status-pair { grid-template-columns: 1fr; } .status-card { grid-template-columns: 1fr; } .status-no { min-width: 0; } .status-no em { max-width: none; } }

.status-track { margin: 0 0 8px !important; padding: 8px 11px; border-radius: 9px; background: #fff; border: 1px dashed #b7d0ad; font-size: 13px !important; }
.adm .flash { margin: 0 0 14px; padding: 11px 14px; border: 1px solid #b7d0ad; border-radius: 10px; background: #f1f8ed; color: #1f5a31; font-size: 13px; }

/* ===== Строка «Статус заказа» под слайдером ===== */
.status-strip { max-width: 780px; margin-top: 14px; scroll-margin-top: 100px; }   /* по центру: .wrap центрирует блок, max-width делает его короче */
.status-line { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 2px 10px rgba(24, 56, 35, .06); }
.status-line-title { flex: none; font: 700 18px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; white-space: nowrap; }
.status-line-field { position: relative; flex: 1; min-width: 0; }
.status-line-field input { width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #f6faf3; color: var(--ink); font: inherit; font-size: 15px; }
.status-line-field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 122, 75, .15); background: #fff; }
.sl-ph { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; transition: opacity .28s, transform .28s; }
.sl-ph.is-fade { opacity: 0; transform: translateY(-85%); }
.status-line-field input:focus ~ .sl-ph, .status-line-field input:not(:placeholder-shown) ~ .sl-ph { opacity: 0; }
.status-line .btn { flex: none; min-height: 46px; padding: 0 26px; }
.status-strip .status-result:not(:empty) { margin-top: 12px; }
.status-close { justify-self: end; padding: 2px 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.status-close:hover { color: var(--ink); }
@media (max-width: 640px) { .status-line { flex-wrap: wrap; gap: 10px; padding: 14px; } .status-line-title { width: 100%; font-size: 17px; } .status-line .btn { padding: 0 18px; } }

/* v8: оплата/предоплата, доставка, админка */
.status-pay { margin: 0 0 8px !important; padding: 8px 11px; border-radius: 9px; background: #fff; border: 1px dashed #b7d0ad; font-size: 13px !important; }
.addr-fields { display: grid; gap: 15px; }
.addr-fields[hidden], .pickup-note[hidden] { display: none; }
.pickup-note { margin: 0; padding: 10px 12px; border-radius: 9px; background: #f1f8ed; color: #1f5a31; font-size: 13px; }
.adm td input:not([type=checkbox]) { min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 11px; }
.adm td .pp, .adm td .tr { display: block; margin-top: 6px; }
.adm td .pp-btn { margin-left: 3px; padding: 5px 7px; }
.adm .pay-paid { color: #1f7a3f; } .adm .pay-prepaid { color: #b26a00; } .adm .pay-none { color: #8a4a4a; }
.adm .form small a { font-weight: 500; text-decoration: underline; }

/* ===== Стрелки прокрутки меню категорий (компьютер) ===== */
.cats-bar { display: flex; align-items: center; gap: 10px; }
.cats-bar .cats { flex: 1 1 auto; min-width: 0; width: auto; margin: 0; scroll-behavior: smooth; }
.cats-arrow { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--brand); font-size: 22px; line-height: 1; cursor: pointer; transition: background .18s, border-color .18s, opacity .18s; }
.cats-arrow:hover:not(:disabled), .cats-arrow:focus-visible { background: #e3efdc; border-color: var(--brand); }
.cats-arrow:disabled { opacity: .35; cursor: default; }
.cats-arrow[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cats-bar .cats { scroll-behavior: auto; } }
@media (max-width: 760px) {
    .cats-bar { display: contents; }
    .cats-arrow, .cats-arrow[hidden] { display: none; }
}

/* «Статус заказа» в верхнем меню на компьютере не показываем (он есть на главной); в шторке телефона остаётся */
.cats .nav-status { display: none; }
@media (max-width: 760px) { .cats .nav-status { display: inline-flex; } }

/* ===== v12 ===== */
/* Меню «Нужна помощь? Напишите нам» */
.help-menu { position: relative; }
.help-link { cursor: pointer; }
.help-pop { position: absolute; z-index: 70; top: calc(100% + 12px); right: 0; width: 250px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 36px rgba(24, 56, 35, .16); }
.help-pop[hidden] { display: none; }
.help-pop a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--ink); }
.help-pop a:hover, .help-pop a:focus-visible { background: #edf6e8; }
.help-pop strong { display: block; font-size: 13px; }
.help-pop small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.hp-ico { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; color: #fff; font-size: 11px; font-weight: 800; }
.hp-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-mail { background: var(--brand); }
.hp-vk { background: #0077ff; }
.hp-max { background: #6b4bff; font-size: 14px; }
@media (max-width: 1080px) { .help-menu { display: none; } }

/* Добавление в корзину без перехода */
.quick-add.added { background: var(--brand); transform: none; }
.quick-add.added svg { display: none; }
.quick-add.added::after { content: '\2713'; font-size: 16px; font-weight: 800; line-height: 1; }

/* Доставка в оформлении */
.ship-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.ship-note[hidden] { display: none; }

/* Админка: товары */
.tbl-products td { vertical-align: middle; }
.adm-thumb { display: block; flex: none; width: 48px; min-width: 48px; max-width: none; height: 48px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; background: #f3f8ef; }
.tbl-products .thumb-cell { width: 64px; min-width: 64px; padding-right: 4px; }
.img-preview { display: block; margin-bottom: 6px; }
.img-preview small { display: block; margin-top: 7px; }
.img-preview img { display: block; width: 240px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); border-radius: 14px; background: #f3f8ef; }
.img-preview small { color: var(--muted); font-size: 11px; }
