@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #32A3FD;
    --body-color: #F3F5F7;
    --secondary-color: #FFFFFF;
    --text-color: #2094D2;
}

body {
    overflow-x: hidden;
    background-color: var(--body-color);
    color: var(--text-color);
}

.container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 20px 80px;
}

.midea_lft{
    img{
        width:100%;
        height: auto;
    }
}

header{
    position: sticky;
    top: 0;
    z-index: 1000000;
        background: var(--body-color);
    --tw-shadow: 0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;
    box-shadow: #0000001a 0px 4px 6px -1px, #0000001a 0px 2px 4px -2px;
}

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

.header_rgt {
    display: flex;
    align-items: center;
    gap: 12px;
}

#search {
    position: relative;
    background: #FFFFFF;
    width: 256px;
    padding: 0px 24px;
    height: 44px;
    border-radius: 33554400px;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 17px;
}

#search::placeholder {
    color: var(--text-color);
    font-weight: 500;
    font-size: 17px;
}

#search::after {
    content: "\f52a";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#lang-btn {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    background: #FFFFFF;
    width: 100px;
    padding: 0px 24px;
    height: 44px;
    border-radius: 33554400px;
    border: none;
}

.language {
    position: relative;
    top: 100px;
    z-index: 1000000;
    right: 75px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    background: #FFFFFF;
    padding: .20rem;
    border-radius: .5rem;

    p {
        margin-top: .25rem;
        margin-bottom: .25rem;
        color: var(--text-color);
        font-weight: 500;
        font-size: 16px;
        width: 100px;
    }

    p:hover {
        background: lab(96.4264% -.418216 -1.20075);
        padding: .25rem;
        border-radius: .5rem;
        transition: .2s;
    }
}

.language-active {
    display: flex;
    align-items: center;
    gap: 12px;

    p {
        color: var(--text-color);
        font-weight: 500;
        font-size: 16px;
    }
}

#savat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 24px;
    background: #FFFFFF;
    width: 115px;
    padding: 0px 24px;
    height: 44px;
    border-radius: 33554400px;
    border: none;

    p {
        color: var(--text-color);
        font-weight: 500;
        font-size: 16px;
    }
}

#phone-num {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 24px;
    background: #FFFFFF;
    width: 215px;
    padding: 0px 24px;
    height: 44px;
    border-radius: 33554400px;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
}

/* hero main */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/hero-img.webp') no-repeat center;
    background-size: cover;
    height: 455px;

    .hero_contact {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 150px;
        h1 {
            color: var(--secondary-color);
            font-weight: 400;
            font-size: 30px;
        }
        p{
            color: var(--secondary-color);
            font-weight: 400;
            width: 400px;
            font-size: 14px;
        }
        button{
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--text-color);
            color: var(--secondary-color);
            width: 230px;
            height: 40px;
            padding: 0px 0px 0px 24px;
            border: none;
            font-weight: 400;
            font-size: 16px;
        }
    }
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero__bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    z-index: 1;
}

.hero__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.hero__bg.active {
    opacity: 1;
    z-index: 2;
}

.hero_contact {
    position: relative;
    z-index: 10;
}

/* catalog */

.navbar_katalog{
    display: flex;
    align-items:center;
    gap: 16px;
}

.card{
    margin-top: 20px;
    background: var(--secondary-color);
    width: 240px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    padding: 17px 34px;

    img {
        height: 171px;
        object-fit: cover;
    }

    h2 {
        display: flex;
        margin-top: 74px;
        justify-content: center;
        color: #000;
        font-weight: 400;
        font-size: 14px;
    }
}

.texts{
display: flex;
align-items: center;
justify-content: space-between;
a{
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px;
}

.text-catalog{
    color: #000;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 20px;
}
}

.navbar_katalog {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}


/* about */

.navbar_about{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items:center;
    gap: 40px;
    .cards{
        display: flex;
        margin-top: 81px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 400px;
        height: 260px;
        padding: 44px 0px 44px 0px;
        background: var(--secondary-color);
        h2{
            margin-top: 34px;
            width: 250px;
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: bold;
            color: #000;
        }
        p{
            color:#797D91;
            font-weight: 500;
            width: 245px;
            font-size: 14px;
        }
    }
}























/* savatcha */

.navbar_cart{
    display: flex;
    margin-top: 40px;
    gap: 40px;
    justify-content: space-between;
}

.remove-item{
    display: none;
}

