/* Product layout follows the active MCS tokens and native WooCommerce markup. */
.mcs-store.single-product #primary{margin-block:36px 64px}
.mcs-store.single-product #primary div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.mcs-store.single-product #primary div.product::before,.mcs-store.single-product #primary div.product::after{display:none}
.mcs-store.single-product #primary div.product>span.onsale{z-index:2;left:16px;top:16px;margin:0;min-height:0;min-width:0;height:auto;line-height:1.4;padding:6px 10px}
.mcs-store.single-product #primary div.product div.images,.mcs-store.single-product #primary div.product div.summary{float:none;width:100%;min-width:0;margin:0}
.mcs-store.single-product #primary div.product div.images{border:0;background:transparent;box-shadow:none;overflow:visible}
.mcs-store.single-product .woocommerce-product-gallery .flex-viewport{border:var(--mcs-border);border-radius:16px;box-shadow:var(--mcs-shadow);overflow:hidden}
.mcs-store.single-product .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.mcs-store.single-product #primary div.product div.images .flex-control-thumbs{display:flex;gap:12px;padding:4px 2px 8px;margin-top:20px;overflow-x:auto;scrollbar-width:thin}
.mcs-store.single-product #primary div.product div.images .flex-control-thumbs li{float:none;flex:0 0 80px;width:80px;margin:0}
.mcs-store.single-product #primary div.product div.images .flex-control-thumbs img{width:80px;height:88px;object-fit:cover;border:2px solid transparent;border-radius:10px;opacity:.72}
.mcs-store.single-product #primary div.product div.images .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--mcs-ink)}
.mcs-store.single-product #primary div.product .product_title{font-family:var(--mcs-display);font-size:clamp(30px,3vw,44px);font-weight:400;line-height:1.12;letter-spacing:-.025em;margin:0 0 20px}
.mcs-store.single-product .woocommerce-product-rating{font-size:14px;margin:0 0 16px}
.mcs-store.single-product #primary .woocommerce-product-details__short-description{font-size:16px;line-height:1.6;margin:0 0 24px}
.mcs-store.single-product #primary .woocommerce-product-details__short-description p{margin:0 0 20px}
.mcs-store.single-product #primary .woocommerce-product-details__short-description ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0}
.mcs-store.single-product #primary .woocommerce-product-details__short-description li{margin:0;padding:16px 10px;background:var(--mcs-cream);border-radius:16px;text-align:center;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.mcs-store.single-product #primary .woocommerce-product-details__short-description li .mcs-icon{display:block;width:26px;height:26px;margin:0 auto 10px}
.mcs-store.single-product #primary .woocommerce-product-details__short-description li strong{display:block;font-weight:800;margin-bottom:4px}
.mcs-store.single-product #primary div.product p.price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;color:var(--mcs-ink);font-size:30px;font-weight:850;margin:0 0 20px}
.mcs-store.single-product #primary div.product p.price del{font-size:18px;font-weight:500;color:var(--mcs-muted);opacity:1}
.mcs-store.single-product #primary div.product p.price ins{text-decoration:none}
.mcs-store.single-product #primary div.product form.cart{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch;margin:0 0 24px}
.mcs-store.single-product #primary div.product form.cart .quantity{float:none;margin:0;flex:0 0 auto}
.mcs-store.single-product #primary div.product form.cart .quantity.mcs-product-quantity{display:flex;align-items:center;border:var(--mcs-border);border-radius:28px;background:var(--mcs-surface);overflow:hidden;height:56px}
.mcs-store.single-product .mcs-product-quantity-step{display:flex;align-items:center;justify-content:center;min-width:36px;width:36px;height:52px;padding:0;border:0;border-radius:0;background:transparent;color:var(--mcs-ink);font-size:20px;box-shadow:none}
.mcs-store.single-product .mcs-product-quantity-step[hidden]{display:none}
.mcs-store.single-product .mcs-product-quantity-step:disabled{opacity:.4;cursor:default}
.mcs-store.single-product #primary div.product form.cart .quantity.mcs-product-quantity input.qty{width:40px;min-width:0;height:52px;border:0;border-radius:0;appearance:textfield;background:transparent;font-size:16px;padding:0;text-align:center}
.mcs-store.single-product .mcs-product-quantity input::-webkit-inner-spin-button,.mcs-store.single-product .mcs-product-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
.mcs-store.single-product #primary div.product .single_add_to_cart_button{flex:1;min-width:150px;min-height:56px;float:none;border:var(--mcs-border);border-radius:28px;background:var(--mcs-accent);color:var(--mcs-ink);box-shadow:3px 4px 0 var(--mcs-ink);font:850 16px/1.3 var(--mcs-font);text-transform:none;padding:12px 20px;margin:0}
.mcs-store.single-product #primary div.product .single_add_to_cart_button:hover{background:var(--mcs-accent-light)}
.mcs-store.single-product #primary div.product .single_add_to_cart_button.disabled,.mcs-store.single-product #primary div.product .single_add_to_cart_button:disabled{opacity:.5}
.mcs-store.single-product #primary div.product form.variations_form{display:block}
.mcs-store.single-product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:14px}
.mcs-store.single-product .product_meta{font-size:12px;line-height:1.7;color:var(--mcs-muted);border:0;padding:0;margin:0 0 28px}
.mcs-product-details{display:grid;gap:12px;clear:both}
.mcs-product-detail{border:0;margin:0;min-width:0;scroll-margin-top:24px}
.mcs-product-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:18px 24px;list-style:none;cursor:pointer;border-radius:32px;background:var(--mcs-cream);color:var(--mcs-ink);font:800 16px/1.4 var(--mcs-font)}
.mcs-product-detail>summary::-webkit-details-marker{display:none}
.mcs-product-detail>summary:hover{background:var(--mcs-accent-light)}
.mcs-detail-toggle{display:block;position:relative;flex:0 0 24px;width:24px;height:24px}
.mcs-detail-toggle::before,.mcs-detail-toggle::after{content:'';position:absolute;inset:11px 2px;height:2px;background:currentColor;border-radius:2px}
.mcs-detail-toggle::after{transform:rotate(90deg);transition:transform var(--mcs-fast) ease}
.mcs-product-detail[open] .mcs-detail-toggle::after{transform:rotate(0)}
.mcs-product-detail-content{padding:24px 8px 12px;font-size:15px;line-height:1.75;overflow-wrap:anywhere}
.mcs-store.single-product .mcs-product-detail-content h2{font:850 24px/1.3 var(--mcs-font);margin:0 0 16px}
.mcs-store.single-product .mcs-product-detail-content h3{font:800 18px/1.4 var(--mcs-font);margin:24px 0 12px}
.mcs-product-detail-content p,.mcs-product-detail-content ul{margin-bottom:20px}
.mcs-product-detail-content table{width:100%;table-layout:fixed;border:0;font-size:14px;margin:20px 0}
.mcs-product-detail-content th,.mcs-product-detail-content td{border:0;border-bottom:1px solid var(--mcs-cream);padding:12px 8px;vertical-align:top}
.mcs-product-detail-content #reviews #comments h2{margin-bottom:20px}
.mcs-product-detail-content #review_form input:not([type=checkbox]),.mcs-product-detail-content #review_form textarea{max-width:100%;font-size:16px}
.mcs-store.single-product #primary div.product>.related,.mcs-store.single-product #primary div.product>.up-sells{grid-column:1/-1;width:100%;margin-top:24px}
.mcs-store.single-product :is(summary,.mcs-product-quantity-step,input.qty,.single_add_to_cart_button):focus-visible{outline:2px solid var(--mcs-ink);outline-offset:3px}
@media(max-width:960px){.mcs-store.single-product #primary div.product{gap:32px}.mcs-store.single-product #primary .woocommerce-product-details__short-description ul{gap:8px}.mcs-store.single-product #primary .woocommerce-product-details__short-description li{padding:14px 8px}.mcs-store.single-product #primary div.product .single_add_to_cart_button{font-size:14px;padding-inline:14px}}
@media(max-width:760px){
 .mcs-store.single-product #primary{width:calc(100% - 28px);margin-block:20px 44px}
 .mcs-store.single-product #primary div.product{grid-template-columns:minmax(0,1fr);gap:28px}
 .mcs-store.single-product #primary div.product .product_title{font-size:clamp(28px,7.5vw,36px);margin-bottom:16px}
 .mcs-store.single-product #primary .woocommerce-product-details__short-description{font-size:16px}
 .mcs-store.single-product #primary .woocommerce-product-details__short-description li{font-size:12px;padding:14px 8px}
 .mcs-store.single-product #primary div.product div.images .flex-control-thumbs{margin-top:14px;gap:10px}
 .mcs-store.single-product #primary div.product div.images .flex-control-thumbs li{flex-basis:68px;width:68px}
 .mcs-store.single-product #primary div.product div.images .flex-control-thumbs img{width:68px;height:76px}
 .mcs-product-detail>summary{padding:16px 20px;min-height:60px;font-size:15px}
 .mcs-product-detail-content{padding:20px 4px 8px}
 .mcs-store.single-product #primary div.product .single_add_to_cart_button{min-width:140px}
 .mcs-store.single-product #primary div.product>.related{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){.mcs-detail-toggle::after{transition:none}}
