/* Shared shopping controls and read-only cart drawer. */
body .frefta-public-header .site-header-inner {grid-template-columns:auto minmax(0,1fr) auto;}
body .storefront-header-actions {display:flex;align-items:center;justify-content:flex-end;gap:8px;grid-column:3;grid-row:1;align-self:center;justify-self:end;}
body .storefront-header-actions .hide-desktop {display:none!important;}
body .storefront-header-actions .storefront-icon-action {position:relative;flex:none;}
body .storefront-header-actions :is(a.storefront-icon-action,.user-menu-btn) {display:flex;align-items:center;justify-content:center;gap:0;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e5e6df;border-radius:50%;background:#fff;color:#192f36;text-decoration:none;font-size:0;box-shadow:none;}
body .storefront-header-actions :is(a.storefront-icon-action,.user-menu-btn):hover {background:#fff0e9;border-color:#d8b6a8;color:#b63e20;}
.storefront-header-actions svg,.mobile-bottom-nav svg {width:22px;height:22px;flex:none;}
body .storefront-header-actions .storefront-icon-action > :is(i,span:not(.count)),body .storefront-header-actions .user-menu-btn > i {display:none!important;}
body .storefront-header-actions .cart-pill .count {position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:2px 5px;border:2px solid #fff;background:#b63e20;color:#fff;font-size:10px;line-height:12px;border-radius:12px;}
body .storefront-header-actions .user-menu-panel {right:0;left:auto;min-width:200px;}
body .frefta-public-header .site-header-inner:has(.storefront-header-actions):not(:has(.frefta-header-search)) {grid-template-columns:auto minmax(0,1fr) auto;}
.mobile-nav-wishlist {min-width:0;}
body .mobile-bottom-nav.frefta-mobile-tabs {gap:0;}
body .mobile-bottom-nav.frefta-mobile-tabs .mobile-nav-item {min-width:0;flex:1;padding-left:2px;padding-right:2px;}
body .mobile-bottom-nav.frefta-mobile-tabs .mobile-nav-item > span:not(.cart-icon-wrap) {font-size:10px;}
.storefront-cart-drawer {position:fixed;inset:0 0 0 auto;margin:0;width:min(460px,100%);max-width:100%;height:100%;height:100dvh;max-height:100dvh;padding:0;border:0;background:#faf8f5;color:#192f36;box-shadow:-16px 0 60px #192f3626;font-family:'DM Sans',sans-serif;overflow:hidden;}
.storefront-cart-drawer[open] {display:flex;flex-direction:column;animation:storefront-cart-enter .24s ease-out;}
.storefront-cart-drawer::backdrop {background:#142a3273;backdrop-filter:blur(3px);}
.storefront-cart-drawer * {box-sizing:border-box;}
.cart-drawer-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px;border-bottom:1px solid #e5e6df;background:#fff;flex:none;}
.cart-drawer-eyebrow {margin:0 0 6px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#58686b;}
.cart-drawer-heading h2 {margin:0;font-family:Outfit,sans-serif;font-size:25px;letter-spacing:-.03em;font-weight:600;}
.cart-drawer-heading h2 span {font:500 15px 'DM Sans',sans-serif;color:#58686b;}
.cart-drawer-heading button {width:44px;height:44px;flex:none;border:1px solid #e5e6df;border-radius:50%;background:white;font-size:28px;color:#192f36;cursor:pointer;}
.cart-drawer-content {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px;}
.cart-drawer-items {list-style:none;margin:0;padding:0;}
.cart-drawer-items li {display:flex;align-items:flex-start;gap:16px;padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid #e5e6df;}
.cart-drawer-image {width:80px;flex:0 0 80px;border-radius:12px;background:#fff;overflow:hidden;}
.cart-drawer-image img {display:block;width:80px;height:96px;object-fit:contain;}
.cart-drawer-item-details {min-width:0;flex:1;}
.cart-drawer-item-name {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#192f36;font-size:15px;line-height:1.5;font-weight:600;text-decoration:none;overflow-wrap:anywhere;}
.cart-drawer-options,.cart-drawer-quantity {margin:7px 0;color:#58686b;font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
.cart-drawer-line-total {font-size:15px;}
.cart-drawer-footer {flex:none;padding:22px 24px max(24px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e6df;}
.cart-drawer-footer[hidden] {display:none;}
.cart-drawer-subtotal {display:flex;justify-content:space-between;gap:12px;font-size:18px;}
.cart-drawer-footer p {font-size:12px;line-height:1.6;color:#58686b;margin:10px 0 18px;}
.cart-drawer-view {display:flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 20px;border-radius:10px;background:#b63e20;color:#fff!important;text-decoration:none;font-weight:600;font-size:14px;}
.cart-drawer-view:hover {background:#95321b;}
.cart-drawer-empty {min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;}
.cart-drawer-empty img {max-width:100%;}
.cart-drawer-empty :is(h3,p) {margin:0;}
.cart-drawer-empty p,.cart-drawer-status {color:#58686b;line-height:1.6;}
.cart-drawer-retry {display:block;min-height:44px;border:1px solid #192f36;background:#fff;border-radius:8px;padding:10px 20px;margin:16px 0;cursor:pointer;}
.cart-drawer-skeleton {height:116px;background:linear-gradient(100deg,#e9e9e3 20%,#f6f6f1 45%,#e9e9e3 70%);background-size:240% 100%;border-radius:12px;margin-bottom:20px;animation:storefront-cart-loading 1.2s infinite;}
:is(.storefront-header-actions,.storefront-cart-drawer) :is(a,button):focus-visible {outline:3px solid #1d677e;outline-offset:3px;}
@keyframes storefront-cart-enter {from {transform:translateX(100%);}to {transform:translateX(0);}}
@keyframes storefront-cart-loading {to {background-position:-160% 0;}}
@media(max-width:1100px) and (min-width:901px) {body .frefta-public-header .site-header-inner {grid-template-columns:auto minmax(0,1fr) auto;gap:16px;}}
@media(max-width:900px) {body .frefta-public-header .site-header-inner,body .frefta-public-header .site-header-inner:not(:has(.frefta-header-search)) {grid-template-columns:minmax(0,1fr) auto;}body .storefront-header-actions {display:none;}body .frefta-public-header .site-menu-toggle {grid-column:2;} .cart-drawer-heading,.cart-drawer-content,.cart-drawer-footer {padding-left:20px;padding-right:20px;}}
@media(prefers-reduced-motion:reduce) {.storefront-cart-drawer[open],.cart-drawer-skeleton {animation:none;}}
/* Override the legacy white cart text on the new white icon button. */
body .frefta-public-header .storefront-header-actions .cart-pill {color:#192f36!important;}
body .frefta-public-header .storefront-header-actions .cart-pill:hover {color:#b63e20!important;}
