/*
 Theme Name:   AirPro Child
 Description:  AirPro Child Theme
 Author:       Tajana Sokec
 Template:     airpro
 Version:      1.0.0
 Text Domain:  airprochild
*/

:root {
    --klima-blue: #1b75bc;
    --klima-dark: #2d2d2d;
    --klima-silver: #f5f5f5;
    --klima-red: #e74c3c;
    --klima-border: #e1e1e1;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* --- HEADER V2 STYLES --- */

/* Structure */
.site-header-v2 {
    background: #fff;
    font-family: 'Open Sans', 'Arial', sans-serif;
}

.container-fluid {
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.middle-align {
    align-items: center;
}

/* Row 1: Top Dark */
.header-row-top {
    background: var(--klima-dark);
    color: #ccc;
    font-size: 11px;
    padding: 8px 0;
    line-height: 1.4;
}

.header-row-top .row-flex {
    flex-wrap: wrap;
    gap: 5px;
}

.header-row-top .highlight-red,
.header-row-top .red-text {
    color: var(--klima-red);
    font-weight: bold;
}

.header-row-top .highlight-gray {
    color: #fff;
    margin-right: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.header-row-top span {
    margin-right: 15px;
}

.col-right {
    text-align: right;
}

/* Row 2: Secondary Silver */
.header-row-secondary {
    background: var(--klima-silver);
    border-bottom: 1px solid var(--klima-border);
    padding: 0;
    height: 50px;
    /* Fixed height for buttons alignment */
}

.header-row-secondary .container,
.header-row-secondary .row-flex {
    height: 100%;
}

.col-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.col-links a {
    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.col-links a:hover {
    color: var(--klima-blue);
}

.col-links i {
    font-size: 14px;
}

.col-actions {
    display: flex;
    height: 100%;
    align-items: center;
}

.btn-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    /* Fill bar */
    padding: 0 20px;
    color: #fff !important;
    font-weight: bold;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
}

.blue-box {
    background: var(--klima-blue);
    margin-right: 1px;
}

.red-box {
    background: var(--klima-red);
}

.btn-box i {
    margin-right: 5px;
    font-size: 14px;
}

.btn-box:hover {
    opacity: 0.9;
}

.col-user {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 12px;
    color: #555;
    margin-left: auto;
}

.phone-link {
    color: var(--klima-blue);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.col-user a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.icon-circle {
    position: relative;
    color: #555;
    font-size: 18px;
    margin-left: 5px;
}

.icon-circle .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--klima-blue);
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Row 3: Main White */
.header-row-main {
    padding: 20px 0;
    background: #fff;
}

.col-logo {
    flex: 0 0 250px;
}

.col-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.col-search {
    flex: 1;
    margin: 0 40px;
}

.klima-search-form {
    display: flex;
    border: 1px solid #ccc;
    height: 44px;
}

.klima-search-form input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    outline: none;
}

.klima-search-form button {
    background: #fff;
    border: none;
    border-left: 1px solid #eee;
    color: #333;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s;
}

.klima-search-form button:hover {
    color: var(--klima-blue);
}

.col-widgets {
    display: flex;
    gap: 40px;
    align-items: center;
}

.widget-deliver,
.widget-cart .cart-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
}

.widget-deliver i,
.widget-cart i {
    font-size: 36px;
    color: var(--klima-blue);
}

/* Blue icons */
.widget-cart i {
    color: var(--klima-blue);
}

/* Ensure cart is blue too */
/* Ensure cart icon looks like the image (shopping cart) */
.text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.text-group strong {
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

.text-group span {
    font-size: 13px;
    color: #777;
}


/* Row 4: Nav Blue */
.header-row-nav {
    background: var(--klima-blue);
}

.header-row-nav .container {
    padding: 0;
}

.klima-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.klima-main-menu>li {
    margin: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.klima-main-menu>li:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.klima-main-menu>li>a {
    display: block;
    color: #fff;
    padding: 16px 22px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

.klima-main-menu>li:hover>a {
    background: rgba(0, 0, 0, 0.1);
}

.klima-main-menu>li.current-menu-item>a {
    background: rgba(0, 0, 0, 0.2);
}

/* Mobile Adjustments (Basic) */
@media (max-width: 991px) {

    .header-row-top,
    .header-row-secondary {
        display: none;
    }

    /* Hide top bars on mobile for now */
    .row-flex {
        flex-direction: column;
        gap: 15px;
    }

    .col-search {
        margin: 15px 0;
        width: 100%;
    }

    .col-widgets {
        width: 100%;
        justify-content: space-around;
    }

    .klima-main-menu {
        flex-direction: column;
    }

    .klima-main-menu>li {
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* --- HOMEPAGE STYLES (Preserved) --- */
.klima-home-wrapper {
    padding-top: 20px;
}

.klima-hero-section {
    margin-bottom: 30px;
}

.klima-usp-section {
    padding: 40px 0;
    background: #fff;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.usp-item i {
    font-size: 32px;
    color: var(--klima-blue);
    margin-bottom: 15px;
}

.usp-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.usp-item p {
    font-size: 14px;
    color: #666;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--klima-blue);
    display: inline-block;
}

.klima-categories-section {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.cat-box {
    display: block;
    background: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: all 0.3s;
}

.cat-box:hover {
    background: var(--klima-blue);
    color: #fff;
    border-color: var(--klima-blue);
}

.klima-products-section {
    margin-bottom: 50px;
}

.woocommerce ul.products li.product {
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
    transition: box-shadow 0.3s;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product .price {
    color: var(--klima-blue);
    font-weight: 700;
}

.woocommerce ul.products li.product .button {
    background-color: var(--klima-red);
    /* Match Red Accent? Or Blue? Klimakoncept usually uses blue or red for buttons. */
    color: #fff;
}