/* The photo spans both text rows. Otherwise auto-placement puts the name under the photo. */
.iac-side-cart .iac-side-cart-recent__item {
    grid-template-areas: "photo sku" "photo title";
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    align-content: center;
}
.iac-side-cart .iac-side-cart-recent__item > :is(img, picture) {grid-area:photo; align-self:center}
.iac-side-cart .iac-side-cart-recent__item > span {grid-area:sku; align-self:end}
.iac-side-cart .iac-side-cart-recent__item > strong {grid-area:title; align-self:start; min-width:0; margin:0; overflow-wrap:anywhere}
.iac-side-cart .iac-side-cart-recent__item:not(:has(img, picture, template[data-iac-cart-photo])) {grid-template-columns:0 minmax(0,1fr); column-gap:0}
.iac-side-cart .iac-side-cart__body {flex:1 1 0%; min-height:0}
.iac-side-cart .iac-side-cart__body:has(> .iac-side-cart-recent:not([hidden])) > .widget_shopping_cart_content:has(.woocommerce-mini-cart__empty-message) {min-height:0!important; height:auto}
.iac-drawer-stores {flex:0 0 auto; padding:8px 24px; border-bottom:1px solid #38332f; color:#f7f6f4; background:#151311; line-height:1.4}
.iac-drawer-stores summary,.iac-drawer-stores > a {cursor:pointer; padding:5px 0; font-weight:650}
.iac-drawer-stores summary {display:flex; align-items:center; justify-content:space-between; gap:8px; list-style:none; min-height:34px}
.iac-drawer-stores summary::-webkit-details-marker {display:none}
.iac-drawer-stores summary::after {content:""; width:8px; height:8px; margin:0 5px 4px; border-right:2px solid #efa45e; border-bottom:2px solid #efa45e; transform:rotate(45deg)}
.iac-drawer-stores details[open] > summary::after {margin:4px 5px 0; transform:rotate(225deg)}
.iac-drawer-stores nav {max-height:min(32vh,250px); overflow:auto; overscroll-behavior:contain; padding:2px 0 7px}
.iac-drawer-stores ul {list-style:none; margin:0; padding:0}
.iac-drawer-stores a,.iac-drawer-stores a:visited {color:#fff; text-decoration:underline; text-underline-offset:.17em}
.iac-drawer-stores li a,.iac-drawer-stores .iac-drawer-manage {display:block; padding:7px 0; overflow-wrap:anywhere}
.iac-drawer-manage {font-size:.88em}
.iac-drawer-stores [hidden],#iac-store-picker:not([open]),#iac-store-picker [hidden],#iac-store-receipt[hidden] {display:none!important}
dialog#iac-store-picker {position:fixed; inset:0; box-sizing:border-box; width:min(400px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; margin:auto; padding:22px; background:#151b19; color:#fff; border:1px solid #50605a; border-radius:12px; box-shadow:0 12px 48px #0008; font:inherit; color-scheme:dark}
dialog#iac-store-picker::backdrop {background:rgb(0 0 0 / 62%)}
#iac-store-picker form {display:grid; gap:10px; margin:0; padding:0; background:transparent}
#iac-store-picker h2 {margin:0; color:#fff; font:inherit; font-weight:750; font-size:1.35rem; line-height:1.2}
#iac-store-picker-item {margin:0 0 4px; color:#cad4d0; overflow-wrap:anywhere}
#iac-store-picker label {margin:0; color:#fff; font-weight:650}
#iac-store-picker select {display:block; width:100%; min-width:0; height:auto; min-height:44px; padding:7px 32px 7px 10px; color:#fff; background-color:#222c28; border:1px solid #84938c; border-radius:5px; font:inherit; appearance:auto}
.iac-picker-actions {display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin-top:6px}
#iac-store-picker button {min-height:44px; padding:8px 16px; border-radius:5px; font:inherit; font-weight:650; line-height:1.2; cursor:pointer}
dialog#iac-store-picker button.iac-picker-confirm {border:1px solid #efa45e!important; background:#efa45e!important; color:#20170d!important}
dialog#iac-store-picker button.iac-picker-cancel {border:1px solid #84938c!important; background:transparent!important; color:#fff!important; box-shadow:none!important}
#iac-store-picker button:disabled {opacity:.65; cursor:wait}
#iac-store-picker .iac-picker-error {margin:0; color:#ffcb9f}
#iac-store-picker .iac-picker-error a {color:inherit; text-decoration:underline}
#iac-store-receipt {position:fixed; z-index:2147483600; bottom:max(16px,env(safe-area-inset-bottom)); right:16px; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; max-width:min(470px,calc(100vw - 32px)); box-sizing:border-box; padding:10px 12px 10px 16px; color:#fff; background:#172620; border:1px solid #77baa5; border-radius:9px; box-shadow:0 4px 22px #0004; font-size:.95rem; line-height:1.4}
#iac-store-receipt span {min-width:0; flex:1 1 120px; overflow-wrap:anywhere}
#iac-store-receipt a {font-weight:700; color:#a8f2dd; text-decoration:underline}
#iac-store-receipt button {height:36px; min-width:36px; padding:0; font-size:1.35rem; color:inherit; background:transparent; border:0}
#iac-store-picker :focus-visible,.iac-drawer-stores :focus-visible,#iac-store-receipt :focus-visible {outline:2px solid #e9aa6c; outline-offset:2px}
