/* =========================================================
   Custom Home Page - Gearbox Auto Parts
   Scoped CSS for template-home-custom.php
   ========================================================= */

/* Woodmart layout fix only for this custom template */
body.page-template-template-home-custom .wd-content-layout,
body.page-template-template-home-custom .site-content,
body.page-template-template-home-custom .content-layout-wrapper {
    --wd-col-lg: 1 !important;
    --wd-col-md: 1 !important;
    --wd-col-sm: 1 !important;
}

body.page-template-template-home-custom .main-page-wrapper,
body.page-template-template-home-custom .site-content,
body.page-template-template-home-custom .custom-home {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   Base
   ========================================================= */

.custom-home {
    --cfh-primary: #ff653f;
    --cfh-primary-light: #ffc85c;
    --cfh-dark: #1e104e;
    --cfh-secondary: #452e5a;
    --cfh-bg: transparent;
    --cfh-white: #ffffff;
    --cfh-text: #222222;
    --cfh-muted: #666666;
    --cfh-border: rgb(225,225,225);
    --cfh-soft-orange: #fff3ee;
    --cfh-shadow: 0 10px 30px rgba(78, 74, 86, 0.10);
    --cfh-shadow-strong: 0 18px 50px rgba(64, 60, 74, 0.14);
    --cfh-radius: 22px;

    background: var(--cfh-bg);
    color: var(--cfh-text);
}

.custom-home *,
.custom-home *::before,
.custom-home *::after {
    box-sizing: border-box;
}

.custom-home a {
    text-decoration: none;
}

.custom-home button,
.custom-home input,
.custom-home select,
.custom-home textarea {
    font-family: inherit;
}

.custom-home img {
    max-width: 100%;
    height: auto;
}

.custom-home .cfh-container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0;
    direction: rtl;
}

.custom-home .cfh-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   Hero Layer: Category + Slider
   ========================================================= */

.custom-home .cfh-hero-layer {
    position: relative;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    overflow: visible;
}

/* Wrapper for shortcode category */
.custom-home .cfh-category-shortcode {
    position: relative;
    z-index: 50;
    width: 100%;
}

/* Compatibility for old category markup */
.custom-home .cfh-category-card {
    position: relative;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    background: var(--cfh-white);
    border-radius: var(--cfh-radius);
    padding: 16px;
    box-shadow: none;
    z-index: 30;
}

.custom-home .cfh-category-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    color: var(--cfh-dark);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cfh-border);
}

.custom-home .cfh-category-heading i {
    color: var(--cfh-primary);
}

.custom-home .cfh-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-home .cfh-category-item + .cfh-category-item {
    border-top: 1px solid #f1f1f1;
}

.custom-home .cfh-category-link {
    width: 100%;
    min-height: 50px;
    padding: 0 6px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-size: 14px;
    transition: 0.2s ease;
}

.custom-home .cfh-category-link:hover,
.custom-home .cfh-category-link:focus,
.custom-home .cfh-category-item.is-active .cfh-category-link {
    color: var(--cfh-primary);
    background: var(--cfh-soft-orange);
    padding-right: 12px;
    padding-left: 12px;
    outline: none;
}

.custom-home .cfh-category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-home .cfh-category-info i {
    color: var(--cfh-secondary);
}

.custom-home .cfh-category-link:hover .cfh-category-info i,
.custom-home .cfh-category-item.is-active .cfh-category-info i {
    color: var(--cfh-primary);
}

/* Static mega menu shortcode compatibility */
.custom-home .cfh-category-shortcode .gpc-category-widget-static,
.custom-home .cfh-category-shortcode .gpc-category-widget-static .gpc-dropdown {
    width: 100%;
    max-width: none;
}

.custom-home .cfh-category-shortcode .gpc-category-widget-static .gpc-dropdown {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    gap: 3px;
}

.custom-home .cfh-category-shortcode .gpc-category-widget-static .gpc-category-card {
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    box-shadow: none;
}

.custom-home .cfh-category-shortcode .gpc-category-widget-static .gpc-mega-panel {
    box-shadow: none;
}

/* =========================================================
   Mega Menu Desktop
   ========================================================= */

.custom-home .cfh-mega-panel {
    position: absolute;
    top: 0;
    right: 310px;
    width: min(760px, calc(100% - 330px));
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    background: var(--cfh-white);
    border-radius: var(--cfh-radius);
    padding: 24px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    box-shadow: none;
    border: 1px solid rgba(255, 101, 63, 0.12);
    z-index: 90;
}

.custom-home .cfh-mega-panel.is-open {
    display: grid;
}

.custom-home .cfh-mega-col h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cfh-border);
    color: var(--cfh-dark);
    font-size: 15px;
    line-height: 1.8;
}

