/* ============================================================
   MyGemma luxury polish — layered on top of site.css
   Serif display, brand eyebrows, refined badges, new chrome.
   ============================================================ */

/* ---- Serif display for retail-facing titles ---- */
.wiha-plp-title,
.welcome-title,
.search-head__title,
.pdp-anchor__name,
.pdp-recs__title {
  font-family: var(--mg-serif);
  font-weight: 500;
  letter-spacing: 0;
}
.wiha-plp-title { font-size: 40px; }
.welcome-title { font-size: 42px; line-height: 1.14; margin-bottom: 4px; }
.sbs-col__viewport .wiha-plp-title { font-size: 30px; font-weight: 500; }
.pdp-anchor__name { font-size: 22px; line-height: 1.2; }
.pdp-recs__title { font-size: 17px; }

/* ---- Site chrome: centered wordmark + slim uppercase nav ---- */
.mg-header {
  background: #fff;
  border-bottom: 1px solid var(--wiha-line);
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mg-header__logo img { height: 22px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.mg-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2px 0 0;
}
.mg-nav a {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wiha-text);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.mg-nav a:hover { color: #000; }
.mg-nav a.active { border-bottom-color: var(--wiha-text); }
.mg-nav a.sale { color: var(--wiha-sale-badge); }

/* ---- Product card: brand eyebrow + lighter name ---- */
.mg-card__brand {
  padding: 0 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wiha-muted);
  font-weight: 600;
  margin-bottom: 5px;
}
.wiha-card__name {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  line-height: 1.4;
}
.wiha-card__img img { object-fit: contain; }
.wiha-card__price { font-weight: 600; }

/* ---- Refined badges + remove the German flag ---- */
.wiha-flag { display: none !important; }
.wiha-badge {
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ---- Logos in heads / welcome ---- */
.sbs-col__head { min-height: 96px; justify-content: center; }
.sbs-col__logo--mg, .sbs-col__logo--mal { display: block; }
.sbs-col__logo--mal { height: 22px; }
.sbs-col__logo--mg { height: 17px; max-width: 200px; opacity: 0.92; filter: none; }
.welcome-logos img.logo-mg { height: 28px; }
.welcome-logos img.logo-mal { height: 32px; }
.compare-card--before .compare-icon { background: transparent; }
.compare-card--before .compare-icon img { width: 62px; height: auto; filter: none; opacity: 0.95; border-radius: 0; }

/* ---- PDP recommendation mini cards ---- */
.pdp-rec-mini__brand {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wiha-muted);
  font-weight: 600;
}
.pdp-rec-mini__pair {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-malachyte-dark);
  background: rgba(173,239,155,0.30);
  border: 1px solid rgba(3,131,98,0.28);
  padding: 2.5px 7px;
  border-radius: 999px;
  width: fit-content;
}
.pdp-rec-mini__img img { object-fit: contain; }
.pdp-anchor__img img { object-fit: contain; }
/* Framed carousel (matches the PLP grid-wrap treatment) */
.pdp-recs__wrap { margin: 0 20px 22px; }
.pdp-recs__wrap .pdp-carousel { padding: 14px 12px; }

/* ---- Merch slot: brand eyebrow + contained imagery ---- */
.merch-slot__brand {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wiha-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.merch-slot__img img { object-fit: contain !important; background: #fff; }
.merch-carousel__title { font-family: var(--mg-serif); font-weight: 600; font-size: 18px; }

/* ---- Welcome blurb width ---- */
.welcome-blurb { max-width: 600px; }

/* ---- BEFORE rail bar in red (signals the un-personalized side) ---- */
.wiha-grid-wrap--alpha .wiha-grid-railbar { background: #C5302B; }
