/* FED client alterations – frontend (doc items 1–31) */

/* 1 – Contact / info bar (first row inside fixed header) */
:root {
    --fed-contact-bar-height: 0px;
    --header-height: 170px;
    --fed-megabar-height: 56px;
    --admin-quick-bar-height: 0px;
    --fed-sticky-offset: calc(var(--header-height, 170px) + var(--admin-quick-bar-height, 0px) + 12px);
}

@media (max-width: 991px) {
    :root {
        /* Contact stack + logo row + megabar (JS syncs the exact value) */
        --header-height: 220px;
    }
}

@media (max-width: 767px) {
    :root {
        /* Contact strip stays visible on catalog/category pages — was 120px and hid page titles */
        --header-height: 240px;
        --fed-megabar-height: 58px;
    }
}

html.has-admin-quick-bar {
    --admin-quick-bar-height: 44px;
}

body {
    /* !important beats styles.min.css mobile rule: body { padding-top: 0 !important; } */
    padding-top: calc(var(--header-height, 170px) + var(--admin-quick-bar-height, 0px)) !important;
}

/* Compact header on scroll: hide logo row site-wide; contact bar only on mobile */
.header_main,
.fed-contact-bar.header_main_dollar {
    transition: max-height 200ms ease, opacity 150ms ease, padding 200ms ease;
    max-height: 500px;
    opacity: 1;
}

html.fed-pdp-compact-header .header_main {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden !important;
    pointer-events: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
}

@media (max-width: 1280px) {
    html.fed-pdp-compact-header .fed-contact-bar.header_main_dollar {
        max-height: 0 !important;
        opacity: 0;
        overflow: hidden !important;
        pointer-events: none;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        min-height: 0 !important;
    }
}

.header_megabar {
    position: relative;
    z-index: 1001;
}

.fed-contact-bar.header_main_dollar.foodservice_pad_lr {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1;
    background-color: #f2f2f2;
    margin: 0;
    width: 100%;
}

header {
    position: fixed !important;
    top: var(--admin-quick-bar-height, 0px) !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    margin: 0 !important;
    padding: 0 !important;
}

header .header_main {
    position: relative;
    z-index: 1002;
    overflow: visible !important;
}

/* Mobile drawer must stack above logo/search row (header_main is z-index 1002).
   Compact-header scroll hid that row, which is why the overlap vanished on scroll. */
@media (max-width: 1280px) {
    .header_megabar {
        z-index: 3000;
    }

    header .header_main {
        z-index: 1000;
    }

    .header_megabar .menu {
        z-index: 3010 !important;
    }

    .menu-overlay {
        z-index: 3005 !important;
    }

    header:has(.menu.active) .header_main {
        visibility: hidden;
        pointer-events: none;
    }

    header:has(.menu.active) .header_megabar .item-search {
        visibility: hidden;
        pointer-events: none;
    }
}

header .header_sec,
header .header_main,
header .fed-contact-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header_main_dollar.foodservice_pad_lr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.header_main_dollar.foodservice_pad_lr .contact-info-sec {
    display: flex;
    align-items: center;
    gap: 8px !important;
    margin: 0;
    padding: 6px 0;
}

.header_main_dollar.foodservice_pad_lr .contact-info-sec li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header_main_dollar.foodservice_pad_lr .contact-info-sec li::before {
    display: none;
}

.header_main_dollar.foodservice_pad_lr .fed-contact-left {
    justify-content: flex-start;
}

.header_main_dollar.foodservice_pad_lr .fed-contact-center {
    justify-content: center;
    text-align: center;
}

.header_main_dollar.foodservice_pad_lr .fed-contact-right {
    justify-content: flex-end;
    text-align: right;
}

.header_main_dollar.foodservice_pad_lr .fed-contact-right a {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .header_main_dollar.foodservice_pad_lr {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .header_main_dollar.foodservice_pad_lr .contact-info-sec,
    .header_main_dollar.foodservice_pad_lr .fed-contact-left,
    .header_main_dollar.foodservice_pad_lr .fed-contact-center,
    .header_main_dollar.foodservice_pad_lr .fed-contact-right {
        justify-content: center;
        text-align: center;
    }
}

/* Header compare/wishlist tiles: .icon-box is layout markup, not Feather's .icon-box glyph */
.compare_sec .icon-box::before,
.compare_sec .icon-box::after {
    content: none !important;
    display: none !important;
}

.compare_sec .icon-box {
    font-family: inherit !important;
    border: none !important;
    outline: none !important;
}

.compare_sec .icon-wrapper {
    border: none !important;
    outline: none !important;
}

@media (min-width: 768px) {
    .compare_sec .icon-box p {
        display: block !important;
    }
}

/* Mobile menu shortcuts for Compare, Wishlist, Quote, and Cart */
.fed-mobile-account-actions {
    display: none;
}

@media (max-width: 1280px) {
    .fed-mobile-account-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 12px 10px;
        border-bottom: 1px solid #e5e5e5;
        background: #f7f7f7;
    }

    .fed-mobile-account-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 64px;
        gap: 5px;
        border-radius: 5px;
        color: #111 !important;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        text-decoration: none !important;
    }

    .fed-mobile-account-action:hover,
    .fed-mobile-account-action:focus {
        background: #e9e9e9;
        color: #0066b5 !important;
    }

    .fed-mobile-account-action__icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 25px;
        font-size: 20px;
    }

    .fed-mobile-account-action__icon .count-badge {
        top: -7px;
        right: -7px;
    }
}

/* Compact header — reduced logo, bar, and megabar height (site-wide) */
.fed-header {
    padding: 4px 20px !important;
}

.fed-logo a img {
    height: 72px;
    width: auto;
    display: block;
}