.products{
    display: flex;
    flex-direction: column;
    position: relative;
    height: 140px;
    align-items: center;
    gap: 30px;
    width: 836px;
    padding: 15px;
    border: solid 1px #0000001a;
    background: var(--secondary-color);
    color: #000;
    h2{
        font-weight: 500;
        font-size: 1rem;
    }
    p{
        font-weight: 500;
        font-size: 1.30rem;

    }
    .cart_title{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    #count_btn{
        position: absolute;
        right: 10px;
        bottom: 10px;
        display: flex;
        gap: 25px;
        background: none;
        padding: 12px 25px;
        border-radius:33445500px;
        border: solid 1px var(--text-color);
    #count{
        font-size: 16px;
        font-weight: 500;
        color: var(--text-color);
    }
    }
}

.your_self{
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FFFFFF;
    border: solid 1px #E5E7EB;
    padding: 10px;
    width: 493px;
    h1{
        font-size: 20px;
        margin-top: 10px;
        color: #000;
        font-weight: 500;
    }
    input{
        border-bottom: solid 1px #E5E7EB;
        border-top: none;
        border-left: none;
        border-right: none;
        color: #2a2a2a7a;
        font-weight: 400;
        font-size: 16px;
        margin-top: 16px;
    }
    input::placeholder{
        color: #2a2a2a7a;
        font-weight: 400;
        font-size: 16px;
    }
    select{
        border-bottom: solid 1px #E5E7EB;
        border-top: none;
        border-left: none;
        border-right: none;
        color: #2a2a2a7a;
        font-weight: 400;
        font-size: 16px;
        margin-bottom: 16px;
        margin-top: 16px;
    }
    button{
        background: var(--text-color);
        color: var(--secondary-color);
        width: 100%;
        height: 40px;
        border: none;
        font-weight: 500;
        padding: 0px 48px;
        font-size: 16px;
    }
}

/* Savatcha Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-modal.active {
    visibility: visible;
    opacity: 1;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cart-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 30px 30px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cart-modal.active .cart-content {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.cart-header h2 {
    font-size: 24px;
    color: #1A2C3E;
}

.close-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.cart-body {
    padding: 20px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

/* Savatcha mahsulotlari */
.cart-products {
    margin-bottom: 20px;
}

.cart-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-product-info {
    flex: 1;
}

.cart-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-product-price {
    color: #32A3FD;
    font-weight: bold;
}

.cart-quantity-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 30px;
}

.cart-quantity-btn button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.cart-remove {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff4444;
}

.cart-total {
    text-align: right;
    padding: 15px;
    border-top: 2px solid #32A3FD;
    margin-top: 15px;
    font-size: 18px;
}

.cart-total span {
    color: #32A3FD;
    font-size: 24px;
    font-weight: bold;
}

.order-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
}

.order-form h3 {
    margin-bottom: 15px;
}

.order-form input,
.order-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.order-submit {
    width: 100%;
    background: #32A3FD;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}


/* Media Responsive */

/* ==================== MEDIA SCREEN (TELEFON VERSIYA) ==================== */

/* 1200px gacha */
@media (max-width: 1200px) {
    .container {
        padding: 20px 40px;
    }
    
    .products {
        width: 100%;
        max-width: 600px;
    }
    
    .your_self {
        width: 100%;
        max-width: 400px;
    }
}

/* 992px gacha (planshet) */
@media (max-width: 992px) {
    .container {
        padding: 20px 30px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .header_rgt {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar_cart {
        flex-direction: column;
        align-items: center;
    }
    
    .products {
        width: 100%;
        max-width: 100%;
    }
    
    .your_self {
        width: 100%;
        max-width: 100%;
    }
    
    .navbar_about {
        gap: 20px;
    }
    
    .cards {
        width: 300px !important;
        height: auto !important;
        padding: 30px 20px !important;
    }
}

/* 768px gacha (planshet - kichik) */
@media (max-width: 768px) {
    .container {
        padding: 15px 20px;
    }
    
    .header_rgt {
        gap: 8px;
    }
    
    #search {
        width: 180px;
        padding: 0px 16px;
        font-size: 14px;
        height: 40px;
    }
    
    #search::placeholder {
        font-size: 14px;
    }
    
    #lang-btn {
        width: 80px;
        padding: 0px 16px;
        height: 40px;
    }
    
    .language-active p {
        font-size: 14px;
    }
    
    #savat {
        width: 90px;
        padding: 0px 16px;
        height: 40px;
    }
    
    #savat p {
        font-size: 14px;
    }
    
    #phone-num {
        width: 160px;
        padding: 0px 16px;
        height: 40px;
        font-size: 13px;
    }
    
    #phone-num img {
        width: 16px;
        height: 16px;
    }
    
    /* Hero */
    .hero {
        height: 350px;
    }
    
    .hero .hero_contact {
        margin-top: 80px;
    }
    
    .hero .hero_contact h1 {
        font-size: 24px;
    }
    
    .hero .hero_contact p {
        width: 280px;
        font-size: 12px;
    }
    
    .hero .hero_contact button {
        width: 180px;
        height: 36px;
        font-size: 14px;
        padding: 0px 0px 0px 16px;
    }
    
    /* Catalog */
    .text-catalog {
        font-size: 20px;
    }
    
    .texts a {
        font-size: 14px;
    }
    
    .card {
        width: 200px;
        padding: 12px 20px;
    }
    
    .card img {
        height: 130px;
    }
    
    .card h2 {
        margin-top: 40px;
        font-size: 12px;
    }
    
    /* About */
    .cards h2 {
        font-size: 16px !important;
        width: 200px !important;
    }
    
    .cards p {
        font-size: 12px !important;
        width: 200px !important;
    }
    
    /* Savatcha */
    .products {
        flex-wrap: wrap;
        height: auto;
        min-height: 150px;
        gap: 15px;
    }
    
    .products img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .products h2 {
        font-size: 14px;
    }
    
    .products p {
        font-size: 16px;
    }
    
    .products #count_btn {
        position: static;
        margin-top: 10px;
        padding: 8px 16px;
        gap: 15px;
    }
    
    .products #count_btn #count {
        font-size: 14px;
    }
    
    .your_self {
        padding: 20px;
    }
    
    .your_self h1 {
        font-size: 18px;
    }
    
    .your_self input,
    .your_self select {
        font-size: 14px;
    }
    
    .your_self button {
        font-size: 14px;
        height: 36px;
    }
}

