/* CSS Variables */
:root {
    --primary: #ff350b;
    --primary-dark: #e62e0a;
    --secondary: #0d0d0d;
    --accent: #ff350b;
    --light: #1a1a1a;
    --dark: #0d0d0d;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #ff350b;
    --gray: #b3b3b3;
    --light-gray: #2a2a2a;
    --text: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.3);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs {
    background: var(--light);
    padding: 15px 0;
    margin-top: 80px;
    border-bottom: 1px solid #333;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--gray);
}

/* Мобильная навигация */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 9999;
    transition: var(--transition);
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-links li {
    margin-bottom: 0;
    border-bottom: 1px solid #333;
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    padding: 18px 20px;
    transition: var(--transition);
    border-left: 4px solid transparent;
    background: rgba(255,255,255,0.05);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--light-gray);
    border-left-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
}

.cart-count-mobile {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-left: 10px;
}

.mobile-contacts {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-top: 20px;
}

.mobile-contacts p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.mobile-contacts i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.close-mobile-menu:hover {
    background: var(--light-gray);
    color: var(--primary);
    transform: rotate(90deg);
}

/* Navigation */
nav {
    background-color: rgba(13, 13, 13, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.nav-phone i {
    color: var(--primary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--text);
    transition: var(--transition);
    padding: 8px;
    border-radius: 5px;
}

.cart-icon:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.9));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-japanese {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.logo-subtitle {
    font-size: 18px;
    color: var(--text);
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    line-height: 1.3;
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-feature {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* SEO текстовый блок */
.seo-text {
    padding: 60px 0;
    background: var(--light);
}

.seo-text h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content h3 {
    color: var(--primary);
    margin: 25px 0 15px 0;
}

.seo-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 53, 11, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 53, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.phone-btn {
    background: #007bff;
    margin-bottom: 15px;
}

.phone-btn:hover {
    background: #0056b3;
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 20px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Delivery Info */
.delivery-info {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    position: relative;
}

.delivery-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.delivery-container h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.delivery-text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.delivery-highlight {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.delivery-highlight p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

/* Section Title */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
    font-size: 36px;
    color: var(--text);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.menu-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 18px;
}

/* Menu */
.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text);
    border: 1px solid #333;
}

.category-btn.active,
.category-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.menu-item {
    background-color: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #333;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.item-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .item-image {
    transform: scale(1.05);
}

.item-info {
    padding: 25px;
}

.item-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.item-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.item-price {
    font-weight: bold;
    font-size: 22px;
    color: var(--primary);
}

.add-to-cart {
    background: var(--gradient);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
}

.add-to-cart:hover {
    transform: scale(1.1);
}

/* Promo Section */
.promo-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
}

.promo-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promo-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.promo-section p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.promo-timer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.timer-item {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.timer-value {
    font-size: 36px;
    font-weight: bold;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.timer-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Contacts */
.contacts-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--text);
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 5px;
}

.contact-details small {
    color: var(--gray);
    opacity: 0.7;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    justify-content: center;
    text-align: center;
}

.whatsapp-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    background: #1da851;
}

.whatsapp-contact i {
    margin-right: 10px;
    font-size: 20px;
}

.map-container h3 {
    margin-bottom: 15px;
    color: var(--text);
}

#map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #333;
}

.location-btn {
    margin-top: 20px;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 53, 11, 0.3);
    width: 100%;
    justify-content: center;
}

.location-btn i {
    margin-right: 10px;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 53, 11, 0.4);
}

/* SEO блок снизу */
.seo-bottom {
    padding: 60px 0;
    background: var(--light);
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background-color: var(--light-gray);
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    transition: right 0.4s ease;
    z-index: 2000;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #333;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-items {
    flex: 1;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
}

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

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text);
}

.cart-item-price {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background: none;
    border: 1px solid #555;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
    color: var(--text);
}

.quantity-btn:hover {
    background-color: var(--light);
    border-color: var(--primary);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #555;
    margin: 0 8px;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    background: var(--light);
    color: var(--text);
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    margin-left: 15px;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    color: #e62e0a;
    background: rgba(230, 46, 10, 0.1);
}

.cart-total {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    background-color: var(--light);
    border-radius: 10px;
    color: var(--text);
    border: 1px solid #444;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--success);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

.checkout-btn:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.4);
}

.checkout-btn i {
    margin-right: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
}

.empty-cart i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #444;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    color: #333;
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--primary);
    color: white;
    border-radius: 12px 12px 0 0;
}

.checkout-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-checkout {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.checkout-form {
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 53, 11, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.address-input-group {
    display: flex;
    gap: 10px;
}

.address-input-group input {
    flex: 1;
}

.location-btn-small {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.location-btn-small:hover {
    background: var(--primary-dark);
}

.order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.order-summary h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

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

.order-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--primary);
    text-align: right;
    font-size: 1.1rem;
}

.checkout-submit-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.checkout-submit-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

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

#checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid #333;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text);
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-column p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--text);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
    font-size: 14px;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.error {
    background: #e74c3c;
}

