.page-product{background:#faf9f6;color:#29242f;--brand:#6731ad;--brand2:#6731ad;--line:#e5dfeb}
.page-product .product-page-wrap{width:min(1260px,calc(100% - 48px));margin:auto}
.page-product .product-card{padding:28px;border:1px solid #e8e3ec;border-radius:10px;box-shadow:none;background:#fff}
.page-product .product-heading{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #ede9f0}
.page-product .title{font-size:25px;font-weight:750;line-height:1.8}
.page-product .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}
.page-product .info-col{display:flex;flex-direction:column;align-items:stretch;gap:24px;min-width:0}
.page-product .purchase-col{order:0;min-width:0}
.page-product .summary-col{order:1;min-width:0}
.page-product .image-panel{position:relative;border:1px solid #eee9f0;background:#fff;padding:18px;border-radius:8px;box-shadow:none}
.page-product .image-frame{height:auto;aspect-ratio:1;background:#fff;border-radius:0}
.image-zoom{border:0;background:#fff;width:100%;height:100%;cursor:zoom-in;display:grid;place-items:center}
.page-product .image-frame img{width:100%;height:100%;object-fit:contain;max-height:510px;border-radius:0}
.page-product .thumb{border-radius:6px;background:#fff;cursor:pointer;padding:4px}
.page-product .thumb.active{border-color:#6731ad;box-shadow:0 0 0 1px #6731ad}
.page-product .price-card{padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.page-product .price-value{font-size:30px;margin:14px 0 8px;font-weight:750}
.page-product .price-top{display:flex;flex-direction:column;align-items:start;gap:10px}
.page-product .price-badges{display:flex;flex-wrap:wrap;gap:6px}
.page-product .price-discount-badge{background:#f6f2fa;border:0;border-radius:4px;color:#593484}
.page-product .price-note{font-size:12px;font-weight:400;line-height:2}
.page-product .buy-actions{display:block;margin-top:18px}
.page-product .buy-actions>#copyLinkBtn{margin-top:12px;width:auto;border:0;background:none;padding:4px 0;color:#6a6074;font-weight:500;font-size:12px;min-height:32px}
.page-product .btn-primary{background:#6731ad;box-shadow:none;border-radius:6px;font-family:inherit;font-weight:650;transition:background .18s ease}
.page-product .btn-primary:hover:not(:disabled){background:#54228f}
.page-product button,.page-product a{touch-action:manipulation}
.page-product :is(button,a,input):focus-visible{outline:3px solid #b28bdc;outline-offset:3px}
.order-selection{display:block;width:100%}
.order-selection .order-modal{width:100%;max-height:none;box-shadow:none;border-radius:0;overflow:visible;background:none}
.order-selection .order-modal-head{padding:14px 0 10px;border-top:1px solid #ede9f0;border-bottom:0}
.order-selection .order-modal-title{font-size:14px;font-weight:650}
.order-selection .order-modal-body{padding:0;overflow:visible}
.order-selection .unit-tab{border-radius:5px;font-family:inherit;font-weight:500;min-height:42px}
.order-selection .unit-tab.active{background:#f5effb;border-color:#9972c3;color:#54228f}
.order-selection .qty-picker{direction:ltr;grid-template-columns:46px minmax(0,1fr) 46px;max-width:290px;margin:0 auto 8px}
.order-selection .qty-btn,.order-selection .qty-btn.minus{border:1px solid #dcd4e5;background:#fff;color:#54228f;border-radius:5px;font-weight:500}
.order-selection .qty-read{border-radius:5px;background:#fff;font-size:22px}
.order-selection .qty-feedback{height:auto;min-height:42px;display:block;overflow:visible;margin-bottom:8px}
.order-selection .qty-validation{height:auto;min-height:32px;font-weight:500;overflow:visible}
.order-selection .qty-suggestions{display:none;height:auto;min-height:34px;margin-top:6px}
.order-selection .qty-suggestions.show{display:flex}
.order-selection .order-rows{gap:0;border-top:1px solid #ede9f0}
.order-selection .order-row{border-radius:0;background:none;border-bottom:1px solid #f0ecf3;padding:9px 0;font-size:12px;font-weight:400;line-height:1.7}
.order-selection .order-row .v{color:#302638;font-weight:600}
.order-selection #orderSubPriceRow,.order-selection #orderBasePriceRow,.order-selection .order-row:has(#orderQtyText){display:none!important}
.order-selection .order-row:has(#orderTotalPrice){font-size:13px;font-weight:600}
.order-estimate{color:#593484;font-size:12px;line-height:2;margin-top:8px}
.order-selection .order-help{font-size:12px;font-weight:400;color:#73677e;margin-top:8px}
.order-selection .order-modal-foot{padding:14px 0 0;border:0;display:block}
.order-selection .btn-primary{width:100%;min-width:0;min-height:48px}
.page-product .summary-description-card{padding:0;border:0;border-radius:0;box-shadow:none;margin:0}
.page-product .section-title{font-size:17px;font-weight:650}
.page-product .single-spec-row{font-size:12px;line-height:1.9;padding:10px 0}
.page-product .description-card:not(.summary-description-card),.page-product .related-products-section{border-radius:8px;box-shadow:none}
.page-product .related-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.page-product .related-product-card{border-radius:6px;box-shadow:none}
.page-product #imageModal{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;background:rgba(20,15,25,.9);padding:60px 24px;display:none;align-items:center;justify-content:center}
.page-product #imageModal[open]{display:flex}
.page-product #imageModal::backdrop{background:rgba(20,15,25,.9)}
.page-product #imageModal img{max-width:90vw;max-height:80dvh;border-radius:4px;object-fit:contain;box-shadow:none}
.page-product #closeBtn{border:0;background:transparent;font-family:inherit;width:48px;height:48px;top:8px;left:12px;color:#fff}
.product-mobile-action{display:none}
@media(max-width:900px){.page-product .hero{gap:22px}.page-product .title{font-size:21px}.page-product .product-card{padding:20px}}
@media(max-width:680px){
.page-product .product-page-wrap{width:calc(100% - 24px)}
.page-product .product-card{padding:16px 12px}
.page-product .product-heading{margin-bottom:16px;padding-bottom:12px}
.page-product .title{font-size:18px}
.page-product .hero{grid-template-columns:1fr;gap:20px}
.page-product .image-frame{max-height:310px;aspect-ratio:1.15}
.page-product .image-panel{padding:12px}
.page-product .price-value{font-size:26px}
.page-product .related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-mobile-action:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-top:1px solid #e5dfeb;padding:10px 16px calc(10px + env(safe-area-inset-bottom));font-size:12px}
.product-mobile-action button{background:#6731ad;color:#fff;border-radius:5px;padding:11px 16px;text-decoration:none;white-space:nowrap}
.page-product{padding-bottom:74px}
#purchaseCard{scroll-margin-top:100px}
}
@media(prefers-reduced-motion:reduce){.page-product *,.page-product *::before,.page-product *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.page-product .product-heading-meta{display:flex;flex-direction:column;gap:8px}
.page-product .single-spec-list{margin-top:12px;border-top:1px solid #e9e3ee}
.page-product .single-spec-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;border-bottom:1px solid #ede9f0}
.page-product .single-spec-label{color:#756a7e}
.page-product .single-spec-value{font-weight:500}
.page-product .classic-section-heading-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.page-product .classic-live-badge{font-size:11px;color:#287547;background:#f0f8f2;padding:4px 8px;border-radius:4px}
.page-product .image-frame{border:0}
.page-product .wishlist-btn.image-side,.page-product .media-float-btn{box-shadow:none;border:1px solid #e5dfeb}
.page-product .pill{border-radius:4px;font-weight:500}

.page-product .order-selection{position:fixed;inset:0;display:none;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:20px 24px;border:1px solid #e5dfeb;border-radius:10px;background:#fff;color:#29242f;overflow:auto;overscroll-behavior:contain}
.page-product .order-selection[open]{display:block}
.page-product .order-selection::backdrop{background:rgba(25,18,35,.48)}
.order-selection .order-modal-head{border-top:0;padding-top:0;margin-bottom:8px}
.order-selection .order-modal-foot{display:flex;align-items:center;gap:10px}
.order-selection .order-modal-foot .btn-primary{flex:1}
.order-selection .order-modal-foot .btn-secondary{min-height:48px;width:auto;font-family:inherit}
.product-mobile-action button{border:0;font-family:inherit;cursor:pointer}
@media(max-width:680px){.page-product .order-selection{inset:auto 0 0;margin:0 auto;width:100%;max-height:90dvh;border-radius:14px 14px 0 0;padding:18px 20px calc(18px + env(safe-area-inset-bottom))}.order-selection .order-modal-foot{flex-direction:row}}

/* Product layout: gallery, facts, and purchase have independent columns. */
.page-product{background:#fff;color:#28252c}
.page-product .product-page-wrap{width:min(1440px,calc(100% - 64px));max-width:none;padding:0}
.page-product .crumbs{padding-top:14px;font-size:12px;font-weight:400}
.page-product .product-shell{margin-top:20px}
.page-product .product-card{padding:12px 0 24px;border:0;border-radius:0;background:#fff}
.page-product .hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) 300px;gap:28px;align-items:start}
.page-product .gallery-col{grid-column:1;grid-row:1;min-width:0}
.page-product .summary-col{grid-column:2;grid-row:1;min-width:0}
.page-product .purchase-col{grid-column:3;grid-row:1;min-width:0;order:initial}
.page-product .product-heading{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #e7e4ea}
.page-product .product-heading-meta{display:flex;flex-direction:column;align-items:start;gap:12px}
.page-product .title{font-size:23px;font-weight:650;line-height:1.8}
.page-product .code-line{margin:0;gap:8px}
.page-product .pill.finance{background:transparent;border:0;padding:0;font-size:13px;color:#66596f}
.page-product .image-panel{padding:8px;border:0;border-radius:0}
.page-product .image-frame{height:clamp(360px,49vh,460px);aspect-ratio:auto;max-height:none}
.page-product .image-frame img{max-height:460px}
.page-product .wishlist-btn.image-side,.page-product .media-float-btn{width:40px;height:40px;min-height:40px;left:8px;border-radius:6px;background:#fff}
.page-product .wishlist-btn.image-side{top:8px}
.page-product .wishlist-btn.image-side .wishlist-heart{font-size:23px}
.page-product .image-side-tools{left:8px;top:56px}
.page-product .media-float-btn svg{width:20px;height:20px}
.page-product .section-title{font-size:16px;font-weight:600}
.page-product .single-spec-list{margin-top:12px;border-top:0}
.page-product .single-spec-row{padding:12px 0;font-size:15px;line-height:1.8;grid-template-columns:90px minmax(0,1fr);gap:12px}
.page-product .single-spec-label{font-size:13px;color:#7a7282}
.page-product .single-spec-value{font-weight:500;overflow-wrap:anywhere}
.page-product .price-card{padding:22px 20px;border:1px solid #e5e1e8;border-radius:8px;background:#f8f7f9}
.page-product .price-main{font-size:13px;font-weight:400;line-height:1.8}
.page-product .price-top{gap:8px}
.page-product .price-badges{gap:6px;flex-direction:column;align-items:start}
.page-product .price-discount-badge{padding:0;font-size:12px;font-weight:500;background:transparent;box-shadow:none;color:#61516d;border:0;border-radius:0;white-space:normal;flex-wrap:wrap;gap:4px;line-height:1.8}
.page-product .price-discount-final{font-weight:500}
.page-product .price-value{font-size:28px;margin:18px 0 10px;font-weight:700;line-height:1.5}
.page-product .price-note{font-size:13px;line-height:1.9;margin-top:4px}
.page-product .buy-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:22px}
.page-product .buy-actions>.btn-primary{min-width:0;width:100%;min-height:46px;padding:11px 12px;font-size:14px;border-radius:5px;text-align:center;text-decoration:none}
.page-product .buy-actions>#copyLinkBtn{margin:0;width:100%;min-height:36px;font-size:12px;text-align:center}
.page-product .thumb{width:60px;height:60px;border-radius:5px}
.page-product .thumb-row{gap:8px;margin-top:10px}
@media(min-width:1051px) and (max-width:1300px){
 .page-product .product-page-wrap{width:calc(100% - 48px)}
 .page-product .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;gap:22px}
 .page-product .title{font-size:21px}
 .page-product .image-frame{height:380px}
 .page-product .price-card{padding:18px 16px}
}
@media(min-width:681px) and (max-width:1050px){
 .page-product .product-page-wrap{width:calc(100% - 40px)}
 .page-product .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
 .page-product .gallery-col{grid-column:1;grid-row:1 / span 2}
 .page-product .summary-col{grid-column:2;grid-row:1}
 .page-product .purchase-col{grid-column:2;grid-row:2}
 .page-product .image-frame{height:360px}
 .page-product .title{font-size:21px}
}
@media(max-width:680px){
 .page-product .product-page-wrap{width:calc(100% - 32px)}
 .page-product .product-shell{margin-top:12px}
 .page-product .product-card{padding:0 0 16px}
 .page-product .hero{display:grid;grid-template-columns:1fr;gap:20px}
 .page-product .gallery-col{grid-column:1;grid-row:1}
 .page-product .summary-col{grid-column:1;grid-row:2}
 .page-product .purchase-col{grid-column:1;grid-row:3}
 .page-product .image-frame{height:300px;aspect-ratio:auto}
 .page-product .image-frame img{max-height:300px}
 .page-product .title{font-size:20px}
 .page-product .product-heading{margin-bottom:16px;padding-bottom:14px}
 .page-product .single-spec-row{padding:10px 0;font-size:14px}
 .page-product .price-card{padding:18px}
 .page-product .price-value{font-size:26px}
}
@media(min-width:961px) and (max-width:1360px){.page-product .site-header-nav-item,.page-product .site-header-nav-trigger{padding-inline:8px;gap:6px;font-size:12px}}

@media(max-width:680px){
 .page-product .summary-col{display:contents}
 .page-product .product-heading{grid-column:1;grid-row:1}
 .page-product .gallery-col{grid-row:2}
 .page-product .purchase-col{grid-row:3}
 .page-product .summary-description-card{grid-column:1;grid-row:4}
}

/* UI UX Pro Max review: preserve the layout, improve readable and operable states. */
.page-product{--product-primary:#6731ad;--product-focus:#6731ad;--product-text:#28252c;--product-muted:#66596f;--product-surface:#f8f7f9;--product-border:#ded7e5;--product-error:#b42318;--product-motion:160ms}
.page-product :is(button,a,input):focus-visible{outline:3px solid var(--product-focus);outline-offset:3px}
.page-product .qty-read:focus-visible{box-shadow:none}
.page-product .price-main,.page-product .price-note,.page-product .single-spec-label,.page-product .order-help{color:var(--product-muted)}
.page-product .price-value,.page-product .order-row .v{font-variant-numeric:tabular-nums}
.page-product .title{overflow-wrap:anywhere;text-wrap:balance}
.page-product .empty-img{font-size:13px;opacity:1;color:var(--product-muted);display:flex;flex-direction:column;align-items:center;gap:12px}
.page-product .empty-img svg{width:48px;height:48px}
.page-product .qty-label{display:block;text-align:center;margin:4px 0 10px;font-size:14px;color:var(--product-text);font-weight:500}
.page-product .qty-validation-retry{display:block;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid var(--product-primary);border-radius:5px;color:var(--product-primary);background:#fff;font-family:inherit;font-size:13px;cursor:pointer}
.page-product .qty-validation-retry[hidden]{display:none}
.page-product .btn-primary{transition:background var(--product-motion) ease}
.page-product .btn-primary:active:not(:disabled){background:#482078}
.page-product .order-selection[open]{animation:productDialogEnter var(--product-motion) ease-out}
@keyframes productDialogEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.page-product .media-float-btn,.page-product .wishlist-btn.image-side{color:var(--product-muted);border-color:#91809f}
@media(max-width:680px){
 .page-product .wishlist-btn.image-side,.page-product .media-float-btn{width:44px;height:44px;min-height:44px}
 .page-product .image-side-tools{top:60px}
 .page-product .single-spec-value{font-size:16px}
 .page-product .single-spec-label,.page-product .price-note{font-size:14px}
 .page-product .order-selection .qty-btn,.page-product .order-selection .qty-read{height:44px}
 .page-product .order-selection .unit-tab,.page-product .order-selection .qty-suggestion,.page-product .order-selection .order-modal-close{min-width:44px;min-height:44px}
 .page-product .order-selection .qty-suggestions{min-height:44px}
 .page-product .order-selection #qtySuggestionButtons{gap:8px}
 .page-product .order-selection .qty-validation,.page-product .order-help{font-size:13px}
 .page-product .buy-actions>#copyLinkBtn{min-height:44px}
 .page-product .site-toast-layer{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.page-product .order-selection[open]{animation:none}}

/* Keep tablet navigation within the viewport without clipping its menus. */
@media (min-width:769px) and (max-width:1050px){
 .page-product .site-header-nav{flex-wrap:wrap;row-gap:4px}
 .page-product .site-header-nav-wrap:not(.is-hidden){max-height:none}
}

/* Bring the purchase action into the first mobile screen without cropping the product. */
@media(max-width:680px){
 .page-product .product-page-wrap{width:calc(100% - 24px)}
 .page-product .product-shell{margin-top:8px}
 .page-product .hero{gap:12px}
 .page-product .product-heading{margin-bottom:0;padding-bottom:10px}
 .page-product .title{font-size:18px;line-height:1.6;margin-block:0 8px}
 .page-product .image-frame{height:clamp(130px,24dvh,210px);aspect-ratio:auto}
 .page-product .image-frame img{max-height:210px}
 .page-product .image-panel{padding:0}
 .page-product .price-card{padding:14px}
 .page-product .price-value{font-size:23px}
 .page-product .price-note{font-size:13px;line-height:1.8}
 .page-product .price-card h2{font-size:19px;line-height:1.65}
 .page-product .btn-primary,.page-product .btn-secondary{min-height:44px}
 .page-product .thumb-row{gap:6px}.page-product .thumb{width:48px;height:48px}
 .page-product .order-selection{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}
}

@media(max-width:680px){.page-product .price-value--guest{font-size:19px;line-height:1.7}}
