/*
Theme Name: Aircon
Theme URI: https://example.com/aircon
Author: Aircon Team
Author URI: https://example.com
Description: A lightweight starter theme for the Aircon site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aircon
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Theme styles are enqueued from /assets/css/main.css */

/* Front page: The7 custom.css sets #main { padding: 70px 0; } which leaves a white band under the header */
body.home #main{
    padding-top: 0 !important;
}

.site-links{
    width: 34% !important;
    padding-top: 0px !important;
}

.social-links{
    width: 33% !important;
}

.aircon-book-now{
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #0b5cff;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.aircon-book-now:hover,
.aircon-book-now:focus{
    background: #0849cc;
    color: #fff !important;
    text-decoration: none !important;
}
@media (max-width: 480px){
    .aircon-book-now{
        right: 12px;
        bottom: 12px;
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* WooCommerce (cart/checkout/account) header banner */
.aircon-woo-header header.elementor-location-header{
    background: #0b5cff;
}
.aircon-woo-header header.elementor-location-header .elementor-background-overlay{
    background: transparent !important;
}
.aircon-woo-header header.elementor-location-header a,
.aircon-woo-header header.elementor-location-header .menu-text{
    color: #fff !important;
}
.aircon-woo-header header.elementor-location-header svg{
    fill: currentColor;
}

/* Simple cart header (Woo pages) */
.aircon-cart-header{
    background: #0b5cff;
    color: #fff;
}
.aircon-cart-header__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.aircon-cart-header__logo{
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}
.aircon-cart-header__logo img{
    display: block;
    width: auto;
    height: auto;
    max-height: 4rem;
    max-width: min(380px, 82vw);
    object-fit: contain;
}

/* Elementor masthead logos (desktop / tablet / mobile rows) */
header.elementor-location-header .elementor-element-10e1265 img,
header.elementor-location-header .elementor-element-1fe6e36 img,
header.elementor-location-header .elementor-element-b49adcc img{
    width: 620px;
    max-width: min(620px, 54vw);
    height: auto;
}
@media (max-width: 767px){
    header.elementor-location-header .elementor-element-b49adcc img{
        max-width: min(620px, 78vw);
    }
}
.aircon-cart-header__nav{
    display: flex;
    align-items: center;
    line-height: 1.25;
    font-size: 1rem;
}
.aircon-cart-header__menu{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.aircon-cart-header__menu a{
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
}
.aircon-cart-header__menu li.current-menu-item a,
.aircon-cart-header__menu li.act a{
    text-decoration: underline !important;
}
@media (max-width: 768px){
    .aircon-cart-header__inner{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .aircon-cart-header__menu{
        justify-content: center;
    }
}

/* Containerize WooCommerce page content (cart/checkout/account) */
.aircon-woo-header .wp-site-blocks{
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px;
}

/* Cookie consent popup */
.aircon-cookie-consent{
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99998;
    display: none;
}
.aircon-cookie-consent.is-visible{
    display: block;
}
.aircon-cookie-consent__inner{
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.96);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.aircon-cookie-consent__text{
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 1.35;
}
.aircon-cookie-consent__actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.aircon-cookie-consent__btn{
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}
.aircon-cookie-consent__btn--reject{
    background: rgba(255,255,255,.14);
    color: #fff;
}
.aircon-cookie-consent__btn--accept{
    background: #0b5cff;
    color: #fff;
}
.aircon-cookie-consent__btn:hover{
    filter: brightness(1.05);
}
@media (max-width: 640px){
    .aircon-cookie-consent__inner{
        flex-direction: column;
        align-items: stretch;
    }
    .aircon-cookie-consent__actions{
        justify-content: stretch;
    }
    .aircon-cookie-consent__btn{
        width: 100%;
    }
}

.book-now-button{
    display: block;
    background-color: #0849cc;
    border-radius: 10px;
    line-height: 40px;
    color: white;
    text-align: center;
    width: 200px;
}

article{
    width: 1270px;
    padding: 50px;
    margin: 0px auto;
}