/* Variables globales: charte par defaut, surchargeable depuis le manager via theme_css_vars(). */
:root {
  --green: #4f7d28;
  --green-dark: #304d1d;
  --lime: #c7d63b;
  --red: #b34232;
  --link: #304d1d;
  --ink: #24311f;
  --header-text: #24311f;
  --muted: #667266;
  --paper: #fffdf7;
  --soft: #f3f1e6;
  --line: #dedac8;
  --header-bg: rgba(255,253,247,.94);
  --footer-bg: #304d1d;
  --footer-text: #ffffff;
  --button-text: #ffffff;
  --font-scale: .97;
  --font-size: 15px;
  --font-family: Arial, Helvetica, sans-serif;
  --admin-band: #24311f;
  --admin-text: #ffffff;
  --agenda-fair-bg: #e8f0d0;
  --agenda-fair-text: #304d1d;
  --agenda-event-bg: #f3d6cf;
  --agenda-event-text: #8f3528;
  --agenda-news-bg: #e2edf7;
  --agenda-news-text: #254f73;
  --shadow: 0 18px 48px rgba(36, 49, 31, .12);
}

/* Base document: dimensions globales, typographie, liens et comportement sticky footer. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; font-family: var(--font-family); font-size: calc(var(--font-size) * var(--font-scale)); color: var(--ink); background: var(--paper); line-height: 1.55; }
main { flex: 1 0 auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; }

/* Header public: logo, navigation desktop et bouton mobile. */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px clamp(18px, 4vw, 56px); background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.brand-logo { width: 230px; height: auto; object-fit: contain; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--green); color: white; font-weight: 800; letter-spacing: 0; }
.auth-logo { display: block; width: min(260px, 100%); height: auto; margin: 0 auto 18px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 18px; font-weight: 700; }
.nav-toggle { display: none; }

/* Hero et carrousel d'accueil: chaque slide utilise --hero-image defini par la vue home.php. */
.hero { position: relative; min-height: clamp(460px, 70vh, 720px); overflow: hidden; background: var(--green-dark); }
.hero-slide { position: absolute; inset: 0; display: none; align-items: center; padding: 76px clamp(20px, 7vw, 96px); color: white; background-color: var(--green-dark); background-image: linear-gradient(90deg, rgba(25,37,18,.78), rgba(25,37,18,.22)), var(--hero-image); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-slide.is-active { display: flex; }
.fallback-hero { background: radial-gradient(circle at 80% 20%, rgba(199,214,59,.25), transparent 35%), linear-gradient(135deg, var(--green-dark), var(--green)); }
.hero-content { max-width: 760px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: 0; }
.hero p { max-width: 620px; font-size: 19px; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 0; }
.hero .eyebrow { color: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--red); color: var(--button-text); font-weight: 800; cursor: pointer; }
.button:hover { background: #8f3528; color: white; }
.button.ghost { background: transparent; border: 1px solid var(--green); color: var(--green-dark); }
.button.small { min-height: 36px; padding: 7px 12px; }
.button.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.carousel-controls { position: absolute; right: clamp(18px, 5vw, 56px); bottom: 28px; display: flex; gap: 10px; }
.carousel-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; background: rgba(255,255,255,.16); color: white; cursor: pointer; }

/* Layouts publics: sections, titres et grilles principales. */
.section, .page-title { max-width: 1360px; margin: 0 auto; padding: 54px clamp(18px, 4vw, 32px); }
.page-title { padding-bottom: 26px; }
.page-title.product-title { padding-top: 36px; padding-bottom: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: clamp(26px, 4vw, 40px); }
.lead { font-size: 20px; color: var(--muted); }
.intro-grid, .split, .product-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 38px; align-items: start; }
.intro-grid { grid-template-columns: 1fr minmax(220px, .65fr) minmax(220px, .55fr); align-items: center; }
.info-strip, .filters, .admin-card, .panel-form, .map-panel { border: 1px solid var(--line); background: white; border-radius: 8px; box-shadow: var(--shadow); }

