:root {
    --navy: #12344a;
    --navy-2: #0b2638;
    --petrol: #0f5960;
    --petrol-soft: #dceced;
    --orange: #c94f26;
    --orange-dark: #a93c18;
    --cream: #f5f1e8;
    --paper: #fffdfa;
    --white: #fff;
    --ink: #183241;
    --muted: #63727b;
    --line: #dce2e3;
    --green: #1e7654;
    --red: #b42318;
    --shadow: 0 18px 50px rgba(12, 38, 56, .12);
    --shadow-small: 0 8px 24px rgba(12, 38, 56, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #f2a12d; outline-offset: 3px; }
.eyebrow { color: var(--orange); font: 800 .74rem/1.2 "Manrope", sans-serif; letter-spacing: .15em; }
.muted { color: var(--muted); }

.site-header { height: 82px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(18, 52, 74, .09); background: rgba(255, 253, 250, .94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 13px 4px 13px 4px; transform: rotate(-4deg); font: 800 1.45rem/1 "Manrope"; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--navy); font: 800 1rem/1.1 "Manrope"; letter-spacing: .04em; }
.brand-copy small { color: var(--muted); font: 700 .49rem/1.2 "Manrope"; letter-spacing: .1em; }
.main-nav { display: flex; gap: 34px; align-items: center; font-size: .92rem; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: .2s; }
.main-nav a:hover::after { right: 0; }
.admin-link { padding: 9px 14px; color: var(--navy); border: 1px solid var(--line); border-radius: 9px; font-size: .82rem; font-weight: 700; }

.hero { min-height: 625px; padding: 72px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr); gap: 6vw; align-items: center; overflow: hidden; background: var(--cream); }
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero h1 { margin: 12px 0 22px; color: var(--navy); font: 800 clamp(3.3rem, 6vw, 6rem)/.96 "Manrope"; letter-spacing: -.065em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-content > p { max-width: 620px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.65; }
.hero-search { max-width: 660px; min-height: 66px; padding: 7px 7px 7px 20px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-small); }
.hero-search > span { color: var(--muted); font-size: 1.5rem; }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-search button { align-self: stretch; padding: 0 27px; border: 0; border-radius: 10px; color: #fff; background: var(--orange); font-weight: 800; cursor: pointer; }
.hero-search button:hover { background: var(--orange-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; color: var(--muted); font-size: .82rem; }
.trust-row b { color: var(--petrol); margin-right: 5px; }
.hero-visual { width: min(100%, 510px); aspect-ratio: 1; justify-self: center; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 8%; background: var(--petrol-soft); border-radius: 50% 46% 48% 44%; transform: rotate(9deg); }
.orbit { position: absolute; border: 1px dashed rgba(18, 52, 74, .25); border-radius: 50%; }
.orbit-one { inset: 1%; animation: rotate 28s linear infinite; }
.orbit-two { inset: 17%; animation: rotate 21s linear infinite reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-card { width: 60%; min-width: 260px; padding: 25px; position: relative; z-index: 2; display: grid; text-align: center; background: #fff; border-radius: 26px 8px 26px 8px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.hero-card > span { color: var(--orange); font: 800 .59rem "Manrope"; letter-spacing: .13em; }
.hero-card > b { width: 132px; height: 132px; margin: 22px auto; display: grid; place-items: center; color: var(--navy); background: var(--cream); border-radius: 40% 60% 54% 46%; font: 800 4.8rem/1 "Manrope"; }
.hero-card strong { font: 800 1.15rem "Manrope"; }
.hero-card small { margin-top: 7px; color: var(--muted); }
.floating-card { padding: 14px 18px; position: absolute; z-index: 3; display: grid; background: #fff; border-radius: 13px; box-shadow: var(--shadow-small); animation: float 4s ease-in-out infinite; }
.floating-card small { color: var(--muted); font-size: .68rem; }
.float-rating { left: 1%; top: 21%; }
.float-rating b { color: #9a6500; }
.float-price { right: -2%; bottom: 23%; color: #fff; background: var(--navy); animation-delay: -2s; }
.float-price b { color: #ff9a73; }
.float-price small { color: #c7d6df; }
@keyframes float { 50% { transform: translateY(-9px); } }

.section { padding: 82px clamp(20px, 5vw, 76px) 100px; }
.section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h1, .section-heading h2, .description-card h2, .subheading h2 { margin: 8px 0 6px; color: var(--navy); font: 800 clamp(2rem, 3.2vw, 3.05rem)/1.08 "Manrope"; letter-spacing: -.045em; }
.section-heading p, .subheading p { margin: 0; color: var(--muted); }
.category-strip { margin: 0 0 24px; padding: 5px 0; display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { min-width: max-content; padding: 11px 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 24px; font-weight: 700; }
.category-chip span { color: var(--orange); }
.category-chip:hover, .category-chip.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.filter-panel { padding: 20px; display: grid; grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, .45fr)); gap: 14px; align-items: end; background: #f6f8f8; border: 1px solid var(--line); border-radius: 16px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #cfd8da; border-radius: 8px; outline: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(15, 89, 96, .12); }
.field small { color: var(--muted); font-size: .72rem; }
.filter-checks { grid-column: 1 / -2; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .84rem; }
.filter-checks label, .inline-check, .form-switches label { display: inline-flex; align-items: center; gap: 7px; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--petrol); }
.filter-actions { display: flex; justify-content: end; gap: 8px; }
.button { min-height: 43px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; font-weight: 800; cursor: pointer; }
.button-primary { color: #fff; background: var(--navy); }
.button-primary:hover { background: var(--navy-2); }
.button-orange { color: #fff; background: var(--orange); }
.button-orange:hover { background: var(--orange-dark); }
.button-secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.button-ghost { color: var(--muted); background: transparent; border: 1px solid transparent; }
.button-disabled { color: #87949b; background: #e8edef; cursor: not-allowed; }
.text-button { padding: 0; border: 0; color: var(--petrol); background: transparent; text-decoration: underline; cursor: pointer; }
.text-button.light { color: #fff; }
.results-meta { padding: 24px 2px 16px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .82rem; }
.results-meta strong { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 5px 18px rgba(18, 52, 74, .05); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.product-visual { height: 225px; padding: 20px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, #e4efef, #f6f2e9); }
.product-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder { width: 105px; height: 105px; display: grid; place-items: center; color: var(--navy); background: rgba(255, 255, 255, .72); border: 1px solid rgba(18, 52, 74, .08); border-radius: 36% 64% 46% 54%; font: 800 3.5rem/1 "Manrope"; }
.product-badge { padding: 7px 10px; position: absolute; left: 13px; top: 13px; z-index: 2; color: #fff; background: var(--navy); border-radius: 6px; font: 800 .58rem "Manrope"; letter-spacing: .07em; }
.product-badge.static { position: static; width: max-content; display: inline-flex; margin-bottom: 12px; }
.discount-badge { padding: 7px 9px; position: absolute; right: 13px; bottom: 13px; color: #fff; background: var(--orange); border-radius: 7px; font-weight: 800; font-size: .76rem; }
.product-body { padding: 20px; display: flex; flex: 1; flex-direction: column; }
.product-category { color: var(--petrol); font-size: .71rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-body h3 { min-height: 48px; margin: 7px 0; color: var(--navy); font: 800 1rem/1.42 "Manrope"; }
.product-summary { min-height: 40px; margin: 0 0 9px; color: var(--muted); font-size: .79rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rating { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .74rem; }
.stars { color: #a66a00; }
.rating strong { color: var(--ink); }
.price-row { margin-top: 16px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price-block { display: grid; }
.price-block small { color: var(--muted); text-decoration: line-through; font-size: .7rem; }
.price-block > span { color: var(--muted); font-size: .64rem; }
.price-block strong { color: var(--orange-dark); font: 800 1.35rem "Manrope"; }
.store-tag { padding: 5px 7px; color: var(--muted); background: #f2f5f5; border-radius: 5px; font-size: .67rem; font-weight: 700; }
.offer-note { margin-top: 7px; color: var(--green); font-size: .72rem; font-weight: 700; }
.card-actions { margin-top: 17px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.compare-check { width: 44px; height: 44px; display: grid; place-items: center; position: relative; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.compare-check input { position: absolute; opacity: 0; }
.compare-check:has(input:checked) { color: #fff; background: var(--petrol); border-color: var(--petrol); }
.pagination { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--muted); font-size: .86rem; }
.pagination a { color: var(--navy); font-weight: 800; }
.empty-state { padding: 72px 20px; text-align: center; background: #f6f8f8; border: 1px dashed #c8d4d6; border-radius: 16px; }
.empty-state > span { color: var(--petrol); font-size: 3rem; }
.empty-state h3 { margin: 7px 0; color: var(--navy); font: 800 1.3rem "Manrope"; }
.empty-state p { margin: 0 0 20px; color: var(--muted); }
.how-section { padding: 78px clamp(20px, 7vw, 110px); color: #fff; background: var(--navy); }
.section-heading.light h2 { color: #fff; }
.steps { margin: 42px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; list-style: none; }
.steps li { padding: 22px; display: flex; gap: 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; }
.steps li > span { color: #ff956d; font: 800 1.25rem "Manrope"; }
.steps strong { font: 800 1rem "Manrope"; }
.steps p { margin: 7px 0 0; color: #c7d6df; font-size: .84rem; line-height: 1.55; }

.site-footer { padding: 42px clamp(20px, 5vw, 76px) 24px; color: var(--muted); background: #eef3f3; }
.footer-grid { display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; gap: 50px; align-items: center; }
.footer-grid p { max-width: 650px; margin: 0; font-size: .81rem; }
.footer-bottom { margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #d5dfe0; font-size: .73rem; }
.compare-dock { min-height: 76px; padding: 12px 18px 12px 24px; position: fixed; left: 50%; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 22px; color: #fff; background: var(--navy); border-radius: 15px; box-shadow: 0 20px 60px rgba(8, 27, 40, .32); transform: translateX(-50%); }
.compare-dock[hidden] { display: none; }
.compare-dock > div { display: grid; min-width: 180px; }
.compare-dock span { color: #c7d6df; font-size: .72rem; }
.consent { padding: 20px; position: fixed; inset: 0; z-index: 150; display: grid; place-items: end center; background: rgba(8, 25, 37, .6); }
.consent[hidden] { display: none; }
.consent-card { width: min(840px, 100%); padding: 27px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.consent-card h2 { margin: 6px 0 8px; color: var(--navy); font: 800 1.45rem "Manrope"; }
.consent-card > p { margin: 0; color: var(--muted); font-size: .86rem; }
.consent-options { margin-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.consent-options[hidden] { display: none; }
.consent-options label { padding: 13px; display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 9px; }
.consent-options label > span { display: grid; }
.consent-options small { color: var(--muted); font-size: .69rem; }
.consent-actions { margin-top: 20px; display: flex; justify-content: end; gap: 8px; flex-wrap: wrap; }
.toast { max-width: 360px; padding: 13px 17px; position: fixed; right: 22px; bottom: 22px; z-index: 190; color: var(--ink); background: #fff; border-left: 4px solid var(--orange); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: none; }

.product-page, .compare-page { max-width: 1500px; margin: auto; }
.breadcrumbs { margin-bottom: 35px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .79rem; }
.breadcrumbs a { color: var(--petrol); }
.product-detail { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); gap: 65px; align-items: center; }
.product-detail-visual { min-height: 460px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, #e4efef, #f6f2e9); border-radius: 22px; }
.product-detail-visual img { width: 100%; height: 460px; object-fit: contain; mix-blend-mode: multiply; }
.product-detail-visual > span { width: 180px; height: 180px; display: grid; place-items: center; color: var(--navy); background: rgba(255, 255, 255, .7); border-radius: 42% 58% 55% 45%; font: 800 6rem "Manrope"; }
.product-detail-copy h1 { margin: 8px 0 7px; color: var(--navy); font: 800 clamp(2.3rem, 4vw, 4.5rem)/1.03 "Manrope"; letter-spacing: -.055em; }
.product-brand { margin: 0 0 14px; color: var(--muted); }
.rating.large { font-size: .88rem; }
.lead { max-width: 680px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.transparency-note { margin-top: 25px; padding: 17px 19px; display: grid; color: var(--petrol); background: #e8f2f1; border-left: 4px solid var(--petrol); border-radius: 7px; }
.transparency-note span { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.offers-section { margin-top: 85px; }
.offers-list { display: grid; gap: 12px; }
.offer-card { padding: 20px; display: grid; grid-template-columns: 1.05fr .9fr .95fr .75fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.offer-card.best { border: 2px solid var(--petrol); box-shadow: var(--shadow-small); }
.offer-store, .offer-condition, .offer-price, .offer-action { display: grid; gap: 3px; }
.offer-store strong { color: var(--navy); font: 800 1.1rem "Manrope"; }
.offer-store small, .offer-condition small, .offer-price span, .offer-action small { color: var(--muted); font-size: .72rem; }
.best-label { width: max-content; color: var(--petrol); font: 800 .58rem "Manrope"; letter-spacing: .08em; }
.offer-condition > span, .coupon-box > span { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .07em; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.coupon-box { padding: 10px; display: grid; background: #fff6ef; border: 1px dashed #e19a78; border-radius: 8px; }
.coupon-box button { width: max-content; padding: 2px 0; color: var(--orange-dark); background: none; border: 0; font-weight: 800; cursor: pointer; }
.coupon-box small { color: var(--muted); }
.offer-price small { color: var(--muted); text-decoration: line-through; }
.offer-price strong { color: var(--orange-dark); font: 800 1.35rem "Manrope"; }
.offer-action { justify-items: stretch; text-align: center; }
.price-disclaimer { margin: 17px 0 0; color: var(--muted); font-size: .75rem; }
.description-card { margin-top: 55px; padding: 36px; background: #f4f7f7; border-radius: 16px; }
.description-card h2 { font-size: 1.8rem; }
.description-card p { color: var(--muted); line-height: 1.75; }
.comparison-scroll { overflow-x: auto; }
.comparison-table { width: 100%; min-width: 720px; background: #fff; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table th:first-child { width: 145px; color: var(--muted); font-size: .78rem; }
.comparison-table thead th:not(:first-child) { color: var(--navy); font: 800 1rem/1.35 "Manrope"; }
.comparison-table td small { margin-top: 3px; display: block; color: var(--muted); font-size: .72rem; }
.compare-visual { width: 58px; height: 58px; margin-bottom: 9px; display: grid; place-items: center; color: var(--navy); background: var(--petrol-soft); border-radius: 12px; font-size: 1.7rem; }
.table-price { color: var(--orange-dark); font-size: 1.1rem; }

/* Painel administrativo */
.admin-body { min-height: 100vh; background: #f1f4f5; }
.admin-sidebar { width: 255px; padding: 25px 17px; position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; flex-direction: column; color: #fff; background: var(--navy-2); }
.admin-brand { padding: 0 8px 25px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand .brand-mark { color: var(--navy); background: #fff; }
.admin-brand .brand-copy strong { color: #fff; }
.admin-brand .brand-copy small { color: #91a9b7; }
.admin-sidebar nav { margin-top: 25px; display: grid; gap: 5px; }
.admin-sidebar nav a { padding: 12px 13px; display: flex; align-items: center; gap: 12px; color: #bdd0da; border-radius: 8px; font-size: .86rem; font-weight: 700; }
.admin-sidebar nav a span { width: 20px; text-align: center; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-sidebar form { margin-top: auto; }
.admin-sidebar form button { width: 100%; padding: 11px; color: #bdd0da; background: none; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; cursor: pointer; }
.admin-shell { min-height: 100vh; margin-left: 255px; }
.admin-topbar { height: 72px; padding: 0 30px; display: flex; align-items: center; gap: 15px; background: #fff; border-bottom: 1px solid var(--line); }
.admin-topbar > button { display: none; border: 0; background: none; font-size: 1.5rem; }
.admin-topbar > div { display: grid; }
.admin-topbar > div strong { color: var(--navy); }
.admin-topbar > div span { color: var(--muted); font-size: .7rem; }
.private-pill { margin-left: auto; padding: 6px 9px; color: var(--petrol); background: #e7f1f0; border-radius: 20px; font-size: .65rem; font-weight: 800; }
.admin-main { padding: 34px; }
.admin-heading { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.admin-heading h1 { margin: 6px 0; color: var(--navy); font: 800 clamp(1.8rem, 3vw, 2.65rem)/1.1 "Manrope"; letter-spacing: -.04em; }
.admin-heading p { margin: 0; color: var(--muted); }
.stat-grid { margin-bottom: 25px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid article { padding: 20px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.stat-grid article > span { color: var(--muted); font-size: .76rem; }
.stat-grid strong { margin: 6px 0; color: var(--navy); font: 800 2rem "Manrope"; }
.stat-grid small { color: var(--petrol); }
.admin-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 3px 15px rgba(18,52,74,.035); }
.panel h2, .panel h3 { margin-top: 0; color: var(--navy); font-family: "Manrope"; }
.panel-heading h2 { margin: 0; color: var(--navy); font: 800 1.05rem "Manrope"; }
.panel-heading p { margin: 2px 0 0; color: var(--muted); font-size: .75rem; }
.rank-list { margin-top: 20px; display: grid; }
.rank-list a { padding: 12px 0; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.rank-list a > span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--petrol); background: #e7f1f0; border-radius: 50%; font-weight: 800; font-size: .72rem; }
.rank-list a > div { display: grid; }
.rank-list small { color: var(--muted); }
.rank-list b { color: var(--navy); }
.panel-empty { padding: 35px 15px; text-align: center; color: var(--muted); }
.panel-empty p { margin-bottom: 0; }
.checklist { margin: 18px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.checklist li::before { content: "○"; margin-right: 8px; color: var(--muted); }
.checklist li.done::before { content: "✓"; color: var(--green); font-weight: 800; }
.alert { margin-bottom: 20px; padding: 14px 17px; border-radius: 9px; }
.alert.success { color: #155a41; background: #e1f2ea; border: 1px solid #b7ddca; }
.alert.error { color: #8d241b; background: #fff0ee; border: 1px solid #f1c5c0; }
.alert ul { margin-bottom: 0; }
.admin-search { max-width: 550px; margin-bottom: 16px; display: flex; gap: 8px; }
.admin-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.table-panel { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); background: #f7f9f9; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { font-size: .84rem; }
.admin-table td:first-child { display: grid; }
.admin-table td small { color: var(--muted); }
.status { width: max-content; padding: 5px 8px; display: inline-flex; border-radius: 20px; font-size: .67rem; font-weight: 800; }
.status.active { color: #176047; background: #e2f2eb; }
.status.draft { color: #7a5a09; background: #fff4cf; }
.table-action { color: var(--petrol); font-weight: 800; }
.form-panel { max-width: 1100px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.span-2 { grid-column: span 2; }
.form-switches { margin-top: 20px; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .84rem; }
.form-actions { margin-top: 20px; display: flex; justify-content: end; align-items: center; gap: 10px; }
.back-link { color: var(--petrol); font-size: .8rem; font-weight: 700; }
.subheading { margin: 42px 0 17px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.subheading h2 { font-size: 1.8rem; }
.offer-form { max-width: 1100px; margin-bottom: 17px; }
.offer-form[hidden] { display: none; }
.offer-admin-list { max-width: 1100px; display: grid; gap: 10px; }
.offer-admin-card { padding: 0; overflow: hidden; }
.offer-admin-card summary { padding: 17px 20px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 25px; align-items: center; cursor: pointer; list-style: none; }
.offer-admin-card summary::-webkit-details-marker { display: none; }
.offer-admin-card summary > div { display: grid; }
.offer-admin-card summary span { color: var(--muted); font-size: .73rem; }
.details-body { padding: 20px; border-top: 1px solid var(--line); }
.category-admin { grid-template-columns: .65fr 1.35fr; }
.stack-form { display: grid; gap: 16px; }
.category-admin-list { display: grid; gap: 8px; }
.category-admin-list form { padding: 10px; display: grid; grid-template-columns: 55px 1fr 75px auto auto auto; gap: 8px; align-items: center; background: #f7f9f9; border-radius: 8px; }
.category-admin-list input { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.category-admin-list label, .category-admin-list span { color: var(--muted); font-size: .72rem; }
.category-admin-list button { padding: 8px; color: var(--petrol); background: none; border: 0; font-weight: 800; cursor: pointer; }
.notice { margin-bottom: 20px; padding: 16px 20px; color: #71520a; background: #fff6d9; border: 1px solid #eedc9c; border-radius: 9px; }
.notice p, .secret-note p { margin: 3px 0 0; font-size: .8rem; }
.integration-master { padding-bottom: 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.integration-master > div { display: grid; }
.integration-master span { color: var(--muted); font-size: .77rem; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 48px; height: 27px; display: block; position: relative; background: #c7d0d3; border-radius: 20px; cursor: pointer; }
.switch span::after { content: ""; width: 21px; height: 21px; position: absolute; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--petrol); }
.switch input:checked + span::after { transform: translateX(21px); }
.integration-list { display: grid; }
.integration-list article { padding: 20px 0; display: grid; grid-template-columns: 48px 1fr minmax(220px, .7fr); gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.integration-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 10px; font-weight: 800; }
.integration-list article > div:nth-child(2) { display: grid; }
.integration-list article > div:nth-child(2) span { color: var(--muted); font-size: .75rem; }
.secret-note { margin-top: 20px; padding: 15px; color: var(--petrol); background: #e7f1f0; border-radius: 8px; }
.login-body { min-height: 100vh; padding: 25px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--petrol)); }
.login-card { width: min(460px, 100%); padding: 35px; display: grid; gap: 28px; background: #fff; border-radius: 18px; box-shadow: 0 25px 70px rgba(4, 17, 25, .3); }
.login-card h1 { margin: 6px 0; color: var(--navy); font: 800 2rem "Manrope"; }
.login-card p { margin: 0; color: var(--muted); }

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-panel { grid-template-columns: repeat(2, 1fr); }
    .filter-checks { grid-column: 1 / -1; }
    .filter-actions { grid-column: 1 / -1; }
    .offer-card { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .site-header { height: 72px; padding: 0 17px; }
    .main-nav { display: none; }
    .hero { min-height: 0; padding: 52px 20px 58px; grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
    .hero-visual { display: none; }
    .section { padding: 62px 17px 75px; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; justify-items: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .product-detail { grid-template-columns: 1fr; gap: 34px; }
    .product-detail-visual { min-height: 330px; }
    .product-detail-visual img { height: 330px; }
    .consent-options { grid-template-columns: 1fr; }
    .admin-sidebar { transform: translateX(-101%); transition: .2s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-shell { margin-left: 0; }
    .admin-topbar > button { display: block; }
    .admin-main { padding: 25px 17px; }
    .admin-grid, .category-admin { grid-template-columns: 1fr; }
    .integration-list article { grid-template-columns: 48px 1fr; }
    .integration-list .field { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .brand-copy small, .admin-link { display: none; }
    .hero-search { min-height: 58px; padding-left: 13px; }
    .hero-search button { padding: 0 14px; }
    .filter-panel, .product-grid, .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .results-meta { display: grid; }
    .product-visual { height: 205px; }
    .offer-card { grid-template-columns: 1fr; }
    .compare-dock { width: calc(100% - 20px); bottom: 10px; }
    .compare-dock > div { min-width: 0; margin-right: auto; }
    .compare-dock .text-button { display: none; }
    .consent { padding: 10px; }
    .consent-card { padding: 21px; }
    .consent-actions { display: grid; }
    .stat-grid { grid-template-columns: 1fr; }
    .admin-heading { align-items: start; flex-direction: column; }
    .admin-heading .button { width: 100%; }
    .offer-admin-card summary { grid-template-columns: 1fr auto; gap: 10px; }
    .category-admin-list form { grid-template-columns: 48px 1fr 65px; }
    .category-admin-list form label, .category-admin-list form span, .category-admin-list form button { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
