/* Algolia Autocomplete — matched to HOG homepage theme */

.aa-Panel,
.aa-Panel * {
    box-sizing: border-box;

}

.aa-Panel {
    background: #fff !important;
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    left: 0 !important;
    line-height: 1.5;
    right: 0 !important;
    z-index: 1001;
    margin: 0 !important;
}


.aa-Panel h1,
.aa-Panel h2,
.aa-Panel h3,
.aa-Panel h4,
.aa-Panel h5,
.aa-Panel h6 {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0;
}

/* Search form */
.aa-Form {
    align-items: center;
    background-color: transparent;
    border: none;
    min-width: auto;
    padding: 0;
    width: auto;
}

.aa-Form .aa-Input {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.aa-Form:focus-within {
    border-color: #ED0C7D;
    box-shadow: none;
}

.aa-Label svg,
.aa-LoadingIndicator svg {
    color: #ED0C7D;
}

.aa-ClearButton {
    background: #fff;
    bottom: 8px;
    color: #3A3A3B;
    height: auto;
    position: absolute;
    right: 9px;
    top: 8px;
}

.aa-InputWrapperPrefix {
    height: auto;
}

.aa-SubmitIcon {
    display: none;
}

.aa-SubmitButton::after,
.aa-DetachedSearchButtonIcon::after {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11.5' cy='11.5' r='9.5' stroke='%23E0157A' stroke-width='1.5'/%3E%3Cpath d='M20 20L22 22' stroke='%23E0157A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: block;
    height: 24px;
    width: 24px;
}

/* Header icon-only below 1024px — do NOT hide detached overlay form */
@media (max-width: 1023px) {
    .middle_header .aa-Autocomplete > .aa-Form .aa-InputWrapper,
    .middle_header .aa-Autocomplete > .aa-Form .aa-Input,
    .middle_header .aa-Autocomplete > .aa-Form .aa-ClearButton,
    .middle_header .aa-Autocomplete > .aa-Form .aa-Label,
    #quickSearch.desktop_search_box .aa-Autocomplete > .aa-Form .aa-InputWrapper,
    #quickSearch.desktop_search_box .aa-Autocomplete > .aa-Form .aa-Input,
    #quickSearch.desktop_search_box .aa-Autocomplete > .aa-Form .aa-ClearButton,
    #quickSearch.desktop_search_box .aa-Autocomplete > .aa-Form .aa-Label {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .aa-Form {
        background-color: #fff;
        border: 1px solid #B9B9B9;
        border-radius: 32px;
        flex-direction: row-reverse;
        height: 56px;
        min-width: 430px;
        padding: 0 0 0 1rem;
        width: 90%;
    }

    .aa-Form .aa-Input {
        font-size: 16px;
    }

    .aa-InputWrapperPrefix {
        height: 56px;
    }

    .aa-Panel {
        display: flex;
        flex-direction: column;
        height: calc(100vh - var(--aa-panel-top, 100px));
        overflow: hidden;
        position: fixed !important;
        top: var(--aa-panel-top, 100px) !important;
    }

    .aa-Panel::after {
        background-color: #f8f8f8;
        bottom: 0;
        content: '';
        height: 10vh;
        left: 0;
        position: absolute;
        right: 0;
    }
}

/* Override Algolia plugin hiding search between 680px–1024px */
@media (max-width: 1023px) {
    .header .middle_header,
    .header .middle_header .desktop_search_box,
    .header .middle_header .dropdown--quickSearch,
    .header .responsivesearch,
    .header .middle_header .aa-Autocomplete,
    .header #quickSearch.desktop_search_box {
        display: block !important;
        visibility: visible !important;
        width: auto !important;
    }

    .header .responsivesearch.container {
        display: inline-block !important;
        max-width: none !important;
        padding: 0 !important;
        width: auto !important;
    }
}

/* Autocomplete positioning — header search icon */
.middle_header .aa-Autocomplete,
#quickSearch .aa-Autocomplete {
    align-items: center;
    display: flex !important;
    position: absolute;
