* {
    margin: 0;
    padding: 0;
    color: white;
}

html {
    height: 120vh;
}

body {
    background-color: #0d0d0d;
    color: white;

}

/* Header Styles */
.header_branches {
    background: linear-gradient(135deg, #8B0000 0%, #1a0505 100%);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 3px;
    border-color: #ff3333;
    border-style: solid;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 1;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
}

.header_h1 {
    background: linear-gradient(135deg, #8B0000 0%, #1a0505 100%);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 3px;
    border-color: #ff3333;
    border-style: solid;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.95;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
}

.h1 {
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
}

.header_logo {
    height: 60px;
    width: auto;
    border-radius: 29%;
    padding-top: 12px;
    padding-bottom: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.socials a,
.socials img {
    position: static !important;
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.socials img {
    transition: 0.3s;
}

.socials {
    gap: 18px;
    align-items: center;
    margin-left: auto;
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 8px;


}

.social img:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.header_img {
    width: auto;
    height: 75px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===== Sushi Family Selector ===== */
.sf-selector {
    max-width: 1100px;
    margin: 80px auto;
    padding: 30px;
}

.sf-title {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.sf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.sf-card {
    color: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #333;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    padding-bottom: 10px;
}


.sf-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.sf-card span {
    display: block;
    padding: 18px;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}

.sf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.5);
    border-color: #ff4444;
}

.sf-step {
    margin-bottom: 30px;
}

.sf-hidden {
    display: none;
}

.sf-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sf-btn {
    padding: 12px 26px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.sf-back {
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: #fff;
    border: 1px solid #444;
}

.sf-continue {
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.sf-background {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQdKNrBVuHdlj9XRoZ9lTnm9OL79sqHazZAEw&s);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    z-index: -1;
    opacity: 0.12;

}

nav {
    margin-top: 40vh;
}

.sf-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-size: 2.2rem;
    margin-bottom: 35px;
    font-weight: 600;
}

.title {
    text-align: center;
    padding: 20px;
}

.sf-categories {
    margin-top: 0px;
    position: fixed;
    top: 70px;
    width: 100%;
    display: flex;
    overflow-x: auto;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a0505 100%);
    border-bottom: 1px solid #333;
    padding: 10px;
    gap: 10px;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sf-categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    border: 1px solid #444;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    color: #ccc;
    flex-shrink: 0;
    font-size: 15px;
}

.category-btn:hover {
    background: linear-gradient(145deg, #2a0505, #1a0000);
    border-color: #ff4444;
    color: #fff;
}

.category-btn.active {
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: white;
    border-color: #ff4444;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
}

/* ====== КОРЗИНА ====== */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.5);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    right: -100%;
    top: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    z-index: 30;
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #8B0000 0%, #1a0505 100%);
    color: white;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
}

.cart-item span {
    flex: 1;
    font-size: 14px;
    color: #fff;
}

.cart-item button {
    margin: 0 2px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    border: 1px solid #444;
}

.cart-footer {
    margin-top: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #333;
}

.cart-footer button {
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: white;
    border-radius: 8px;
    padding: 10px;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cart-footer button#clearCart {
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: #ccc;
    border: 1px solid #444;
}




.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: auto;
    border: 1px solid #2a2a2a;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.3);
    border-color: #ff4444;
}

.card h3 {
    font-size: 16px;
    margin: 5px 0 5px;
    color: #fff;
}

.card p {
    font-size: 12px;
    color: #999;
    margin: 0 0 5px;
}

.card .price {
    font-weight: 700;
    color: #ff4444;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.card img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: auto;
    width: 75%;
    object-fit: contain;
    border-radius: 12px;
}

.card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.card button {
    margin-top: auto;
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}


.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #2a2a2a;
    min-height: 280px;
}

.price {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    color: #ff4444;
}

.add-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.add-btn:active {
    transform: scale(0.98);
}

.cart-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: white;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.5);
}

.Sushi-cards {
    margin-top: 13vh;
}

h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-size: 2.2rem;
    font-weight: 700;
}

.cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    height: 60%;
    width: 80%;
}

.cart-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    color: white;
    padding: 20px;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a0505 0%, #0d0000 100%);
    border: 1px solid #330000;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: white !important;
}

.cart-item button {
    margin-left: 5px;
}

/* ===== MODAL CART ===== */
.cart-modal {
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);


    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;


    border-radius: 16px;
    padding: 20px;

    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    background: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
    border: 1px solid #330000;
}

/* Активное состояние корзины */
.cart-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Затемнение фона */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-Btn {
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2px;
    margin-top: 10px;
    padding: 7px;
    color: white;
}