.fed-search-wrapper {
    min-height: 40px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.serch-result {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2011;
    background: #fff;
    width: 100%;
    padding: 15px 15px 7px;
    border: 1px solid #e0e0e0;
    border-top: 0;
    max-height: 500px;
    overflow: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.serch-result.d-none {
    display: none !important;
}

.serch-result:not(.d-none) {
    display: block !important;
}

.fed-search-wrapper .serch-result .s-r-inner {
    max-height: 380px;
    overflow-y: auto;
}

.fed-search-wrapper .serch-result .product-card.p-col,
.fed-search-wrapper .serch-result a.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 7px;
    padding: 7px 4px;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.fed-search-wrapper .serch-result .product-card.p-col:last-child,
.fed-search-wrapper .serch-result a.search-suggest-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.fed-search-wrapper .serch-result a.search-suggest-item:hover {
    background: #f5f5f5;
    text-decoration: none !important;
    color: inherit;
}

.fed-search-wrapper .serch-result .product-card .product-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
}

.fed-search-wrapper .serch-result .product-card .product-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.fed-search-wrapper .serch-result .product-card-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.fed-search-wrapper .serch-result .product-title {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.35;
    color: #0d6efd;
}

.fed-search-wrapper .serch-result .product-price {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.fed-search-wrapper input {
    flex: 1;
    width: 100% !important;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
    padding-left: 14px !important;
    float: none !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
}

/* Desktop/laptop: original header — search in logo row, menu-only black bar */
.fed-header .fed-search-desktop {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.header_megabar .item-search,
.fed-search-mobile {
    display: none !important;
}

.header_megabar .container-fluid {
    width: 100%;
    height: 100%;
}

.header_megabar .row.v-center {
    width: 100%;
    height: 100%;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px;
}

.header_megabar .item-center {
    flex: 1 1 auto !important;
    min-width: 0;
    order: 1;
}

.header_megabar .item-right {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0;
    min-width: 0;
    max-width: none;
    padding: 0 !important;
    height: 100%;
    order: 2;
}

.header_megabar .mobile-menu-trigger {
    display: none;
    flex: 0 0 auto;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

.header_megabar .mobile-menu-trigger span {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.header_megabar {
    min-height: var(--fed-megabar-height, 56px);
    height: var(--fed-megabar-height, 56px);
    max-height: var(--fed-megabar-height, 56px);
    padding: 0 15px !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
    overflow: visible;
}

/* Mobile/tablet: search moves into black bar; hide logo-row search */
@media (max-width: 1280px) {
    .fed-header .fed-search-desktop {
        display: none !important;
    }

    .header_megabar .item-search {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto;
        order: 1 !important;
    }

    .fed-search-mobile {
        display: flex !important;
        flex: 1 1 auto;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        height: 36px;
        min-height: 36px;
    }

    .header_megabar .fed-search-mobile input {
        height: 36px !important;
        background: #fff !important;
        border: none !important;
        color: #222 !important;
    }

    .header_megabar .fed-search-mobile input::placeholder {
        color: #888;
    }

    .header_megabar .fed-search-mobile .serch-result {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    .header_megabar .row.v-center {
        justify-content: flex-start !important;
    }

    .header_megabar .item-center {
        flex: 0 0 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        overflow: visible;
        order: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header_megabar .item-right {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 !important;
        height: 100% !important;
        order: 3 !important;
        align-items: center !important;
        align-self: center !important;
    }

    .header_megabar .mobile-menu-trigger {
        display: flex !important;
        margin: 0 !important;
        align-self: center !important;
    }
}

.header_megabar.foodservice_pad_lr {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 80px !important;
    padding-right: 80px !important;
}

.header_megabar .container-fluid,
.header_megabar .row,
.header_megabar .item-center,
.header_megabar .menu,
.header_megabar .menu > ul {
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
}

.header_megabar .row.v-center {
    display: flex !important;
    align-items: center !important;
}

.header_megabar ul.menu-main,
.header_megabar .menu > ul.menu-main {
    align-items: center;
}

.header_megabar .menu > ul > li {
    line-height: 1.4 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.header_megabar .menu > ul > li > a {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4 !important;
    padding: 0;
    letter-spacing: 0.02em;
    display: inline-block;
    vertical-align: middle;
}

/* Desktop/laptop: match live site — single-line labels, even spread, 80px side padding */
@media (min-width: 1281px) {
    .header_megabar .item-center {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .header_megabar .menu {
        width: 100% !important;
    }

    .header_megabar ul.menu-main,
    .header_megabar .menu > ul.menu-main {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header_megabar .menu > ul > li {
        flex: 0 0 auto;
        white-space: nowrap;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header_megabar .menu > ul > li > a {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 5px;
        font-size: 13px !important;
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 36px !important;
        max-width: none;
    }

    .header_megabar .menu > ul > li > a i {
        flex-shrink: 0;
        margin-left: 0;
        line-height: 1;
    }

    .header_megabar.foodservice_pad_lr {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .header_megabar.foodservice_pad_lr {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (min-width: 1281px) and (max-width: 1367px) {
    .header_megabar .menu > ul > li > a {
        font-size: 12px !important;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 991px) {
    .header_megabar.foodservice_pad_lr {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 767px) {
    .fed-logo a img {
        height: 52px;
    }

    .fed-header {
        padding: 4px 16px 0 !important;
    }

    .header_megabar .fed-search-mobile {
        height: 36px;
        min-height: 36px;
    }

    .header_megabar .fed-search-mobile input {
        height: 36px;
    }

    .header_megabar .menu > ul > li > a {
        font-size: 14px;
    }
}

/* Mobile drawer: vertically center menu labels with the > arrows */
@media (max-width: 1280px) {
    .header_megabar .menu.active > ul > li > a,
    .header_megabar .menu > ul > li > a {
        display: flex !important;
        align-items: center !important;
        height: 50px !important;
        line-height: 1.2 !important;
        padding: 0 50px 0 15px !important;
        box-sizing: border-box;
    }

    .header_megabar .menu > ul > li > a i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
}

/* 31 – Mega menu: no ghost dropdown blocking clicks */
@media (min-width: 992px) {
    .header_megabar .menu > ul > li .sub-menu {
        pointer-events: none;
    }

    .header_megabar .menu > ul > li.menu-item-has-children:hover .sub-menu {
        pointer-events: auto;
    }
}

/* 2 – Category boxes fully clickable */
.food_category_sec .card.category-card-link {
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.food_category_sec .card.category-card-link:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.food_category_sec .category-icon-slider,
.food_category_sec .category-icon-slider .item,
.food_category_sec .category-icon-slider img {
    pointer-events: none;
}

/* 3–4 – Home section sort/search toolbar */
.fed-sort-select,
.fed-section-sort-select {
    min-width: 160px;
    display: inline-block;
    width: auto;
}

.fed-sort-label {
    font-weight: 600;
}

.fed-section-toolbar .search-bar {
    position: relative;
}

.fed-section-toolbar .fed-section-search-input {
    width: 100%;
    padding-right: 36px;
}

.fed-section-toolbar .fed-section-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.65;
}

.fed-section-toolbar.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

/* 5 – Single-row responsive product display (home sections) */
.fed-home-products-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    width: 100%;
    scrollbar-width: thin;
}

.fed-home-products-row .product-card {
    flex: 0 0 calc((100% - 100px) / 6);
    max-width: calc((100% - 100px) / 6);
    min-width: calc((100% - 100px) / 6);
    border: 1px solid #e5e5e5;
}

@media (min-width: 1200px) {
    .fed-home-products-row .product-card {
        flex: 0 0 calc((100% - 60px) / 4);
        max-width: calc((100% - 60px) / 4);
        min-width: calc((100% - 60px) / 4);
    }
}

.fed-home-products-row .product-card h5,
.fed-home-products-row .product-card h5 a {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none !important;
}

#food_deals_of_the_week .product-card h5,
#food_deals_of_the_week .product-card h5 a,
#fed_campaign_page .product-card h5,
#fed_campaign_page .product-card h5 a,
.food_services_category_item .product-card h5,
.food_services_category_item .product-card h5 a {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none !important;
}

/* Home product cards – self-contained (no storage/frontend/style.css required) */
.food_services_category_item .cards-wrapper {
    width: 100%;
}

.food_services_category_item .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card_bg_fig {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px 12px 0;
    gap: 12px;
    height: auto;
}

.card_bg_fig > img,
.card_bg_fig picture,
.fed-card-media {
    flex: 0 0 200px;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 12px;
    margin: 0;
    overflow: hidden;
}

.fed-card-media img,
.fed-card-media picture img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.fed-card-media picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    flex: 1 1 auto;
}

.fed-product-card-image-link,
.fed-product-thumb-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fed-product-card-image-link:hover,
.fed-product-thumb-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Keep WebP picture elements aligned with the fixed product-card image frame. */
.product-card .product-thumb > a > picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
}

.product-card .product-thumb > a > picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card_bg_fig img,
.card_bg_fig picture img,
.fed-card-media img,
.fed-card-media picture img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    border-radius: 0;
}

.card_bg_fig .price {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
    width: 100%;
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.card_bg_fig .price,
.card_bg_fig .price *,
.card_bg_fig .price del,
.card_bg_fig .price span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card_bg_fig .price .product-brand-sku {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.card_bg_fig .price .product-brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card_bg_fig .price .product-sku {
    flex: 0 0 auto;
    white-space: nowrap;
    opacity: 0.95;
}

.card_bg_fig .price .product-price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.card_bg_fig .price .product-price-row .product-price-monthly {
    white-space: nowrap;
    font-size: 0.85em;
    margin-left: 4px;
}

.fed-category-products-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.fed-category-products-row .product-card {
    flex: unset;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    border: 1px solid #e5e5e5;
}

@media (max-width: 991px) {
    .fed-category-products-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .fed-category-products-row {
        grid-template-columns: 1fr;
    }
}

/* Deals of the Month: fixed 4-column grid, no horizontal scroll */
#food_deals_of_the_week .fed-home-deals-row,
#fed_campaign_page .fed-home-deals-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    overflow: visible;
    align-items: stretch;
}

#food_deals_of_the_week .fed-home-deals-row .product-card,
#fed_campaign_page .fed-home-deals-row .product-card {
    flex: unset;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

#food_deals_of_the_week .product-card .card_bg_fig,
#fed_campaign_page .product-card .card_bg_fig {
    flex-shrink: 0;
    width: 100%;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

#food_deals_of_the_week .product-card .card_bg_fig > img,
#food_deals_of_the_week .product-card .card_bg_fig picture,
#food_deals_of_the_week .product-card .card_bg_fig .fed-card-media,
#fed_campaign_page .product-card .card_bg_fig > img,
#fed_campaign_page .product-card .card_bg_fig picture,
#fed_campaign_page .product-card .card_bg_fig .fed-card-media {
    flex: 0 0 200px;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background: #fff;
    border: none;
    padding: 12px;
    overflow: hidden;
}

#food_deals_of_the_week .product-card .card_bg_fig img,
#food_deals_of_the_week .product-card .card_bg_fig picture img,
#food_deals_of_the_week .product-card .card_bg_fig .fed-card-media img,
#food_deals_of_the_week .product-card .card_bg_fig .fed-card-media picture img,
#fed_campaign_page .product-card .card_bg_fig img,
#fed_campaign_page .product-card .card_bg_fig picture img,
#fed_campaign_page .product-card .card_bg_fig .fed-card-media img,
#fed_campaign_page .product-card .card_bg_fig .fed-card-media picture img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    background: transparent;
}

#food_deals_of_the_week .product-card .card_bg_fig .price,
#fed_campaign_page .product-card .card_bg_fig .price {
    position: static;
    margin: 0 0 12px;
}

#food_deals_of_the_week .product-card h5,
#fed_campaign_page .product-card h5 {
    flex: 1 1 auto;
    min-height: 4.05em;
    margin: 12px 15px 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

#food_deals_of_the_week .product-card h5 a,
#fed_campaign_page .product-card h5 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#food_deals_of_the_week .product-card .actions,
#fed_campaign_page .product-card .actions,
.food_services_category_item .product-card .actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 15px 15px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

#food_deals_of_the_week .product-card .actions .action-btn,
#fed_campaign_page .product-card .actions .action-btn,
.food_services_category_item .product-card .actions .action-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
}

#food_deals_of_the_week .product-card .actions button.action-btn,
#fed_campaign_page .product-card .actions button.action-btn,
.food_services_category_item .product-card .actions button.action-btn {
    appearance: none;
    -webkit-appearance: none;
}

#food_deals_of_the_week .product-card .actions .action-buy,
#fed_campaign_page .product-card .actions .action-buy,
.food_services_category_item .product-card .actions .action-buy {
    background-color: #39b54a;
}

#food_deals_of_the_week .product-card .actions .action-quote,
#fed_campaign_page .product-card .actions .action-quote,
.food_services_category_item .product-card .actions .action-quote {
    background-color: #0b5ed7;
}

#food_deals_of_the_week .product-card .actions .action-compare,
#fed_campaign_page .product-card .actions .action-compare,
.food_services_category_item .product-card .actions .action-compare {
    background-color: #c62828;
}

#food_deals_of_the_week .product-card .actions .action-btn:hover,
#fed_campaign_page .product-card .actions .action-btn:hover,
.food_services_category_item .product-card .actions .action-btn:hover {
    filter: brightness(0.92);
    color: #fff !important;
}

@media (max-width: 991px) {
    #food_deals_of_the_week .fed-home-deals-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #fed_campaign_page .fed-home-deals-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #fed_campaign_page .fed-campaign-wide-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 575px) {
    #food_deals_of_the_week .fed-home-deals-row,
    #fed_campaign_page .fed-home-deals-row {
        grid-template-columns: 1fr;
    }
}

/* Campaign “See More” page header */
#fed_campaign_page {
    padding-top: 8px;
}

#fed_campaign_page .fed-campaign-wide-container {
    max-width: 1680px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

#fed_campaign_page .fed-home-deals-row {
    gap: 24px;
}

#fed_campaign_page .fed-home-deals-row .product-card {
    overflow: hidden;
    min-width: 0;
}

#fed_campaign_page .product-card .card_bg_fig {
    overflow: hidden;
}

#fed_campaign_page .product-card .card_bg_fig .price {
    flex-wrap: wrap !important;
    white-space: normal !important;
    justify-content: center;
    row-gap: 4px;
    column-gap: 6px;
    font-size: 13px;
    line-height: 1.35;
    padding: 10px 8px;
    overflow: visible;
}

#fed_campaign_page .product-card .card_bg_fig .price del,
#fed_campaign_page .product-card .card_bg_fig .price span {
    white-space: normal !important;
}

#fed_campaign_page .fed-campaign-page-header {
    margin-bottom: 28px;
    text-align: center;
}

#fed_campaign_page .fed-campaign-page-header h2 {
    margin-bottom: 18px;
}

