*,::after,::before{box-sizing:border-box;margin:0;padding:0}:root{--tc-b:#111;--tc-w:#fff;--tc-g1:#f7f7f7;--tc-g2:#ececec;--tc-g3:#dcdcdc;--tc-g4:#9a9a9a;--tc-g5:#777;--tc-g7:#444;--tc-r:#DC2626;--tc-rl:#e63946;--tc-bh:36px;--tc-hh:58px;--tc-sw:240px;--tc-cw:380px;--tc-f:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--tc-rs:8px;--tc-rsm:4px}
/* FIX: Overlay transition only opacity (GPU composited) */
.overlay{transition:opacity .25s ease}
.overlay.open{opacity:1}
/* FIX: Nav drawer transition only transform (GPU composited) */
.nav-drawer{transition:transform .28s cubic-bezier(.4,0,.2,1)}
.nav-drawer.open{transform:translateX(0);visibility:visible;pointer-events:auto}
/* FIX: Cart sidebar transition only transform (GPU composited) */
.cart-sidebar{box-shadow:-4px 0 24px rgb(0 0 0/.08);transition:transform .3s cubic-bezier(.4,0,.2,1)}
.cart-sidebar.open{transform:translateX(0);visibility:visible;pointer-events:auto}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--tc-g2)}
.drawer-close,.cart-close{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:4px;color:var(--tc-g5);font-size:20px;line-height:1}
.drawer-close:hover,.cart-close:hover{background:var(--tc-g1)}
.drawer-nav a,.acc-toggle,.desk-acc-toggle,.desk-nav-item,.desk-bottom a,.desk-signin,.drawer-signin,.drawer-bottom a{font-family:var(--tc-f);font-weight:500;letter-spacing:0}
.drawer-nav a{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--tc-g2);font-size:14px;color:var(--tc-b)}
.drawer-nav a:hover{background:var(--tc-g1)}
.acc-toggle{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--tc-g2);font-size:14px;color:var(--tc-b);cursor:pointer}
.acc-toggle:hover{background:var(--tc-g1)}
.acc-toggle.expanded{font-weight:600}
.acc-chev{width:16px;height:16px;flex-shrink:0;transition:transform .2s ease}
.acc-chev.open{transform:rotate(180deg)}
.acc-body{display:none;background:var(--tc-g1)}.acc-body.open{display:block}
.acc-body a{display:block;padding:10px 18px 10px 34px;border-bottom:1px solid var(--tc-g2);color:var(--tc-g7);font-size:13px;font-weight:500}
.acc-body a:hover{background:var(--tc-g2)}
.desk-acc-toggle.expanded{font-weight:600}
.desk-acc-body a{display:flex;align-items:center;min-height:48px;padding:10px 18px 10px 34px;border-bottom:1px solid var(--tc-g2);color:var(--tc-g7);font-size:13px;font-weight:500}
.desk-acc-body a:hover{background:var(--tc-g2)}
.drawer-bottom{padding:6px 0}.drawer-bottom a{display:block;padding:13px 18px;border-bottom:1px solid var(--tc-g2);font-size:14px}
.drawer-bottom a:hover{background:var(--tc-g1)}
.drawer-signin{margin:14px 18px 10px}.desk-signin{margin:14px 22px 0}
.desk-signin:hover,.drawer-signin:hover{background:var(--tc-b);color:var(--tc-w)}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--tc-g2);flex-shrink:0}
.cart-head-title{font-size:16px;font-weight:600}.cart-body{flex:1;overflow-y:auto;padding:16px 20px}
.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--tc-g5)}
.cart-empty svg{width:58px;height:58px;opacity:.35}.cart-empty p{font-size:14px;font-weight:500}
.cart-foot{padding:16px 20px;border-top:1px solid var(--tc-g2);background:var(--tc-w);flex-shrink:0}
.cart-summary-row,.cart-total-row{display:flex;align-items:center;justify-content:space-between}
.cart-summary-row{margin-bottom:8px;color:var(--tc-g7);font-size:13px;font-weight:500}
.cart-total-row{margin-bottom:16px;font-size:15px;font-weight:700}
.cart-checkout-btn{display:block;width:100%;padding:13px;border-radius:4px;background:var(--tc-b);color:var(--tc-w);text-align:center;font-size:14px;font-weight:600}
.cart-checkout-btn:hover{opacity:.9}
/* FIX: Cart item styles */
.product.product-cart{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--tc-g2)}
.product.product-cart .product-detail{flex:1;min-width:0}.product.product-cart .product-name{display:block;margin-bottom:6px;font-size:13px;font-weight:500;line-height:1.45}
.product.product-cart .price-box{display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:600}
.product.product-cart .product-media{width:72px;height:90px;overflow:hidden;flex-shrink:0;border-radius:4px;background:var(--tc-g1);order:-1}
.product.product-cart .product-media img{width:100%;height:100%;object-fit:cover}
.product.product-cart .remove{display:flex;align-items:flex-start;padding-top:2px;color:var(--tc-g4)}
.product.product-cart .remove:hover{color:var(--tc-rl)}
.btn-close.btn-link{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0}
/* FIX: Qty buttons — NO 'all' transition, only transform for hover feedback */
.qty-btn{width:32px;height:32px;border:1.5px solid #ddd;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;color:#444;font-family:inherit}
.qty-btn:hover{border-color:#111;background:#f7f7f7}
.qty-btn:disabled{opacity:.4;cursor:not-allowed}
.qty-input{width:50px;text-align:center;font-size:14px;font-weight:600;color:#111;border:1.5px solid #ddd;border-radius:6px;padding:6px 4px;font-family:inherit}
.qty-input:focus{outline:none;border-color:#E21216}
/* FIX: Remove button — NO 'all' transition */
.remove-btn{width:32px;height:32px;border:1.5px solid #ddd;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#999;margin-left:8px}
.remove-btn:hover{border-color:#DC2626;background:#FEF2F2;color:#DC2626}
.remove-btn svg{width:16px;height:16px}
.item-price-group{text-align:right}.item-subtotal-label{font-size:12px;color:#999;margin-bottom:2px}.item-subtotal{font-size:16px;font-weight:600;color:#111}
/* FIX: Cart page */
.cart-container{max-width:1080px;margin:0 auto;padding:40px 20px 80px}.cart-page-title{font-size:24px;font-weight:600;margin-bottom:24px;color:#111}
.cart-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:start}
.card{background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:24px;margin-bottom:16px}
.card-title{font-size:18px;font-weight:600;margin-bottom:20px;color:#111;display:flex;align-items:baseline;gap:6px}
.card-count{font-size:14px;font-weight:500;color:#666}
.cart-item-wrap{border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:20px}
.cart-item-wrap:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}
.cart-item{display:flex;gap:14px;margin-bottom:12px}
.item-img{width:90px;height:120px;border-radius:8px;overflow:hidden;background:#f7f7f7;flex-shrink:0}
.item-img img{width:100%;height:100%;object-fit:contain;padding:8px}
.item-details{flex:1;min-width:0}.item-name{font-size:15px;font-weight:500;color:#111;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item-name a{color:#111}.item-name a:hover{color:#E21216}
.item-price-main{font-size:16px;font-weight:600;color:#DC2626;margin-bottom:8px}
.item-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.qty-controls{display:flex;align-items:center;gap:8px}
.empty-cart{text-align:center;padding:60px 20px}.empty-cart svg{width:80px;height:80px;color:#ddd; margin: 0 auto 16px}.empty-cart-text{font-size:16px;color:#666;margin-bottom:20px}
.summary-card{position:sticky;top:92px}.ship-date-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:#F9FAFB;border:1px solid #E5E7EB;border-radius:8px;font-size:12px;color:#374151;margin-bottom:16px}
.ship-date-badge svg{width:16px;height:16px;flex-shrink:0}
.summary-rows{padding:16px 0 0}.summary-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:12px}.summary-row:last-child{margin-bottom:0}
.summary-label{color:#666}.summary-value{color:#111;font-weight:500}.summary-value.red{color:#DC2626}
.summary-total{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid #eee;font-size:16px;font-weight:600}.summary-total .summary-value{font-size:18px}
.btn{width:100%;padding:14px;background:#111;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;margin-top:16px;text-decoration:none;display:block;text-align:center;font-family:inherit}
.btn:hover{background:#000}.btn:disabled{background:#ccc;cursor:not-allowed}
.btn-outline{background:#fff;color:#111;border:1.5px solid #ddd}.btn-outline:hover{background:#f7f7f7;border-color:#111}
.btn-group{display:flex;gap:12px;margin-top:16px}.btn-group .btn{margin-top:0}
/* FIX: Toast — minimal, no animations except opacity */
.toast{min-width:320px;max-width:400px;background:rgb(17 17 17/.96);backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);border-radius:14px;padding:16px 18px;display:flex;align-items:flex-start;gap:14px;box-shadow:0 8px 32px rgb(0 0 0/.5),0 2px 8px rgb(0 0 0/.4);border:1px solid rgb(255 255 255/.08);position:relative;overflow:hidden;opacity:0;transform:translateX(120px) scale(.9);transition:opacity .4s ease,transform .4s cubic-bezier(.34,1.56,.64,1);pointer-events:auto;color:#fff}
.toast.show{opacity:1;transform:translateX(0) scale(1)}
.toast::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#16A34A 0%,#22C55E 100%)}
.toast.error::before{background:linear-gradient(180deg,#DC2626 0%,#EF4444 100%)}
.toast.info::before{background:linear-gradient(180deg,#2563EB 0%,#3B82F6 100%)}
.toast.warning::before{background:linear-gradient(180deg,#F59E0B 0%,#FBBF24 100%)}
.toast-icon{width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:7px;padding:4px}
.toast-success .toast-icon{background:linear-gradient(135deg,#DCFCE7 0%,#BBF7D0 100%);color:#16A34A}
.toast-error .toast-icon{background:linear-gradient(135deg,#FEE2E2 0%,#FECACA 100%);color:#DC2626}
.toast-info .toast-icon{background:linear-gradient(135deg,#DBEAFE 0%,#BFDBFE 100%);color:#2563EB}
.toast-warning .toast-icon{background:linear-gradient(135deg,#FEF3C7 0%,#FDE68A 100%);color:#F59E0B}
.toast-icon svg{width:16px;height:16px}.toast-content{flex:1;min-width:0;padding-right:4px}
.toast-title{font-size:14.5px;font-weight:700;color:#fff;margin-bottom:3px;letter-spacing:-.01em}
.toast-message{font-size:13.5px;color:#e5e5e5;line-height:1.5;font-weight:400}
.toast-close{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#bbb;cursor:pointer;border-radius:6px;flex-shrink:0;margin:-2px -2px 0 0}
.toast-close:hover{background:rgb(0 0 0/.06);color:#111}
.toast-close svg{width:15px;height:15px}
.toast-progress{position:absolute;bottom:0;left:4px;right:0;height:3px;background:linear-gradient(90deg,rgb(22 163 74/.3) 0%,rgb(22 163 74/.8) 100%);border-radius:0 0 14px 0;animation:toast-progress 3s linear forwards;transform-origin:left}
.toast.error .toast-progress{background:linear-gradient(90deg,rgb(220 38 38/.3) 0%,rgb(220 38 38/.8) 100%)}
.toast.info .toast-progress{background:linear-gradient(90deg,rgb(37 99 235/.3) 0%,rgb(37 99 235/.8) 100%)}
.toast.warning .toast-progress{background:linear-gradient(90deg,rgb(245 158 11/.3) 0%,rgb(245 158 11/.8) 100%)}
@keyframes toast-progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:640px){.toast-container{right:16px;left:16px;top:calc(var(--tc-bh) + var(--tc-hh) + 16px)}.toast{min-width:auto;max-width:none;padding:15px 16px}}
.btn-loading{position:relative;color:transparent!important;pointer-events:none;background:linear-gradient(135deg,#111 0%,#333 100%)!important}
.btn-loading::after{content:'';position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2.5px solid rgb(255 255 255/.25);border-top-color:#fff;border-radius:50%;animation:btn-spin .7s cubic-bezier(.68,-.55,.265,1.55) infinite}
@keyframes btn-spin{to{transform:rotate(360deg)}}
.cart-badge{box-shadow:0 2px 8px rgb(230 57 70/.4),0 0 0 2px #fff}
.cart-badge.pulse{animation:badge-pulse .5s cubic-bezier(.34,1.56,.64,1)}
@keyframes badge-pulse{0%{transform:scale(1)}40%{transform:scale(1.25)}100%{transform:scale(1)}}
.acc-toggle:focus-visible,.desk-acc-toggle:focus-visible,.thumb:focus-visible,.dot:focus-visible,.cat-tab:focus-visible,.size-btn:focus-visible,.info-tab-header:focus-visible{outline:2px solid #111;outline-offset:2px}
.page-title-bar{background:#fefefe;border-bottom:1px solid #e5e5e5;margin:0;padding:5px 5px;text-align:center;position:relative}
.page-title-bar::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:40px;height:2px;background:#111;border-radius:2px}
.page-title-bar h1{font-size:13px;font-weight:600;color:#1a1a1a;line-height:1.4;margin:0;letter-spacing:-.02em;display:inline-block;padding:0 4px}
.pd-breadcrumb{padding:6px 22px;margin-bottom:10px;max-width:1080px;margin-left:auto;margin-right:auto}
.pd-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.pd-breadcrumb li{list-style:none;font-size:13px;color:var(--tc-g5);display:flex;align-items:center}
.pd-breadcrumb li:not(:last-child)::after{content:'/';margin-left:8px;color:var(--tc-g4)}
.pd-breadcrumb li a{color:var(--tc-g7);transition:color .2s ease}.pd-breadcrumb li a:hover{color:var(--tc-b)}
.pd-breadcrumb li.pd-bc-active{color:var(--tc-b);font-weight:500}
.cart-icon-title{font-size:11px;text-transform:capitalize}
.tc-toast-container{position:fixed;top:80px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none}
.tc-toast{min-width:320px;max-width:420px;background:#fff;border-radius:12px;padding:16px 20px;box-shadow:0 10px 40px rgb(0 0 0/.12),0 2px 8px rgb(0 0 0/.08);border-left:4px solid;display:flex;align-items:flex-start;gap:14px;opacity:0;transform:translateX(100px);animation:tcSlideIn .4s cubic-bezier(.16,1,.3,1) forwards;pointer-events:auto;font-family:var(--tc-f)}
@keyframes tcSlideIn{to{opacity:1;transform:translateX(0)}}.tc-toast.tc-hide{animation:tcSlideOut .3s cubic-bezier(.4,0,1,1) forwards}
@keyframes tcSlideOut{to{opacity:0;transform:translateX(100px)}}
.tc-toast-success{border-left-color:#16A34A}.tc-toast-success .tc-toast-icon{background:#ECFDF5;color:#16A34A}.tc-toast-error{border-left-color:#DC2626}.tc-toast-error .tc-toast-icon{background:#FEF2F2;color:#DC2626}
.tc-toast-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.tc-toast-icon svg{width:22px;height:22px}.tc-toast-content{flex:1;min-width:0}.tc-toast-title{font-size:15px;font-weight:700;color:#111;margin:0 0 4px 0;line-height:1.4}.tc-toast-message{font-size:14px;color:#6B7280;line-height:1.5;margin:0}
.tc-toast-close{width:24px;height:24px;border:none;background:transparent;color:#9CA3AF;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0}.tc-toast-close:hover{background:#F3F4F6;color:#111}.tc-toast-close svg{width:16px;height:16px}
.tc-toast-progress{position:absolute;bottom:0;left:0;height:3px;background:currentColor;opacity:.3;border-radius:0 0 0 12px;animation:tcProgress 4s linear forwards}
@keyframes tcProgress{from{width:100%}to{width:0%}}.tc-toast-success .tc-toast-progress{color:#16A34A}.tc-toast-error .tc-toast-progress{color:#DC2626}
@media(max-width:640px){.tc-toast-container{top:70px;right:12px;left:12px}.tc-toast{min-width:auto;max-width:none}}
@media(max-width:1024px){.cart-grid{gap:16px}.card{padding:20px}}@media(max-width:960px){.cart-grid{grid-template-columns:1fr 1fr;gap:16px}.summary-card{position:static}.item-img{width:80px;height:100px}}@media(max-width:768px){.cart-grid{grid-template-columns:1fr}.cart-container{padding:20px 16px 40px}.cart-page-title{font-size:20px;margin-bottom:16px}.card{padding:20px 16px}.summary-card{order:-1}}@media(max-width:640px){.cart-container{padding:16px 12px 40px}.card{padding:16px 12px}.card-title{font-size:16px;margin-bottom:16px}.cart-item{gap:12px;flex-wrap:wrap}.item-img{width:70px;height:90px}.item-details{flex:1 1 60%}.item-name{font-size:14px}.item-actions{width:100%;margin-top:8px}.qty-btn,.remove-btn{width:28px;height:28px}.qty-input{width:45px;padding:5px 2px}.item-subtotal{font-size:15px}.btn-group{flex-direction:column}.btn{padding:12px;font-size:14px}.ship-date-badge{font-size:11px;padding:6px 10px}}@media(max-width:400px){.item-details{flex:1 1 100%}.item-actions{flex-direction:column;align-items:stretch;gap:10px}.item-price-group{text-align:left}}