/* Cart components are isolated from the legacy .quantity/.price/.total_price styles. */
body.page-template-page-cart{background:#f9f9f9;color:#191b1f}
.gr-cart{--blue:#087dff;--ink:#191b1f;--muted:#77808e;--line:#e4e7ec;--yellow:#ffe45c;padding:10px 0 64px;font-family:Manrope,Arial,sans-serif}
.gr-cart *{box-sizing:border-box}
.gr-cart a{text-decoration:none;color:inherit}
.gr-cart [hidden]{display:none!important}
.gr-cart__container{max-width:1240px;margin:0 auto;padding:0 20px}
.gr-cart__breadcrumbs{margin-bottom:28px;font-size:13px;color:var(--muted)}
.gr-cart__header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}
.gr-cart__eyebrow{margin:0 0 7px;color:var(--blue);font-size:11px;font-weight:600;letter-spacing:.02em}
.gr-cart__header h1{margin:0;font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-.025em}
.gr-cart__header-count{margin:0 0 3px;color:var(--muted);font-size:14px}
.gr-cart .gr-cart__layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;margin:0;padding:0;max-width:none}
.gr-cart__main{min-width:0}
.gr-cart__products{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px}
.gr-cart__bulk{display:flex;align-items:center;gap:24px;min-height:58px;padding:16px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.gr-cart__check-all,.gr-cart__item-check{position:relative;display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#626c7b;cursor:pointer}
.gr-cart__check-all input,.gr-cart__item-check input{position:absolute!important;opacity:0!important;width:18px!important;height:18px!important;margin:0;cursor:pointer}
.gr-cart__check-all>span,.gr-cart__item-check>span{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border:1px solid #b8c0cc;border-radius:5px;background:#fff}
.gr-cart__check-all>span:after,.gr-cart__item-check>span:after{content:"";width:8px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px);opacity:0}
.gr-cart__check-all input:checked+span,.gr-cart__item-check input:checked+span{background:var(--blue);border-color:var(--blue)}
.gr-cart__check-all input:checked+span:after,.gr-cart__item-check input:checked+span:after{opacity:1}
.gr-cart__check-all input:indeterminate+span{background:var(--blue);border-color:var(--blue)}
.gr-cart__check-all input:indeterminate+span:after{width:8px;height:0;border:0;border-top:2px solid #fff;transform:none;opacity:1}
.gr-cart :is(.gr-cart__bulk-remove,.gr-cart__remove){position:static;display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:0;min-height:32px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#7b8491;font:400 13px/1.4 Manrope,sans-serif;cursor:pointer;transition:color .2s}
.gr-cart :is(.gr-cart__bulk-remove,.gr-cart__remove):before,.gr-cart :is(.gr-cart__bulk-remove,.gr-cart__remove):after{display:none;content:none}
.gr-cart :is(.gr-cart__bulk-remove,.gr-cart__remove):hover{color:#c84343;background:transparent}
.gr-cart .gr-cart__bulk-remove:disabled{color:#a4aab3;opacity:1;cursor:default;background:transparent}
.gr-cart__status{flex:1 0 100%;margin:0;font-size:12px;color:#ad2f2f}
.gr-cart__status:empty{display:none}
.gr-cart__form{margin:0}
.gr-cart .gr-cart__item{display:grid;grid-template-columns:18px 120px minmax(0,1fr) 150px;gap:24px;align-items:center;min-height:208px;padding:28px 24px;margin:0;border:0;border-bottom:1px solid var(--line);background:#fff}
.gr-cart .gr-cart__item:last-child{border-bottom:0}
.gr-cart__thumb{display:flex;width:120px;height:148px;padding:6px;align-items:center;justify-content:center;background:#fff}
.gr-cart__thumb img{display:block;width:100%!important;height:100%!important;object-fit:contain}
.gr-cart__item-info{min-width:0;align-self:start;padding-top:10px;padding-right:8px}
.gr-cart__category{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.5}
.gr-cart .gr-cart__item h2{margin:0;max-width:none;font-size:16px!important;line-height:1.5!important;font-weight:500!important;overflow-wrap:anywhere}
.gr-cart__item h2 a:hover{color:var(--blue)}
.gr-cart__sku{margin:12px 0 0;color:#89919d;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.gr-cart__item-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:12px;align-self:start;padding-top:10px;min-width:0}
.gr-cart__item-price{display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap;line-height:1.4}
.gr-cart .gr-cart__item-total,.gr-cart .gr-cart__item-total :is(span,bdi){color:var(--ink);font-size:18px;font-weight:600;line-height:1.4}
.gr-cart__old-price{color:#89919d;font-size:12px;line-height:1.4}
.gr-cart .gr-cart__quantity{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:120px;height:40px;margin:0;padding:0;border:1px solid #dce1e9;border-radius:24px;background:#fff;overflow:hidden}
.gr-cart .gr-cart__quantity button{position:static!important;inset:auto!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#303640!important;transform:none!important;cursor:pointer}
.gr-cart .gr-cart__quantity button:before,.gr-cart .gr-cart__quantity button:after{display:none!important;content:none!important}
.gr-cart .gr-cart__quantity button svg{display:block;width:14px;height:14px;flex:none}
.gr-cart .gr-cart__quantity button:hover{color:var(--blue)!important;background:#f5f8fc!important}
.gr-cart .gr-cart__quantity input{flex:0 0 42px;width:42px!important;min-width:0!important;max-width:42px;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--ink);text-align:center;font:500 14px/1 Manrope,sans-serif;appearance:textfield;-moz-appearance:textfield}
.gr-cart__quantity input::-webkit-inner-spin-button,.gr-cart__quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.gr-cart .gr-cart__remove{min-height:24px;color:#d63838}
.gr-cart .gr-cart__remove:hover{color:#b52525}
.gr-cart__item[aria-busy=true]{opacity:.62}
.gr-cart[aria-busy=true] :is(.gr-cart__qty,.gr-cart__quantity button,.gr-cart__remove,.gr-cart__bulk-remove){pointer-events:none}
.gr-cart__back{display:inline-flex;align-items:center;gap:7px;margin:20px 0 0 3px;font-size:13px;font-weight:500;color:#626c7b}
.gr-cart__back:hover{color:var(--blue)}
.gr-cart__back svg{width:14px;height:14px}
.gr-cart .gr-cart__summary{position:sticky;top:145px;padding:28px;background:#fff;border:0;border-radius:18px;box-shadow:none}
.gr-cart .gr-cart__summary h2{margin:0 0 26px;font-size:22px!important;line-height:1.3!important;font-weight:600!important}
.gr-cart .gr-cart__summary-row{display:flex;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0;border:0;background:none;box-shadow:none;color:#77808e;font-size:13px;line-height:1.5}
.gr-cart__summary-row strong{color:#303640;font-weight:500;white-space:nowrap}
.gr-cart .gr-cart__discount-row strong{color:#158155}
.gr-cart .gr-cart__summary-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 22px;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.gr-cart .gr-cart__summary-total:before,.gr-cart .gr-cart__summary-total:after{display:none;content:none}
.gr-cart__summary-total p{margin:0;font-size:16px;font-weight:600}
.gr-cart .gr-cart__summary-total :is(span,bdi){font-size:24px;line-height:1.3;font-weight:600;color:var(--ink);white-space:nowrap;border:0;background:none;box-shadow:none}
.gr-cart__checkout,.gr-cart__primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 22px;border:0;border-radius:26px;background:var(--yellow);color:#17191d!important;font-size:14px;font-weight:600;transition:background .18s}
.gr-cart__checkout:hover,.gr-cart__primary:hover{background:#ffda35}
.gr-cart__checkout svg,.gr-cart__primary svg{width:14px;height:14px}
.gr-cart__summary-note{margin:16px 0 0;color:#89919d;font-size:11.5px;line-height:1.6;text-align:center}
.gr-cart .gr-cart__empty{display:grid;grid-template-columns:150px minmax(0,570px);align-items:center;justify-content:center;gap:42px;min-height:330px;padding:54px;margin:0;background:#fff;border:1px solid var(--line);border-radius:18px}
.gr-cart__empty-icon{display:grid;place-items:center;width:138px;height:138px;border-radius:50%;background:#eef5ff;color:var(--blue)}
.gr-cart__empty-icon svg{width:70px;height:70px}
.gr-cart__empty h2{margin:0 0 12px;font-size:28px;line-height:1.3;font-weight:600}
.gr-cart__empty p{max-width:540px;margin:0 0 24px;color:#66707e;font-size:15px;line-height:1.65}
.gr-cart__primary{width:max-content;min-width:190px}
.gr-cart .gr-cart__recommend{margin:56px 0 0;padding:0;background:none}
.gr-cart__section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.gr-cart__section-head h2{margin:0;font-size:26px;line-height:1.3;font-weight:600}
.gr-cart__section-head>a{margin-bottom:2px;color:var(--blue);font-size:13px;font-weight:500;white-space:nowrap}
.gr-cart__recommend-grid{list-style:none;margin:0;padding:0 0 4px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;overflow:visible}
.gr-cart .gr-eq__p{min-width:0;margin:0!important;padding:0!important}
.gr-cart .gr-eq__p>a{position:relative;display:flex;flex-direction:column;height:100%;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px;transition:border-color .2s,box-shadow .2s}
.gr-cart .gr-eq__p>a:hover{border-color:#cfdcf2;box-shadow:0 10px 28px -18px rgba(16,34,55,.35)}
.gr-cart .gr-eq__img{display:block;aspect-ratio:1/1;margin-bottom:12px}
.gr-cart .gr-eq__img img{width:100%;height:100%;object-fit:contain;transition:transform .5s}
.gr-cart .gr-eq__p>a:hover .gr-eq__img img{transform:scale(1.04)}
.gr-cart .gr-eq__stock{position:absolute;left:14px;top:14px;font-size:11.5px;font-weight:600;color:var(--blue);background:#eef3fb;border-radius:999px;padding:3px 9px}
.gr-cart .gr-eq__stock--unavailable{color:#727b88;background:#edf0f4}
.gr-cart .gr-eq__pc{font-size:12px;color:#7b8491}
.gr-cart .gr-eq__pn{display:-webkit-box;overflow:hidden;margin-top:4px;font-size:14px;font-weight:600;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gr-cart .gr-eq__p>a:hover .gr-eq__pn{color:var(--blue)}
.gr-cart .gr-eq__pf{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px}
.gr-cart .gr-eq__pf b{font-size:16px;font-weight:700}
.gr-cart .gr-cs__go{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line);border-radius:50%;color:#20252c}
.gr-cart .gr-cs__go svg{width:13px;height:13px}
.gr-cart .gr-eq__p>a:hover .gr-cs__go{background:var(--blue);border-color:var(--blue);color:#fff}
.gr-cart :is(a,button,input):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.gr-cart :is(.gr-cart__check-all,.gr-cart__item-check) input:focus-visible+span{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:1100px){
 .gr-cart .gr-cart__layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px}
 .gr-cart .gr-cart__item{grid-template-columns:18px 94px minmax(0,1fr) 138px;gap:18px;padding:24px 20px}
 .gr-cart__thumb{width:94px;height:130px}
 .gr-cart .gr-cart__summary{padding:24px}
}
@media(max-width:1000px){
 .gr-cart .gr-cart__layout{grid-template-columns:minmax(0,1fr)}
 .gr-cart .gr-cart__summary{position:static}
 .gr-cart .gr-cart__item{grid-template-columns:18px 120px minmax(0,1fr) 150px;gap:24px}
 .gr-cart__thumb{width:120px;height:148px}
}
@media(max-width:767px){
 .gr-cart{padding-top:4px;padding-bottom:48px}
 .gr-cart__container{padding:0 16px}
 .gr-cart__breadcrumbs{margin-bottom:20px}
 .gr-cart__header{margin-bottom:20px}
 .gr-cart__header h1{font-size:29px}
 .gr-cart .gr-cart__item{grid-template-columns:18px 80px minmax(0,1fr);gap:16px;padding:20px 16px;min-height:0}
 .gr-cart__item-check{align-self:start;margin-top:4px}
 .gr-cart__thumb{width:80px;height:108px;padding:0;align-self:start}
 .gr-cart__item-info{padding:0}
 .gr-cart .gr-cart__item h2{font-size:14px!important;line-height:1.5!important}
 .gr-cart__category{font-size:11px;margin-bottom:6px}
 .gr-cart__sku{font-size:11px;margin-top:8px}
 .gr-cart__item-actions{grid-column:2/4;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:0}
 .gr-cart__item-price{align-items:flex-start;grid-column:1;grid-row:1}
 .gr-cart .gr-cart__item-total,.gr-cart .gr-cart__item-total :is(span,bdi){font-size:16px}
 .gr-cart__quantity{grid-column:2;grid-row:1}
 .gr-cart .gr-cart__remove{grid-column:2;grid-row:2;justify-self:end}
 .gr-cart__bulk{padding:12px 16px;gap:18px;min-height:52px}
 .gr-cart .gr-cart__summary{padding:24px}
 .gr-cart .gr-cart__summary-total{margin-top:24px}
 .gr-cart .gr-cart__recommend{margin-top:40px}
 .gr-cart__section-head h2{font-size:22px}
 .gr-cart__section-head>a{display:none}
 .gr-cart__recommend-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-16px;padding-right:16px}
 .gr-cart__recommend-grid::-webkit-scrollbar{display:none}
 .gr-cart .gr-eq__p{flex:0 0 222px;scroll-snap-align:start}
 .gr-cart .gr-cart__empty{grid-template-columns:1fr;gap:22px;min-height:0;padding:32px 22px;text-align:center}
 .gr-cart__empty-icon{width:100px;height:100px;margin:auto}
 .gr-cart__empty-icon svg{width:52px;height:52px}
 .gr-cart__empty h2{font-size:23px}
 .gr-cart__empty p{font-size:14px}
 .gr-cart__primary{width:100%}
}
@media(max-width:374px){
 .gr-cart .gr-cart__item{grid-template-columns:18px 64px minmax(0,1fr);gap:12px;padding:18px 12px}
 .gr-cart__thumb{width:64px;height:90px}
 .gr-cart__bulk{gap:12px;padding:12px}
 .gr-cart .gr-cart__bulk-remove,.gr-cart__check-all{font-size:12px}
 .gr-cart__item-actions{grid-template-columns:minmax(0,1fr) 120px;column-gap:8px}
 .gr-cart .gr-cart__item-total,.gr-cart .gr-cart__item-total :is(span,bdi){font-size:14px}
}
