/* Approved P-2 desktop layout. Mobile controls and shared purchase styles remain unchanged. */
@media (min-width: 769px) {
 .product-detail-section.ss-layout-p2 { background:#fff!important; }
 .ss-layout-p2 { --p2-brown:#5b3d26; --p2-line:#e4e0db; width:100%!important; max-width:none!important; padding-top:32px; }
 .ss-layout-p2 > .container { max-width:none!important; padding:0!important; }
 .ss-layout-p2 .ss-p2-hero { width:100%; max-width:1200px!important; padding:0 32px 38px!important; display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:48px!important; align-items:stretch; }
 .ss-layout-p2 .ss-p2-hero > .product-images { border:0!important; padding:0!important; border-radius:0!important; box-shadow:none!important; min-width:0; align-self:stretch; }
 .ss-layout-p2 .ss-p2-hero > .product-info { border:0!important; border-radius:0!important; padding:0!important; box-shadow:none!important; min-width:0; }
 .ss-layout-p2 .product-images > .product-description-detail { display:none!important; }
 .ss-layout-p2 .main-image-container { margin-bottom:16px; flex:none; min-height:0!important; aspect-ratio:1.24; }
 .ss-layout-p2 .main-image { width:100%; height:100%!important; aspect-ratio:1.24; object-fit:cover; max-height:none!important; border-radius:8px; display:block; }
 .ss-layout-p2 .thumbnail-container { display:flex!important; flex-wrap:nowrap!important; gap:10px!important; overflow-x:auto; overflow-y:hidden; padding:0 0 3px; margin:0; scrollbar-width:thin; }
 .ss-layout-p2 .thumbnail { flex:0 0 calc((100% - 40px)/5)!important; width:auto!important; max-width:none!important; min-width:0!important; aspect-ratio:1; height:auto!important; margin:0; }
 .ss-layout-p2 .thumbnail img { width:100%; height:100%; object-fit:cover; }
 .ss-layout-p2 .ss-pca-zone { padding:0!important; height:100%; display:flex; flex-direction:column; }
 .ss-layout-p2 .ss-pca-price { margin-top:18px; }
 .ss-layout-p2 .ss-pca-specs { margin-top:4px; margin-bottom:18px; }
 .ss-layout-p2 .ss-pca-total { margin-top:auto; padding-top:14px; }
 .ss-layout-p2 .ss-pca-cta button { height:48px; }
 .ss-layout-p2 .ss-p2-details-wrap { width:100%; min-width:0; border:0!important; border-radius:0!important; overflow:visible!important; box-shadow:none!important; background:#f8f7f5!important; display:block; padding:0!important; }
 .ss-layout-p2 .product-details-section { display:block!important; overflow:visible!important; }
 .ss-layout-p2 .product-details-section .details-tabs.ss-1a-tabs { position:sticky; top:0; z-index:150; display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; width:100%; padding:0 max(32px,calc((100% - 1136px)/2))!important; margin:0!important; min-height:58px; background:#fff!important; border-top:1px solid var(--p2-line)!important; box-shadow:0 2px 7px #00000005; }
 .ss-layout-p2 .details-tabs .tab-btn { white-space:nowrap; min-width:0; }
 .ss-layout-p2 .tab-content { display:grid; grid-template-columns:minmax(0,1fr) 310px; align-items:start; gap:32px; padding:40px 32px 56px!important; margin:0 auto!important; max-width:1200px; width:100%; background:transparent!important; }
 .ss-layout-p2 .ss-p2-panels { min-width:0; }
 .ss-layout-p2 .tab-panel { max-width:none; }
 .ss-layout-p2 #product-info .product-description-detail { display:block!important; }
 .ss-layout-p2 .product-description-detail { margin:0!important; padding:0!important; box-shadow:none!important; border-radius:0!important; background:transparent!important; }
 .ss-layout-p2 .description-content { padding:0!important; width:100%; max-width:100%!important; }
 .ss-layout-p2 .description-content img { display:block; max-width:100%; height:auto; margin-left:auto; margin-right:auto; }
 .ss-layout-p2 .product-info-table { background:#fff; }
 .ss-layout-p2 #ss-p2-shipping > * { max-width:100%!important; margin:0 0 24px!important; }
 .ss-layout-p2 #ss-p2-shipping .delivery-info { width:100%!important; }
 .ss-layout-p2 .ss-p2-purchase { position:sticky; top:82px; padding:22px; border:1px solid var(--p2-line); border-radius:8px; background:#fff; box-shadow:0 7px 20px #00000005; font-family:inherit; color:#111; }
 .ss-p2-purchase select,.ss-p2-purchase input,.ss-p2-purchase button { font-family:inherit; }
 .ss-p2-heading { font-size:18px; margin:0 0 18px; padding-bottom:16px; border-bottom:1px solid var(--p2-line); font-weight:700; }
 .ss-p2-name { font-size:14px; font-weight:500; line-height:1.5; margin-bottom:16px; word-break:keep-all; overflow-wrap:anywhere; }
 .ss-p2-option-label { font-size:13px; font-weight:600; display:block; margin:0 0 8px; }
 .ss-p2-option { min-height:42px; width:100%; min-width:0; border:1px solid #ddd; background:#fff; border-radius:4px; padding:8px 12px; font-size:14px; color:#333; }
 .ss-p2-quantity-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; }
 .ss-p2-selected { font-size:14px; min-width:0; overflow-wrap:anywhere; }
 .ss-p2-stepper { display:flex; align-items:center; border:1px solid #d6d6d6; border-radius:4px; overflow:hidden; flex-shrink:0; background:#fff; }
 .ss-p2-stepper button { width:32px; height:36px; display:grid; place-items:center; border:0; background:#fafafa; color:#444; cursor:pointer; padding:0; }
 .ss-p2-stepper .ss-p2-quantity { width:44px; height:36px; border:0; border-left:1px solid #e7e7e7; border-right:1px solid #e7e7e7; text-align:center; font-size:14px; font-weight:600; appearance:textfield; -moz-appearance:textfield; }
 .ss-p2-quantity::-webkit-inner-spin-button { appearance:none; }
 .ss-p2-stepper svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; }
 .ss-p2-total-row { margin:24px 0 18px; display:flex; align-items:baseline; justify-content:space-between; gap:8px; font-size:13px; color:#666; }
 .ss-p2-total { font-size:24px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; color:#111; }
 .ss-p2-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
 .ss-p2-actions button { height:44px; border-radius:4px; padding:0 10px; font-size:14px; font-weight:700; cursor:pointer; white-space:nowrap; }
 .ss-p2-cart { border:1px solid var(--p2-brown); background:#fff; color:var(--p2-brown); }
 .ss-p2-buy { border:1px solid var(--p2-brown); background:var(--p2-brown); color:#fff; }
 .ss-p2-actions button:disabled { opacity:.55; cursor:default; }
 .ss-p2-purchase button:focus-visible,.ss-p2-purchase select:focus-visible,.ss-p2-purchase input:focus-visible { outline:2px solid var(--p2-brown); outline-offset:3px; }
}
@media (min-width:769px) and (max-width:1050px) {
 .ss-layout-p2 .ss-p2-hero { gap:28px!important; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); padding-left:24px!important; padding-right:24px!important; }
 .ss-layout-p2 .ss-pca-title { font-size:22px!important; }
 .ss-layout-p2 .tab-content { grid-template-columns:minmax(0,1fr) 272px; gap:24px; padding-left:24px!important; padding-right:24px!important; }
 .ss-layout-p2 .ss-p2-purchase { padding:18px; }
 .ss-p2-total { font-size:21px; }
}
