/* M2 and P2 product pages, aligned with the W1 detail page. */
.mp-detail .site-nav .brand { display: flex; align-items: center; gap: 5px; font-size: 13px; letter-spacing: -.04em; }
.mp-detail .site-nav .brand-logo { width: 58px; height: 26px; object-fit: cover; filter: invert(1); }
.mp-detail .design-panel { background: linear-gradient(135deg,#f5f6f7,#e5e8eb); }
.mp-detail .design-panel h1 { margin: 0 0 30px; font-size: clamp(30px,3.5vw,50px); letter-spacing: -.045em; line-height: 1.1; }
.mp-detail .design-panel-grid .design-product { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transform: none; mix-blend-mode: normal; }
.mp-detail .design-label,.mp-detail .design-specs { background: rgba(255,255,255,.52); }
.mp-detail .design-label b { font-size: clamp(24px,2.5vw,36px); white-space: nowrap; }
.mp-detail .design-specs dl { gap: 14px; }
.mp-detail .design-specs dl div { font-size: 15px; }
.mp-detail .design-specs p { line-height: 1.5; }
.mp-detail .product-facts { padding: 22px 24px 43px; }
.mp-detail .product-facts-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border-radius: 18px; background: #e9eef2; }
.mp-detail .product-fact { padding: 24px 26px; border-right: 1px solid #d4dee5; }
.mp-detail .product-fact:last-child { border-right: 0; }
.mp-detail .product-fact b,.mp-detail .product-fact span { display: block; }
.mp-detail .product-fact b { font-size: 22px; letter-spacing: -.04em; }
.mp-detail .product-fact span { margin-top: 4px; color: #52616c; font-size: 12px; line-height: 1.4; }
.mp-detail .showcase-photo img { aspect-ratio: 1; object-fit: contain; transform: none; background: #e9e8ef; }
.mp-detail .showcase-photo figcaption { padding: 7px 3px 2px; color: #52616c; font-size: 11px; text-align: center; }
.mp-detail .showcase-photo { margin: 0; }
.mp-detail .feature-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.mp-detail .feature-tags span { padding: 7px 10px; border-radius: 999px; background: #eff4f5; color: #405a64; font-size: 11px; font-weight: 700; }
.mp-detail .travel-heading { margin: 0 0 24px; text-align: center; font-size: clamp(26px,2.4vw,34px); letter-spacing: -.035em; }
.mp-detail .dimensions-card { display: flex; flex-direction: column; align-items: center; }
.mp-detail .dimensions-card .box-subtitle { margin: 10px 0 0; }
.mp-detail .dimensions-card img { display: block; width: 70%; max-width: 70%; height: auto; max-height: none; aspect-ratio: 1; object-fit: contain; transform: none; margin: 22px auto; }
.mp-detail .dimensions-card .box-measurements { display: block; width: 100%; margin-top: auto; }
.mp-detail .dimensions-card .box-measurements span,.mp-detail .dimensions-card .box-measurements b { display: block; }
.mp-detail .package-contact { max-width: 900px; margin: 18px auto 0; text-align: center; font-size: 13px; color: #52616c; }
.mp-detail .package-contact a { color: #087d74; font-weight: 800; }
@media (min-width:641px) {
  .mp-detail .desktop-design-series { padding: 32px 24px 18px; }
  .mp-detail .design-panel-grid { margin-top: 30px; margin-bottom: 30px; }
  .mp-detail .design-specs { min-height: 470px; display: flex; flex-direction: column; justify-content: center; }
  .mp-detail .desktop-showcase { padding-top: 28px; }
  .mp-detail .showcase-layout { max-width: 1000px; }
  .mp-detail .showcase-photos { gap: 0; }
  .mp-detail .showcase-photo:nth-child(2) { margin-top: -14px; position: relative; z-index: 1; }
}
@media (max-width:640px) {
  .mp-detail .design-panel h1 { font-size: 28px; margin-bottom: 16px; }
  .mp-detail .design-panel-grid .design-product { margin: 18px auto !important; max-width: 100% !important; }
  .mp-detail .product-facts { padding: 10px 16px 24px; }
  .mp-detail .product-facts-grid { grid-template-columns: repeat(2,1fr); }
  .mp-detail .product-fact { padding: 17px; border-bottom: 1px solid #d4dee5; }
  .mp-detail .product-fact:nth-child(2) { border-right: 0; }
  .mp-detail .product-fact:nth-last-child(-n+2) { border-bottom: 0; }
  .mp-detail .product-fact b { font-size: 19px; }
  .mp-detail .showcase-photo figcaption { font-size: 10px; }
  .mp-detail .travel-heading { margin: 0 0 16px; }
  .mp-detail .dimensions-card { margin-top: 12px; }
  .mp-detail .dimensions-card img { width: 70%; max-width: 70% !important; height: auto; margin: 22px auto !important; }
  .mp-detail .package-contact { padding: 0 8px; line-height: 1.6; }
}
/* Match W1's first-screen image scale and translucent information panels. */
@media (min-width: 641px) {
  .mp-detail .design-panel h1 { position: relative; z-index: 2; }
  .mp-detail .design-panel-grid { margin-top: 65px; margin-bottom: 65px; }
  .mp-detail .design-panel-grid .design-product { transform: scale(1.32); transform-origin: center; }
  .mp-detail .design-panel-grid .design-label,
  .mp-detail .design-panel-grid .design-specs { position: relative; z-index: 1; background: rgba(255, 255, 255, .52); }
}
@media (max-width: 640px) {
  .mp-detail .design-panel-grid .design-product { transform: none; }
  .mp-detail .design-panel-grid .design-label { background: transparent; }
  .mp-detail .design-panel-grid .design-specs { background: #fff; }
}

/* Keep the upper M2 captions legible where the photos overlap. */
@media (min-width: 641px) {
  #showcase-m2 .showcase-photo:first-child,
  #showcase-p2 .showcase-photo:first-child {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .88);
  }
  #showcase-m2 .showcase-photo:first-child figcaption,
  #showcase-p2 .showcase-photo:first-child figcaption {
    position: relative;
    background: rgba(255, 255, 255, .92);
    color: #30434d;
  }
}

/* Enlarge P2 unfolded and folded pictures, including their backgrounds. */
.p2-detail .dimensions-card img,
.m2-detail .dimensions-card img { width: 91%; max-width: 91% !important; }

.p2-detail .design-specs dl .p2-weight { flex-wrap: nowrap; gap: 4px; align-items: baseline; }
.p2-detail .p2-weight dt, .p2-detail .p2-weight dd { white-space: nowrap; }
.p2-detail .p2-weight-note { font-size: 11px; }

/* Place the P2 award on the existing product image. */
.p2-detail .p2-product-display { position: relative; width: 100%; }
.p2-detail .design-panel-grid .p2-product-display .design-product { width: 100%; max-width: 100% !important; margin: 0 !important; transform: none; }
.p2-detail .p2-award-mark { position: absolute; top: 2%; right: 1%; width: 14%; height: auto; mix-blend-mode: multiply; }
@media (min-width: 641px) { .p2-detail .p2-product-display { transform: scale(1.32); transform-origin: center; } }
@media (max-width: 640px) { .p2-detail .p2-product-display { margin: 18px auto; } }