.custom-home .cfh-mega-col a {
    display: block;
    padding: 8px 0;
    color: var(--cfh-muted);
    font-size: 14px;
    line-height: 1.8;
    transition: 0.2s ease;
}

.custom-home .cfh-mega-col a:hover {
    color: var(--cfh-primary);
    transform: translateX(-4px);
}

.custom-home .cfh-mega-banner {
    grid-column: span 3;
    margin-top: 6px;
    border-radius: 18px;
    padding: 18px;
    background: radial-gradient(circle at left, rgba(255, 200, 92, 0.6), transparent 35%),
    linear-gradient(135deg, var(--cfh-soft-orange), #fff9e9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 101, 63, 0.12);
}

.custom-home .cfh-mega-banner strong {
    display: block;
    color: var(--cfh-dark);
    margin-bottom: 6px;
    font-size: 15px;
}

.custom-home .cfh-mega-banner span {
    color: var(--cfh-muted);
    font-size: 13px;
    line-height: 1.9;
}

.custom-home .cfh-mega-banner a {
    background: var(--cfh-primary);
    color: var(--cfh-white);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.custom-home .cfh-mega-banner a:hover {
    background: var(--cfh-dark);
}

.custom-home .cfh-mobile-mega {
    display: none;
}

/* =========================================================
   Hero Slider - Safe 880x500 Ratio
   ========================================================= */

.custom-home .cfh-slider-widget {
    width: 100%;
    min-width: 0;
}

.custom-home .cfh-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 880 / 500;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--cfh-shadow);
    background: radial-gradient(circle at 15% 20%, rgba(255, 200, 92, 0.28), transparent 26%),
    linear-gradient(135deg, var(--cfh-dark), var(--cfh-secondary) 45%, var(--cfh-primary));
}

.custom-home .cfh-main-swiper,
.custom-home .cfh-hero-slider .swiper {
    width: 100%;
    height: 100%;
    aspect-ratio: 880 / 500;
    overflow: hidden;
    border-radius: inherit;
}

.custom-home .cfh-main-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.custom-home .cfh-main-swiper .swiper-slide {
    width: 100%;
    height: 100% !important;
}

.custom-home .cfh-hero-slide {
    position: relative;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
    color: var(--cfh-white);
    border-radius: inherit;
    background: #120d2e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 44px;
}

/* Decorative circle only for text/visual slides */
.custom-home .cfh-hero-slide:not(.cfh-hero-slide-has-bg)::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 200, 92, 0.24);
}

/* Image background slide */
.custom-home .cfh-hero-slide.cfh-hero-slide-has-bg {
    display: block !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden;
    background: #120d2e;
}

.custom-home .cfh-slide-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
}

.custom-home .cfh-slide-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
            90deg,
            rgba(10, 8, 30, 0.08) 0%,
            rgba(10, 8, 30, 0.34) 48%,
            rgba(10, 8, 30, 0.70) 100%
    );
}

.custom-home .cfh-slide-content {
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.custom-home .cfh-hero-slide-has-bg .cfh-slide-content {
    position: relative;
    z-index: 2;
    padding: 44px;
    max-width: 540px;
}

.custom-home .cfh-hero-slide-has-bg .cfh-slide-visual {
    display: none !important;
}

.custom-home .cfh-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    margin-bottom: 15px;
    color: var(--cfh-white);
}

.custom-home .cfh-badge i {
    width: 17px;
    height: 17px;
}

.custom-home .cfh-hero-slide h1,
.custom-home .cfh-hero-slide h2,
.custom-home .cfh-hero-slide h3,
.custom-home .cfh-hero-slide h4,
.custom-home .cfh-hero-slide h5,
.custom-home .cfh-hero-slide h6 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.55;
    font-weight: 900;
    color: var(--cfh-white);
}

.custom-home .cfh-hero-slide p {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 2.1;
    opacity: 0.94;
    color: var(--cfh-white);
}

.custom-home .cfh-slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-home .cfh-cta-btn,
.custom-home .cfh-primary-btn {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--cfh-primary-light);
    color: var(--cfh-dark);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s ease;
}

.custom-home .cfh-cta-btn:hover,
.custom-home .cfh-primary-btn:hover {
    transform: translateY(-2px);
    background: var(--cfh-white);
    color: var(--cfh-dark);
}

.custom-home .cfh-outline-btn {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    color: var(--cfh-white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s ease;
    font-size: 14px;
}

.custom-home .cfh-outline-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cfh-white);
}

