/* Mocha Casa — Workshop (product category) header. Display layer only. */

.mc-shop-banner {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: clamp(300px, 36vw, 420px);
  background: #f5f0e8;
  overflow: hidden;
}
.mc-shop-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 72%;
  display: block;
}
.mc-shop-banner__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(30,24,18,.05) 0%, transparent 10%, transparent 90%, rgba(30,24,18,.05) 100%);
}
.mc-shop-banner__type {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px 32px;
  pointer-events: none; max-width: min(780px, 90%);
  margin: 0 auto; left: 0; right: 0;
}
.mc-shop-banner__title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 600; color: #2a2118;
  letter-spacing: .06em; line-height: 1.05; margin: 0 0 10px;
  text-shadow: 0 0 32px rgba(255,252,245,.95), 0 1px 2px rgba(255,255,255,.8), 0 2px 12px rgba(255,248,240,.6);
}
.mc-shop-banner__line1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(14px, 1.75vw, 19px);
  font-weight: 600; color: #3d3228; line-height: 1.45; letter-spacing: .03em; margin: 0;
  text-shadow: 0 0 24px rgba(255,252,245,.9), 0 1px 2px rgba(255,255,255,.7);
}
.mc-shop-banner__ornament {
  width: 52px; height: 1px; margin: 12px auto;
  background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent);
  opacity: .4;
}
.mc-shop-banner__line2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(12px, 1.45vw, 16px);
  font-weight: 500; font-style: italic; color: #5c4a3a; line-height: 1.5; letter-spacing: .02em; margin: 0;
  text-shadow: 0 0 20px rgba(255,252,245,.85), 0 1px 2px rgba(255,255,255,.65);
}

/* per-workshop brand colours */
.mc-shop-banner--ceramics .mc-shop-banner__title { font-style: italic; font-weight: 500; color: #0a1c3a; letter-spacing: .04em; }
.mc-shop-banner--ceramics .mc-shop-banner__line1 { color: #0a1c3a; }
.mc-shop-banner--ceramics .mc-shop-banner__line2 { color: #3d4f6a; }
.mc-shop-banner--ceramics .mc-shop-banner__ornament { color: #0a1c3a; }
.mc-shop-banner--wool .mc-shop-banner__title { color: #5c3d2e; font-weight: 700; }
.mc-shop-banner--wool .mc-shop-banner__line1 { color: #6b4a38; }
.mc-shop-banner--wool .mc-shop-banner__line2 { color: #8b6b55; }
.mc-shop-banner--wool .mc-shop-banner__ornament { color: #5c3d2e; }
.mc-shop-banner--metal .mc-shop-banner__title,
.mc-shop-banner--leather .mc-shop-banner__title { color: #0a1c3a; }
.mc-shop-banner--metal .mc-shop-banner__line1,
.mc-shop-banner--leather .mc-shop-banner__line1 { color: #0a1c3a; }
.mc-shop-banner--metal .mc-shop-banner__line2,
.mc-shop-banner--leather .mc-shop-banner__line2 { color: #3d4f6a; }
.mc-shop-banner--metal .mc-shop-banner__ornament,
.mc-shop-banner--leather .mc-shop-banner__ornament { color: #0a1c3a; }
.mc-shop-banner--pod .pod-m { color: #c45c3e; }
.mc-shop-banner--pod .pod-p { color: #3d8b8b; }
.mc-shop-banner--pod .pod-l { color: #1a1a1a; }
.mc-shop-banner--pod .mc-shop-banner__line1 { color: #3d4f6a; }
.mc-shop-banner--pod .mc-shop-banner__line2 { color: #5c4a3a; }
.mc-shop-banner--pod .mc-shop-banner__ornament { color: #c45c3e; }

/* identity bar */
.mc-shop-identity {
  max-width: 1180px; margin: 0 auto; padding: 22px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  border-bottom: 1px solid #edeeef;
}
.mc-shop-avatar {
  width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: #f7f6f0; border: 1px solid #edeeef; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.mc-shop-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; }
.mc-shop-identity__text { flex: 1; min-width: 200px; }
.mc-shop-identity__name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: #191c1d; line-height: 1.2;
}
.mc-star-badge { font-size: 11px; font-weight: 700; color: #634cd9; background: #f3f0ff; padding: 3px 9px; border-radius: 6px; }
.mc-shop-identity__loc { font-size: 13px; color: #40484f; margin-top: 4px; }
.mc-shop-identity__stats { font-size: 13px; color: #40484f; margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.mc-shop-identity__stats .mc-stars { color: #f1641e; font-weight: 700; }
.mc-shop-identity__stats .mc-dot { margin: 0 8px; opacity: .45; }

/* intro */
.mc-shop-intro { max-width: 1180px; margin: 18px auto 6px; }
.mc-shop-intro p { font-size: 14px; line-height: 1.7; color: #40484f; max-width: 760px; margin: 0; }

/* hide the default WooCommerce archive title/description on workshops (we render our own) */
.mc-workshop .woocommerce-products-header { display: none; }

/* global header cleanup: drop the unstyled Storefront secondary nav row
   and the wp_page_menu fallback that Storefront renders for the (intentionally
   empty) handheld location — mobile uses a separate bottom bar. */
.secondary-navigation { display: none; }
.main-navigation > div.menu { display: none; }

/* "More from this studio" — gallery fill for sparse workshops */
.mc-more-head {
  clear: both;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 700; color: #191c1d;
  margin: 8px 0 14px;
  padding-top: 22px; border-top: 1px solid #edeeef;
}
.mc-more-products { clear: both; }
.mc-more-products .woocommerce-loop-product__title { font-weight: 500; }

/* sub-section rows (e.g. Ceramics -> Everyday / Memorial) */
.mc-section-head {
  clear: both;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px; font-weight: 800; color: #191c1d; line-height: 1.3;
  margin: 30px 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid #edeeef;
  display: flex; align-items: center; gap: 10px;
}
.mc-section-head:first-of-type { margin-top: 14px; }
.mc-section-head .mc-section-count {
  font-size: 12px; font-weight: 700; color: #40484f;
  background: #f3f4f5; border-radius: 20px; padding: 2px 10px;
}
.mc-workshop--sectioned ul.products { margin-bottom: 6px; }
.mc-workshop--sectioned .woocommerce-result-count,
.mc-workshop--sectioned .woocommerce-ordering { display: none; }

@media (max-width: 960px) {
  .mc-shop-banner__title { font-size: 32px; }
  .mc-shop-avatar { width: 64px; height: 64px; }
  .mc-section-head { font-size: 17px; }
}
@media (max-width: 640px) {
  .mc-shop-banner { height: clamp(220px, 52vw, 300px); }
  .mc-shop-banner__title { font-size: 28px; letter-spacing: .03em; }
  .mc-section-head { font-size: 16px; margin: 22px 0 14px; }
}
