/* Variables: active variables stylesheet selected by the master layout. */
.UA.ua-icons .header-popover-host { position: relative; }
/* Shared account and basket panel styles. The popover follows the same .dark switch as the demo basket and checkout. */
html .header-popover-host > .header-popover { position: absolute !important; top: 100%; right: 0; left: auto; z-index: 99999; visibility: hidden; opacity: 0; transform: translateY(12px); width: min(400px, calc(100vw - 32px)) !important; max-height: min(620px, calc(100dvh - 100px)) !important; padding: 0 !important; margin-top: 12px !important; overflow: visible !important; background: var(--site-surface) !important; border: 1px solid var(--site-border) !important; border-radius: 18px !important; box-shadow: 0 18px 60px var(--shop-cart-shadow) !important; transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important; }
html.dark .header-popover-host > .header-popover { background: var(--site-surface) !important; border-color: var(--site-border) !important; box-shadow: 0 18px 60px var(--site-brand-muted) !important; }
/* Bridge the gap between the icon and popover so moving the pointer keeps it open. */
.header-popover-host > .header-popover::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
html .header-popover-host:hover > .header-popover, html .header-popover-host:focus-within > .header-popover { visibility: visible !important; opacity: 1 !important; transform: translateY(0) !important; }
html .ajax-basket.mini-cart-dismissed > .mini-basket { visibility: hidden !important; opacity: 0 !important; }
.demo-mini-panel {     display: flex; flex-direction: column; max-height: inherit; overflow: hidden; border-radius: inherit; color: var(--site-text-strong) !important; font: 13px/1.5 Poppins, sans-serif; text-align: left; white-space: normal; }
.demo-mini-panel *, .demo-mini-panel *::before, .demo-mini-panel *::after { box-sizing: border-box; }
.demo-mini-panel h2, .demo-mini-panel h3, .demo-mini-panel p { margin: 0; }
.demo-mini-panel a, html.dark .header-popover .demo-mini-panel a { color: var(--site-text-strong) !important; text-decoration: none; margin-right: 0; }
.demo-mini-panel :focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; }
.mini-cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px !important; flex-shrink: 0; border-bottom: 1px solid var(--site-divider); background: none; box-shadow: none; }
.demo-mini-panel .mini-cart-eyebrow { color: var(--site-text-subtle); font-size: 9px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.mini-cart-heading h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1.4; }
.mini-cart-heading h2 span { padding: 3px 8px; border-radius: 20px; background: var(--site-surface-soft); color: var(--site-text-subtle); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.mini-cart-symbol { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: var(--site-surface-soft); }
.mini-cart-symbol svg { width: 23px; height: 23px; }
.mini-content-items { padding: 0 22px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--site-text-subtle) transparent; }
.mini-cart-item { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--site-divider); }
.mini-cart-item:last-child { border-bottom: 0; }
.mini-cart-image { display: grid; place-items: center; height: 66px; background: var(--site-brand-contrast); border: 1px solid var(--site-divider); border-radius: 10px; padding: 7px; }
.mini-cart-image img { width: 100%; height: 100%; max-height: 52px; object-fit: contain; }
.mini-cart-detail { min-width: 0; }
.demo-mini-panel .mini-cart-code { margin: 0 26px 4px 0; color: var(--site-text-subtle); font-size: 9px; letter-spacing: .04em; overflow-wrap: anywhere; }
.mini-cart-detail h3 { padding-right: 26px; font-size: 12px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.mini-cart-detail h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-mini-panel .mini-cart-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 5px; font-size: 10px; color: var(--site-text-subtle); }
.mini-cart-item-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 10px; }
.mini-cart-quantity { font-size: 10px; color: var(--site-text-subtle); }
.mini-cart-price { font-size: 12px; font-weight: 600; text-align: right; }
.demo-mini-panel .pricespan { color: var(--site-text-strong) !important; font-size: inherit; }
.demo-mini-panel .pricespan.mainPrice { display: inline !important; }
.demo-mini-panel .pricespan.alternativePrice { display: none !important; }
.demo-mini-panel .pricespan small { color: var(--site-text-subtle); font-size: 9px; font-weight: 400; white-space: nowrap; }
html .header-popover .demo-mini-panel .mini-cart-remove { position: absolute; top: 16px; right: -5px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; color: var(--site-text-subtle) !important; cursor: pointer; box-shadow: none; transform: none; }
html .header-popover .demo-mini-panel .mini-cart-remove:hover { background: var(--site-surface-soft); color: var(--site-text-strong) !important; }
.mini-cart-remove svg { width: 18px; height: 18px; }
.mini-cart-remove:disabled { opacity: .45; cursor: wait; }
.mini-cart-footer { border-top: 1px solid var(--site-divider); background: var(--site-surface); padding: 20px 22px 18px; flex-shrink: 0; }
.mini-cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-weight: 500; }
.mini-cart-subtotal strong { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.demo-mini-panel .mini-cart-note { font-size: 10px; color: var(--site-text-subtle); margin: 6px 0 18px; }
.header-popover .demo-mini-panel .mini-cart-primary, html.dark .header-popover .demo-mini-panel .mini-cart-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 12px 16px; background: var(--site-action); color: var(--site-action-contrast) !important; border-radius: 9px; font-size: 12px; font-weight: 500; }
html.dark .header-popover .demo-mini-panel .mini-cart-primary { color: var(--site-brand-primary-deep) !important; }
.header-popover .demo-mini-panel .mini-cart-primary:hover, html.dark .header-popover .demo-mini-panel .mini-cart-primary:hover { background: var(--site-action-hover); }
.mini-cart-continue { display: block; text-align: center; margin-top: 12px; font-size: 10px; }
.mini-cart-continue:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.mini-cart-empty { padding: 32px 22px 24px; }
.mini-cart-empty h3 { font-size: 16px; font-weight: 500; }
.demo-mini-panel .mini-cart-empty p { margin: 10px 0 24px; font-size: 12px; color: var(--site-text-subtle); }
.demo-mini-panel .mini-cart-error { flex-shrink: 0; padding: 12px 18px; background: var(--site-surface-soft); color: var(--site-text-strong); font-size: 12px; border-bottom: 1px solid var(--site-divider); }
.mini-cart-error[hidden] { display: none !important; }
@media (max-width: 640px) { html .header-popover-host > .header-popover { position: fixed !important; top: 82px !important; right: 16px !important; left: auto !important; margin-top: 0 !important; max-height: calc(100dvh - 110px) !important; } .mini-cart-heading { padding: 18px; } .mini-content-items { padding: 0 18px; } .mini-cart-footer { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { html .header-popover-host > .header-popover { transition: none !important; } }
/* Reusable information and secondary-action styles. */
.demo-mini-panel .mini-panel-info { padding: 22px 0; overflow-wrap: anywhere; }
.demo-mini-panel .mini-panel-muted { color: var(--site-text-subtle); font-size: 12px; }
.header-popover .demo-mini-panel .mini-panel-identity { display: block; margin: 4px 0; color: var(--site-text-strong); font-size: 17px; font-weight: 600; line-height: 1.4; }
.demo-mini-panel .mini-panel-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--site-divider); font-size: 12px; }
.demo-mini-panel .mini-panel-meta-label { color: var(--site-text-subtle); }
.demo-mini-panel .mini-panel-meta-value { color: var(--site-text-strong); font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.header-popover .demo-mini-panel .mini-cart-secondary { display: flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 10px; padding: 10px 16px; border: 1px solid var(--site-divider); border-radius: 9px; color: var(--site-text-strong) !important; font-size: 12px; font-weight: 500; }
.header-popover .demo-mini-panel .mini-cart-secondary:hover { background: var(--site-surface-soft); text-decoration: underline; text-underline-offset: 3px; }
