:root {
    --heritage-burgundy: #4b0918;
}

#vue-plugin-app,
.heritage-catalog-container,
.vuer-products-shortcode,
.vuer-categories-shortcode,
.vuer-search-results-shortcode {
    max-width: var(--heritage-header-max);
    margin-inline: auto;
}

.vue-plugin-shell #vue-plugin-app,
.vue-plugin-shell .heritage-catalog-container {
    width: 80%;
    padding-block: 34px 52px;
}

.vue-plugin-shell #vue-plugin-app {
    --vuer-category-filter-accent: var(--heritage-burgundy);
    --vuer-category-filter-button-background: var(--heritage-burgundy);
    --vuer-category-filter-button-color: #fff;
    --vuer-checkout-primary: var(--heritage-burgundy);
    --vuer-checkout-primary-contrast: #fff;
    --vuer-order-primary: var(--heritage-burgundy);
    --vuer-order-primary-contrast: #fff;
    --vuer-attribute-option-selected: var(--heritage-burgundy);
    --vuer-attribute-option-selected-text: #fff;
}

.vue-plugin-shell h1,
.vue-plugin-shell h2,
.vue-plugin-shell .vue-plugin-product-card__title {
    font-family: Vollkorn, Georgia, "Times New Roman", serif;
    color: #333;
}

.vue-plugin-shell .product-page .product-add-to-cart,
.vue-plugin-shell .product-page .product-add-to-cart:focus-visible {
    color: #fff;
    background: var(--heritage-burgundy);
    border-color: var(--heritage-burgundy);
    border-radius: 0;
    max-width: none;
}

.vue-plugin-shell .product-page .product-second-cta,
.vue-plugin-shell .product-page .product-second-cta:focus-visible {
    background: #fff;
    color: var(--heritage-burgundy);
}

.vue-plugin-shell .product-page .product-dropdown__toggle {
    border-color: #dadada;
    border-radius: 0;
    color: #333;
}

.vue-plugin-shell .product-page .add-to-quote-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #f4f4f4;
    box-shadow: 0 4px 12px rgb(0 0 0 / 4%);
}

.vue-plugin-shell .product-page .add-to-quote-toast__message {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.vue-plugin-shell .product-page .add-to-quote-toast__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: #fff;
    color: #851426;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.vue-plugin-shell .product-page .add-to-quote-toast__button:hover {
    background: #faf0f2;
}

.vue-plugin-shell .product-page .add-to-quote-toast__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .vue-plugin-shell .product-page .add-to-quote-toast {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
}

@media (min-width: 901px) {
    .vue-plugin-shell .product-desktop-sticky-boundary {
        grid-template-columns: minmax(0, 58fr) minmax(0, 38fr);
        column-gap: 4%;
    }
}

#main-header .right-menu-wrapper {
    justify-content: flex-end;
    gap: 8px;
    min-width: 168px;
    padding-right: 12px;
}

#main-header .heritage-search-toggle {
    flex: 0 0 36px;
    display: block;
    position: relative;
    width: 36px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
}

#main-header .heritage-search-toggle::before {
    position: static;
    font-size: 19px;
}

#main-header .heritage-search-toggle[aria-expanded="true"]::before {
    content: "\4d";
    font-size: 26px;
}

.heritage-quote-list {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-inline-end: 6px;
    padding: 6px 12px;
    min-height: 40px;
    background: var(--heritage-burgundy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.heritage-quote-list:hover,
.heritage-quote-list:focus-visible {
    color: #fff;
    background: #68132a;
}

.heritage-quote-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    block-size: 1.65em;
    min-inline-size: 1.65em;
    padding-inline: 0.3em;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

#heritage-header-search {
    position: absolute;
    inset-inline-start: 16%;
    top: 50%;
    transform: translateY(-50%);
}

#heritage-header-search .ws-search-field {
    width: 100%;
}

@media (max-width: 981px) {
    #heritage-header-search,
    #main-header .heritage-search-toggle {
        display: none;
    }

    #main-header .et_menu_container {
        gap: 8px;
    }

    #main-header .et_menu_container::after {
        display: none;
    }

    #main-header .et_menu_container .logo_container {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        justify-content: flex-start;
    }

    #main-header .logo_container a {
        min-width: 0;
    }

    #main-header .logo_container #logo {
        max-width: min(150px, 100%);
    }

    #main-header .et_menu_container.container #et-top-navigation {
        flex: 0 0 auto;
        width: auto;
        padding-block: 0;
    }

    #main-header .right-menu-wrapper {
        display: flex !important;
        flex: 0 0 auto;
        min-width: 0;
        padding-inline: 0;
    }

    #main-header .heritage-quote-list {
        margin-inline-end: 0;
    }

    .heritage-mobile-actions,
    .heritage-mobile-actions .mobile-search {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .heritage-mobile-actions .mobile-search,
    .heritage-mobile-actions .mobile-search input {
        flex: 1 1 0;
        min-width: 0;
    }

    .heritage-mobile-actions .mobile-search input.et-search-field {
        font-size: 16px;
        position: static;
    }

    .heritage-mobile-actions .mobile-search .search-submit {
        position: static;
        flex: 0 0 32px;
        cursor: pointer;
    }

    .vue-plugin-shell #vue-plugin-app {
        padding-block: 20px 36px;
    }
}

@media (min-width: 982px) {
    #main-header .heritage-search-open #heritage-header-search {
        display: block;
    }

    #main-header .heritage-search-open #et-top-navigation {
        visibility: hidden;
    }

    #main-header .et_menu_container.container,
    .vue-plugin-shell #vue-plugin-app,
    .vue-plugin-shell .heritage-catalog-container {
        width: calc(100% - 24px);
        max-width: var(--heritage-header-max);
    }

    .heritage-mobile-search {
        display: none;
    }
}

@media (max-width: 420px) {
    .heritage-mobile-actions.container {
        width: 100%;
    }
}
