/* QT HEADER & SHOP LAYOUT REPAIR 1 — POC only. */
/* Keep the native site header; hide only Blocksy's duplicate page-title hero. */
body.qt-standard-header-page #main > .ct-container-full > article > .hero-section,
body.qt-standard-header-page #main > .ct-container-full > article > .hero-section .entry-header {
    display: none !important;
}

/* Make the utility icons reliable in Chromium/Safari and align all three controls. */
body.qt-design-system #header [data-device="desktop"] [data-row="middle"] [data-column="end"] > [data-items] {
    display: flex !important;
    align-items: center !important;
    gap: var(--qt-space-2) !important;
}
body.qt-design-system #header .qt-header-utilities {
    display: flex !important;
    align-items: stretch !important;
    gap: var(--qt-space-2) !important;
}
body.qt-design-system #header .qt-header-utilities [data-id="button"] a::before,
body.qt-design-system #header .qt-header-wishlist a.wishlist_products_counter::before {
    background-color: currentColor !important;
    background-image: none !important;
    -webkit-mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-position: center !important;
    mask-repeat: no-repeat !important;
    mask-size: contain !important;
}
body.qt-design-system #header .qt-header-utilities [data-id="button"] a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") !important;
}
body.qt-design-system #header .qt-header-wishlist a.wishlist_products_counter::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") !important;
}

/* The Shop hero belongs to the same full width as its product archive. */
body.qt-page-shop .qt-shop-info-header {
    max-width: none !important;
    padding-inline: 0 !important;
}
