/* Menswear PDP draft 1: scoped layout, native checkout integration. */
body.mw-has-sticky { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.yc-menswear-pdp {
  --mw-ink: #171717;
  --mw-muted: #666;
  --mw-line: #e6e6e4;
  --mw-soft: #f6f6f4;
  display: block;
  max-width: 1200px !important;
  padding: 0 16px;
  margin: 14px auto 32px;
  color: var(--mw-ink);
}
.yc-menswear-pdp * { box-sizing: border-box; }
.mw-product-overview { display: grid; gap: 24px; min-width: 0; }
.yc-menswear-pdp .product-details { width: 100%; min-width: 0; gap: 20px; }
.yc-menswear-pdp .product-name { font-size: 25px; font-weight: 600; line-height: 1.4; letter-spacing: -.2px; }
.yc-menswear-pdp .product-price { font-size: 28px; color: var(--mw-ink); font-weight: 700; }
.yc-menswear-pdp .compare-price { font-size: 17px; color: #777; }
.yc-menswear-pdp .product-price-container { gap: 12px; }
.yc-menswear-pdp .mw-gallery { width: 100%; min-width: 0; margin: 0; position: static; }
.yc-menswear-pdp .mw-gallery-stage#img-zoomer-box {
  width: 100%; height: auto; aspect-ratio: var(--mw-media-ratio, 4/5);
  border: 0; border-radius: 8px; overflow: hidden; background: var(--mw-soft); position: relative;
}
.mw-gallery-open { display: block; position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: zoom-in; }
.yc-menswear-pdp .mw-gallery-stage .main-image {
  display: block; width: 100%; height: 100%; object-fit: var(--mw-media-fit, contain); opacity: 1 !important;
}
.yc-menswear-pdp .mw-gallery-stage#img-zoomer-box:hover { cursor: auto; }
.mw-zoom-label { position: absolute; inset-inline-end: 12px; top: 12px; padding: 9px; background: #fffffff0; border-radius: 50%; display: flex; }
.mw-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 1px solid #e6e6e4; border-radius: 50%; background: #fffffff0; display: flex; align-items: center; justify-content: center; color: #171717; z-index: 2; font-size: 28px; }
.mw-gallery-prev { left: 10px; }
.mw-gallery-next { right: 10px; }
.mw-gallery-counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: #fffffff0; border-radius: 16px; padding: 4px 12px; color: #343434; font: 500 12px/1.5 sans-serif; pointer-events: none; }
.mw-gallery-thumbnails { display: flex; gap: 9px; width: 100%; padding: 12px 1px 4px; margin: 0; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.mw-gallery-thumbnails li { flex: 0 0 64px; }
.mw-gallery-thumbnail { display: block; width: 64px; height: 76px; background: #f6f6f4; border: 1px solid transparent; border-radius: 5px; overflow: hidden; padding: 3px; }
.mw-gallery-thumbnail.active { border: 2px solid var(--mw-ink); padding: 2px; }
.mw-gallery-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.mw-product-tag { position: absolute; z-index: 3; font-size: 12px; padding: 5px 10px; border-radius: 4px; margin: 12px; }
.mw-product-tag.top_right { top: 0; right: 0; }
.mw-product-tag.top_left { top: 0; left: 0; }
.mw-product-tag.bottom_right { bottom: 0; right: 0; }
.mw-product-tag.bottom_left { bottom: 0; left: 0; }
.mw-purchase-actions { margin-top: 0; }
.yc-menswear-pdp .express-checkout-button, .mw-pdp-active .sticky-elements-container .express-checkout-button {
  min-height: 54px; padding: 14px 18px; border-radius: 6px; font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.4;
}
.mw-purchase-note { margin: 10px 0 0; text-align: center; color: #575757; font-size: 13px; line-height: 1.6; font-weight: 400; }
.mw-purchase-policies { display: grid; gap: 0; margin-top: 16px; border-top: 1px solid var(--mw-line); }
.mw-policy { border-bottom: 1px solid var(--mw-line); }
.mw-policy summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; font-weight: 500; padding: 12px 0; }
.mw-policy summary::-webkit-details-marker, .mw-size-guide summary::-webkit-details-marker { display: none; }
.mw-policy summary span { font: 400 19px/1 sans-serif; }
.mw-policy[open] summary span { transform: rotate(45deg); }
.mw-policy-content { font-size: 14px; color: #555; line-height: 1.8; padding-bottom: 14px; }
.mw-policy-content * { font-weight: 400; }
.yc-menswear-pdp .product-option-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.yc-menswear-pdp .product-options { gap: 18px; }
.yc-menswear-pdp .yc-options-list { gap: 8px; }
.yc-menswear-pdp .yc-options-item {
  display: inline-flex; align-items: center; justify-content: center; min-width: 49px; min-height: 46px; padding: 10px 14px;
  border: 1px solid #d8d8d5; border-radius: 5px; font-size: 15px; font-weight: 500; cursor: pointer; background: white;
}
.yc-menswear-pdp .yc-options-list .yc-options-item.active { background: #171717; border-color: #171717; color: #fff; }
.yc-menswear-pdp .yc-image-options-list { gap: 10px; }
.yc-menswear-pdp .yc-image-options-list .yc-image-options-item { width: 78px; height: auto; aspect-ratio: auto; padding: 4px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; background: white; }
.yc-menswear-pdp .yc-image-options-list .yc-image-options-item.active { border: 2px solid #171717; padding: 3px; }
.yc-menswear-pdp .yc-image-options-list .yc-image-options-item img { display: block; width: 100%; height: 73px; object-fit: contain; border-radius: 3px; background: #f6f6f4; }
.mw-option-label { display: block; font-size: 11px; font-weight: 500; text-align: center; padding-top: 5px; line-height: 1.5; }
.yc-menswear-pdp .yc-colors-select { gap: 8px; }
.yc-menswear-pdp .yc-colors-select .color-item { width: auto; height: auto; min-width: 72px; padding: 8px 10px; border: 1px solid #d8d8d5; border-radius: 5px; display: flex; align-items: center; gap: 8px; }
.yc-menswear-pdp .yc-colors-select .color-item.active { padding: 7px 9px; border: 2px solid #171717; }
.yc-menswear-pdp .yc-colors-select .color-item .preview { width: 20px; height: 20px; flex-shrink: 0; border: 1px solid #0002; }
.yc-menswear-pdp .yc-colors-select .color-item .value { opacity: 1; font-size: 13px; font-weight: 500; }
.yc-menswear-pdp .is-unavailable { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.yc-menswear-pdp .yc-options-list .is-unavailable.active { background: #eee; border-color: #aaa; color: #555; }
.yc-menswear-pdp .dropdown-input { min-width: 0; max-width: 100%; }
.yc-menswear-pdp .quantity-field { border: 1px solid #d8d8d5; border-radius: 5px; min-height: 44px; width: 138px; padding: 4px; }
.mw-size-guide { margin-top: 12px; }
.mw-size-guide summary { cursor: pointer; list-style: none; width: fit-content; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.mw-size-guide-content { margin-top: 12px; overflow-x: auto; background: #f6f6f4; padding: 16px; border-radius: 6px; line-height: 1.7; }
.mw-size-guide-content table { width: 100%; border-collapse: collapse; }
.mw-size-guide-content td, .mw-size-guide-content th { padding: 8px; border: 1px solid #ddd; text-align: start; }
.mw-fit-note { font-size: 13px; line-height: 1.7; color: #666; margin-top: 10px; }
.mw-product-story { margin-top: 36px; border-top: 1px solid var(--mw-line); padding-top: 28px; }
.mw-product-story .product-description { max-width: 900px; margin: 0 auto; line-height: 1.8; font-size: 16px; overflow-wrap: anywhere; }
.mw-product-story .product-description img, .mw-product-story .product-description video { max-width: 100%; height: auto; }
.mw-product-story .product-description table { display: block; max-width: 100%; overflow-x: auto; }
.mw-pdp-active .sticky-elements-container { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #e6e6e4; gap: 0; box-shadow: 0 -4px 20px #00000008; }
.mw-pdp-active .sticky-elements-wrapper { z-index: 990; }
.mw-checkout-open .sticky-elements-wrapper { visibility: hidden; }
.yc-menswear-pdp .spinner.hidden { display: none; }
.yc-menswear-checkout { width: 100%; max-width: 560px; height: min(88dvh, 800px); bottom: 0; left: auto; right: 0; visibility: hidden; transform: translateY(105%); transition: transform .2s ease, visibility .2s; z-index: 1001; }
.yc-menswear-checkout.is-open { visibility: visible; transform: translateY(0); }
.yc-menswear-checkout .sticky-container.container { position: static; padding: 0; height: 100%; max-height: none; transform: none; display: block; }
.yc-menswear-checkout .step_2 { height: 100%; border-radius: 14px 14px 0 0; overflow: hidden; background: white; display: flex; flex-direction: column; }
.mw-checkout-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-shrink: 0; padding: 16px 20px; border-bottom: 1px solid #e6e6e4; }
.mw-checkout-header h2 { font-size: 19px; font-weight: 600; }
.mw-checkout-close { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #f3f3f1; font: 400 26px/1 sans-serif; color: #171717; }
.yc-menswear-checkout .step-2-wrapper { flex: 1; min-height: 0; width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px; margin: 0; }
.yc-menswear-checkout .cta-bottom-wrapper { position: static; flex-shrink: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e6e6e4; box-shadow: none; }
.yc-menswear-checkout .yc-product-card { padding: 12px; border-radius: 6px; background: #f6f6f4; border: 0; }
.yc-menswear-checkout .yc-product-card .product-name { font-size: 14px !important; }
.yc-menswear-checkout .checkout-form { padding-bottom: 0; }
.yc-menswear-checkout .express-checkout-fields { gap: 14px; }
.yc-menswear-checkout .express-checkout-fields input, .yc-menswear-checkout .express-checkout-fields select, .yc-menswear-checkout .express-checkout-fields textarea { min-height: 48px; font-size: 16px !important; font-weight: 400 !important; }
.yc-menswear-checkout .express-checkout-title { font-size: 15px; font-weight: 500; }
.mw-lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; inset: 0; border: 0; padding: 60px 10px; background: #101010; color: white; }
.mw-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.mw-lightbox::backdrop { background: #101010; }
.mw-lightbox > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mw-lightbox-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 1px solid #555; border-radius: 50%; color: white; font: 400 28px/1 sans-serif; }
.yc-menswear-pdp button:focus-visible, .yc-menswear-pdp [role="button"]:focus-visible, .yc-menswear-pdp summary:focus-visible, .mw-pdp-active .sticky-elements-wrapper button:focus-visible { outline: 2px solid #365b83; outline-offset: 3px; }
@media (min-width: 768px) {
  .yc-menswear-pdp { padding: 0 24px; margin-top: 24px; }
  .mw-product-overview { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .yc-menswear-pdp .mw-gallery { position: sticky; top: calc(var(--yc-nav-height) + 18px); }
  .yc-menswear-pdp .product-name { font-size: 29px; }
  .yc-menswear-pdp .product-price { font-size: 31px; }
  .mw-gallery-thumbnails li, .mw-gallery-thumbnail { width: 70px; flex-basis: 70px; }
  .mw-gallery-thumbnail { height: 84px; }
  .mw-product-story { margin-top: 52px; padding-top: 36px; }
  .yc-menswear-checkout { right: 24px; bottom: 16px; height: min(88dvh, 800px); }
  .yc-menswear-checkout .step_2 { border-radius: 12px; box-shadow: 0 20px 70px #0003; }
}
@media (prefers-reduced-motion: reduce) {
  .yc-menswear-checkout, .yc-menswear-pdp * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* COD service promises and revised product information order. */
.mw-trust-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid #e6e6e4; border-radius: 7px; overflow: hidden; }
.mw-trust-badge { min-width: 0; padding: 13px 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; text-align: center; background: #fafaf9; }
.mw-trust-badge:nth-child(2n+1) { border-inline-end: 1px solid #e6e6e4; }
.mw-trust-badge:nth-child(-n+2) { border-bottom: 1px solid #e6e6e4; }
.mw-trust-badge-title { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; line-height: 1.5; color: #252525; }
.mw-trust-badge-title > span { font-weight: 600; }
.mw-service-icon { flex: 0 0 21px; }
.mw-trust-badge-detail { font-size: 12px; line-height: 1.6; font-weight: 400; color: #626262; }
.mw-product-policies { max-width: 900px; margin: 28px auto 0; border-top: 1px solid #e6e6e4; }
.mw-order-summary-heading { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.yc-menswear-checkout .price-wrapper { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mw-summary-price-label { color: #666; font-size: 12px; font-weight: 400; }
.yc-menswear-checkout .yc-product-card .selected-preview { display: grid; gap: 7px; }
.yc-menswear-checkout .yc-product-card #selected-product-variants { gap: 7px 14px; }
.yc-menswear-checkout .yc-product-card .mw-summary-value { font-weight: 600; }
.mw-checkout-reassurance { margin: 6px 0 0; font-size: 12px; line-height: 1.5; text-align: center; color: #626262; font-weight: 400; }
.yc-menswear-checkout .cta-bottom-wrapper { gap: 0; }
