/*
 Theme Name:   Nutreko Child
 Theme URI:    https://proathletebg.com
 Description:  Pro Athlete BG - Custom child theme
 Author:       Pro Athlete BG
 Template:     nutreko
 Version:      1.0.0
*/

/* ====================================
   GLOBAL & TYPOGRAPHY
   ==================================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1C1C1C;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Primary Navigation Menu */
.primary-navigation ul.menu {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation ul.menu > li {
    position: relative;
}

.primary-navigation ul.menu > li > a {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px 15px;
    color: #1C1C1C;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.primary-navigation ul.menu > li > a:hover {
    color: #0066CC;
}

/* Dropdown menus */
.primary-navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.primary-navigation ul.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header branding */
.site-branding .site-title a {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1C1C1C;
}

/* ====================================
   HERO SECTION
   ==================================== */

/* Makes hero section background more dramatic */
.elementor-background-overlay {
    mix-blend-mode: multiply;
    opacity: 0.6 !important;
}

/* Hero CTA Button */
.elementor-button {
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ====================================
   PRODUCTS
   ==================================== */

li.product {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

li.product:hover {
    box-shadow: 0 8px 30px rgba(0,102,204,0.12);
    transform: translateY(-4px);
}

.woocommerce-loop-product__title {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 12px 0 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #0066CC !important;
}

.product_title {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 32px;
}

/* Add to Cart Button */
li.product .button {
    background: #0066CC !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-family: 'Sofia Sans Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
}

li.product .button:hover {
    background: #4D94FF !important;
    color: #111 !important;
}

/* ====================================
   FOOTER
   ==================================== */

.site-footer {
    background: #111;
    color: #ccc;
    padding: 60px 0 0;
}

.site-footer a {
    color: #aaa;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #4D94FF;
}

/* ====================================
   UTILITY
   ==================================== */

/* Better spacing for featured sections */
.elementor-widget-container {
    line-height: 1.6;
}

/* Image rounded corners */
.elementor-widget-image img {
    border-radius: 12px;
}

/* Container max width */
.e-con-inner {
    max-width: 1200px !important;
}

/* Animated text styling */
.nutreko-animated-headline .headline-title {
    font-weight: 900 !important;
}

/* Clearance */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ====================================
   SCROLLING TICKER - BLUE BG WITH WHITE TEXT
   ==================================== */

.elementor-widget-nutreko-slide-scrolling {
    background-color: #0044AA !important;
    color: #FFFFFF !important;
}

.elementor-widget-nutreko-slide-scrolling .nutreko-slide-scrolling {
    background: #0044AA !important;
    color: #FFFFFF !important;
}

.elementor-widget-nutreko-slide-scrolling .scrolling-item,
.elementor-widget-nutreko-slide-scrolling .item,
.elementor-widget-nutreko-slide-scrolling .nutreko-slide-scrolling-item {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.elementor-widget-nutreko-slide-scrolling a,
.elementor-widget-nutreko-slide-scrolling .scrolling-title {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.nutreko-slide-scrolling-wrapper,
.nutreko-slide-scrolling-inner,
.elementor-element .nutreko-slide-scrolling,
section .nutreko-slide-scrolling {
    background: #0044AA !important;
    color: #FFFFFF !important;
}

.elementor-widget-nutreko-slide-scrolling .swiper-slide,
.elementor-widget-nutreko-slide-scrolling .ticker-item {
    color: #FFFFFF !important;
}

.nutreko-slide-scrolling .scrolling-text {
    color: #FFFFFF !important;
    background: transparent !important;
}

.nutreko-slide-scrolling .seperator {
    color: #FFFFFF !important;
    opacity: 0.5;
}

.elementor-widget-nutreko-slide-scrolling a:hover {
    color: #e0e0e0 !important;
}

/* ====================================
   HANDHELD FOOTER BAR (MOBILE BOTTOM BAR)
   ==================================== */

.nutreko-handheld-footer-bar ul li > a {
    background-color: #FFFFFF !important;
    border-right-color: #E8E8E8 !important;
}

.nutreko-handheld-footer-bar ul li > a:hover .title,
.nutreko-handheld-footer-bar ul li > a:focus .title {
    color: #0066CC !important;
}

.nutreko-handheld-footer-bar {
    border-top-color: #E8E8E8 !important;
}

/* ====================================
   RESPONSIVE - ONLY ESSENTIAL FIXES
   ==================================== */

/* Handheld footer bar - fix overlapping content */
@media (max-width: 1024px) {
    body {
        padding-bottom: 68px !important;
    }
    
    /* Make footer bar compact on all mobile sizes */
    .nutreko-handheld-footer-bar ul li > a {
        height: 56px !important;
        padding-bottom: 3px !important;
        justify-content: center !important;
    }
    
    .nutreko-handheld-footer-bar ul li > a .title {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }
    
    .nutreko-handheld-footer-bar ul li > a:before {
        font-size: 18px !important;
    }
    
    .nutreko-handheld-footer-bar ul li.cart .count,
    .nutreko-handheld-footer-bar ul li.wishlist .count {
        font-size: 10px !important;
        min-width: 15px !important;
        line-height: 11px !important;
        padding: 2px 0 !important;
        top: 0.4em !important;
    }
}

/* Tablet & below */
@media (max-width: 1024px) {
    /* Banner stacking - ensure columns go full width on mobile */
    .elementor-page-148 .elementor-element[data-id="57763dc"],
    .elementor-page-148 .elementor-element[data-id="bc57feb"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .elementor-page-148 .elementor-element[data-id="57763dc"] {
        margin-right: 0 !important;
    }
    
    .elementor-page-148 .elementor-element[data-id="bc57feb"] {
        margin-left: 0 !important;
        margin-top: 20px !important;
    }
    
    /* Ticker text smaller */
    .nutreko-slide-scrolling .scrolling-text {
        font-size: 14px !important;
    }
}

/* Mobile hamburger menu */
@media (max-width: 991px) {
    .menu-mobile-nav-button {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    
    .menu-mobile-nav-button .nutreko-icon-bars {
        font-size: 24px;
    }
    
    .menu-mobile-nav-button .nutreko-icon-close {
        font-size: 20px;
    }
    
    .primary-navigation {
        display: none;
    }
    
    .handheld-navigation {
        display: block !important;
    }
    
    /* Hide categories tab in mobile menu */
    .mobile-nav-tabs .mobile-categories-title,
    .mobile-categories-menu,
    .mobile-tab-title.mobile-categories-title {
        display: none !important;
    }
    
    /* Make the pages tab the only visible tab */
    .mobile-nav-tabs .mobile-pages-title {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Products grid responsive */
@media (max-width: 768px) {
    ul.products.columns-4,
    ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    ul.products {
        gap: 12px;
    }
    
    li.product {
        padding: 12px;
    }
    
    .woocommerce-loop-product__title {
        font-size: 13px !important;
    }
    
    .price {
        font-size: 14px !important;
    }
    
    .single-product .product {
        flex-direction: column;
    }
    
    .elementor-button {
        padding: 12px 24px !important;
        font-size: 12px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    ul.products.columns-4,
    ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    li.product {
        padding: 8px;
    }
    
    .woocommerce-loop-product__title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    
    .price {
        font-size: 12px !important;
    }
    
    .product_title {
        font-size: 20px !important;
    }
    
    .desktop-hide-down {
        display: none !important;
    }
    
    .site-header-cart.header-cart-mobile {
        display: flex !important;
        align-items: center;
    }
    
    /* Handheld footer bar - fit all items on one line */
    .nutreko-handheld-footer-bar ul li > a {
        height: 50px !important;
        padding-bottom: 2px !important;
        justify-content: center !important;
    }
    
    .nutreko-handheld-footer-bar ul li > a .title {
        font-size: 9px !important;
        line-height: 1 !important;
    }
    
    .nutreko-handheld-footer-bar ul li > a:before {
        font-size: 16px !important;
    }
    
    .nutreko-handheld-footer-bar ul li.cart .count,
    .nutreko-handheld-footer-bar ul li.wishlist .count {
        font-size: 9px !important;
        min-width: 14px !important;
        line-height: 10px !important;
        padding: 1px 0 !important;
        top: 0.3em !important;
    }
}
