/*
 Theme Name:   WDI Divi Child
 Theme URI:    https://welldoit.solutions
 Description:  Divi child theme for welldoit.solutions
 Author:       WDI
 Template:     Divi
 Version:      1.0.0
*/

/* ============================================================================
   GLOBAL STYLES
   ============================================================================ */

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes heartbeat {
    0%, 28%, 70%, 100% { transform: scale(1); }
    14%, 42% { transform: scale(1.3); }
}

/* ============================================================================
   BASE STYLES & RESET
   ============================================================================ */
body { margin: 0; padding: 0; }
h1, h2, h3, h4, p, a { margin: 0; padding: 0; }
ul { line-height: 22px; font-size: 18px; }
::marker { color: #C9A734; }

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
#main-content:not(#main-header) h1, #main-content:not(#main-header) h2,
#main-content:not(#main-header) h3, #main-content:not(#main-header) h4,
.et_pb_section h1, .et_pb_section h2, .et_pb_section h3, .et_pb_section h4,
section.hero-section h1, section.hero-section h2, section.hero-section h3, section.hero-section h4,
section.pricing-blocks h1, section.pricing-blocks h2, section.pricing-blocks h3, section.pricing-blocks h4,
section.wdi-solutions-section h1, section.wdi-solutions-section h2, section.wdi-solutions-section h3, section.wdi-solutions-section h4,
section.get-started-section h1, section.get-started-section h2, section.get-started-section h3, section.get-started-section h4,
section.hero-shop-sec h1, section.hero-shop-sec h2, section.hero-shop-sec h3, section.hero-shop-sec h4,
section.shop-body-l h1, section.shop-body-l h2, section.shop-body-l h3, section.shop-body-l h4,
section.cta-sec-pricing h1, section.cta-sec-pricing h2, section.cta-sec-pricing h3, section.cta-sec-pricing h4,
section.rs-hero-sec h1, section.rs-hero-sec h2, section.rs-hero-sec h3, section.rs-hero-sec h4,
section.hub-sec-main h1, section.hub-sec-main h2, section.hub-sec-main h3, section.hub-sec-main h4 {
    font-family: 'Girl From Nowhere', Helvetica, Arial, Lucida, sans-serif;
}

#main-content:not(#main-header) p, #main-content:not(#main-header) a,
.et_pb_section p, .et_pb_section a,
section.hero-section p, section.hero-section a,
section.pricing-blocks p, section.pricing-blocks a,
section.wdi-solutions-section p, section.wdi-solutions-section a,
section.hero-shop-sec p, section.hero-shop-sec a,
section.shop-body-l p, section.shop-body-l a,
section.cta-sec-pricing p, section.cta-sec-pricing a,
section.rs-hero-sec p, section.rs-hero-sec a,
section.hub-sec-main p, section.hub-sec-main a {
    font-family: 'Ysabeau SC regular', Helvetica, Arial, Lucida, sans-serif;
}

/* ============================================================================
   LAYOUT & CONTAINERS
   ============================================================================ */
.container-home { max-width: 100%; margin: auto; padding: 0 42px; }
.hero-text { display: flex; column-gap: 30px; }
.onee { width: 48%; position: relative; z-index: 5; }
.cta { width: 48%; }

/* ============================================================================
   HERO SECTION STYLES
   ============================================================================ */
section.hero-section {
    background-image: url('https://welldoit.solutions/wp-content/uploads/2026/01/28-1-1-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 0;
    padding-bottom: 70px;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
    margin-top: 0 !important;
}

/* Two columns in hero: left = .hero-primary (heading, search, CTA, phone), right = .faq-row (accordion/solutions).
   Responsive: stay 2 columns through tablet; stack to 1 column only at mobile (768px). */
section.hero-section .container-home {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    column-gap: 48px;
    row-gap: 20px;
    align-items: center !important;
}
section.hero-section .hero-primary {
    flex: 1 !important;
    min-width: 0;
    padding-right: 56px !important;
    padding-left: 56px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
section.hero-section .hero-primary .hero-heading-row {
    align-items: center !important;
}
section.hero-section .hero-primary .search-form,
section.hero-section .hero-primary .ux-search {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 480px !important;
}
section.hero-section .hero-primary .cta-button {
    width: 100% !important;
    max-width: 480px !important;
}
section.hero-section .faq-row {
    flex: 1 !important;
    min-width: 0;
    padding-left: 24px !important;
    box-sizing: border-box !important;
}
/* Desktop/tablet only: breathing room so left column sits level with right (floating in middle of hero). */
@media screen and (min-width: 981px) {
    section.hero-section .hero-primary {
        padding-top: 100px !important;
    }
}

section.hero-section .container-home,
section.hero-section .hero-text,
section.hero-section .onee,
section.hero-section .search-form,
section.hero-section a {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* Hero heading: line 1 = full text "Do What You Love, Everything Else..."; line 2 = logo only */
section.hero-section .hero-heading-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5em;
    max-width: 100%;
    min-width: 0;
}
section.hero-section h1.main-hero-h1 {
    font-size: var(--hero-h1-size, 48px) !important;
    line-height: 1.2;
    color: #fff;
    text-transform: capitalize;
    margin: 0;
    display: block !important;
    white-space: nowrap;
    transition: font-size 0.2s ease-out;
    text-align: center !important;
}
section.hero-section h1.main-hero-h1 .heart-beat {
    display: inline-block;
}
section.hero-section .hero-logo-wrap {
    display: block !important;
    line-height: 0;
}
section.hero-section .hero-logo-inline {
    max-height: var(--hero-logo-height, 200px) !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle !important;
    display: block !important;
    transition: max-height 0.2s ease-out;
}
/* Phone number: smooth responsive scaling (slightly larger) */
section.hero-section h1.hero-h1 {
    font-size: var(--hero-phone-size, 64px) !important;
    line-height: 1.1;
    color: #fff;
    margin-top: 60px;
    text-align: center;
    white-space: nowrap !important;
    max-width: 100%;
    min-width: 0;
    transition: font-size 0.2s ease-out;
}

span.YELO { color: #c9a734; }
.heart-beat { color: #ff0000; display: inline-block; animation: heartbeat 1.5s ease-in-out infinite; }

/* Search Form */
.search-form.inline { position: relative; z-index: 20; }
.ux-search.ux-search--size-md { display: flex; width: 100%; max-width: 80%; }
input#domainSearch { padding: 22px; width: 100% !important; max-width: 100% !important; }
button.search-form-button { background: #c9a734; border: none; }
.ux-field-frame--stretch { width: 100% !important; }

/* Hero CTA */
.cta-button { margin-top: 15px; width: 100%; position: relative; z-index: 20; }
a.cta-a-btn {
    display: block; width: 100%; background-color: #c9a734; padding: 25px 20px;
    text-align: center; border-radius: 4px; letter-spacing: 1px; font-size: 14px;
    font-weight: 700 !important; text-transform: uppercase; text-decoration: none;
    color: #ffffff; line-height: 1.5; transition: background-color 0.3s ease;
}
a.cta-a-btn:hover { background-color: #bfa030; }

/* ============================================================================
   FAQ SECTION STYLES
   ============================================================================ */
.faq-row { padding: 20px; width: 50%; }
.faq-row-st { background: #fff; padding: 30px; }
.faq-line-contet {
    position: relative; display: flex; justify-content: space-between;
    cursor: pointer; padding: 10px 0px; border-bottom: 1px solid #eee;
}
h2.faq-main-heading { font-size: 24px !important; line-height: 30px !important; margin: 0; }
.icon-arrow-faq {
    width: 25px; height: auto; transition: opacity 0.3s ease;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
}
.list-content-block {
    position: absolute; right: 0; top: 0.55em; transform: translateY(-20%);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
    background: #0B2342; border: 7px solid #C9A734; padding: 10px 15px;
    border-radius: 4px; z-index: 7825;
}
.faq-line-contet:hover .icon-arrow-faq { opacity: 0; visibility: hidden; }
.faq-line-contet:hover .list-content-block { opacity: 1; visibility: visible; }
.faq-new-ul { list-style: none; margin: 0; padding: 0; }
.faq-new-li { margin: 4px 0; font-size: 14px; color: #fff; }
.faq-new-a { text-decoration: none; color: #fff; border-bottom: 1px solid #C9A734; }

/* ============================================================================
   HOME BENEFITS EXPLAINER
   ============================================================================ */
.home-benefits-explainer {
    padding: 72px 0 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f4eb 100%);
    position: relative;
    z-index: 5;
}
.home-benefits-explainer__header {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}
.home-benefits-explainer__eyebrow {
    margin-bottom: 14px;
    color: #C9A734;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.home-benefits-explainer__title {
    margin-bottom: 18px !important;
}
section.home-benefits-explainer h2.home-benefits-explainer__title.section-title {
    color: #0B2342 !important;
}
.home-benefits-explainer__lead {
    max-width: 820px;
    margin: 0 auto;
    color: #1f3552;
    font-size: 18px;
    line-height: 1.9;
}
.home-benefits-explainer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.home-benefits-explainer__card {
    height: 100%;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid rgba(11, 35, 66, 0.08);
    border-top: 4px solid #C9A734;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(11, 35, 66, 0.08);
}
.home-benefits-explainer__card-title {
    margin-bottom: 14px;
    color: #0B2342;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}
.home-benefits-explainer__card-body {
    margin: 0;
    color: #223751;
    font-size: 15px;
    line-height: 1.9;
}

/* ============================================================================
   PRICING BLOCKS STYLES
   ============================================================================ */
section.pricing-blocks { padding: 70px 0px; position: relative; z-index: 10; }
h2.global-h2 { font-size: 40px; color: #C9A734; text-align: center; }
.block-flex { display: flex; justify-content: space-between; margin-top: 40px; }
.blocks-sec {
    width: 32%; padding: 23px 20px; border: 1px solid #000; border-radius: 12px;
    position: relative; z-index: 10; background: #fff;
}
h3.block-h3 { font-size: 24px !important; color: #c9a734 !important; line-height: 30px !important; }
p.p-block { font-size: 14px; color: #000 !important; line-height: 28px; }

.pricing-content-top {
    text-align: center; width: 100%;
    background: linear-gradient(to right, #C9A734, #f5f0e1);
    padding: 18px 15px; margin: 20px 0; border-radius: 50px; display: flex;
    justify-content: center;
}
.pricing-content-top span { color: #fff !important; }
.et_pb_sum { font-size: 36px; font-weight: bold; }
.et_pb_dollar_sign { font-size: 24px; }
.et_pb_frequency { font-size: 20px; }

.lists ul { list-style: none; padding-left: 0; margin: 20px 0; }
.lists ul li {
    padding-left: 28px; font-size: 14px; line-height: 32px;
    position: relative; text-transform: uppercase; color: #000;
    font-weight: 400; letter-spacing: 0.3px;
}
.lists ul li::before {
    content: "\2713"; /* Checkmark */
    position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px;
    border-radius: 50%; background-color: #C9A734; color: #fff; display: inline-block;
    font-size: 12px; font-weight: bold; line-height: 18px; text-align: center; vertical-align: middle;
}

.get-started { width: 100%; margin: 20px 0 0 0; }
a.btn-linnk {
    color: #fff !important; font-weight: bold; font-size: 16px; text-decoration: none;
    display: block; width: 100%; background-color: #C9A734; padding: 18px 20px;
    border-radius: 8px; text-align: center; text-transform: uppercase;
    transition: background-color 0.3s ease;
}
a.btn-linnk:hover { background-color: #bfa030; }

/* ============================================================================
   ADD-ON SERVICES
   ============================================================================ */
.addon-services-section { padding: 80px 0; background: #f9f9f9; position: relative; z-index: 1; }
h2.section-title { text-align: center; font-size: 40px; color: #0B2342; margin-bottom: 50px; font-weight: bold; }
.addon-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.addon-service-card {
    background: #fff; padding: 40px 30px; border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.addon-service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); }
.addon-service-image { width: 100%; margin-bottom: 20px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.addon-service-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.addon-service-card h3 { color: #C9A734; font-size: 24px; margin-bottom: 20px; font-weight: bold; }
.service-link {
    display: inline-block; color: #C9A734; text-decoration: none; font-weight: bold;
    border-bottom: 2px solid #C9A734; padding-bottom: 5px; transition: color 0.3s ease;
}
.service-link:hover { color: #0B2342; border-bottom-color: #0B2342; }

/* ============================================================================
   WDI SOLUTIONS
   ============================================================================ */
.wdi-solutions-section { padding: 80px 0; background: #f9f9f9; }
.wdi-solutions-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
    max-width: 1200px; margin: 50px auto 0; padding: 0 20px;
}
.wdi-solution-item {
    background: #fff; padding: 35px 25px; border-radius: 8px; border: 2px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.wdi-solution-item:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); border-color: #C9A734; }
.solution-icon { font-size: 48px; margin-bottom: 20px; }
.wdi-solution-item h4 {
    color: #0B2342; font-size: 22px; margin-bottom: 25px; font-weight: bold;
    text-transform: uppercase; border-bottom: 2px solid #C9A734; padding-bottom: 15px;
}
.wdi-solution-item ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.wdi-solution-item ul li {
    padding: 10px 0 10px 28px; border-bottom: 1px solid #f0f0f0; font-size: 14px;
    position: relative; text-transform: uppercase;
}
.wdi-solution-item ul li::before {
    content: "\2713"; /* Checkmark */
    position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px;
    border-radius: 50%; background-color: #C9A734; color: #fff; display: inline-block;
    font-size: 12px; font-weight: bold; line-height: 18px; text-align: center; vertical-align: middle;
}

/* ============================================================================
   GET STARTED & FOOTER SECTIONS
   ============================================================================ */
.get-started-section, .lets-get-started-section {
    padding: 100px 0 !important; background: #0B2342 !important;
    position: relative; overflow: hidden; z-index: 10; text-align: center;
}
.get-started-section::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A734' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}
.get-started-section .section-title, .lets-get-started-section .section-title {
    color: #C9A734 !important; font-size: 42px; font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important; position: relative; z-index: 2;
}
.lets-get-started-section .section-subtitle {
    font-size: 20px; color: #ffffff; max-width: 800px; margin: 0 auto 40px;
    position: relative; z-index: 2;
}
.cta-button-large {
    display: inline-block; padding: 18px 45px;
    background: linear-gradient(135deg, #C9A734 0%, #d4b84a 100%) !important;
    color: #0B2342 !important; text-decoration: none; font-size: 20px; font-weight: bold;
    border-radius: 50px; text-transform: uppercase; border: 2px solid #C9A734;
    transition: all 0.3s ease; position: relative; z-index: 2;
}
.cta-button-large:hover {
    background: linear-gradient(135deg, #d4b84a 0%, #C9A734 100%) !important;
    transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201, 167, 52, 0.6);
}

/* ============================================================================
   RESPONSIVE (981 / 768 / 480 / 375 px breakpoints)
   ============================================================================ */

@media screen and (max-width: 981px) {
    .container-home { padding: 0 25px; }
    .hero-text { flex-direction: column; row-gap: 30px; }
    .onee { width: 100%; }
    .home-benefits-explainer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-benefits-explainer__card {
        padding: 28px 22px;
    }
    /* Tablet: 2 columns for addon/solutions (not 1); hero and pricing stay multi-col until 768 */
    .addon-services-grid,
    .wdi-solutions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .addon-service-card,
    .wdi-solution-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Pricing blocks: stay in a row at tablet (no column wrap) */
    .block-flex,
    .pricing-blocks .block-flex {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    .blocks-sec,
    .pricing-block {
        flex: 1 1 30% !important;
        min-width: 0;
        max-width: none !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }
    h1.hero-h1 { margin-top: 20px; }
    .hero-section,
    section.hero-section { padding-top: 210px !important; }
    .pric-hero { width: 100%; }
    h2.pric-main-head { font-size: 60px; line-height: 70px; }
}

@media screen and (max-width: 782px) {
    body.admin-bar.wdi-custom-template:not(.customize-support) #top-header {
        padding-top: 46px !important;
        min-height: 94px;
    }
    body.admin-bar.wdi-custom-template:not(.customize-support) #main-header,
    body.admin-bar.wdi-custom-template:not(.customize-support) #et-top-navigation {
        top: 94px !important;
    }
}

@media (max-width: 768px) {
    /* Mobile: hero and pricing blocks stack to single column */
    section.hero-section .container-home { flex-direction: column !important; }
    .home-benefits-explainer {
        padding: 56px 0 24px;
    }
    .home-benefits-explainer__header {
        margin-bottom: 30px;
    }
    .home-benefits-explainer__lead {
        font-size: 16px;
        line-height: 1.8;
    }
    .home-benefits-explainer__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    /* Generous gap from nav/top bar so hero content has room to breathe */
    section.hero-section,
    body.wdi-custom-template section.hero-section {
        padding-top: 180px !important;
    }
    body.admin-bar section.hero-section,
    body.admin-bar.wdi-custom-template section.hero-section {
        padding-top: 200px !important;
    }
    /* Title and logo get more air; separate tagline/logo from search box */
    section.hero-section .hero-heading-row,
    body.wdi-custom-template section.hero-section .hero-heading-row {
        align-items: center !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    /* Fix text clipping: allow tagline to wrap to two lines, centered */
    section.hero-section h1.main-hero-h1,
    body.wdi-custom-template section.hero-section h1.main-hero-h1 {
        white-space: normal !important;
        text-align: center !important;
        width: 100% !important;
        font-size: 32px !important;
    }
    /* Phone number: slightly smaller than logo height but matches horizontal presence */
    section.hero-section h1.hero-h1,
    body.wdi-custom-template section.hero-section h1.hero-h1 {
        font-size: 38px !important;
    }
    /* Enlarge & center logo on mobile (140px, 15px vertical margin) */
    section.hero-section .hero-primary,
    body.wdi-custom-template section.hero-section .hero-primary {
        --hero-logo-height: 140px;
    }
    section.hero-section .hero-logo-wrap,
    section.hero-section .hero-logo-inline,
    body.wdi-custom-template section.hero-section .hero-logo-wrap,
    body.wdi-custom-template section.hero-section .hero-logo-inline {
        display: block !important;
        margin: 15px auto !important;
    }
    section.hero-section .hero-primary,
    section.hero-section .faq-row {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    /* Hide Pricing/Shop hero on mobile so content shows first */
    body.page-template-pricing-page-template-php section.hero-section,
    body[class*="pricing-page-template"] section.hero-section {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
        visibility: hidden !important;
    }
    body.page-template-shop-page-template-php section.hero-shop-sec,
    body[class*="shop-page-template"] section.hero-shop-sec {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
        visibility: hidden !important;
    }
    /* Hide sub-header (Start-ups) on Pricing/Shop mobile; reduce gap so first card is visible */
    body.page-template-pricing-page-template-php section.pricing-blocks h2.global-h2,
    body[class*="pricing-page-template"] section.pricing-blocks h2.global-h2,
    body.page-template-shop-page-template-php h2.global-h2,
    body[class*="shop-page-template"] h2.global-h2 {
        display: none !important;
    }
    body.page-template-pricing-page-template-php section.pricing-blocks,
    body[class*="pricing-page-template"] section.pricing-blocks {
        padding-top: 20px !important;
    }
    /* Pricing/Shop mobile: reduce main area top gap (no large empty space under fixed header) */
    body.page-template-pricing-page-template-php #et-main-area,
    body[class*="pricing-page-template"] #et-main-area,
    body.page-template-shop-page-template-php #et-main-area,
    body[class*="shop-page-template"] #et-main-area {
        padding-top: 60px !important;
    }
    /* FAQ accordion: full width of page (fits container), not too small */
    section.hero-section .faq-row,
    .faq-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .faq-row-st {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .faq-line-contet {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .list-content-block {
        max-width: min(100%, calc(100vw - 2rem)) !important;
        box-sizing: border-box !important;
    }
    .block-flex,
    .pricing-blocks .block-flex {
        flex-direction: column !important;
        flex-wrap: wrap;
        gap: 25px !important;
        width: 100% !important;
    }
    .blocks-sec,
    .pricing-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 20px;
        box-sizing: border-box !important;
    }
    .addon-services-grid,
    .wdi-solutions-grid {
        grid-template-columns: 1fr !important;
    }
    .addon-service-image img { height: 150px; }
    .wdi-solution-item { padding: 25px 20px; }
    .product-card-inner { width: 100%; }
    #page-container #et-main-area section.shop-body-l .shop-layout {
        flex-direction: column;
        gap: 20px;
    }
    #page-container #et-main-area section.shop-body-l .shop-sidebar {
        order: -1;
        width: 100%;
        margin-bottom: 0;
    }
    #page-container #et-main-area section.shop-body-l .shop-main #main-search {
        min-height: 44px;
        margin-bottom: 20px;
    }
    #page-container #et-main-area section.shop-body-l .shop-main .tab-buttons,
    section.shop-body-l .shop-main .tab-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }
    #page-container #et-main-area     section.shop-body-l .shop-main .tab-buttons .tab-btn,
    section.shop-body-l .shop-main .tab-btn {
        min-height: 44px;
        padding: 10px 20px;
    }
    h2.pric-main-head { font-size: 40px; line-height: 50px; margin-bottom: 20px; }
    .sub-pric-head { font-size: 14px; }
    .cta-container { padding: 70px 50px; }
    .cta-row-pricing { padding: 50px 20px; }
    h2.cta-ph { font-size: 30px !important; margin-bottom: 20px; }
    h2.global-h2 { font-size: 30px; }
    .package-explanation-row { flex-direction: column; gap: 40px; }
    .package-explanation-row.reverse { flex-direction: column; }
    .package-explanation-content h2 { font-size: 32px; line-height: 42px; }
    .bottom-cta-pricing h2 { font-size: 36px; line-height: 46px; }
    /* Single-reseller */
    .reseller-single-product { flex-direction: column; row-gap: 50px; }
    .product-left,
    .product-right { width: 100%; }
    /* Touch targets (44px min) */
    .mobile_menu_bar {
        min-width: 44px;
        min-height: 44px;
        padding: 15px !important;
    }
    a.cta-a-btn,
    .btn-add-cart {
        min-height: 44px;
        min-width: 44px;
        padding: 18px 20px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================================================
   GLOBAL OVERLAYS – keep HubSpot chat above theme stacking contexts
   ============================================================================ */
#hubspot-messages-iframe-container,
[id*="hubspot-messages-iframe-container"],
.hs-messages-widget,
iframe#hs-messages-iframe {
    z-index: 2147483647 !important;
}

/* ============================================================================
/* ============================================================================
   WOOCOMMERCE / AUTOMATEWOO – terms and opt-in text
   ============================================================================ */
.woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-terms-and-conditions-checkbox-text a {
    color: #C9A734 !important;
}
.automatewoo-optin__checkbox-text {
    color: #C9A734 !important;
}

/* My Account: prevent content from being cut off under the fixed primary header */
body.woocommerce-account #et-main-area {
    padding-top: 120px !important;
}
@media screen and (max-width: 981px) {
    body.woocommerce-account #et-main-area {
        padding-top: 100px !important;
    }
}

/* ============================================================================
   CUSTOM TEMPLATE NAV/BODY FIXES (merged from home-new-fixes.css)
   ============================================================================ */

/* ============================================================================
   FIX 1: MOBILE HEADER CLICKABILITY
   ============================================================================ */
body.wdi-custom-template:not(.customize-support) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Desktop: let header bars size naturally; only z-index and top offset for stacking */
body.wdi-custom-template:not(.customize-support) #top-header {
    z-index: 99998 !important;
    top: 0 !important;
    min-height: 48px;
    height: auto;
    margin: 0 !important;
    box-sizing: border-box;
}
body.admin-bar.wdi-custom-template:not(.customize-support) #top-header {
    top: 0 !important;
    padding-top: 32px !important;
    min-height: 80px;
    height: auto;
}
body.wdi-custom-template:not(.customize-support) #main-header,
body.wdi-custom-template:not(.customize-support) #et-top-navigation {
    z-index: 99996 !important;
    top: 48px !important;
    margin: 0 !important;
    height: auto !important;
}
body.admin-bar.wdi-custom-template:not(.customize-support) #main-header,
body.admin-bar.wdi-custom-template:not(.customize-support) #et-top-navigation {
    top: 80px !important;
}

@media screen and (max-width: 981px) {
    body.wdi-custom-template:not(.customize-support) #top-header {
        min-height: 80px !important;
        height: auto !important;
    }
    body.wdi-custom-template:not(.customize-support) #main-header,
    body.wdi-custom-template:not(.customize-support) #et-top-navigation {
        top: 80px !important;
        height: auto !important;
        min-height: unset !important;
    }
    body.admin-bar.wdi-custom-template:not(.customize-support) #top-header {
        min-height: 126px !important;
        height: auto !important;
    }
    body.admin-bar.wdi-custom-template:not(.customize-support) #main-header,
    body.admin-bar.wdi-custom-template:not(.customize-support) #et-top-navigation {
        top: 126px !important;
        height: auto !important;
    }
    .mobile_menu_bar {
        padding: 15px !important;
        min-width: 44px;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .mobile_menu_bar:before {
        font-size: 32px !important;
    }
}
body.wdi-custom-template:not(.customize-support) .et_mobile_menu,
body.wdi-custom-template:not(.customize-support) .et_mobile_nav_menu,
body.wdi-custom-template:not(.customize-support) .mobile_menu_bar,
body.wdi-custom-template:not(.customize-support) .mobile_nav,
body.wdi-custom-template:not(.customize-support) #et_mobile_nav_menu,
body.wdi-custom-template:not(.customize-support) .et_pb_menu__menu-button,
body.wdi-custom-template:not(.customize-support) .et-l--header {
    z-index: 99996 !important;
}
.hero-primary {
    z-index: auto !important;
    position: relative;
}

body.wdi-custom-template #et-main-area {
    position: relative !important;
    z-index: 10 !important;
}

section.hero-section {
    z-index: 1 !important;
    isolation: isolate;
}

body.wdi-custom-template #et-main-area,
body.wdi-custom-template section.hero-section,
body.wdi-custom-template #main-content {
    pointer-events: auto !important;
}
body.wdi-custom-template section.hero-section .container-home,
body.wdi-custom-template section.hero-section .hero-primary,
body.wdi-custom-template section.hero-section .faq-row {
    pointer-events: auto !important;
}
body.wdi-custom-template section.hero-section * {
    pointer-events: auto !important;
}

body.wdi-custom-template #page-container,
body.wdi-custom-template .et-l {
    padding-top: 0 !important;
}
body.wdi-custom-template #main-content,
body.wdi-custom-template #page-container .et_pb_section:first-of-type {
    padding-top: 0 !important;
}
/* #et-main-area padding-top set by wdi-custom-template.js from header height */
body.wdi-custom-template #et-main-area {
    padding-top: 0 !important;
}
body.wdi-custom-template section.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Home-new: remove nav-to-hero gap (Divi/Theme Builder wrappers). */
body.page-template-home-new-php #page-container,
body.page-template-home-new-php.wdi-custom-template #page-container,
body.page-template-home-new-remote-php #page-container,
body.page-template-home-new-remote-php.wdi-custom-template #page-container,
body.page-template-home-new-php .et-l,
body.page-template-home-new-php.wdi-custom-template .et-l,
body.page-template-home-new-remote-php .et-l,
body.page-template-home-new-remote-php.wdi-custom-template .et-l,
body.page-template-home-new-php .et-l--body,
body.page-template-home-new-php.wdi-custom-template .et-l--body,
body.page-template-home-new-remote-php .et-l--body,
body.page-template-home-new-remote-php.wdi-custom-template .et-l--body,
body.page-template-home-new-php #et-boc,
body.page-template-home-new-php.wdi-custom-template #et-boc,
body.page-template-home-new-remote-php #et-boc,
body.page-template-home-new-remote-php.wdi-custom-template #et-boc,
body.page-template-home-new-php .et_builder_inner_content,
body.page-template-home-new-php.wdi-custom-template .et_builder_inner_content,
body.page-template-home-new-remote-php .et_builder_inner_content,
body.page-template-home-new-remote-php.wdi-custom-template .et_builder_inner_content,
body.page-template-home-new-php #main-content,
body.page-template-home-new-php.wdi-custom-template #main-content,
body.page-template-home-new-remote-php #main-content,
body.page-template-home-new-remote-php.wdi-custom-template #main-content,
body.page-template-home-new-php #et-main-area,
body.page-template-home-new-php.wdi-custom-template #et-main-area,
body.page-template-home-new-remote-php #et-main-area,
body.page-template-home-new-remote-php.wdi-custom-template #et-main-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
    min-height: 0 !important;
}
body.page-template-home-new-php #main-header,
body.page-template-home-new-php.wdi-custom-template #main-header,
body.page-template-home-new-remote-php #main-header,
body.page-template-home-new-remote-php.wdi-custom-template #main-header {
    margin-bottom: 0 !important;
}
body.page-template-home-new-php section.hero-section,
body.page-template-home-new-php.wdi-custom-template section.hero-section,
body.page-template-home-new-remote-php section.hero-section,
body.page-template-home-new-remote-php.wdi-custom-template section.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
@media screen and (min-width: 981px) and (max-width: 1400px) {
    /* Override home-new’s padding-top:0 so two-row nav doesn’t cover hero */
    body.page-template-home-new-php #page-container #et-main-area,
    body.page-template-home-new-php.wdi-custom-template #page-container #et-main-area,
    body.page-template-home-new-remote-php #page-container #et-main-area,
    body.page-template-home-new-remote-php.wdi-custom-template #page-container #et-main-area,
    body.page-template-home-new-php #main-content #et-main-area,
    body.page-template-home-new-php.wdi-custom-template #main-content #et-main-area,
    body.page-template-home-new-remote-php #main-content #et-main-area,
    body.page-template-home-new-remote-php.wdi-custom-template #main-content #et-main-area,
    body.page-template-home-new-php #et-main-area,
    body.page-template-home-new-php.wdi-custom-template #et-main-area,
    body.page-template-home-new-remote-php #et-main-area,
    body.page-template-home-new-remote-php.wdi-custom-template #et-main-area,
    body.page-template-home-new-php .wdi-hero-main,
    body.page-template-home-new-remote-php .wdi-hero-main,
    body.page-template-home-new-php #et-boc,
    body.page-template-home-new-php.wdi-custom-template #et-boc,
    body.page-template-home-new-remote-php #et-boc,
    body.page-template-home-new-remote-php.wdi-custom-template #et-boc,
    body.page-template-home-new-php .et-l,
    body.page-template-home-new-php.wdi-custom-template .et-l,
    body.page-template-home-new-remote-php .et-l,
    body.page-template-home-new-remote-php.wdi-custom-template .et-l,
    body.page-template-home-new-php .et-l--body,
    body.page-template-home-new-remote-php .et-l--body,
    body.page-template-home-new-php .et_builder_inner_content,
    body.page-template-home-new-remote-php .et_builder_inner_content {
        padding-top: 0 !important;
    }
}
@media screen and (max-width: 981px) {
    body.page-template-home-new-php section.hero-section,
    body.page-template-home-new-php.wdi-custom-template section.hero-section,
    body.page-template-home-new-remote-php section.hero-section,
    body.page-template-home-new-remote-php.wdi-custom-template section.hero-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    .container-home { padding: 0 15px !important; }
    .home-benefits-explainer__card {
        padding: 22px 18px !important;
    }
    .home-benefits-explainer__card-title {
        font-size: 20px !important;
    }
    .home-benefits-explainer__lead {
        font-size: 15px !important;
    }
    /* FAQ accordion: keep full width, scale padding with viewport */
    .faq-row { padding: 15px !important; }
    .faq-row-st { padding: 20px 15px !important; }
    .addon-services-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .addon-service-card { padding: 20px 15px !important; }
    .addon-service-image img { height: 150px !important; object-fit: cover; }
    .wdi-solutions-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .wdi-solution-item { padding: 20px 15px !important; }
    .blocks-sec { padding: 20px 15px !important; }
    h2.section-title { font-size: 26px !important; line-height: 1.3 !important; }
    a.cta-a-btn,
    .cta-button-large,
    .btn-add-cart {
        display: block !important;
        width: 100% !important;
        padding: 18px 20px !important;
        font-size: 14px !important;
        min-height: 44px;
        min-width: 44px;
        box-sizing: border-box;
    }
    .btn-add-cart { display: flex !important; align-items: center; justify-content: center; }
}

@media only screen and (max-width: 375px) {
    .container-home { padding: 0 12px !important; }
    .home-benefits-explainer__eyebrow {
        letter-spacing: 0.12em;
        font-size: 12px;
    }
    /* FAQ accordion: tighter padding on extra-small so it stays within width */
    .faq-row { padding: 12px !important; }
    .faq-row-st { padding: 16px 12px !important; }
    h2.section-title { font-size: 24px !important; }
    .addon-service-card h3,
    .wdi-solution-item h4 { font-size: 18px !important; }
    .wdi-solution-item ul li { font-size: 13px !important; line-height: 28px !important; }
}

/* Prevent horizontal scroll on mobile only.
   NOT applied globally — desktop pages like checkout use wide flex rows (width:1296%)
   that would be clipped by overflow-x:hidden on a parent. */
@media only screen and (max-width: 980px) {
    body,
    #page-container,
    #main-content {
        overflow-x: hidden !important;
    }
}

.addon-service-image img,
.hero-logo-inline,
img.logo {
    max-width: 100% !important;
    height: auto !important;
}

body.wdi-custom-template:not(.customize-support) .et_mobile_menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

@supports (display: grid) {
    @media only screen and (max-width: 981px) {
        .addon-services-grid,
        .wdi-solutions-grid { display: grid !important; }
    }
}

@supports not (display: grid) {
    .addon-services-grid,
    .wdi-solutions-grid {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .addon-service-card,
    .wdi-solution-item { flex: 1 1 100% !important; }
}

/* ============================================================================
   PRICING TEMPLATE
   ============================================================================ */
body.page-template-pricing-page-template-php section.hero-section,
body[class*="pricing-page-template"] section.hero-section {
    background-image: url('https://welldoit.solutions/wp-content/uploads/2025/07/29.jpg');
    background-position: center;
    padding: 150px 0px;
}
body.page-template-pricing-page-template-php section.hero-section::before,
body[class*="pricing-page-template"] section.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
body.page-template-pricing-page-template-php section.hero-section .container-home,
body.page-template-pricing-page-template-php section.hero-section *,
body[class*="pricing-page-template"] section.hero-section .container-home,
body[class*="pricing-page-template"] section.hero-section * {
    position: relative;
    z-index: 2;
}

h2.pric-main-head {
    font-size: 70px;
    line-height: 80px;
    color: #C9A734;
    text-transform: capitalize;
    font-weight: bold;
}
.pric-hero { width: 70%; }
p.pric-para { font-size: 20px; color: white; line-height: 30px; }
.sub-pric-head {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 400;
}

section.cta-sec-pricing { background: #f5e4af38; }
.cta-container { max-width: 900px; margin: 0 auto; padding: 100px 50px; }
.cta-row-pricing {
    background: #c9a734;
    text-align: center;
    border-radius: 10px;
    padding: 50px;
}
h2.cta-ph { color: white !important; font-size: 36px !important; line-height: 40px !important; }
a.cta-button-pricing {
    background: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px !important;
    color: #c9a734 !important;
    line-height: 18px !important;
}

section.package-explanation { padding: 80px 0; background: #fff; }
.wdi-package-explanation {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.wdi-package-explanation section.package-explanation {
    padding: 80px 0;
    background: #fff;
}
section.bottom-cta-pricing > .container-home > .wdi-package-explanation {
    padding: 80px 0;
    background: #fff;
    text-align: left;
}
.package-explanation-content__stage {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9a734;
    line-height: 1.2;
}
.wdi-package-explanation .package-explanation-content p {
    text-transform: none;
    letter-spacing: normal;
}
.package-explanation-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 42px;
    box-sizing: border-box;
}
.wdi-package-explanation .package-explanation-row {
    display: flex !important;
    flex-wrap: nowrap;
}
.wdi-package-explanation .package-explanation-content,
.wdi-package-explanation .package-explanation-image {
    flex: 1 1 0;
    min-width: 0;
}
.package-explanation-row.reverse { flex-direction: row-reverse; }
.package-explanation-content { flex: 1; }
.package-explanation-image { flex: 1; }
.package-explanation-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.package-explanation-content h2 {
    font-size: 42px;
    line-height: 52px;
    color: #C9A734;
    margin-bottom: 30px;
    font-weight: bold;
}
.package-explanation-content p {
    font-size: 18px;
    line-height: 32px;
    color: #333;
    margin-bottom: 20px;
}
.package-explanation-content p:last-child { margin-bottom: 0; }

section.bottom-cta-pricing {
    background: #C9A734;
    padding: 80px 0;
    text-align: center;
}

/* Pricing page: hide legacy Transform CTA (Divi Code module / section wrappers). */
body.wdi-pricing-page section.cta-sec-pricing,
body.wdi-pricing-page .cta-container,
body.wdi-pricing-page .cta-row-pricing,
body.wdi-pricing-page .et_pb_section:has(h2.cta-ph),
body.wdi-pricing-page .et_pb_section:has(.cta-row-pricing),
body.page-id-258535 section.cta-sec-pricing,
body.page-id-258535 .cta-container,
body.page-id-258535 .cta-row-pricing,
body[class*="pricing-page-template"] section.cta-sec-pricing,
body[class*="pricing-page-template"] .cta-container,
body[class*="pricing-page-template"] .cta-row-pricing {
    display: none !important;
}
.bottom-cta-pricing h2 {
    color: #fff;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 30px;
    font-weight: bold;
}
.bottom-cta-pricing .cta-button {
    display: inline-block;
    background: #fff;
    color: #C9A734;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.bottom-cta-pricing .cta-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   SHOP TEMPLATE
   ============================================================================ */
body.page-template-shop-page-template-php,
body[class*="shop-page-template"] {
    background-color: #fcfbf9 !important;
}
body.page-template-shop-page-template-php #page-container,
body.page-template-shop-page-template-php #main-content,
body[class*="shop-page-template"] #page-container,
body[class*="shop-page-template"] #main-content {
    background-color: #fcfbf9 !important;
}
body.page-template-shop-page-template-php #main-content,
body[class*="shop-page-template"] #main-content {
    padding-top: 50px !important;
}

/* Shop hero: professional business solutions image with navy overlay; gold heading */
section.hero-shop-sec {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    margin-top: 0 !important;
}
section.hero-shop-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 35, 66, 0.78);
    z-index: 1;
}
section.hero-shop-sec .container-shop,
section.hero-shop-sec * {
    position: relative;
    z-index: 2;
}
.container-shop { max-width: 100%; padding: 0 42px; }
h2.shop-hero-head-main {
    text-align: center;
    color: #C9A734;
    font-size: 40px;
    margin: 0;
}

.wdi-marketplace-intro {
    max-width: 900px;
    margin: 1.25rem auto 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    line-height: 1.55;
}
.wdi-marketplace-intro p {
    margin: 0 0 0.75rem;
}
.wdi-marketplace-intro a {
    color: #C9A734;
    text-decoration: underline;
}
.wdi-marketplace-intro a:hover {
    color: #e8c55a;
}
.wdi-marketplace-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #0A2342;
    padding: 1.5rem;
}
body.wdi-providers-marketplace-page .wdi-marketplace-reseller-section {
    display: none !important;
}

.shop-layout { display: flex; gap: 40px; }
.shop-main { width: 75%; }
.shop-sidebar {
    width: 25%;
    border: 1px solid #c9a734;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    background-color: #fff;
}
.shop-sidebar h3 { color: #0A2342; margin-bottom: 15px; }
.shop-sidebar ul { list-style: none; padding: 0; }
.shop-sidebar li { margin-bottom: 10px; }
.shop-sidebar a { cursor: pointer; color: #0A2342; text-decoration: none; }
.shop-sidebar a:hover { color: #c9a734; }
.shop-sidebar input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #0a2342;
    color: white !important;
}

/* Single search box in main content */
.shop-main .shop-search-input,
.shop-main #main-search {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #0a2342;
    color: #fff !important;
    font-size: 1rem;
    box-sizing: border-box;
}
.shop-main .shop-search-input::placeholder,
.shop-main #main-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Shop filters row: in sidebar; searchable dropdowns only */
.shop-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
/* Vertical filters only when sidebar is on the right (desktop ≥982px) */
@media screen and (min-width: 982px) {
    .shop-sidebar .shop-filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .shop-sidebar .shop-filter-dropdown {
        min-width: 0;
        max-width: none;
    }
}
.shop-filter-dropdown {
    position: relative;
    flex: 0 1 auto;
    min-width: 160px;
    max-width: 220px;
}
.shop-filter-trigger {
    width: 100%;
    padding: 10px 32px 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #0a2342;
    color: #fff;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.shop-filter-trigger:hover { background-color: #0d2d52; }
.shop-filter-trigger .shop-filter-trigger-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-filter-panel {
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.shop-filter-panel[hidden] { display: none !important; }
.shop-filter-search {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    box-sizing: border-box;
}
.shop-filter-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}
.shop-filter-options li {
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 4px;
}
.shop-filter-options li:hover {
    background: #0a2342;
    color: #fff;
}
/* Single result area: WC products or Well Do It Hosting (reseller) via filter */
#reseller-section { display: none; }
.tab-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.tab-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #0A2342;
    color: #fff;
}
.tab-btn.active { background: #c9a734; }

/* Grid: as many columns as fit (min 280px), cards grow to fill row when they wrap to 2 */
.product-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card-inner {
    min-width: 0;
    border: 1px solid #c9a734;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    background-color: #fff;
}
.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
section.shop-body-l { padding: 70px 0px; }
.product-title { font-size: 20px; color: #c9a734; margin: 15px 0; line-height: 30px; }
.product-card-inner .product-price {
    font-size: 18px;
    font-weight: 600;
    color: #0A2342;
    margin: 0 0 12px 0;
    line-height: 1.3;
}
.product-card-inner .product-price del { color: #666; font-weight: 400; }
.product-card-inner .product-price ins { text-decoration: none; }
.btn-add-cart {
    background: #0A2342;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-top: auto;
    font-size: 20px;
    line-height: 20px;
}

/* ============================================================================
   SINGLE RESELLER
   ============================================================================ */
body.single-reseller .container-home,
body[class*="single-reseller"] .container-home {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}
.reseller-single-product {
    display: flex;
    gap: 40px;
    background: #0a2342;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
}
.product-left { width: 45%; }
.product-right { width: 55%; }
.rstore-product-icons svg { width: 100%; }
h1.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0px;
    padding: 0px;
    line-height: 40px;
}
form.cart {
    display: flex;
    column-gap: 30px;
    margin-top: 40px;
    flex-direction: column;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    display: flex;
    column-gap: 3px;
    align-items: center;
}
.woocommerce-variation-price { color: white; }
table.variations { color: white; }
.product-description { color: white; }
.product-description ul li {
    list-style: disc;
    font-size: 18px;
    line-height: 26px;
    margin-left: 20px;
}
.product-description ul { margin-top: 20px; }
button.rstore-add-to-cart.button.btn.btn-primary {
    background: #c9a734;
    padding: 10px 20px;
    font-size: 18px;
    color: white;
}
h3.hub-sp-head { text-align: center; font-size: 30px; }

/* ============================================================================
   AI VIDEO SALES PAGE
   ============================================================================ */
body.page-template-ai-video-sales-page-template-php,
body.page-template-ai-video-sales-page-template-php #page-container,
body.page-template-ai-video-sales-page-template-php #main-content {
    overflow-x: visible !important;
    max-width: none !important;
}

/* Shop ≤768px: sidebar on top, filters horizontal. */
@media screen and (max-width: 768px) {
    body.wdi-shop-page .shop-layout,
    body.page-template-shop-page-template-php .shop-layout,
    body[class*="shop-page-template"] .shop-layout,
    section.shop-body-l .shop-layout {
        flex-direction: column !important;
    }
    body.wdi-shop-page .shop-sidebar .shop-filters-row,
    body.page-template-shop-page-template-php .shop-sidebar .shop-filters-row,
    body[class*="shop-page-template"] .shop-sidebar .shop-filters-row,
    section.shop-body-l .shop-sidebar .shop-filters-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    body.wdi-shop-page .shop-sidebar .shop-filter-dropdown,
    body.page-template-shop-page-template-php .shop-sidebar .shop-filter-dropdown,
    body[class*="shop-page-template"] .shop-sidebar .shop-filter-dropdown,
    section.shop-body-l .shop-sidebar .shop-filter-dropdown {
        flex: 1 1 150px !important;
        min-width: 0 !important;
    }
}

/* ============================================================================
   WCFM STORE HEADER – Inquiry/Follow buttons inside gray bar, text contained
   ============================================================================ */
#wcfmmp-store .header_right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 69px;
    padding: 12px 20px;
    box-sizing: border-box;
}
#wcfmmp-store .header_right .bd_icon_area.lft {
    position: relative;
    top: 0;
    right: auto;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
#wcfmmp-store .bd_icon_box .follow,
#wcfmmp-store .bd_icon_box .wcfm_store_enquiry,
#wcfmmp-store .bd_icon_box .wcfm_store_chatnow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    height: 30px;
    line-height: 1;
    padding: 0 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
#wcfmmp-store .bd_icon_box .follow span,
#wcfmmp-store .bd_icon_box .wcfm_store_enquiry span,
#wcfmmp-store .bd_icon_box .wcfm_store_chatnow span {
    line-height: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Store page: left sidebar same cream as main background */
#wcfmmp-store .left_sidebar.widget-area.sidebar,
#wcfmmp-store .body_area .left_sidebar {
    background: #fcfbf9 !important;
    border-color: #fcfbf9 !important;
}

/* Store page: tab bar background transparent, individual tabs stay white */
#wcfmmp-store #tab_links_area,
#wcfmmp-store .tab_area .tab_links {
    background: transparent !important;
}
#wcfmmp-store .tab_area .tab_links li {
    background-color: #fff !important;
}

/* ============================================================================
   SALES AGENT – "Agent Logged-In as" / "Switch back to Agent" bar
   ============================================================================
   Bar is output by Sales Agent for WooCommerce at wp_body_open (top of body).
   Plugin class: .wsa-agent-switch-notice, #wsa-agent-switch-notice.
   Body gets .wsa-agent-switched when an agent is viewing as customer.
   Optional: prevent page container from overlapping the bar (e.g. fixed header). */
body.wsa-agent-switched #page-container {
    position: relative;
}

/* ============================================================================
   CHECKOUT PAGE — Responsive Layout Fixes (all breakpoints)
   ============================================================================
   ROOT CAUSE: Divi sets .et_pb_row_0 to width:1296% with max-width:1630px.
   At screens narrower than 1630px the row overflows horizontally. At tablet
   the two flex columns stay side-by-side (nowrap) instead of stacking.
   At phone the row itself was 900px on a 390px screen.

   Strategy per breakpoint:
   • Desktop ≤1680px : constrain row to 100% so 2-col layout fits the viewport
   • Tablet 768–980px : stack the two flex columns vertically (flex-direction)
   • Phone ≤767px    : full-width single column (already working) */

/* Desktop / large tablet (981px – 1680px) — row overflows; constrain it.
   Also: the Divi builder sets margin-top:-118px on the billing module to
   position it within the original 1630px fake-column layout. Now that we
   constrain the row to 100% width the column starts at a different y-position,
   so -118px places billing behind the fixed header. Reset to 0. */
@media only screen and (min-width: 981px) and (max-width: 1680px) {

    body.woocommerce-checkout .et_pb_row_0 {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.woocommerce-checkout .et_pb_wc_checkout_billing {
        margin-top: 0 !important;
    }
}

/* Phone (≤ 767px) — reset the 1296% row trick, then stack everything */
@media only screen and (max-width: 767px) {

    /* ROOT FIX: collapse the 1296%-wide Divi flex row to full viewport width */
    body.woocommerce-checkout .et_pb_row_0,
    body.woocommerce-checkout .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.woocommerce-checkout .et_pb_column {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All checkout modules: reset any remaining pixel left/right margins */
    .et_pb_wc_checkout_billing,
    .et_pb_wc_checkout_additional_info,
    .et_pb_wc_checkout_order_details,
    .et_pb_wc_checkout_payment_info,
    .et_pb_wc_checkout_breadcrumb {
        margin-left:  0 !important;
        margin-right: 0 !important;
        margin-top:   0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* WooCommerce payment block — prevent overflow */
    #payment,
    #payment ul.payment_methods,
    #payment .payment_box {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    /* Stripe card / UPE element — full width */
    .wc-stripe-elements-field,
    .wc-stripe-iban-element-field,
    #wc-stripe-payment-element {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Express checkout flex items — remove min-width that causes overflow */
    #wc-stripe-express-checkout-element > div {
        min-width: unset !important;
        flex: 1 1 100% !important;
    }
}

/* Tablet (768px – 980px) — stack the two flex columns vertically */
@media only screen and (min-width: 768px) and (max-width: 980px) {

    /* ROOT FIX: collapse the 1296%-wide Divi flex row */
    body.woocommerce-checkout .et_pb_row_0,
    body.woocommerce-checkout .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Switch flex row to vertical so columns stack instead of sitting side-by-side.
       'width: 100%' alone is ignored because the flex container is nowrap. */
    body.woocommerce-checkout .et_pb_row_0.et_flex_row {
        flex-direction: column !important;
    }

    body.woocommerce-checkout .et_pb_column.et_flex_column {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .et_pb_wc_checkout_billing,
    .et_pb_wc_checkout_additional_info,
    .et_pb_wc_checkout_order_details,
    .et_pb_wc_checkout_payment_info,
    .et_pb_wc_checkout_breadcrumb {
        margin-left:  0 !important;
        margin-right: 0 !important;
        margin-top:   0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ============================================================================
   EXPRESS CHECKOUT — Loading Spinner Placeholder
   ============================================================================
   Stripe's express checkout (Apple Pay / Google Pay) starts display:none and
   pops in after the SDK initialises. A JS MutationObserver inserts a sibling
   div (#wdi-ece-placeholder) that shows a gold spinner while the user waits. */

#wdi-ece-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 1em;
    background: #f8f8f8;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

#wdi-ece-placeholder::before {
    content: '';
    width: 26px;
    height: 26px;
    border: 3px solid #e0e0e0;
    border-top-color: #C9A734;
    border-radius: 50%;
    animation: wdi-ece-spin 0.8s linear infinite;
}

@keyframes wdi-ece-spin {
    to { transform: rotate(360deg); }
}