right: 43px;
    top: 10px;
    bottom: 0;
    z-index: 12;
}
@media (min-width: 1024px){
    .middle_header .aa-Autocomplete,
#quickSearch .aa-Autocomplete {
    position: relative;
    height: auto;
    top: unset;
    right: unset;
}
}
.middle_header .aa-SubmitButton,
#quickSearch .aa-SubmitButton {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 8px;
}

@media (min-width: 551px) and (max-width: 1023px) {

}

@media (min-width: 1024px) {
    .aa-Autocomplete {
        position: relative;
        right: 0;
        top: 0;
    }

    .aa-DetachedSearchButton {
        border: 1px solid #B9B9B9;
        border-radius: 32px;
    }
}

.aa-DetachedSearchButton {
    border: none;
    flex-direction: row-reverse;
}

.aa-DetachedSearchButtonIcon {
    color: #ED0C7D;
}

.aa-DetachedSearchButtonPlaceholder {
    display: none;
}

/* Detached / mobile full-screen search overlay */
.aa-DetachedOverlay {
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
}

.aa-DetachedContainer {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    width: 100%;
}

.aa-DetachedContainer .aa-DetachedHeader,
.aa-DetachedContainer .aa-DetachedForm,
.aa-DetachedOverlay .aa-Form {
    align-items: center;
    background: #fff;
    border: none;

    display: flex !important;
    flex-direction: row-reverse;
    flex-shrink: 0;
    gap: 8px;
    margin: 0;

    width: calc(100% - 90px);
}

.aa-DetachedContainer .aa-DetachedForm .aa-InputWrapper,
.aa-DetachedOverlay .aa-Form .aa-InputWrapper {
    display: flex !important;
    flex: 1;
    min-width: 0;
}

.aa-DetachedContainer .aa-DetachedForm .aa-Input,
.aa-DetachedOverlay .aa-Form .aa-Input {
    background: #fff;
    border: 1px solid #B9B9B9;
    border-radius: 32px;
    color: #000;
    display: block !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 16px;
    height: 48px;
    width: 100%;
    padding: 0 48px 0 15px;
}

.aa-DetachedContainer .aa-DetachedForm .aa-Input:focus,
.aa-DetachedOverlay .aa-Form .aa-Input:focus {
    border-color: #ED0C7D;
    outline: none;
}

