
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #121212;
    --panel: #1a1a1a;
    --panel-2: #222327;
    --line: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --muted: #b8b8b8;
    --accent: #F5F0E6;
    --accent-2: #DDD0B4;
    --accent-shadow: rgba(245, 240, 230, 0.28);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(18, 18, 18, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--accent);
}

.header-inner {
    width: min(1280px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    min-width: 0;
}

.desktop-nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    background: var(--accent);
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-btn,
.phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--accent);
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-btn:hover,
.phone-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 240, 230, 0.16);
}

.header-btn.filled {
    background: linear-gradient(135deg, var(--accent), #E8DDC8);
    border-color: transparent;
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(12, 12, 16, 0.98);
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 18px;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
    font-weight: 700;
}

.mobile-nav a:hover {
    background: rgba(245, 240, 230, 0.12);
    border-color: rgba(245, 240, 230, 0.22);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
#weekly-banner {
    width: 100%;
    margin: 18px 0 0;
    border-radius: 0;
    overflow: hidden;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 12, 0.52) 0%,
        rgba(8, 8, 12, 0.22) 45%,
        rgba(8, 8, 12, 0.52) 100%
    );
    z-index: 0;
}

.weekly-hero-card {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 28px;
    align-items: center;
    padding: 22px;
    border-radius: 28px;
    background: rgba(18, 18, 24, 0.58);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.weekly-hero-media {
    position: relative;
}

.weekly-hero-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.weekly-hero-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 8px 20px rgba(245, 240, 230, 0.28);
}

.weekly-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    color: #fff;
    min-width: 0;
}

.weekly-hero-topline {
    color: #ff9db0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.weekly-hero-content h1 {
    margin: 0;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.05;
    font-weight: 800;
    color: #ff5c7c;
}

.weekly-hero-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.weekly-old-price {
    color: rgba(255, 255, 255, 0.48);
    font-size: 20px;
    text-decoration: line-through;
}

.weekly-new-price {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.weekly-hero-meta {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.weekly-hero-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.weekly-hero-list li {
    position: relative;
    padding-left: 16px;
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.weekly-hero-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
}

.weekly-hero-actions {
    margin-top: 8px;
}

.weekly-order-btn,
.order-btn,
.submit-order-btn,
.checkout-btn {
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent), #E8DDC8);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(245, 240, 230, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.weekly-order-btn:hover,
.order-btn:hover,
.submit-order-btn:hover,
.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(245, 240, 230, 0.34);
}

/* ===== SECTIONS ===== */
.menu-section,
#about-section,
#reviews-section {
    width: min(1200px, calc(100% - 24px));
    margin: 0 auto;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--accent);
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.category-btn {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #333;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.25s ease;
    white-space: nowrap;
}

.category-btn.active,
.category-btn:hover {
    background: linear-gradient(135deg, var(--accent), #E8DDC8);
    border-color: transparent;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    background: linear-gradient(180deg, #17181c, #1d1e23);
    border-radius: 22px;
    overflow: hidden;
    padding-bottom: 16px;
    text-align: center;
    border: 1px solid #2c2d31;
    transition: 0.25s ease;
    min-width: 0;
}

.product-card:hover {
    border-color: rgba(245, 240, 230, 0.85);
    transform: translateY(-3px);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background-color: #1a1a1a;
    display: block;
    object-position: center;
}

.product-info {
    padding: 18px 16px 8px;
}

.product-title {
    font-size: 28px;
    line-height: 1.08;
    margin: 0 0 10px 0;
}

.product-desc {
    font-size: 15px;
    color: #b7b7b7;
    margin-bottom: 12px;
    min-height: 54px;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
    cursor: pointer;
}

.star {
    font-size: 20px;
    color: #444;
    position: relative;
    display: inline-block;
}

.star.filled {
    color: #ffcc00;
}

.star.half::before {
    content: '⭐';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffcc00;
}

.product-rating.active-rate:hover .star {
    color: var(--accent);
    transform: scale(1.1);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.product-weight {
    color: #a9a9a9;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.product-price-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    text-align: right;
}

.old-price,
.product-old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.product-price,
.product-price-promo {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.add-to-cart-btn {
    background-color: #ffffff;
    color: #121212;
    border: none;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: calc(100% - 32px);
    max-width: 290px;
    transition: 0.25s ease;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--accent), #E8DDC8);
    color: #ffffff;
}

.promo-card {
    position: relative;
    border: 1px solid rgba(245, 240, 230, 0.6);
    box-shadow:
        0 0 0 1px rgba(245, 240, 230, 0.15),
        0 0 18px rgba(245, 240, 230, 0.18),
        0 0 32px rgba(255, 182, 193, 0.12);
}

.promo-card:hover {
    border-color: rgba(245, 240, 230, 0.95);
    box-shadow:
        0 0 0 1px rgba(245, 240, 230, 0.25),
        0 0 24px rgba(245, 240, 230, 0.28),
        0 0 44px rgba(255, 182, 193, 0.18);
}

.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(245, 240, 230, 0.35);
}

/* ===== ABOUT / REVIEWS ===== */
.about-shell,
.reviews-shell {
    width: 100%;
}

.about-container,
.reviews-shell {
    background: #1a1a1a;
    border-radius: 22px;
    border: 1px solid #333;
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-block h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 20px;
}

.info-block p {
    color: #ccc;
    line-height: 1.6;
}

.status-open {
    background: rgba(0, 255, 204, 0.15);
    color: #00ffcc;
    border: 1px solid #00ffcc;
}

.status-warning {
    background: rgba(255, 183, 197, 0.15);
    color: #F3EBDD;
    border: 1px solid #F3EBDD;
}

.status-closed {
    background: rgba(245, 240, 230, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.status-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

button[onclick^="toggleMap"],
.map-btn {
    min-width: 92px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #333 !important;
    border: 1px solid #444 !important;
    color: white !important;
    border-radius: 10px;
    cursor: pointer;
}

[id^="map-picker-container-"] {
    margin-top: 10px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CART / MODALS ===== */