#fed_campaign_page .fed-campaign-page-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#fed_campaign_page .fed-campaign-page-count {
    color: #666;
    font-size: 14px;
}

#fed_campaign_page .fed-campaign-page-search {
    display: flex;
    align-items: stretch;
    min-width: 240px;
    max-width: 360px;
    margin-left: auto;
}

#fed_campaign_page .fed-campaign-page-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 999px 0 0 999px;
    padding: 10px 16px;
    font-size: 14px;
}

#fed_campaign_page .fed-campaign-page-search button {
    border: 0;
    border-radius: 0 999px 999px 0;
    background: #0b5ed7;
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
}

@media (max-width: 767px) {
    #fed_campaign_page .fed-campaign-page-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    #fed_campaign_page .fed-campaign-page-search {
        max-width: none;
        margin-left: 0;
    }

    #fed_campaign_page .fed-campaign-wide-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 6 – Solutions hex flip section (engagebp-style) */
#fed_solutions_section {
    background: #f2f2f2;
}

#fed_solutions_section .fed-solutions-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
}

#fed_solutions_section .fed-solutions-copy {
    flex: 0 0 38%;
    max-width: 420px;
    min-width: 0;
}

#fed_solutions_section .fed-solutions-copy h2 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #111;
}

#fed_solutions_section .fed-solutions-copy h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

#fed_solutions_section .fed-solutions-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

#fed_solutions_section .fed-solutions-hint {
    margin-top: 18px !important;
    font-size: 14px !important;
    color: #777 !important;
    font-style: italic;
}

#fed_solutions_section .fed-solutions-detail {
    animation: fedSolutionsDetailIn 0.35s ease;
}

#fed_solutions_section .fed-solutions-detail.is-hidden {
    display: none;
}

#fed_solutions_section .fed-solutions-intro.is-hidden {
    display: none;
}

#fed_solutions_section .fed-solutions-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: none;
    color: #ea4636;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

#fed_solutions_section .fed-solutions-detail-back:hover,
#fed_solutions_section .fed-solutions-detail-back:focus-visible {
    color: #c73a2c;
    outline: none;
    text-decoration: underline;
}

#fed_solutions_section .fed-solutions-detail-label {
    margin: 0 0 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ea4636 !important;
}

#fed_solutions_section .fed-solutions-detail h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
}

#fed_solutions_section .fed-solutions-detail-text {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #333 !important;
}

@keyframes fedSolutionsDetailIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#fed_solutions_section .fed-solutions-hex-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: 0;
    --hex-width: 168px;
    --hex-height: calc(var(--hex-width) * 1.1547);
}

#fed_solutions_section .fed-solutions-hex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
}

#fed_solutions_section .fed-solutions-hex-row--offset {
    margin-top: calc(var(--hex-height) * -0.25);
    padding-left: calc(var(--hex-width) / 2 + 7px);
}

#fed_solutions_section .fed-hex-tile {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    text-decoration: none;
    color: inherit;
    outline: none;
    cursor: pointer;
    width: var(--hex-width);
    height: var(--hex-height);
    perspective: 900px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

#fed_solutions_section .fed-hex-tile.is-active {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 14px rgba(234, 70, 54, 0.35));
}

#fed_solutions_section .fed-hex-tile.is-active .fed-hex-front::after {
    background: rgba(234, 70, 54, 0.45);
}

#fed_solutions_section .fed-hex-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s ease;
}

#fed_solutions_section .fed-hex-tile:hover .fed-hex-flip,
#fed_solutions_section .fed-hex-tile:focus-visible .fed-hex-flip,
#fed_solutions_section .fed-hex-tile.is-flipped .fed-hex-flip {
    transform: rotateY(180deg);
}

#fed_solutions_section .fed-hex-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
}

#fed_solutions_section .fed-hex-front img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#fed_solutions_section .fed-hex-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

#fed_solutions_section .fed-hex-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 88%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

#fed_solutions_section .fed-hex-back {
    transform: rotateY(180deg);
    background: #ea4636;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fed_solutions_section .fed-hex-more {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@media (max-width: 1199px) {
    #fed_solutions_section .fed-solutions-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    #fed_solutions_section .fed-solutions-copy {
        flex: none;
        max-width: none;
        width: 100%;
    }

    #fed_solutions_section .fed-solutions-hex-grid {
        --hex-width: 140px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    #fed_solutions_section .fed-solutions-hex-grid {
        --hex-width: 120px;
    }

    #fed_solutions_section .fed-solutions-hex-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    #fed_solutions_section .fed-solutions-hex-row--offset {
        margin-top: 0;
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    #fed_solutions_section .fed-solutions-copy h2 {
        font-size: 32px;
    }

    #fed_solutions_section .fed-solutions-detail h2 {
        font-size: 24px;
    }

    #fed_solutions_section .fed-solutions-hex-grid {
        --hex-width: 100px;
    }

    #fed_solutions_section .fed-hex-title {
        font-size: 11px;
    }

    #fed_solutions_section .fed-hex-more {
        font-size: 12px;
    }
}

/* 7 – Why Choose The FED (homepage — matches about-us design) */
#fed_why_choose_section .why-choose-section {
    width: 100%;
    margin: 0 auto 60px;
    padding: 50px 120px;
    border-radius: 8px;
}

#fed_why_choose_section .why-choose-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 700;
    color: #000;
}

#fed_why_choose_section .why-choose-intro {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

#fed_why_choose_section .why-choose-read-more-wrap {
    text-align: center;
    margin-bottom: 25px;
}

#fed_why_choose_section .why-choose-read-more-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #111;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#fed_why_choose_section .why-choose-read-more-btn:hover,
#fed_why_choose_section .why-choose-read-more-btn:focus-visible {
    background: #ea4636;
    border-color: #ea4636;
    outline: none;
}

#fed_why_choose_section .why-choose-details.is-collapsed {
    display: none;
}

#fed_why_choose_section .why-choose-details {
    animation: fedWhyChooseIn 0.35s ease;
}