/* 576px gacha (mobil telefon) */
@media (max-width: 576px) {
    .container {
        padding: 10px 15px;
    }
    
    .header_lft img {
        width: 100px;
    }
    
    .header_rgt {
        gap: 6px;
    }
    
    #search {
        width: 140px;
        padding: 0px 12px;
        font-size: 12px;
        height: 36px;
    }
    
    #search::placeholder {
        font-size: 12px;
    }
    
    #lang-btn {
        width: 60px;
        padding: 0px 12px;
        height: 36px;
    }
    
    .language-active {
        gap: 6px;
    }
    
    .language-active p {
        font-size: 12px;
    }
    
    .language-active img {
        width: 10px;
    }
    
    #savat {
        width: 65px;
        padding: 0px 12px;
        height: 36px;
    }
    
    #savat img {
        width: 16px;
        height: 16px;
    }
    
    #savat p {
        font-size: 12px;
    }
    
    #phone-num {
        width: 120px;
        padding: 0px 10px;
        height: 36px;
        font-size: 10px;
        gap: 6px;
    }
    
    #phone-num img {
        width: 14px;
        height: 14px;
    }
    
    /* Hero */
    .hero {
        height: 280px;
    }
    
    .hero .hero_contact {
        margin-top: 50px;
        gap: 12px;
    }
    
    .hero .hero_contact h1 {
        font-size: 20px;
    }
    
    .hero .hero_contact p {
        width: 220px;
        font-size: 10px;
    }
    
    .hero .hero_contact button {
        width: 150px;
        height: 32px;
        font-size: 12px;
        padding: 0px 0px 0px 12px;
    }
    
    .hero .hero_contact button img {
        width: 14px;
    }
    
    /* Catalog */
    .text-catalog {
        font-size: 18px;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    
    .texts a {
        font-size: 12px;
    }
    
    .card {
        width: 160px;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .card img {
        height: 100px;
    }
    
    .card h2 {
        margin-top: 20px;
        font-size: 10px;
    }
    
    /* About */
    .navbar_about {
        gap: 15px;
    }
    
    .cards {
        width: 100% !important;
        margin-top: 30px !important;
        padding: 25px 15px !important;
    }
    
    .cards h2 {
        font-size: 14px !important;
        width: 180px !important;
        margin-top: 20px;
    }
    
    .cards p {
        font-size: 11px !important;
        width: 180px !important;
    }
    
    .cards img {
        width: 40px;
    }
    
    /* Savatcha */
    .navbar_cart {
        margin-top: 20px;
        gap: 20px;
    }
    
    .products {
        padding: 12px;
        gap: 12px;
    }
    
    .products img {
        width: 55px !important;
        height: 55px !important;
    }
    
    .cart_title {
        gap: 8px !important;
    }
    
    .products h2 {
        font-size: 12px;
    }
    
    .products p {
        font-size: 13px;
    }
    
    .products #count_btn {
        padding: 5px 12px;
        gap: 10px;
    }
    
    .products #count_btn #count {
        font-size: 12px;
    }
    
    .products #count_btn img {
        width: 14px;
    }
    
    .your_self {
        padding: 15px;
    }
    
    .your_self h1 {
        font-size: 16px;
        margin-top: 5px;
    }
    
    .your_self input,
    .your_self select {
        font-size: 12px;
        margin-top: 12px;
    }
    
    .your_self input::placeholder {
        font-size: 12px;
    }
    
    .your_self button {
        font-size: 12px;
        height: 34px;
        padding: 0px 24px;
    }
}