.custom-home .cfh-slide-visual {
    position: relative;
    z-index: 2;
    width: 320px;
    height: 250px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.custom-home .cfh-gear-visual {
    width: 176px;
    height: 176px;
    border-radius: 50%;
    border: 26px solid var(--cfh-primary-light);
    position: relative;
    box-shadow: 0 20px 40px rgba(68, 64, 76, 0.16);
    animation: cfhRotateGear 14s linear infinite;
}

.custom-home .cfh-gear-visual::before {
    content: "";
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    background: var(--cfh-dark);
    border: 17px solid var(--cfh-white);
}

.custom-home .cfh-gear-visual::after {
    content: "";
    position: absolute;
    inset: -42px;
    background: linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) center top / 34px 44px no-repeat,
    linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) center bottom / 34px 44px no-repeat,
    linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) left center / 44px 34px no-repeat,
    linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) right center / 44px 34px no-repeat;
    border-radius: 50%;
}

@keyframes cfhRotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Swiper controls */
.custom-home .cfh-hero-slider .swiper-pagination {
    bottom: 22px;
    left: auto;
    right: 44px;
    width: auto;
    display: flex;
    gap: 8px;
}

.custom-home .cfh-hero-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: 0.2s ease;
}

.custom-home .cfh-hero-slider .swiper-pagination-bullet-active {
    width: 26px;
    background: var(--cfh-primary-light);
}

.custom-home .cfh-hero-slider .swiper-button-prev,
.custom-home .cfh-hero-slider .swiper-button-next {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--cfh-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.custom-home .cfh-hero-slider .swiper-button-prev::after,
.custom-home .cfh-hero-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: 900;
}

/* =========================================================
   Features
   ========================================================= */

.custom-home .cfh-features {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.custom-home .cfh-feature-card {
    background: var(--cfh-white);
    border-radius: 18px;
    padding: 16px;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-home .cfh-feature-icon {
    padding: 7px;
    border-radius: 14px;
    background: var(--cfh-soft-orange);
    color: var(--cfh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.cfh-feature-card svg[data-lucide] {
    width: 32px;
    height: 32px;
}
.custom-home .cfh-feature-card h6 {
    display: block;
    color: var(--cfh-dark);
    font-size: 14px;
    margin: 0 0 4px;
    line-height: 1.7;
    font-family: "body-font" !important;
}

.custom-home .cfh-feature-card p {
    color: var(--cfh-muted);
    font-size: 12px;
    margin: 0;
    line-height: 1.8;
}

/* =========================================================
   Advanced Filter
   ========================================================= */

.custom-home .cfh-advanced-filter {
    background: var(--cfh-white);
    border-radius: 20px;
    padding: 16px;
    margin-top: 20px;
    box-shadow: none;
    border: 1px solid rgba(255, 101, 63, 0.08);
}

.custom-home .cfh-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cfh-dark);
    font-weight: 800;
    margin-bottom: 14px;
}

.custom-home .cfh-filter-title i {
    color: var(--cfh-primary);
}

.custom-home .cfh-filter-form {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.4fr auto;
    gap: 12px;
    align-items: center;
}

.custom-home .cfh-filter-form input {
    max-width: stretch;
    max-width: -moz-available;
    max-width: -webkit-fill-available;
}

.custom-home .cfh-filter-field {
    position: relative;
}

.custom-home .cfh-filter-field i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cfh-secondary);
    pointer-events: none;
    z-index: 3;
}

.custom-home .cfh-filter-field svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cfh-secondary);
    pointer-events: none;
    z-index: 3;
}

.custom-home .cfh-filter-field select,
.custom-home .cfh-filter-field input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--cfh-border);
    border-radius: 14px;
    background: #fafafa;
    color: var(--cfh-text);
    outline: none;
    font-size: 14px;
    padding: 0 44px 0 12px;
    transition: 0.2s ease;
}

.custom-home .cfh-filter-field select {
    appearance: none;
    cursor: pointer;
}

.custom-home .cfh-filter-field select:focus,
.custom-home .cfh-filter-field input:focus {
    border-color: var(--cfh-primary);
    background: var(--cfh-white);
    box-shadow: 0 0 0 4px rgba(188, 110, 82, 0.09);
}

.custom-home .cfh-filter-field .select2-container {
    width: 100% !important;
    direction: rtl;
    position: relative;
    /*z-index: 2;*/
}

.custom-home .cfh-filter-field .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid var(--cfh-border);
    border-radius: 14px;
    background: #fafafa;
    outline: none;
    transition: 0.2s ease;
}

.custom-home .cfh-filter-field .select2-container--default.select2-container--focus .select2-selection--single,
.custom-home .cfh-filter-field .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--cfh-primary);
    background: var(--cfh-white);
    box-shadow: 0 0 0 4px rgba(188, 110, 82, 0.09);
}

.custom-home .cfh-filter-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 48px;
    line-height: 48px;
    padding-right: 44px;
    padding-left: 36px;
    color: var(--cfh-text);
    font-size: 14px;
    text-align: right;
}

.custom-home .cfh-filter-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--cfh-text);
}

.custom-home .cfh-filter-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 10px;
    right: auto;
    height: 48px;
}

