/* Oisushi Base Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* Local Fonts */
@font-face {
    font-family: 'Revard';
    src: url("../fonts/Revard.c6e0f94b78e9.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Design System Variables */
:root {
    --primary-bg: #2d2d2d;
    --accent-orange: #fd7723;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --font-primary: 'Nunito', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.text-primary {
    color: var(--text-white);
}

.text-light {
    color: var(--text-light);
}

/* Container spacing */
.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header Styles */
.header-sushi {
    background: var(--primary-bg);
    padding: 0;
}

.header-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Top Bar - Sticky Header */
.header-top-bar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: var(--primary-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid #C7C1C1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sushi-section-container {
    padding-top: 0;
}

.header-logo h1 {
    font-family: 'Revard', serif;
    font-size: 2.5rem;
    font-weight: normal;
    text-transform: uppercase;
    color: var(--text-white);
    margin: 0;
    white-space: nowrap;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-size: 1.15rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.header-social-link:hover,
.header-social-link:focus {
    transform: translateY(-3px);
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--text-white);
    text-decoration: none;
}

.header-social-link:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.categories-no-padding-top {
    padding-top: 0;
}

.categories-no-padding-bottom {
    padding-bottom: 0;
}

.btn-delivery {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delivery:hover {
    background: #e66a1a;
    transform: translateY(-2px);
}

/* Mobile Delivery Button */
.mobile-delivery-btn {
    display: none;
}

.btn-delivery-mobile {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 0.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.btn-delivery-mobile:hover {
    background: #e66a1a;
    transform: translateY(-2px);
}

.sushi-image-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 400;
}

.delivery-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.btn-delivery-mobile i {
    font-size: 18px;
    color: var(--text-white);
}

.cart-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.25rem;
    color: var(--text-white);
}
/* Перший рядок кошика (іконка, ціна, роздільник, кількість) — завжди в один рядок */
.cart-section-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
}
.header-action-item.cart-section .header-action-label {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.15rem;
}

.cursor-pointer {
    cursor: pointer;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) invert(1);
}

.cart-price {
    font-weight: 700;
    font-size: 1rem;
}

.cart-count {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
}

.header-action-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    text-align: center;
}

.cart-divider {
    width: 1px;
    height: 2rem;
    background-color: #C7C1C1;
    margin: 0 0.75rem;
}

.container-no-padding-tb {
    padding-top: 0;
    padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .delivery-btn {
        display: none;
    }
    
    .header-top-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .header-logo h1 {
        font-size: 1.5rem;
        white-space: nowrap;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .mobile-delivery-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
        margin-right: 0.25rem;
    }
    .header-actions {
        align-items: flex-end;
    }
    .cart-divider {
        display: none;
    }
    
    .cart-count {
        display: none;
    }

    .header-social-link {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .cart-section {
        gap: 0.75rem;
    }
    
    .categories-nav {
        flex-wrap: nowrap;
        gap: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0 1rem 0;
    }
    
    .category-tab {
        flex: 0 0 auto;
        min-width: fit-content;
        text-align: center;
        white-space: nowrap;
        padding: 1rem 2.5rem;
    }
}

@media (max-width: 576px) {
    
    .cart-section {
        gap: 0.75rem;
    }
    
    .mobile-delivery-btn {
        margin-right: 0.25rem;
    }
    
    .categories-nav {
        flex-wrap: nowrap;
        gap: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0 1rem 0;
        scrollbar-width: thick;
        scrollbar-color: #CCCCCC rgba(255, 255, 255, 0.20);
    }
    
    .categories-nav::-webkit-scrollbar {
        height: 14px;
    }
    
    .categories-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.20);
        border-radius: 7px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb {
        background: #CCCCCC;
        border-radius: 7px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb:hover {
        background: #BBBBBB;
    }
    
    .category-tab {
        flex: 0 0 auto;
        min-width: fit-content;
        padding: 1rem 2.25rem;
        text-align: center;
        white-space: nowrap;
    }
    .category-tab span {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .delivery-btn {
        display: none;
    }
    
    .header-top-bar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .header-top-content {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        gap: 0.35rem;
        min-height: 4.25rem;
    }
    
    .header-logo h1 {
        font-size: 1.05rem;
        white-space: nowrap;
        text-align: left;
    }
    
    .header-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.25rem;
        align-items: flex-end;
        justify-content: flex-end;
    }
    
    .cart-section {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0.15rem 0;
    }
    
    .cart-divider {
        display: none;
    }
    
    .cart-count {
        display: none;
    }
    
    .mobile-delivery-btn {
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .btn-delivery-mobile {
        min-width: 36px;
        height: 36px;
        padding: 0.35rem;
    }
    
    .btn-delivery-mobile i {
        font-size: 14px;
    }

    .header-social-link {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }
    
    .header-socials {
        gap: 0.35rem;
    }
    
    .cart-icon {
        width: 1rem;
        height: 1rem;
    }
    
    .cart-price,
    .cart-count {
        font-size: 0.9rem;
    }
    
    .header-action-label {
        font-size: 0.65rem;
    }
    
    .categories-nav {
        flex-wrap: nowrap;
        gap: 0.4rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.2rem 0 0.6rem 0;
        scrollbar-width: thick;
        scrollbar-color: #CCCCCC rgba(255, 255, 255, 0.20);
    }
    
    .categories-nav::-webkit-scrollbar {
        height: 16px;
    }
    
    .categories-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.20);
        border-radius: 8px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb {
        background: #CCCCCC;
        border-radius: 8px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb:hover {
        background: #BBBBBB;
    }
    
    .category-tab {
        flex: 0 0 auto;
        min-width: auto;
        text-align: center;
        white-space: nowrap;
    }

    .sushi-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin: 0 0 0.5rem 0;
    }
}

.vertical-divider {
    width: 1px;
    height: 6rem;
    background-color: #C7C1C1;
    margin-bottom: -16px;
    margin-top: -31px;
}

/* Main Header Content */
.header-main {
    padding: 2rem 0;
}

/* Equal Height Row */
.equal-height {
    display: flex;
    align-items: stretch;
    min-height: 600px; /* Базова висота рекламного банера */
}

.equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Contact Section with Cossack */
.contact-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
}

.cossack-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center; /* Вирівнювання по центру */
    min-height: 400px; /* 2/3 від загальної висоти (600px) */
}