.aa-DetachedContainer .aa-DetachedForm .aa-ClearButton,
.aa-DetachedOverlay .aa-Form .aa-ClearButton {
    display: flex !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.aa-DetachedContainer .aa-DetachedForm .aa-Label,
.aa-DetachedOverlay .aa-Form .aa-Label {
    display: none !important;
}

.aa-DetachedContainer .aa-DetachedCancelButton {
    background-color: #ED0C7D !important;
    border: none;
    border-radius: 24px;
    color: #fff !important;
    flex-shrink: 0;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-left: 4px;
    min-height: 40px;
    padding: 10px 16px !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.aa-DetachedContainer .aa-Panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    overflow: hidden;
    position: relative !important;
    top: 0 !important;
}

.aa-DetachedContainer .aa-Panel::after {
    display: none;
}

.aa-DetachedContainer .aa-PanelLayout.aa-Panel--scrollable {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 24px !important;
}

body.aa-Detached {
    overflow: hidden;
}

/* Detached trigger button in header (replaces inline form on mobile/tablet) */
@media (max-width: 1023px) {
    .aa-DetachedSearchButton {
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        display: inline-flex;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
        padding: 8px;
    }

    .middle_header .aa-Autocomplete > .aa-Form {
        display: none !important;
    }
}

/* Panel layout */
.aa-PanelLayout.aa-Panel--scrollable {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    margin: 0 auto;
    max-width: 1650px;
    min-height: 0;
    overflow: hidden !important;
    padding: 20px 15px !important;
    position: relative;
    width: 100%;
}

@media (min-width: 1024px) {
    .aa-PanelLayout.aa-Panel--scrollable {
        height: 100%;
        max-height: none !important;
        padding-top: 24px !important;
    }
}



.aa-GradientBottom {
    display: none;
}

.aa-List {
    border-left: none;
    margin-bottom: 0;
    padding: 0;
}

.aa-Item[aria-selected=true] {
    background-color: transparent;
}

/* Section headers */
.aa-SourceHeader {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    position: sticky;
    left: 0;
    width: 100%;
}

.aa-SourceHeader-title {
    color: #575757;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.aa-SourceHeader--categories .aa-SourceHeader-title {
    color: #575757;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.aa-ProductsViewAll {
    color: #ED0C7D;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.aa-ProductsViewAll:hover {
    color: #d7056e;
}

/* Suggestions row */
[data-autocomplete-source-id="suggestions"] {
    flex-shrink: 0;
    margin-top: 0;
    order: 1;
    width: 100%;
}

[data-autocomplete-source-id="suggestions"]::-webkit-scrollbar {
    display: none;
}

[data-autocomplete-source-id="suggestions"] .aa-List {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    margin: 0 0 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

[data-autocomplete-source-id="suggestions"] .aa-Item {
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    margin: 0;
    padding: 0;
    width: max-content;
}

[data-autocomplete-source-id="suggestions"] .aa-List .aa-SuggestionListIcon {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    margin: 0;
}

[data-autocomplete-source-id="suggestions"] .aa-List .aa-SuggestionListIcon svg {
    height: 22px;
    width: 22px;
}

.aa-SuggestionItem {
    display: block;
    padding: 8px 14px;
}

.aa-SuggestionLabel {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

[data-autocomplete-source-id="suggestions"] .aa-Item:hover,
[data-autocomplete-source-id="suggestions"] .aa-Item[aria-selected=true] {
    border-color: #ED0C7D;
}

/* Products grid */
[data-autocomplete-source-id="products"] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    order: 3;
    overflow: hidden !important;
    width: 100%;
}

.aa-ProductsNoResults {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 16px 0 0;
    padding: 0 8px;
    text-align: left;
    word-break: break-word;
}

[data-autocomplete-source-id="products"] .aa-SourceHeader {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    width: 100%;
}

[data-autocomplete-source-id="products"] .aa-List {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0;
    /* margin: 0 -8px; */
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
}

[data-autocomplete-source-id="products"] .aa-Item {
    border: none;
    padding: 0 8px 8px 8px;
    width: 50%;
}

/* Product cards — homepage card design */
[data-autocomplete-source-id="products"] .aa-Item .card {
    background: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    overflow: visible;
    padding: 16px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-figure {
    margin: 0 0 16px;
    overflow: visible;
    padding: 0;
    position: relative;
}

[data-autocomplete-source-id="products"] .aa-Item .card-figure__link {
    cursor: pointer;
    display: block;
    text-decoration: none;
}

[data-autocomplete-source-id="products"] .aa-Item .card-img-container {
    background: #fff;
    border-radius: 8px;
    max-width: none;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    width: 100%;
}

[data-autocomplete-source-id="products"] .aa-Item .card-img-container::after {
    content: '';
    display: block;
    padding-bottom: 80%;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image {
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    height: 100%;
    left: 0;
    max-height: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    width: 100%;
}

[data-autocomplete-source-id="products"] .aa-Item .card-country-origin {
    align-items: center;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 31px;
    bottom: 10px;
    box-shadow: 0 4px 4px 0 rgba(237, 12, 125, 0.15);
    display: inline-flex;
    gap: 8px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 10px 6px 6px;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

[data-autocomplete-source-id="products"] .aa-Item .card-country-origin__flag {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    flex-shrink: 0;
    height: 24px;
    justify-content: center;
    overflow: hidden;
    width: 24px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-country-origin__flag img {
    border-radius: 50%;
    display: block;
    height: 24px;
    object-fit: cover;
    width: 24px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-country-origin__text {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

[data-autocomplete-source-id="products"] .aa-Item .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0;
}

[data-autocomplete-source-id="products"] .aa-Item .card-title {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    margin: 0 0 8px;
    text-align: left;
    text-transform: capitalize;
    width: 100%;
}

[data-autocomplete-source-id="products"] .aa-Item .card-title a {
    color: #000;
    text-decoration: none;
}

[data-autocomplete-source-id="products"] .aa-Item .card-title a:hover,
[data-autocomplete-source-id="products"] .aa-Item .card-title a:focus {
    color: #ED0C7D;
}

[data-autocomplete-source-id="products"] .aa-Item .card-rating {
    margin-bottom: 12px;
    text-align: left;
}

[data-autocomplete-source-id="products"] .aa-Item .card-rating__stars {
    display: inline-flex;
    gap: 2px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-rating__stars .icon {
    color: #ED0C7D;
    font-size: 14px;
    line-height: 1;
}

[data-autocomplete-source-id="products"] .aa-Item .information-custom-fields-column {
    margin-bottom: 10px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-pack-info {
    color: #E0157A;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.032px;
    line-height: normal;
    text-transform: capitalize;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin: auto 0 12px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-sale {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-current {
    color: #000;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: normal;
    text-transform: capitalize;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-was {
    color: #D90808;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration-line: line-through;
    text-transform: capitalize;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-discount-badge {
    background: #196D3A;
    border-radius: 4px;
    color: #FFF;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.024px;
    line-height: normal;
    padding: 4px 6px;
    text-transform: capitalize;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-row__pricing {
    flex: 1 1 auto;
    min-width: 0;
}

[data-autocomplete-source-id="products"] .aa-Item .card-price-row__quantity {
    flex: 0 0 auto;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty {
    align-items: center;
    border: 1px solid #D9D9D9;
    border-radius: 999px;
    display: inline-flex;
    flex-shrink: 0;
    height: 36px;
    min-width: 88px;
    padding: 0 4px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn {
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #3A3A3B !important;
    display: inline-flex !important;
    font-size: 20px !important;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    line-height: 1;
    min-width: 28px;
    padding: 0 !important;
    width: auto;
    font-size: 0 !important;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn span {
    color: #3A3A3B;
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    display: none !important;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn::before {
    color: #3A3A3B;
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn[data-action="dec"]::before {
    content: "−";
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn[data-action="inc"]::before {
    content: "+";
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn:hover,
[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn:focus {
    color: #ED0C7D !important;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn:hover span,
[data-autocomplete-source-id="products"] .aa-Item .card-qty__btn:focus span {
    color: #ED0C7D;
}

[data-autocomplete-source-id="products"] .aa-Item .card-qty .form-input--incrementTotal {
    border: 0;
    color: #272727;
    font-size: 14px;
    font-weight: 600;
    height: 100%;
    padding: 0;
    text-align: center;
    width: 28px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image-overlay {
    align-items: center;
    display: flex;
    gap: 12px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.25s ease;
    z-index: 3;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image-overlay__btn {
    align-items: center;
    background: #ED0C7D;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    pointer-events: auto;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 44px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image-overlay__btn .icon svg {
    display: block;
    height: 22px;
    width: 22px;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image-overlay__btn .icon svg.quickview-button {
    fill: none;
    stroke: #fff;
}

[data-autocomplete-source-id="products"] .aa-Item .card-image-overlay__btn .icon svg.wishlist-icon {
    fill: #fff;
    stroke: none;
}

[data-autocomplete-source-id="products"] .aa-Item .card:hover .card-image-overlay,
[data-autocomplete-source-id="products"] .aa-Item .card:focus-within .card-image-overlay {
    opacity: 1;
    pointer-events: auto;
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: auto;
    position: relative;
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart,
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__options {
    background: #ED0C7D;
    border: 1px solid transparent;
    border-radius: 24px;
    color: #fff;
    cursor: pointer;
    flex: 1 1 100%;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    overflow: hidden;
    padding: 12px 10px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Label via ::after only — avoids Preact/jQuery text-node duplication ("ADD TO CARTADD TO CART"). */
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label] {
    font-size: 0;
    line-height: 0;
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label]::after {
    color: inherit;
    content: attr(data-button-label);
    display: inline-block;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label].is-loading::after {
    content: attr(data-wait-message);
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label] [data-card-add-to-cart-label],
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label] > :not(.loadingOverlay) {
    display: none !important;
}

[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart:hover,
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart:focus,
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__options:hover,
[data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__options:focus {
    background: transparent;
    border-color: #ED0C7D;
    color: #ED0C7D;
}

/* Categories sidebar */
[data-autocomplete-source-id="categories"] {
    flex-shrink: 0;
    order: 2;
    width: 100%;
}

.aa-Source[data-autocomplete-source-id="categories"] .aa-List {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.aa-Source[data-autocomplete-source-id="categories"] .aa-Item {
    border: none;
    margin: 0;
    padding: 0;
    width: max-content;
}

.aa-CategoryItem {
    background-color: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    color: #000;
    display: block;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    padding: 8px 12px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: normal;
    word-break: break-word;
}

.aa-CategoryItem:hover,
.aa-CategoryItem:focus {
    border-color: #ED0C7D;
    color: #ED0C7D;
    outline: none;
}

[data-autocomplete-source-id="categories"] .aa-Item,
[data-autocomplete-source-id="categories"] .aa-List,
[data-autocomplete-source-id="suggestions"] .aa-List{
    border-left: none;
    width: max-content;
}

/* Layout breakpoints */
@media (min-width: 768px) {
    .aa-PanelLayout.aa-Panel--scrollable {
        display: grid;
        gap: 20px;
        grid-template-areas:
            "suggestions suggestions"
            "products categories";
        grid-template-columns: 62fr 33fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    [data-autocomplete-source-id="suggestions"] {
        grid-area: suggestions;
        order: unset;
        width: 100% !important;
    }

    [data-autocomplete-source-id="products"] {
        grid-area: products;
        order: unset;
        width: auto !important;
    }

    [data-autocomplete-source-id="categories"] {
        align-self: start;
        grid-area: categories;
        order: unset;
        width: auto !important;
    }

    .aa-Source[data-autocomplete-source-id="categories"] .aa-List {
        flex-wrap: wrap;
        width: auto;
    }
}

@media (min-width: 1024px) {


    [data-autocomplete-source-id="products"] .aa-Item {
        width: 50%;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card {
        padding: 20px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-title {
        font-size: 20px;
        line-height: 26px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-pack-info {
        font-size: 14px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-price-current {
        font-size: 20px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart,
    [data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__options {
        font-size: 13px;
        padding: 14px 12px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label] {
        font-size: 0;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-footer-actions__add-to-cart[data-button-label]::after {
        font-size: 13px;
    }
}

@media (min-width: 1280px) {
    .aa-PanelLayout.aa-Panel--scrollable {
        grid-template-columns: 78fr 19fr;
    }

    [data-autocomplete-source-id="products"] .aa-Item {
        width: 33.33%;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-title {
        font-size: 22px;
        line-height: 27px;
    }

    [data-autocomplete-source-id="products"] .aa-Item .card-price-current {
        font-size: 22px;
    }
}

/* Close / action buttons */
button.aa-DetachedCancelButton,
.aa-CustomCloseBtn {
    background-color: #ED0C7D !important;
    border: none;
    border-radius: 24px;
    color: #fff;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px !important;
    text-transform: uppercase;
}

.aa-CustomCloseBtn {
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 99999;
}

.aa-DetachedContainer .aa-SourceHeader {
    margin: 5px 0;
}

.aa-ViewMoreWrapper {
    padding: 10px 12px;
    text-align: center;
}

.aa-ViewMoreBtn {
    background-color: #ED0C7D;
    border-radius: 24px;
    color: #fff;
    display: inline-block;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.aa-ViewMoreBtn:hover {
    background-color: #d7056e;
    color: #fff !important;
}

.show-all-products-btn:hover,
.show-all-products:hover {
    background-color: #ED0C7D;
    color: #fff;
}

.aa-Item {
    border: 1px solid #EBEBEB;
    border-left: none;
    padding: 0;
    width: 50%;
}
.aa-DetachedContainer--modal{
    top: 0;
    max-width: 100%;
}

.overflow-hidden{
    overflow: hidden;
}