.custom-home .cfh-filter-field .select2-container--default .select2-selection--single .select2-selection__clear {
    float: left;
    margin-left: 24px;
    margin-right: 0;
}

.custom-home .cfh-filter-field .select2-dropdown {
    border-color: var(--cfh-border);
    border-radius: 14px;
    overflow: hidden;
    direction: rtl;
}

.custom-home .cfh-filter-field .select2-search--dropdown {
    padding: 8px;
}

.custom-home .cfh-filter-field .select2-search--dropdown .select2-search__field {
    height: 40px;
    border: 1px solid var(--cfh-border);
    border-radius: 10px;
    padding: 0 12px;
    text-align: right;
}

.custom-home .cfh-filter-field .select2-results__option {
    padding: 9px 12px;
    font-size: 14px;
    text-align: right;
}

.custom-home .cfh-filter-field .select2-results__option--highlighted[aria-selected] {
    background: var(--cfh-primary);
    color: var(--cfh-white);
}

.custom-home .cfh-filter-submit {
    height: 48px;
    border: none;
    border-radius: 14px;
    padding: 0 24px;
    background: var(--cfh-primary);
    color: var(--cfh-white);
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.custom-home .cfh-filter-submit:hover {
    background: var(--cfh-dark);
    transform: translateY(-2px);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .custom-home .cfh-hero-layer {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .custom-home .cfh-layer-category-title {
        width: 260px;
    }

    .custom-home .cfh-mega-panel {
        right: 280px;
        width: min(620px, calc(100% - 300px));
    }

    .custom-home .cfh-hero-slide h1,
    .custom-home .cfh-hero-slide h2,
    .custom-home .cfh-hero-slide h3 {
        font-size: 29px;
    }

    .custom-home .cfh-slide-visual {
        width: 250px;
    }

    .custom-home .cfh-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .custom-home .cfh-filter-submit {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .custom-home .cfh-layer-category-title {
        display: none;
    }

    .custom-home .cfh-hero-layer {
        display: flex;
        flex-direction: column-reverse; /* معکوس کردن ترتیب عمودی */
        gap: 20px;
    }

    .custom-home .cfh-category-card,
    .custom-home .cfh-category-shortcode .gpc-category-widget-static .gpc-category-card {
        height: auto;
        max-height: 400px;
        overflow: auto;
    }

    .custom-home .cfh-category-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .custom-home .cfh-category-item + .cfh-category-item {
        border-top: none;
    }

    .custom-home .cfh-mega-panel {
        display: none !important;
    }

    .custom-home .cfh-mobile-mega {
        display: none;
        margin: 8px 0 12px;
        padding: 14px;
        border-radius: 16px;
        background: #fafafa;
        border: 1px solid var(--cfh-border);
    }

    .custom-home .cfh-category-item.is-open .cfh-mobile-mega {
        display: block;
    }

    .custom-home .cfh-mobile-mega h3 {
        margin: 0 0 8px;
        color: var(--cfh-dark);
        font-size: 14px;
    }

    .custom-home .cfh-mobile-mega a {
        display: block;
        color: var(--cfh-muted);
        font-size: 13px;
        padding: 7px 0;
    }

    .custom-home .cfh-hero-slider {
        aspect-ratio: 880 / 500;
        height: auto !important;
        max-height: none !important;
    }

    .custom-home .cfh-hero-slide {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .custom-home .cfh-hero-slide:not(.cfh-hero-slide-has-bg) {
        padding: 34px;
    }

    .custom-home .cfh-hero-slide-has-bg {
        padding: 0 !important;
    }

    .custom-home .cfh-hero-slide-has-bg .cfh-slide-content {
        padding: 28px;
    }

    .custom-home .cfh-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .custom-home .cfh-container {
        width: calc(100% - 24px);
        padding: 14px 0;
    }

    .custom-home .cfh-category-card {
        border-radius: 18px;
        padding: 14px;
    }

    .custom-home .cfh-category-list {
        display: block;
    }

    .custom-home .cfh-category-item + .cfh-category-item {
        border-top: 1px solid #f1f1f1;
    }

    .custom-home .cfh-category-link:hover,
    .custom-home .cfh-category-link:focus,
    .custom-home .cfh-category-item.is-active .cfh-category-link {
        padding-right: 6px;
        padding-left: 6px;
    }

    .custom-home .cfh-hero-slider {
        aspect-ratio: 880 / 500;
        min-height: 210px;
        border-radius: 18px;
    }

    .custom-home .cfh-main-swiper,
    .custom-home .cfh-hero-slider .swiper {
        min-height: 210px;
    }

    .custom-home .cfh-hero-slide {
        height: 100% !important;
        min-height: 210px !important;
        max-height: none !important;
    }

    .custom-home .cfh-hero-slide.cfh-hero-slide-has-bg {
        display: block !important;
        padding: 0 !important;
        flex-direction: initial !important;
        text-align: initial !important;
    }

    .custom-home .cfh-hero-slide:not(.cfh-hero-slide-has-bg) {
        padding: 28px 18px 78px;
        flex-direction: column;
        text-align: center;
    }

    .custom-home .cfh-hero-slide-has-bg .cfh-slide-content {
        padding: 18px;
        max-width: 85%;
    }

    .custom-home .cfh-slide-bg-image {
        object-fit: cover;
        object-position: center center;
    }

    .custom-home .cfh-slide-bg-overlay {
        background: linear-gradient(
                90deg,
                rgba(10, 8, 30, 0.08) 0%,
                rgba(10, 8, 30, 0.25) 45%,
                rgba(10, 8, 30, 0.62) 100%
        );
    }

    .custom-home .cfh-hero-slide h1,
    .custom-home .cfh-hero-slide h2,
    .custom-home .cfh-hero-slide h3,
    .custom-home .cfh-hero-slide h4,
    .custom-home .cfh-hero-slide h5,
    .custom-home .cfh-hero-slide h6 {
        font-size: 23px;
    }

    .custom-home .cfh-hero-slide p {
        font-size: 14px;
        line-height: 2;
    }

    .custom-home .cfh-slide-visual {
        width: 210px;
        height: 170px;
    }

    .custom-home .cfh-gear-visual {
        width: 118px;
        height: 118px;
        border-width: 18px;
    }

    .custom-home .cfh-gear-visual::before {
        inset: 22px;
        border-width: 12px;
    }

    .custom-home .cfh-gear-visual::after {
        inset: -32px;
        background: linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) center top / 24px 34px no-repeat,
        linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) center bottom / 24px 34px no-repeat,
        linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) left center / 34px 24px no-repeat,
        linear-gradient(var(--cfh-primary-light), var(--cfh-primary-light)) right center / 34px 24px no-repeat;
    }

    .custom-home .cfh-hero-slider .swiper-button-prev,
    .custom-home .cfh-hero-slider .swiper-button-next {
        display: none;
    }

    .custom-home .cfh-hero-slider .swiper-pagination {
        right: 50%;
        transform: translateX(50%);
        bottom: 14px;
    }

    .custom-home .cfh-features {
        grid-template-columns: 1fr;
    }

    .custom-home .cfh-advanced-filter {
        border-radius: 16px;
        padding: 14px;
    }

    .custom-home .cfh-filter-form {
        grid-template-columns: 1fr;
    }

    .custom-home .cfh-filter-submit {
        grid-column: auto;
        width: 100%;
    }
}

/* =========================================================
   Slider Dynamic Colors + Animations
   ========================================================= */

.custom-home .cfh-hero-slide .cfh-badge {
    color: var(--slide-badge-color, #ffc85c);
    border-color: color-mix(in srgb, var(--slide-badge-color, #ffc85c) 45%, transparent);
}

.custom-home .cfh-hero-slide .cfh-badge i {
    color: var(--slide-badge-color, #ffc85c);
}

.custom-home .cfh-hero-slide h1,
.custom-home .cfh-hero-slide h2,
.custom-home .cfh-hero-slide h3,
.custom-home .cfh-hero-slide h4,
.custom-home .cfh-hero-slide h5,
.custom-home .cfh-hero-slide h6 {
    color: var(--slide-title-color, #ffffff);
}

.custom-home .cfh-hero-slide p {
    color: var(--slide-description-color, #ffffff);
}

@media screen and (max-width: 480px) {
    .custom-home .cfh-hero-slide p {
        display: none;
    }
    /*.custom-home .cfh-slide-actions {*/
    /*    display: none;*/
    /*}*/
}
.custom-home .cfh-cta-btn,
.custom-home .cfh-primary-btn,
.custom-home .cfh-outline-btn {
    animation: cfhButtonFadeUp 0.75s ease both;
    animation-delay: 0.42s;
}

.custom-home .cfh-cta-btn,
.custom-home .cfh-primary-btn {
    background: var(--button-bg-color, var(--cfh-primary-light));
    color: var(--button-text-color, var(--cfh-dark));
}

.custom-home .cfh-outline-btn {
    color: var(--button-text-color, #ffffff);
    border-color: var(--button-bg-color, rgba(255, 255, 255, 0.32));
}

.custom-home .cfh-outline-btn:hover,
.custom-home .cfh-cta-btn:hover,
.custom-home .cfh-primary-btn:hover {
    filter: brightness(1.08);
}

/* Text animations */
.custom-home .swiper-slide-active .cfh-badge {
    animation: cfhBadgeFadeDown 0.65s ease both;
}

.custom-home .swiper-slide-active .cfh-slide-content h1,
.custom-home .swiper-slide-active .cfh-slide-content h2,
.custom-home .swiper-slide-active .cfh-slide-content h3,
.custom-home .swiper-slide-active .cfh-slide-content h4,
.custom-home .swiper-slide-active .cfh-slide-content h5,
.custom-home .swiper-slide-active .cfh-slide-content h6 {
    animation: cfhTitleFadeUp 0.75s ease both;
    animation-delay: 0.12s;
}

.custom-home .swiper-slide-active .cfh-slide-content p {
    animation: cfhTextFadeUp 0.75s ease both;
    animation-delay: 0.26s;
}

.custom-home .swiper-slide-active .cfh-slide-actions {
    animation: cfhActionsFadeUp 0.75s ease both;
    animation-delay: 0.40s;
}

@keyframes cfhBadgeFadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cfhTitleFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes cfhTextFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 0.94;
        transform: translateY(0);
    }
}

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

@keyframes cfhButtonFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Respect accessibility */
@media (prefers-reduced-motion: reduce) {
    .custom-home .cfh-badge,
    .custom-home .cfh-slide-content h1,
    .custom-home .cfh-slide-content h2,
    .custom-home .cfh-slide-content h3,
    .custom-home .cfh-slide-content h4,
    .custom-home .cfh-slide-content h5,
    .custom-home .cfh-slide-content h6,
    .custom-home .cfh-slide-content p,
    .custom-home .cfh-slide-actions,
    .custom-home .cfh-cta-btn,
    .custom-home .cfh-primary-btn,
    .custom-home .cfh-outline-btn {
        animation: none !important;
        transition: none !important;
    }
}
.wd-fill{
    inset: unset !important;
}
/* =========================================================
   Shared Section Heading
   ========================================================= */
.custom-home .cfh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.custom-home .cfh-section-head__title h2 {
    margin: 6px 0 0;
    font-size: 28px;
    color: var(--cfh-dark);
}

.custom-home .cfh-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cfh-soft-orange);
    color: var(--cfh-primary);
    font-size: 13px;
    font-weight: 800;
}

.custom-home .cfh-section-head__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cfh-primary);
    font-weight: 700;
}

@media (max-width: 640px) {
    .custom-home .cfh-section-head__title h2 {
        font-size: 22px;
    }
}

/* =========================================================
   Layer 6 - Latest Products
   Scoped: Custom Home Only
   ========================================================= */

.custom-home .cfh-latest-products {
    margin-top: 30px;
}

.custom-home .cfh-latest-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.custom-home .cfh-latest-kicker {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--cfh-soft-orange);
    color: var(--cfh-primary);
    font-size: 12px;
    font-weight: 800;
}

.custom-home .cfh-latest-head h2 {
    margin: 8px 0 4px;
    color: var(--cfh-dark);
    font-size: 24px;
    font-weight: 900;
}

.custom-home .cfh-latest-head p {
    margin: 0;
    color: var(--cfh-muted);
    font-size: 13px;
}

.custom-home .cfh-latest-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.custom-home .cfh-latest-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cfh-primary);
    font-size: 13px;
    font-weight: 800;
}

