:root {
  --ink: #14231d;
  --muted: #65746c;
  --line: #dfe7e2;
  --paper: #ffffff;
  --wash: #f5f8f6;
  --brand: #0b7357;
  --brand-dark: #07523f;
  --accent: #dff5ec;
  --lime: #c9f36a;
  --violet: #7667f8;
  --warm: #fff3d6;
  --danger: #b42318;
  --warning: #9a6700;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 35, 29, .07);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 0 12%, rgba(201, 243, 106, .09), transparent 22rem), radial-gradient(circle at 100% 36%, rgba(118, 103, 248, .06), transparent 25rem), var(--wash); font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.04em; margin-bottom: .5rem; }
h2 { font-size: 1.45rem; }
img { max-width: 100%; }
.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.announcement { color: #dff5ec; background: #082f25; font-size: .78rem; }
.announcement .shell { display: flex; justify-content: center; gap: 10px; padding-block: 7px; text-align: center; }
.announcement span { color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(223, 231, 226, .86); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.45rem; font-weight: 850; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; color: white; background: linear-gradient(145deg, #10a278, var(--brand-dark)); box-shadow: 0 5px 14px rgba(11, 115, 87, .22); font-size: 1rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-weight: 650; }
nav a { position: relative; padding-block: 8px; color: var(--ink); }
nav > a:not(.cart-link)::after { position: absolute; right: 50%; bottom: 2px; left: 50%; height: 2px; border-radius: 2px; background: var(--brand); content: ""; transition: left .2s ease, right .2s ease; }
nav > a:hover::after, nav > a.active::after { right: 0; left: 0; }
.cart-link { padding: 8px 11px; border-radius: 999px; background: #f1f5f2; }
.count { background: var(--brand); color: white; border-radius: 999px; padding: 2px 7px; font-size: .8rem; }
main { min-height: calc(100vh - 190px); padding-block: 44px 88px; }
.site-footer { padding: 58px 0 22px; color: #b9cbc3; border-top: 0; background: #092e25; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 70px; }
.site-footer .brand { color: white; }
.footer-brand p { max-width: 440px; margin-top: 18px; }
.site-footer h3 { margin-bottom: 15px; color: white; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; margin: 8px 0; color: #c9d9d2; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); align-items: center; gap: 48px; min-height: 490px; padding: 62px 58px 92px; border-radius: 28px; color: white; background: radial-gradient(circle at 82% 7%, rgba(201, 243, 106, .18), transparent 25%), radial-gradient(circle at 18% 100%, rgba(118, 103, 248, .22), transparent 34%), linear-gradient(135deg, #062e25, #0a7055); box-shadow: 0 24px 60px rgba(7, 82, 63, .2); }
.hero::after { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 38px 38px; content: ""; mask-image: linear-gradient(to right, transparent, black); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; font-size: clamp(2.8rem, 5.4vw, 5rem); }
.hero h1 em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero p { max-width: 650px; margin-bottom: 0; color: #dcefe8; font-size: 1.16rem; }
.eyebrow { display: block; margin-bottom: .55rem; color: var(--brand); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #aee6d4; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.button.light { color: #073d2f; border-color: white; background: white; }
.button.light:hover { color: #073d2f; border-color: var(--lime); background: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: white; font-weight: 750; }
.text-link:hover { color: var(--lime); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-visual { position: relative; z-index: 2; min-height: 330px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { inset: 22px 18px; }
.orbit-two { inset: 62px 58px; border-style: dashed; }
.market-symbol { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 128px; height: 138px; border: 1px solid rgba(255,255,255,.35); border-radius: 28px 28px 38px 38px; background: linear-gradient(155deg, rgba(255,255,255,.28), rgba(255,255,255,.1)); box-shadow: 0 24px 50px rgba(0,0,0,.2); transform: translate(-50%, -50%) rotate(-3deg); backdrop-filter: blur(10px); }
.market-symbol strong { color: var(--lime); font-size: 4rem; }
.bag-handle { position: absolute; top: -24px; width: 58px; height: 44px; border: 8px solid rgba(255,255,255,.68); border-bottom: 0; border-radius: 30px 30px 0 0; }
.float-card { position: absolute; display: flex; align-items: center; gap: 9px; min-width: 165px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.38); border-radius: 13px; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(0,0,0,.15); backdrop-filter: blur(9px); }
.float-card > span { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--brand-dark); background: var(--accent); font-weight: 900; }
.float-card strong, .float-card small { display: block; line-height: 1.3; }
.float-card strong { font-size: .84rem; }
.float-card small { font-size: .7rem; }
.float-buy { top: 18px; left: -12px; }
.float-sell { right: -8px; bottom: 22px; }
.float-local { bottom: 5px; left: -20px; }
.marketplace-search { position: relative; z-index: 3; display: grid; grid-template-columns: 1.2fr .9fr auto; gap: 12px; width: calc(100% - 64px); margin: -42px auto 0; padding: 15px; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 50px rgba(20, 35, 29, .16); }
.marketplace-search label { margin: 0 0 4px 2px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.marketplace-search input { min-height: 48px; border: 0; background: #f4f7f5; }
.marketplace-search .search-field + .search-field { padding-left: 12px; border-left: 1px solid var(--line); }
.search-button { align-self: end; min-height: 48px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 19px; border: 1px solid var(--brand); border-radius: 12px; color: white; background: var(--brand); box-shadow: 0 7px 18px rgba(11, 115, 87, .14); font: inherit; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { color: white; background: var(--brand-dark); }
.button:hover { box-shadow: 0 10px 25px rgba(11, 115, 87, .2); transform: translateY(-1px); }
.button.secondary { color: var(--ink); border-color: var(--line); background: white; }
.button.secondary:hover { color: var(--brand); border-color: var(--brand); }
.button.full { width: 100%; margin-top: 12px; }
.button.compact { min-height: 40px; padding: 8px 14px; }
.button[disabled] { cursor: not-allowed; opacity: .5; }
.inline { display: inline; margin: 0; }
.link-button { border: 0; padding: 0; color: var(--brand); background: none; font: inherit; font-weight: 650; cursor: pointer; }
.danger { color: var(--danger); }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 28px 0 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.trust-strip > div { display: flex; align-items: center; gap: 11px; padding: 16px; background: rgba(255,255,255,.85); }
.trust-strip p, .trust-strip strong, .trust-strip small { display: block; margin: 0; }
.trust-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--brand); background: var(--accent); font-weight: 900; }
.category-row { display: flex; flex-wrap: wrap; gap: 9px; padding: 24px 0 28px; }
.chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); }
.chip.active { color: white; border-color: var(--brand); background: var(--brand); }
.market-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 22px 0 18px; }
.market-heading h2 { margin-bottom: .2rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; }
.market-heading p { margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid rgba(215, 226, 219, .9); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.product-card { overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.product-card:hover { border-color: #bdd9cc; box-shadow: 0 18px 45px rgba(20, 35, 29, .12); transform: translateY(-4px); }
.product-media { position: relative; display: block; overflow: hidden; }
.product-card img, .product-card .image-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card img, .product-card .image-placeholder { transition: transform .35s ease; }
.product-card:hover img, .product-card:hover .image-placeholder { transform: scale(1.035); }
.category-badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; color: #17352b; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: .7rem; font-weight: 800; }
.card-body { padding: 18px; }
.vendor-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .82rem; }
.location-pill { overflow: hidden; max-width: 55%; padding: 3px 7px; border-radius: 999px; color: var(--brand-dark); background: var(--accent); text-overflow: ellipsis; white-space: nowrap; }
.results-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.results-heading h2 { margin: 0; }
.card-body h2 { min-height: 2.3em; margin: .25rem 0 .7rem; font-size: 1.15rem; }
.price { margin: 8px 0; color: var(--ink); font-size: 1.35rem; font-weight: 850; }
.price.large { font-size: 2rem; }
.stock-line { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #23a66f; box-shadow: 0 0 0 4px #e2f7ed; }
.muted, .note, small { color: var(--muted); }
.small { font-size: .86rem; }
.image-placeholder { display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, #e8f6f0, #cee9df); font-size: 3rem; font-weight: 850; }
.image-placeholder.large { min-height: 440px; border-radius: var(--radius); font-size: 7rem; }
.detail-grid, .checkout-grid, .scanner-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 34px; align-items: start; }
.product-visual img { width: 100%; max-height: 620px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.lead { color: var(--muted); font-size: 1.08rem; }
.row-form { display: flex; align-items: end; gap: 12px; margin-top: 24px; }
.row-form input { width: 100px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin-bottom: .25rem; }
.page-heading p { max-width: 760px; color: var(--muted); }
.split { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.right { text-align: right; }
.button-row { display: flex; justify-content: flex-end; gap: 10px; }
.table-wrap { overflow-x: auto; margin-bottom: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); background: #f8faf9; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.quantity { width: 80px; }
.cart-actions { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.total-box { min-width: 320px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.total-box span, .total-box strong { display: block; }
.total-box strong { margin: 5px 0 10px; font-size: 1.8rem; }
.form-card, .summary-card { padding: 25px; }
.field { margin-bottom: 17px; }
label { display: block; margin-bottom: 6px; font-weight: 750; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #bcc9c2; border-radius: 9px; color: var(--ink); background: white; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(11, 115, 87, .14); border-color: var(--brand); }
input[type="checkbox"], input[type="radio"] { width: auto; }
.field small { display: block; margin-top: 5px; }
.errorlist { margin: 5px 0 0; padding-left: 20px; color: var(--danger); }
.form-error { margin-bottom: 18px; padding: 12px; border-radius: 9px; color: var(--danger); background: #fff0ee; }
.secure-payment-note { display: flex; gap: 10px; margin: 20px 0 4px; padding: 13px; border: 1px solid #bfe1d4; border-radius: 11px; background: #edf9f4; }
.secure-payment-note strong, .secure-payment-note small { display: block; }
.secure-icon { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: var(--brand); font-weight: 850; }
.summary-row, .clean-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.clean-list { margin: 0 0 20px; padding: 0; list-style: none; }
.success-panel { max-width: 750px; margin: 0 auto 34px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; color: white; background: var(--brand); font-size: 2rem; font-weight: 850; }
.success-icon.failed { background: var(--danger); }
.pin-box { max-width: 430px; margin: 24px auto 0; padding: 18px; border: 2px dashed var(--brand); border-radius: var(--radius); background: var(--accent); }
.pin-box span, .pin-box small, .pin-box strong { display: block; }
.pin-box strong { font-size: 2.1rem; letter-spacing: .22em; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.package-card { padding: 22px; }
.pickup-location { margin: 12px 0 16px; padding: 11px 13px; border-radius: 10px; color: var(--brand-dark); background: var(--accent); }
.pickup-location span, .pickup-location strong { display: block; }
.pickup-location span { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.barcode-wrap { margin: 20px 0; padding: 12px; text-align: center; border-radius: 10px; background: white; }
.barcode-wrap img { width: 100%; max-height: 145px; }
.barcode-wrap small { display: block; overflow-wrap: anywhere; }
.status { display: inline-block; padding: 5px 9px; border-radius: 999px; color: #405148; background: #e8eeea; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.status.active, .status.ready, .status.redeemed, .status.delivered { color: #086344; background: #daf4e8; }
.status.inactive, .status.new, .status.preparing, .status.accepted { color: #755400; background: #fff1c7; }
.status.cancelled { color: #9b1c14; background: #fde3e0; }
.center { margin-top: 28px; text-align: center; }
.payment-banner { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.payment-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 900px; margin: 0 auto 28px; padding: 22px 25px; border-left: 5px solid #635bff; }
.payment-card h2, .payment-card p { margin-bottom: .35rem; }
.payment-card.paid { border-left-color: var(--brand); }
.payment-check { flex: 0 0 auto; padding: 10px 15px; border-radius: 999px; color: #086344; background: #daf4e8; font-weight: 850; }
.track-payment { margin-top: 18px; text-align: right; }
.narrow { max-width: 720px; margin-inline: auto; }
.small-narrow { max-width: 520px; }
.result-section { margin-top: 38px; }
.list-card { overflow: hidden; }
.list-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border: 0; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-grid > div { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.info-grid span, .info-grid strong { display: block; }
.info-grid span { color: var(--muted); font-size: .8rem; }
.alert { padding: 10px 12px; border-radius: 9px; }
.alert.success { color: #086344; background: #daf4e8; }
.alert.warning { color: #8a5100; background: #fff0cd; }
.alert.neutral { color: #405148; background: #eef2ef; }
.section-heading { margin-top: 38px; }
.barcode-state { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.scanner-form { margin: 22px 0 14px; }
.scanner-form #id_action { display: flex; gap: 20px; padding: 8px 0; }
.scanner-form #id_action label { font-weight: 600; }
.scan-actions { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.camera-tools { display: flex; align-items: center; gap: 12px; }
.camera { width: 100%; margin-top: 14px; border-radius: var(--radius); background: #111; }
.scan-result { padding: 25px; border-top: 6px solid #8c9a92; }
.scan-result.good { border-top-color: var(--brand); }
.scan-result.warning { border-top-color: #d18c00; }
.scan-result.bad { border-top-color: var(--danger); }
.scan-result dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 15px; margin-bottom: 0; }
.scan-result dt { color: var(--muted); }
.scan-result dd { margin: 0; font-weight: 700; }
.messages { margin-bottom: 20px; }
.message { padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.message.success { color: #086344; border-color: #a7dac6; background: #e8f8f1; }
.message.error { color: var(--danger); border-color: #f2b8b3; background: #fff0ee; }
.empty { padding: 36px; text-align: center; grid-column: 1 / -1; }
.sell-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 48px; padding: 38px 42px; border-radius: 24px; color: white; background: radial-gradient(circle at 85% 30%, rgba(201,243,106,.22), transparent 28%), linear-gradient(130deg, #102c24, #164f3e); box-shadow: var(--shadow); }
.sell-cta h2 { margin-bottom: .45rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.sell-cta p { max-width: 680px; margin: 0; color: #cfe2da; }
.sell-cta .eyebrow { color: var(--lime); }

.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: center; min-height: 500px; padding: 60px; border-radius: 28px; background: radial-gradient(circle at 75% 15%, rgba(201,243,106,.3), transparent 26%), linear-gradient(145deg, #e8f7f0, #f7faef); box-shadow: var(--shadow); }
.about-copy h1 { max-width: 750px; font-size: clamp(2.7rem, 5vw, 4.7rem); }
.about-copy > p { max-width: 720px; color: #52685e; font-size: 1.15rem; }
.about-statement { padding: 34px; border-radius: 22px; color: white; background: #082f25; box-shadow: 18px 18px 0 var(--lime); transform: rotate(1.5deg); }
.about-statement span { display: block; margin-bottom: 14px; color: var(--lime); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.about-statement strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 500; line-height: 1.45; }
.about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; padding: 82px 25px 48px; }
.about-intro h2 { max-width: 420px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; }
.about-intro > p { margin: 26px 0 0; color: var(--muted); font-size: 1.13rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { position: relative; min-height: 300px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.value-card.featured { color: white; border-color: var(--brand); background: linear-gradient(145deg, #0b7357, #07523f); }
.value-card.featured p { color: #d0e9e0; }
.value-number { position: absolute; top: 18px; right: 22px; color: #d8e4dd; font-size: 3.5rem; font-weight: 900; line-height: 1; }
.value-card.featured .value-number { color: rgba(255,255,255,.13); }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 70px; border-radius: 14px; color: var(--brand); background: var(--accent); font-size: 1.35rem; font-weight: 900; }
.value-card.featured .value-icon { color: #092f25; background: var(--lime); }
.value-card h3 { margin-bottom: .5rem; font-size: 1.35rem; }
.value-card p { margin: 0; color: var(--muted); }
.two-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 70px 0; }
.side-card { min-height: 350px; padding: 38px; border-radius: 24px; }
.side-card h2 { margin-top: 60px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.side-card p { max-width: 540px; }
.side-card a { display: inline-flex; gap: 8px; margin-top: 16px; font-weight: 850; }
.buyer-side { color: #12261e; background: var(--warm); }
.seller-side { color: white; background: #222944; }
.seller-side p { color: #cdd2e5; }
.seller-side a { color: var(--lime); }
.side-label { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.6); font-size: .74rem; font-weight: 850; text-transform: uppercase; }
.seller-side .side-label { background: rgba(255,255,255,.1); }
.about-final { padding: 55px; border-radius: 26px; color: white; background: radial-gradient(circle at 90% 0, rgba(201,243,106,.2), transparent 30%), #0a624b; }
.about-final .eyebrow { color: var(--lime); }
.about-final h2 { max-width: 850px; font-size: clamp(2rem, 4vw, 3.5rem); }
.about-final p { color: #d5ece4; font-size: 1.1rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .checkout-grid, .scanner-layout { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .marketplace-search { grid-template-columns: 1fr 1fr; }
  .marketplace-search .search-button { grid-column: 1 / -1; }
  .hero, .about-hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 250px; }
  .value-icon { margin-bottom: 45px; }
}
@media (max-width: 640px) {
  .nav-wrap, .hero, .page-heading.split, .cart-actions, .scan-actions { align-items: stretch; flex-direction: column; }
  .nav-wrap { padding-block: 12px; }
  nav { gap: 12px; }
  main { padding-block: 28px 50px; }
  .announcement span { display: none; }
  .hero { min-height: 0; padding: 42px 25px 82px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-visual { min-height: 250px; }
  .float-card { min-width: 150px; }
  .float-buy { left: 0; }
  .float-sell { right: 0; }
  .float-local { display: none; }
  .product-grid, .package-grid, .info-grid { grid-template-columns: 1fr; }
  .total-box { min-width: 0; width: 100%; }
  .button-row { justify-content: stretch; flex-wrap: wrap; }
  .button-row .button { flex: 1; }
  .scanner-form #id_action { flex-direction: column; gap: 4px; }
  .marketplace-search { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .marketplace-search .search-field + .search-field { padding-left: 0; border-left: 0; }
  .marketplace-search .search-button { grid-column: auto; }
  .payment-card { align-items: stretch; flex-direction: column; }
  .trust-strip, .about-intro, .two-sides, .footer-grid { grid-template-columns: 1fr; }
  .market-heading, .sell-cta, .footer-bottom { align-items: stretch; flex-direction: column; }
  .market-heading, .sell-cta { display: flex; }
  .sell-cta { padding: 30px 24px; }
  .about-hero { min-height: 0; padding: 38px 24px; }
  .about-statement { margin-right: 14px; padding: 26px; box-shadow: 12px 12px 0 var(--lime); }
  .about-intro { gap: 5px; padding: 58px 4px 30px; }
  .side-card { min-height: 310px; padding: 28px; }
  .about-final { padding: 35px 25px; }
  .site-footer { padding-top: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
