:root {
    --styly-dark: #0F172A;
    --styly-accent: #FF5F6D;
    --styly-white: #FFFFFF;
    --styly-light-grey: #F8FAFC;
    --styly-mid-grey: #64748B;
    --styly-success: #22C55E;
    --styly-border: #dde3ea;
}
* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--styly-dark); background: var(--styly-light-grey); }
body { margin: 0; min-height: 100vh; }
a { color: #2456a6; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 28px; background: var(--styly-white); border-bottom: 1px solid var(--styly-border); position: sticky; top: 0; z-index: 20; }
.brand { color: var(--styly-dark); display: inline-flex; align-items: center; justify-content: flex-start; text-decoration: none; width: 166px; max-width: 42vw; height: 54px; padding: 3px 0; overflow: hidden; border-radius: 6px; background: #fff; flex: 0 0 auto; }
.brand img { display: block; width: auto; max-width: 100%; height: auto; max-height: 48px; object-fit: contain; }
.topbar nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.mobile-actions { display: none; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #cbd5df; background: #fff; color: var(--styly-dark); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; flex: 0 0 auto; }
.icon-button:hover { background: #f8fafc; text-decoration: none; }
.icon-button-verified { border-color: rgba(34,197,94,0.68); background: #f0fdf4; color: #166534; box-shadow: inset 0 0 0 2px rgba(34,197,94,0.12); }
.icon-button-verified:hover { background: #dcfce7; }
.icon-button svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.mobile-menu-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(15,23,42,0.32); }
.mobile-menu { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(320px, 86vw); background: #fff; border-right: 1px solid var(--styly-border); box-shadow: 18px 0 42px rgba(15,23,42,0.22); transform: translateX(-105%); transition: transform 0.22s ease; padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.mobile-menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--styly-border); }
.mobile-menu-head strong { font-size: 18px; }
.mobile-menu nav { display: grid; align-content: start; gap: 8px; font-size: 16px; }
.mobile-menu nav a { display: flex; align-items: center; min-height: 42px; padding: 9px 10px; border-radius: 8px; color: var(--styly-dark); font-weight: 700; }
.mobile-menu nav a:hover { background: #f1f5f9; text-decoration: none; }
.mobile-menu nav a.button { justify-content: center; margin-top: 6px; color: #fff; }
.page { max-width: 1120px; margin: 0 auto; padding: 28px; }
.page.narrow { max-width: 520px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
h1 { font-size: 28px; line-height: 1.15; margin: 0 0 6px; letter-spacing: 0; }
h2 { font-size: 20px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 0 0 6px; }
.page-subtitle { margin: 0; color: var(--styly-mid-grey); max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.panel { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: 18px; }
.panel.compact { padding: 14px; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.muted { color: var(--styly-mid-grey); }
.small { font-size: 13px; }
.button, button { appearance: none; border: 1px solid var(--styly-dark); background: var(--styly-dark); color: #fff; border-radius: 6px; min-height: 38px; padding: 8px 13px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button:hover, button:hover { background: #1f2937; text-decoration: none; }
.button.secondary, button.secondary { background: #fff; color: #2456a6; border-color: #b8c7dc; }
.button.danger, button.danger { background: #fff; color: #a32424; border-color: #e1b6b6; }
.button.small, button.small { min-height: 32px; padding: 6px 10px; font-size: 13px; }
form { margin: 0; }
label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 5px; color: #344154; }
input, select, textarea { width: 100%; min-height: 40px; border: 1px solid #cbd5df; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; color: var(--styly-dark); }
textarea { min-height: 78px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b9d2ff; border-color: #2e6fd1; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.size-length-grid { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr); gap: 12px; align-items: start; }
.length-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.length-grid .check { padding: 8px; font-size: 13px; }
.money-input { display: flex; align-items: center; border: 1px solid #cbd5df; border-radius: 6px; background: #fff; overflow: hidden; }
.money-input span { flex: 0 0 auto; padding: 0 10px; color: var(--styly-mid-grey); font-weight: 850; }
.money-input input { border: 0; border-left: 1px solid #e2e8f0; border-radius: 0; min-width: 0; }
.money-input:focus-within { outline: 2px solid #b9d2ff; border-color: #2e6fd1; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; border: 1px solid #dde3ea; border-radius: 6px; padding: 9px 10px; font-size: 14px; }
.check input { width: 16px; min-height: 16px; }
.notice { border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid #c8d9ee; background: #eef6ff; color: #183a63; }
.notice.error { border-color: #efc3c3; background: #fff1f1; color: #7c2525; }
.notice.success { border-color: #b8edc9; background: #eefbf1; color: #166534; }
.notice ul { margin: 0; padding-left: 18px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 24px; align-items: center; padding: 28px; background: #fff; border: 1px solid #dde3ea; border-radius: 8px; }
.hero h1 { font-size: 34px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.disclosure { margin-top: 14px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.trust-strip div { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: 14px; }
.trust-strip strong { display: block; margin-bottom: 4px; }
.trust-strip span { color: #617080; font-size: 13px; line-height: 1.45; }
.dashboard-stats { margin-bottom: 16px; }
.dashboard-stats .panel { padding: 12px; }
.stat { border: 1px solid #dde3ea; border-radius: 8px; padding: 12px; background: #fbfcfd; min-height: 88px; display: grid; align-content: center; }
.stat strong { display: block; font-size: 24px; }
.stat span { display: block; }
.alert-card { display: grid; gap: 8px; border: 1px solid #dde3ea; border-radius: 8px; padding: 14px; background: #fff; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 800; background: #edf2f7; color: #3b4655; }
.badge.on { background: #e9f8ef; color: #166534; }
.badge.off { background: #f4f5f6; color: #6d7783; }
.product-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-card { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; overflow: hidden; }
.product-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #edf2f7; }
.product-card .body { padding: 10px; }
.price { font-weight: 850; }
.price-was { color: #5f6875; display: inline-block; font-weight: 750; margin-right: 6px; position: relative; text-decoration: none; }
.price-was::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; border-top: 2px solid currentColor; transform: rotate(-6deg); }
.price-current { color: var(--styly-accent); }
.success-text { color: #166534; font-weight: 800; }
.loading-status { display: inline-flex; align-items: center; gap: 12px; color: #2456a6; font-weight: 800; }
.loading-spinner { width: 42px; height: 42px; border-radius: 50%; border: 5px solid rgba(36,86,166,0.18); border-top-color: #2456a6; animation: spin 0.85s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.preview-list { display: grid; gap: 10px; margin-top: 12px; }
.preview-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; border-top: 1px solid #edf1f5; padding-top: 10px; }
.preview-item:first-child { border-top: 0; padding-top: 0; }
.preview-item img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: #edf2f7; }
.preview-item h3 a { color: inherit; text-decoration: none; }
.preview-item h3 a:hover { text-decoration: underline; }
.preview-item p { margin: 0 0 4px; }
.content-page { display: grid; gap: 18px; margin-top: 8px; }
.compact-page { margin-top: 24px; }
.lead-panel { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: 20px; max-width: 780px; }
.lead-panel p { margin: 0 0 12px; line-height: 1.6; }
.lead-panel p:last-child { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-grid article { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: 16px; }
.feature-grid p { margin: 0; color: var(--styly-mid-grey); line-height: 1.55; }
.site-footer { max-width: 1120px; margin: 0 auto; padding: 24px 28px 36px; color: var(--styly-mid-grey); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(420px, 1fr); gap: 24px; border-top: 1px solid #dde3ea; }
.site-footer strong { color: var(--styly-dark); }
.footer-brand { display: grid; gap: 6px; line-height: 1.5; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.site-footer nav strong { font-size: 13px; text-transform: uppercase; }
.link-button { border: 0; background: transparent; color: #2456a6; min-height: 0; padding: 0; justify-content: flex-start; font: inherit; font-weight: inherit; cursor: pointer; }
.link-button:hover { background: transparent; text-decoration: underline; }
.cookie-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 80; max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid #cbd5df; border-radius: 8px; background: #fff; box-shadow: 0 18px 50px rgba(15,23,42,0.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0 0; color: var(--styly-mid-grey); line-height: 1.45; font-size: 14px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
@media (max-width: 860px) {
    .topbar { height: 76px; padding: 8px 12px; align-items: center; }
    .brand { width: 156px; max-width: 48vw; height: 52px; padding: 4px 0; }
    .brand img { max-height: 44px; }
    .desktop-nav { display: none !important; }
    .mobile-actions { display: inline-flex; }
    .page { padding: 18px; }
    .hero { grid-template-columns: 1fr; padding: 20px; }
    .hero h1 { font-size: 28px; }
    .col-4, .col-5, .col-7, .col-8 { grid-column: span 12; }
    .dashboard-stats { gap: 8px; }
    .dashboard-stats .col-4 { grid-column: span 4; }
    .dashboard-stats .panel { padding: 0; border: 0; background: transparent; }
    .dashboard-stats .stat { min-height: 96px; padding: 10px 8px; }
    .dashboard-stats .stat strong { font-size: 22px; }
    .dashboard-stats .stat span { font-size: 12px; line-height: 1.25; }
    .field-grid, .check-grid, .size-length-grid { grid-template-columns: 1fr; }
    .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-strip, .feature-grid { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; padding: 18px; }
    .footer-links { grid-template-columns: 1fr; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; align-items: stretch; flex-direction: column; padding: 14px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