.custom-home .cfh-latest-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-home .cfh-latest-nav button {
    /*width: 38px;*/
    /*height: 38px;*/
    border: 0;
    border-radius: 13px;
    background: #ffffff;
    color: var(--cfh-primary);
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-home .cfh-latest-nav button:hover {
    background: var(--cfh-primary);
    color: #ffffff;
}

.custom-home .cfh-latest-box {
    overflow: hidden;
    padding: 18px;
    border-radius: var(--cfh-radius);
    background:
            linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
    border: 1px solid rgba(255, 101, 63, 0.08);
    box-shadow: none;
}

.custom-home .cfh-latest-swiper {
    overflow: hidden;
}

.custom-home .cfh-latest-slide {
    height: auto;
}

.custom-home .cfh-latest-product-ul {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.custom-home .cfh-latest-product-ul > .wd-product {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Product card - latest only */
.custom-home .cfh-latest-product-ul .product-wrapper {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(30, 16, 78, 0.07);
    box-shadow: none;
    transition: 0.22s ease;
}

.custom-home .cfh-latest-product-ul .product-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 101, 63, 0.22);
    box-shadow: none;
}

.custom-home .cfh-latest-product-ul .product-element-top {
    overflow: hidden;
    background: #fff8f4;
}

.custom-home .cfh-latest-product-ul .product-element-top img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: 0.25s ease;
}

