/*
Theme Name: Hello anabolichealth.us
Theme URI: https://anabolichealth.us
Description: Flatsome Child Theme for anabolichealth.us
Author: anabolichealth.us
Author URI: https://anabolichealth.us
Template: flatsome
Version: 1.0.0
*/

/* --- Top Bar --- */
#top-bar {
    background-color: #0b0f19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    padding: 6px 0 !important;
}

#top-bar .flex-row {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    width: 100% !important;
}

#top-bar strong {
    color: #00b4d8 !important;
}

#top-bar a {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}

#top-bar a:hover {
    color: #00b4d8 !important;
}

/* --- Header Main (Balanced Indentation & Adjacent Nav) --- */
#masthead, .header-wrapper, .header-main {
    background-color: #0f172a !important;
}

/* Logo Global */
.header-main #logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.header-main #logo a {
    display: block !important;
    line-height: 1 !important;
}

.header-main #logo img.header-logo-dark,
.header-main #logo img.header-logo-sticky {
    display: none !important;
}

/* ==========================================================================
   DESKTOP HEADER (Screen Width >= 850px)
   ========================================================================== */
@media (min-width: 850px) {
    /* Hide all mobile elements on desktop */
    .header-main .flex-col.show-for-medium,
    .header-main .show-for-medium,
    .show-for-medium {
        display: none !important;
    }

    .header-main .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        max-width: 1440px !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Left Column: Logo + Adjacent Menu */
    .header-main .flex-col.hide-for-medium.flex-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-grow: 1 !important;
    }

    .header-main #logo {
        margin-right: 45px !important;
        margin-left: 0 !important;
    }

    .header-main #logo img.header_logo {
        display: block !important;
        height: 54px !important;
        width: auto !important;
        max-width: 280px !important;
    }


    /* Right Column: Search + Account + Cart */
    .header-main .flex-col.hide-for-medium.flex-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
        gap: 10px !important;
    }

    /* Header Nav UL */
    .header-main .header-nav,
    .header-main .header-nav-main,
    .header-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }

    /* Every LI Item inside Header Nav */
    .header-main .header-nav > li,
    .header-main .header-nav-main > li {
        display: inline-flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin: 0 2px !important;
        white-space: nowrap !important;
    }

    /* Nav Links Typography & Spacing */
    .header-main .header-nav > li > a,
    .header-main .header-nav-main > li > a,
    .nav-top-link,
    #masthead .nav > li > a {
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        padding: 8px 14px !important;
        display: inline-block !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
    }

    .header-main .header-nav > li > a:hover,
    .header-main .header-nav-main > li > a:hover,
    #masthead .nav > li > a:hover {
        color: #00b4d8 !important;
        background-color: rgba(0, 180, 216, 0.12) !important;
        border-radius: 4px !important;
    }

    .header-main .header-nav > li.active > a,
    .header-main .header-nav > li.current-menu-item > a,
    .header-main .header-nav-main > li.active > a {
        color: #00b4d8 !important;
    }

    /* Header Icons (Search, Account, Cart) */
    .header-icons a,
    .header-main .header-nav > li.header-search a,
    .header-main .header-nav > li.account-item a,
    .header-main .header-nav > li.cart-item a {
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .header-icons a:hover,
    .header-main .header-nav > li.header-search a:hover,
    .header-main .header-nav > li.account-item a:hover,
    .header-main .header-nav > li.cart-item a:hover {
        color: #00b4d8 !important;
    }

    .header-main .cart-item {
        margin-left: 4px !important;
    }

    .header-main .cart-item .cart-icon {
        margin-left: 6px !important;
    }

    .cart-icon strong {
        border-color: #00b4d8 !important;
        background-color: #00b4d8 !important;
        color: #0f172a !important;
        font-weight: 800 !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET HEADER (Screen Width < 850px)
   ========================================================================== */
@media (max-width: 849px) {
    /* Strictly hide all desktop navigation elements */
    .header-main .hide-for-medium,
    .hide-for-medium {
        display: none !important;
    }

    /* Top Bar Mobile Tweaks */
    #top-bar {
        font-size: 11px !important;
        padding: 6px 12px !important;
        line-height: 1.4 !important;
    }

    #top-bar .flex-row {
        padding-left: 10px !important;
        padding-right: 10px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    #top-bar .flex-col {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Mobile Header Inner Container */
    .header-main .header-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        height: 70px !important;
        min-height: 70px !important;
        width: 100% !important;
    }

    /* Mobile Left: Hamburger Menu Button */
    .header-main .flex-col.show-for-medium.flex-left {
        display: flex !important;
        align-items: center !important;
        order: 1 !important;
    }

    /* Mobile Hamburger Button Styling */
    .mobile-nav .nav-icon {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-nav .nav-icon a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        background-color: rgba(0, 180, 216, 0.15) !important;
        border: 1px solid rgba(0, 180, 216, 0.4) !important;
        border-radius: 8px !important;
        color: #00b4d8 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-nav .nav-icon a i {
        font-size: 20px !important;
        color: #00b4d8 !important;
    }

    /* Mobile Center / Left Logo */
    .header-main #logo {
        order: 2 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-main #logo img.header_logo {
        display: block !important;
        height: 46px !important;
        width: auto !important;
        max-width: 220px !important;
    }

    /* Mobile Right: Cart Icon */
    .header-main .flex-col.show-for-medium.flex-right {
        display: flex !important;
        align-items: center !important;
        order: 3 !important;
    }

    .mobile-nav .cart-item a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        color: #00b4d8 !important;
        padding: 0 !important;
        position: relative !important;
    }


    .mobile-nav .cart-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-nav .cart-icon strong {
        background-color: #00b4d8 !important;
        color: #0f172a !important;
        border-color: #00b4d8 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }
}


