/* One component system for product cards, carousels and dialogs. */
.product-group > .product-group-title { min-height: 88px; padding: 24px 32px; gap: 16px; }
.product-group-title span { font-size: 12px; line-height: 1.6; }
.product-group-title p { font-size: 11px; line-height: 1.6; opacity: .85; }
.product-cards.single-product-grid { grid-template-columns: 1fr; max-width: none; margin: 0; }
.product-card { min-width: 0; padding: 32px; }
.product-visual { min-width: 0; }
.product-info { min-width: 0; }
.product-info > .product-top { margin: 22px 0 0; gap: 14px; }
.product-info > h3 { margin: 16px 0 12px; min-height: 0; font-size: 25px; line-height: 1.5; }
.product-info > .product-summary { font-size: 13px; line-height: 1.9; margin-bottom: 0; }
.product-info > .product-price-range { font-size: 21px; line-height: 1.6; margin: 20px 0 0; }
.product-info > .product-image-note { font-size: 10px; line-height: 1.7; opacity: .6; margin: 20px 0 0; }
.product-card .product-gallery[data-product-slider] .product-photo { width: 100%; height: 360px; margin: 0; padding: 12px; }
.product-card .product-gallery[data-product-slider] .product-photo img { object-fit: contain; object-position: center; }
.product-line-intro { padding: 36px 32px 0; }
.product-line-intro h3 { font-size: clamp(26px,3.3vw,40px); font-weight: 500; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 14px; }
.product-line-intro p { font-size: 13px; line-height: 1.9; max-width: 680px; margin: 0; }
.product-card-featured .product-visual { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; align-items: center; }
.product-card-featured .product-info > .product-top { margin-top: 0; }
.product-card-featured .product-info > h3 { font-size: 28px; }
.product-card-featured .product-gallery[data-product-slider] .product-photo { height: 440px; }
.product-card > .mobile-product-details { margin-top: 24px; }
.mobile-product-details > summary { min-height: 56px; font-size: 12px; padding: 16px 0; }
.mobile-product-details > summary span { display: inline-flex; align-items: center; }
/* Premium uses the same structure, with a distinct palette and larger photograph. */
.japanese-group { background: #14221f; color: #f6f1e8; border-color: #14221f; }
.japanese-group > .product-group-title { background: #14221f; border-bottom: 1px solid rgba(207,184,137,.35); }
.japanese-group .product-group-title span { color: #d6bd8b; }
.japanese-group .product-top span { color: #d6bd8b; }
.japanese-group .product-info > .product-price-range { color: #e3c99a; font-size: 26px; }
.japanese-group .product-photo { background: #172723; padding: 0 !important; }
.japanese-group .mobile-product-details { border-color: rgba(207,184,137,.35); }
.japanese-group .mobile-product-details > summary { color: #f6f1e8; }
.japanese-group .mobile-product-details > summary span { color: #d6bd8b; }
.japanese-group .gallery-dots button { background: rgba(246,241,232,.3); }
.japanese-group .gallery-dots button.is-active { background: #d6bd8b; }
/* Use the same centered SVG arrows everywhere; no font-glyph positioning. */
.gallery-arrow, .manufacturer-prev, .manufacturer-next { width: 42px; height: 42px; min-width: 42px; padding: 0; border: 1px solid rgba(18,35,31,.2); border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); background: #fff; font-size: 0; line-height: 1; box-sizing: border-box; cursor: pointer; }
.gallery-arrow::before { content: none; display: none; }
.gallery-arrow svg { width: 20px; height: 20px; display: block; overflow: visible; flex-shrink: 0; }
.gallery-prev svg, .gallery-next svg { transform: none; }
.manufacturer-prev, .manufacturer-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.manufacturer-prev { left: 10px; }
.manufacturer-next { right: 10px; }
.gallery-controls { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 12px; margin-top: 12px; }
.dialog-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 0; font-size: 12px; line-height: 1; }
.dialog-close svg { width: 18px; height: 18px; flex-shrink: 0; }
.detail-toolbar, .lightbox-toolbar { align-items: center; }
.disclosure-icon { width: 20px; height: 20px; display: block; }
.faq-list details[open] summary .vertical-stroke, .size-details[open] summary .vertical-stroke { display: none; }
.button { border-radius: 0; font-size: 14px; line-height: 1.5; font-weight: 600; }
.button:focus-visible, .gallery-arrow:focus-visible, .dialog-close:focus-visible, .mobile-product-details > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
/* Home premium feature: a full adult fashion portrait, with room for the garment. */
.japanese-preview { position: relative; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; padding: 44px; margin: 42px 0 28px; background: #14221f; border-top: 1px solid #9a8259; }
.japanese-preview > img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: #172723; }
.japanese-preview h3 { font-size: clamp(28px,3.5vw,44px); line-height: 1.5; letter-spacing: -.04em; }
.japanese-preview > div > span { color: #d6bd8b; line-height: 1.8; }
.japanese-preview .japanese-price { color: #e3c99a; margin: 28px 0; }
.japanese-preview .premium-photo-note { grid-column: 1 / -1; font-size: 10px; margin: -26px 0 0; opacity: .65; }
@media(max-width:900px) {
 .product-card, .product-line-intro { padding-left: 24px; padding-right: 24px; }
 .product-card-featured .product-visual { gap: 24px; }
 .product-card-featured .product-info > h3 { font-size: 24px; }
 .japanese-preview { gap: 28px; padding: 28px; }
 .japanese-preview > img { height: auto; }
}
@media(max-width:700px) {
 .product-cards { grid-template-columns: 1fr; }
 .product-card + .product-card { border-left: 0; border-top: 1px solid var(--line); }
 .product-group > .product-group-title { padding: 20px 24px; min-height: 82px; align-items: flex-start; flex-direction: column; gap: 6px; }
 .product-card-featured .product-visual { display: block; }
 .product-card-featured .product-info > .product-top { margin-top: 22px; }
 .product-card .product-gallery[data-product-slider] .product-photo { height: min(100vw,440px); }
 .product-card .product-info > h3 { font-size: 24px; }
 .product-line-intro { padding-top: 28px; }
 .japanese-preview { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
 .japanese-preview > img { height: auto; width: 100%; max-height: none; }
 .japanese-preview .premium-photo-note { margin: -10px 0 0; }
}
.quantity-stepper button { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.product-group-title p { margin-bottom: 0; }

/* Physical sample consultation */
.sample-fields { border: 1px solid var(--line); margin: 0 0 24px; padding: 20px; min-width: 0; }
.sample-fields[hidden] { display: none; }
.sample-fields legend { padding: 0 8px; font-weight: 700; }
.sample-credit { color: var(--green); }

/* Base garment details stay inside the existing product modal. */
.base-shirt-description { color: var(--ink); background: #f8f7f3; border: 1px solid var(--line); padding: clamp(20px,4vw,32px); margin: 20px 0 28px; }
.base-shirt-description > h3 { font-size: clamp(21px,3vw,27px); line-height: 1.6; margin-bottom: 24px; }
.base-shirt-point + .base-shirt-point { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.base-shirt-point h4 { font-size: 15px; line-height: 1.7; margin: 0 0 8px; }
.base-shirt-point p { font-size: 14px; line-height: 1.95; margin: 0; overflow-wrap: anywhere; }
.base-shirt-description > .small-note { margin-top: 22px; }
.base-shirt-description > .text-link { display: inline-block; margin-top: 8px; }

/* Consistent unit prices, tax-inclusive estimate and email fallback. */
.product-price-range > b, .product-price-range > span { display: block; }
.product-price-range > b { font-size: 18px; line-height: 1.7; }
.product-price-range > span { font-size: 13px; font-weight: 400; opacity: .8; margin-top: 4px; }
.product-price-range small { font-size: 11px; white-space: nowrap; font-weight: 400; }
.product-detail-dialog .product-price-range { margin: 0 0 22px; }
.tax-included-row { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; margin-top: 12px; }
.tax-included-row #totalEstimateIncludingTax { font-size: 23px; }
.tool-result > #setupNote { margin-top: 12px; }
@media (max-width: 600px) { .tax-included-row #totalEstimateIncludingTax { font-size: 20px; } }

/* Mixed-material consultation */
.material-choices { padding: 0; border: 0; margin: 0 0 24px; min-width: 0; }
.material-choices[hidden] { display: none; }
.material-choices legend { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.material-choices > .small-note { margin: 0 0 12px; }
.material-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.consultation-form .material-option { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.consultation-form .material-option input { width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; accent-color: var(--green); }
.material-option:has(input:checked) { background: #eef3ef; border-color: var(--green); }
@media(max-width:600px) { .material-options { grid-template-columns: 1fr; } }

/* Everyday/event use and practical mixed-order examples. */
.comparison-use-note { font-size: 14px; line-height: 1.9; }
.spare-order-examples { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.spare-order-examples li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.spare-order-examples b, .spare-order-examples span { display: block; line-height: 1.8; }
.spare-order-examples b { font-size: 13px; }
.spare-order-examples span { font-size: 17px; font-weight: 700; margin-top: 4px; }
