:root{--page-gutter:5%}
@media(min-width:1600px){:root{--page-gutter:max(5%,calc((100% - 1480px)/2))}}
main{width:100%;max-width:none;margin:0}
.shop-page{width:100%;max-width:none;margin:0;padding:28px var(--page-gutter) 65px;min-height:65vh}.product-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:60px;margin-top:35px}.product-gallery{display:grid;grid-template-columns:68px minmax(0,1fr);gap:22px;align-self:start}.gallery-thumbs{display:flex;flex-direction:column;gap:12px}.gallery-thumb{padding:3px;border:1px solid transparent;width:68px;height:84px;overflow:hidden}.gallery-thumb.active{border-color:#222}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.gallery-thumb .image-view-1{transform:scale(1.5)}.gallery-thumb .image-view-2{transform:scale(1.9)}.gallery-main{aspect-ratio:4/5;background:#f5f5f3;overflow:hidden}.gallery-main>img{width:100%;height:100%;object-fit:contain;transition:transform .35s}.gallery-main>.detail-view-1{transform:scale(1.5);object-position:center 25%}.gallery-main>.detail-view-2{transform:scale(1.9);object-position:center 75%}.product-code{font-size:11px;letter-spacing:1px;color:#777}.product-information h1{font-size:26px;font-weight:600;line-height:1.55;margin:13px 0 22px}.detail-price{display:flex;gap:13px;align-items:center;font-size:26px;font-weight:600;margin-bottom:29px}.detail-price.sale{color:#d53128}.detail-price del{font-size:15px;font-weight:400;color:#999}.detail-price>span{font-size:11px;padding:5px 7px;background:#fff0ed}.option-label{display:flex;gap:20px;font-size:13px;margin-bottom:12px}.option-label b{font-weight:500}.detail-sizes{display:flex;gap:9px;margin-bottom:24px}.detail-sizes button{border:1px solid #ddd;padding:11px 16px;font-size:13px}.detail-sizes button.active{background:#222;border-color:#222;color:white}.detail-quantity{display:flex;gap:25px;align-items:center;margin-bottom:24px;font-size:13px}.quantity-control{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:4px;overflow:hidden;background:#fff}.quantity-control button{width:34px;height:34px;font-size:11px}.quantity-control input{width:42px;height:34px;padding:0 3px;border:0;text-align:center;font-size:13px;appearance:textfield;-moz-appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#222;color:#fff;border-radius:4px;padding:15px 22px;font-size:14px;font-weight:500}.primary-button:hover{background:#3d4338}.primary-button:disabled{opacity:.4;cursor:default}#detail-add{width:100%}.detail-cart-link{display:flex;justify-content:center;gap:12px;font-size:12px;margin:17px 0 28px}.product-accordions details{border-top:1px solid #ddd;padding:18px 0}.product-accordions details:last-child{border-bottom:1px solid #ddd}.product-accordions summary{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;cursor:pointer;list-style:none}.product-accordions summary::-webkit-details-marker{display:none}.product-accordions summary i{font-size:11px;transition:transform .2s}.product-accordions details[open] summary i{transform:rotate(45deg)}.product-accordions p{font-size:12px;line-height:1.9;color:#777}.product-accordions dl{display:grid;grid-template-columns:100px 1fr;gap:15px;font-size:12px;line-height:1.7;margin-top:23px}.product-accordions dt{font-weight:500}.product-accordions dd{margin:0;color:#777}.related-products{padding-top:65px}.related-products .section-heading h2{font-size:26px;margin:0}.cart-page-link{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding:12px;background:#222;color:white;border-radius:4px;font-size:12px}.cart-page-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:32px 0}.cart-page-heading h1{font-size:30px;letter-spacing:-.8px;margin:0}.cart-page-heading>span{font-size:13px;color:#777}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:40px}.select-all{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #ddd;font-size:14px}.cart-products input[type=checkbox]{width:17px;height:17px;accent-color:#222;flex-shrink:0}.cart-product{display:grid;grid-template-columns:18px 120px minmax(0,1fr) auto;gap:18px;padding:25px 0;border-bottom:1px solid #e5e5df;align-items:start}.cart-product>input{margin-top:6px}.cart-product-image{display:block;width:120px;aspect-ratio:3/4;overflow:hidden;background:#f4f4f2}.cart-product-image img{width:100%;height:100%;object-fit:cover}.cart-product-name{display:block;font-size:14px;line-height:1.6;margin-bottom:12px}.cart-size-label{display:flex;gap:10px;align-items:center;font-size:11px;color:#777;margin-bottom:15px}.cart-size-label select{border:1px solid #ddd;padding:5px 9px;background:#fff;color:#222;border-radius:3px;font-size:12px}.cart-product-info .price{font-size:15px;line-height:1.6}.cart-product-info .price del{font-size:11px}.cart-item-controls{display:flex;align-items:center;gap:15px;margin-top:15px}.cart-delete{font-size:11px;color:#777;display:flex;gap:7px;align-items:center}.cart-line-total{font-size:14px;white-space:nowrap;margin-top:4px}.continue-shopping{display:inline-flex;gap:12px;font-size:13px;border:1px solid #ddd;border-radius:4px;padding:13px 19px;margin-top:26px}.order-summary{padding:25px;border:1px solid #e1e1db;border-radius:7px}.order-summary h2{font-size:19px;font-weight:600;margin:0 0 28px}.order-summary>div{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;margin:20px 0}.order-summary>div strong{font-weight:500}.order-summary .order-grand-total{border-top:1px solid #222;padding-top:21px;font-weight:600;font-size:15px}.order-summary #checkout-button{width:100%;margin-top:5px}.checkout-note{font-size:10px;color:#888;line-height:1.8;margin:13px 0 0}.order-note-label{display:block;font-size:13px;font-weight:500;margin:25px 0 12px}#order-note{width:100%;border:1px solid #ddd;border-radius:4px;resize:vertical;padding:13px;font:inherit;font-size:12px;line-height:1.8}.shop-empty{padding:75px 20px;text-align:center}.shop-empty>i{font-size:42px;color:#bbb}.shop-empty h2{font-size:24px;font-weight:500;margin-top:25px}.shop-empty p{color:#777;font-size:13px;margin-bottom:25px}.shop-empty .primary-button{font-size:13px}
@media(max-width:1100px){.product-layout{gap:30px}.product-gallery{grid-template-columns:52px minmax(0,1fr);gap:12px}.gallery-thumb{width:52px;height:68px}.product-information h1{font-size:22px}.cart-layout{grid-template-columns:minmax(0,1fr) 290px;gap:25px}.cart-product{grid-template-columns:18px 90px minmax(0,1fr);gap:12px}.cart-product-image{width:90px}.cart-line-total{grid-column:3;margin-top:0}.order-summary{padding:21px}.order-summary h2{font-size:17px}}
@media(max-width:700px){.shop-page{padding-top:20px;padding-bottom:40px}.product-layout{grid-template-columns:1fr;gap:30px;margin-top:25px}.product-gallery{grid-template-columns:1fr;gap:12px}.gallery-thumbs{flex-direction:row;order:2}.gallery-thumb{width:53px;height:66px}.gallery-main{aspect-ratio:1/1.1}.product-information h1{font-size:21px;margin:10px 0 18px}.detail-price{font-size:24px;margin-bottom:23px}.detail-price del{font-size:14px}.product-accordions summary{font-size:12px}.related-products{padding-top:40px}.related-products .section-heading h2{font-size:22px}.cart-layout{grid-template-columns:1fr;gap:30px}.cart-page-heading h1{font-size:25px}.cart-page-heading>span{font-size:11px}.cart-product{grid-template-columns:16px 85px minmax(0,1fr);gap:10px;padding:20px 0}.cart-product-image{width:85px}.cart-product-name{font-size:12px}.cart-item-controls{gap:8px;flex-wrap:wrap}.cart-product-info .price{font-size:13px}.cart-product-info .price del{font-size:10px}.cart-line-total{font-size:13px}.cart-product .quantity-control button{width:27px;height:29px}.cart-product .quantity-control input{width:32px;height:29px;font-size:12px}.cart-size-label{font-size:10px;gap:7px}.order-summary h2{font-size:18px}.shop-empty{padding:55px 10px}.shop-empty h2{font-size:21px}.primary-button{font-size:13px}}
/* Trang chi tiết dùng khung rộng hơn để ảnh và thông tin không bị bó nhỏ. */
.shop-page:has(#product-page-content){padding-left:var(--page-gutter);padding-right:var(--page-gutter)}.product-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:44px}.product-gallery{grid-template-columns:76px minmax(0,1fr);gap:20px}.gallery-thumb{width:76px;height:94px}.gallery-main>img{object-fit:cover}
@media(max-width:1100px){.product-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px}.product-gallery{grid-template-columns:58px minmax(0,1fr);gap:12px}.gallery-thumb{width:58px;height:74px}}
@media(max-width:700px){.product-layout{grid-template-columns:1fr;gap:30px}.product-gallery{grid-template-columns:1fr;gap:12px}.gallery-thumb{width:58px;height:74px}}
/* Ảnh chi tiết gọn, giữ nguyên khung nội dung rộng. */
.gallery-main{aspect-ratio:auto;height:540px;max-height:65vh;display:flex;align-items:center;justify-content:center;background:#f7f7f5}.gallery-main>img{width:100%;height:100%;object-fit:contain}.product-gallery{grid-template-columns:64px minmax(0,1fr);gap:18px}.gallery-thumb{width:64px;height:80px}
@media(max-width:1100px){.gallery-main{height:460px;max-height:62vh}.product-gallery{grid-template-columns:54px minmax(0,1fr);gap:12px}.gallery-thumb{width:54px;height:68px}}
@media(max-width:700px){.product-gallery{grid-template-columns:1fr}.gallery-main{height:360px;max-height:55vh}.gallery-thumb{width:50px;height:62px}}
.gallery-main{position:relative}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fffffff0;border:1px solid #e3e3dd;box-shadow:0 2px 10px #0000000d;font-size:13px;transition:background .2s,color .2s}.gallery-prev{left:14px}.gallery-next{right:14px}.gallery-arrow:hover{background:#222;color:white}
@media(max-width:700px){.gallery-arrow{width:32px;height:32px;font-size:11px}.gallery-prev{left:9px}.gallery-next{right:9px}}
.detail-buy-now{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:14px 22px;margin:12px 0 28px;border:1px solid #222;border-radius:4px;background:white;color:#222;font-size:14px;font-weight:500;transition:background .2s}.detail-buy-now:hover{background:#f2f2ee}.detail-buy-now i{font-size:12px}
@media(max-width:700px){.detail-buy-now{font-size:13px}}
.product-information{min-width:0}.product-purchase-sticky{position:sticky;top:96px;z-index:6;background:#fff;padding:12px 0 1px}.product-purchase-sticky .detail-buy-now{margin-bottom:20px}.product-description{padding:28px 0 0;margin-top:5px;border-top:1px solid #ddd}.product-description h2{font-size:23px;font-weight:600;margin:0 0 20px}.product-description h3{font-size:15px;font-weight:600;margin:25px 0 12px}.product-description p{font-size:14px;line-height:1.9;color:#666;margin:0 0 18px}.product-description>img{display:block;width:100%;max-height:550px;object-fit:contain;background:#f6f6f3;margin:24px 0}.product-description .description-demo{font-size:11px;color:#999}
@media(max-width:700px){.product-purchase-sticky{position:static;padding-top:0}.product-description h2{font-size:21px}.product-description p{font-size:13px}.product-description>img{max-height:400px}}
.product-visual-column{min-width:0}.product-visual-column .product-description{margin-top:32px;padding-top:26px}.product-information{align-self:stretch}.product-purchase-sticky{position:static}.product-information{position:sticky;top:110px;align-self:start;max-height:calc(100vh - 125px);overflow-y:auto;scrollbar-width:thin;padding-right:5px}
@media(max-width:700px){.product-information{position:static;max-height:none;overflow:visible;padding-right:0}.product-visual-column .product-description{margin-top:26px}}
/* Cột thông tin cuộn tự nhiên cùng trang, không có thanh cuộn riêng. */
.product-information{position:static;top:auto;max-height:none;overflow:visible;padding-right:0;align-self:start}.product-purchase-sticky{position:static;top:auto}
.detail-colors{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.color-option{padding:0;width:65px;text-align:center}.color-option>span{display:block;width:65px;height:78px;padding:3px;border:1px solid #e2e2dc;border-radius:4px;overflow:hidden}.color-option img{width:100%;height:100%;object-fit:cover;display:block}.color-option.active>span{border-color:#222;box-shadow:0 0 0 1px #222}.color-option small{display:block;font-size:11px;line-height:1.5;margin-top:8px;font-weight:400}.cart-color-name{font-size:11px;color:#777;margin:0 0 10px}.product-visual-column .product-description{margin-left:82px}
@media(max-width:1100px){.product-visual-column .product-description{margin-left:66px}}
@media(max-width:700px){.product-visual-column .product-description{margin-left:0}.color-option,.color-option>span{width:58px}.color-option>span{height:70px}}
/* Mô tả nằm dưới hàng ảnh + thông tin, về phía trái. */
.product-layout>.product-description{grid-column:1;min-width:0;margin:0 0 0 82px;padding-top:26px;scroll-margin-top:115px}.description-body{position:relative;max-height:300px;overflow:hidden}.description-body:after{content:'';position:absolute;bottom:0;left:0;right:0;height:65px;background:linear-gradient(transparent,#fff);pointer-events:none}.description-expanded .description-body{max-height:none;overflow:visible}.description-expanded .description-body:after{display:none}.description-body>img{width:100%;max-height:550px;object-fit:contain;background:#f6f6f3;display:block;margin:24px 0}.description-toggle{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 24px;border:1px solid #ddd;border-radius:4px;margin:18px auto 0;background:#fff;font-size:13px}.description-toggle:hover{background:#f5f5f1}.description-toggle[hidden]{display:none}.description-toggle i{font-size:10px}.color-option,.color-option>span{width:52px}.color-option>span{height:52px;border-radius:50%;padding:2px}.color-option img{border-radius:50%}.color-option small{font-size:11px;margin-top:7px}.detail-colors{gap:16px}
@media(max-width:1100px){.product-layout>.product-description{margin-left:66px}}
@media(max-width:700px){.product-layout>.product-description{grid-column:1;margin-left:0}.color-option,.color-option>span{width:46px}.color-option>span{height:46px}.description-body>img{max-height:400px}}
/* Mô tả toàn chiều rộng; lựa chọn màu luôn bằng nhau và thẳng hàng. */
.product-layout>.product-description{grid-column:1/-1;width:100%;min-width:0;margin-left:0;margin-right:0}.detail-colors{display:flex;align-items:flex-start;gap:16px}.color-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 76px;width:76px;min-width:76px;padding:0;margin:0;align-self:flex-start}.color-option>span{box-sizing:border-box;display:block;flex:0 0 52px;width:52px;height:52px;min-width:52px;min-height:52px;border-radius:50%;overflow:hidden;padding:2px}.color-option img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:50%}.color-option small{width:100%;height:2.8em;min-height:2.8em;margin:8px 0 0;line-height:1.4;font-size:11px;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.color-option.active>span{border:1px solid #222;box-shadow:0 0 0 1px #222}
@media(max-width:1100px){.product-layout>.product-description{margin-left:0}}
@media(max-width:700px){.product-layout>.product-description{grid-column:1/-1;margin-left:0}.color-option{flex-basis:68px;width:68px;min-width:68px}.color-option>span{flex-basis:46px;width:46px;height:46px;min-width:46px;min-height:46px}}

/* Đồng bộ khung nhìn nội dung giỏ hàng mở rộng đúng chuẩn như Home và Category */
.shop-page{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:48px;align-items:start}
.cart-page-heading{margin:28px 0 32px}
.cart-page-heading h1{font-size:32px;letter-spacing:-1px;font-weight:650}
.cart-page-heading>span{font-size:14px;color:#777}
.shop-page .breadcrumb{font-size:14px;gap:8px;margin-bottom:10px}
.cart-product{display:grid;grid-template-columns:18px 120px minmax(0,1fr) auto;gap:22px;padding:25px 0;align-items:start}
.cart-product-name{font-size:15px;font-weight:500;line-height:1.55;margin-bottom:10px}
.cart-line-total{font-size:16px;font-weight:600;white-space:nowrap;margin-top:2px}
.order-summary{padding:26px 28px;border:1px solid #e1e1db;border-radius:8px;background:#fff}
.order-summary h2{font-size:20px;font-weight:650;margin:0 0 24px}
.order-summary>div{font-size:14px;margin:18px 0}
.order-summary .order-grand-total{font-size:16px;font-weight:650;padding-top:20px}
.order-note-label{font-size:14px;font-weight:500;margin:24px 0 10px}
#order-note{padding:14px;font-size:13px;border-radius:6px}
.cart-tracking-link{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#777;margin-top:14px;padding-top:14px;border-top:1px dashed #e5e5df;text-decoration:none}
.cart-tracking-link:hover{color:#171717;text-decoration:underline}
@media(max-width:1100px){
  .cart-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
}
@media(max-width:850px){
  .cart-layout{grid-template-columns:1fr;gap:35px}
}

.cart-size-wrapper{display:flex;align-items:center;gap:10px;margin-bottom:14px;position:relative}
.cart-size-label{font-size:12px;color:#777;font-weight:400}
.size-dropdown{position:relative;display:inline-block}
.size-dropdown-btn{min-width:68px;padding:6px 11px;font-size:12px;font-weight:500;border-radius:4px;gap:8px;background:#fff;border:1px solid #dcdcd6}
.size-dropdown-btn:hover{border-color:#171717}
.size-dropdown-menu{min-width:92px;top:calc(100% + 4px);left:0;right:auto;box-shadow:0 8px 24px rgba(0,0,0,0.12)}
.size-dropdown-menu .custom-dropdown-option{padding:7px 11px;font-size:12px}

/* Trang Tra cứu đơn hàng */
.tracking-page{min-height:75vh;padding:28px var(--page-gutter) 70px;width:100%;max-width:none;box-sizing:border-box}
.tracking-hero{max-width:680px;margin:24px auto 44px;text-align:center}
.tracking-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:1.5px;color:#da402c;margin-bottom:8px}
.tracking-heading h1{font-size:32px;font-weight:700;letter-spacing:-1px;margin:6px 0 12px;color:#171717}
.tracking-heading p{font-size:14px;color:#666;line-height:1.7;max-width:560px;margin:0 auto 28px}
.tracking-search-box{max-width:540px;margin:0 auto}
.tracking-search-form{display:flex;align-items:center;gap:10px;width:100%}
.tracking-input-wrapper{flex:1;min-width:0;display:flex;align-items:center;background:#fff;border:1.5px solid #d4d4ce;border-radius:8px;padding:0 16px;gap:12px;height:48px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.tracking-input-wrapper:focus-within{border-color:#171717;box-shadow:0 0 0 3px rgba(0,0,0,0.06)}
.tracking-input-wrapper i{font-size:15px;color:#888;flex-shrink:0}
.tracking-input-wrapper input{flex:1;min-width:0;border:0;outline:none;font-size:14.5px;font-weight:500;height:auto;line-height:normal;padding:0;background:transparent;color:#171717}
.tracking-search-submit{width:48px;height:48px;border:0;border-radius:8px;background:#171717;color:#fff;font-size:16px;display:grid;place-items:center;padding:0;cursor:pointer;flex:0 0 48px;transition:background .2s,transform .15s}
.tracking-search-submit i{transition:transform .2s}
.tracking-search-submit:hover{background:#333}
.tracking-search-submit:hover i{transform:translateX(2px)}
.tracking-search-submit:active{transform:scale(0.96)}
.tracking-results-section{max-width:880px;margin:0 auto 60px}
.tracking-results-header{margin-bottom:24px;padding-bottom:14px;border-bottom:1px solid #e7e7df}
.tracking-results-header h2{font-size:22px;font-weight:700;margin:0 0 6px}
.tracking-results-header p{font-size:14px;color:#666;margin:0}
.orders-list{display:flex;flex-direction:column;gap:24px}
.order-card{background:#fff;border:1px solid #e3e3dc;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,0.03);transition:box-shadow .2s,border-color .2s}
.order-card:hover{border-color:#171717;box-shadow:0 8px 26px rgba(0,0,0,0.07)}
.order-card-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;background:#f9f9f6;border-bottom:1px solid #ededeb;gap:14px;flex-wrap:wrap}
.order-code{font-size:13px;font-weight:600;color:#171717}
.order-date{font-size:12px;color:#777;margin-left:14px}
.order-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600}
.order-badge.status-shipping{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.order-badge.status-delivered{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}
.order-badge.status-pending{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
.order-badge.status-cancelled{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.order-card-body{padding:20px 22px}
.order-items-preview{display:flex;flex-direction:column;gap:14px}
.order-item-row{display:flex;align-items:center;gap:16px}
.order-item-thumb{width:60px;height:75px;border-radius:6px;overflow:hidden;background:#f5f5f2;flex-shrink:0;border:1px solid #e7e7e2;display:block}
.order-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.order-item-info{flex:1;min-width:0}
.order-item-name{font-size:14px;font-weight:500;color:#171717;text-decoration:none;display:block;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-item-name:hover{color:#a34331}
.order-item-variant{font-size:12px;color:#777;margin:0 0 4px}
.order-item-price{font-size:13px;font-weight:600;color:#171717}
.order-card-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;background:#fff;border-top:1px solid #ededeb;gap:16px;flex-wrap:wrap}
.order-card-total{font-size:14px;color:#666}
.order-card-total strong{font-size:18px;font-weight:700;color:#171717;margin-left:8px}
.view-detail-btn{padding:10px 18px;font-size:13px;font-weight:600;gap:8px;border-radius:6px;display:inline-flex;align-items:center}
.tracking-empty-box{text-align:center;padding:50px 20px;background:#fafaf8;border:1px dashed #deded8;border-radius:12px}
.empty-icon{font-size:42px;color:#bbb;margin-bottom:16px}
.tracking-empty-box h2{font-size:22px;font-weight:600;margin:0 0 10px}
.tracking-empty-box p{font-size:14px;color:#666;line-height:1.7;max-width:500px;margin:0 auto 16px}

/* Modal Chi tiết đơn hàng */
.order-detail-dialog{width:min(720px,94vw);max-height:88vh;padding:32px 36px 32px 32px;border-radius:14px;border:0;box-shadow:0 24px 60px rgba(0,0,0,0.2);scrollbar-width:thin;scrollbar-color:#c8c8c2 transparent}
.order-detail-dialog::-webkit-scrollbar{width:7px}
.order-detail-dialog::-webkit-scrollbar-track{background:transparent}
.order-detail-dialog::-webkit-scrollbar-thumb{background:#c8c8c2;border-radius:10px}
.order-detail-dialog::-webkit-scrollbar-thumb:hover{background:#9e9e98}
.order-detail-dialog .dialog-close{position:absolute;right:22px;top:20px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f3f3ef;color:#333;font-size:16px;border:1px solid #e2e2dc;transition:all .2s;z-index:10}
.order-detail-dialog .dialog-close:hover{background:#171717;color:#fff;border-color:#171717;transform:rotate(90deg)}
.order-detail-dialog::backdrop{background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)}
.detail-header-block{padding-right:0}
.detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap;padding-right:44px}
.order-detail-eyebrow{font-size:11px;font-weight:700;letter-spacing:1px;color:#888;display:block;margin-bottom:4px}
.detail-title-row h2{font-size:24px;font-weight:700;margin:0 0 6px}
.detail-order-date{font-size:12px;color:#777;margin:0}
.order-stepper{display:flex;align-items:center;justify-content:space-between;background:#f7f7f4;border-radius:12px;padding:22px 18px;margin-bottom:26px;width:100%;box-sizing:border-box}
.step-item{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;z-index:2;flex:0 0 auto;min-width:56px}
.step-icon{width:36px;height:36px;border-radius:50%;background:#e5e5df;color:#888;display:grid;place-items:center;font-size:13px;transition:all .3s}
.step-label{font-size:11.5px;font-weight:500;color:#777;text-align:center;white-space:nowrap}
.step-item.completed .step-icon{background:#171717;color:#fff}
.step-item.completed.active .step-icon{background:#2563eb;color:#fff;box-shadow:0 0 0 4px #dbeafe}
.step-item.completed .step-label{color:#171717;font-weight:600}
.step-line{flex:1 1 0;height:3px;background:#e5e5df;margin:0 8px;position:relative;top:-10px}
.step-line.active{background:#171717}
.detail-grid-info{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px;background:#fbfbf9;padding:18px 20px;border-radius:8px;border:1px solid #ededed}
.info-block h3{font-size:13px;font-weight:700;margin:0 0 12px;color:#171717;display:flex;align-items:center;gap:8px}
.info-block p{font-size:12px;line-height:1.75;color:#555;margin:0 0 4px}
.info-block p strong{color:#222;font-weight:600}
.detail-items-section{margin-bottom:24px}
.detail-items-section h3{font-size:14px;font-weight:700;margin:0 0 14px;display:flex;align-items:center;gap:8px}
.detail-items-list{display:flex;flex-direction:column;gap:12px}
.detail-item-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #f0f0ed}
.detail-item-thumb{width:56px;height:70px;border-radius:6px;overflow:hidden;background:#f4f4f2;flex-shrink:0;border:1px solid #e8e8e3}
.detail-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.detail-item-info{flex:1;min-width:0}
.detail-item-name{font-size:13px;font-weight:500;color:#171717;text-decoration:none;display:block;margin-bottom:3px}
.detail-item-meta{font-size:11px;color:#777;margin:0 0 4px}
.detail-item-unit{font-size:12px;color:#555}
.detail-item-subtotal{font-size:14px;font-weight:650;color:#171717}
.detail-cost-summary{background:#fafaf7;border-radius:8px;padding:16px 20px;margin-bottom:24px;border:1px solid #ededeb}
.cost-line{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:6px 0;color:#666}
.cost-line strong{color:#171717}
.cost-line.total-line{border-top:1px solid #e2e2dc;padding-top:12px;margin-top:10px;font-size:15px;color:#171717;font-weight:600}
.cost-line.total-line strong{font-size:18px;color:#da402c}
.detail-timeline-block{margin-bottom:26px}
.detail-timeline-block h3{font-size:14px;font-weight:700;margin:0 0 16px;display:flex;align-items:center;gap:8px}
.timeline-list{list-style:none;padding:0 0 0 18px;margin:0;border-left:2px solid #e7e7e2}
.timeline-entry{position:relative;margin-bottom:18px;padding-left:14px}
.timeline-entry:last-child{margin-bottom:0}
.timeline-dot{position:absolute;left:-23px;top:4px;width:10px;height:10px;border-radius:50%;background:#bbb;border:2px solid #fff}
.timeline-entry.latest .timeline-dot{background:#2563eb;box-shadow:0 0 0 3px #dbeafe}
.timeline-time{font-size:11px;color:#888;margin-bottom:2px}
.timeline-title{font-size:13px;font-weight:600;color:#171717;margin-bottom:2px}
.timeline-desc{font-size:12px;color:#666;line-height:1.6}
.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #eee;padding-top:20px}
.contact-support-btn{font-size:12px;color:#777;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.contact-support-btn:hover{color:#171717;text-decoration:underline}

@media(max-width:700px){
  /* Tối ưu trang Tra cứu đơn hàng trên Mobile siêu đẹp, gọn gàng, cách thoáng và icon mũi tên nhỏ gọn */
  .tracking-page{padding-top:16px;padding-bottom:42px;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
  .tracking-page .breadcrumb{margin-bottom:20px!important}
  .tracking-hero{margin:0 auto 28px}
  .tracking-eyebrow{font-size:11px;letter-spacing:1px;margin-bottom:10px}
  .tracking-heading h1{font-size:23px;letter-spacing:-.4px;line-height:1.35;margin:0 0 10px}
  .tracking-heading p{font-size:13px;line-height:1.65;color:#666;margin:0 auto 22px;max-width:94%}
  
  .tracking-search-box{width:100%;margin:0 auto}
  .tracking-search-form{display:flex;flex-direction:row;gap:8px;width:100%}
  .tracking-input-wrapper{flex:1;min-width:0;height:46px;background:#fff;border:1.5px solid #d4d4ce;border-radius:8px;padding:0 14px;gap:10px;box-shadow:0 2px 8px rgba(0,0,0,0.03)}
  .tracking-input-wrapper:focus-within{border-color:#171717;box-shadow:0 0 0 3px rgba(0,0,0,0.08)}
  .tracking-input-wrapper i{font-size:14px;color:#888}
  .tracking-input-wrapper input{font-size:14px;line-height:normal;padding:0;height:auto;width:100%}
  
  .tracking-search-submit{width:46px;height:46px;border-radius:8px;font-size:15px;display:grid;place-items:center;padding:0;flex:0 0 46px;box-shadow:0 3px 10px rgba(0,0,0,0.12)}
  .tracking-search-submit:active{transform:scale(0.94)}
  
  .tracking-results-header{margin-bottom:18px;padding-bottom:12px}
  .tracking-results-header h2{font-size:19px;margin-bottom:4px}
  .tracking-results-header p{font-size:13px}
  
  .order-card{border-radius:12px}
  .order-card-header{
    padding:12px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }
  .order-code{font-size:12.5px}
  .order-date{font-size:11px;margin-left:0;display:block;margin-top:2px}
  .order-badge{padding:4px 9px;font-size:10.5px}
  
  .order-card-body{padding:14px}
  .order-item-row{gap:12px}
  .order-item-thumb{width:50px;height:62px;border-radius:6px}
  .order-item-name{font-size:13px;line-height:1.45}
  .order-item-variant{font-size:11px}
  .order-item-price{font-size:13px}
  
  .order-card-footer{
    padding:12px 14px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .order-card-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:13px;
  }
  .order-card-total strong{font-size:16px;margin-left:0}
  .view-detail-btn{
    width:100%;
    height:42px;
    font-size:13px;
    border-radius:8px;
    justify-content:center;
  }
  
  /* Modal Chi tiết đơn hàng trên mobile: full màn hình tràn viền và stepper thoáng đẹp */
  .order-detail-dialog{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    inset:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    padding:20px 14px 40px!important;
    box-sizing:border-box!important;
    overscroll-behavior:contain;
  }
  .order-detail-dialog .dialog-close{
    position:fixed;
    right:12px;
    top:12px;
    width:36px;
    height:36px;
    font-size:16px;
    background:#fff;
    color:#171717;
    border:1px solid #d4d4ce;
    box-shadow:0 3px 12px rgba(0,0,0,0.12);
    z-index:99;
  }
  .order-detail-dialog .detail-header-block{
    padding-right:0!important;
  }
  .detail-title-row{
    padding-right:44px!important;
  }
  .detail-title-row h2{font-size:20px}
  .order-stepper{
    width:100%!important;
    box-sizing:border-box!important;
    padding:16px 4px!important;
    margin-bottom:22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-radius:12px!important;
    background:#f7f7f4;
  }
  .step-item{
    flex:0 0 auto!important;
    min-width:48px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:6px!important;
  }
  .step-icon{
    width:32px!important;
    height:32px!important;
    font-size:11px!important;
  }
  .step-label{
    font-size:10px!important;
    white-space:nowrap!important;
  }
  .step-line{
    flex:1 1 auto!important;
    min-width:18px!important;
    height:3px!important;
    margin:0 4px!important;
    position:relative!important;
    top:-9px!important;
  }
  .detail-grid-info{grid-template-columns:1fr;gap:12px;padding:14px 12px;margin-bottom:20px;border-radius:10px}
  .detail-cost-summary{padding:16px 14px;margin-bottom:20px;border-radius:10px}
}

/* Trang Tất cả Tin tức */
.news-page{min-height:75vh}
.news-page-header-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 32px;flex-wrap:wrap}
.news-page-heading{display:flex;align-items:baseline;gap:16px}
.news-page-heading h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin:0}
.news-page-heading .news-count-badge{font-size:14px;color:#777;font-weight:400}
.news-search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dcdcd6;border-radius:24px;padding:8px 18px;width:320px;max-width:100%;transition:border-color .2s,box-shadow .2s}
.news-search-box:focus-within{border-color:#171717;box-shadow:0 0 0 3px rgba(0,0,0,0.06);background:#fff}
.news-search-box i{font-size:13px;color:#777}
.news-search-box input{border:0;outline:none;background:transparent;width:100%;font-size:13px}
.all-news-section{margin-bottom:60px}
.news-grid-full{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.news-card-item{background:#fff;border:1px solid #e7e7e2;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(0,0,0,0.03);transition:transform .2s,box-shadow .2s,border-color .2s}
.news-card-item:hover{transform:translateY(-3px);border-color:#171717;box-shadow:0 10px 26px rgba(0,0,0,0.08)}
.news-card-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:#f5f5f2}
.news-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.news-card-item:hover .news-card-thumb img{transform:scale(1.05)}
.news-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.news-card-meta{display:flex;align-items:center;gap:12px;font-size:11px;color:#888;margin-bottom:10px}
.news-card-body h3{font-size:17px;font-weight:650;line-height:1.5;margin:0 0 10px}
.news-card-body p{font-size:13px;color:#666;line-height:1.75;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.news-card-footer{border-top:1px solid #f2f2ef;padding-top:14px;margin-top:auto}
.news-link-btn{background:none;border:0;padding:0;font-size:12px;font-weight:600;color:#171717;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:gap .2s,color .2s}
.news-link-btn:hover{color:#a34331;gap:12px}
.news-empty-state{text-align:center;padding:60px 20px;background:#fafaf8;border:1px dashed #deded8;border-radius:12px}
.news-empty-state i{font-size:42px;color:#bbb;margin-bottom:16px}
.news-empty-state h3{font-size:20px;font-weight:600;margin:0 0 8px}
.news-empty-state p{font-size:13px;color:#666;margin:0 0 20px}

/* Modal đọc chi tiết bài viết */
.news-article-dialog{width:min(800px,94vw);max-height:88vh;padding:40px 36px;border-radius:14px;border:0;box-shadow:0 24px 60px rgba(0,0,0,0.2);scrollbar-width:thin;scrollbar-color:#c8c8c2 transparent}
.news-article-dialog .dialog-close{position:absolute;right:22px;top:20px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f3f3ef;color:#333;font-size:16px;border:1px solid #e2e2dc;transition:all .2s;z-index:10;cursor:pointer}
.news-article-dialog .dialog-close:hover{background:#171717;color:#fff;border-color:#171717;transform:rotate(90deg)}
.article-modal-header{margin-bottom:24px}
.article-modal-header .news-badge-category{position:static;display:inline-block;margin-bottom:12px}
.article-modal-header h1{font-size:28px;font-weight:700;line-height:1.4;letter-spacing:-.8px;margin:0 0 14px}
.article-modal-cover{aspect-ratio:16/9;max-height:360px;border-radius:10px;overflow:hidden;background:#f0f0ee;margin-bottom:28px}
.article-modal-cover img{width:100%;height:100%;object-fit:cover;display:block}
.article-modal-content{font-size:15px;line-height:2;color:#333;margin-bottom:32px}
.article-modal-content .lead-text{font-size:17px;font-weight:500;line-height:1.8;color:#171717;border-left:3px solid #171717;padding-left:18px;margin-bottom:24px}
.article-modal-content h3{font-size:18px;font-weight:700;margin:28px 0 12px;color:#171717}
.article-modal-content p{margin:0 0 16px}
.article-quote{background:#f8f8f5;border-left:4px solid #a34331;padding:20px 24px;border-radius:0 8px 8px 0;margin:28px 0;position:relative}
.article-quote i{font-size:24px;color:#a34331;opacity:.3;margin-bottom:8px;display:block}
.article-quote p{font-size:15px;font-style:italic;line-height:1.8;color:#222;margin:0}
.article-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #eee;padding-top:20px}
.share-box{display:flex;align-items:center;gap:10px;font-size:13px;color:#666}
.share-btn{background:#fff;border:1px solid #ddd;padding:7px 14px;border-radius:5px;font-size:12px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .2s}
.share-btn:hover{background:#171717;color:#fff;border-color:#171717}

/* Trang Chi tiết bài viết tin tức */
.article-page-main{padding-top:24px;padding-bottom:70px}
.article-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start;margin-top:24px}
.article-main-column{background:#fff;border:1px solid #e7e7e2;border-radius:12px;padding:36px;box-shadow:0 2px 14px rgba(0,0,0,0.03)}
.article-header{margin-bottom:24px}
.article-header .news-badge-category{position:static;display:inline-block;margin-bottom:14px;background:#171717;color:#fff;font-size:11px;font-weight:700;letter-spacing:1px;padding:6px 14px;border-radius:4px;text-transform:uppercase}
.article-title{font-size:32px;font-weight:700;letter-spacing:-1px;line-height:1.4;margin:0 0 16px;color:#171717}
.article-meta-bar{display:flex;align-items:center;gap:18px;font-size:13px;color:#777;padding-bottom:18px;border-bottom:1px solid #eee;flex-wrap:wrap}
.article-meta-bar i{font-size:12px}
.article-meta-bar strong{color:#171717}
.article-featured-image{aspect-ratio:16/9;max-height:480px;border-radius:10px;overflow:hidden;background:#f5f5f2;margin:24px 0 32px}
.article-featured-image img{width:100%;height:100%;object-fit:cover;display:block}
.article-body-content{font-size:15px;line-height:2.05;color:#333}
.article-body-content .lead-text{font-size:18px;font-weight:500;line-height:1.85;color:#171717;border-left:4px solid #171717;padding-left:20px;margin-bottom:26px}
.article-body-content h3{font-size:20px;font-weight:700;letter-spacing:-.4px;margin:32px 0 14px;color:#171717}
.article-body-content p{margin:0 0 18px}
.article-footer-tags{margin-top:40px;padding-top:24px;border-top:1px solid #eee;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.article-share-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.share-label{font-size:13px;color:#666;font-weight:500}
.article-action-btn{background:#fff;border:1px solid #ddd;padding:8px 16px;border-radius:6px;font-size:12px;font-weight:500;color:#222;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .2s;text-decoration:none}
.article-action-btn:hover{background:#171717;color:#fff;border-color:#171717}
.back-to-news-btn{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#171717;text-decoration:none}
.back-to-news-btn:hover{color:#a34331;text-decoration:underline}

/* Sidebar bài viết */
.article-sidebar{display:flex;flex-direction:column;gap:32px;position:sticky;top:115px}
.sidebar-block{background:#fff;border:1px solid #e7e7e2;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.03)}
.sidebar-title{font-size:16px;font-weight:700;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #eee;display:flex;align-items:center;gap:8px;color:#171717}
.sidebar-recent-news{display:flex;flex-direction:column;gap:18px}
.sidebar-news-item{display:flex;gap:14px;align-items:center}
.sidebar-news-thumb{width:70px;height:70px;border-radius:8px;overflow:hidden;background:#f5f5f2;flex-shrink:0;border:1px solid #e7e7e2;display:block}
.sidebar-news-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.sidebar-news-thumb:hover img{transform:scale(1.08)}
.sidebar-news-info{flex:1;min-width:0}
.sidebar-news-category{font-size:10px;font-weight:700;color:#888;letter-spacing:.8px;display:block;margin-bottom:4px;text-transform:uppercase}
.sidebar-news-info h4{font-size:13px;font-weight:600;line-height:1.5;margin:0 0 4px}
.sidebar-news-info h4 a{color:#171717;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sidebar-news-info h4 a:hover{color:#a34331}
.sidebar-news-date{font-size:11px;color:#999}

.news-title-link{color:#171717;text-decoration:none}
.news-title-link:hover{color:#a34331}

@media(max-width:1000px){
  .news-grid-full{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
  .article-detail-layout{grid-template-columns:1fr;gap:35px}
  .article-sidebar{position:static}
  .article-main-column{padding:26px 20px}
  .article-title{font-size:26px}
}
@media(max-width:700px){
  /* Tối ưu trang Tin tức trên mobile: 1 cột tràn rộng, tiêu đề và ảnh rõ nét */
  .news-page{padding-top:16px;padding-bottom:45px}
  .news-page-header-row{flex-direction:column;align-items:stretch;gap:16px;margin:18px 0 24px}
  .news-page-heading h1{font-size:26px}
  .news-search-box{width:100%;box-sizing:border-box}
  .news-grid-full{grid-template-columns:1fr!important;gap:22px!important}
  .news-card-body{padding:18px 16px}
  .news-card-body h3{font-size:16.5px;line-height:1.45;margin-bottom:8px}
  .news-card-body p{font-size:13px;line-height:1.65;margin-bottom:14px}

  /* Tối ưu chi tiết trên mobile: bỏ viền, cách nền gọn gàng */
  .shop-page{padding-top:12px;padding-bottom:35px}
  .product-layout{margin-top:10px;gap:20px}
  .product-layout>.product-description{margin-top:20px;padding-top:16px;border-top:none}
  .product-accordions details:last-child{border-bottom:none}

  .article-page-main{padding-top:10px;padding-bottom:30px}
  .article-detail-layout{margin-top:10px;gap:22px}
  .article-main-column{background:transparent;border:none;border-bottom:none;box-shadow:none;border-radius:0;padding:4px 0 16px}
  .article-header{margin-bottom:12px}
  .article-title{font-size:21px;line-height:1.35;margin-bottom:10px}
  .article-meta-bar{padding-bottom:10px;border-bottom:none;gap:10px;font-size:12px}
  .article-featured-image{aspect-ratio:4/3;max-height:240px;margin:14px 0 18px;border-radius:8px}
  .article-body-content{font-size:14px;line-height:1.85}
  .article-body-content .lead-text{font-size:15px;line-height:1.7;padding-left:14px;margin-bottom:18px}
  .article-footer-tags{flex-direction:column;align-items:stretch;margin-top:20px;padding-top:14px;border-top:none}
  .sidebar-block{border:none;box-shadow:none;border-radius:0;padding:16px 0;background:transparent;border-top:1px solid #eee}
  .news-article-dialog{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    inset:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    padding:20px 14px 40px!important;
    box-sizing:border-box!important;
  }
  .news-article-dialog .dialog-close{
    position:fixed;
    right:12px;
    top:12px;
    width:36px;
    height:36px;
    font-size:16px;
    background:#fff;
    color:#171717;
    border:1px solid #d4d4ce;
    box-shadow:0 3px 12px rgba(0,0,0,0.12);
    z-index:99;
  }
}






/* Keep color choices visually grouped instead of spreading across the product panel. */
.detail-colors{gap:0}
.color-option{flex:0 0 68px;width:68px;min-width:68px}
@media(max-width:700px){.detail-colors{gap:0}.color-option{flex-basis:60px;width:60px;min-width:60px}}

@media(max-width:700px){
  .cart-page-heading{align-items:flex-start;margin:20px 0 22px;gap:12px}
  .cart-page-heading h1{font-size:24px;line-height:1.25;letter-spacing:-.5px;max-width:230px}
  .cart-page-heading>span{flex:0 0 auto;text-align:right;font-size:12px;line-height:1.4}
  .cart-product{grid-template-columns:18px 84px minmax(0,1fr);gap:10px;padding:16px 0;align-items:start}
  .cart-product-image{width:84px;grid-column:2;grid-row:1 / span 3}
  .cart-product>input{grid-column:1;grid-row:1;margin:5px 0 0}
  .cart-product-info{grid-column:3;min-width:0}
  .cart-product-name{font-size:13px;line-height:1.45;margin:0 0 8px}
  .cart-size-label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0}
  .cart-product-info .price{margin-top:10px;font-size:14px}
  .cart-item-controls{margin-top:10px;gap:10px}
  .cart-line-total{grid-column:3;grid-row:2;align-self:end;margin:0;font-size:14px}
}

@media(max-width:700px){
  .cart-page-heading{justify-content:flex-start;align-items:baseline;gap:12px}
  .cart-page-heading h1{max-width:none;white-space:nowrap;font-size:clamp(19px,5.2vw,24px)}
  .cart-page-heading>span{margin-left:0;text-align:left;white-space:nowrap}
}

@media(max-width:700px){
  .cart-page-heading{width:100%;justify-content:space-between;align-items:baseline;gap:12px}
  .cart-page-heading h1{max-width:75%;white-space:normal;font-size:clamp(19px,5.2vw,24px)}
  .cart-page-heading>span{margin-left:auto;text-align:right;white-space:nowrap}
}

@media(max-width:700px){
  .cart-product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;}
}
@media(max-width:700px){.cart-product-info{min-width:0}.cart-product-name{width:100%;min-width:0;max-width:100%;white-space:normal}}

@media(max-width:700px){.gallery-arrow{display:none!important}}
