/* Shops Page - Marché Central taxonomy + results architecture (2026-09-09) */

.mc-shell{
  --mc-green: var(--primary, #00B207);
  --mc-green-rgb: 0,178,7;
  --mc-forest: #0D3F10;
  --mc-forest-2: #0A3310;
  --mc-text: #17181A;
  --mc-muted: #66706A;
  --mc-muted-2: #929A94;
  --mc-border: #E5E7E4;
  --mc-shadow-sm: 0 6px 20px rgba(16,24,18,.05);
  --mc-shadow-md: 0 18px 54px rgba(16,24,18,.11);
  background:#fff;
  padding-bottom:72px;
}
.mc-wrap{width:min(1180px,calc(100% - 64px));margin:0 auto}

/* Breadcrumb */
.mc-breadcrumb{
  display:flex;align-items:center;gap:9px;
  padding:24px 0 18px;
  color:var(--mc-muted);font-size:12px;
}
.mc-breadcrumb a{display:inline-flex;align-items:center;gap:7px;color:var(--mc-green);font-weight:600;text-decoration:none}
.mc-breadcrumb [aria-current="page"]{display:inline-flex;align-items:center;gap:7px;color:var(--mc-text);font-weight:600}
.mc-sep{color:#B6BCB7}

/* Eyebrow + section head (shared visual language) */
.mc-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font:700 11px 'Poppins',sans-serif;letter-spacing:.12em;text-transform:uppercase;
  color:var(--mc-green);margin-bottom:10px;
}
.mc-section-head{margin-bottom:24px}
.mc-section-head h2{font-size:28px;letter-spacing:-.03em;margin:0 0 8px;color:var(--mc-text);font-family:'Poppins',sans-serif}
.mc-section-head p{font-size:13px;color:var(--mc-muted);margin:0;max-width:640px}

/* Hero */
.mc-shops-hero{
  position:relative;overflow:hidden;
  padding:44px 46px;border-radius:24px;margin:0 0 34px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255,255,255,.09), transparent 31%),
    linear-gradient(145deg,var(--mc-forest) 0%,var(--mc-forest-2) 100%);
  box-shadow:0 28px 72px rgba(13,63,16,.18);
  color:#fff;
}
.mc-shops-hero-kicker{color:#A6EAAA;font:700 10.5px 'Poppins',sans-serif;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.mc-shops-hero h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.04em;line-height:1.08;margin:0 0 10px;color:#fff;font-family:'Poppins',sans-serif}
.mc-shops-hero p{max-width:730px;color:#C5D9C7;font-size:14px;line-height:1.65;margin:0}
.mc-shops-location-bar{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;
  max-width:760px;margin-top:20px;padding:15px 20px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);border-radius:14px;
}
.mc-shops-location-badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#fff}
.mc-shops-location-badge i{color:#A6EAAA}
.mc-shops-change-location{
  background:#fff;color:#08730E;border:none;border-radius:10px;
  padding:10px 18px;font:600 11px 'Poppins',sans-serif;cursor:pointer;transition:.2s ease;
}
.mc-shops-change-location:hover{background:#f0f0f0;transform:translateY(-2px)}

/* Taxonomy discovery */
.mc-taxonomy-discovery{padding:34px 0 18px}
.mc-taxonomy-discovery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mc-taxonomy-discovery-card{
  display:flex;align-items:center;gap:13px;min-height:110px;padding:14px;
  background:#fff;border:1px solid var(--mc-border);border-radius:16px;
  box-shadow:var(--mc-shadow-sm);color:inherit;text-decoration:none;transition:.2s ease;
}
.mc-taxonomy-discovery-card:hover{transform:translateY(-3px);border-color:rgba(var(--mc-green-rgb),.28);box-shadow:0 14px 34px rgba(16,24,18,.09)}
.mc-taxonomy-art-wrap{
  width:64px;height:64px;flex:0 0 64px;border-radius:50%;overflow:hidden;
  background:#080E0A;border:1px solid rgba(var(--mc-green-rgb),.16);box-shadow:0 0 0 5px rgba(var(--mc-green-rgb),.035);
}
.mc-taxonomy-art-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.mc-taxonomy-discovery-copy h3{font:700 12.5px 'Poppins',sans-serif;color:var(--mc-text);margin:0 0 4px}
.mc-taxonomy-discovery-copy p{font-size:10.5px;color:var(--mc-muted);line-height:1.45;margin:0 0 7px}
.mc-taxonomy-meta{font-size:9.5px;color:#00A006;font-weight:600}

/* Results section */
.mc-shops-results{margin-top:18px;padding-top:40px;border-top:1px solid #EEF1EE}
.mc-results-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:20px;flex-wrap:wrap}
.mc-results-heading-row > div:first-child{max-width:600px}
.mc-discovery-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mc-control-field{display:flex;flex-direction:column;gap:5px}
.mc-control-field > span{font:600 9.5px 'Poppins',sans-serif;color:var(--mc-muted);text-transform:uppercase;letter-spacing:.04em}
.mc-control-field select{
  height:40px;min-width:170px;padding:0 32px 0 12px;border:1px solid var(--mc-border);border-radius:10px;
  background:#fff;color:#414943;font:500 12px 'Inter',sans-serif;outline:none;
}
.mc-control-field select:focus{border-color:rgba(var(--mc-green-rgb),.45);box-shadow:0 0 0 3px rgba(var(--mc-green-rgb),.07)}
.mc-nearby-control{
  height:40px;padding:0 15px;border:1px solid rgba(var(--mc-green-rgb),.25);border-radius:10px;
  background:#F3FBF3;color:#08730E;font:600 11.5px 'Poppins',sans-serif;cursor:pointer;
}
.mc-results-count-bar{
  display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;
  background:#F7F9F7;border:1px solid var(--mc-border);border-radius:12px;
  padding:14px 20px;margin-bottom:20px;
}
.mc-shop-count{font:600 13px 'Poppins',sans-serif;color:#4B544D}
.mc-results-hint{font-size:11px;color:var(--mc-muted-2)}

/* Shops grid + cards (markup unchanged from the buyer/shops.php loop) */
.shops-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.shop-card{
  position:relative;background:#fff;border:1px solid var(--mc-border);border-radius:18px;padding:24px;
  text-align:center;display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit;
  box-shadow:var(--mc-shadow-sm);transition:transform .22s ease,box-shadow .22s ease;
}
.shop-card:hover{transform:translateY(-4px);box-shadow:0 18px 54px rgba(16,24,18,.11)}
.shop-card::after{
  content:"";position:absolute;inset:0;border:1px solid rgba(var(--mc-green-rgb),.45);border-radius:18px;
  opacity:0;transition:opacity .3s ease;pointer-events:none;
}
.shop-card:hover::after{opacity:1}
.shop-type-badge{
  position:absolute;top:14px;right:14px;padding:4px 11px;border-radius:999px;
  background:#EEF9EF;color:#08730E;border:1px solid rgba(var(--mc-green-rgb),.15);
  font-size:9.5px;font-weight:700;text-transform:none;
}
.shop-logo{
  width:96px;height:96px;margin:0 auto 18px;background:#F7F9F7;border-radius:50%;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  border:1px solid var(--mc-border);box-shadow:0 0 0 7px rgba(var(--mc-green-rgb),.035);
}
.shop-logo img{width:100%;height:100%;object-fit:cover}
.shop-name{font-size:17px;font-weight:700;color:var(--mc-text);margin-bottom:8px;font-family:'Poppins',sans-serif}
.shop-description{
  font-size:11.5px;color:var(--mc-muted);margin-bottom:12px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px;
}
.shop-location{color:var(--mc-muted);font-size:12.5px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;gap:4px}
.shop-rating{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:15px}
.shop-rating .stars{color:#ffc107;font-size:14px}
.shop-rating-value{font-weight:600;color:var(--mc-text);font-size:13px}
.shop-meta{
  display:flex;align-items:center;justify-content:center;gap:20px;font-size:10.5px;color:#7B847E;
  margin-top:auto;padding-top:15px;border-top:1px solid #EEF1EE;width:100%;
}
.shop-meta-item{display:flex;align-items:center;gap:4px}

.empty-state{text-align:center;padding:60px 20px;background:#fff;border:1px solid var(--mc-border);border-radius:16px}

.pagination{display:flex;justify-content:center;gap:10px;margin-top:36px}
.pagination a{
  padding:10px 15px;background:#fff;border:1px solid var(--mc-border);border-radius:8px;
  text-decoration:none;color:var(--mc-text);font-weight:500;transition:.2s ease;
}
.pagination a:hover,.pagination a.active{background:var(--mc-green);color:#fff;border-color:var(--mc-green)}

/* Ecosystem bridge */
.mc-ecosystem-bridge{
  margin-top:48px;padding:34px;border-radius:22px;
  background:linear-gradient(145deg,var(--mc-forest),var(--mc-forest-2));
  box-shadow:0 22px 58px rgba(13,63,16,.16);
}
.mc-bridge-heading .mc-eyebrow{color:#9CE9A1}
.mc-bridge-heading h2{color:#fff}
.mc-bridge-heading p{color:#BCD1BE}
.mc-ecosystem-bridge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mc-ecosystem-bridge-card{
  display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;
  text-decoration:none;transition:.2s ease;
}
.mc-ecosystem-bridge-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.09);border-color:rgba(156,233,161,.28)}
.mc-bridge-icon{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 42px;
  background:linear-gradient(145deg,#43DD4E,#18A624 58%,#08720F);box-shadow:0 5px 0 #075B0C;color:#fff;
}
.mc-ecosystem-bridge-card h3{font:700 12px 'Poppins',sans-serif;margin:0 0 3px;color:#fff}
.mc-ecosystem-bridge-card p{font-size:10px;line-height:1.4;color:#C2D6C4;margin:0}

@media(max-width:1100px){
  .mc-taxonomy-discovery-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .shops-grid{grid-template-columns:repeat(2,1fr)}
  .mc-ecosystem-bridge-grid{grid-template-columns:repeat(2,1fr)}
  .mc-results-heading-row{align-items:flex-start;flex-direction:column}
  .mc-discovery-controls{justify-content:flex-start}
}
@media(max-width:760px){
  .mc-wrap{width:min(100% - 36px,1180px)}
  .mc-shops-hero{padding:34px 24px}
  .mc-taxonomy-discovery-grid{grid-template-columns:repeat(2,1fr)}
  .mc-results-count-bar{flex-direction:column;align-items:flex-start}
  .mc-results-hint{text-align:left}
}
@media(max-width:620px){
  .shops-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .mc-taxonomy-discovery-grid,.mc-ecosystem-bridge-grid{grid-template-columns:1fr}
  .mc-discovery-controls{display:grid;grid-template-columns:1fr;width:100%}
  .mc-control-field select,.mc-nearby-control{width:100%;min-width:0}
}
