body {
    background-color: #ffffff !important;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

:root {
    color-scheme: light;
}

* {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.header-top {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    justify-content: center;
    position: relative;
    gap : 10px
}

.header-right {
    display: flex;
    align-items: center;
}

.search-input {
    display: block;
    text-align: left;
    max-width: 100px;
    margin: 10px auto;
    width: 100%;

}

.search-box {
    width: 50%;
    padding: 8px 12px;
    border: 1px solid #dfcab0;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: 0.3;
    background-color: #f9f9f9;
    margin: auto;
    margin-top: -47px !important;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #94460e;
    text-align: center;
    margin-bottom: -10px;

}

.city-select {
    font-size: 16px;
    color: #78380b;
    font-weight: bold;
    padding-left: 30px;
}

.section-title {
    font-size: 21px;
    margin-top: 7px;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    font-size: 18px;
    color: black;
    margin: 15px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: bold;
}

/* ГЛАВНАЯ МАГИЯ: Горизонтальный свайп */
.product-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 10px;
    -webkit-overflow-scrolling: touch;
}

/* Прячем полосу прокрутки */
.product-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 155px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    min-width: 170px;
    max-width: 190px;
    position: relative;
    display: inline-block;
    
}

.card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background-color: #ffffff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-top: 33px;

}

.card-content {
    padding: 12px;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    min-height: 80px;
    display: flex;
}

.card-content h3 {
    margin: 0;
    font-size: 18px;
    color: black;
    line-height: 1.2;
    font-weight: normal;
}

.price {
    display: block;
    margin-top: auto;
    color: black;
    padding-top: 10px;
    font-size: 22px;
}

/* Кнопка телефона в углу */
.phone-btn {
    position: fixed;
    bottom: 15px;
    right: 20px;
    background-color: #94460e;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    outline: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: scale(1);
}
.phone-btn.is-scrolling {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}


.header-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-icon {
    font-size: 30px;
    padding: 10px;
    left: 15px !important;
    top: 0px !important;
    display: inline-block;
    transition: 0.3s;
    margin: 0 !important;
    cursor: pointer;
    z-index: 100;
}

.menu-icon:hover {
    color: #94460e;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 47, 47, 0.279);
    z-index: 998;
}

.side-menu {
    position: fixed;
    top: 0;
    width: 280px;
    left: -100%;
    height: 100vh;
    background: white;
    transition: 0.3s;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    padding: 0px 0px 20px;
  
}

.information-label {
    font-weight: bold;
    font-size: 20px;
    display: block;
    color: #78380b ;
   
}
.menu-footer {
    padding: 0px 25px 30px;
    margin-top: 30px
}

.menu-header {
    padding: 60px 25px 20px;
    font-size: 18px;
    color: #673d1c;
}

.side-menu.active {
    left: 0;
    opacity: 1;
    visibility: visible;
}

.close-icon {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 45px;
    cursor: pointer;
    color: #333;
    z-index: 10001;
    justify-content: left;
}

.close-icon:hover {
    color: #94460e;
}

.product-weight {
    color: #888;
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 3px;
}

.badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 13px;
    color: white;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 10;
}

.badge-hot { background-color: #ff4500;}
.badge-cheese {background-color: #ffcc00;}
.badge-classic {background-color: #4caf50;}
.badge-sitno {
    background-color: #d21e1e;
    color: white;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 13px;
    top: 33px;

}