/* --- Mobile Menu Drawer --- */
.mobile-sidebar {
    background-color: #0f172a !important;
}

.mobile-sidebar .nav-sidebar > li > a,
.mobile-sidebar .sidebar-menu > li > a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-sidebar .nav-sidebar > li > a:hover {
    color: #00b4d8 !important;
}

/* --- Footer 1 & 2 --- */
.footer-1 {
    background-color: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    padding-top: 50px !important;
    padding-bottom: 40px !important;
}

.footer-1 h3, .footer-1 .widget-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px;
}

.footer-1 h3:after, .footer-1 .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00b4d8;
}

.footer-1 a {
    color: #cbd5e1 !important;
    transition: color 0.2s ease !important;
}

.footer-1 a:hover {
    color: #00b4d8 !important;
    padding-left: 3px;
}

.footer-2, .absolute-footer {
    background-color: #0b0f19 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    padding: 20px 0 !important;
}

.footer-nav a, .copyright-footer, .footer-secondary {
    color: #94a3b8 !important;
}

.footer-nav a:hover, .copyright-footer a:hover {
    color: #00b4d8 !important;
}

.copyright-footer strong {
    color: #ffffff !important;
}

/* --- WooCommerce Card Tweaks & Full Image Height on Catalog Pages --- */
.product-small.box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.product-small.box:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-2px) !important;
}

.product-small .box-image {
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8fafc !important;
    padding: 12px !important;
    border-radius: 8px 8px 0 0 !important;
}