#fed_why_choose_section .why-choose-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

#fed_why_choose_section .why-choose-list li {
    margin-bottom: 30px;
    padding-left: 0;
    text-align: left;
}

#fed_why_choose_section .why-choose-list li:last-child {
    margin-bottom: 0;
}

#fed_why_choose_section .why-choose-number {
    font-weight: 700;
    color: #000;
    margin-right: 5px;
}

#fed_why_choose_section .why-choose-title {
    font-weight: 700;
    color: #000;
    display: inline;
    font-size: 15px;
}

#fed_why_choose_section .why-choose-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-top: 8px;
    display: block;
}

#fed_why_choose_section .why-choose-conclusion {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-top: 25px;
    text-align: left;
}

@keyframes fedWhyChooseIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    #fed_why_choose_section .why-choose-section {
        padding: 50px 40px;
    }
}

@media (max-width: 767px) {
    #fed_why_choose_section .why-choose-section {
        padding: 40px 20px;
        width: 100%;
    }
}

/* 8 – View More content blocks (hidden by default; no JS required) */
#foodContent.food-content-collapsed .food_services_contents {
    display: none !important;
}

#foodContent:not(.food-content-collapsed) .food_services_contents {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding-bottom: 20px;
}

.food_services_content_sec .fed-content-heading-with-toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
}

.food_services_content_sec .fed-view-more-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px 22px;
    border-radius: 4px;
    background: #0066cc;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.food_services_content_sec .fed-view-more-inline:hover,
.food_services_content_sec .fed-view-more-inline:focus-visible {
    background: #0052a3;
    color: #fff;
    outline: none;
}

@media (max-width: 767px) {
    .food_services_content_sec .fed-content-heading-with-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}

.product-thumb picture,
.product-thumb picture img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 9 – Blog grid: 4 per row, load more reveals next rows */
.blog_card_sec .fed-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.blog_card_sec .fed-blog-card {
    width: 100%;
    height: 100%;
    min-width: 0;
}

.blog_card_sec .fed-blog-card.fed-blog-hidden {
    display: none;
}

.blog_card_sec .fed-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
}

.fed-blog-load-more-wrap {
    text-align: center;
    margin-top: 24px;
}

.fed-blog-load-more-btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    border-radius: 4px;
    background-color: #ea4636;
    color: #fff;
    cursor: pointer;
}

.fed-blog-load-more-btn:hover {
    filter: brightness(0.92);
}

@media (max-width: 1199px) {
    .blog_card_sec .fed-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .blog_card_sec .fed-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog cards: no underlines on excerpt, title, or READ MORE links */
.blog_card_sec .fed-blog-card a,
.blog_card_sec .card a,
.food_services_blog .fed-blog-card a,
.food_services_blog a,
.blog_newmain_all .card a,
.blog_newmain_all .card-title a,
.blog_newmain_all .card h3 a,
.blog_newmain_all .card h5 a,
.blog_newmain_all .card .read-more,
.home-blog-slider .blog-post,
.home-blog-slider .blog-post a,
.home-blog-slider .post-title,
.home-blog-slider .post-title a,
.fed-blog-card a,
.fed-blog-content a {
    text-decoration: none !important;
}

.blog_card_sec .fed-blog-card a:hover,
.blog_card_sec .card a:hover,
.food_services_blog .fed-blog-card a:hover,
.food_services_blog a:hover,
.blog_newmain_all .card a:hover,
.home-blog-slider .blog-post:hover,
.home-blog-slider .post-title a:hover,
.fed-blog-card a:hover {
    text-decoration: none !important;
}

/* 8 – Section headers match legacy site weight */
.page_title h2,
.search-section.page_title h2,
.food_services_blog_title h2,
.food_services_equipment_title h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 9–10 – Footer layout & contact links (self-contained – no storage/frontend/style.css) */
footer {
    background: #000;
    color: #fff;
    overflow: hidden;
}

footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px 24px;
    max-width: 100%;
    padding-top: 56px !important;
    padding-bottom: 0 !important;
}

footer .footer-column {
    flex: 1 1 180px;
    min-width: 0;
}

footer .footer-column h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-transform: uppercase;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-links li:last-child {
    margin-bottom: 0;
}

footer .footer-links a,
footer .footer-links li a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    color: #fff;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45;
    text-decoration: none;
    padding-left: 0 !important;
    transition: none !important;
}

footer .footer-links,
footer .contact-info {
    padding-top: 0 !important;
}

footer .footer-links a:hover {
    color: #ea4636;
    padding-left: 0 !important;
}

footer .footer-links i {
    font-size: 11px;
}

footer .payment-icons p {
    margin: 0 0 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

footer .payment-icons img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
}

/* Ship cards above footer */
#fed_ship_services_section {
    position: relative;
    z-index: 2;
    margin-bottom: -72px;
}

#fed_ship_services_section .ship_card_sec {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#fed_ship_services_section .ship_card1 {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 20px 22px;
    border: 1px solid #5094d6;
    border-radius: 10px;
    background: #5094d6;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#fed_ship_services_section .ship_card1:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    color: #fff;
}

#fed_ship_services_section .ship_card1.card2_bg {
    background: #5094d6;
    border-color: #5094d6;
    color: #fff;
}

#fed_ship_services_section .ship_card1.card2_bg:hover {
    color: #fff;
}

#fed_ship_services_section .ship_card1_fig {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fed_ship_services_section .ship_card1_fig img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#fed_ship_services_section .ship_card1_content h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

#fed_ship_services_section .ship_card1_content span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.92;
}

@media (max-width: 991px) {
    #fed_ship_services_section {
        margin-bottom: -48px;
    }

    #fed_ship_services_section .ship_card_sec {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    footer .footer-container {
        padding-top: 40px !important;
    }

    #fed_ship_services_section {
        margin-bottom: 0;
    }
}

/* 9–10 – Footer balance & contact links */
.footer-container {
    align-items: flex-start;
}

.footer-column.footer-logo img {
    max-height: 100px;
    width: auto;
}

.footer-column.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-column.footer-logo > img {
    display: block;
    margin: 0 0 8px;
}

.footer-column.footer-logo p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-column.footer-logo .payment-icons {
    margin-top: 4px;
}

.footer-column.footer-logo .payment-icons p {
    margin-bottom: 8px;
}

.footer-column .contact-info {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.footer-column .contact-info > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-column .contact-info > li:last-child {
    margin-bottom: 0;
}

.footer-column .contact-info .contact-info-icon {
    flex: 0 0 22px;
    width: 22px;
    text-align: center;
    line-height: 1.4;
    margin-top: 2px;
}

.footer-column .contact-info .contact-info-icon i {
    font-size: 16px;
}

footer .footer-column .contact-info > li,
.footer-column .contact-info > li {
    font-size: 15px !important;
    list-style: none;
}

.footer-column .contact-info a,
.footer-column .contact-info .contact-info-text {
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.45;
}

.footer-column .contact-info a:hover {
    text-decoration: underline;
    color: #ea4636;
}

.footer-social-links {
    margin-top: 18px;
}

.footer-social-title {
    display: block;
    margin-bottom: 10px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-icons a,
.footer-social-links .footer-social-icons a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    color: #111 !important;
    text-decoration: none !important;
    position: relative;
    overflow: visible;
    margin: 0 !important;
}

.footer-social-icons a::before,
.footer-social-links a::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

.footer-social-icons a i {
    position: relative;
    z-index: 1;
    color: #111 !important;
    font-size: 16px;
}

.footer-social-icons a:hover,
.footer-social-links .footer-social-icons a:hover {
    transform: translateY(-2px);
    background-color: #ea4636 !important;
    color: #fff !important;
}

.footer-social-icons a:hover i {
    color: #fff !important;
}

.footer-container {
    padding-bottom: 0 !important;
}

.footer-partners {
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, 86px);
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.footer-partners a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 62px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-partners a:hover {
    transform: translateY(-2px);
    border-color: rgba(234, 70, 54, 0.65);
}

.footer-container .footer-bottom {
    flex: 0 0 100%;
    width: 100%;
    margin: 28px 0 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-partners img,
footer .footer-container .footer-partners img,
.contact-info .footer-partners img {
    height: auto !important;
    max-height: 46px !important;
    width: auto !important;
    max-width: 70px !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
}

.footer-bottom {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 575px) {
    .footer-column.footer-logo {
        align-items: center;
    }

    .footer-partners {
        grid-template-columns: repeat(3, 76px);
        justify-content: center;
        gap: 8px;
    }

    .footer-partners a {
        width: 76px;
        height: 56px;
        padding: 7px;
    }

    .footer-partners img,
    footer .footer-container .footer-partners img,
    .contact-info .footer-partners img {
        max-width: 62px !important;
        max-height: 40px !important;
    }
}

.footer-bottom p {
    margin: 0;
    width: 100%;
    text-align: center !important;
}

/* 11 – Catalog / category Read More (keeps original HTML & fonts) */
.catalog-desc {
    position: relative;
}

.catalog-desc.is-collapsed {
    padding-right: 90px;
    min-height: 3em;
}

.catalog-desc .desc-heading {
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.catalog-desc .desc-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 3em;
    font-size: 16px;
}

.catalog-desc:not(.is-collapsed) .catalog-desc-toggle--more {
    display: none;
}

.catalog-desc.is-collapsed .catalog-desc-toggle--more {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 12px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 40%);
}

.catalog-desc-toggle {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.catalog-desc-toggle:hover {
    text-decoration: underline;
}

.catalog-desc-toggle--less {
    display: none;
    margin-top: 8px;
}

.fed-catalog-desc,
.fed-catalog-desc * {
    font-family: inherit !important;
}

.catalog-desc .desc-heading,
.catalog-desc h1,
.catalog-desc h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
}

.catalog-desc p,
.catalog-desc li {
    font-size: 16px;
    line-height: 1.6;
}

/* 11–13 – Catalog / shop layout */
.catalog-layout-wrap {
    max-width: 1720px;
}

.page-title .breadcrumbs {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-title .breadcrumbs > li {
    display: inline-block;
    padding: 5px 0;
    color: #888;
    font-size: 13px;
    vertical-align: middle;
}

.page-title .breadcrumbs > li.separator {
    margin: 0 6px;
    color: #505050;
}

.page-title .breadcrumbs > li.separator::before {
    content: "/";
}

.shop-top-filter-wrapper {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px;
}

.shop-top-filter-wrapper .sptfl {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.quickFilter {
    display: inline-block;
    position: relative;
}

.quickFilter .quickFilter-title {
    display: inline-block;
    min-width: 150px;
    margin: 0 20px 0 0;
    height: 46px;
    line-height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    color: #505050;
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    cursor: pointer;
}

.quickFilter #quick_filter {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    display: block;
    width: 220px;
    margin: 0;
    padding: 10px 15px;
    list-style: none;
    background: #fff;
    border-top: 2px solid #ea4636;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.quickFilter:hover #quick_filter,
.quickFilter:focus-within #quick_filter {
    visibility: visible;
    opacity: 1;
}

#quick_filter li {
    margin: 0;
    padding: 0;
}

#quick_filter li a {
    display: block;
    padding: 6px 0;
    color: #505050;
    text-decoration: none;
}