.custom-home .cfh-latest-product-ul .product-wrapper:hover .product-element-top img {
    transform: scale(1.035);
}

.custom-home .cfh-latest-product-ul .product-element-bottom {
    padding: 12px 12px 14px;
}

.custom-home .cfh-latest-product-ul .wd-entities-title {
    margin: 0 0 8px;
    min-height: 50px;
    font-size: 13px;
    line-height: 1.85;
    font-weight: 800;
}

.custom-home .cfh-latest-product-ul .wd-entities-title a {
    color: var(--cfh-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-home .cfh-latest-product-ul .wd-entities-title a:hover {
    color: var(--cfh-primary);
}

.custom-home .cfh-latest-product-ul .price,
.custom-home .cfh-latest-product-ul .price .amount {
    color: var(--cfh-primary);
    font-size: 14px;
    font-weight: 900;
}

.custom-home .cfh-latest-product-ul .wd-buttons {
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
}

.custom-home .cfh-latest-product-ul .wd-action-btn,
.custom-home .cfh-latest-product-ul .wd-action-btn > a {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 10px !important;
}

.custom-home .cfh-latest-product-ul .wd-action-btn > a::before {
    font-size: 13px !important;
    line-height: 28px !important;
}

/* Keep Woodmart card behavior, just make button cleaner */
.custom-home .cfh-latest-product-ul .add_to_cart_button {
    border-radius: 12px;
    text-wrap: nowrap;
}

@media (max-width: 640px) {
    .custom-home .cfh-latest-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .custom-home .cfh-latest-actions {
        width: 100%;
        justify-content: space-between;
    }

    .custom-home .cfh-latest-box {
        padding: 14px;
    }

    .custom-home .cfh-latest-head h2 {
        font-size: 21px;
    }
}
.woocommerce-product-details__short-description{
    display: none!important;
}
body .products .wd-product .wd-add-btn, body .wd-products .wd-product .wd-add-btn, body .product-grid-item.wd-product .wd-add-btn{
    padding: 0 10px;
}
/* =========================================================
   Layer Blog - Latest Posts
   ========================================================= */

.custom-home .cfh-blog-section {
    margin-top: 30px;
}

.custom-home .cfh-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: 18px;
    align-items: stretch;
    direction: ltr;
}

.custom-home .cfh-blog-featured,
.custom-home .cfh-blog-list-wrap {
    overflow: hidden;
    border-radius: var(--cfh-radius);
    background: #ffffff;
    border: 1px solid rgba(255, 101, 63, 0.08);
    box-shadow: none;
    direction: rtl;
}

.custom-home .cfh-blog-featured {
    display: grid;
    grid-template-rows: minmax(260px, 1fr) auto;
}

.custom-home .cfh-blog-featured__image,
.custom-home .cfh-blog-mini__image,
.custom-home .cfh-blog-placeholder {
    display: block;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #fff3ee, #fffaf7);
}

.custom-home .cfh-blog-featured__image img,
.custom-home .cfh-blog-mini__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.25s ease;
}