/* 400px gacha (juda kichik telefonlar) */
@media (max-width: 400px) {
    .header_rgt {
        gap: 4px;
    }
    
    #search {
        width: 110px;
        padding: 0px 8px;
        font-size: 10px;
    }
    
    #lang-btn {
        width: 50px;
        padding: 0px 8px;
    }
    
    #savat {
        width: 55px;
        padding: 0px 8px;
    }
    
    #phone-num {
        width: 100px;
        padding: 0px 6px;
        font-size: 9px;
    }
    
    /* Hero */
    .hero {
        height: 240px;
    }
    
    .hero .hero_contact h1 {
        font-size: 18px;
    }
    
    /* Catalog */
    .card {
        width: 140px;
        padding: 8px 12px;
    }
    
    .card img {
        height: 85px;
    }
    
    /* Savatcha */
    .products #count_btn {
        gap: 8px;
        padding: 4px 10px;
    }
    
    .products #count_btn img {
        width: 12px;
    }
}

/* Karusel mobil versiya uchun qo'shimcha */
@media (max-width: 576px) {
    .carousel-track {
        gap: 10px;
    }
    
    .card {
        min-width: 140px;
    }
    
    .navbar_katalog {
        overflow-x: auto;
        scrollbar-width: thin;
    }
    
    .navbar_katalog::-webkit-scrollbar {
        height: 4px;
    }
    
    .navbar_katalog::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .navbar_katalog::-webkit-scrollbar-thumb {
        background: #32A3FD;
        border-radius: 10px;
    }
}

/* Karusel uchun touch (sensor) yaxshiroq ishlashi */
@media (max-width: 768px) {
    .carousel-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .carousel-track {
        scroll-snap-type: x mandatory;
    }
    
    .card {
        scroll-snap-align: start;
    }
}


/* news */

.navbar_news{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    justify-content: center;
}


.news__{
    margin-top: 80px;
    margin-bottom: 20px;
    color: #2A2A2A;
    font-weight: bold;
    font-size: 35px;
}
.new_card{
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    border: solid 1px #E5E7EB;
    h2{
        color: #2A2A2A;
        font-weight: bold;
        font-size: 20px;
    }
    p{
        text-align: right;
        color:var(--text-color);
        font-size: 16px;
        font-weight: 400;
    }
    .news_title{
        padding: 0px 9px 9px 9px;
    }
}

/* about midea */

.navbar_midea{
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: center;
}

.about_midea{
    margin-top: 80px;
}

.midea_rgt{
    display: flex;
    align-items: left;
    flex-direction: column;
    gap: 20px;
    h2{
        font-size: 36px;
        font-weight: bold;
        color: #2A2A2A;
    }
    p{
        font-size: 16px;
        font-weight: 400;
        color: #2A2A2A;
        width: 646px;
    }
    a{
        margin-top: 31px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-color);
        font-weight: 400;
        font-size: 17px;
    }
}

/* Location */

.location{
    margin-top: 80px;
}

.navbar_location{
    display: flex;
}


#firebase_location{
    background: #fff;
    border: solid 1px #E5E7EB;
    box-shadow: #0000001a 0px 4px 6px -1px, #0000001a 0px 2px 4px -2px;
    width: 426px;
    height: 440px;

    div{
        width: 100%;
        height: 48px;
        background: var(--text-color);
        padding: 12px 16px 16px 20px;
        a{
            color: var(--secondary-color);
            text-decoration: none;
        }
    }
}

.location_rgt{
    .live_location_card{
        display: flex;
        background: #fff;
        border: solid 1px #E5E7EB;
        box-shadow: #0000001a 0px 4px 6px -1px, #0000001a 0px 2px 4px -2px;
        gap: 280px;
        padding: 20px 0px 25px 20px;
        width: 852px;
        .numbers{
            h2{
                font-size: 18px;
                font-weight: 500;
                color: #2A2A2A;
            }
            p{
                color: #364153;
                margin-top: 12px;
                font-size: 14px;
                font-weight: 400;
            }
        }
        .address{
            h2{
                font-size: 18px;
                font-weight: 500;
                color: #2A2A2A;
            }
            p{
                color: #364153;
                margin-top: 12px;
                font-size: 14px;
                font-weight: 400;
            }
        }
    }
}