.shop-sorting {
    display: flex;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-sorting .form-control {
    max-width: 220px;
}

.shop-top-filter-wrapper .shop-view {
    text-align: right;
}

.shop-top-filter-wrapper .shop-view .list-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #505050;
    text-decoration: none;
}

#main_div .product-card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

#main_div .product-thumb {
    position: relative;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

#main_div .product-thumb .fed-product-thumb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

#main_div .product-thumb picture,
#main_div .product-thumb .fed-product-thumb-link picture {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

#main_div .product-thumb img,
#main_div .product-thumb picture img,
#main_div .product-thumb > img,
#main_div .product-thumb .fed-product-thumb-link > img,
#main_div .product-thumb .fed-product-thumb-link picture img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    background: transparent;
    transform: none;
}

#main_div .product-card.product-list .product-thumb {
    width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    aspect-ratio: 1 / 1;
}

#main_div .product-card-body {
    padding: 15px 15px 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

#main_div .product-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.35;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#main_div .product-title a {
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.35;
    display: block;
    color: #232323;
    text-decoration: none !important;
}

#main_div .product-category a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

#main_div .product-card-footer {
    margin-top: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding: 12px 15px 14px;
    background: #1a1a1a;
    color: #fff;
}

#main_div .product-brand-sku {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

#main_div .product-brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#main_div .product-sku {
    flex: 0 0 auto;
    white-space: nowrap;
    opacity: 0.95;
}

#main_div .product-price {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

#main_div .product-price del {
    color: rgba(255, 255, 255, 0.72);
    margin-right: 6px;
    font-weight: 600;
}

#main_div .product-price .product-price-monthly {
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 4px;
}

#main_div .product-card.product-list .product-card-body {
    padding: 15px;
}

#main_div .product-card.product-list .product-card-footer {
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    border-radius: 4px;
}

#main_div .product-card.product-list .sort_details_show {
    margin-top: 10px;
}

/* Catalog product hover actions (wishlist / compare / quote / cart) */
#main_div .product-card .product-button-group .product-button,
.product-card .product-button-group .product-button {
    background-color: #232323 !important;
    color: #fff !important;
}

#main_div .product-card .product-button-group .product-button:hover,
.product-card .product-button-group .product-button:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

#main_div .product-card .product-button-group .product-button > i,
.product-card .product-button-group .product-button > i {
    color: #fff !important;
}

/* Category landing (heating_it_up template) */
.fed-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1720px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.fed-services .service-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    text-align: center;
}

.fed-services .service-card.service-card-link {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fed-services .service-card.service-card-link:hover,
.fed-services .service-card.service-card-link:focus-visible {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
    outline: none;
}

.fed-services .service-card .service-img-wrap {
    width: 100%;
    max-width: 180px;
    height: 140px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.fed-services .service-card .service-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.fed-services .service-card h1,
.fed-services .service-card h2 {
    font-size: 1.15rem;
    margin: 0 0 10px;
    line-height: 1.3;
}

.fed-services .service-card > a {
    color: #377dff;
    text-decoration: none;
}

.fed-services .service-card > a:hover h1,
.fed-services .service-card > a:hover h2,
.fed-services .service-card.service-card-link:hover > a {
    color: #2a62c9;
}

.fed-services .service-card .subcategory-description {
    pointer-events: none;
}

.fed-services .feature-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    text-align: left;
}

.fed-services .feature-list li {
    margin: 0 0 6px;
}

.fed-services .feature-list a {
    color: #377dff;
    text-decoration: none;
    font-size: 14px;
}

.childcategory-grid {
    margin-bottom: 24px;
}

.childcategory-grid-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px;
    text-transform: uppercase;
    color: #333;
}

.childcategory-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.childcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 16px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.childcategory-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
    color: #333;
}

.childcategory-card-img-wrap {
    width: 100%;
    max-width: 180px;
    height: 160px;
    margin: 0 auto 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #fff, 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.childcategory-card-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.childcategory-card-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: auto;
}

@media (max-width: 767px) {
    .childcategory-grid-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .shop-top-filter-wrapper .sptfl {
        display: block;
    }

    .shop-sorting {
        margin-top: 12px;
    }

    .shop-top-filter-wrapper .shop-view {
        text-align: center;
        margin-top: 12px;
    }
}

/* Out of stock badge on product images – white text, keep grey background */
.product-badge.bg-secondary.text-body {
    color: #fff !important;
}

/* 14–24 – Product detail page */
.padding-bottom-1x.mb-1 > .row:first-child {
    align-items: flex-start;
}

.details-page-top-right-content {
    align-items: flex-start !important;
}

.p-title-main {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
}

