/* Shared visual language for the public catalog. Keep surfaces, type and states consistent. */
:root { --radius: 14px; --muted: #657462; --line: #e1e7dd; --shadow: 0 8px 24px #233e2510; }
.workspace { min-width: 0; }
.main-content { width: 100%; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--green); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar-close, .menu-backdrop { display: none; }
.panel, .product-tile, .product-skeleton { border-radius: var(--radius); }
.button { border-radius: 9px; }
.eyebrow, .sidebar-caption { color: #697c62; }
.main-nav > a, .language-switch a { color: #64715d; }
.subtle-link { color: var(--green); font-weight: 550; white-space: nowrap; }
.search-box:focus-within { border-color: #7ea68b; box-shadow: 0 0 0 3px #205e4610; }
.search-box input::placeholder { color: #71816b; }
.category-chip { color: #5f7358; border-radius: 8px; }
.period-picker button { color: #617456; min-height: 34px; }
.overview-page .section-heading { margin: 0 0 18px; align-items: center; }
.overview-page .section-heading p { margin-top: 7px; line-height: 1.5; }
.home-catalog, .home-movements { min-width: 0; }
.home-statistics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 0; border-block: 1px solid var(--line); }
.home-statistics > :is(a, div) { display: flex; align-items: center; gap: 14px; padding: 0 28px; border-right: 1px solid var(--line); }
.home-statistics > :first-child { padding-left: 0; }
.home-statistics > :last-child { border: 0; }
.home-statistics > :is(a, div) > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--green); background: var(--green-pale); }
.home-statistics strong { display: block; font-size: 1.5rem; letter-spacing: -.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.home-statistics span { display: block; margin-top: 3px; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.product-tile { display: flex; flex-direction: column; }
.product-tile-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.product-brand { color: #687b60; font-size: .62rem; height: auto; min-height: 14px; overflow-wrap: anywhere; }
.product-name { font-size: .88rem; font-weight: 550; min-height: 2.8em; margin-top: 7px; overflow-wrap: anywhere; }
.product-name:hover { color: var(--green); }
.product-size, .product-store-count { color: var(--muted); font-size: .73rem; }
.product-size { margin-bottom: 8px; }
.product-tile-bottom { margin-top: auto; padding-top: 14px; gap: 8px; }
.product-tile-bottom strong { font-size: 1.14rem; font-variant-numeric: tabular-nums; }
.product-tile-bottom .small { font-size: .72rem; }
.product-tile-bottom .round-button { flex-shrink: 0; }
.product-image-link { padding: 10px 10px 0; }
.product-art { height: 165px; }
.product-art.mini { width: 47px; height: 47px; }
.trend-product strong { font-size: .85rem; }
.trend-product span, .panel-footnote { color: #65745d; font-size: .7rem; }
.trend-price strong { font-variant-numeric: tabular-nums; }
.trend-price .text-fall, .text-fall { color: #40734b; }
.trend-price .text-rise, .text-rise { color: #a45332; }
.fall { color: #40734b; }
.rise { color: #a45332; }
.section-error { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; }
.section-error p { color: var(--muted); font-size: .9rem; }
.product-skeleton { border: 1px solid var(--line); background: white; padding: 10px; min-height: 338px; }
.skeleton { display: block; background: #edf0e8; border-radius: 6px; animation: skeleton-pulse 1.6s ease-in-out infinite alternate; }
.skeleton-photo { height: 165px; }
.skeleton-copy { padding: 16px 6px 6px; }
.skeleton-label { width: 35%; height: 10px; }
.skeleton-title { width: 80%; height: 18px; margin-top: 12px; }
.skeleton-meta { width: 48%; height: 10px; margin-top: 16px; }
.skeleton-price { width: 55%; height: 22px; margin-top: 30px; }
.trend-skeleton { min-height: 398px; padding: 22px; }
.trend-skeleton .skeleton-title { width: 55%; margin: 0 0 24px; }
.skeleton-trend { height: 54px; margin-top: 20px; }
.supporter-note, .footer { color: #68785e; }
.filter-bar > .muted { font-variant-numeric: tabular-nums; }
@keyframes skeleton-pulse { to { opacity: .45; } }
@media (max-width: 1100px) {
    .home-statistics > :is(a, div) { padding-inline: 16px; gap: 10px; }
    .home-statistics strong { font-size: 1.25rem; }
    .home-statistics > :is(a, div) > .icon { display: none; }
}
@media (max-width: 760px) {
    .sidebar { visibility: hidden; }
    .sidebar.is-open { visibility: visible; }
    .sidebar-close { display: flex; position: absolute; right: 8px; top: 5px; padding: 4px; min-width: 28px; min-height: 28px; }
    .menu-backdrop { display: block; position: fixed; inset: 0; border: 0; background: #13271c40; z-index: 19; }
    .overview-page .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .overview-page .section-heading h2 { font-size: 1.23rem; }
    .overview-page .section-heading > .subtle-link { font-size: .8rem; }
    .home-statistics { padding-block: 18px; }
    .home-statistics > :is(a, div) { padding-inline: 12px; }
    .home-statistics strong { font-size: 1.1rem; }
    .home-statistics span { font-size: .66rem; }
    .section-error { flex-direction: column; align-items: flex-start; }
    .product-tile-body { padding: 12px; }
    .product-image-link { padding: 7px 7px 0; }
    .product-art, .skeleton-photo { height: 140px; }
    .product-name { font-size: .84rem; }
    .product-tile-bottom strong { font-size: 1.02rem; }
    .product-tile-bottom .round-button { display: none; }
    .trend-product strong { font-size: .82rem; }
    .trend-row { margin-inline: 15px; }
    .panel-heading { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .skeleton { animation: none; }
    .product-tile, .button { transition: none; }
    .product-tile:hover { transform: none; }
}
