/* Buyer lists, comparison and modal drawers. Administrative and embedded pages do not opt in. */
body.shop-refresh .product-card .availability-note { display: block; margin-top: 9px; color: #6b736e; font-size: 10px; line-height: 1.5; }
body.shop-refresh .product-card .card-actions .stock-empty-link { min-height: 39px; border-color: #bed0fb; background: #fff; color: #245ceb; font-weight: 550; }
body.shop-refresh .product-card .card-actions .stock-empty-link:hover { border-color: #245ceb; background: #edf2ff; color: #194ccd; }
body.shop-refresh .shop-drawer-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(23,32,25,.34); backdrop-filter: blur(2px); }
body.shop-refresh .shop-drawer-backdrop[hidden], body.shop-refresh .drawer[hidden] { display: none !important; }
body.shop-refresh.shop-drawer-open { overflow: hidden; }
body.shop-refresh .drawer { z-index: 80; height: 100dvh; max-height: 100dvh; width: min(440px,100vw); min-width: 0; background: #fff; border-left: 1px solid #e4e5df; box-shadow: -12px 0 40px rgba(24,37,26,.12); }
body.shop-refresh .drawer.open { right: 0; }
body.shop-refresh .drawer-head { flex: 0 0 auto; min-height: 76px; padding: 18px 23px; border-color: #e4e5df; }
body.shop-refresh .drawer-head b { color: #202722; font-size: 18px; font-weight: 600; }
body.shop-refresh .drawer-head > button { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid #e4e5df; border-radius: 10px; color: #59665b; background: #faf9f6; font: 26px/1 Arial,sans-serif; }
body.shop-refresh :is(#cartItems,#favoriteItems,#notificationItems) { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cdd4c6 transparent; }
body.shop-refresh .drawer-foot { flex: 0 0 auto; margin-top: auto; padding: 19px 23px calc(19px + env(safe-area-inset-bottom)); border-color: #e4e5df; }
body.shop-refresh .drawer-foot small { font-size: 11px; line-height: 1.6; }
body.shop-refresh .drawer-foot .primary { display: flex; justify-content: center; align-items: center; min-height: 45px; font-size: 13px; }
body.shop-refresh :is(.cart-line,.favorite-line) { min-width: 0; grid-template-columns: 64px minmax(0,1fr) 30px; align-items: start; gap: 12px; padding: 18px 20px; border-color: #e4e5df; }
body.shop-refresh :is(.cart-line,.favorite-line) > div { min-width: 0; }
body.shop-refresh :is(.cart-line,.favorite-line) a { min-width: 0; overflow-wrap: anywhere; }
body.shop-refresh :is(.cart-line,.favorite-line) a:hover { color: #245ceb; }
body.shop-refresh :is(.cart-line,.favorite-line) b { color: #354139; font-size: 12px; line-height: 1.6; font-weight: 500; }
body.shop-refresh :is(.cart-line,.favorite-line) small { display: block; margin-top: 5px; color: #6b736e; font-size: 12px; }
body.shop-refresh :is(.cart-product-photo,.favorite-line > a) { display: block; width: 64px; aspect-ratio: 3/4; overflow: hidden; border: 1px solid #e4e5df; border-radius: 9px; background: #faf9f6; }
body.shop-refresh :is(.cart-line .cart-product-photo,.favorite-line > a) > :is(img,.image-placeholder) { display: block; width: 100%; height: 100%; object-fit: contain; aspect-ratio: 3/4; border-radius: 0; }
body.shop-refresh :is(.cart-line,.favorite-line) .remove-line { display: grid; place-items: center; width: 30px; height: 34px; padding: 0; border-radius: 7px; color: #7a8475; background: #fff; font-size: 22px; }
body.shop-refresh :is(.cart-line,.favorite-line) .remove-line:hover { color: #202722; background: #f3f4ef; }
body.shop-refresh .qty-stepper { display: inline-flex; align-items: center; align-self: start; gap: 0; margin-top: 12px; border: 1px solid #dfe3d8; border-radius: 8px; overflow: hidden; }
body.shop-refresh .qty-stepper button { width: 35px; height: 35px; padding: 0; border-radius: 0; background: #fafbf8; color: #354139; font-size: 17px; }
body.shop-refresh .qty-stepper button:disabled { opacity: .4; cursor: default; }
body.shop-refresh .qty-stepper > span { min-width: 31px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
body.shop-refresh :is(.favorite-line [data-fav-cart],.saved-product-open) { display: inline-flex; align-items: center; justify-content: center; align-self: start; min-height: 35px; max-width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid #dde3d4; border-radius: 8px; background: #f3f5ee; color: #526749; font: 500 11px/1.5 ManropeShop,"Segoe UI",Arial,sans-serif; text-align: center; }
body.shop-refresh .favorite-line [data-fav-cart] { background: #245ceb; border-color: #245ceb; color: #fff; }
body.shop-refresh .compare-page { padding: 36px 0 62px; }
body.shop-refresh .compare-head h1 { margin: 7px 0 11px; font-size: clamp(27px,3vw,40px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
body.shop-refresh .compare-head p { font-size: 13px; line-height: 1.65; color: #6b736e; }
body.shop-refresh .compare-table { width: 100%; border: 1px solid #e4e5df; border-radius: 15px; overflow: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #cdd4c6 transparent; }
body.shop-refresh :is(.compare-products,.compare-row) { display: grid; grid-template-columns: minmax(140px,180px) repeat(var(--compare-count,1),minmax(210px,1fr)); min-width: calc(180px + var(--compare-count,1)*210px); }
body.shop-refresh .compare-products { border-color: #e4e5df; }
body.shop-refresh .compare-products > article { min-width: 0; padding: 20px; border-color: #e4e5df; background: #fff; }
body.shop-refresh .compare-products > article > :is(img,.image-placeholder) { display: block; align-self: center; width: min(100%,180px); height: 240px; flex-shrink: 0; aspect-ratio: 3/4; object-fit: contain; border-radius: 10px; background: #faf9f6; }
body.shop-refresh .compare-products article > a b { font-size: 13px; line-height: 1.5; font-weight: 500; -webkit-line-clamp: 3; }
body.shop-refresh .compare-products strong { color: #202722; font-size: 21px; font-weight: 600; }
body.shop-refresh .compare-products article > button:first-child { right: 24px; top: 24px; width: 32px; height: 32px; border: 1px solid #e4e5df; box-shadow: none; }
body.shop-refresh .compare-products article > .primary { min-height: 41px; margin-top: auto; border-radius: 9px; font-size: 12px; }
body.shop-refresh .compare-products article > .saved-product-open { align-self: stretch; margin-top: auto; min-height: 41px; }
body.shop-refresh .compare-row > :is(b,span) { min-width: 0; padding: 15px 18px; border-color: #e4e5df; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
body.shop-refresh .compare-row > b { position: sticky; left: 0; z-index: 1; border-right: 1px solid #e4e5df; color: #59665b; background: #f6f7f2; font-weight: 500; }
body.shop-refresh .compare-row > span { color: #354139; background: #fff; }
body.shop-refresh .compare-products > div:first-child { position: sticky; left: 0; z-index: 1; background: #f6f7f2; }
body.shop-refresh .suggestions { max-height: min(420px,60dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
body.shop-refresh .suggest-item[aria-selected="true"] { background: #edf2ff; outline: 0; }
body.shop-refresh .suggest-item i { position: relative; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid #dfe5d6; border-radius: 7px; background: #f3f5ee; }
body.shop-refresh .suggest-item i::before { content: ""; position: absolute; width: 8px; height: 8px; top: 6px; left: 6px; border: 1px solid #77896c; border-radius: 50%; }
body.shop-refresh .suggest-item i::after { content: ""; position: absolute; width: 5px; height: 1px; top: 14px; left: 13px; background: #77896c; transform: rotate(45deg); }
body.shop-refresh :is(.drawer,.compare-page) :is(a,button,input,select):focus-visible { outline: 2px solid #245ceb; outline-offset: 3px; }
@media (max-width: 600px) {
  body.shop-refresh .drawer { width: 100vw; border-left: 0; }
  body.shop-refresh .drawer-head { min-height: 70px; padding: 14px 18px; }
  body.shop-refresh .drawer-foot { padding: 17px 18px calc(17px + env(safe-area-inset-bottom)); }
  body.shop-refresh :is(.cart-line,.favorite-line) { grid-template-columns: 59px minmax(0,1fr) 30px; gap: 10px; padding: 17px 15px; }
  body.shop-refresh :is(.cart-product-photo,.favorite-line > a) { width: 59px; }
  body.shop-refresh .qty-stepper button { width: 38px; height: 38px; }
  body.shop-refresh .compare-page { padding-top: 27px; }
  body.shop-refresh :is(.compare-products,.compare-row) { grid-template-columns: 105px repeat(var(--compare-count,1),minmax(180px,1fr)); min-width: calc(105px + var(--compare-count,1)*180px); }
  body.shop-refresh .compare-products > article { padding: 13px; }
  body.shop-refresh .compare-products article > button:first-child { right: 16px; top: 16px; }
  body.shop-refresh .compare-row > :is(b,span) { padding: 12px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body.shop-refresh .drawer { transition: none; }
}
