/* FILE: marketplace/public/MCM-product.css */
/* VERSION: shop-mycarnivalmatch-product-css.v2.2.0 */
/* ROLLBACK-ID: shop-mycarnivalmatch-product-css.v2.1.0 */
/* CHANGE: Contains product-detail and related-product overrides only; shared shell, cards, consent, footer, toast, focus, and motion live in MCM-shop.css. */

.MCM-detail-section { padding: 18px 0 44px; }
.MCM-breadcrumb { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--MCM-muted); font-size: 14px; font-weight: 750; }
.MCM-breadcrumb a { color: var(--MCM-primary); }
.MCM-detail-card { display: grid; gap: 18px; overflow: hidden; border: 1px solid rgba(60,60,67,0.12); border-radius: 28px; background: rgba(255,255,255,0.9); box-shadow: var(--MCM-shadow-soft); }
.MCM-gallery { display: grid; gap: 10px; padding: 12px; }
.MCM-hero-image-wrap { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 1 / 1.12; background: var(--MCM-surface-soft); }
.MCM-hero-image { width: 100%; height: 100%; object-fit: cover; }
.MCM-gallery-badge { position: absolute; top: 12px; left: 12px; border-radius: 999px; padding: 8px 10px; background: rgba(255,255,255,0.9); color: var(--MCM-primary); font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.MCM-thumbnail-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.MCM-thumbnail-row::-webkit-scrollbar { display: none; }
.MCM-thumbnail-button { flex: 0 0 70px; width: 70px; height: 78px; overflow: hidden; border: 2px solid transparent; border-radius: 14px; padding: 0; background: var(--MCM-surface-soft); }
.MCM-thumbnail-button[aria-current="true"] { border-color: var(--MCM-primary); }
.MCM-thumbnail-button img { width: 100%; height: 100%; object-fit: cover; }
.MCM-detail-copy { display: grid; align-content: start; gap: 14px; padding: 0 18px 22px; }
.MCM-product-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.MCM-pill { display: inline-flex; min-height: 30px; align-items: center; border-radius: 999px; padding: 7px 10px; background: var(--MCM-surface-soft); color: var(--MCM-muted); font-size: 12px; font-weight: 850; }
.MCM-pill.MCM-pill-primary { background: rgba(34,90,167,0.1); color: var(--MCM-primary); }
.MCM-detail-copy .MCM-title { margin: 0; font-size: clamp(34px,9vw,64px); font-weight: 900; letter-spacing: -0.055em; line-height: 0.98; }
.MCM-price { margin: 0; color: var(--MCM-text); font-family: var(--font-display); font-size: clamp(30px,7vw,44px); font-weight: 900; letter-spacing: -0.04em; }
.MCM-price-note { margin: -6px 0 0; color: var(--MCM-muted); font-size: 14px; font-weight: 650; }
.MCM-vendor-line { margin: 0; color: var(--MCM-muted); font-size: 17px; font-weight: 650; line-height: 1.45; }
.MCM-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--MCM-muted); font-size: 14px; font-weight: 750; }
.MCM-description { margin: 0; color: #3a3a3c; font-size: 17px; line-height: 1.55; }
.MCM-action-card { display: grid; gap: 10px; border: 1px solid var(--MCM-line); border-radius: 20px; padding: 12px; background: #fff; }
.MCM-action-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.MCM-info-list { list-style: none; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--MCM-line); border-radius: 18px; background: #fff; }
.MCM-info-item { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--MCM-text); font-size: 15px; font-weight: 700; }
.MCM-info-item:not(:last-child) { border-bottom: 1px solid var(--MCM-line); }
.MCM-info-label { color: var(--MCM-muted); font-weight: 650; }
.MCM-policy-card, .MCM-related-section { margin-top: 18px; border: 1px solid rgba(60,60,67,0.12); border-radius: 28px; padding: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.MCM-policy-card h2, .MCM-related-section h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px,6vw,36px); font-weight: 900; letter-spacing: -0.04em; }
.MCM-policy-card p { margin: 10px 0 0; color: var(--MCM-muted); font-size: 16px; line-height: 1.55; }
.MCM-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.MCM-related-grid .MCM-product-card { border-radius: 18px; background: #fff; box-shadow: none; }
.MCM-related-grid .MCM-product-image-wrap { aspect-ratio: 1 / 1.08; padding: 0; }
.MCM-related-grid .MCM-product-image { object-fit: cover; mix-blend-mode: normal; }
.MCM-related-grid .MCM-product-copy { padding: 11px; }
.MCM-related-grid .MCM-product-name { min-height: 38px; font-size: 14px; line-height: 1.25; }
.MCM-related-grid .MCM-product-price { margin-top: 8px; font-size: 16px; }
.MCM-related-grid .MCM-empty { border-color: var(--MCM-line-strong); background: #fff; font-size: 16px; font-weight: 700; }

@media (min-width: 820px) {
  .MCM-detail-card { grid-template-columns: minmax(0,1.02fr) minmax(360px,0.98fr); align-items: start; padding: 10px; }
  .MCM-gallery { padding: 0; }
  .MCM-detail-copy { padding: 20px 10px 20px 0; }
  .MCM-action-row { grid-template-columns: 1fr 1fr; }
  .MCM-related-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
}
@media (hover: hover) and (pointer: fine) {
  .MCM-related-grid .MCM-product-card:hover .MCM-product-image { transform: scale(1.035); }
}