.notification.info {
    background: #3498db;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ФИКСИРОВАННЫЙ БЛОК САМЫХ НИЗКИХ ЦЕН */
.fixed-price-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 0 20px 20px;
    pointer-events: none;
    display: none;
}

.price-comparison-fixed {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 -5px 25px rgba(39, 174, 96, 0.4);
    border: 2px solid #fff;
    position: relative;
    pointer-events: auto;
    animation: slideUpPrice 0.5s ease-out;
}

@keyframes slideUpPrice {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.price-fixed-content {
    position: relative;
}

.price-fixed-content h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.price-items {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price-item {
    font-size: 14px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.close-price-block {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.close-price-block:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Стили для обязательных полей */
.form-group label[for*="customer-"]:after {
    content: ' *';
    color: var(--danger);
}

.form-group label[for="customer-entrance"]:after,
.form-group label[for="customer-floor"]:after,
.form-group label[for="customer-intercom"]:after,
.form-group label[for="customer-persons"]:after {
    content: '';
}

/* Анимация для скрытия блока цен */
@keyframes slideDownPrice {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Скрытый блок */
.fixed-price-block.hidden {
    display: none;
}

/* ==================== */
/* МЕДИА-ЗАПРОСЫ ДЛЯ МОБИЛЬНЫХ */
/* ==================== */

@media (max-width: 768px) {
    /* Навигация */
    .nav-links {
        display: none;
    }
    
    .nav-phone {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Герой секция */
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .logo-japanese {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        gap: 10px;
    }
    
    .hero-feature {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    /* Особенности */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    /* Меню */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Контакты */
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #map {
        height: 300px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    /* Корзина */
    .cart-modal {
        width: 100%;
        right: -100%;
    }
    
    /* Таймер акций */
    .promo-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 10px;
    }
    
    .timer-value {
        font-size: 28px;
    }
    
    /* Футер */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 28px;
        margin: 60px 0 30px;
    }
    
    .delivery-container h2,
    .promo-section h2 {
        font-size: 28px;
    }
    
    /* Навигационные действия */
    .nav-actions {
        gap: 10px;
    }
    
    /* SEO тексты */
    .seo-text, .seo-bottom {
        padding: 40px 0;
    }
    
    .breadcrumbs {
        margin-top: 70px;
        padding: 10px 0;
        font-size: 14px;
    }
    
    /* ФИКСИРОВАННЫЙ БЛОК ЦЕН */
    .fixed-price-block {
        padding: 0 15px 15px;
    }
    
    .price-comparison-fixed {
        padding: 12px 15px;
    }
    
    .price-fixed-content h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .price-items {
        gap: 8px;
    }
    
    .price-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .close-price-block {
        width: 22px;
        height: 22px;
        font-size: 10px;
        top: -8px;
        right: -8px;
    }
    
    /* Форма заказа */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* Очень маленькие экраны */
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .logo-japanese {
        font-size: 28px;
    }
    
    .logo-subtitle {
        font-size: 14px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .item-image {
        height: 180px;
    }
    
    .item-info {
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        height: 120px;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    /* Форма заказа */
    .checkout-modal {
        width: 95%;
        margin: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .address-input-group {
        flex-direction: column;
    }
    
    .location-btn-small {
        width: 100%;
        margin-top: 10px;
    }
    
    /* Таймер */
    .promo-timer {
        gap: 5px;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .timer-value {
        font-size: 24px;
    }
    
    .timer-label {
        font-size: 12px;
    }
    
    /* Мобильное меню */
    .mobile-nav-links a {
        font-size: 16px;
        padding: 16px 15px;
    }
    
    .mobile-contacts {
        padding: 15px;
    }
    
    .mobile-contacts p {
        font-size: 13px;
    }
    
    /* ФИКСИРОВАННЫЙ БЛОК ЦЕН */
    .price-items {
        flex-direction: column;
        gap: 5px;
    }
    
    .price-item {
        font-size: 11px;
    }
}

/* Портретная ориентация */
@media (max-width: 768px) and (orientation: portrait) {
    .hero {
        padding: 90px 0 40px;
    }
    
    .features,
    .delivery-info,
    .menu-section,
    .promo-section,
    .contacts-section {
        padding: 40px 0;
    }
}

/* Ландшафтная ориентация */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 30px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .mobile-nav {
        padding-top: 60px;
    }
}

/* Высокие экраны (iPhone X и подобные) */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero {
        padding-top: max(120px, calc(100px + env(safe-area-inset-top)));
    }
    
    footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
    
    .mobile-nav {
        padding-top: max(80px, calc(60px + env(safe-area-inset-top)));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Улучшаем тач-интерфейс */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .category-btn:hover,
    .add-to-cart:hover,
    .cart-icon:hover {
        transform: none;
    }
    
    .nav-links a:hover:after {
        width: 0;
    }
    
    .feature-card:hover,
    .menu-item:hover {
        transform: none;
    }
    
    .mobile-nav-links a:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .nav-actions, 
    .cart-icon, 
    .hero-buttons, 
    .promo-section, 
    .social-links,
    .mobile-menu-btn,
    .fixed-price-block {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 50px 0 !important;
    }
    
    .logo-japanese {
        color: black !important;
    }
}