.fed-product-details,
.fed-product-details p,
.fed-product-details li {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

/* Clearance WP imports: kill grey page fills without touching CTA buttons */
.fed-product-details,
.fed-product-details *:not(.fed-pdf-download-btn):not(.btn),
.fed-product-tabs .fed-product-tabs__body,
.fed-product-tabs .fed-product-tabs__body *:not(.fed-pdf-download-btn):not(.btn) {
    background: transparent !important;
    background-color: transparent !important;
}

.fed-product-details [style*="font-size"] {
    line-height: inherit;
}

.fed-product-details--summary {
    color: #444;
    margin-bottom: 1rem;
}

.fed-product-details .fed-product-subtitle,
.fed-product-details p.fed-product-subtitle {
    color: #21759b;
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 0.75rem;
}

.fed-product-details ul,
.fed-product-details ol,
.fed-product-details .fed-product-feature-list {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.fed-product-details ul li,
.fed-product-details .fed-product-feature-list li {
    list-style: disc;
    margin-bottom: 0.35rem;
}

.fed-product-details .fed-product-shipping-note {
    margin: 0.75rem 0 0;
    font-size: 15px;
    line-height: 1.45;
}

.fed-product-details .fed-product-shipping-note strong {
    font-weight: 700;
}

.fed-product-details--full ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.fed-product-details--full ul li {
    list-style: disc;
    margin-bottom: 0.35rem;
}

.fed-product-details--full p.fed-spec-line,
.fed-product-spec-tab p.fed-spec-line,
.fed-product-spec-panel p.fed-spec-line {
    text-align: center;
    margin-bottom: 0.35rem;
}

.fed-product-spec-tab,
.fed-product-spec-panel {
    padding: 0.5rem 0 1rem;
}

.fed-product-details--full .fed-pdf-button-wrap {
    text-align: center;
    margin: 1rem 0;
}

.fed-product-details--full .fed-pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background-color: #0b5ed7;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.fed-product-details--full .fed-pdf-download-btn:hover {
    filter: brightness(0.92);
    color: #fff !important;
}

.fed-product-details--full .fed-collapsible-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.fed-product-details em,
.fed-product-details i {
    font-style: italic;
}

.fed-product-details a.fed-product-read-more,
.fed-product-details a.scroll-to {
    color: #21759b;
    font-weight: 600;
}

.fed-product-details strong,
.fed-product-details b {
    font-weight: 700;
}

.fed-product-details h2,
.fed-product-details h3,
.fed-product-details h4 {
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-gallery .gallery-wrapper.video-btn {
    display: none;
}

.main-price {
    font-weight: 700;
}

.price-area small {
    font-size: 0.85em;
    color: #666;
}

/* Product page: action buttons inline (qty left, buttons in a row) */
.details-page-top-right-content .p-action-button {
    display: inline-block;
    vertical-align: bottom;
}

.details-page-top-right-content .p-action-button .btn,
.details-page-top-right-content .p-action-button a.btn {
    display: inline-block;
    vertical-align: middle;
    width: auto;
}

/* Quote button: same hover sweep as Add to Cart / Buy Now (btn-primary ::before) */
.p-action-button .btn.action-quote.quote-this-product,
.p-action-button a.action-compare.product_compare {
    position: relative;
    overflow: hidden;
}

.p-action-button .btn.action-compare,
.p-action-button a.action-compare {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
}

.p-action-button .btn.action-compare span,
.p-action-button a.action-compare span {
    color: #fff !important;
}

.p-d-f-area .a2a_kit a {
    cursor: pointer;
}

.comparison-table th {
    font-weight: 600;
    width: 35%;
}

#specification .comparison-table tbody th {
    width: 35%;
    vertical-align: top;
    font-weight: 600;
}

#specification .comparison-table tbody td {
    vertical-align: top;
}

.container.padding-bottom-1x.mb-1 {
    max-width: 1400px;
}

/* 20 – Quote button hover on home cards */
.product-card .actions form {
    width: 100%;
    margin: 0;
}

.product-card .actions .action-btn {
    width: 100%;
    box-sizing: border-box;
}

.product-card .actions button.action-btn {
    border: 0;
}

.action-btn.action-quote:hover,
.product-button-group .quote-this-product:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* 25–27 – Checkout cart items */
.checkut-page .widget-featured-products .entry-thumb img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.checkut-page .widget-featured-products .entry-title,
.checkut-page .widget-featured-products .entry-title a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

/* 29 – Quote page product preview */
.quote-product-item .product-thumb img,
table .product-item .product-thumb img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
}

table .product-item .product-title,
table .product-item .product-title a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
}

table .product-item .product-info {
    max-width: none;
}

/* Quote request page: keep btn-primary label above hover sweep */
.container.padding-bottom-3x .btn.btn-primary span,
.container.padding-bottom-3x.mb-1 .btn.btn-primary span {
    position: relative;
    z-index: 1;
    color: #fff !important;
}

/* FAQ page — WordPress-style accordion */
.fed-faq-page {
    padding-bottom: 2rem;
}

.fed-faq-page h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.fed-faq-accordion .fed-faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

.fed-faq-header {
    width: 100%;
    text-align: left;
    background: #f5f5f5;
    border: none;
    padding: 14px 48px 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #222;
    position: relative;
    cursor: pointer;
    scroll-margin-top: 88px;
}

.fed-faq-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
}

.fed-faq-header:not(.collapsed)::after {
    content: '\2212';
}

.fed-faq-body {
    background: #fff;
    padding: 20px;
}

.fed-faq-intro {
    margin-bottom: 2rem;
}

.fed-faq-intro h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.25rem 0 0.75rem;
}

/* Product page redesign – sticky gallery, header, accordion */
.fed-product-page {
    align-items: flex-start;
}

@media (min-width: 992px) {
    .fed-product-page__gallery-col {
        position: sticky;
        top: var(--fed-sticky-offset);
        z-index: 2;
        align-self: flex-start;
    }
}

.fed-product-page .product-thumbnails {
    position: relative;
}

.fed-product-page .product-details-slider .owl-nav {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fed-product-page .product-thumbnails:hover .product-details-slider .owl-nav,
.fed-product-page .product-details-slider .owl-nav:hover {
    opacity: 1;
}

.fed-product-page .product-details-slider .owl-nav div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 3;
    font-size: 0;
}

.fed-product-page .product-details-slider .owl-nav div i,
.fed-product-page .product-details-slider .owl-nav div span {
    display: none !important;
}

.fed-product-page .product-details-slider .owl-nav .owl-prev::before,
.fed-product-page .product-details-slider .owl-nav .owl-next::before {
    font-family: feather;
    font-size: 18px;
    line-height: 42px;
}

.fed-product-page .product-details-slider .owl-nav .owl-prev::before {
    content: '\e92f';
}

.fed-product-page .product-details-slider .owl-nav .owl-next::before {
    content: '\e930';
}

.fed-product-page .product-details-slider .owl-nav .owl-prev {
    left: 8px;
}

.fed-product-page .product-details-slider .owl-nav .owl-next {
    right: 8px;
}

/* owl autoHeight can lock the stage to a pre-image-load height and crop the
   photo; let the stage follow the (already max-height-capped) slide instead */
.fed-product-page .product-details-slider .owl-stage-outer.owl-height {
    height: auto !important;
}

/* Consistent main-photo frame so every PDP fills the same visual area */
.fed-product-page .product-details-slider .item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    height: min(65vh, 520px);
    min-height: 400px;
    max-height: min(70vh, 560px);
}

.fed-product-page .fed-product-image-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
}

/* Nested as .owl-item > .item > a > img — theme rule `.owl-item > img` does not apply */
.fed-product-page .fed-product-image-lightbox img,
.fed-product-page .product-details-slider .item > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto;
    object-fit: contain !important;
    cursor: zoom-in;
}

/* Legacy hover-zoom overlays must never cover the main photo */
.fed-product-page .product-details-slider .item img.zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.fed-product-page .product-thumbnails .owl-thumbs .owl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fed-product-image-popup.mfp-bg {
    z-index: 2500;
}

.fed-product-image-popup.mfp-wrap {
    z-index: 2501;
}

.fed-product-image-popup.mfp-wrap .mfp-container {
    padding: 60px 12px 24px;
}

.fed-product-image-popup .mfp-img {
    max-height: 85vh;
    max-width: min(96vw, 1200px);
    width: auto;
    height: auto;
    padding: 0;
}

.fed-product-image-popup .mfp-figure::after {
    box-shadow: none;
}

.fed-product-image-popup .mfp-close {
    color: #fff;
    opacity: 1;
    font-size: 2rem;
    font-weight: 700;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 10px;
    right: 10px;
    position: fixed;
    z-index: 2502;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fed-product-image-popup .mfp-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.fed-product-image-popup .mfp-img {
    transition: transform 0.2s ease;
}

.fed-product-image-popup.fed-mfp-zoomed .mfp-img {
    cursor: zoom-out;
}

.fed-mfp-zoom {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 999px;
    z-index: 2503;
    user-select: none;
    -webkit-user-select: none;
}

.fed-mfp-zoom__btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.fed-mfp-zoom__btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
}