.custom-home .cfh-blog-featured:hover img,
.custom-home .cfh-blog-mini:hover img {
    transform: scale(1.035);
}

.custom-home .cfh-blog-placeholder {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cfh-primary);
}

.custom-home .cfh-blog-placeholder svg {
    width: 42px;
    height: 42px;
}

.custom-home .cfh-blog-featured__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.custom-home .cfh-blog-date {
    width: 58px;
    min-height: 68px;
    border-radius: 16px;
    background: var(--cfh-soft-orange);
    color: var(--cfh-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.custom-home .cfh-blog-date span {
    font-size: 24px;
    line-height: 1;
}

.custom-home .cfh-blog-date small {
    margin-top: 5px;
    font-size: 12px;
    text-transform: uppercase;
}

.custom-home .cfh-blog-featured h3,
.custom-home .cfh-blog-mini h3 {
    margin: 0;
    color: var(--cfh-dark);
    font-weight: 900;
    line-height: 1.8;
}

.custom-home .cfh-blog-featured h3 {
    font-size: 20px;
}

.custom-home .cfh-blog-featured h3 a,
.custom-home .cfh-blog-mini h3 a {
    color: inherit;
}

.custom-home .cfh-blog-featured h3 a:hover,
.custom-home .cfh-blog-mini h3 a:hover {
    color: var(--cfh-primary);
}

.custom-home .cfh-blog-featured p,
.custom-home .cfh-blog-mini p {
    color: var(--cfh-muted);
    line-height: 1.9;
}

.custom-home .cfh-blog-featured p {
    margin: 8px 0 12px;
    font-size: 13px;
}

.custom-home .cfh-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cfh-primary);
    font-size: 13px;
    font-weight: 800;
}

.custom-home .cfh-blog-list-wrap {
    position: relative;
    min-width: 0;
    padding: 18px;
}