/* Accueil: visuels produits et bandes photos reprises du site historique. */
.info-strip { display: grid; gap: 8px; padding: 22px; }
.product-visuals { min-height: 250px; position: relative; }
.product-visuals img { position: absolute; max-height: 210px; width: auto; filter: drop-shadow(0 18px 22px rgba(36,49,31,.18)); }
.product-visuals img:nth-child(1) { left: 2%; bottom: 0; z-index: 2; }
.product-visuals img:nth-child(2) { left: 34%; bottom: 12px; max-height: 175px; z-index: 3; }
.product-visuals img:nth-child(3) { right: 0; bottom: 4px; max-height: 190px; z-index: 1; }
.visual-band { display: grid; grid-template-columns: 1fr 220px 190px; gap: 24px; align-items: center; padding: 42px clamp(18px, 4vw, 56px); background: #eef3dd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visual-band > div { max-width: 620px; }
.visual-band img { max-height: 220px; margin: 0 auto; filter: drop-shadow(0 16px 20px rgba(36,49,31,.16)); }
.dog-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px clamp(18px, 4vw, 56px); background: white; border-bottom: 1px solid var(--line); }
.dog-strip img { width: 100%; height: clamp(150px, 22vw, 260px); object-fit: cover; border-radius: 8px; }
.weekly-feature { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); margin-top: 28px; margin-bottom: 28px; }
.weekly-feature img { max-height: 260px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(36,49,31,.16)); }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }

/* Catalogue: grille de cartes produit, image contrainte par hauteur et zone actions. */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 285px)); gap: 22px; align-items: start; justify-content: center; }
.product-card { display: grid; grid-template-rows: 188px 1fr 54px; height: 535px; border: 1px solid #d7d2bd; border-radius: 6px; overflow: hidden; background: #fffdf7; box-shadow: 0 8px 22px rgba(36,49,31,.07); }
.product-image { position: relative; display: flex; align-items: center; justify-content: center; margin: 10px 10px 0; height: 178px; background: #f3f1e6; padding: 10px; overflow: hidden; border: 1px solid #e1dcc9; }
.product-image img { display: block; width: auto !important; max-width: 100%; height: 100% !important; max-height: 100%; object-fit: contain; object-position: center center; flex: 0 0 auto; }
.product-body { min-height: 0; padding: 18px 14px 16px; background: #fffdf7; overflow: hidden; }
.product-body h3 { min-height: 42px; margin-bottom: 10px; font-size: 16px; line-height: 1.25; text-transform: uppercase; }
.product-body h3 a { color: var(--green-dark); }
.product-meta { display: flex; justify-content: flex-end; gap: 12px; align-items: center; min-height: 26px; margin-bottom: 12px; color: var(--muted); }
.product-meta span { font-size: 14px; color: #18332d; }
.product-meta strong { color: #18332d; font-size: 14px; }
.product-summary { margin: 0; font-size: 12.5px; line-height: 1.58; text-align: left; color: #24311f; }
.product-summary a { color: var(--green); font-weight: 800; white-space: nowrap; }
.product-actions { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px; background: #eef3dd; border-top: 1px solid #d7d2bd; }
.product-action-primary, .product-action-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 8px 14px; border-radius: 3px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.product-action-primary { background: var(--red); color: white; }
.product-action-primary:hover { background: #8f3528; color: white; }
.product-action-secondary { color: var(--green-dark); }
.product-action-secondary.is-disabled { opacity: .45; }
.product-meta.large { justify-content: flex-start; margin: 18px 0; }

/* Filtres catalogue: version compacte en haut et variante laterale produit2.php. */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.product-catalog { display: grid; gap: 12px; padding-top: 16px; }
.category-tabs, .filter-row, .catalog-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.category-tabs { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.category-tabs a, .filter-row a { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fffdf7; font-weight: 800; font-size: 13px; box-shadow: none; }
.category-tabs a { min-height: 34px; padding-inline: 12px; }
.category-tabs a:hover, .category-tabs a.is-active, .filter-row a:hover, .filter-row a.is-active { background: var(--green); border-color: var(--green); color: white; }
.filter-row.compact strong { margin-right: 4px; color: var(--green-dark); }
.catalog-tools { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.catalog-tools label { display: block; margin-right: -2px; }
.catalog-tools input { width: min(360px, 100%); }
.catalog-selects { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; }
.catalog-selects label { min-width: 150px; max-width: 190px; font-size: 12px; color: var(--muted); }
.catalog-selects select { min-height: 36px; padding: 7px 10px; background: white; font-size: 13px; }
.compact-tabs { margin-bottom: 16px; }
.product-sidebar-version { padding-top: 16px; }
.filters { padding: 18px; position: sticky; top: 92px; }
.category-menu, .quick-filters { display: grid; gap: 8px; margin-bottom: 18px; }
.category-menu a, .quick-filters a { display: block; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-weight: 800; }
.category-menu a.is-active, .category-menu a:hover, .quick-filters a:hover { background: var(--green); border-color: var(--green); color: white; }
.quick-filters { padding-top: 16px; border-top: 1px solid var(--line); }
.product-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.product-shortcuts a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; box-shadow: 0 8px 20px rgba(36,49,31,.08); font-weight: 800; }
.product-shortcuts a:hover, .product-shortcuts a.is-active { background: var(--green); border-color: var(--green); color: white; }
label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 10px 12px; color: var(--ink); }
form { display: grid; gap: 14px; }
.field-with-action { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.event-card { position: relative; display: grid; grid-template-columns: 44px 220px 1fr; gap: 0; min-height: 150px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; }
.event-card img { width: 220px; height: 100%; min-height: 150px; object-fit: cover; border-radius: 0; }
.event-card.is-past::after { content: "Date passee"; position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; transform: rotate(-10deg); color: rgba(95,95,95,.20); font-size: clamp(34px, 7vw, 72px); font-weight: 900; pointer-events: none; }
.event-card.is-past::before { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(230,230,230,.22); pointer-events: none; }
.event-card > * { position: relative; z-index: 1; }
.event-card > div { padding: 18px 20px; }
.event-badge { display: grid; place-items: center; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--agenda-event-bg); color: var(--agenda-event-text); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.event-card.type-fair .event-badge { background: var(--agenda-fair-bg); color: var(--agenda-fair-text); }
.event-card.type-news .event-badge { background: var(--agenda-news-bg); color: var(--agenda-news-text); }
.event-card h3 { color: var(--red); }
.event-place { margin: -6px 0 8px; color: var(--muted); font-weight: 700; }
.event-date { margin: 0 0 8px; color: var(--muted); font-weight: 800; }
.home-news-grid { align-items: start; }
.home-news-grid .event-card { grid-template-columns: 34px 132px 1fr; min-height: 112px; }
.home-news-grid .event-card img { width: 132px; min-height: 112px; }
.home-news-grid .event-card > div { padding: 12px 14px; }
.home-news-grid .event-card h3 { font-size: 18px; margin-bottom: 6px; }
.home-news-grid .event-card p { margin-top: 0; margin-bottom: 6px; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text > *:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-left: 22px; }
.stack { display: grid; gap: 14px; }
.detail-media { position: relative; border-radius: 8px; overflow: hidden; background: var(--soft); padding: 22px; }
.detail-media img { width: 100%; height: 420px; object-fit: contain; }
.badge-new { position: absolute; top: -20px; right: 0; z-index: 3; width: 300px; height: 300px; background: url('../source/sac/nouveau.png') center/contain no-repeat; pointer-events: none; }
.badge-new.detail { top: 0; right: 10px; width: 500px; height: 500px; }
.facet-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.facet-tags span { padding: 5px 9px; border-radius: 999px; background: #eef3dd; color: var(--green-dark); font-weight: 800; font-size: 13px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 42px; padding-top: 12px; }
.pagination a { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: white; font-weight: 900; font-size: 18px; }
.pagination a.is-active, .pagination a:hover { background: var(--green); color: white; border-color: var(--green); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.specs-panel { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.specs-list { display: grid; gap: 18px; }
.specs-list article { padding: 0 0 18px; border-bottom: 1px solid var(--line); background: transparent; }
.specs-list article h2 { font-size: 20px; color: var(--green-dark); }
.specs-list article p { margin: 0; color: var(--ink); }
.map-panel { overflow: hidden; background: var(--soft); }
.map-panel iframe { width: 100%; min-height: 500px; border: 0; display: block; }
.contact-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 18px; background: white; border-bottom: 1px solid var(--line); }
.contact-card img { width: 120px; }
.contact-card p { margin: 4px 0; }
.contact-note { color: var(--muted); }
.route-panel { margin: 14px 16px 0; padding: 12px 0; background: white; border-top: 1px solid var(--line); }
.route-panel summary { cursor: pointer; font-weight: 800; color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.route-panel summary span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--green); color: white; text-decoration: none; }
.route-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.route-actions a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.directions-copy { margin: 18px; padding: 18px; background: #f8f7ee; border: 1px solid var(--line); border-radius: 8px; }
.directions-copy ul { margin: 0; padding-left: 20px; }
.panel-form { padding: 22px; }
.contact-form { border-top: 6px solid var(--green); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.robot-field { position: absolute; left: -9999px; opacity: 0; }
.site-footer { flex-shrink: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 34px clamp(18px, 4vw, 56px); background: var(--footer-bg); color: var(--footer-text); }
.footer-logo { width: 150px; height: auto; margin-bottom: 10px; }
.site-footer a { color: var(--footer-text); }
.flash { max-width: 1180px; margin: 14px auto; padding: 12px 16px; border-radius: 6px; border: 1px solid var(--line); background: white; }
.flash-success { border-color: #8bad5f; }
.flash-error { border-color: #d4877b; }
.admin-auth { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--soft), white); }
.login-box { width: min(420px, calc(100vw - 32px)); padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f7f6ee; }
.admin-shell main { flex: initial; }
.admin-sidebar { padding: 18px; background: var(--admin-band); color: var(--admin-text); }
.admin-sidebar a { color: var(--admin-text); }
.admin-brand { display: grid; justify-items: center; gap: 8px; padding: 6px 4px 14px; color: white; text-align: center; border-bottom: 1px solid rgba(255,255,255,.14); }
.admin-brand img { width: 178px; max-width: 100%; height: auto; background: white; border-radius: 6px; padding: 6px; }
.admin-brand strong { font-size: 18px; }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 24px; }
.admin-sidebar nav a { padding: 10px 12px; border-radius: 6px; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.12); }
.admin-main { padding: 28px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.stat-grid strong { display: block; font-size: 34px; color: var(--green); }
.quick-create { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.quick-create-card { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px; min-height: 86px; padding: 16px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.quick-create-card span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 8px; background: rgba(255,255,255,.7); font-size: 30px; font-weight: 900; }
.quick-create-card.product { background: #eef3dd; }
.quick-create-card.category { background: #f7ead6; }
.quick-create-card.agenda { background: #e4f0f6; }
.quick-create-card:hover { color: var(--ink); transform: translateY(-1px); }
.admin-card { padding: 18px; margin-bottom: 18px; }
.admin-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.admin-form.wide { grid-template-columns: repeat(4, 1fr); }
.admin-form .full { grid-column: 1 / -1; }
.facet-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.facet-picker legend { font-weight: 800; color: var(--green-dark); }
.linked-files { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.inline-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.inline-search { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.inline-search input { min-width: 260px; }
.inline-search select { width: auto; min-width: 132px; }
.data-table tr.is-inactive { color: #900; font-style: italic; background: #fff7f7; }
.color-control, .size-control { display: flex; align-items: center; gap: 8px; }
.input-group { gap: 0; align-items: stretch; }
.input-group input:first-child { border-radius: 6px 0 0 6px; }
.input-group input:last-child { border-left: 0; border-radius: 0 6px 6px 0; }
.color-control input[type="color"] { width: 52px; min-width: 52px; height: 42px; padding: 4px; }
.color-control input[type="text"] { min-width: 104px; font-family: Consolas, monospace; text-transform: uppercase; }
.color-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.color-pair legend { padding: 0 6px; font-weight: 900; color: var(--green-dark); }
.logo-setting { display: flex; align-items: center; gap: 14px; }
.logo-setting img { width: 180px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 6px; }
.logo-setting p { margin: 0; color: var(--muted); font-size: .92rem; }
.size-control input[type="range"] { min-width: 160px; }
.size-control input[type="number"] { max-width: 82px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--soft); }
.data-table th.is-sortable { cursor: pointer; user-select: none; }
.data-table th.is-sortable::after { content: " ^v"; color: var(--muted); font-weight: 400; }
.data-table th.sort-asc::after { content: " ^"; color: var(--red); font-weight: 900; }
.data-table th.sort-desc::after { content: " v"; color: var(--red); font-weight: 900; }
.row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 230px; }
.icon-action { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-decoration: none; }
.icon-action span { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.icon-action.move-up span { border-bottom: 11px solid var(--green-dark); }
.icon-action.move-down span { border-top: 11px solid var(--green-dark); }
.icon-action:hover { background: var(--soft); border-color: var(--green); }
.subtle-link { margin-left: 8px; font-size: .82rem; font-weight: 700; text-decoration: underline; }
.field-note { margin: 8px 0 0; color: var(--muted); font-size: .88rem; font-weight: 400; }
.message-row td { color: var(--muted); background: #fff; }
.text-page { max-width: 820px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 16px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .intro-grid, .split, .contact-grid, .product-detail, .catalog-layout, .visual-band, .weekly-feature, .facet-picker, .contact-card, .specs-panel { grid-template-columns: 1fr; }
  .dog-strip { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 138px; }
  .product-visuals { min-height: 220px; }
  .filters { position: static; }
  .two-cols, .site-footer, .stat-grid, .admin-form, .admin-form.wide { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .event-card { grid-template-columns: 36px 1fr; }
  .event-card img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; grid-column: 2; }
  .event-card > div { grid-column: 2; }
  .event-badge { grid-row: 1 / span 2; }
}