.cart-Btn:hover {
    filter: brightness(1.2);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

/* Бейдж с количеством */
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;

    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    font-size: 13px;
    font-weight: bold;

    width: 22px;
    height: 22px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.5);
}

.fly-img {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    z-index: 2000;
    transition: all 0.6s ease-in-out;
    pointer-events: none;
}

/* ===============================
   ORDER POPUP (INSTAGRAM)
   =============================== */
.order-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.order-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.order-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    width: 90%;
    max-width: 360px;
    background: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
    border-radius: 16px;
    padding: 22px 20px;
    text-align: center;
    border: 1px solid #330000;

    z-index: 2001;
    opacity: 0;
    pointer-events: none;

    transition: 0.3s ease;
}

.order-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.order-popup h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #fff;
}

.order-popup p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 18px;
    color: #ccc;
}

.order-popup button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;

    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

.cart-Btn {
    height: 32px;
    width: auto;
}

.title {
    margin-top: 20px;
    font-size: 2.4rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.qty-minus,
.qty-plus {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.qty-minus:hover,
.qty-plus:hover {
    background: linear-gradient(145deg, #3a0000, #2a0000);
    border-color: #ff4444;
}

.qty-minus:active,
.qty-plus:active {
    transform: scale(0.95);
}

.cart-item div {
    display: flex;
    gap: 10px;
}

.cart-item {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}


/* ===== WHATSAPP POPUP ===== */
.wa-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.wa-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.wa-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    width: 90%;
    max-width: 380px;
    background: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #330000;

    z-index: 3001;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.wa-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.order-popup {
    background: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
}

.wa-popup h3 {
    margin-bottom: 12px;
    color: #fff;
}

#waAddress {
    margin-right: 5px;
    width: 80%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #444;
    margin-bottom: 12px;
    resize: none;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    color: white;
    font-size: 14px;
}

#waAddress:focus {
    border-color: #ff4444;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

#waPhone {
    margin-right: 5px;
    width: 80%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #444;
    margin-bottom: 12px;
    resize: none;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    color: white;
    font-size: 14px;
}

#waPhone:focus {
    border-color: #ff4444;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

#sendWhatsApp {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #cc0000 0%, #660000 100%);
    color: white;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 87%;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

#sendWhatsApp:hover {
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

#closeWaPopup {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: white;
    border: 1px solid #444;
    width: 87%;
    margin-top: 12px;
    border-radius: 10px;
}

#closeWaPopup:hover {
    background: linear-gradient(145deg, #444, #2a2a2a);
}

/* запрет зума при фокусе input (iOS) */
input,
textarea,
select {
    font-size: 16px !important;
}

/* отключаем зум и выделение при тапе */
button,
.qty-minus,
.qty-plus {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}



.sf-card {
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.sf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.4);
    filter: brightness(1.1);
}

.sf-card:active {
    transform: scale(0.97);
}