.cossack-img {
    max-width: 100%;
    height: 400px; /* Фіксована висота картинки */
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cossack-img:hover {
    opacity: 1;
}

.contact-info {
    flex: 0 0 auto; /* Фіксована висота для контактної інформації */
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px; /* 1/3 від загальної висоти (600px) */
}

.contact-phone-wrap {
    width: 100%;
    text-align: center;
}

.phone-number {
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #FFF;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.phone-number:hover {
    color: #FFF;
    text-decoration: none;
    opacity: 0.8;
}

.phone-number:active {
    color: #FFF;
    text-decoration: none;
    opacity: 0.6;
}

.address, .hours {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.address-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.hours-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.promo-banner {
    color: #333;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Фіксована висота рекламного банера */
}

.promo-banner .banner-carousel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.promo-banner .banner-slides {
    flex: 1;
    min-height: 0;
}

.promo-banner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Один банер "Black" з текстом та кнопкою Подивитися */
.promo-banner-single .banner-black-content,
.promo-banner .banner-slide .banner-black-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    gap: 1rem;
}

/* Резерв місця для точок каруселі (залежить від висоти картинки — задається JS) */
.promo-banner .banner-carousel-has-dots .banner-slide .banner-black-content {
    padding-bottom: var(--banner-dots-reserve, 2.75rem);
}
.banner-black-image {
    max-height: 320px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}
.banner-black-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}
.banner-view-btn {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Banner Carousel Styles */
.banner-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.promo-banner .banner-slide[data-banner-type],
.promo-banner .banner-slide[data-banner-href],
.promo-banner .banner-black-content[data-banner-type],
.promo-banner .banner-black-content[data-banner-href] {
    cursor: pointer;
}

/* Banner Content Styles */
.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.banner-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* У банері каруселі — показувати зображення повністю, верх не зрізати */
.promo-banner .banner-black-image {
    object-fit: contain;
    object-position: top center;
}

/* Banner Dots Styles */
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    pointer-events: auto;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.banner-dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

.banner-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.banner-text p {
    font-size: 1.1rem;
    margin: 0;
    color: #666;
    line-height: 1.4;
}

/* Banner Order Button Styles */
.banner-order-button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-order-btn {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-order-btn:hover {
    background: #e66a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 9px rgba(253, 119, 35, 0.5);
}

.banner-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Categories Navigation */
.categories-section {
    background: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(199, 193, 193, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.categories-nav {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem 0; /* Відступ між категоріями та скролбаром */
    scrollbar-width: thin;
    scrollbar-color: #CCCCCC rgba(255, 255, 255, 0.20);
    -ms-overflow-style: auto;
}

.categories-nav.is-dragging {
    cursor: grabbing;
}

.categories-nav::-webkit-scrollbar {
    height: 8px;
}

.categories-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.20);
    border-radius: 4px;
}

.categories-nav::-webkit-scrollbar-thumb {
    background: #CCCCCC;
    border-radius: 4px;
}

.categories-nav::-webkit-scrollbar-thumb:hover {
    background: #BBBBBB;
}

.category-tab {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.category-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 15px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    background: linear-gradient(135deg, #FD7723 0%, #FF9500 100%);
    color: #FFFFFF;
    white-space: nowrap;
}

.category-tab.active {
    background: var(--accent-orange);
    border: 1px solid var(--accent-orange);
}

.category-tab span {
    font-family: 'Nunito', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: normal;
}

.category-tab:not(.active) span {
    font-weight: 600;
}

.category-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Divider Line */
.divider-line {
    height: 1px;
    background-color: #C7C1C1;
    margin: 0;
}

/* Sushi Section */
.sushi-section {
    background: var(--primary-bg);
}

.sushi-category-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.sushi-category-subtext {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0;
    line-height: 1.5;
}

.category-description-above-items {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    line-height: 1.6;
    padding: 0 1rem;
}

.sushi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* На головній — тільки назва, вага, ціна; опис приховуємо (відкривається при кліку на страву) */
.sushi-section .sushi-card .sushi-description {
    display: none;
}

.sushi-card {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
    container-name: sushi-card;
    border-radius: 30px;
    background: linear-gradient(181deg, rgba(255, 255, 255, 0.50) 1.15%, rgba(255, 255, 255, 0.00) 98.91%);
    backdrop-filter: blur(35px);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    padding: 1rem 1.25rem;
}

.sushi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sushi-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 0.75rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.sushi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.sushi-card:hover .sushi-img {
    transform: scale(1.05);
}

/* Бейджик на фото страви — компактні, у куті, щоб менше закривати зображення */
.sushi-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 10;
    padding: 3px 8px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.sushi-badge-top {
    background: linear-gradient(135deg, #FD7723 0%, #FF9500 100%);
    color: #FFFFFF;
    left: 6px;
    right: auto;
}

.sushi-badge-new {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #FFFFFF;
    left: 6px;
    right: auto;
}

.sushi-badge-vip {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    left: 6px;
    right: auto;
}

/* Якщо є обидва бейджики, NEW буде справа вгорі */
.sushi-image .sushi-badge-top ~ .sushi-badge-new {
    left: auto;
    right: 6px;
    top: 6px;
}

.sushi-image .sushi-badge-new ~ .sushi-badge-top {
    left: 6px;
    right: auto;
    top: 6px;
}

/* Якщо є VIP і TOP, VIP буде зліва, TOP справа */
.sushi-image .sushi-badge-vip ~ .sushi-badge-top {
    left: auto;
    right: 6px;
    top: 6px;
}

.sushi-image .sushi-badge-top ~ .sushi-badge-vip {
    left: 6px;
    right: auto;
    top: 6px;
}

/* Якщо є VIP і NEW, VIP буде зліва, NEW справа */
.sushi-image .sushi-badge-vip ~ .sushi-badge-new {
    left: auto;
    right: 6px;
    top: 6px;
}

.sushi-image .sushi-badge-new ~ .sushi-badge-vip {
    left: 6px;
    right: auto;
    top: 6px;
}

.sushi-badge-discount {
    background: linear-gradient(135deg, #FD7723 0%, #FF9500 100%);
    color: #FFFFFF;
    left: auto;
    right: 6px;
    top: 6px;
}

/* Якщо є TOP і Discount, Discount залишається справа */
.sushi-image .sushi-badge-top ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}

/* Якщо є NEW і Discount, Discount залишається справа */
.sushi-image .sushi-badge-new ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}

/* Якщо є VIP і Discount, Discount залишається справа */
.sushi-image .sushi-badge-vip ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}

/* На картках страв — позиція за порядком, щоб теги не накладались: 1-й зліва, 2-й справа, 3–4-й другий ряд */
.sushi-image .sushi-badge:nth-of-type(2) {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-image .sushi-badge:nth-of-type(3) {
    top: 28px;
    left: 6px;
    right: auto;
}
.sushi-image .sushi-badge:nth-of-type(4) {
    top: 28px;
    left: auto;
    right: 6px;
}

/* У модалці страви — теги не накладаються: та сама логіка left/right + другий ряд для 3–4 тегів */
.sushi-detail-image .sushi-badge-top ~ .sushi-badge-new {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-detail-image .sushi-badge-new ~ .sushi-badge-top {
    left: 6px;
    right: auto;
    top: 6px;
}
.sushi-detail-image .sushi-badge-vip ~ .sushi-badge-top {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-detail-image .sushi-badge-top ~ .sushi-badge-vip {
    left: 6px;
    right: auto;
    top: 6px;
}
.sushi-detail-image .sushi-badge-vip ~ .sushi-badge-new {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-detail-image .sushi-badge-new ~ .sushi-badge-vip {
    left: 6px;
    right: auto;
    top: 6px;
}
.sushi-detail-image .sushi-badge-top ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-detail-image .sushi-badge-new ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}
.sushi-detail-image .sushi-badge-vip ~ .sushi-badge-discount {
    left: auto;
    right: 6px;
    top: 6px;
}
/* Другий ряд для третього та четвертого тега */
.sushi-detail-image .sushi-badge:nth-of-type(3) {
    top: 28px;
    left: 6px;
    right: auto;
}
.sushi-detail-image .sushi-badge:nth-of-type(4) {
    top: 28px;
    left: auto;
    right: 6px;
}

.sushi-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    text-align: left;
}

.sushi-name {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 0;
}

/* У вужчих картках зменшуємо шрифт назви, щоб довгі назви вміщались без трьох крапок */
@container sushi-card (max-width: 220px) {
    .sushi-name { font-size: 1.1rem; }
}
@container sushi-card (max-width: 190px) {
    .sushi-name { font-size: 1rem; }
}
@container sushi-card (max-width: 165px) {
    .sushi-name { font-size: 0.9rem; }
}
@container sushi-card (max-width: 145px) {
    .sushi-name { font-size: 0.82rem; }
}

.sushi-weight-info {
    margin-bottom: 0.35rem;
}

.sushi-weight {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(253, 119, 35, 0.1);
    padding: 0.2rem 0.45rem;
    border-radius: 12px;
    margin-top: 0;
    display: inline-block;
}

.sushi-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    height: 7rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
    overflow: hidden;
}

.sushi-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    margin-top: auto;
}

.sushi-price {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
    flex: 1;
}

.sushi-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.sushi-price-original {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: line-through;
    opacity: 0.7;
}

.sushi-price-promo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.recommended-card .sushi-price-row {
    /* row */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.sushi-order-btn {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.sushi-order-btn:hover {
    background: #e66a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 119, 35, 0.4);
}

/* Footer Styles */
.footer-sushi {
    background: var(--accent-orange);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-note {
    color: var(--text-white);
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

/* Feedback Button - Subtle Style */
.btn-feedback-subtle {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.btn-feedback-subtle:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Feedback Modal Styles */
.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.feedback-modal {
    max-width: 550px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 1px solid rgba(253, 119, 35, 0.2);
}

.feedback-modal-header {
    background: linear-gradient(135deg, rgba(253, 119, 35, 0.1) 0%, rgba(253, 119, 35, 0.05) 100%);
    padding: 30px;
    border-bottom: 2px solid rgba(253, 119, 35, 0.2);
    position: relative;
}

.feedback-header-content {
    text-align: center;
}

.feedback-header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9d4d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(253, 119, 35, 0.3);
}

.feedback-header-icon i {
    font-size: 28px;
    color: white;
}

.feedback-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--text-white) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feedback-modal-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    opacity: 0.8;
}

.feedback-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.feedback-modal-content {
    padding: 35px 30px;
}

.feedback-form-group {
    margin-bottom: 25px;
}

.feedback-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 15px;
}

.feedback-label i {
    color: var(--accent-orange);
    font-size: 14px;
}

.feedback-input,
.feedback-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feedback-input:focus,
.feedback-textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(253, 119, 35, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.feedback-input::placeholder,
.feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.feedback-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.2;
}

/* Rating Stars Styles - Improved */
.rating-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-stars-feedback {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.rating-stars-feedback input[type="radio"] {
    display: none;
}

.star-label-feedback {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.star-label-feedback i {
    transition: all 0.2s ease;
}

.star-label-feedback:hover,
.star-label-feedback:hover ~ .star-label-feedback {
    color: #ffd700;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

.rating-stars-feedback input[type="radio"]:checked ~ .star-label-feedback,
.rating-stars-feedback input[type="radio"]:checked + .star-label-feedback {
    color: #ffd700;
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
    animation: starPulse 0.3s ease;
}

.rating-stars-feedback input[type="radio"]:checked ~ .star-label-feedback {
    color: #ffd700;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1.15);
    }
}

.rating-text {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.7;
}

.btn-feedback-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9d4d 100%);
    color: var(--text-white);
    border: none;
    padding: 16px 2rem;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(253, 119, 35, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-feedback-submit:hover {
    background: linear-gradient(135deg, #e66a1a 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 119, 35, 0.5);
}

.btn-feedback-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(253, 119, 35, 0.3);
}

.btn-feedback-submit i {
    font-size: 14px;
}

/* Responsive for feedback modal */
@media (max-width: 768px) {
    .feedback-modal-overlay {
        padding: 0;
    }
    
    .feedback-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 55vh;
        max-height: 70vh;
    }
    
    .feedback-modal-header {
        padding: 25px 20px;
    }
    
    .feedback-header-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feedback-header-icon i {
        font-size: 24px;
    }
    
    .feedback-modal-title {
        font-size: 22px;
    }
    
    .feedback-modal-subtitle {
        font-size: 13px;
    }
    
    .feedback-modal-content {
        padding: 25px 20px;
    }
    
    .star-label-feedback {
        font-size: 28px;
    }
}

/* Responsive Design - Additional styles for tablets and larger mobile */
@media (max-width: 768px) {
    .vertical-divider {
        display: none;
    }
    
    .header-logo h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .header-main {
        padding: 0.5rem 0;
    }
    
    .phone-number {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .address, .hours {
        font-size: 1rem;
        text-align: center;
    }
    
    .address-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hours-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .contact-section {
        text-align: center;
        align-items: center;
        flex-direction: row;
        gap: 1.25rem;
    }
    
    .cossack-image {
        justify-content: center;
        min-height: 180px;
        flex: 1;
    }
    
    .cossack-img {
        height: 180px;
        max-width: 100%;
    }
    
    .contact-info {
        flex: 1;
        text-align: left;
        align-items: flex-start;
    }
    
    .promo-banner {
        padding: 1rem;
        margin-top: 0.2rem;
        min-height: 24rem;
    }
    .promo-banner-single .banner-black-content,
    .promo-banner .banner-slide .banner-black-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    .promo-banner .banner-carousel-has-dots .banner-slide .banner-black-content {
        padding-bottom: var(--banner-dots-reserve, 2.25rem);
    }
    .banner-black-image {
        max-height: 280px;
    }
    .banner-black-text {
        display: none;
    }
    
    .banner-order-button-container {
        bottom: 15px;
    }
    
    .banner-order-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .equal-height {
        min-height: 260px;
    }
    
    .contact-info {
        min-height: auto;
        text-align: center;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .categories-section {
        padding: 0.4rem 0;
    }
    
    .categories-nav {
        gap: 0.4rem;
        padding: 0.35rem 0 0.6rem 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: thick;
        scrollbar-color: #CCCCCC rgba(255, 255, 255, 0.20);
    }
    
    .categories-nav::-webkit-scrollbar {
        height: 12px;
    }
    
    .categories-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.20);
        border-radius: 6px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb {
        background: #CCCCCC;
        border-radius: 6px;
    }
    
    .categories-nav::-webkit-scrollbar-thumb:hover {
        background: #BBBBBB;
    }
    
    .category-tab {
        padding: 1rem 2.5rem;
        flex: 0 0 auto;
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .category-tab span {
        font-size: 1.6rem;
    }
    
    .category-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: -6px;
        right: 8px;
    }
    
    .sushi-section {
        padding: 1rem 0;
    }
    .sushi-section .container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .sushi-category-title {
        font-size: 2rem;
        margin-top: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .sushi-category-subtext {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .sushi-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 0.75rem;
    }
    
    .sushi-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 576px) {
    .delivery-btn {
        display: none;
    }
    
    .header-top-content {
        min-height: 4rem;
        height: auto;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        gap: 0.5rem;
    }
    
    .header-logo h1 {
        font-size: 1.25rem;
        white-space: nowrap;
        text-align: left;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 0.35rem;
        align-items: flex-end;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    
    .cart-section {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        min-width: auto;
        justify-content: center;
        gap: 0.15rem 0;
    }

    .header-socials {
        justify-content: center;
        width: 100%;
    }

    .header-social-link {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
    }
    
    .header-main {
        padding: 0.35rem 0;
    }
    
    .phone-number {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.35rem;
    }
    
    .address, .hours {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .address-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .hours-text {
        font-size: 1rem;
        text-align: center;
    }
    
    /* Телефони: інфа по закладу — не більше 1/4 екрану; банер — пропорції картинки 1280×529, без вилазіння і зайвих відступів */
    .header-main .equal-height {
        flex-direction: column;
        min-height: 0;
    }
    .header-main .equal-height > [class*="col-"]:first-child {
        max-height: 25vh;
        min-height: 0;
        overflow: hidden;
        flex-shrink: 0;
    }
    .header-main .equal-height > [class*="col-"]:last-child {
        height: auto;
        min-height: 0;
        max-height: none;
        flex-shrink: 0;
    }
    .header-main .equal-height .promo-banner {
        height: auto;
        min-height: 0;
    }
    .header-main .equal-height .banner-carousel {
        height: auto;
    }
    /* Великий банер: висота збільшена для кращої видимості */
    .header-main .equal-height .banner-slides {
        position: relative;
        width: 100%;
        min-height: max(calc(700 / 1280 * 100%), 55vmin);
    }
    .header-main .equal-height .banner-slides::before {
        content: '';
        display: block;
        padding-bottom: calc(700 / 1280 * 100%);
        pointer-events: none;
    }
    .header-main .equal-height .banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .header-main .equal-height .banner-slide.active {
        opacity: 1;
    }
    .header-main .equal-height .banner-black-content {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
    }
    .header-main .equal-height .banner-black-image {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: contain;
        object-position: center;
        max-height: none;
    }
    .header-main .equal-height .promo-banner .banner-carousel-has-dots .banner-slide .banner-black-content {
        padding-bottom: 2.25rem;
    }
    .header-main .equal-height .promo-banner-single .banner-black-content[data-banner-type],
    .header-main .equal-height .promo-banner-single .banner-black-content[data-banner-href] {
        cursor: pointer;
    }

    .contact-section {
        text-align: center;
        align-items: center;
        gap: 0.5rem;
        flex-direction: row;
        padding: 0.35rem 0.5rem;
    }
    
    .cossack-image {
        justify-content: center;
        min-height: 0;
        flex: 0 0 auto;
    }
    
    .cossack-img {
        height: 120px;
        max-width: 100%;
    }
    
    .contact-info {
        min-height: 0;
        text-align: left;
        padding: 0 0.5rem;
        flex: 1;
        gap: 0px !important;
        align-items: flex-start;
    }
    .contact-phone-wrap {
        width: 100%;
        text-align: center;
    }
    .phone-number {
        font-size: 0.95rem;
    }
    .address-text,
    .hours-text {
        font-size: 0.85rem;
    }
    
    .promo-banner {
        padding: 0.5rem 0.75rem;
        margin-top: 0.15rem;
        min-height: 0;
    }
    .promo-banner-single .banner-black-content,
    .promo-banner .banner-slide .banner-black-content {
        padding: 0.5rem;
        gap: 0.35rem;
    }
    .promo-banner .banner-carousel-has-dots .banner-slide .banner-black-content {
        padding-bottom: var(--banner-dots-reserve, 2rem);
    }
    .banner-black-image {
        max-height: 260px;
    }
    .banner-black-text {
        display: none;
    }
    
    .promo-banner h3 {
        font-size: 1.2rem;
    }
    
    .banner-image {
        max-height: 20rem;
        margin-bottom: 0.5rem;
    }
    
    .banner-dots {
        bottom: 5px;
        gap: 6px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
    }
    
    .btn-delivery {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .search-section {
        justify-content: center;
    }
    
    .vertical-divider {
        display: none;
    }
    
    .categories-section {
        padding: 0.3rem 0;
    }
    
    .categories-nav {
        gap: 0.25rem;
        padding: 0.25rem 0 0.5rem 0;
    }
    
    .category-tab {
        padding: 1rem 2.25rem;
    }
    
    .category-tab span {
        font-size: 1.5rem;
    }
    
    .sushi-section {
        padding: 0.75rem 0;
    }
    .sushi-section .container {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    
    .sushi-category-title {
        font-size: 1.75rem;
        margin-top: 0.5rem;
        margin-bottom: 0.35rem;
    }
    
    .sushi-category-subtext {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .sushi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .sushi-card {
        margin: 0;
        padding: 0.35rem 0.4rem;
    }
    
    .sushi-content {
        text-align: center;
        padding: 0.1rem;
    }
    
    .sushi-name {
        font-size: 1.05rem;
        min-height: 0;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .sushi-description {
        font-size: 0.9rem;
        height: 5rem;
        overflow: scroll;
    }
    
    .sushi-price-row {
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
    }
    
    .sushi-price {
        font-size: 1.25rem;
    }
    
    .sushi-price-original {
        font-size: 0.85rem;
    }
    
    .sushi-price-promo {
        font-size: 1.25rem;
    }
    
    .sushi-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 0.35rem;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .header-logo h1 {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .phone-number {
        font-size: 17px;
    }
    
    .address, .hours {
        font-size: 16px;
    }
    
    .address-text {
        font-size: 18px;
    }
    
    .hours-text {
        font-size: 17px;
    }
    
    .cossack-img {
        height: 120px;
        max-width: 100%;
    }
    
    .cossack-image {
        min-height: 120px;
        flex: 1;
    }
    
    .contact-info {
        min-height: auto;
        padding: 0 0.5rem;
        flex: 1;
        gap: 0px !important;
        text-align: left;
        align-items: flex-start;
    }
    .contact-phone-wrap {
        width: 100%;
        text-align: center;
    }
    .header-main .equal-height > [class*="col-"]:first-child {
        max-height: 25vh;
    }
    .header-main .equal-height > [class*="col-"]:last-child {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    
    .contact-section {
        flex-direction: row;
        gap: 0.35rem;
        padding: 0.25rem 0.35rem;
    }
    
    .cossack-img {
        height: 100px;
    }
    
    .phone-number {
        font-size: 0.88rem;
    }
    .address-text,
    .hours-text {
        font-size: 0.78rem;
    }
    
    .promo-banner {
        padding: 0.4rem 0.5rem;
        margin-top: 0.1rem;
        min-height: 0;
    }
    .promo-banner-single .banner-black-content,
    .promo-banner .banner-slide .banner-black-content {
        padding: 0.4rem;
        gap: 0.25rem;
    }
    .promo-banner .banner-carousel-has-dots .banner-slide .banner-black-content {
        padding-bottom: var(--banner-dots-reserve, 1.75rem);
    }
    .banner-black-image {
        max-height: 240px;
    }
    .banner-black-text {
        display: none;
    }
    
    .btn-delivery {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .header-main {
        padding: 0.2rem 0;
    }
    
    .categories-section {
        padding: 0.25rem 0;
    }
    
    .categories-nav {
        padding: 0.2rem 0 0.4rem 0;
    }
    
    .category-tab {
        padding: 0.9rem 2rem;
    }
    
    .category-tab span {
        font-size: 1.35rem;
    }
    
    .sushi-section {
        padding: 0.5rem 0;
    }
    .sushi-section .container {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    
    .sushi-category-title {
        font-size: 1.5rem;
        margin-top: 0.4rem;
        margin-bottom: 0.3rem;
    }
    
    .sushi-category-subtext {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .sushi-card {
        margin: 0 0.25rem;
        padding: 0.3rem 0.35rem;
    }
    
    .sushi-content {
        padding: 0.25rem 0.5rem;
    }
    
    .sushi-name {
        font-size: 0.95rem;
        min-height: 0;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .sushi-description {
        font-size: 0.8rem;
        min-height: 5rem;
        overflow: scroll;
    }
    
    .sushi-price-row {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }
    
    .sushi-price {
        font-size: 1.1rem;
    }
    
    .sushi-order-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .sushi-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    
    .sushi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-container {
    background: var(--primary-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Sushi detail modal (on index – open dish without leaving the page) */
.sushi-detail-modal-overlay {
    z-index: 2100;
    padding: 16px;
    align-items: flex-start;
}
.sushi-detail-modal-container {
    position: relative;
    background: var(--primary-bg);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 95vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.sushi-detail-modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.sushi-detail-modal-header-row .sushi-navigation {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
.sushi-detail-modal-header-row .nav-buttons {
    flex-wrap: wrap;
}
.sushi-detail-modal-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sushi-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.sushi-detail-modal-body {
    padding: 12px 20px 20px;
}
.sushi-detail-modal-body .sushi-detail-section {
    padding-top: 0;
    padding-bottom: 1rem;
}
.sushi-detail-modal-body .sushi-detail-section .container {
    padding-top: 0;
    padding-bottom: 0;
}
.sushi-detail-modal-header-row {
    margin-top: 0;
}
.sushi-detail-modal-loading,
.sushi-detail-modal-error {
    text-align: center;
    padding: 2rem;
    color: var(--text-primary);
}
.sushi-detail-modal-error a {
    color: var(--accent-orange);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--primary-bg);
}

.modal-steps {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex: 1;
}

.modal-step-title-mobile {
    display: none;
}

.current-step-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    padding: 15px 20px;
    background: var(--primary-bg);
    border-bottom: 1px solid #333;
}

.step-bullet {
    display: flex;
    min-width: 132px;
    height: 42px;
    padding: 4px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.step-bullet.active {
    background: #FD7723;
}

.step-bullet.completed {
    background: #4CAF50;
}

.step-number {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.step-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.modal-step-content {
    display: none;
    padding: 30px;
    min-height: 400px;
    flex-direction: column;
}

.modal-step-content.active {
    display: flex;
}

/* Cart Step Styles */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-items-header {
    padding: 0 0 20px 0;
    margin-bottom: 0;
}

.cart-items-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
    justify-content: space-between;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.cart-item-weight {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(253, 119, 35, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 5px;
}

.cart-item-total {
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-total-price {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    text-align: center;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cart-item-top {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F3F3F3;
    border-radius: 10px;
    padding: 5px;
}

.quantity-btn {
    background: none;
    border: none;
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    color: #333333;
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background-color: rgba(244, 67, 54, 0.1);
}

.remove-item img {
    transition: opacity 0.3s ease;
}

.remove-item:hover img {
    opacity: 0.8;
}

.cart-total {
    border-top: 1px solid #C7C1C1;
    padding: 20px 0 0 0;
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.total-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
}

.total-row span:last-child {
    color: #FD7723;
}

.btn-checkout {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-checkout:hover {
    background: #e66a1a;
}

.btn-checkout:disabled {
    background: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-checkout:disabled:hover {
    background: #666666;
    transform: none;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-cart-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.empty-cart p {
    font-size: 16px;
    color: var(--text-light);
}

/* Checkout Step Styles */
.checkout-form {
    margin-bottom: 30px;
}

.checkout-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #C7C1C1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 16px;
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(253, 119, 35, 0.2);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.delivery-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #C7C1C1;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #C7C1C1;
}

.btn-back {
    background: transparent;
    color: var(--text-white);
    border: 1px solid #C7C1C1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #e66a1a;
}

/* Order Success Step Styles */
.order-success-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.order-success-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.order-success-content {
    background: var(--accent-orange);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    margin: 0 auto;
    max-width: 700px;
    width: 90%;
}

.success-message {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
}

.order-summary-success {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.order-summary-row:last-child {
    margin-bottom: 0;
}

.order-summary-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.order-summary-value {
    color: white;
    font-weight: 700;
}

.order-summary-row.order-discount-row {
    color: #4CAF50;
}

.order-summary-row.order-discount-row .order-discount-value {
    color: #4CAF50;
    font-weight: 700;
}

.order-summary-row.order-discount-row .order-discount-percent {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
}

.order-summary-row.order-total-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 22px;
}

.order-summary-row.order-total-row .order-total-value {
    font-size: 24px;
    color: white;
    font-weight: 800;
}

.success-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive adjustments for success step */
@media (max-width: 768px) {
    .order-success-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .order-success-content {
        padding: 40px 20px;
        max-width: 100%;
        width: 95%;
    }
    
    .success-message {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .logo-image {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .order-success-title {
        font-size: 20px;
    }
    
    .order-success-content {
        padding: 30px 15px;
        width: 98%;
    }
    
    .success-message {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .logo-image {
        max-width: 120px;
    }
}

/* Mobile cart section layout */
@media (max-width: 576px) {
    .cart-section {
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center;
        cursor: pointer;
        gap: 0.2rem;
    }
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
    }
    
    .modal-container {
        max-width: 100%;
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 15px 20px;
        justify-content: center;
    }
    
    .modal-steps {
        gap: 20px;
        justify-content: center;
        flex: 1;
    }
    
    .modal-step-title-mobile {
        display: block;
    }
    
    .current-step-title {
        font-size: 24px;
        padding-top: 0px;
    }
    
    .step-bullet {
        min-width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        white-space: nowrap;
    }
    
    .step-number {
        font-size: 22px;
    }
    
    .step-title {
        display: none;
    }
    
    .modal-step-content {
        padding: 20px;
        flex: 1;
        overflow-y: auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 12px;
        padding: 10px 0;
    }
    
    .cart-item-top {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .cart-item-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-name {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .cart-item-total {
        min-width: 50px;
        margin: 0;
        font-size: 14px;
    }
    
    .cart-item-controls {
        flex-direction: row;
        gap: 25px;
        justify-content: center;
        align-self: center;
        width: 100%;
        max-width: 360px;
    }
    
    .quantity-controls {
        padding: 3px;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }
    
    .qty-btn {
        padding: 2px 6px;
        font-size: 14px;
    }
    
    .qty-display {
        padding: 0 6px;
        font-size: 12px;
    }
    
    .remove-item {
        padding: 3px;
        background: #F3F3F3;
        border-radius: 10px;
        height: 44px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .remove-item img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 576px) {
    .step-bullet {
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        white-space: nowrap;
    }
    
    .step-number {
        font-size: 20px;
    }
    
    .step-title {
        display: none;
    }
    
    .modal-overlay {
        padding: 0;
    }
    
    .modal-container {
        max-width: 100%;
        width: 100%;
        height: 75vh;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        justify-content: center;
    }
    
    .modal-steps {
        flex: 1;
        padding-left: 37px;
    }
    
    .modal-step-title-mobile {
        display: block;
    }
    
    .current-step-title {
        font-size: 22px;
    }
    
    .modal-step-content {
        padding: 15px;
        flex: 1;
        overflow-y: auto;
    }
    
    .cart-items-header {
        padding: 0 0 15px 0;
    }
    
    .cart-items-title {
        font-size: 24px;
    }
    
    .checkout-container {
        flex-direction: column;
        display: block !important;
        gap: 20px;
    }
    
    .checkout-left {
        order: 1;
        flex: none;
        padding-right: 0 !important;
        width: 100%;
        overflow-y: visible;
    }
    
    .checkout-right {
        order: 2;
        flex: none;
        width: 100%;
    }
    
    .checkout-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    .form-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .form-section-title {
        font-size: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .delivery-options, .payment-options {
        flex-direction: column !important;
        gap: 8px;
    }
    
    .delivery-option, .payment-option {
        padding: 12px;
    }
    
    .option-title {
        font-size: 14px;
    }
    
    .option-description {
        font-size: 12px;
    }
}

/* Checkout Step 2 Styles */
.checkout-container {
    display: flex;
    gap: 30px;
    height: 100%;
}

.checkout-left {
    flex: 1;
    overflow-y: auto;
    padding-right: 15px;
}

.checkout-right {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 30px 0;
    text-align: center;
    width: 100%;
}

.form-section {
    background: #4D4D4D;
    border-radius: 10px;
    box-shadow: 4px 4px 12px 0 rgba(110, 111, 132, 0.20);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Address section specific styles */
#address-section {
    transition: all 0.3s ease;
    overflow: hidden;
}

#address-section.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 20px;
    margin-bottom: 0;
    transform: translateY(-10px);
}

#address-section.visible {
    opacity: 1;
    max-height: 1000px;
    padding: 20px;
    margin-bottom: 20px;
    transform: translateY(0);
}

.form-section-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.delivery-options, .payment-options {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.delivery-option, .payment-option {
    background: #3A3A3A;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.delivery-option:hover, .payment-option:hover {
    background: #4A4A4A;
}

.delivery-option.active, .payment-option.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.option-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.option-description {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-light);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #4D4D4D;
    padding: 0 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    z-index: 1;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #4D4D4D;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #FFFFFF;
}

/* Exception for Additional Information section - but not for comment field */
.additional-info-section .form-group:not(.comment-group) {
    position: static;
}

.additional-info-section .form-group:not(.comment-group) label {
    position: static;
    background: transparent;
    padding: 0;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.additional-info-section .form-group:not(.comment-group) input,
.additional-info-section .form-group:not(.comment-group) select {
    background: #3A3A3A;
    border: 1px solid #555;
}

.additional-info-section .form-group:not(.comment-group) input:focus,
.additional-info-section .form-group:not(.comment-group) select:focus {
    border-color: var(--accent-orange);
}

/* Comment field should have inscribed label style */
.additional-info-section .comment-group {
    position: relative;
}

.additional-info-section .comment-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #4D4D4D;
    padding: 0 8px;
    font-size: 12px;
    color: #FFF;
    z-index: 1;
}

.additional-info-section .comment-group textarea {
    background: #4D4D4D;
    border: 1px solid #C7C1C1;
    color: #FFF;
    transition: border-color 0.3s ease;
}

.additional-info-section .comment-group textarea:focus {
    outline: none;
    border-color: #FFFFFF;
}

/* Field validation styles */
.field-error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}

.field-error:focus {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3) !important;
}

/* Phone validation styles */
.phone-invalid {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2) !important;
}

.phone-invalid:focus {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.3) !important;
}

.phone-error-message {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-family: 'Nunito', sans-serif;
}

.additional-info-section .form-row {
    flex-direction: column;
    gap: 15px;
}

.additional-info-section .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.additional-info-section .comment-group {
    display: block;
    position: relative;
}

.additional-info-section .comment-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #4D4D4D;
    padding: 0 8px;
    font-size: 12px;
    color: #FFF;
    z-index: 1;
    margin-bottom: 0;
}

.additional-info-section .form-group label {
    margin-bottom: 0;
    flex: 1;
}

.additional-info-section .quantity-selector {
    margin-left: 15px;
}

/* Checkbox styles for chopsticks */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 10px;
    accent-color: var(--accent-orange);
    cursor: pointer;
}

.checkbox-label {
    margin: 0 !important;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    flex: 1;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #999;
}

/* Remove autofill highlighting */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #4D4D4D inset !important;
    -webkit-text-fill-color: #FFF !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill::first-line {
    -webkit-text-fill-color: #FFF !important;
}

/* For additional info section inputs */
.additional-info-section input:-webkit-autofill,
.additional-info-section input:-webkit-autofill:hover,
.additional-info-section input:-webkit-autofill:focus,
.additional-info-section input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #3A3A3A inset !important;
    -webkit-text-fill-color: #FFF !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Responsive adjustments for form labels on tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .form-group label {
        font-size: 12px;
        top: -6px;
        left: 10px;
        padding: 0 6px;
        max-width: calc(100% - 20px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 14px 12px;
    }
}

/* Responsive adjustments for form labels on smaller screens */
@media (max-width: 768px) {
    .form-group label {
        font-size: 12px;
        top: -6px;
        left: 10px;
        padding: 0 6px;
        max-width: calc(100% - 20px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 14px 12px;
    }
}

@media (max-width: 576px) {
    .form-group label {
        font-size: 17px;
        top: -5px;
        left: 8px;
        padding: 0 4px;
        max-width: calc(100% - 16px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 16px 10px;
    }
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #F3F3F3;
    border-radius: 10px;
    padding: 5px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background: #E0E0E0;
}

.qty-display {
    color: #333;
    font-weight: 700;
    padding: 0 10px;
    min-width: 30px;
    text-align: center;
}

/* Order Summary Styles */
.order-summary, .callback-section {
    background: #4D4D4D;
    border-radius: 10px;
    box-shadow: 4px 4px 12px 0 rgba(110, 111, 132, 0.20);
    padding: 20px;
}

.order-summary-title, .callback-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #3A3A3A;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 10px;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2px;
}

.order-item-weight {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(253, 119, 35, 0.1);
    padding: 0.15rem 0.3rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 2px;
}

.order-item-price {
    font-family: var(--font-primary);
    font-size: 12px;
    color: var(--text-light);
}

.order-item-quantity {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.order-totals {
    border-top: 1px solid #3A3A3A;
    padding-top: 15px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--text-white);
}

.total-row.final-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #3A3A3A;
}

.total-row.discount-row {
    color: #4CAF50;
    font-size: 16px;
}

.discount-value {
    color: #4CAF50 !important;
    font-weight: 700;
}

.discount-percent {
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    color: #4CAF50 !important;
    font-weight: 600;
}

#total-without-discount-row {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Delivery pricing info styles */
.delivery-pricing-info {
    text-align: center;
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(253, 119, 35, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(253, 119, 35, 0.2);
}

.delivery-pricing-info small {
    color: var(--accent-orange);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
}

/* Delivery rule styles */
.delivery-rule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    margin: 2px 0;
    border-bottom: 1px solid rgba(253, 119, 35, 0.1);
}

.delivery-rule:last-child {
    border-bottom: none;
}

.delivery-type {
    color: var(--text-white);
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    text-align: left;
}

.delivery-price {
    color: var(--accent-orange);
    font-size: 12px;
    font-weight: 600;
    flex: 1;
    text-align: right;
}

.btn-order, .btn-callback {
    width: 100%;
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-order:hover, .btn-callback:hover {
    background: #E66A00;
}

.btn-order:disabled, .btn-order[disabled] {
    background: #999999;
    color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-order:disabled:hover, .btn-order[disabled]:hover {
    background: #999999;
}

/* Large screens - wider modal */
@media (min-width: 1200px) {
    .modal-container {
        max-width: 960px; /* 800px * 1.2 = 960px */
    }
    
    .checkout-right {
        flex: 0 0 420px; /* 350px * 1.2 = 420px */
    }
    
    .checkout-container {
        gap: 36px; /* 30px * 1.2 = 36px */
    }
}

/* Callback Button Styles */
.callback-button {
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: 30px 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 119, 35, 0.3);
}

.callback-button:hover {
    background: #e66a1a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 119, 35, 0.4);
}

.callback-button .phone-icon {
    width: 40px;
    height: 40px;
    margin-right: 25px;
    filter: brightness(0);
}

/* Back to Top Button Styles */
.back-to-top-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 119, 35, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-button:hover {
    background: #e66a1a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 119, 35, 0.4);
}

.back-to-top-button.show:hover {
    transform: translateY(-3px) scale(1.1);
}

.back-to-top-button i {
    color: var(--text-white);
    font-size: 20px;
    font-weight: bold;
}

/* Callback Modal Styles */
.callback-modal {
    max-width: 500px;
    width: 90%;
}

/* Delivery Modal Styles */
.delivery-modal {
    max-width: 600px;
    width: 90%;
}

.callback-modal .modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #333;
}

.callback-modal .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.delivery-modal .modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
}

.callback-modal .modal-content {
    padding: 30px;
}

.callback-contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.callback-contact-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.callback-contact-link:hover,
.callback-contact-link:focus {
    background: rgba(253, 119, 35, 0.18);
    border-color: var(--accent-orange);
    transform: translateX(4px);
    color: var(--text-white);
}

.callback-contact-link:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

.callback-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: rgba(253, 119, 35, 0.12);
    color: var(--accent-orange);
    font-size: 1.35rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.callback-contact-link:hover .callback-contact-icon,
.callback-contact-link:focus .callback-contact-icon {
    background: var(--accent-orange);
    color: var(--text-white);
}

.callback-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.callback-contact-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-white);
}

.callback-contact-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
}

.callback-contact-divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.callback-contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%);
}

.callback-contact-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.85rem;
    background: var(--primary-bg);
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.callback-modal .form-group {
    margin-bottom: 20px;
}

.callback-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-white);
    background: none;
    position: static;
    padding: 0;
}

.callback-modal .form-group input,
.callback-modal .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #333;
    color: var(--text-white);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.callback-modal .form-group input:focus,
.callback-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

/* Remove autofill highlighting */
.callback-modal .form-group input:-webkit-autofill,
.callback-modal .form-group input:-webkit-autofill:hover,
.callback-modal .form-group input:-webkit-autofill:focus,
.callback-modal .form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #333 inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    background-color: #333 !important;
    border: 1px solid #555 !important;
}

.callback-modal .form-group textarea:-webkit-autofill,
.callback-modal .form-group textarea:-webkit-autofill:hover,
.callback-modal .form-group textarea:-webkit-autofill:focus,
.callback-modal .form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #333 inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    background-color: #333 !important;
    border: 1px solid #555 !important;
}

.callback-modal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-callback-submit {
    width: 100%;
    background: var(--accent-orange);
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-callback-submit:hover {
    background: #e66a1a;
}

/* Delivery Modal Content Styles */
.delivery-modal .modal-content {
    padding: 30px;
}

.delivery-info {
    padding: 0;
}

.delivery-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-orange);
}

.delivery-price-section {
    margin-bottom: 30px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-display-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 16px;
    color: var(--text-light);
}

.price-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-orange);
}

.price-amount.free-price {
    color: #4CAF50;
}

.price-description {
    font-size: 16px;
    color: var(--text-light);
}

.free-delivery-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(253, 119, 35, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(253, 119, 35, 0.3);
}

.free-delivery-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.free-delivery-icon {
    font-size: 24px;
    color: var(--accent-orange);
}

.free-delivery-threshold {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 5px 0;
}

.free-delivery-description {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.free-delivery-note {
    font-size: 13px;
    color: var(--text-light);
    margin: 15px 0 0 0;
    font-style: italic;
    opacity: 0.9;
}

.delivery-terms-section {
    margin-bottom: 30px;
}

.delivery-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-term {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.delivery-term:last-child {
    border-bottom: none;
}

.delivery-term i {
    color: var(--accent-orange);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.delivery-term span {
    color: var(--text-white);
    font-size: 16px;
}

.delivery-contact-section {
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.contact-item i {
    color: var(--accent-orange);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.contact-item span {
    color: var(--text-white);
    font-size: 16px;
}

/* Responsive for callback button */
@media (max-width: 768px) {
    .callback-button {
        right: 0px;
        width: 50px;
        height: 50px;
        border-radius: 25px 0 0 25px;
    }
    
    .callback-button .phone-icon {
        width: 25px;
        height: 25px;
        margin-right: 8px;
    }
    
    .back-to-top-button {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top-button i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .back-to-top-button {
        right: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top-button i {
        font-size: 16px;
    }
}

/* Infinite Scroll Styles */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.end-message, .error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.end-message-content, .error-message-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.end-message-content h3, .error-message-content h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.end-message-content p, .error-message-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.end-message-content {
    border-color: var(--accent-orange);
}

.error-message-content {
    border-color: #ff4444;
}

.error-message-content h3 {
    color: #ff4444;
}

/* Responsive styles for infinite scroll elements */
@media (max-width: 768px) {
    .loading-indicator {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }
    
    .loading-spinner {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }
    
    .loading-indicator p {
        font-size: 1rem;
    }
    
    .end-message-content, .error-message-content {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .end-message-content h3, .error-message-content h3 {
        font-size: 1.25rem;
    }
    
    .end-message-content p, .error-message-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .loading-indicator {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    .end-message-content, .error-message-content {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .end-message-content h3, .error-message-content h3 {
        font-size: 1.1rem;
    }
}

/* Sushi Detail Page Styles */
.sushi-detail-section {
    background: var(--primary-bg);
    padding: 2rem 0;
    padding-bottom: 1rem;
}

.sushi-navigation {
    margin-bottom: 2rem;
    position: relative;
}

.sushi-detail-page-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.sushi-detail-page-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: left;
}

.nav-category-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-category-btn.active {
    background: var(--accent-orange);
}

.nav-category-btn span {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
}

/* На сторінці деталей суші кнопка категорії неактивна */
.sushi-detail-section .nav-category-btn {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: none;
}

.sushi-detail-section .nav-category-btn span {
    color: var(--text-light);
    font-weight: 600;
}

.nav-separator {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-sushi-name {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-sushi-name span {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
}

.nav-sushi-name.active {
    background: var(--accent-orange);
    box-shadow: 0 4px 11px rgba(253, 119, 35, 0.3);
    transform: translateY(-1px);
}

.nav-sushi-name.active span {
    color: var(--text-white);
    font-weight: 700;
}

.sushi-detail-block {
    background: linear-gradient(181deg, rgba(255, 255, 255, 0.50) 1.15%, rgba(255, 255, 255, 0.00) 98.91%);
    backdrop-filter: blur(35px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* Ensure all child elements stay within bounds */
.sushi-detail-block * {
    max-width: 100%;
    box-sizing: border-box;
}

.sushi-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sushi-detail-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sushi-detail-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.sushi-detail-img:hover {
    transform: scale(1.05);
}

.sushi-detail-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sushi-detail-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sushi-detail-name {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.sushi-detail-weight {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin: 0;
}

.sushi-detail-ingredients {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ingredients-header {
    margin-top: 1rem;
    margin-right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ingredients-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    flex: 1;
}

.ingredients-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ingredients-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ingredients-scroll::-webkit-scrollbar {
    height: 6px;
}

.ingredients-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.ingredients-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.ingredients-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.ingredient-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.ingredient-card-clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ingredient-card-clickable:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ingredient-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingredient-icon i {
    color: var(--text-white);
    font-size: 1.2rem;
}

.ingredient-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredient-name {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    line-height: 1.2;
}

.ingredients-nav {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ingredients-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-white);
}

.ingredients-nav-btn:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.ingredients-nav-btn i {
    font-size: 1rem;
}

.sushi-detail-actions {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 2rem;
    margin-top: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sushi-detail-price {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-shrink: 1;
    min-width: 0;
}

.sushi-detail-add-btn {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.sushi-detail-add-btn:hover {
    background: #e66a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 6px rgba(253, 119, 35, 0.4);
}

/* Responsive Design for Sushi Detail */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .sushi-detail-block {
        padding: 1.5rem;
        border-radius: 25px;
    }
    
    .sushi-detail-content {
        gap: 2.5rem;
    }
    
    .sushi-detail-image {
        height: 100%;
    }
}

/* Tablets and mobile landscape */
@media (max-width: 768px) {
    
    .sushi-detail-section {
        padding: 1rem 0;
        padding-bottom: 0;
    }
    
    .sushi-detail-block {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .sushi-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sushi-detail-image {
        height: 100%;
    }
    
    .sushi-detail-name {
        font-size: 2rem;
    }
    
    .sushi-detail-weight {
        font-size: 1rem;
    }
    
    .ingredients-header {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .ingredients-title {
        font-size: 1.3rem;
    }
    
    .ingredients-nav {
        align-self: flex-end;
    }
    
    .ingredients-nav-btn {
        border-radius: 6px;
        width: 36px;
        height: 36px;
    }
    
    .ingredient-card {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .ingredient-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .ingredient-name {
        font-size: 0.8rem;
    }
    
    .sushi-detail-actions {
        margin-top: 1rem;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .sushi-detail-price {
        font-size: 2rem;
        text-align: center;
    }
    
    .sushi-detail-add-btn {
        width: 10rem;
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .nav-buttons {
        gap: 0.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
    }
    
    .nav-category-btn {
        padding: 0.5rem 1rem;
        flex-shrink: 0;
    }
    
    .nav-category-btn span {
        font-size: 1rem;
    }
    
    .nav-sushi-name {
        padding: 0.5rem 1rem;
        flex-shrink: 0;
    }
    
    .nav-sushi-name span {
        font-size: 1rem;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .sushi-detail-section {
        padding: 0.5rem 0;
        padding-bottom: 0;
    }
    
    .sushi-detail-block {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .sushi-detail-content {
        gap: 1.5rem;
    }
    
    .sushi-detail-image {
        height: 100%;
    }
    
    .sushi-detail-name {
        font-size: 1.8rem;
    }
    
    .sushi-detail-weight {
        font-size: 0.9rem;
    }
    
    .ingredients-header {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .ingredients-title {
        font-size: 1.2rem;
    }
    
    .ingredients-nav {
        align-self: flex-end;
    }
    
    .ingredients-nav-btn {
        border-radius: 5px;
        width: 32px;
        height: 32px;
    }
    
    .ingredient-card {
        min-width: 80px;
        padding: 0.5rem;
    }
    
    .ingredient-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .ingredient-name {
        font-size: 0.7rem;
    }
    
    .sushi-detail-price {
        font-size: 1.8rem;
    }
    
    .sushi-detail-add-btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .nav-category-btn {
        padding: 0.4rem 0.8rem;
    }
    
    .nav-category-btn span {
        font-size: 0.9rem;
    }
    
    .nav-sushi-name {
        padding: 0.4rem 0.8rem;
    }
    
    .nav-sushi-name span {
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .sushi-detail-section {
        padding: 0.25rem 0;
    }
    
    .sushi-detail-block {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .sushi-detail-content {
        gap: 1.25rem;
    }
    
    .sushi-detail-image {
        height: 100%;
    }
    
    .sushi-detail-name {
        font-size: 1.6rem;
    }
    
    .sushi-detail-weight {
        font-size: 0.8rem;
    }
    
    .ingredients-header {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .ingredients-title {
        font-size: 1.1rem;
    }
    
    .ingredients-nav {
        align-self: flex-end;
    }
    
    .ingredients-nav-btn {
        border-radius: 4px;
        width: 28px;
        height: 28px;
    }
    
    .ingredient-card {
        min-width: 70px;
        padding: 0.4rem;
    }
    
    .ingredient-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .ingredient-name {
        font-size: 0.65rem;
    }
    
    .sushi-detail-price {
        font-size: 1.6rem;
    }
    
    .sushi-detail-add-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-category-btn {
        padding: 0.3rem 0.6rem;
    }
    
    .nav-category-btn span {
        font-size: 0.8rem;
    }
    
    .nav-sushi-name {
        padding: 0.3rem 0.6rem;
    }
    
    .nav-sushi-name span {
        font-size: 1rem;
    }
}

/* Working Hours Modal Styles */
.working-hours-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.working-hours-modal.show {
    opacity: 1;
}

.working-hours-modal-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.working-hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--accent-orange);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.working-hours-title {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    text-align: center;
    flex: 1;
}

.working-hours-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.working-hours-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.working-hours-body {
    padding: 40px 30px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 20px;
}

.working-hours-icon {
    margin-bottom: 25px;
}

.working-hours-icon i {
    font-size: 64px;
    color: var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.working-hours-message h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 15px 0;
}

.working-hours-message p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.working-hours-schedule h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 20px 0;
}

.schedule-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    padding-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Nunito', sans-serif;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.schedule-item .hours {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-orange);
}

.working-hours-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.btn-continue {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 119, 35, 0.3);
}

.btn-continue:hover {
    background: #e66a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 119, 35, 0.4);
}

/* Responsive Design for Working Hours Modal */
@media (max-width: 768px) {
    .working-hours-modal {
        padding: 15px;
    }
    
    .working-hours-modal-content {
        max-width: 100%;
        border-radius: 15px;
        overflow: scroll;
    }
    
    .working-hours-header {
        padding: 20px 25px;
    }
    
    .working-hours-title {
        font-size: 24px;
    }
    
    .working-hours-close {
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
    
    .working-hours-body {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }
    
    .working-hours-icon i {
        font-size: 56px;
    }
    
    .working-hours-message h3 {
        font-size: 20px;
    }
    
    .working-hours-message p {
        font-size: 15px;
    }
    
    .working-hours-schedule h4 {
        font-size: 18px;
    }
    
    .schedule-list {
        padding: 15px;
    }
    
    .schedule-item {
        padding: 10px 0;
    }
    
    .schedule-item .day,
    .schedule-item .hours {
        font-size: 15px;
    }
    
    .btn-continue {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .working-hours-modal {
        padding: 10px;
    }
    
    .working-hours-header {
        padding: 15px 20px;
    }
    
    .working-hours-title {
        font-size: 20px;
    }
    
    .working-hours-close {
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
    
    .working-hours-body {
        padding: 25px 20px;
    }
    
    .working-hours-icon i {
        font-size: 48px;
    }
    
    .working-hours-message h3 {
        font-size: 18px;
    }
    
    .working-hours-message p {
        font-size: 14px;
    }
    
    .working-hours-schedule h4 {
        font-size: 16px;
    }
    
    .schedule-list {
        padding: 12px;
    }
    
    .schedule-item {
        padding: 8px 0;
    }
    
    .schedule-item .day,
    .schedule-item .hours {
        font-size: 14px;
    }
    
    .btn-continue {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .working-hours-modal {
        padding: 5px;
    }
    
    .working-hours-header {
        padding: 12px 15px;
    }
    
    .working-hours-title {
        font-size: 18px;
    }
    
    .working-hours-close {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }
    
    .working-hours-body {
        padding: 20px 15px;
    }
    
    .working-hours-icon i {
        font-size: 40px;
    }
    
    .working-hours-message h3 {
        font-size: 16px;
    }
    
    .working-hours-message p {
        font-size: 13px;
    }
    
    .working-hours-schedule h4 {
        font-size: 15px;
    }
}

/* Early Closing Modal Styles */
.early-closing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.early-closing-modal.show {
    display: flex;
    opacity: 1;
}

.early-closing-modal-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(253, 119, 35, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.early-closing-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
}

.early-closing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(253, 119, 35, 0.2) 0%, rgba(253, 119, 35, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(253, 119, 35, 0.3);
}

.early-closing-icon i {
    font-size: 40px;
    color: var(--accent-orange);
}

.early-closing-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-white);
    font-size: 28px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.early-closing-close:hover {
    background: rgba(253, 119, 35, 0.3);
    transform: rotate(90deg);
}

.early-closing-body {
    padding: 0 30px 30px;
    text-align: center;
}

.early-closing-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.early-closing-message {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.early-closing-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Responsive styles for Early Closing Modal */
@media (max-width: 768px) {
    .early-closing-modal {
        padding: 15px;
    }
    
    .early-closing-modal-content {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .early-closing-header {
        padding: 25px 25px 15px;
    }
    
    .early-closing-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .early-closing-icon i {
        font-size: 35px;
    }
    
    .early-closing-body {
        padding: 0 25px 25px;
    }
    
    .early-closing-title {
        font-size: 20px;
    }
    
    .early-closing-message {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .early-closing-modal {
        padding: 10px;
    }
    
    .early-closing-header {
        padding: 20px 20px 15px;
    }
    
    .early-closing-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .early-closing-icon i {
        font-size: 30px;
    }
    
    .early-closing-body {
        padding: 0 20px 20px;
    }
    
    .early-closing-title {
        font-size: 18px;
    }
    
    .early-closing-message {
        font-size: 14px;
    }
    
    .early-closing-close {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .early-closing-modal {
        padding: 5px;
    }
    
    .early-closing-header {
        padding: 15px 15px 10px;
    }
    
    .early-closing-title {
        font-size: 16px;
    }
    
    .early-closing-message {
        font-size: 13px;
    }
    
    .schedule-list {
        padding: 10px;
    }
    
    .schedule-item {
        padding: 6px 0;
    }
    
    .schedule-item .day,
    .schedule-item .hours {
        font-size: 13px;
    }
    
    .btn-continue {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Recommended Sushi Section */
.recommended-section {
    background: var(--bg-dark);
    padding-bottom: 1rem;
}

.recommended-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: left;
    margin-bottom: 2rem;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recommended-card {
    background: linear-gradient(181deg, rgba(255, 255, 255, 0.15) 1.15%, rgba(255, 255, 255, 0.05) 98.91%);
    backdrop-filter: blur(35px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recommended-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.recommended-card .sushi-image {
    height: 260px;
    width: 260px;
    margin: 0 auto 1rem auto;
}

.recommended-card .sushi-content {
    text-align: left;
}

.recommended-card .sushi-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.recommended-card .sushi-weight-info {
    margin-bottom: 0.5rem;
}

.recommended-card .sushi-weight {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(253, 119, 35, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.recommended-card .sushi-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.recommended-card .sushi-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFF;
}

.recommended-add-btn {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 10rem;
}

.recommended-add-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Responsive styles for recommended section */
@media (max-width: 768px) {
    .recommended-section {
        padding: 1rem 0;
        margin-top: 0;
    }
    
    .recommended-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .recommended-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .recommended-card {
        padding: 0.5rem;
    }
    
    .recommended-card .sushi-image {
        height: 260px;
        width: 260px;
    }
    
    .recommended-card .sushi-name {
        font-size: 1.2rem;
    }
    
    .recommended-card .sushi-weight {
        font-size: 0.8rem;
    }
    
    .recommended-card .sushi-description {
        font-size: 0.85rem;
    }
    
    .recommended-card .sushi-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .recommended-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .sushi-content {
        padding-top: 1rem;
    }
    
    .recommended-card .sushi-image {
        height: 177px;
        width: 177px;
        margin: 0;
    }
    
    .recommended-card .sushi-name {
        font-size: 0.9rem;
    }
    
    .recommended-card .sushi-weight {
        font-size: 0.7rem;
    }
    
    .recommended-card .sushi-description {
        font-size: 0.65rem;
        margin-bottom: 0;
    }
    
    .recommended-card .sushi-price {
        font-size: 1rem;
    }

    .recommended-card .sushi-price-row {
        margin-bottom: 0;
    }
}

@media (max-width: 410px) {
    .recommended-card .sushi-image {
        height: 10.27rem;
        width: 10.27rem;
    }

    .sushi-price-row .recommended-add-btn {
        width: 5rem;
        padding: 0.2rem 0rem;
        font-size: 0.8rem;
    }
    
    .recommended-card {
        padding-bottom: 0;
    }
}

@media (max-width: 400px) {
    .recommended-card .sushi-image {
        height: 9.1rem;
        width: 9.1rem;
    }

    .sushi-price-row .recommended-add-btn {
        width: 5rem;
        padding: 0.2rem 0rem;
        font-size: 0.8rem;
    }

    .recommended-card .sushi-name {
        margin-bottom: 0.1rem;
    }
    
    .recommended-card .sushi-weight {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .recommended-card .sushi-price-row {
        gap: 0.8rem;
    }
}

@media (max-width: 390px) {
    /* row */
    .ingredients-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .recommended-card .sushi-image {
        height: 8.79rem;
        width: 8.79rem;
    }
    
    .recommended-card .sushi-price-row {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        padding-top: 0.7rem;
    }
}

@media (max-width: 576px) {
    .recommended-add-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 5.5rem;
    }

    .cart-info {
        margin-right: 1rem;
    }
}

/* Category Description Only Styles */
.category-description-only {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 2rem;
    text-align: center;
}

.category-description-text {
    font-size: 2rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .category-description-only {
        min-height: 150px;
        padding: 1.5rem;
    }
    
    .category-description-text {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .category-description-only {
        min-height: 120px;
        padding: 1rem;
    }
    
    .category-description-text {
        font-size: 2rem;
    }
}


@media (max-width: 1024px) {
    .header-top-content {
        flex-wrap: nowrap;
    }
    
    .header-socials {
        gap: 0.5rem;
    }

    .vertical-divider {
        height: 8.5rem;
    }

    /* make smaller social icons */
    .header-social-link {
        font-size: 1.2rem;
        padding: 0.5rem;
        border-radius: 0.5rem;
        width: 2rem;
        height: 2rem;
    }
}

@media (min-width: 769px) {
    .banner-order-btn {
        margin-bottom: 2rem;
    }
}

/* Маленькі екрани (iPhone SE, 375px та менше) */
@media (max-width: 480px) {
    .feedback-header-icon {
        display: none !important;
    }
    
    .feedback-modal {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .feedback-modal-header {
        padding: 16px 16px 12px;
    }
    
    .feedback-modal-title {
        font-size: 18px;
    }
    
    .feedback-modal-subtitle {
        font-size: 12px;
    }
    
    .feedback-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
    
    .feedback-close i {
        font-size: 14px;
    }
    
    .feedback-modal-content {
        padding: 16px;
    }
    
    .feedback-form-group {
        margin-bottom: 16px;
    }
    
    .feedback-label {
        font-size: 13px;
    }
    
    .feedback-label i {
        font-size: 12px;
    }
    
    .feedback-input,
    .feedback-textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .feedback-textarea {
        min-height: 80px;
    }
    
    .btn-feedback-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-feedback-submit i {
        font-size: 12px;
    }
}