/*
 Theme Name:   Astra Child (AlkaPure)
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme para AlkaPure
 Author:       AlkaPure
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* 
 * Custom CSS para Header, Footer y Home
 * Las variables de color según el mockup 
 */
:root {
    --alka-blue-dark: #2B3A67;
    --alka-blue-mid: #496294;
    --alka-blue-light: #F4F6F9;
    --alka-text-dark: #1A1A1A;
    --alka-text-gray: #666666;
    --alka-white: #FFFFFF;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--alka-text-dark);
}

/* =========================================
   CUSTOM HEADER CUSTOMIZATION
   ========================================= */
.alka-custom-header {
    background-color: var(--alka-blue-light);
    padding: 15px 5%;
    position: relative;
    z-index: 999;
}

.alka-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.alka-logo img {
    max-height: 50px;
    width: auto;
}
.alka-logo a {
    color: var(--alka-blue-dark);
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
}

/* Tipografía del menú */
.alka-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.alka-main-nav ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--alka-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.alka-main-nav ul li a:hover {
    color: var(--alka-blue-mid);
}

/* Iconos */
.alka-header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.alka-header-icons a,
.alka-mobile-menu-toggle {
    color: var(--alka-text-dark);
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alka-header-icons a:hover,
.alka-mobile-menu-toggle:hover {
    color: var(--alka-blue-mid);
}

/* Custom Cart Button */
.alka-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.alka-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--alka-blue-dark);
    color: var(--alka-white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--alka-blue-light);
}

/* Responsive */
.alka-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .alka-main-nav, .alka-header-icons .alka-icon-search, .alka-header-icons .alka-icon-account {
        display: none;
    }
    .alka-mobile-menu-toggle {
        display: block;
    }
}

/* =========================================
   FOOTER CUSTOMIZATION
   ========================================= */
.site-footer {
    background-color: var(--alka-blue-dark);
    color: var(--alka-white);
}

.footer-top {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top h2 {
    color: var(--alka-white);
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.footer-widgets {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widget {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    color: var(--alka-white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-widget p, .footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.6;
    font-size: 14px;
}

.footer-widget a:hover {
    color: var(--alka-white);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-socials {
    margin-top: 10px;
}

.footer-socials a {
    color: var(--alka-white);
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   WOOCOMMERCE GLOBAL PRODUCT CARDS (PLP, Search, Home)
   ========================================= */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 30px 20px !important;
    text-align: left !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.woocommerce ul.products li.product a img {
    margin: 0 auto 20px auto !important;
    max-height: 250px !important;
    object-fit: contain !important;
    width: auto !important;
    display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--alka-blue-dark) !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--alka-blue-dark) !important;
    display: block !important;
    margin-bottom: 15px !important;
}