.custom-home .cfh-blog-list-nav {
    position: absolute;
    left: 0px;
    z-index: 5;
    gap: 8px;
    width: 100%;
    right: 0;
    background-color: #fff;
    top: 0;
    padding: 6px;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.custom-home .cfh-blog-list-nav button {
    border: 0;
    border-radius: 12px;
    background: var(--cfh-soft-orange);
    color: var(--cfh-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-home .cfh-blog-list-nav button:hover {
    background: var(--cfh-primary);
    color: #ffffff;
}

.custom-home .cfh-blog-swiper {
    height: 460px;
    padding-top: 38px;
}

.custom-home .cfh-blog-mini {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    height: 124px;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fffaf7);
    border: 1px solid rgba(30, 16, 78, 0.06);
    overflow:hidden;
}

.custom-home .cfh-blog-mini__image {
    border-radius: 14px;
}

.custom-home .cfh-blog-mini__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-home .cfh-blog-mini time {
    margin-bottom: 5px;
    color: var(--cfh-primary);
    font-size: 11px;
    font-weight: 800;
}

.custom-home .cfh-blog-mini h3 {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-home .cfh-blog-mini p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0 0;
    font-size: 12px;
}

@media (max-width: 992px) {
    .custom-home .cfh-blog-grid {
        grid-template-columns: 1fr;
    }

    .custom-home .cfh-blog-swiper {
        padding-top: 44px;
    }
}

@media (max-width: 640px) {
    .custom-home .cfh-blog-featured {
        grid-template-rows: 220px auto;
    }

    .custom-home .cfh-blog-featured__body {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .custom-home .cfh-blog-date {
        width: max-content;
        min-height: auto;
        flex-direction: row;
        gap: 6px;
        padding: 8px 12px;
    }

    .custom-home .cfh-blog-featured h3 {
        font-size: 17px;
    }

    .custom-home .cfh-blog-list-wrap {
        padding: 14px;
    }

    .custom-home .cfh-blog-swiper {
        height: 390px;
        overflow: hidden;
        padding-top: 44px;
    }

    .custom-home .cfh-blog-swiper .swiper-wrapper {
        width: 100%;
    }

    .custom-home .cfh-blog-swiper .swiper-slide {
        width: 100% !important;
    }

    .custom-home .cfh-blog-mini {
        grid-template-columns: 96px minmax(0, 1fr);
        height: 116px;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .custom-home .cfh-blog-mini {
        grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
        min-height: 120px;
        height: auto;
    }

    .custom-home .cfh-blog-mini__image {
        width: 100%;
        max-width: 100px;
        height: 100px;
        max-height: 100px;
    }
}

/* =========================================================
   Wholesale Pricing Layer
   ========================================================= */

.custom-home .cfh-wholesale {
    --cfh-wholesale-panel: rgba(12, 18, 27, 0.92);
    --cfh-wholesale-text: #f7f9fc;
    --cfh-wholesale-muted: #aeb8c7;
    --cfh-wholesale-accent: #ff5a1f;
    --cfh-wholesale-accent-light: #ff8a45;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 30px;
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    color: var(--cfh-wholesale-text);
    background:
            linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent 40%),
            var(--cfh-wholesale-panel);
}

.custom-home .cfh-wholesale::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -330px;
    left: -260px;
    width: 520px;
    height: 520px;
    border: 2px solid rgba(255, 90, 31, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 90, 31, 0.25);
}

.custom-home .cfh-wholesale::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -190px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 90, 31, 0.08);
    filter: blur(12px);
}

.custom-home .cfh-wholesale__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.custom-home .cfh-wholesale__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 90, 31, 0.28);
    border-radius: 999px;
    color: #ffc2a6;
    background: rgba(255, 90, 31, 0.08);
    font-size: 14px;
    font-weight: 700;
}

.custom-home .cfh-wholesale h2 {
    margin: 0 0 14px;
    color: var(--cfh-wholesale-text);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.35;
    letter-spacing: -0.8px;
}

.custom-home .cfh-wholesale h2 span {
    color: var(--cfh-wholesale-accent-light);
}

.custom-home .cfh-wholesale p {
    max-width: 680px;
    margin: 0;
    color: var(--cfh-wholesale-muted);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 2;
}

.custom-home .cfh-wholesale__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 245px;
}

.custom-home .cfh-wholesale__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cfh-wholesale-accent), #e83f0a);
    box-shadow: 0 14px 35px rgba(255, 90, 31, 0.3);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-home .cfh-wholesale__call:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(255, 90, 31, 0.4);
}

.custom-home .cfh-wholesale__phone {
    color: #d8dee8;
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
    direction: ltr;
}

.custom-home .cfh-wholesale__phone:hover {
    color: var(--cfh-wholesale-accent-light);
}

.custom-home .cfh-wholesale__phone-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

@media (max-width: 760px) {
    .custom-home .cfh-wholesale {
        border-radius: 22px;
    }

    .custom-home .cfh-wholesale__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .custom-home .cfh-wholesale__actions {
        width: 100%;
        min-width: 0;
    }
}

.custom-home .cfh-html-block-section {
    margin-top: 30px;
}
.custom-home .home-banners{
    padding: 15px;
    overflow: hidden;
}
.custom-home .home-banners img{
    border-radius: 10px;
}
