/* Shared product presentation, independent of product theme. */
.pmx-route-product-detail .pmx-media-thumb { position:relative; background:#fafafa; }
.pmx-route-product-detail .owl-carousel-dots .pmx-media-thumb > img { width:100%; height:100%; object-fit:contain; }
.pmx-route-product-detail .pmx-media-thumb .pmx-model-preview { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; background:#fafafa; }
.pmx-route-product-detail .pmx-media-badge { position:absolute; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:center; gap:4px; padding:3px 2px; background:#ffffffed; color:#b41121; font-size:9px; line-height:1.2; font-weight:700; min-height:20px; }
.pmx-route-product-detail .pmx-gallery-3d model-viewer { touch-action:pan-y; }
.pmx-route-product-detail .pmx-model-error { position:absolute; inset:auto 10px 10px; margin:0; padding:8px; background:#fff; color:#555; font-size:12px; }
.pmx-route-product-detail .pmx-model-error[hidden] { display:none; }
@media(min-width:992px) {
 body.pmx-route-categories-children .pmx-plp-sidebar { top:var(--pm-filter-top,150px); max-height:calc(100dvh - var(--pm-filter-top,150px) - 16px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-gutter:stable; }
}
#aiAdvisor .ai-advisor-panel { top: auto; bottom: 20px; right: 20px; width: 360px; height: min(600px,calc(100dvh - 40px)); max-height: calc(100dvh - 40px); border: 1px solid #e3dfda; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px #00000030; transform: translateX(calc(100% + 40px)); visibility: hidden; transition: transform .2s ease, visibility .2s; font-family: Inter,Arial,sans-serif; }
#aiAdvisor.is-open .ai-advisor-panel { right: 20px; transform: translateX(0); visibility: visible; }
#aiAdvisor .ai-advisor-backdrop { background: #00000012; }
#aiAdvisor .ai-advisor-head { flex: 0 0 auto; min-height: 62px; padding: 10px 12px; background: linear-gradient(110deg,#302526,#d51324); }
#aiAdvisor .ai-advisor-brand { gap: 8px; min-width: 0; }
#aiAdvisor .ai-advisor-brand strong { font-size: 14px; line-height: 1.3; }
#aiAdvisor .ai-advisor-brand small { font-size: 10px; line-height: 1.5; }
#aiAdvisor .ai-advisor-mark { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; overflow: hidden; }
#aiAdvisor .ai-advisor-mark img { width: 28px; height: 28px; object-fit: contain; }
#aiAdvisor .ai-advisor-close { width: 36px; height: 36px; flex: 0 0 36px; font-size: 23px; display: flex; align-items: center; justify-content: center; }
#aiAdvisor .ai-advisor-tabs { flex: 0 0 auto; padding: 5px 8px; background: #f6f5f3; gap: 4px; }
#aiAdvisor .ai-advisor-tab { min-height: 34px; font-size: 11px; padding: 6px 3px; }
#aiAdvisor .ai-advisor-pane { padding: 14px 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #aaa #f6f5f3; }
#aiAdvisor #aiPaneChat { overflow: hidden; }
#aiAdvisor .ai-chat-body { min-height: 0; }
#aiAdvisor .ai-chat-msg { font-size: 13px; line-height: 1.5; padding: 11px 12px; border: 1px solid #e4dcd4; border-radius: 14px 14px 14px 4px; max-width: 92%; }
#aiAdvisor .ai-chat-msg.user { border-radius: 14px 14px 4px 14px; }
#aiAdvisor .ai-chat-quick { flex-shrink: 0; gap: 6px; padding: 10px 0; }
#aiAdvisor .ai-chat-quick button { font-size: 11px; min-height: 32px; padding: 6px 10px; }
#aiAdvisor .ai-chat-input { flex-shrink: 0; padding: 0; }
#aiAdvisor .ai-chat-input input { height: 42px; font-size: 13px; }
#aiAdvisor .ai-chat-input button { width: 40px; height: 40px; flex: 0 0 40px; background: #cc1324; }
#aiAdvisor .ai-goal-step h6 { font-size: 18px; line-height: 1.3; margin-bottom: 7px; }
#aiAdvisor .ai-goal-step > p { font-size: 12px; margin-bottom: 16px; }
#aiAdvisor .ai-goal-step .ai-quiz-opt { min-height: 64px; padding: 10px 12px; border: 1px solid #ded5cd; border-radius: 12px; gap: 12px; }
#aiAdvisor .ai-goal-step .ai-quiz-opt b { font-size: 13px; line-height: 1.35; }
#aiAdvisor .ai-goal-step .ai-quiz-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; font-size: 20px; }
#aiAdvisor .ai-quiz-opt:focus-within { outline: 2px solid #bb1424; outline-offset: 2px; }
#aiAdvisor .ai-human-action { border: 1px solid #e3dbd3; border-radius: 8px; }
@media(max-width:767px) {
    #aiAdvisor .ai-advisor-panel { width: min(360px,calc(100vw - 24px)); height: min(600px,calc(100dvh - 24px)); max-height: calc(100dvh - 24px); bottom: max(12px,env(safe-area-inset-bottom)); right: 12px; }
    #aiAdvisor.is-open .ai-advisor-panel { right: 12px; }
    #aiAdvisor .ai-chat-input input { font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) { #aiAdvisor .ai-advisor-panel { transition: none; } }
.pm-workout-inputs { display: grid; grid-template-columns: minmax(0,2fr) minmax(120px,1fr); gap: 12px; margin: 14px 0; }
.pm-workout-inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #444; min-width: 0; }
.pm-workout-inputs :is(input,select) { width: 100%; min-width: 0; height: 40px; border: 1px solid #ded8d2; background: #fff; border-radius: 6px; padding: 8px; color: #222; }
#frmCheckout h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 0 0 18px; color: #191919; letter-spacing: 0; }
#frmCheckout .price-taxes-wrap { display: flex; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
#frmCheckout #mrp-block { font-size: 17px; font-weight: 500; margin: 0; color: #444; }
#frmCheckout .price-taxes-wrap span { font-size: 12px; color: #555; }
#frmCheckout .price-wrap { display: flex; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
#frmCheckout #price-block { color: #191919; font-size: 32px; font-weight: 800; margin: 0; line-height: 1.2; }
#frmCheckout .price-wrap p { margin: 0; font-size: 13px; color: #555; }
#frmCheckout .product-id p { font-size: 12px; line-height: 1.5; margin-bottom: 6px !important; color: #333; }
#frmCheckout .btn-wrap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0 22px; }
#frmCheckout .btn-wrap :is(.cart-btn,.dark-btn,.fav-btn,.product-detail-compare-btn) { display: inline-flex; flex: 0 1 auto; align-items: center; justify-content: center; width: auto; height: 44px; min-height: 44px; border-radius: 4px; font-size: 12px; padding: 8px 12px; gap: 8px; }
#frmCheckout .btn-wrap .dark-btn { background: #fff; color: #333; border: 1px solid transparent; }
#frmCheckout .btn-wrap :is(.fav-btn,.product-detail-compare-btn) { background: #fff; color: #333; border: 1px solid #d5d7dc; }
#frmCheckout .btn-wrap .fav-btn { width: 44px; padding: 10px; }
#frmCheckout .input-num-wrap { width: 44px; flex: 0 0 44px; }
#frmCheckout #quantity { height: 44px; width: 44px; padding: 4px; text-align: center; }
#frmCheckout .check-Availability-sec { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100%; margin-bottom: 26px; }
#frmCheckout .check-Availability-sec input { min-width: 0; width: 0; flex: 1; height: 44px; font-size: 12px; }
#frmCheckout #btnCheckDeliverable { width: auto; flex: 0 0 auto; padding: 10px 12px; height: 44px; min-height: 44px; background: #6d6d6d; font-size: 12px; }
#frmCheckout .about-details h3 { font-size: 15px; margin-bottom: 18px; }
#frmCheckout .about-details p { font-size: 13px; line-height: 1.65; text-align: left; }
body.pmx-route-product-detail .product-details-wrap .product-content-sec { padding: 20px; background: #fff; color: #202124; box-shadow: 0 6px 24px #00000006; min-width: 0; }
body.pmx-route-product-detail .product-details-wrap .product-content-sec h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 0 0 18px; color: #191919; letter-spacing: 0; }
body.pmx-route-product-detail .product-content-sec .price-taxes-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
body.pmx-route-product-detail .product-content-sec #mrp-block { font-size: 17px; font-weight: 500; margin: 0; color: #444; }
body.pmx-route-product-detail .product-content-sec .price-taxes-wrap span { font-size: 12px; color: #555; }
body.pmx-route-product-detail .product-content-sec .price-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
body.pmx-route-product-detail .product-content-sec #price-block { color: #191919; font-size: 32px; font-weight: 800; margin: 0; line-height: 1.2; }
body.pmx-route-product-detail .product-content-sec .price-wrap p { margin: 0; font-size: 13px; color: #555; }
body.pmx-route-product-detail .product-content-sec .product-id p { font-size: 12px; line-height: 1.5; margin-bottom: 6px !important; color: #333; }
body.pmx-route-product-detail .product-content-sec .btn-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 22px; }
body.pmx-route-product-detail .product-content-sec .btn-wrap :is(.cart-btn,.dark-btn,.fav-btn,.product-detail-compare-btn) { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-height: 44px; border-radius: 4px; font-size: 12px; padding: 8px 14px; gap: 8px; }
body.pmx-route-product-detail .product-content-sec .btn-wrap .dark-btn { background: #fff; color: #333; border: 1px solid transparent; }
body.pmx-route-product-detail .product-content-sec .btn-wrap :is(.fav-btn,.product-detail-compare-btn) { background: #fff; color: #333; border: 1px solid #d5d7dc; }
body.pmx-route-product-detail .product-content-sec .btn-wrap .fav-btn { width: 44px; padding: 10px; }
body.pmx-route-product-detail .product-content-sec .input-num-wrap { width: 44px; flex: 0 0 44px; }
body.pmx-route-product-detail .product-content-sec #quantity { height: 44px; width: 44px; padding: 4px; text-align: center; }
body.pmx-route-product-detail .product-content-sec .check-Availability-sec { display: flex; width: 100%; margin-bottom: 26px; }
body.pmx-route-product-detail .product-content-sec .check-Availability-sec input { min-width: 0; flex: 1; height: 44px; font-size: 12px; }
body.pmx-route-product-detail .product-content-sec #btnCheckDeliverable { width: auto; flex: 0 0 auto; padding: 10px 16px; min-height: 44px; background: #6d6d6d; font-size: 12px; }
body.pmx-route-product-detail .product-content-sec .about-details h3 { font-size: 15px; margin-bottom: 18px; }
body.pmx-route-product-detail .product-content-sec .about-details p { font-size: 13px; line-height: 1.65; text-align: left; }
.pmx-calorie-calc.pm-benefits > .container { width: calc(100% - 48px); max-width: 1224px; border: 1px solid #e1ddda; border-radius: 8px; padding: 22px; background: #fff; box-shadow: 0 2px 8px #00000006; }
.pm-benefits-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pm-max-badge { display: inline-block; padding: 6px 9px; border-radius: 5px; background: #d61524; color: white; font-size: 11px; font-weight: 700; }
.pm-benefits h2 { font-size: 22px; font-weight: 800; margin: 8px 0 0; color: #151515; }
.pm-duration-badge { flex: 0 0 96px; padding: 10px; border-radius: 8px; background: #d61524; color: #fff; text-align: center; }
.pm-duration-badge strong { display: block; font-size: 30px; line-height: 1.1; }
.pm-duration-badge span { font-size: 12px; }
.pm-benefits #calorieDurationRange { width: 100%; accent-color: #d61524; cursor: pointer; }
.pm-duration-labels { display: flex; justify-content: space-between; font-size: 11px; margin: 4px 0 20px; color: #555; }
.pm-benefit-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.pm-benefit-stats > div { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: #f4f4f3; border-radius: 8px; padding: 14px 8px; min-width: 0; text-align: center; }
.pm-benefit-stats i { font-size: 12px; color: #d61524; }
.pm-benefit-stats strong { font-size: 17px; line-height: 1.3; color: #151515; }
.pm-benefit-stats span { font-size: 12px; color: #555; }
.pm-benefit-schedule { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; padding: 12px; background: #fff0f2; border-radius: 8px; font-size: 13px; color: #333; }
.pm-benefit-cost { margin-top: 12px; background: #f4f4f3; padding: 12px; border-radius: 8px; color: #333; font-size: 13px; }
.pm-benefit-cost summary { cursor: pointer; }
.pm-benefit-cost p { margin: 12px 0 0; font-size: 12px; }
.pm-benefit-note { font-size: 12px; font-style: italic; margin: 14px 0 0; color: #666; }
body.pmx-route-product-detail .product-review-card-head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 12px; }
.pm-review-avatar { flex: 0 0 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #cc1422; color: #fff; border-radius: 50%; font-size: 14px; font-weight: 700; }
body.pmx-route-product-detail .product-review-card-head .pm-review-avatar { color: #fff; }
.pm-review-identity { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
body.pmx-route-product-detail .pm-review-identity h4 { font-size: 14px; margin: 0; }
.pm-review-identity small { display: block; width: 100%; color: #666; font-size: 12px; overflow-wrap: anywhere; }
body.pmx-route-product-detail .pm-review-identity .pmx-review-badge-verified { color: #00806d; background: transparent; padding: 0; font-size: 12px; }
body.pmx-route-product-detail .product-review-card > p { font-size: 14px; margin-top: 10px; }
.pm-fitness-goals .pmx-filter-check { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 14px; }
.pm-fitness-goals input { width: 16px; height: 16px; accent-color: #d61524; flex-shrink: 0; }
@media(max-width:767px) {
    .pm-workout-inputs { grid-template-columns: minmax(0,1fr); }
    #frmCheckout h2 { font-size: 22px; }
    #frmCheckout #price-block { font-size: 28px; }
    #frmCheckout #btnCheckDeliverable { max-width: 48%; white-space: normal; padding-inline: 8px; }
    #frmCheckout .check-Availability-sec input { font-size: 16px; }
    body.pmx-route-product-detail .product-details-wrap .product-content-sec { padding: 14px; }
    body.pmx-route-product-detail .product-details-wrap .product-content-sec h2 { font-size: 22px; }
    body.pmx-route-product-detail .product-content-sec #price-block { font-size: 28px; }
    body.pmx-route-product-detail .product-content-sec #btnCheckDeliverable { padding-inline: 10px; max-width: 45%; white-space: normal; }
    .pmx-calorie-calc.pm-benefits > .container { width: calc(100% - 28px); padding: 16px; }
    .pm-benefits h2 { font-size: 20px; }
    .pm-duration-badge { flex-basis: 72px; }
    .pm-benefit-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pm-benefit-stats > div:last-child { grid-column: 1 / -1; }
    .pm-benefits :is(strong,span) { overflow-wrap: anywhere; }
}

/* Compact purchase summary: keep controls and content in document flow. */
body.pmx-route-product-detail .product-details-wrap .product-details-flex .product-content-sec { background: #fff; padding: 12px 18px 24px; box-shadow: none; }
#frmCheckout { display: flex; flex-direction: column; gap: 0; }
#frmCheckout > .pm-product-eyebrow { order: 0; font-size: 11px; line-height: 1.4; color: #c41120; font-weight: 700; text-transform: uppercase; margin: 0 0 6px; }
#frmCheckout > h2 { order: 1; font-size: 27px; line-height: 1.2; margin: 0 0 12px; }
#frmCheckout > .pm-summary-rating { order: 2; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #555; margin-bottom: 18px; }
#frmCheckout > .price-wrap { order: 3; margin: 0 0 8px; gap: 12px; }
#frmCheckout #price-block { font-size: 32px; }
#frmCheckout #mrp-block { font-size: 14px; color: #777; text-decoration: line-through; }
#frmCheckout .pm-price-discount { font-size: 13px; font-weight: 700; color: #008268; }
#frmCheckout > .price-taxes-wrap { order: 4; margin-bottom: 16px; }
#frmCheckout .pm-summary-jumps { order: 5; display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 11px; padding-bottom: 16px; }
#frmCheckout .pm-summary-jumps a { color: #c41120; text-decoration: underline; }
#frmCheckout .pm-summary-jumps { align-items: baseline; gap: 6px; color: #777; font-size: 11px; line-height: 1.6; }
#frmCheckout .pm-summary-jumps a { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #c41120; font-size: 11px; line-height: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#frmCheckout .pm-summary-jumps a:hover,
#frmCheckout .pm-summary-jumps a[aria-current] { background: transparent; color: #920c18; }
#frmCheckout .pm-summary-jumps a:focus-visible { outline: 2px solid #c41120; outline-offset: 3px; }
#frmCheckout .pm-purchase-trust > :is(a,span) { display: inline-flex; align-items: center; gap: 6px; }
#frmCheckout .pm-product-variant { order: 6; margin-bottom: 14px; }
#frmCheckout > .clearfix { display: none; }
#frmCheckout .pm-delivery-panel { order: 7; border: 1px solid #dfd8d2; border-radius: 8px; padding: 16px; margin-bottom: 18px; }
#frmCheckout .pm-delivery-panel h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
#frmCheckout .pm-delivery-panel h3 i { color: #008268; margin-right: 6px; }
#frmCheckout .pm-delivery-panel .check-Availability-sec { display:grid; grid-template-columns:minmax(0,1fr) 78px; align-items:stretch; margin: 0 0 12px; gap: 8px; }
#frmCheckout .pm-delivery-panel #pincode { width:100%; height:44px; margin:0; border: 1px solid #ddd5cf; border-radius: 6px; padding: 10px; background: #fbfaf9; }
#frmCheckout .pm-delivery-panel #btnCheckDeliverable { display:flex; align-items:center; justify-content:center; width:78px; height:44px; min-height:44px; margin:0; padding: 8px; line-height:1; color: #222; background: white; border: 1px solid #ddd5cf; border-radius: 6px; }
#frmCheckout .pm-delivery-benefits { display:grid; gap:12px; padding:0; margin:16px 0; list-style:none; }
#frmCheckout .pm-delivery-benefits li { display:flex; align-items:flex-start; gap:10px; }
#frmCheckout .pm-delivery-benefits li>i { display:flex; align-items:center; justify-content:center; width:28px; height:28px; flex:0 0 28px; border-radius:6px; background:#e7f5ef; color:#008268; font-size:13px; }
#frmCheckout .pm-delivery-benefits strong { display:block; font-size:12px; font-weight:500; line-height:1.5; }
#frmCheckout .pm-delivery-benefits time { font-weight:700; }
#frmCheckout .pm-delivery-benefits small { display:block; color:#737373; font-size:10px; line-height:1.5; }
#frmCheckout .pm-delivery-panel .pm-delivery-note { font-size:10px; line-height:1.5; color:#737373; margin:0 0 12px; }
#frmCheckout .pm-delivery-panel :is(p,a) { font-size: 12px; line-height: 1.6; color: #555; }
#frmCheckout .pm-delivery-panel a { color: #b81121; }
#frmCheckout > .btn-wrap { order: 8; display:flex; flex-wrap:nowrap; gap: 8px; margin: 0 0 14px; }
#frmCheckout > .btn-wrap .cart-btn { flex: 1 1 0; min-width:0; order: 0; background: #fff; color: #222; border: 1px solid #ddd5cf; }
#frmCheckout > .btn-wrap .dark-btn { flex: 1 1 0; min-width:0; order: 1; background: #d11224; color: white; border: 1px solid #d11224; box-shadow: 0 4px 12px #d1122426; }
#frmCheckout > .btn-wrap .fav-btn { flex:0 0 44px; }
#frmCheckout > .btn-wrap .product-detail-compare-btn { flex:0 0 auto; }
#frmCheckout > .btn-wrap a { text-decoration:none; }
#frmCheckout > .btn-wrap :is(.cart-btn,.dark-btn) { border-radius: 24px; }
#frmCheckout > .btn-wrap .cart-btn img { filter: brightness(0); }
#frmCheckout > .btn-wrap :is(.input-num-wrap,.fav-btn,.product-detail-compare-btn) { order: 2; }
#frmCheckout > .pm-purchase-trust { order: 9; display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 14px; font-size: 11px; color: #555; }
#frmCheckout .pm-purchase-trust a { color: #333; text-decoration: underline; }
#frmCheckout .pm-purchase-trust i { color: #008268; }
#frmCheckout > .pm-product-ask { order: 10; border: 0; border-radius: 6px; width: 100%; min-height: 44px; padding: 10px; background: #c41120; color: white; font-weight: 700; font-size: 13px; margin-bottom: 20px; }
#frmCheckout .pm-product-ask i { margin-right: 8px; }
#frmCheckout > .pm-product-ask { border-radius: 24px; }
#frmCheckout > .about-details { order: 11; }
#frmCheckout > .product-id { order: 4; border-top: 0; padding-top: 0; margin-bottom: 14px; }
@media(max-width:767px) {
    body.pmx-route-product-detail .product-details-wrap .product-details-flex .product-content-sec { padding: 12px 0; }
    #frmCheckout > .btn-wrap { gap:6px; }
    #frmCheckout > .btn-wrap :is(.cart-btn,.dark-btn) { font-size:11px; padding:8px 6px; white-space:nowrap; gap:4px; }
    #frmCheckout > .btn-wrap .cart-btn img { width:16px; }
    #frmCheckout > .btn-wrap .product-detail-compare-btn { width:44px; flex:0 0 44px; padding:8px; }
    #frmCheckout > .btn-wrap .product-detail-compare-btn span { display:none; }
    #frmCheckout > h2 { font-size: 23px; }
    #frmCheckout #price-block { font-size: 28px; }
    #frmCheckout .pm-delivery-panel { padding: 12px; }
}
