#spMiniCart { width:min(520px,100vw); max-width:100%; flex-direction:column; background:#fff; color:#202020; }
.sp-mini-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 32px; padding:26px 0 18px; border-bottom:1px solid #e5e5e5; flex-shrink:0; }
.sp-mini-header h5 { margin:0; font-size:22px; font-weight:600; }
.sp-mini-header button,.sp-mini-remove { padding:0; background:none; border:0; width:32px; height:32px; font-size:30px; line-height:1; }
.sp-mini-content { flex:1; display:flex; flex-direction:column; min-height:0; }
.sp-mini-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:24px 32px; }
.sp-mini-item { position:relative; display:grid; grid-template-columns:100px minmax(0,1fr) 24px; gap:12px; margin-bottom:24px; }
.sp-mini-image img { width:100%; height:128px; object-fit:cover; border-radius:4px; }
.sp-mini-name { display:block; font-size:14px; line-height:1.5; font-weight:500; }
.sp-mini-description { min-width:0; }
.sp-cart-stock { margin:5px 0; font-size:12px; line-height:1.5; color:#666; }
.sp-mini-price { margin:8px 0; font-size:14px; font-weight:600; }
.sp-mini-price .amount,.sp-mini-total .amount { white-space:nowrap; }
.sp-mini-description dl.variation { margin:5px 0; font-size:12px; line-height:1.5; color:#777; }
.sp-mini-description dl.variation dt,.sp-mini-description dl.variation dd { display:inline; float:none; margin:0 3px 0 0; }
.sp-mini-description dl.variation p { display:inline; margin:0; }
.sp-mini-description dl.variation dd::after { content:''; display:block; }
.sp-mini-quantity { display:inline-flex; height:34px; border:1px solid #e5e5e5; border-radius:4px; align-items:center; }
.sp-mini-quantity button { width:30px; height:32px; padding:0; border:0; background:none; }
.sp-mini-quantity input { width:34px; height:32px; padding:0; text-align:center; border:0; background:transparent; appearance:textfield; font-size:14px; }
.sp-mini-quantity input::-webkit-inner-spin-button { appearance:none; }
.sp-mini-quantity button:disabled { opacity:.35; }
.sp-mini-footer { flex-shrink:0; padding:20px 32px 28px; border-top:1px solid #eee; background:#fff; }
.sp-mini-total { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:16px 0 10px; font-size:20px; }
.sp-mini-footer p { margin:0 0 20px; font-size:13px; color:#777; line-height:1.5; }
.sp-mini-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.sp-mini-actions a,.sp-mini-catalog { display:flex; justify-content:center; align-items:center; text-align:center; min-height:48px; padding:10px; border:1px solid #171717; border-radius:5px; font-size:14px; }
.sp-mini-checkout { color:#fff !important; background:#171717; }
.sp-mini-coupon { padding-bottom:16px; border-bottom:1px solid #eee; }
.sp-mini-coupon summary { cursor:pointer; font-size:14px; }
#spMiniCart .sp-mini-coupon form { display:grid; grid-template-columns:minmax(0,1fr) max-content; align-items:stretch; gap:8px; margin-top:12px; }
#spMiniCart .sp-mini-coupon input { box-sizing:border-box; min-width:0; width:100%; height:46px; margin:0; padding:10px; border:1px solid #ddd; border-radius:4px; }
#spMiniCart .sp-mini-coupon button { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:auto; min-width:max-content; height:46px; margin:0; padding:0 14px; border:1px solid #222; border-radius:4px; background:#fff; color:#222; font-size:14px; line-height:1; white-space:nowrap; }
#spMiniCart .sp-mini-coupon button:hover { background:#222; color:#fff; }
#spMiniCart .sp-mini-coupon button:focus-visible { outline:2px solid #76675b; outline-offset:2px; }
.sp-mini-notices:not(:empty) { margin-bottom:18px; font-size:14px; }
.sp-mini-recommendations { border:1px solid #eee; padding:16px; border-radius:8px; margin-top:24px; }
.sp-mini-recommendations h6 { font-size:14px; margin-bottom:12px; }
.sp-mini-recommendations a { display:flex; gap:12px; font-size:13px; margin-top:12px; }
.sp-mini-recommendations img { width:56px; height:70px; object-fit:cover; }
#spMiniCart[aria-busy="true"] .sp-mini-content { opacity:.6; pointer-events:none; }
@media(max-width:575px){.sp-mini-header{margin:0 20px;padding-top:20px}.sp-mini-scroll{padding:20px}.sp-mini-footer{padding:16px 20px calc(20px + env(safe-area-inset-bottom))}.sp-mini-item{grid-template-columns:80px minmax(0,1fr) 24px;gap:10px}.sp-mini-image img{height:108px}.sp-mini-total{font-size:18px}.sp-mini-quantity{height:40px}.sp-mini-quantity button,.sp-mini-quantity input{height:38px}}

/* Full cart follows the clean rows and white summary of the Omniva reference. */
.woocommerce .sp-cart-page .overflow-auto { border:0; border-radius:0; }
.woocommerce .sp-cart-page table.shop_table { border:0; border-collapse:collapse; margin:0; }
.woocommerce .sp-cart-page table.cart th { background:#fff; padding:18px 12px; border-top:1px solid #e8e8e8; border-bottom:1px solid #e8e8e8; font-size:15px; font-weight:500; }
.woocommerce .sp-cart-page table.cart td { border:0; border-bottom:1px solid #e8e8e8; padding:28px 12px; }
.woocommerce .sp-cart-page table.cart th:first-child { text-align:center; }
.woocommerce .sp-cart-page table.cart td:first-child { padding-left:0; }
.woocommerce .sp-cart-page table.cart .cart_product { grid-template-columns:100px minmax(0,1fr); gap:16px; }
.woocommerce .sp-cart-page table.cart .img-prd { border-radius:0; }
.woocommerce .sp-cart-page table.cart .img-prd img { width:100px; height:134px; border-radius:0; }
.woocommerce .sp-cart-page .cart-info { gap:12px; }
.woocommerce .sp-cart-page .cart-info .name { font-size:15px; font-weight:500; }
.woocommerce .sp-cart-page .cart-info dl.variation { margin:0; font-size:13px; color:#777; }
.woocommerce .sp-cart-page .cart-info .remove-cart { margin-top:8px; font-weight:400 !important; }
.woocommerce .sp-cart-page table.cart .amount { white-space:nowrap; font-size:15px; font-variant-numeric:tabular-nums; }
.woocommerce .sp-cart-page .quantity { background:#f1f1f1; border:0; border-radius:4px; }
.woocommerce .sp-cart-page .quantity input { background:transparent; }
.woocommerce .sp-cart-page .tf-page-cart-main { padding:24px 0; border:0; margin-top:0; gap:16px; }
.woocommerce .sp-cart-page .discount-ip { width:min(100%,470px); }
.woocommerce .sp-cart-page button[name="update_cart"] { justify-self:start; width:auto; padding:10px 24px; }
.woocommerce .sp-cart-page .tf-page-cart-sidebar .cart-box { background:#fff; border:1px solid #e8e8e8; border-radius:10px; padding:28px; gap:24px; }
.woocommerce .sp-cart-page .cart-head { margin:0; padding:0 0 20px; }
.woocommerce .sp-cart-page .cart-head .total-discount { font-size:20px; }
.woocommerce .sp-cart-page .cart-head p { margin:0; font-size:14px; color:#777; }
.woocommerce .sp-cart-page .sp-cart-total-list:empty { display:none; }
.woocommerce .sp-cart-page .checkout-button { border-radius:5px !important; }
@media(min-width:992px){
 .sp-cart-page .row.r3 { display:grid; grid-template-columns:minmax(0,2fr) minmax(320px,1fr); gap:28px; margin:0; }
 .sp-cart-page .row.r3 > .col-lg-8,.sp-cart-page .row.r3 > .col-lg-4 { width:auto; min-width:0; padding:0; margin:0; }
}
@media(max-width:767px){
 .woocommerce .sp-cart-page table.cart tr { padding:20px 0; border:0; border-bottom:1px solid #e8e8e8; border-radius:0; }
 .woocommerce .sp-cart-page table.cart td { padding:12px 0; border:0; }
 .woocommerce .sp-cart-page table.cart .cart_product { grid-template-columns:80px minmax(0,1fr); gap:14px; }
 .woocommerce .sp-cart-page table.cart .cart_product .img-prd { width:80px; }
 .woocommerce .sp-cart-page table.cart .img-prd img { width:80px; height:108px; }
 .woocommerce .sp-cart-page table.cart .product-price,.woocommerce .sp-cart-page table.cart .product-quantity,.woocommerce .sp-cart-page table.cart .product-subtotal { border-top:1px solid #eee; }
 .woocommerce .sp-cart-page .tf-page-cart-sidebar .cart-box { padding:22px; }
}
.woocommerce .sp-cart-page .sp-cart-total-list:not(:has(.sp-cart-total-row)) { display:none; }
.woocommerce .sp-cart-page .checkout-cart-box .checkout-btn { margin:0; padding:0; }

/* Omniva order confirmation. */
body.woocommerce-order-received .tf-page-title-2 { display:none; }
.sp-order-received { padding:56px 0 80px !important; }
.sp-order-received > .container { width:100%; max-width:1440px; }
.sp-thanks-hero { text-align:center; margin-bottom:40px; }
.sp-thanks-check { display:grid; place-items:center; width:70px; height:70px; border:2px solid #161616; border-radius:50%; margin:0 auto 24px; font-size:38px; color:#161616; }
.sp-thanks-hero h2 { font-size:36px; line-height:1.2; margin-bottom:16px; }
.sp-thanks-hero p { font-size:16px; color:#666; }
.woocommerce .sp-order-received ul.sp-order-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:28px; margin:0 0 30px; border:1px solid #e8e8e8; border-radius:10px; background:#fff; gap:24px; }
.woocommerce .sp-order-received ul.sp-order-overview::before,
.woocommerce .sp-order-received ul.sp-order-overview::after { display:none; }
.woocommerce .sp-order-received ul.sp-order-overview li { float:none; width:auto; padding:0; margin:0; border:0; font-size:14px; text-transform:none; min-width:0; }
.sp-order-overview li span { color:#666; display:block; margin-bottom:10px; }
.woocommerce .sp-order-received ul.sp-order-overview strong { font-size:16px; color:#111; overflow-wrap:anywhere; }
.sp-order-received .sp-order-main { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(360px,1fr); gap:24px; align-items:start; }
.sp-order-received .sp-order-details-grid { display:block; }
.sp-thanks-status,.sp-order-received .woocommerce-customer-details,.sp-order-received .woocommerce-order-details { padding:28px; border:1px solid #e8e8e8; border-radius:10px; margin:0; background:white; min-width:0; }
.sp-thanks-status { display:flex; gap:20px; align-items:center; }
.sp-thanks-status-symbol { font-size:26px; width:52px; height:52px; border:1px solid #ddd; border-radius:50%; display:grid; place-items:center; flex-shrink:0; }
.sp-thanks-status h6 { font-size:16px; margin:0 0 8px; }
.sp-thanks-status p { font-weight:600; margin:0 0 6px; }
.sp-thanks-status span { color:#666; font-size:14px; }
.sp-order-received .woocommerce-order-details { grid-column:2; grid-row:1 / span 4; }
.sp-order-received .woocommerce-customer-details { grid-column:1; }
.sp-order-received h2.woocommerce-order-details__title,.sp-order-received .woocommerce-column__title { font-size:20px; line-height:1.4; margin:0 0 24px; }
.woocommerce .sp-order-received .woocommerce-customer-details address { border:0; padding:0; font-style:normal; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.woocommerce .sp-order-received .col2-set { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.woocommerce .sp-order-received .col2-set > div { width:auto; float:none; }
.woocommerce .sp-order-received table.shop_table { border:0; border-collapse:collapse; table-layout:auto; margin:0; }
.sp-order-received table.shop_table thead { display:none; }
.woocommerce .sp-order-received table.shop_table th,.woocommerce .sp-order-received table.shop_table td { border:0; padding:12px 0; font-size:14px; text-align:left; vertical-align:middle; }
.woocommerce .sp-order-received table.shop_table td:last-child { width:1%; text-align:right; padding-left:14px; white-space:nowrap; }
.sp-order-received .amount,.sp-order-received .amount bdi { white-space:nowrap; }
.woocommerce .sp-order-received table.shop_table tfoot tr:first-child > *, .woocommerce .sp-order-received table.shop_table tfoot tr:last-child > * { border-top:1px solid #e8e8e8; padding-top:20px; }
.sp-thanks-product { display:flex; align-items:center; gap:14px; }
.sp-thanks-product img { width:70px; height:94px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.sp-thanks-product a { text-decoration:none; }
.sp-order-received .wc-item-meta { padding:0; margin:8px 0; font-size:12px; color:#666; }
.sp-order-received .sp-order-note { padding:24px; margin-bottom:24px; }
.sp-thanks-actions { margin-top:30px; text-align:center; }
.sp-thanks-actions .tf-btn { display:inline-flex; padding:16px 32px; background:#111; color:white; border-radius:5px; }
@media(max-width:991px){.sp-order-received .sp-order-main{grid-template-columns:minmax(0,1fr)}.sp-order-received .woocommerce-order-details{grid-column:1;grid-row:auto}.sp-order-received .woocommerce-customer-details{grid-column:1}}
@media(max-width:575px){.sp-order-received{padding:32px 0 48px!important}.sp-thanks-hero h2{font-size:28px}.woocommerce .sp-order-received ul.sp-order-overview{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:24px 16px}.sp-thanks-status,.sp-order-received .woocommerce-customer-details,.sp-order-received .woocommerce-order-details{padding:20px}.woocommerce .sp-order-received .col2-set{grid-template-columns:1fr}.sp-thanks-product{gap:10px}.sp-thanks-product img{width:48px;height:66px}.woocommerce .sp-order-received table.shop_table td,.woocommerce .sp-order-received table.shop_table th{font-size:13px}}
.sp-thanks-check { border-color:#72a94c; color:#72a94c; width:90px; height:90px; font-size:52px; }
@media(min-width:992px){
 .sp-order-received > .container { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(360px,1fr); gap:24px; align-items:start; }
 .sp-thanks-hero,.sp-thanks-actions,.sp-order-status-box { grid-column:1 / -1; }
 .woocommerce .sp-order-received ul.sp-order-overview { grid-column:1; margin:0; gap:16px; padding:24px; }
 .woocommerce .sp-order-received ul.sp-order-overview strong { font-size:14px; }
 .sp-order-received .sp-order-details-grid,.sp-order-received .sp-order-main { display:contents; }
 .sp-order-received .woocommerce-order-details { grid-column:2; grid-row:2 / span 5; }
 .sp-thanks-status,.sp-order-received .sp-order-note { grid-column:1; }
}
/* Wishlist product grid, matching the Omniva catalogue. */
.sp-wishlist-page .container { width:100%; max-width:1440px; }
.sp-wishlist-hero { background:#f7f5f2; padding:42px 0 48px; text-align:center; }
.sp-wishlist-hero nav { font-size:12px; margin-bottom:24px; text-transform:uppercase; }
.sp-wishlist-hero h1 { font-size:40px; margin:0 0 18px; }
.sp-wishlist-hero p { color:#666; max-width:560px; margin:auto; line-height:1.6; }
.sp-wishlist-content { padding-top:48px; padding-bottom:64px; min-height:360px; }
.sp-wishlist-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:36px 24px; }
.sp-wishlist-grid .tf-compare-item { width:auto!important; max-width:none!important; min-width:0; padding:0; margin:0; text-align:left; }
.sp-wishlist-grid .sp-tool-image { position:relative; margin-bottom:16px; width:100%; }
.sp-wishlist-grid .sp-tool-image > a { display:block; }
.sp-wishlist-grid .sp-tool-image img { width:100%; height:auto; aspect-ratio:3 / 4; object-fit:cover; border-radius:8px; }
.sp-wishlist-grid .sp-tool-image .remove { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:50%; background:white; color:#111; cursor:pointer; }
.sp-wishlist-grid .name-prd_compare { display:block; font-size:16px; line-height:1.5; white-space:normal; overflow:visible; -webkit-line-clamp:unset; margin:0 0 8px; text-decoration:none; }
.sp-wishlist-grid .text-caption { font-size:16px; color:#111; white-space:nowrap; }
.sp-wishlist-empty { text-align:center; padding:50px 16px; }
.sp-wishlist-empty[hidden] { display:none; }
.sp-wishlist-empty h2 { font-size:24px; margin-bottom:16px; }
.sp-wishlist-empty p { margin-bottom:24px; color:#666; }
.sp-wishlist-empty .tf-btn { display:inline-flex; padding:14px 32px; color:white; background:#111; border-radius:5px; }
@media(max-width:991px){.sp-wishlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:575px){.sp-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.sp-wishlist-grid .name-prd_compare,.sp-wishlist-grid .text-caption{font-size:14px}.sp-wishlist-hero{padding:28px 0}.sp-wishlist-hero h1{font-size:30px}.sp-wishlist-content{padding-top:28px}}
@media(max-width:767px){.card-product .product-action_list li.wishlist { display:block !important; }}
/* Order totals must not dictate the product column width. */
.woocommerce .sp-order-received table.woocommerce-table--order-details { display:block; width:100%; }
.woocommerce .sp-order-received table.woocommerce-table--order-details tbody,
.woocommerce .sp-order-received table.woocommerce-table--order-details tfoot { display:block; width:100%; }
.woocommerce .sp-order-received table.woocommerce-table--order-details tr { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:18px; width:100%; }
.woocommerce .sp-order-received table.woocommerce-table--order-details td,
.woocommerce .sp-order-received table.woocommerce-table--order-details th { display:block; width:auto!important; min-width:0; padding-left:0!important; }
.woocommerce .sp-order-received table.woocommerce-table--order-details tfoot tr { grid-template-columns:minmax(100px,1fr) minmax(0,1.8fr); }
.woocommerce .sp-order-received table.woocommerce-table--order-details tfoot td:last-child { white-space:normal; overflow-wrap:anywhere; }
.woocommerce .sp-order-received table.woocommerce-table--order-details .product-name { position:relative; padding-left:84px!important; min-height:118px; }
.sp-order-received .sp-thanks-product { display:block; }
.sp-order-received .sp-thanks-product img { position:absolute; top:12px; left:0; }
.sp-order-received .sp-thanks-product > span { display:block; overflow-wrap:normal; }
.woocommerce .sp-order-received .product-name a { text-decoration:none; line-height:1.5; }
.sp-order-received .product-name .product-quantity { position:absolute; top:5px; left:54px; background:#b60000; color:white; border-radius:20px; min-width:24px; padding:3px 5px; font-size:11px; text-align:center; }
.woocommerce .sp-order-received ul.sp-order-overview .amount,
.woocommerce .sp-order-received ul.sp-order-overview .amount bdi,
.woocommerce .sp-order-received ul.sp-order-overview .amount span { display:inline; white-space:nowrap; color:inherit; margin:0; }
@media(max-width:575px){
 .woocommerce .sp-order-received table.woocommerce-table--order-details tr { column-gap:12px; }
 .woocommerce .sp-order-received table.woocommerce-table--order-details .product-name { padding-left:58px!important; min-height:90px; }
 .sp-order-received .product-name .product-quantity { left:34px; }
 .woocommerce .sp-order-received table.woocommerce-table--order-details tfoot tr { grid-template-columns:minmax(80px,1fr) minmax(0,1.6fr); }
}
.woocommerce .sp-order-received table.woocommerce-table--order-details { min-width:0!important; max-width:100%; }
.sp-order-received .woocommerce-customer-details { height:auto!important; max-height:none!important; overflow:visible!important; }
.sp-order-received .woocommerce-customer-details address { background:transparent!important; }
.sp-variation-picker [data-value].sp-unavailable,.quick-variant-picker .sp-unavailable { opacity:.3!important; cursor:not-allowed!important; text-decoration:line-through; position:relative; }
.sp-variation-picker [data-value].sp-unavailable::after,.quick-variant-picker .sp-unavailable::after { content:''; position:absolute; top:50%; left:5%; width:90%; height:1px; background:#555; transform:rotate(-35deg); pointer-events:none; }
.sp-wishlist-buy { display:block; margin-top:14px; padding:10px; border:1px solid #222; border-radius:5px; text-align:center; font-size:14px; }
.sp-wishlist-panel .sp-wishlist-buy { display:none; }
.sp-order-extras { grid-column:1; border:1px solid #e8e8e8; border-radius:10px; padding:24px; min-width:0; }
.sp-order-extras h3 { font-size:20px; margin-bottom:20px; }
.sp-order-extras p { color:#666; font-size:14px; line-height:1.6; }
.sp-order-progress { display:flex; list-style:none; gap:14px; padding:0; margin:0 0 20px; }
.sp-order-progress li { flex:1; padding-top:12px; border-top:3px solid #ddd; color:#777; font-size:13px; }
.sp-order-progress .active { border-color:#72a94c; color:#222; }
.sp-order-extras label { display:block; margin:12px 0; font-size:14px; }
.sp-order-extras select,.sp-order-extras textarea { display:block; width:100%; border:1px solid #ddd; padding:12px; margin-top:8px; border-radius:5px; }
.sp-order-extras button { padding:12px 24px; background:#111; color:white; border:0; border-radius:5px; }
.sp-cart-recommendations { width:100%; max-width:1440px; padding-bottom:50px; }
.sp-cart-recommendations h3 { font-size:24px; margin-bottom:24px; }
.sp-cart-recommendations img { width:100%; aspect-ratio:3/4; height:auto; object-fit:cover; border-radius:8px; }
.sp-cart-recommendations h4 { font-size:15px; line-height:1.5; margin:12px 0; }

/* Quick view: cancel template percentage widths inside our grid. */
#modalQuickView .modal-dialog{width:calc(100% - 40px);max-width:1100px;margin:24px auto}
#modalQuickView .modal-content{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);max-height:calc(100dvh - 48px);gap:0;padding:0}
#modalQuickView .modal-content .col-left,#modalQuickView .modal-content .col-right{width:100%;min-width:0;margin:0}
#modalQuickView .modal-content .col-left{overflow:hidden}
#modalQuickView .modal-content .col-right{padding:48px;overflow-y:auto;position:static}
#modalQuickView .tf-product-info-wrap{width:100%;max-width:none;padding:0}
#modalQuickView .product-infor-name{font-size:24px;line-height:1.3}
#modalQuickView .product-infor-price{font-size:22px;white-space:nowrap}
#modalQuickView .tf-product-info-heading{display:grid;gap:20px}
#modalQuickView .tf-product-info-list{display:grid;gap:24px;margin-bottom:24px}
#modalQuickView .tf-product-variant{display:grid;gap:24px}
#modalQuickView .swiper-quickview,#modalQuickView .swiper-slide,#modalQuickView .item{height:100%;min-height:0}
#modalQuickView .item img{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:contain;background:#f7f7f7}
#modalQuickView .tf-product-total-quantity{display:grid;gap:12px;width:100%}
#modalQuickView .group-action{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;width:100%}
#modalQuickView [data-sp-qv-cart],#modalQuickView [data-sp-qv-buy]{display:flex;justify-content:center;align-items:center;min-height:52px;width:100%;padding:12px;text-align:center}
#modalQuickView .sp-qv-quantity{position:relative;width:132px;min-width:0;height:52px;padding:0 40px}
#modalQuickView .sp-qv-quantity .btn-quantity{display:none}
#modalQuickView .sp-qv-quantity input{width:100%;height:100%}
#modalQuickView .btn-close-popup{top:18px;right:18px;background:#fff;border-radius:50%;padding:4px;z-index:5}
@media(max-width:767px){
#modalQuickView .modal-dialog{width:calc(100% - 24px);margin:12px auto}
#modalQuickView .modal-content{grid-template-columns:minmax(0,1fr);max-height:calc(100dvh - 24px);overflow-y:auto}
#modalQuickView .modal-content .col-left{height:38dvh;min-height:220px}
#modalQuickView .modal-content .col-right{padding:24px 20px;overflow:visible}
#modalQuickView .product-infor-name{font-size:21px}
#modalQuickView .group-action{grid-template-columns:110px minmax(0,1fr);gap:10px}
#modalQuickView .sp-qv-quantity{width:110px}
}

/* Comparison modal: a single responsive card grid, without inherited flex sizing. */
#modalCompare .modal-dialog{width:calc(100% - 40px);max-width:1250px;margin:24px auto}
#modalCompare .modal-content{display:flex;flex-direction:column;padding:48px 60px;max-height:calc(100dvh - 48px);overflow-y:auto;border:0;border-radius:10px}
#modalCompare .modal-title{font-size:24px;line-height:1.3;margin:0 0 40px;padding:0 24px}
#modalCompare .tf-compare-list{display:flex;flex-direction:column;gap:32px;overflow:visible;min-width:0;max-height:none}
#modalCompare .tf-compare-list>div{flex:0 0 auto!important}
#modalCompare [data-sp-compare-list]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px;margin:0;overflow:visible;width:100%}
#modalCompare .tf-compare-item{width:auto;max-width:none;min-width:0;margin:0;padding:0;display:grid;gap:12px;align-content:start}
#modalCompare .sp-tool-image>a{display:block;aspect-ratio:288/339;overflow:hidden;border-radius:10px;background:#f7f7f7}
#modalCompare .tf-compare-item img{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
#modalCompare .name-prd_compare{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5}
#modalCompare .tf-compare-item>.text-caption{white-space:nowrap}
#modalCompare .tf-compare-buttons{display:flex;justify-content:center;gap:16px;margin:0}
#modalCompare .tf-compare-buttons>.tf-btn{width:223px;min-width:0;min-height:48px;display:flex;justify-content:center;align-items:center}
#modalCompare [data-sp-compare-empty]{grid-column:1/-1;padding:40px 0;margin:0}
#modalCompare .btn-close-popup{top:20px;right:20px;z-index:6;cursor:pointer}
@media(max-width:767px){
#modalCompare .modal-dialog{width:calc(100% - 24px);margin:12px auto}
#modalCompare .modal-content{padding:40px 16px 24px;max-height:calc(100dvh - 24px)}
#modalCompare .modal-title{font-size:22px;margin-bottom:24px}
#modalCompare [data-sp-compare-list]{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
#modalCompare .tf-compare-buttons{gap:10px}
#modalCompare .tf-compare-buttons>.tf-btn{width:auto;flex:1;padding:12px 8px}
#modalCompare .btn-close-popup{top:14px;right:14px}
}

/* Existing order payment / gateway receipt page. */
body.woocommerce-order-pay .woocommerce{width:100%;max-width:1280px;margin:0 auto;padding:0 24px 48px;box-sizing:border-box}
body.woocommerce-order-pay ul.order_details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:28px;margin:24px 0 32px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;list-style:none}
body.woocommerce-order-pay ul.order_details::before,body.woocommerce-order-pay ul.order_details::after{display:none}
body.woocommerce-order-pay ul.order_details li{float:none;width:auto;margin:0;padding:0;border:0;min-width:0}
body.woocommerce-order-pay ul.order_details li strong{display:block;margin-top:8px;line-height:1.5}
body.woocommerce-order-pay .amount{white-space:nowrap}
body.woocommerce-order-pay #order_review{max-width:100%;margin:24px auto}
@media(max-width:767px){body.woocommerce-order-pay .woocommerce{padding:0 16px 32px}body.woocommerce-order-pay ul.order_details{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:20px}}

/* Empty cart is a centered page state, independent of the populated cart grid. */
.sp-empty-cart{width:100%;padding:24px 0 72px!important}
.sp-empty-cart .container{width:100%;max-width:100%;margin:0 auto}
.sp-empty-cart .sp-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:560px;margin:0 auto;text-align:center;gap:16px}
.sp-empty-cart .sp-empty-state__image{width:220px;max-width:60vw;margin:0 0 8px}
.sp-empty-cart .sp-empty-state__image img{display:block;width:100%;height:auto;margin:0 auto;object-fit:contain}
.sp-empty-cart .sp-empty-state h3{margin:0;font-size:32px;line-height:1.25}
.sp-empty-cart .sp-empty-state p{margin:0;line-height:1.6}
.sp-empty-cart .sp-empty-state>.tf-btn{display:flex;align-items:center;justify-content:center;min-height:52px;min-width:240px;max-width:100%;margin-top:8px;padding:14px 28px}
@media(max-width:767px){.sp-empty-cart{padding:12px 0 48px!important}.sp-empty-cart .sp-empty-state{padding:0 16px;box-sizing:border-box}.sp-empty-cart .sp-empty-state__image{width:180px}.sp-empty-cart .sp-empty-state h3{font-size:26px}}

/* Cart recommendations: stack image and title instead of inheriting flex links. */
.sp-cart-recommendations .sp-wishlist-grid{width:100%;min-width:0;align-items:start}
.sp-cart-recommendations .sp-wishlist-grid>article{display:flex;flex-direction:column;width:100%;min-width:0;max-width:100%;margin:0;padding:0}
.sp-cart-recommendations .sp-wishlist-grid>article>a{display:block;width:100%;min-width:0;max-width:100%}
.sp-cart-recommendations .sp-wishlist-grid>article>a>img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#f7f7f7;margin:0;float:none}
.sp-cart-recommendations .sp-wishlist-grid h4{display:block;width:100%;margin:14px 0 8px;font-size:15px;line-height:1.5;white-space:normal;overflow-wrap:break-word}
.sp-cart-recommendations .sp-wishlist-grid p{margin:0;line-height:1.5}
.sp-cart-recommendations .amount{white-space:nowrap}
@media(max-width:575px){.sp-cart-recommendations .sp-wishlist-grid h4{font-size:14px}.sp-cart-recommendations{padding-left:16px;padding-right:16px;box-sizing:border-box}}

/* Compact quick view spacing; keep actions reachable in short windows. */
#modalQuickView .tf-product-info-heading>*{margin-top:0;margin-bottom:0}
#modalQuickView .tf-product-info-heading{gap:16px}
#modalQuickView .tf-product-info-list{gap:20px}
#modalQuickView .tf-product-variant{gap:18px}
#modalQuickView .quick-variant-picker{gap:10px;margin:0}
#modalQuickView .variant-picker_label{margin:0;line-height:1.5}
#modalQuickView .variant-picker_values{gap:10px;margin:0}
#modalQuickView .tf-product-total-quantity{margin:4px 0 0}
#modalQuickView .color_btn{padding:4px;border:1px solid transparent;border-radius:50%;background:transparent;min-width:36px;min-height:36px}
#modalQuickView .color_btn.active{border-color:#111;box-shadow:none}
#modalQuickView .color_btn .check-color{display:block;width:28px;height:28px;border:1px solid #ddd;border-radius:50%;font-size:9px;overflow:hidden;line-height:26px;color:#222}
#modalQuickView .size_btn{min-width:46px;min-height:46px;padding:8px;font-size:14px}
#modalQuickView .modal-content{align-items:stretch}
@media(min-width:768px){#modalQuickView .modal-content .col-right{padding:40px 40px 28px}#modalQuickView .product-infor-name{font-size:22px}#modalQuickView .tf-product-shipping,#modalQuickView .tf-product-description{font-size:14px;line-height:1.5}}

@media(max-width:767px){
.header-inner .header-inner_wrap{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;min-height:68px;padding-top:12px;padding-bottom:12px}
.header-inner .header-left,.header-inner .header-center,.header-inner .header-right{width:auto;min-width:0;margin:0;position:static;transform:none}
.header-inner .header-logo-mobile{font-size:clamp(19px,5.3vw,26px);line-height:1;white-space:nowrap;max-width:100%}
.header-inner .nav-icon-list{gap:12px}
.header-inner .nav-icon-item{font-size:21px}
.header-inner .container-full{padding-left:16px;padding-right:16px}
.sp-cart-page .tf-page-cart-main{padding:20px 0;margin:0;display:grid;gap:20px;min-width:0}
.sp-cart-page .box-ip-discount,.sp-cart-page .discount-ip{width:100%;max-width:100%;min-width:0;margin:0}
.sp-cart-page .discount-ip{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px}
.sp-cart-page .discount-ip input,.sp-cart-page .discount-ip button,.sp-cart-page button[name="update_cart"]{width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box;margin:0;float:none;min-height:48px}
.sp-cart-page .discount-ip input{font-size:16px}
.sp-cart-page .tf-page-cart-items{margin-bottom:20px}
}

/* Omniva quantity control: three equal cells, including Safari number inputs. */
#spMiniCart .sp-mini-quantity {
 display:inline-grid;grid-template-columns:repeat(3,minmax(0,1fr));
 width:108px;min-width:108px;max-width:108px;height:36px;
 padding:0;margin:0;border:0;border-radius:4px;background:#f1f1f1;
 align-items:stretch;gap:0;box-sizing:border-box;overflow:hidden;vertical-align:middle;
}
#spMiniCart .sp-mini-quantity>button,
#spMiniCart .sp-mini-quantity>input {
 box-sizing:border-box;width:100%;min-width:0;max-width:none;height:36px;min-height:0;
 margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;
 color:#171717;font-family:inherit;font-size:14px;font-weight:500;line-height:normal;
}
#spMiniCart .sp-mini-quantity>button {display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;-webkit-appearance:none;appearance:none}
#spMiniCart .sp-mini-quantity>input {display:block;text-align:center;-webkit-appearance:none;appearance:textfield;-moz-appearance:textfield}
#spMiniCart .sp-mini-quantity>input::-webkit-inner-spin-button,
#spMiniCart .sp-mini-quantity>input::-webkit-outer-spin-button {-webkit-appearance:none;appearance:none;margin:0}
#spMiniCart .sp-mini-quantity>button:disabled {color:#999;opacity:1;cursor:default}
#spMiniCart .sp-mini-quantity>button:not(:disabled):hover {background:#e7e7e7}
#spMiniCart .sp-mini-quantity>button:focus-visible,
#spMiniCart .sp-mini-quantity>input:focus-visible {outline:2px solid #74665c;outline-offset:-2px}
@media(max-width:575px){
 #spMiniCart .sp-mini-quantity{width:120px;min-width:120px;max-width:120px;height:40px}
 #spMiniCart .sp-mini-quantity>button,#spMiniCart .sp-mini-quantity>input{height:40px}
}