.product-small .box-image .image-fade_in_back,
.product-small .box-image .image-zoom_in,
.product-small .box-image .image-none,
.product-small .box-image a {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-small .box-image img,
.product-small .box-image .back-image,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.ux-products .product-small .box-image img {
    height: auto !important;
    max-height: none !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.product-small .box-text {
    background-color: #ffffff !important;
    border-radius: 0 0 8px 8px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 15px !important;
}

.product-title a {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.product-title a:hover {
    color: #00b4d8 !important;
}

.price {
    color: #00b4d8 !important;
    font-weight: 700 !important;
}

/* --- Standout Contact Form & Channel Cards --- */
.contact-channel-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 20px -5px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.standout-contact-form-wrapper {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 5px solid #00b4d8 !important;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(15, 23, 42, 0.04) !important;
    position: relative !important;
}

.contact-form-badge {
    display: inline-block !important;
    background: rgba(0, 180, 216, 0.12) !important;
    color: #00b4d8 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(0, 180, 216, 0.25) !important;
}

.contact-form-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.contact-form-subtitle {
    color: #64748b !important;
    font-size: 14px !important;
    margin-bottom: 25px !important;
    line-height: 1.6 !important;
}

/* WPForms Form Fields */
.wpforms-container .wpforms-field {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.wpforms-container .wpforms-field-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    display: block !important;
    letter-spacing: 0.2px !important;
}

.wpforms-container .wpforms-required-label {
    color: #f59e0b !important;
    font-weight: 800 !important;
    margin-left: 3px !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container textarea,
.wpforms-field-medium {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.wpforms-container input[type="text"]:hover,
.wpforms-container input[type="email"]:hover,
.wpforms-container textarea:hover {
    border-color: #94a3b8 !important;
}

.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container textarea:focus {
    background-color: #ffffff !important;
    border-color: #00b4d8 !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.18) !important;
    outline: none !important;
}

.wpforms-container textarea {
    min-height: 130px !important;
    line-height: 1.6 !important;
    resize: vertical !important;
}

/* WPForms Submit Button */
.wpforms-submit-container {
    margin-top: 10px !important;
    padding-top: 5px !important;
}

.wpforms-container .wpforms-submit,
button[type="submit"].wpforms-submit {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35) !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    display: inline-block !important;
    text-align: center !important;
}

.wpforms-container .wpforms-submit:hover,
button[type="submit"].wpforms-submit:hover {
    background: linear-gradient(135deg, #0284c7 0%, #03045e 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5) !important;
    transform: translateY(-2px) !important;
}

.wpforms-container .wpforms-submit:active,
button[type="submit"].wpforms-submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3) !important;
}

.contact-form-security-footer {
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px dashed #e2e8f0 !important;
    text-align: center !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* --- Standout Product Categories Styling (3 in a Row) --- */
.product-category.col {
    margin-bottom: 30px !important;
}

.product-category .box {
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid transparent !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

.product-category .box:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 35px -10px rgba(0, 180, 216, 0.22), 0 10px 15px -5px rgba(15, 23, 42, 0.05) !important;
    border-color: #00b4d8 !important;
    border-top: 3px solid #00b4d8 !important;
}

.product-category .box-image {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 16px 12px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 13px 13px 0 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.product-category .box-image > div,
.product-category .box-image .image-cover,
.product-category .box-image .image-zoom,
.product-category .box-image a {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    position: static !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.product-category .box-image .image-cover img,
.product-category .box-image .image-zoom img,
.product-category .box-image img {
    height: auto !important;
    max-height: 185px !important;
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08)) !important;
    transition: transform 0.35s ease, filter 0.35s ease !important;
    display: block !important;
    margin: auto !important;
    position: static !important;
    transform: none !important;
}

.product-category .box:hover .box-image img {
    transform: scale(1.04) !important;
    filter: drop-shadow(0 12px 18px rgba(0, 180, 216, 0.22)) !important;
}

.product-category .box-text {
    padding: 20px 16px !important;
    text-align: center !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    border-radius: 0 0 16px 16px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.product-category .header-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.5px !important;
    transition: color 0.25s ease !important;
}

.product-category .box:hover .header-title {
    color: #00b4d8 !important;
}

.product-category .count {
    display: inline-block !important;
    background: rgba(0, 180, 216, 0.1) !important;
    color: #00b4d8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 180, 216, 0.25) !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

.product-category .box:hover .count {
    background: #00b4d8 !important;
    color: #ffffff !important;
    border-color: #00b4d8 !important;
}

@media (max-width: 849px) {
    .product-category.col {
        margin-bottom: 24px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .product-category .box-image {
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
        padding: 18px 14px !important;
    }
    .product-category .box-image .image-cover img,
    .product-category .box-image .image-zoom img,
    .product-category .box-image img {
        max-height: 190px !important;
        max-width: 90% !important;
        object-fit: contain !important;
    }
    .product-category .header-title {
        font-size: 15px !important;
    }
}




/* --- Hero Slider Centering & Polish --- */
.ux-slider .banner .text-box {
    max-width: 1400px !important;
}

.ux-slider .banner h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