.sf-card span::after {
    content: " →";
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sf-card:hover span::after {
    opacity: 1;
}

.sf-city-card[data-city="Tbilisi"] {
    position: relative;
}

.sf-city-card[data-city="Tbilisi"]::after {

    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 12px;
    color: #fff;
    background: rgba(139, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 8px;
}

.category-btn {
    border: 1px solid #444;
    color: #ccc;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
}

.h1 {
    margin-left: 10px;
}

button {
    filter: brightness(1.1);
    transition: all 0.2s ease;
}

button:hover {
    filter: brightness(1.2);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cc0000, #660000);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff4444, #cc0000);
}

/* =========================
   Адаптив
   ========================= */
@media (max-width: 480px) {
    .cart-Btn {
        height: 40px;
        width: auto;
    }

    html {
        height: 90vh;
    }

    .cart-Btn {
        margin: 1px;
    }

    /* ===== Хедер ===== */
    h1 {
        margin-left: 10px;
    }

    .header_h1,
    .header_branches {
        position: flex;
        display: flex;
        align-items: center;
        top: 0;
        left: 0;
        margin-bottom: 10px;


        gap: 6px;
        padding: 10px 0;

        height: auto;
    }

    .title {
        margin-top: 50px;
        font-size: 2rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        margin-bottom: 0;
    }

    .h1 {
        padding: 0;
        margin: 10px;
        font-size: 20px;
        text-align: center;
        line-height: 1.2;
    }

    /* Соц. иконки */
    .socials {
        gap: 14px;
        align-items: center;
        margin-left: auto;
        flex-direction: row !important;
        display: flex !important;
        justify-content: center;
        margin-top: 4px;
        margin-bottom: 4px;


        order: 1;
        margin: 0;
        gap: 8px;
    }

    .header_logo {
        position: static;
        transform: none;
        width: 36px;
        height: 36px;
        padding: 0;
    }

    /* Панда */
    .header_img {
        order: 2;
        height: 46px;
        margin-right: 10px;
        padding: 0;
    }

    /* Отступ под  шапку */
    body {
        padding-top: 50px;
    }

    /* ===== Выбор городов ===== */
    nav {
        margin-top: 0;
    }

    .sf-selector {
        margin: 20px auto;
        padding: 10px;
    }

    .sf-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .sf-grid {
        grid-template-columns: 1fr;
        gap: 14px;

    }

    .sf-card {
        height: 110 px;
    }

    .sf-card img {
        height: 100px;
    }

    .branch-img {
        height: 90px;
    }

    .sf-card span {
        font-size: 14px;
        padding: 8px;
    }

    /* ===== Меню ===== */
    .Sushi-cards {
        margin-top: 0;
    }



    .add-btn {
        padding: 12px;
        font-size: 15px;
    }

    /* ===== Корзина ===== */
    .cart-btn {
        bottom: 15px;
        right: 15px;
        padding: 14px 18px;
        font-size: 14px;
    }

    .qty-minus,
    .qty-plus {
        width: 35px;
        height: 35px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .qty-minus:active,
    .qty-plus:active {
        transform: scale(0.95);
    }

    .cart-item div {
        display: flex;
        gap: 8px;
    }

    .cart-item {
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        display: flex;
    }

    .cart-item span {
        font-size: 1.2rem;
    }
}

/* мобилки */
@media (max-width: 768px) {
    .cart-Btn-all {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin-top: 10px;
        align-content: center;
        padding-bottom: 1px;
        padding-top: 0;
    }

    .sf-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 12px;
        gap: 8px;
    }

    .category-btn {
        font-size: 14px;
        padding: 7px 14px;
    }
}

.sf-categories::before,
.sf-categories::after {
    content: "";
    position: sticky;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.sf-categories::before {
    left: 0;
    background: linear-gradient(to right, #0d0d0d, transparent);
}

.sf-categories::after {
    right: 0;
    background: linear-gradient(to left, #0d0d0d, transparent);
}

.title {
    margin-top: 60px;
}

@media (max-width: 480px) {
    .title {
        margin-bottom: 0;
    }

    .products {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 90%;

    }


    .card {
        width: 92%;
        min-height: 210px;
        max-height: 240px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        padding: 10px;
    }



    .card img {
        width: 100%;
        height: 100px;
        object-fit: contain;
        border-radius: 8px;
    }


    .card h3 {
        font-size: 14px;
        margin: 4px 0;
    }

    .card p {
        font-size: 12px;
        margin: 0;
    }


    .card button {
        padding: 6px;
        font-size: 13px;
    }
}

.card span {
    color: #ff4444;
}

.price {
    color: #ff4444;
}

* {
    font-family: 'Inter', sans-serif;
}



.back {
    color: #f3ebeb;
    text-decoration: none;
    background: #000000;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid rgb(255, 255, 255);
    transition: .25s;
}

.back:hover {
    transform: translateY(-2px);
    background: #f5f3f3;
    color: #0e0101;
}

/* MOBILE ADAPTIVE - max-width: 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .sf-title {
        font-size: 1.6rem;
    }

    .sf-card span {
        font-size: 14px;
    }

    .card h3 {
        font-size: 14px;
    }

    .card .price {
        font-size: 16px;
    }

    .products {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .card {
        min-height: 200px;
        padding: 12px;
    }

    .add-btn {
        padding: 10px;
        font-size: 13px;
    }

    body {
        font-size: 14px;
    }

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

/* MOBILE ADAPTIVE - max-width: 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }

    .title {
        font-size: 1.6rem;
    }

    .sf-title {
        font-size: 1.4rem;
    }

    .sf-card span {
        font-size: 12px;
    }

    .card h3 {
        font-size: 12px;
    }

    .card .price {
        font-size: 14px;
    }

    .products {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .card {
        min-height: 160px;
        padding: 8px;
    }

    .add-btn {
        padding: 8px;
        font-size: 11px;
    }

    body {
        font-size: 14px;
    }

    .h1 {
        font-size: 14px;
        margin: 8px;
    }

    .header_logo {
        width: 30px;
        height: 30px;
    }

    .header_img {
        height: 36px;
        padding-right: 8px;
    }

    .socials {
        gap: 8px;
    }

    .socials a,
    .socials img {
        width: 36px;
        height: 36px;
    }

    .back {
        font-size: 14px;
        padding: 6px 8px;
        white-space: nowrap;
        position: fixed;
        bottom: 50px;
        right: 20px;
        z-index: 9999;
    }
}