* {  
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f2f2f2;
    color: #333;
    padding-top: 60px;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2F4F4F;
    padding: 21px 20px;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar h1 {
    font-size: 1.2rem;
    margin-left: 5px;
}

.navbar .cart {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.navbar .cart img {
    width: 22px;
    height: 28px;
    margin-right: 10px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    display: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.order-text {
    background-color: yellow;
    color: black;
    padding: 6px 10px;
    border-radius: 5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bold;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.order-text.glow {
    animation: cartGlow 1.5s infinite alternate;
}

@keyframes cartGlow {
    from { box-shadow: 0 0 5px #ffcc00; }
    to { box-shadow: 0 0 15px #ffcc00; }
}

.order-text:hover {
    background-color: goldenrod;
    color: black;
}

.logo-background {
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.logo-background .background-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.attention-button {
    position: absolute;
    top: 90px;
    right: 20px;
    background-color: yellowgreen;
    color: black;
    font-weight: bold;
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.attention-button:hover {
    background-color: #2F4F4F;
    color: white;
}

.attention-button .blinking-dot {
    background-color: red;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hours-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: 320px;
    text-align: center;
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: -110px;
}

.hours-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.hours-modal p {
    margin: 5px 0;
    font-size: 16px;
}

.hours-modal .close-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.hours-modal .close-btn:hover {
    background-color: yellowgreen;
}

.hours-modal.show {
    display: block;
}

.tutorial-button {
    position: absolute;
    top: 125px;
    right: 20px;
    background-color:#2F4F4F;
    color: white;
    padding: 6px 11.8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.tutorial-button .video-icon {
    width: 10px;
    height: 10px;
    margin-left: 5px;
}

.tutorial-button:hover {
    background-color: yellowgreen;
    color: black;
}

.tutorial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.tutorial-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 95%;
    width: 500px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tutorial-modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tutorial-modal-content iframe {
    width: 100%;
    height: 280px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
}

.tutorial-modal-content .close-btn {
    background-color:yellowgreen;
    color: white;
    border: 1px solid yellowgreen;
    padding: 12px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.tutorial-modal-content .close-btn:hover {
    background-color: #2F4F4F;
    transform: scale(1.05);
}

.tutorial-modal-content .close-btn:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 3px;
    padding: 12px;
    background-color: #2F4F4F;
    color: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.catalog {
    padding: 0;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 1px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(145deg, #ffcc00, #ffd633);
    color: #c00;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.order-summary-modal .recommended-badge {
    display: none !important;
}

body.no-scroll .catalog {
    visibility: hidden;
}

.delivery-time {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: #666;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.product img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 8px;
}

.product-content {
    flex: 0.9;
    text-align: left;
}

.product h2 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.product p {
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.product .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
}

.product:last-child {
    margin-bottom: 70px;
}

.add-btn {
    background-color: #25D366 !important;
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.quantity-controls .quantity-wrapper {
    display: none;
    align-items: center;
    gap: 10px;
}

.quantity-controls .quantity-wrapper.active {
    display: flex !important;
}

.quantity-controls .minus-btn,
.quantity-controls .plus-btn,
.quantity-controls .quantity {
    display: inline-block !important;
    margin: 0 5px;
    margin-right: -5px !important;
}

.quantity-controls .add-btn {
    display: block;
}

.quantity-controls .add-btn.hidden {
    display: none !important;
}

.quantity-controls button {
    background-color: #2F4F4F;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.fixed-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #ddd;
    padding: 10px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.fixed-modal button {
    width: 100%;
    background-color: #2F4F4F;
    color: white;
    padding: 12px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.fixed-modal button:hover {
    background-color: #20b959;
}

@media (max-width: 480px) {
    .recommended-badge {
        font-size: 0.65rem;
        padding: 4.2px 4px;
        top: 8px;
        right: 15px;
    }
    .delivery-time {
        font-size: 0.65rem;
        bottom: 8px;
        right: 8px;
    }
}

