.xhs-reference-purchase{margin:0}.xhs-reference-purchase form{margin:0}.purchase-networks{border:0;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}.purchase-networks legend{float:none;white-space:nowrap;margin-bottom:10px;font-size:14px}.purchase-networks label{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:10px 4px;border:1px solid #e2e4e9;border-radius:9px;cursor:pointer;font-size:12px;min-width:0}.purchase-networks label.is-selected{border-color:var(--primary);background:#fff1f4}.purchase-networks input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.purchase-networks img{width:24px;height:24px}.local-total{display:flex;justify-content:space-between;align-items:center;margin:16px 0;font-size:14px}.local-total strong{color:var(--primary);font-size:24px}#quantity{font-size:16px!important}#email{font-size:16px!important}.local-order-card{padding:20px;border:1px solid #e5e7eb;border-radius:12px;margin:16px 0;background:white;overflow-wrap:anywhere}.local-order-card p{margin:8px 0}.local-support-message{margin-top:16px;line-height:1.7}.local-support-message a{display:inline-block;margin-top:10px}.logo-img{object-fit:contain}output{display:block;color:#bc2436;margin-top:8px}
.detail-spec>img{max-width:100%;height:auto;display:block;margin:auto}
dialog.xhs-payment-dialog{position:fixed!important;inset:0!important;margin:auto!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;overscroll-behavior:contain;border:0!important;box-sizing:border-box!important}dialog.xhs-payment-dialog::backdrop{background:rgba(15,23,42,.48)}dialog.xhs-payment-dialog *{box-sizing:border-box}.xhs-confirm-head{position:sticky;top:0;z-index:2}@media(max-width:680px){dialog.xhs-payment-dialog.xhs-confirm-payment{width:calc(100vw - 24px)!important}.xhs-confirm-columns{min-width:0}}
@media(max-width:767px){body .product-card{flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;text-align:left!important;padding:14px 16px!important;gap:10px!important;border-radius:14px!important}body .product-card .product-info{flex:0 0 100%;min-width:0}body .product-card .product-name{font-size:16px;line-height:1.5;margin-bottom:6px}body .product-card .product-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;font-size:13px}body .product-card .product-meta{display:flex;flex:1 1 0;flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0;text-align:left}body .product-card .price{font-size:20px;line-height:1.4;margin:0}body .product-card .stock-status{margin:0;padding:3px 7px;font-size:10px}body .product-card .product-action{flex:0 0 auto;margin:0}body .product-card .btn-order{padding:9px 15px;font-size:12px;line-height:1.5}body .product-card:hover{transform:none}}

#emptyState[hidden]{display:none!important;}

.related-reading{margin:24px 0;padding:20px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.related-reading h2{font-size:18px;margin:0 0 12px}.related-reading ul{padding-left:20px}.related-reading li{margin:9px 0;line-height:1.7}.related-reading a{color:var(--primary);overflow-wrap:anywhere}
/* Compact shared footer, keeping all existing information. */
.footer{padding:24px 0 12px}.footer-grid{grid-template-columns:2fr 1fr 1fr;gap:24px}.footer .logo{margin-bottom:6px!important;font-size:18px!important}.footer .logo-img{max-height:28px}.footer-grid>div:first-child p{max-width:420px!important;font-size:12px!important;line-height:1.7}.footer h4{font-size:13px;margin-bottom:8px}.footer a{font-size:12px;padding:3px 0}.footer-grid>div:last-child p{line-height:1.7;font-size:12px!important}.footer .copyright{margin-top:16px;padding-top:12px;font-size:11px;line-height:1.7}.footer .container>a[href="/sitemap.xml"]{padding:6px 0 0!important;font-size:11px!important}
@media(max-width:640px){.footer{padding:18px 0 10px}.footer .container{padding-left:20px;padding-right:20px}.footer-grid{display:flex;flex-direction:column;gap:12px}.footer-grid>div:first-child p{max-width:none!important}.footer-grid>div:not(:first-child){display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:4px}.footer h4{margin:0;flex:0 0 58px;font-size:12px}.footer-grid>div:last-child p{margin:0;font-size:11px!important}.footer .copyright{margin-top:12px;padding-top:10px}.footer .container>a[href="/sitemap.xml"]{padding-top:4px!important}}

.quantity-box{flex-wrap:wrap}.quantity-stock{font-size:13px;color:#64748b;white-space:nowrap;margin-left:4px;align-self:center}