/* ==================== LOCATION MEDIA QUERY ==================== */

/* 1200px gacha */
@media (max-width: 1200px) {
    .location_rgt .live_location_card {
        gap: 150px;
        width: 700px;
    }
    
    #firebase_location {
        width: 350px;
    }
    
    .location_rgt iframe {
        width: 100%;
        max-width: 700px;
    }
}

/* 992px gacha (planshet) */
@media (max-width: 992px) {
    .navbar_location {
        flex-direction: column;
        gap: 30px;
    }
    
    #firebase_location {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .location_rgt {
        width: 100%;
    }
    
    .location_rgt .live_location_card {
        width: 100%;
        gap: 100px;
        flex-wrap: wrap;
    }
    
    .location_rgt iframe {
        width: 100%;
        margin-top: 20px;
    }
}

/* 768px gacha */
@media (max-width: 768px) {
    .location {
        margin-top: 50px;
    }
    
    #firebase_location {
        height: auto;
        min-height: 250px;
    }
    
    #firebase_location div {
        padding: 10px 16px;
    }
    
    #firebase_location div a {
        font-size: 14px;
    }
    
    .location_rgt .live_location_card {
        gap: 50px;
        padding: 15px 0px 20px 15px;
    }
    
    .location_rgt .live_location_card .numbers h2,
    .location_rgt .live_location_card .address h2 {
        font-size: 16px;
    }
    
    .location_rgt .live_location_card .numbers p,
    .location_rgt .live_location_card .address p {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .location_rgt iframe {
        height: 250px;
    }
}

/* 576px gacha (mobil telefon) */
@media (max-width: 576px) {
    .location {
        margin-top: 40px;
    }
    
    #firebase_location {
        min-height: 200px;
    }
    
    #firebase_location div {
        padding: 8px 12px;
    }
    
    #firebase_location div a {
        font-size: 12px;
    }
    
    .location_rgt .live_location_card {
        gap: 20px;
        flex-direction: column;
        padding: 15px;
    }
    
    .location_rgt .live_location_card .numbers,
    .location_rgt .live_location_card .address {
        width: 100%;
    }
    
    .location_rgt .live_location_card .numbers h2,
    .location_rgt .live_location_card .address h2 {
        font-size: 14px;
    }
    
    .location_rgt .live_location_card .numbers p,
    .location_rgt .live_location_card .address p {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .location_rgt iframe {
        height: 200px;
    }
    .navbar_midea{
        text-align: center;
        flex-direction: column;
        p{
            width: 100%;
        }
    }
    .navbar_footer{
        flex-direction: column;
    }

    .footer_cnt{
        margin-top: 50px;
        margin-bottom: 50px;
    } 
}

/* 400px gacha (juda kichik telefonlar) */
@media (max-width: 400px) {
    .location {
        margin-top: 30px;
    }
    
    #firebase_location {
        min-height: 180px;
    }
    
    #firebase_location div a {
        font-size: 10px;
    }
    
    .location_rgt .live_location_card {
        padding: 12px;
    }
    
    .location_rgt .live_location_card .numbers h2,
    .location_rgt .live_location_card .address h2 {
        font-size: 13px;
    }
    
    .location_rgt .live_location_card .numbers p,
    .location_rgt .live_location_card .address p {
        font-size: 10px;
    }
    
    .location_rgt iframe {
        height: 180px;
    }

    .navbar_midea{
        flex-direction: column;
    }

    .navbar_footer{
        flex-direction: column;
    }
    .footer_cnt{
        margin-top: 15px;
        margin-bottom: 15px;
    } 
}

/* footer */

footer{
    margin-top: 80px;
    background: #fff;
}

.navbar_footer{
    display: flex;
    justify-content: space-between;
    padding: 32px 50px;
    .footer_cnt{
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 20px;
        h1{
            font-size: 20px;
            font-weight: 500;
        }
        a{
            text-decoration: none;
            color: #797D91;
            font-weight: 400;
        }
    }
    .footer_lft{
        img{
            width: 188px;
            height: 78px;
        }
        .programms{
            display: flex;
            gap: 12px;
            align-items: center;
            margin-top: 48px;
            img{
                width: 32px;
                height: 32px;
            }
        }
    }
    .footer_rgt{
        h1{
            font-size: 20px;
            margin-bottom: 21px;
            font-weight: 600;
        }
    }
}

.safety_alert{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: #2a2a2a45;
    font-weight: 500;
    font-size: 12px;
}