/* Product relationship controls live inside the existing photograph, not its link. */
.heyzen-card-colors { position: absolute; left: 10px; bottom: 12px; z-index: 8; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; background: rgba(255,255,255,.58); -webkit-backdrop-filter: blur(16px) saturate(145%); backdrop-filter: blur(16px) saturate(145%); color: #171412; box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 2px 10px rgba(23,20,18,.06); font: 500 10px/1.4 var(--heyzen-font); cursor: pointer; }
.heyzen-card-color-dots { display: flex; padding-left: 3px; }
.heyzen-card-color-dot { width: 12px; height: 12px; margin-left: -3px; border: 1px solid rgba(23,20,18,.18); border-radius: 50%; background: var(--color-chip,#d7d0c7); }
.heyzen-card-colors[hidden] { display: none; }
.image-wrapper:has(.heyzen-card-colors) .heyzen-card-gallery-dots { bottom: 48px; }
.heyzen-card-colors:focus-visible,.heyzen-quick-color-options a:focus-visible { outline: 2px solid #81776e; outline-offset: 3px; }
.heyzen-quick-colors { margin: 0 0 20px; }
.heyzen-quick-colors p { margin: 0 0 9px; color: #81776e; font-size: 11px; }
.heyzen-quick-colors p strong { color: #171412; font-weight: 500; }
.heyzen-quick-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.heyzen-quick-color-options a { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 48px; padding: 3px 3px 6px; border: 1px solid #e5e1dc; background: #fff; color: #70675e; font-size: 9px; text-decoration: none; }
.heyzen-quick-color-options a.is-current { border-color: #171412; color: #171412; }
.heyzen-quick-color-options img { display: block; width: 46px; height: 60px; object-fit: contain; background: #f8f7f5; }
.heyzen-quick-colors[aria-busy="true"] a { opacity: .5; cursor: wait; }
.heyzen-quick-colors[aria-busy="true"] a.is-current { opacity: 1; }
/* Keep Quka's selected colour field for cart validation without repeating its UI. */
.native-modal .heyzen-quick-cart .heyzen-quick-details:has(.heyzen-quick-colors) .variant-box .heyzen-quick-fixed-color { display: none; }
/* Keep only one navigation surface: style Quka's existing links and basket count. */
@media(max-width:991px) {
    .addons-mobile-menu.amm-mobile-1 {
        left: 50%; right: auto; bottom: calc(12px + env(safe-area-inset-bottom,0px));
        width: calc(100% - 28px); max-width: 460px; height: 58px; padding: 4px;
        transform: translate(-50%,12px); opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
        border: 1px solid rgba(255,255,255,.2); border-radius: 31px;
        background: rgba(250,249,247,.56); color: #171412;
        -webkit-backdrop-filter: blur(28px) saturate(155%); backdrop-filter: blur(28px) saturate(155%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.16),0 8px 28px rgba(23,20,18,.12);
        z-index: 900;
    }
    html.heyzen-mobile-nav-visible .addons-mobile-menu.amm-mobile-1 { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
    .addons-mobile-menu.amm-mobile-1 ul { gap: 2px; height: 100%; }
    .addons-mobile-menu.amm-mobile-1 ul li { flex: 1 1 0; min-width: 0; }
    .addons-mobile-menu.amm-mobile-1 ul li a { gap: 3px; min-height: 48px; padding: 3px 2px; border-radius: 25px; color: #24211e; font: 500 10px/1.3 var(--heyzen-font); transition: background-color .16s ease; }
    .addons-mobile-menu.amm-mobile-1 ul li a .icon { display: flex; align-items: center; justify-content: center; height: 22px; font-size: 20px; line-height: 1; }
    .addons-mobile-menu.amm-mobile-1 ul li a .title { font-size: 10px; line-height: 1.3; white-space: nowrap; }
    .addons-mobile-menu.amm-mobile-1 ul li a[aria-current="page"] { background: rgba(23,20,18,.07); color: #171412; }
    .addons-mobile-menu.amm-mobile-1 ul li a:active { background: rgba(23,20,18,.1); }
    .addons-mobile-menu.amm-mobile-1 ul li a .count { top: 2px; right: calc(50% - 22px); min-width: 16px; max-width: 26px; height: 16px; padding: 0 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: #171412; color: #fff; font-size: 9px; line-height: 1; }
    body:has(.addons-mobile-menu.amm-mobile-1) { padding-bottom: calc(86px + env(safe-area-inset-bottom,0px)); }
    html.heyzen-mobile-nav-visible body:has(.addons-mobile-menu.amm-mobile-1) .addons-whatsapp-widget:is(.aww-direction-0,.aww-direction-1) { bottom: calc(78px + env(safe-area-inset-bottom,0px)); }
    body:has(.modal.show,.heyzen-mobile-drawer.active) .addons-mobile-menu.amm-mobile-1 { opacity: 0; visibility: hidden; pointer-events: none; }
    body:has(.modal.show,.heyzen-mobile-drawer.active) .addons-whatsapp-widget { visibility: hidden; }
    .addons-mobile-menu.amm-mobile-1 a:focus-visible { outline: 2px solid #81776e; outline-offset: -2px; }
}
/* Safari before 18 exposes only the prefixed property. Either is sufficient. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    .addons-mobile-menu.amm-mobile-1 { background: rgba(250,249,247,.97); }
    .heyzen-card-colors { background: rgba(255,255,255,.94); }
}
@media(prefers-reduced-motion:reduce) { .addons-mobile-menu.amm-mobile-1,.addons-mobile-menu.amm-mobile-1 ul li a { transition: none; } }

/* Restyle the platform's existing WhatsApp link from the first paint. */
body .addons-whatsapp-widget { margin: 0; }
body .addons-whatsapp-widget > a { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ded8d0; border-radius: 50%; background: #24201c; color: #fff; text-decoration: none; box-shadow: 0 3px 12px rgba(23,20,18,.12); }
body .addons-whatsapp-widget > a > svg { display: none; }
body .addons-whatsapp-widget > a::before { content: 'WhatsApp'; display: block; width: 24px; height: 24px; font-size: 0; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.7a8.5 8.5 0 0 1-12.8 7.4L3 20.5l1.4-4.6a8.5 8.5 0 1 1 16.1-4.2Z'/%3E%3Cpath d='m8.5 7.5-1 .5c-1.1 2.9 4 8 6.9 6.9l.6-1-2-1.3-.8.8c-1.2-.5-2.7-2-3.2-3.2l.8-.8-1.3-1.9Z'/%3E%3C/svg%3E"); }
body .addons-whatsapp-widget > a:hover { background: #423a32; border-color: #a89d91; }
body .addons-whatsapp-widget > a:focus-visible { outline: 2px solid #91806b; outline-offset: 3px; }
@media(max-width:991px) {
    body .addons-whatsapp-widget > a { flex-basis: 40px; width: 40px; height: 40px; }
    body .addons-whatsapp-widget > a::before { width: 22px; height: 22px; }
}
