.supermarket-dashboard .rest-hero{background-image:linear-gradient(90deg,#07253fe8,#1b553da6),url('/assets/market/ambiance-20261015/supermarche-illustration-v1.png')}.supermarket-dashboard .rest-hero h1{max-width:850px}.supermarket-dashboard #sm-finance-bank{padding:18px;border:1px solid #b2ebd266;border-radius:16px;margin:15px 0}.supermarket-dashboard #pro-inventory form{display:grid;gap:13px}.supermarket-dashboard #pro-inventory label{display:grid;gap:7px;font-size:13px}.supermarket-dashboard #pro-inventory :is(input,select,button){box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;padding:10px;border-radius:10px;border:1px solid #b1dcd155;background:#0c2b36;color:#ecfff8;font:inherit}.supermarket-dashboard #pro-inventory :is(input,select){width:100%}.supermarket-dashboard #pro-inventory fieldset{min-width:0;border-radius:12px;border:1px solid #9bddcc44;padding:14px;display:grid;gap:12px}.supermarket-dashboard [hidden]{display:none!important}.supermarket-dashboard .stock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.supermarket-dashboard .pro-line{display:grid;gap:9px;padding:13px;border:1px solid #90d8bf44;border-radius:12px;min-width:0}@media(max-width:600px){.supermarket-dashboard .stock-summary{grid-template-columns:minmax(0,1fr)}}
.supermarket-public-results{max-width:1200px;margin:20px auto;padding:18px;border-radius:20px;border:1px solid #95e3cc66;background:#082a36ee;color:#effff9}.supermarket-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.supermarket-search-grid>article{min-width:0;border:1px solid #8bcebc66;border-radius:14px;padding:14px}.supermarket-search-grid img{width:100%;height:180px;object-fit:cover;border-radius:12px}.supermarket-search-grid button,.supermarket-public-results>button{min-height:44px;border:1px solid #97d9c866;border-radius:10px;padding:10px;background:#13402f;color:#f1fff9}.supermarket-public-results [hidden]{display:none!important}body[data-discovery=supermarket] .market-filter-panel{width:100%;padding:12px;border-radius:14px;border:1px solid #80cdbd66;background:#092d3a}body[data-discovery=supermarket] #supermarket-search-mode{min-height:44px;max-width:100%;padding:10px;border-radius:10px;background:#123b37;color:#e5fff7}@media(max-width:600px){.supermarket-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.supermarket-search-grid img{height:125px}}@media(max-width:359px){.supermarket-search-grid{grid-template-columns:minmax(0,1fr)}}

/* Supermarket discovery: compact controls and distinct shop groups. */
body[data-discovery="supermarket"] .supermarket-proximity-heading {
  display: grid; place-items: center; margin: 12px 0 16px; padding: 22px 18px;
  border: 1px solid #81d9ed44; border-radius: 22px;
  background: radial-gradient(ellipse at 50% 0%, #207c9255, transparent 72%), linear-gradient(125deg,#0a2038e8,#103d40dd);
  box-shadow: inset 0 1px #c0f7ff26, 0 12px 40px #00142233;
}
body[data-discovery="supermarket"] .supermarket-proximity-heading h1 {
  margin: 0; max-width: 100%; color: #efffff; text-align: center;
  font-size: clamp(23px, 2.6vw, 36px); line-height: 1.3; letter-spacing: .07em; text-wrap: balance;
}
body[data-discovery="supermarket"] .supermarket-catalog-search {
  box-sizing: border-box; display: grid; gap: 12px; padding: 20px;
  border: 1px solid #72d3ed44; border-radius: 22px;
  background: radial-gradient(ellipse at 0 0,#2c71823d,transparent 70%),#071e30ed;
  box-shadow: inset 0 1px #c9f5ff22,0 10px 32px #00102026;
}
body[data-discovery="supermarket"] .supermarket-catalog-search h2 { margin: 0; font-size: 20px; line-height: 1.3; }
body[data-discovery="supermarket"] .supermarket-rayon-selectors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body[data-discovery="supermarket"] .supermarket-rayon-selectors label { display: grid; gap: 5px; min-width: 0; font-size: 12px; color: #d9f5f7; }
body[data-discovery="supermarket"] .supermarket-rayon-selectors select {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 10px 28px 10px 10px;
  border: 1px solid #82d9e34d; border-radius: 12px; background: #0c2c3d; color: #f0fffd; font: inherit;
}
body[data-discovery="supermarket"] .supermarket-rayon-selectors option { background:#0c2c3d; color:#f0fffd; }
body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-search { width: 100%; min-width: 0; margin:0; box-sizing: border-box; }
body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-controls { display: block; margin:0; padding:0; }
body[data-discovery="supermarket"] .supermarket-catalog-search .market-filter-panel {
  box-sizing: border-box; margin: 0; padding: 0; width: 100%; border: 1px solid #83d6e133;
  border-radius: 14px; background: #0d2a3b99;
}
body[data-discovery="supermarket"] .market-filter-panel > summary { box-sizing: border-box; padding: 12px 14px; min-height:44px; cursor:pointer; font-size:13px; }
body[data-discovery="supermarket"] .market-personal-filters { margin:0; padding:0 10px 10px; gap:8px; grid-template-columns:repeat(3,minmax(0,1fr)); }
body[data-discovery="supermarket"] .supermarket-filter-group { min-width:0; margin:0; border:1px solid #7ed1e333; border-radius:12px; background:#071e30a6; }
body[data-discovery="supermarket"] .supermarket-filter-group > summary { padding:12px; min-height:44px; box-sizing:border-box; font-size:12px; color:#d5f7ff; cursor:pointer; }
body[data-discovery="supermarket"] .market-personal-filters .supermarket-filter-group fieldset { margin:0; padding:10px; border:0; background:transparent; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body[data-discovery="supermarket"] .market-personal-filters label { font-size:11px; gap:4px; line-height:1.35; }
body[data-discovery="supermarket"] .market-personal-filters :is(input,select) { min-height:44px; padding:8px; font-size:13px; }
body[data-discovery="supermarket"] .market-personal-filters p { font-size:11px; line-height:1.4; }
body[data-discovery="supermarket"] .market-personal-filters .market-filter-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body[data-discovery="supermarket"] .market-personal-filters button { min-height:44px; padding:8px; font-size:12px; border:1px solid #8edce355; border-radius:11px; background:#144457; color:#efffff; }
body[data-discovery="supermarket"] :is(.supermarket-rayon-selectors select,.market-filter-panel summary):focus-visible { outline:2px solid #a2efff; outline-offset:3px; }
body[data-discovery="supermarket"] .universe-establishment-group { border:1px solid #7fcfe13b; border-radius:18px; padding:12px; background:linear-gradient(135deg,#102f4299,#08222d99); }
body[data-discovery="supermarket"] .universe-establishment-heading { margin-bottom:12px; }
body[data-discovery="supermarket"] .universe-establishment-heading small { color:#aee8e3; font-size:11px; }
@media(max-width:1050px) {
  body[data-discovery="supermarket"] .market-personal-filters { grid-template-columns:1fr; }
}
@media(max-width:760px) {
  body[data-discovery="supermarket"] .supermarket-proximity-heading { margin:8px 0 12px; padding:17px 10px; border-radius:16px; }
  body[data-discovery="supermarket"] .supermarket-proximity-heading h1 { font-size:clamp(16px,4.5vw,23px); letter-spacing:.045em; }
  body[data-discovery="supermarket"] .supermarket-catalog-search { gap:10px; padding:12px; border-radius:17px; }
  body[data-discovery="supermarket"] .supermarket-catalog-search h2 { font-size:17px; }
  body[data-discovery="supermarket"] .supermarket-rayon-selectors { gap:8px; }
  body[data-discovery="supermarket"] .supermarket-rayon-selectors select { padding-left:8px; font-size:12px; }
  body[data-discovery="supermarket"] .supermarket-filter-group > summary { padding:11px 10px; }
  body[data-discovery="supermarket"] .market-personal-filters .supermarket-filter-group fieldset { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-discovery="supermarket"] .universe-establishment-group { padding:9px; border-radius:15px; }
  body[data-discovery="supermarket"] .universe-establishment-heading { flex-wrap:wrap; gap:6px; }
  body[data-discovery="supermarket"] .universe-establishment-heading h3 { font-size:16px; }
}
@media(prefers-reduced-motion:no-preference) {
  body[data-discovery="supermarket"] .supermarket-filter-group[open] > fieldset { animation:supermarket-filter-enter .18s ease-out; }
  @keyframes supermarket-filter-enter { from { opacity:.4; transform:translateY(-3px); } to { opacity:1; transform:translateY(0); } }
}

body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-search{display:flex;align-items:center;gap:6px;min-height:46px;padding:4px 6px 4px 10px}body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-search input{flex:1;width:0;min-width:0;height:38px;padding:6px;border:0;background:transparent;font-size:14px}body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-search button{flex:0 0 42px;width:42px;min-height:42px;padding:8px;display:grid;place-items:center}body[data-discovery="supermarket"] .supermarket-catalog-search .discovery-search>.discovery-icon{flex:0 0 20px;width:20px;height:20px}

body[data-discovery="supermarket"] .supermarket-catalog-search .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Keep the compact supermarket title above shared typography themes. */
body[data-discovery="supermarket"] #discovery-main .supermarket-proximity-heading>h1{font-size:clamp(23px,2.6vw,36px)!important;line-height:1.3!important}@media(max-width:760px){body[data-discovery="supermarket"] #discovery-main .supermarket-proximity-heading>h1{font-size:clamp(16px,4.5vw,23px)!important;line-height:1.3!important;letter-spacing:.045em!important}}
