@font-face {
    font-family: "Zaglaviq";
    src: url("../ttf/Zaglaviq.otf");
    font-weight: 400;
}

@font-face {
    font-family: "Opisaniq";
    src: url("../ttf/Opisaniq.otf");
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { background-color: #141414; }

body {
    font-family: 'Opisaniq', Arial, sans-serif;
    background-color: #141414;
    background: #141414 url('../images/background.jpg') no-repeat center center / cover;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.loading-logo {
    max-width: 150px;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(225, 88, 41, 0.3);
    border-top: 3px solid #e15829;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.loading-content p {
    color: #ccc;
    font-size: 14px;
    margin-top: 8px;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    opacity: 1;
}

/* Marketing Promo Bar */
.marketing-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: white;
    padding: 3px 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(225, 88, 41, 0.4);
    animation: slideDown 0.5s ease-out;
}

.marketing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.marketing-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.promo-icon {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

.promo-text {
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.close-marketing-bar {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 12px;
}

.close-marketing-bar:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-2px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Header */
.client-header {
    background: rgba(10, 10, 10, 0.568);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Adjust header position when marketing bar is visible */
.marketing-bar:not([style*="display: none"]) + .client-header {
    top: 32px; /* Height of marketing bar */
}

.client-header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 45px;
    transition: transform 0.3s ease;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Footer nav buttons (logged-out state) */
.footer-nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    transition: color .2s;
}
.footer-nav-btn:hover { color: #e15829; }
.footer-nav-btn i { width: 16px; text-align: center; color: #555; font-size: 13px; }
.footer-nav-btn:hover i { color: #e15829; }

/* Store Status Indicator in Header */
.store-status-indicator-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.store-status-indicator-header.store-open {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.store-status-indicator-header.store-closed {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.store-open .status-dot {
    background: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.store-closed .status-dot {
    background: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.5);
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* Language Selector REMOVED */

/* Order Button */
.order-btn {
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-btn:hover {
    background: linear-gradient(135deg, #c44a24, #a83c1f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 88, 41, 0.4);
}

.order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-btn:disabled:hover {
    background: linear-gradient(135deg, #e15829, #c44a24);
    transform: none;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Adjust hero slider margin based on marketing bar visibility */
.marketing-bar:not([style*="display: none"]) ~ .hero-slider {
    margin-top: 107px; /* Header height (75px) + marketing bar height (32px) */
}

.marketing-bar[style*="display: none"] ~ .hero-slider,
.marketing-bar:not(:defined) ~ .hero-slider {
    margin-top: 75px; /* Only header height */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 35px;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 2;
}

.slide-title {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease-out;
}

.slide-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease-out 0.3s both;
}

.slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
    animation: slideInLeft 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-btn:hover {
    background: linear-gradient(135deg, #c44a24, #a83c1f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 88, 41, 0.4);
}

.slide-btn:disabled,
.slide-btn[style*="pointer-events: none"] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.slide-btn:disabled:hover,
.slide-btn[style*="pointer-events: none"]:hover {
    background: linear-gradient(135deg, #e15829, #c44a24);
    transform: none;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.slider-nav:hover {
    background: rgba(225, 88, 41, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.dot.active {
    background: #e15829;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(225, 88, 41, 0.7);
}

/* Default Hero */
.default-hero {
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #c44a24, #a83c1f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 88, 41, 0.4);
}

.hero-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hero-btn:disabled:hover {
    background: linear-gradient(135deg, #e15829, #c44a24);
    transform: none;
    box-shadow: 0 4px 15px rgba(225, 88, 41, 0.3);
}

/* Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: #e15829;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
}

/* Daily Offers - ИЗЦЯЛО ПРЕРАБОТЕН СЕКЦИЯ - същия дизайн като в menu.php */
.daily-offers {
    padding: 100px 0;
    background: rgba(10, 10, 10, 0.768);
    backdrop-filter: blur(10px);
}

/* Offers Grid - 4 на ред на десктоп, 2 на ред на мобилен */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-out;
}

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

/* Offer Card - СЪЩИТЕ СТИЛОВЕ КАТО ПРОДУКТИТЕ В MENU.PHP */
.offer-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: productCardAppear 0.6s ease-out forwards;
}

@keyframes productCardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(225, 88, 41, 0.3);
}

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(40, 40, 40, 0.6);
    flex-shrink: 0;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 8px;
}

.offer-card:hover .main-image {
    transform: scale(1.05);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 35px;
}

/* НОВО ribbon — diagonal top-left (same as menu.php) */
.new-label {
    display: none;
    position: absolute;
    top: 16px;
    left: -26px;
    width: 110px;
    text-align: center;
    background: linear-gradient(180deg, #2ecc71 0%, #1a9e52 100%);
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 0;
    transform: rotate(-45deg);
    z-index: 10;
    pointer-events: none;
    box-shadow:
        0 2px 0 #0e6b36,
        0 4px 12px rgba(30,160,80,0.5),
        inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.offer-card.is-new .new-label {
    display: block;
}

/* Product Custom Labels */
.product-custom-labels {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 3;
}

.custom-label {
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.text-label {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Image label (in product-img-labels) — matches menu.php */
.image-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px;
}

.image-label img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
    display: block;
}

/* Product mid row: weight+allergens left, img-labels right */
.product-mid-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.product-mid-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-img-labels {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    justify-content: flex-start;
}

/* Product Info */
.product-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}

.product-name {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
}

.product-weight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    color: #aaa;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 2px;
}

.product-weight i {
    color: #e15829;
    font-size: 10px;
}

.product-description {
    color: #aaa;
    font-size: 11px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.allergen-tag {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: rgba(225, 88, 41, 0.1);
    border: 1px solid rgba(225, 88, 41, 0.2);
    border-radius: 5px;
    font-size: 9px;
    color: #e15829;
    transition: all 0.3s ease;
}

.allergen-tag:hover {
    background: rgba(225, 88, 41, 0.2);
    transform: translateY(-1px);
}

.allergen-tag img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    border-radius: 2px;
}

/* Product Pricing */
.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 6px;
    margin-top: auto;
}

.discount-pricing {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.current-price { 
    color: #ffffff;
    background-color: #f1582a;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Zaglaviq', Arial, sans-serif;
}

.eur-price {
    color: #ffffff;
    background-color: #436db5;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Zaglaviq', Arial, sans-serif;
}

.normal-pricing {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.discount-pricing .original-price {
    display: flex;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    text-decoration: line-through;
    margin-top: 2px;
}

.discount-pricing .original-price span {
    color: inherit;
}

.discount-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    top: auto;
    right: auto;
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: #fff;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(225, 88, 41, 0.4);
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes discountPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(225, 88, 41, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(225, 88, 41, 0.6);
    }
}

/* Cart btn area wrapper (same pattern as menu.php) */
.cart-btn-area {
    margin-top: auto;
    position: relative;
    height: 38px;
}

/* View Offer Button */
.view-offer-btn {
    width: 100%;
    height: 38px;
    background: linear-gradient(135deg, #436db5, #354f8c);
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(67, 109, 181, 0.35);
    position: absolute;
    inset: 0;
    text-decoration: none;
    text-align: center;
}

.view-offer-btn:hover {
    background: linear-gradient(135deg, #354f8c, #2a3f6f);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 109, 181, 0.5);
}

/* No Offers */
.no-offers {
    text-align: center;
    padding: 50px 20px;
    background: rgba(40, 40, 40, 0.6);
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    grid-column: 1 / -1;
    animation: fadeIn 0.5s ease-out;
}

.no-offers i {
    font-size: 40px;
    color: #e15829;
    margin-bottom: 12px;
    opacity: 0.7;
}

.no-offers h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}

.no-offers p {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: rgba(26, 26, 26, 0.768);
    backdrop-filter: blur(10px);
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(225, 88, 41, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e15829, #c44a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    color: #ccc;
    font-size: 1rem;
}

/* Modal Styles */
/* ============================================= */
/* MODALS                                        */
/* ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background: rgba(22, 22, 24, 0.92);
    backdrop-filter: blur(32px) saturate(140%);
    -webkit-backdrop-filter: blur(32px) saturate(140%);
    margin: 5vh auto;
    padding: 0;
    border-radius: 16px;
    width: 92%;
    max-width: 420px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255,255,255,0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

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

/* ---- Auth modal brand header ---- */
.auth-modal { border-radius: 16px; }

.auth-modal-wide { max-width: 480px; }

.auth-brand {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 24px 24px 18px;
    text-align: center;
    position: relative;
}

.auth-brand-register {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-brand .close {
    position: absolute;
    top: 10px;
    right: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.auth-brand .close:hover { color: rgba(255, 255, 255, 0.85); }

.auth-brand-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.auth-brand-icon {
    width: 44px;
    height: 44px;
    background: rgba(225, 88, 41, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
    color: #e15829;
    border: 1px solid rgba(225, 88, 41, 0.25);
}

.auth-brand-register .auth-brand-icon {
    background: rgba(225, 88, 41, 0.1);
    border-color: rgba(225, 88, 41, 0.3);
    color: #e15829;
}

.auth-brand h3 {
    font-family: 'Zaglaviq', Arial, sans-serif;
    font-size: 17px;
    color: #f0f0f0;
    margin-bottom: 3px;
}

.auth-brand p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.auth-brand-register h3 { color: #f0f0f0; }
.auth-brand-register p  { color: rgba(255, 255, 255, 0.4); }

/* ---- Modal body ---- */
.modal-body {
    padding: 20px 22px 22px;
}

#register-modal .modal-body {
    max-height: 72vh;
    overflow-y: auto;
}

/* ---- Form ---- */
.form-group {
    margin-bottom: 12px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #999;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-group label i {
    margin-right: 4px;
    color: #e15829;
    font-size: 10px;
}

.form-group input {
    width: 100%;
    padding: 10px 13px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-family: 'Opisaniq', Arial, sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}

.form-group input::placeholder { color: #555; }

.form-group input:focus {
    outline: none;
    border-color: #e15829;
    box-shadow: 0 0 0 3px rgba(225, 88, 41, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa;
    font-size: 12px;
    cursor: pointer;
}

.checkbox-label input { width: auto; }

.forgot-password {
    color: #e15829;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.forgot-password:hover { color: #ff7040; }

/* ---- Buttons ---- */
.btn-primary, .btn-secondary {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Zaglaviq', Arial, sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #e15829, #c44a24);
    color: #fff;
    box-shadow: 0 4px 14px rgba(225, 88, 41, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f06030, #d05030);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 88, 41, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #bbb;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.full-width { width: 100%; }

.form-divider {
    text-align: center;
    margin: 12px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider span {
    background: #1c1c1e;
    padding: 0 14px;
    color: #666;
    font-size: 11px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Legal Section ---- */
.legal-section {
    margin: 10px 0 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-notice {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #a07030;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-notice i {
    color: #c08030;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
}

.checkbox-group:last-child { margin-bottom: 0; }

.checkbox-group input {
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #e15829;
}

.checkbox-group label {
    font-size: 12px;
    line-height: 1.4;
    color: #999;
    cursor: pointer;
    flex: 1;
}

.checkbox-group input:checked + label { color: #ccc; }

.legal-link {
    color: #e15829;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-link:hover { color: #ff7040; }

/* ---- Generic modal (verify, forgot) still use old-style header ---- */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
    font-family: 'Zaglaviq', Arial, sans-serif;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i { color: #e15829; }

.close {
    color: #777;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover { color: #e15829; }

/* ---- Scrollbar ---- */
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: #e15829; border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: #c44a24; }

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #e15829;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c44a24;
}

/* Mobile responsive */
@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-subtitle {
        font-size: 1.3rem;
    }
    
    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 20px 18px;
    }
    
    .logo {
        height: 30px;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .store-status-indicator-header {
        padding: 5px 10px;
        font-size: 12px;
        gap: 6px;
    }
    
    .status-dot {
        width: 5px;
        height: 5px;
    }
    
    .order-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 5px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Оферти на мобилен: 2 на ред */
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-weight {
        font-size: 12px;
    }
    
    .product-description {
        font-size: 11px;
    }
    
    .current-price,
    .eur-price {
        font-size: 13px;
    }
    
    .view-offer-btn {
        font-size: 11px;
    }
    
    /* Marketing bar mobile */
    .marketing-bar {
        padding: 2px 0;
    }
    
    .marketing-container {
        padding: 0 15px;
    }
    
    .promo-text {
        font-size: 12px;
        text-align: left;
        flex: 1;
    }
    
    .marketing-content {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .promo-icon {
        font-size: 1rem;
    }
    
    .close-marketing-bar {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    /* Adjust heights for mobile */
    .marketing-bar:not([style*="display: none"]) + .client-header {
        top: 28px; /* Mobile marketing bar height */
    }
    
    .marketing-bar:not([style*="display: none"]) ~ .hero-slider {
        margin-top: 103px; /* Mobile header height (75px) + marketing bar height (28px) */
    }
    
    /* Responsive modals */
    .modal-content {
        margin: 3vh auto;
        width: 96%;
    }

    .auth-modal-wide {
        max-width: none;
    }

    #register-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-body {
        padding: 16px 16px 20px;
    }

    .auth-brand {
        padding: 18px 20px 14px;
    }
    
    /* Hide on mobile if configured */
    .marketing-bar.hide-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-right {
        gap: 8px;
    }
    
    .store-status-indicator-header {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .order-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    /* Mobile modals */
    .modal-content {
        margin: 2vh auto;
    }

    .modal-body {
        padding: 14px 14px 18px;
    }

    .form-group input {
        padding: 9px 12px;
    }

    .btn-primary, .btn-secondary {
        padding: 10px;
    }
    
    /* Оферти на много малък екран */
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-description {
        font-size: 10px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .current-price,
    .eur-price {
        font-size: 12px;
    }
    
    .view-offer-btn {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide on desktop if configured */
@media (min-width: 769px) {
    .marketing-bar.hide-desktop {
        display: none;
    }
}

/* ── Site Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0;
    margin-top: auto;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 18px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .3px;
}
.footer-logo img { height: 40px; width: auto; }

.footer-tagline {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.footer-social-btn:hover {
    background: rgba(225, 88, 41, 0.18);
    color: #e15829;
    border-color: rgba(225, 88, 41, 0.4);
}

/* Generic column */
.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e15829;
    margin-bottom: 4px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li {
    display: flex;
    align-items: center;
    gap: 9px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: color .2s;
}
.footer-links a:hover { color: #e15829; }
.footer-links i { width: 16px; text-align: center; color: #555; font-size: 13px; }
.footer-links a:hover i { color: #e15829; }

/* Contact list (no link hover) */
.footer-contact li { color: #888; font-size: 14px; }
.footer-contact span { color: #888; }

/* Bottom bar */
.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #444;
}
.site-footer-bottom a {
    color: #555;
    text-decoration: none;
    transition: color .2s;
}
.site-footer-bottom a:hover { color: #e15829; }
.footer-bottom-sep { color: #333; }

/* ── Notification Stack ──────────────────────────────────────────── */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 110000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    pointer-events: none;
    max-width: 380px;
}

.notification {
    background: rgba(11, 11, 17, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--notif-color, #555);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 24px 64px rgba(0,0,0,0.72), 0 8px 24px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.055);
    width: 340px;
    overflow: hidden;
    pointer-events: auto;
    transform: translateX(28px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    position: relative;
}
.notification.show   { transform: translateX(0) scale(1); opacity: 1; }
.notification.hiding { transform: translateX(28px) scale(0.94); opacity: 0; transition: transform 0.22s ease-in, opacity 0.18s ease-in; }

.notification-content {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 12px 16px 14px;
}
.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.notification-body { flex: 1; min-width: 0; }
.notification-title { font-size: 13px; font-weight: 700; margin-bottom: 3px; letter-spacing: 0.1px; line-height: 1.3; }
.notification-text { color: #9898aa; font-weight: 400; font-size: 12.5px; line-height: 1.5; }
.notification-close {
    background: none;
    border: none;
    color: #3c3c50;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    font-size: 11px;
    line-height: 1;
    align-self: flex-start;
    margin-top: 2px;
}
.notification-close:hover { background: rgba(255,255,255,0.08); color: #ccc; }
.notification-progress {
    position: absolute;
    bottom: 0; left: 4px; right: 0;
    height: 3px;
    transform-origin: left;
    transform: scaleX(1);
    opacity: 0.65;
    border-radius: 0 0 14px 0;
}

/* ── Inline Form Alerts (login / register / verify) ─────────────── */
.form-alert-area { margin-bottom: 14px; }

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 4px solid var(--alert-color, #555);
    background: rgba(11,11,17,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 12.5px;
    color: #9898aa;
    line-height: 1.5;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: max-height 0.32s ease, opacity 0.28s ease, transform 0.32s cubic-bezier(0.34,1.56,0.64,1), margin 0.3s ease;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.form-alert.form-alert--show {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0) scale(1);
    margin-bottom: 6px;
}
.form-alert-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: -1px;
}
.form-alert-text { flex: 1; padding-top: 3px; }
.form-alert-close {
    background: none;
    border: none;
    color: #3c3c50;
    cursor: pointer;
    font-size: 11px;
    padding: 4px;
    border-radius: 5px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
    align-self: flex-start;
    margin-top: 1px;
}
.form-alert-close:hover { background: rgba(255,255,255,0.08); color: #aaa; }

/* ── Footer responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
    }
    .footer-brand { grid-column: auto; }
    .site-footer-bottom { padding: 16px 20px; font-size: 12px; gap: 10px; }
}

/* ── Section spacing on mobile ───────────────────────────────────── */
@media (max-width: 768px) {
    .section-header { margin-bottom: 30px; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }
}

/* ── Slide title on very small screens ───────────────────────────── */
@media (max-width: 380px) {
    .slide-title { font-size: 1.6rem !important; }
}

/* ── iOS zoom fix: inputs must be ≥ 16px to prevent auto-zoom ───── */
@media (max-width: 768px) {
    input, textarea, select {
        font-size: max(16px, 1em) !important;
    }
}
