/* Product detail mobile layout; desktop authoring remains unchanged. */
@media(max-width:1100px){
 body.storefront .detail-top,body.storefront .detail-copy,body.storefront .detail-section{min-width:0;max-width:100%;}
 body.storefront .detail-image-panel .detail-art{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;display:block;}
 body.storefront .detail-image-panel .detail-art .catalog-product-image{width:100%;height:auto!important;max-width:100%;max-height:none;object-fit:contain;display:block;}
 body.storefront .product-rich-detail{font-size:13px;line-height:1.6;overflow-wrap:anywhere;overflow-x:auto;}
 body.storefront .product-rich-detail :is(p,div,span,strong,em){line-height:inherit;}
 body.storefront .product-rich-detail [style*="font-size"]{font-size:14px!important;}
 body.storefront .product-rich-detail :is(img,video){max-width:100%!important;height:auto!important;min-width:0!important;object-fit:contain;}
 body.storefront .product-rich-detail iframe{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9;display:block;}
 body.storefront .product-rich-detail :is(p,div):has(>iframe),body.storefront .product-rich-detail :is(p,div):has(>video){max-width:100%;}
 body.storefront .detail-section:is(#reviews,#qna){padding:20px 12px;}
 body.storefront .detail-section .section-title{gap:12px;flex-wrap:wrap;}
 body.storefront .detail-section .section-title h2{font-size:18px;}
 body.storefront .detail-section .detail-section-actions{display:flex;gap:8px;margin-left:auto;}
 body.storefront .detail-section .detail-section-actions .btn{min-width:0;padding:9px 12px;font-size:12px;}
 body.storefront .detail-section :is(.review-table,.question-table){width:100%!important;min-width:0!important;table-layout:fixed;}
 body.storefront .detail-section :is(.review-table,.question-table) :is(th,td){padding:12px 4px;font-size:12px!important;line-height:1.5;white-space:normal;overflow-wrap:anywhere;}
 body.storefront .detail-section .review-table col:nth-child(1){width:9%!important;}
 body.storefront .detail-section .review-table col:nth-child(2){width:31%!important;}
 body.storefront .detail-section .review-table col:nth-child(3){width:17%!important;}
 body.storefront .detail-section .review-table col:nth-child(4){width:24%!important;}
 body.storefront .detail-section .review-table col:nth-child(5){width:19%!important;}
 body.storefront .detail-section .question-table th:nth-child(1){width:9%;}
 body.storefront .detail-section .question-table th:nth-child(2){width:34%;}
 body.storefront .detail-section .question-table th:nth-child(3){width:18%;}
 body.storefront .detail-section .question-table th:nth-child(4){width:13%;}
 body.storefront .detail-section .question-table th:nth-child(5){width:26%;}
 body.storefront .detail-section :is(.review-table,.question-table) .table-empty{padding:28px 8px;text-align:center;}
 body.storefront .detail-section .review-stars{font-size:10px;white-space:nowrap;}
 body.storefront .detail-section :is(.review-toggle,.question-toggle){font-size:12px;white-space:normal;overflow-wrap:anywhere;}
 body.storefront .footer.footer76{padding-bottom:0!important;}
}

@media(max-width:1100px){
 body.storefront .detail-section .section-title{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;}
 body.storefront .detail-section .section-title h2{margin:0;}
 body.storefront .detail-section :is(.review-table,.question-table) th{white-space:nowrap;}
}
/* Five visible columns within the phone width; no collapsed headers. */
@media(max-width:600px){
 body.storefront :is(#reviews,#qna) .table-wrap{width:100%;max-width:100%;overflow-x:auto;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table){min-width:0!important;width:100%!important;table-layout:fixed;}
 body.storefront :is(#reviews,#qna) .review-table colgroup{display:none;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) :is(th,td){padding:12px 2px!important;font-size:11px!important;line-height:1.5!important;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) thead th{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) th:nth-child(1){width:30px!important;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) th:nth-child(2){width:auto!important;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) th:nth-child(3){width:42px!important;}
 body.storefront :is(#reviews,#qna) .review-table th:nth-child(4){width:68px!important;}
 body.storefront :is(#reviews,#qna) .review-table th:nth-child(5){width:54px!important;}
 body.storefront :is(#reviews,#qna) .question-table th:nth-child(4){width:38px!important;}
 body.storefront :is(#reviews,#qna) .question-table th:nth-child(5){width:68px!important;}
 body.storefront :is(#reviews,#qna) :is(.review-table,.question-table) .table-empty{padding:28px 6px!important;text-align:center;white-space:normal;}
 body.storefront :is(#reviews,#qna) .review-stars{font-size:9px!important;letter-spacing:0;}
 body.storefront :is(#reviews,#qna) .review-toggle{font-size:11px!important;}
}