.fed-mfp-zoom__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.fed-mfp-zoom__level {
    min-width: 52px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Document (PDF) popup overlay */
.fed-doc-popup.mfp-bg {
    z-index: 2500;
}

.fed-doc-popup.mfp-ready .mfp-container {
    padding: 0;
}

.fed-doc-popup .mfp-iframe-scaler {
    width: 100%;
    height: 100vh;
    padding: 60px 0 0;
    overflow: hidden;
}

.fed-doc-popup .mfp-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fed-doc-popup.mfp-wrap {
    z-index: 2501;
}

.fed-doc-popup .mfp-close {
    color: #fff;
    opacity: 1;
    font-size: 2rem;
    font-weight: 700;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 10px;
    right: 10px;
    position: fixed;
    z-index: 2502;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fed-doc-popup .mfp-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.fed-product-meta__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 15px;
    line-height: 1.4;
}

.fed-product-meta__label {
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.fed-product-meta__value {
    color: #444;
}

.fed-product-meta__value a {
    font-weight: 600;
}

.fed-product-meta__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fed-product-meta__brand-logo {
    max-height: 32px;
    max-width: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.fed-product-price-row {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fed-product-monthly-price {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.35rem 0.65rem;
    background: #fff3cd;
    color: #333;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fed-product-monthly-price:hover,
.fed-product-monthly-price:focus-visible {
    background: #ffe69c;
    border-color: #ffda6a;
    color: #333;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 218, 106, 0.45);
}

.fed-product-monthly-price__icon {
    font-size: 0.95rem;
    color: #856404;
}

.modal {
    z-index: 9200;
}

.modal-backdrop {
    z-index: 9100;
}

.fed-finance-modal__product {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.fed-finance-modal__price {
    font-weight: 700;
    color: #222;
}

.fed-finance-modal__monthly {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background: #fff3cd;
    color: #333;
    font-weight: 600;
    border-radius: 4px;
}

.fed-finance-modal__calculator iframe {
    display: block;
    width: 100%;
    min-height: 690px;
    border: 0;
    background: #fff;
}

.fed-finance-modal__fallback {
    margin: 12px 0 0;
    font-size: 0.82rem;
    text-align: center;
    color: #777;
}

.fed-finance-modal__fallback a {
    color: #1e7e34;
    text-decoration: underline;
}

.fed-finance-modal__estimate {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    height: 100%;
}
.fed-finance-modal__estimate-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.fed-finance-modal__field {
    margin-bottom: 0.85rem;
}

.fed-finance-modal__label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

.fed-finance-modal__input {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.fed-finance-modal__input:focus {
    border-color: #1e7e34;
    box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.15);
    outline: none;
}

.fed-finance-modal__prefill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #e8f5ec;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
}

.fed-finance-modal__prefill-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.fed-finance-modal__prefill-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #256029;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fed-finance-modal__prefill-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14532d;
}

.fed-finance-modal__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #1e7e34;
    border: 1px solid #1e7e34;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.fed-finance-modal__copy:hover:not(:disabled),
.fed-finance-modal__copy:focus-visible:not(:disabled) {
    background: #155724;
    outline: none;
}

.fed-finance-modal__copy:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.fed-finance-modal__copy.is-copied {
    background: #155724;
    border-color: #155724;
}

.fed-finance-modal__prefill-hint {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.78rem;
    color: #4f7a5a;
}

.fed-finance-modal__amount {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1e7e34;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.fed-finance-modal__amount-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #1e7e34;
}

.fed-finance-modal__monthly-equiv {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.fed-finance-modal__disclaimer {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #868e96;
}

.fed-finance-modal__contact {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e7e34;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .fed-finance-modal__calculator iframe {
        min-height: 560px;
    }

    #fedFinanceCalculatorModal .modal-dialog {
        margin: 0.5rem;
    }
}

.fed-product-quick-meta {
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #333;
}

.fed-product-quick-meta__row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
}

.fed-product-quick-meta__icon {
    width: 20px;
    color: #1a5f7a;
    display: inline-flex;
    justify-content: center;
}

.fed-product-quick-meta__text {
    flex: 1;
}

/* Product page horizontal tabs */
.fed-product-tabs .nav-tabs {
    border-bottom: 2px solid #e5e5e5;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fed-product-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.fed-product-tabs .nav-tabs .nav-item {
    margin: 0;
    flex-shrink: 0;
}

.fed-product-tabs .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.fed-product-tabs .nav-tabs .nav-link:hover {
    color: #1a5f7a;
    border-bottom-color: #adb5bd;
}

.fed-product-tabs .nav-tabs .nav-link.active {
    color: #1a5f7a;
    background: transparent;
    border: none;
    border-bottom: 2px solid #1a5f7a;
    font-weight: 700;
}

.fed-product-tabs .nav-tabs .nav-link:focus,
.fed-product-tabs .nav-tabs .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.fed-product-tabs .tab-content {
    padding: 1.25rem 0 0;
}

.fed-product-tabs__body {
    padding: 0;
}

.fed-product-tabs__empty {
    margin: 0;
    color: #6c757d;
    font-size: 0.9375rem;
}

.fed-product-documents__group + .fed-product-documents__group {
    margin-top: 1rem;
}

.fed-product-documents__heading {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
}

.fed-product-documents .fed-pdf-button-wrap {
    margin-bottom: 0.5rem;
}

.fed-product-documents .fed-pdf-button-wrap:last-child {
    margin-bottom: 0;
}

/* Keep the product information column aligned with the gallery on desktop. */
@media (min-width: 768px) {
    .fed-product-page {
        align-items: stretch;
    }

    .fed-product-page__info-col {
        display: flex;
    }

    .fed-product-page__info {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .fed-product-page__info > .div {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .fed-product-tabs {
        width: 100%;
    }
}

.fed-product-brand-about {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e5e5;
}

.fed-product-brand-about h3 {
    margin: 0 0 0.75rem;
    color: #1a5f7a;
    font-size: 1rem;
    font-weight: 700;
}

.fed-product-brand-about__description {
    color: #333;
    line-height: 1.6;
}

.fed-product-brand-about__name {
    margin-bottom: 0;
    color: #333;
    font-weight: 700;
}

.fed-product-brand-about__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.fed-product-brand-about__logo {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.fed-product-brand-about__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.9rem;
    color: #333;
    font-size: 0.9375rem;
}

.fed-product-brand-about__facts i {
    width: 1.1rem;
    color: #1a9ca6;
    text-align: center;
}

.fed-product-spec-table {
    margin-bottom: 0;
}

.fed-product-spec-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.fed-product-spec-table tbody th {
    width: 38%;
    font-weight: 600;
    vertical-align: top;
}

.fed-product-spec-table tbody td {
    vertical-align: top;
}

.fed-product-spec-panel--table .fed-product-spec-table {
    width: 100%;
}

/* Mega menu subcategory title colours by root category */
.header_megabar .menu > ul > li.menu-cat-heating-it-up .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-heating-it-up .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-heating-it-up .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-heating-it-up .sub-menu.mega-menu .list-item h4.title a {
    color: #dc3545 !important;
}

.header_megabar .menu > ul > li.menu-cat-prepping-for-perfection .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-prepping-for-perfection .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-prepping-for-perfection .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-prepping-for-perfection .sub-menu.mega-menu .list-item h4.title a {
    color: #28a745 !important;
}

.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu .list-item h4.title a,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title a,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu .list-item h4.title a,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-kitchen-building-design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title a,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu .list-item h4.title a,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-Building---Design .sub-menu.mega-menu-column-6 > .mega-menu-column > .list-item h4.title a {
    color: #7b1fa2 !important;
}

.header_megabar .menu > ul > li.menu-cat-clearance .sub-menu.mega-menu .list-item .title,
.header_megabar .menu > ul > li.menu-cat-clearance .sub-menu.mega-menu .list-item h4.title,
.header_megabar .menu > ul > li.menu-cat-clearance .sub-menu.mega-menu .list-item .title a,
.header_megabar .menu > ul > li.menu-cat-clearance .sub-menu.mega-menu .list-item h4.title a {
    color: #ca8a04 !important;
}

/* Site-wide: remove link underlines (Bootstrap 5.3 defaults + theme gaps) */
body a,
body a:hover,
body a:focus {
    text-decoration: none;
}

.header_megabar a,
.header_megabar .list-item ul li a,
.header_megabar .list-item h4.title a,
.header_megabar .sub-menu a,.product-card a,
.product-card .product-title > a,
.product-card .product-category > a,
.product-card h5 a,
.widget-categories a,
.left-category-area a,
.category-list a,
.navi-link,
.food_category_sec a,
.fed-home-products-row a,
.fed-category-products-row a,
.food_services_category_item .product-card a,
#main_div .product-title a,
#main_div .product-category a,
table .product-item .product-title a,
.shopping-cart .product-item .product-title a,
.wishlist-table .product-item .product-title a,
.order-table .product-item .product-title a,
.checkut-page .widget-featured-products .entry-title a,
.site-menu a,
.menu-main > li > a,
.comparison-table .comparison-item-title a,
.popular-category a,
.entry-title > a,
.widget-featured-products .entry-title a,
.blog_card_sec a,
.food_services_blog a,
.fed-blog-card a,
.blog_newmain_all a,
.home-blog-slider a,
.post-title > a {
    text-decoration: none !important;
}

/* Keep underlines only where they help readability */
.catalog-desc-toggle,
.catalog-desc-toggle:hover,
.footer-column .contact-info a:hover,
.admin-quick-bar__text-link:hover,
.fed-home-notice__dismiss,
#fed_solutions_section .fed-solutions-detail-back:hover,
.fed-product-details a:hover,
.post-content a:hover,
.page-default-wrap a:hover {
    text-decoration: underline;
}

/* Desktop nav: force full-width justify space-between (wins over legacy gap:50px) */
@media (min-width: 1281px) {
    header .header_megabar .container-fluid,
    header .header_megabar .row.v-center {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    /* Neutralize Bootstrap .row > * { width: 100%; flex-shrink: 0 } */
    header .header_megabar .row.v-center > .header-item {
        width: auto !important;
        max-width: none !important;
        flex-shrink: 1 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    header .header_megabar .row.v-center > .header-item.item-center {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    header .header_megabar .row.v-center > .header-item.item-search {
        display: none !important;
    }

    header .header_megabar .row.v-center > .header-item.item-right {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    header .header_megabar .menu {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    header .header_megabar .menu > ul.menu-main,
    header .header_megabar ul.menu-main {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        gap: 0 !important;
        column-gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    header .header_megabar .menu > ul.menu-main > li,
    header .header_megabar ul.menu-main > li {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    header .header_megabar .menu > ul.menu-main > li > a,
    header .header_megabar ul.menu-main > li > a {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 5px;
    }

    header .header_megabar.foodservice_pad_lr {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    header .header_megabar.foodservice_pad_lr {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

/* Wishlist – Amazon-style cards: image left, details stacked right */
.fed-wishlist-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fed-wishlist-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.fed-wishlist-card__remove {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #666;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none !important;
}

.fed-wishlist-card__remove:hover {
    color: #dc3545;
}

.fed-wishlist-card__image {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.fed-wishlist-card__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.fed-wishlist-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-right: 24px; /* keep clear of the remove button */
}

.fed-wishlist-card__name {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.fed-wishlist-card__name:hover {
    color: #0066b5;
}

.fed-wishlist-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.fed-wishlist-card__monthly {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.fed-wishlist-card__stock--in {
    color: #28a745;
    font-weight: 500;
    font-size: 13px;
}

.fed-wishlist-card__stock--out {
    color: #dc3545;
    font-weight: 500;
    font-size: 13px;
}

.fed-wishlist-card__buy {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 20px;
    background: #28a745;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
}

.fed-wishlist-card__buy:hover {
    background: #218838;
}

@media (max-width: 575px) {
    .fed-wishlist-card {
        padding: 12px;
        gap: 12px;
    }

    .fed-wishlist-card__image {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
    }

    .fed-wishlist-card__buy {
        width: 100%;
        text-align: center;
    }
}

/* Quote page – "Return to shop" button must never clip its label */
.quote-return-btn {
    white-space: normal;
    max-width: 100%;
    height: auto;
    line-height: 1.4;
}

.quote-return-btn > span {
    white-space: normal;
}

@media (max-width: 767px) {
    .quote-return-btn {
        display: block;
        width: 100%;
    }
}

/* Backdrop behind the open filter drawer; tapping it closes the drawer */
.catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9905; /* just below .sidebar-offcanvas (9910) */
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.catalog-filter-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Catalog filter drawer (mobile offcanvas + sticky Filter) */
@media (max-width: 991px) {
    .catalog-filter-drawer.sidebar-offcanvas {
        display: flex !important;
        flex-direction: column;
        padding: 56px 20px 0 !important;
        overflow: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-filter-drawer .sidebar-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 5;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #505050;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .catalog-filter-drawer .sidebar-close .icon-x {
        display: block;
        line-height: 1;
    }

    .catalog-filter-drawer .widget:first-child {
        margin-top: 0;
        padding-top: 1.25rem !important;
    }

    .catalog-filter-drawer .widget:first-child .widget-title {
        margin-top: 0;
        padding-top: 0;
    }

    .catalog-filter-drawer__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-bottom: 12px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .catalog-filter-drawer__body::-webkit-scrollbar {
        display: none;
    }

    .catalog-filter-drawer__footer {
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        z-index: 3;
        margin: 0 -20px;
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    }

    .catalog-filter-drawer__footer .catalog-filter-apply,
    .catalog-filter-drawer__footer #price_filter {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 600;
    }
}

@media (min-width: 992px) {
    .catalog-filter-drawer {
        display: flex;
        flex-direction: column;
    }

    .catalog-filter-drawer__body {
        flex: 1 1 auto;
    }

    .catalog-filter-drawer__footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin-top: 12px;
        padding: 12px 0 4px;
        background: #fff;
        border-top: 1px solid #e5e5e5;
    }

    .catalog-filter-drawer__footer .catalog-filter-apply,
    .catalog-filter-drawer__footer #price_filter {
        width: 100%;
        min-height: 44px;
        font-size: 15px;
        font-weight: 600;
    }

    .catalog-filter-drawer .sidebar-close {
        display: none !important;
    }
}

.widget-categories ul > li.has-children > .category-expand-toggle {
    position: absolute;
    left: -2px;
    top: -2px;
    z-index: 2;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.widget-categories ul > li.has-children > .category-expand-toggle:focus-visible {
    outline: 2px solid #333;
    outline-offset: 1px;
}

.catalog-filter-drawer .price-range-slider .ui-range-slider-footer > .column:first-child {
    width: 100%;
    padding-left: 0;
    text-align: left;
}

/*
 * Price filter range: keep handles inset from the drawer edges and enlarge
 * the tap targets so min/max thumbs are usable on mobile.
 */
.catalog-filter-drawer .price-range-slider {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 14px;
}

.catalog-filter-drawer .price-range-slider .ui-range-slider,
.catalog-filter-drawer .price-range-slider .noUi-target {
    margin: 0;
}

.catalog-filter-drawer .price-range-slider .noUi-horizontal {
    height: 4px;
}

.catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-handle {
    width: 28px;
    height: 28px;
    top: -12px;
    left: -14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    cursor: grab;
    -webkit-tap-highlight-color: transparent;
}

.catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-handle::before {
    content: "";
    position: absolute;
    top: -14px;
    right: -14px;
    bottom: -14px;
    left: -14px;
}

.catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-handle:active,
.catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-active {
    cursor: grabbing;
}

.catalog-filter-drawer .price-range-slider .noUi-connect {
    background: #111;
}

@media (max-width: 991px) {
    .catalog-filter-drawer .price-range-slider {
        padding-left: 18px;
        padding-right: 18px;
    }

    .catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-handle {
        width: 32px;
        height: 32px;
        top: -14px;
        left: -16px;
    }

    .catalog-filter-drawer .price-range-slider .noUi-horizontal .noUi-handle::before {
        top: -16px;
        right: -16px;
        bottom: -16px;
        left: -16px;
    }
}

@media (max-width: 768px) {
    .banner-slider__slide {
        padding-left: 20px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .banner-slider .banner-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        text-align: center !important;
    }

    .banner-slider .banner-content h1,
    .banner-slider .banner-content .banner-slide-title {
        font-size: 22px;
    }

    .banner-slider .banner-content p {
        font-size: 14px;
    }

    .fed-slider-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fed-slider-btn {
        white-space: normal;
        text-align: center;
        font-size: 13px;
        padding: 8px 14px;
    }

    .fed-slider-pill {
        font-size: 12px;
    }

    .fed-slider-deal-card {
        padding: 8px;
    }

    .fed-slider-deal-card strong {
        font-size: 12px;
    }

    .fed-slider-deal-card del,
    .fed-slider-deal-card span {
        font-size: 13px;
    }
}

/* Highlight & discount badges: square, stacked on left – match product page look */
.product-card .product-badge.hl-badge {
    position: absolute;
    border-radius: 3px !important;
    left: 0 !important;
    right: auto !important;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 9;
    white-space: nowrap;
}

.product-card .product-badge.product-badge2.hl-badge {
    left: 0 !important;
    right: auto !important;
    border-radius: 3px !important;
    background: #daa520 !important;
    color: #fff !important;
}

/* Structured mega menus: flex layout for any resolved column count.
   .mega-menu-structured is added only by WordPressMenuStructure::megaMenuColumnClassFor()
   for JSON-driven menus that render inside .mega-menu-column wrappers, so plain
   column-4 menus (no wrappers) keep the theme's original layout.
   Desktop-only: on mobile the drawer owns the layout (see the <=1280px block below),
   and this flex rule must never fight it for space. */
@media (min-width: 992px) {
    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] {
        max-width: 100%;
        width: 95%;
        display: flex;
        flex-wrap: nowrap;
        padding: 20px 15px;
        align-items: flex-start;
    }

    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] > .mega-menu-column {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 6px;
    }

    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] > .mega-menu-column > .list-item {
        padding: 0 0 18px;
    }

    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] > .mega-menu-column > .list-item:last-child {
        padding-bottom: 0;
    }

    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] > .mega-menu-column > .list-item .title {
        font-size: 16px;
        color: #377dff;
        font-weight: 500;
        line-height: 1;
        padding: 10px 0;
    }

    .header_megabar .menu > ul > li .sub-menu.mega-menu.mega-menu-structured[class*="mega-menu-column-"] > .mega-menu-column > .list-item img {
        max-width: 100%;
        width: 100%;
        height: 130px;
        object-fit: contain;
        margin: 8px 0 10px;
    }
}

/* Mobile drawer (<=1280px): sub-menus stay hidden until the drawer JS adds .active.
   Kept in this file so the rule rides the ?v=filemtime cache-buster and applies even
   when the browser is still holding a cached copy of the HTML document. */
@media (max-width: 1280px) {
    .header_megabar .menu > ul > li .sub-menu {
        display: none !important;
    }

    .header_megabar .menu > ul > li .sub-menu.active {
        display: block !important;
    }
}
