/* ==========================================================================
   OVERLAYS & POPUPS - Extracted from style.css
   Contains: Feedback modal, floating buttons, DIY section, off-canvas menu,
   policy modal, delivery info, budget finder, shipping popup, PWA install, SW update
   ========================================================================== */

/* ==========================================================================
   Feedback Modal - חלונית הצעות לשיפור
   ========================================================================== */

.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feedback-modal.active {
    opacity: 1;
    visibility: visible;
}

.feedback-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.feedback-modal.active .feedback-modal-content {
    transform: translateY(0) scale(1);
}

.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.feedback-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feedback-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f4f4f5;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.feedback-modal-close:hover {
    background: #e4e4e7;
    color: var(--text-primary);
}

.feedback-modal-body {
    padding: 20px;
}

.feedback-modal-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.feedback-textarea {
    width: 100%;
    height: 120px;
    padding: 14px;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    background: #ffffff;
    color: #000000;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.feedback-textarea::placeholder {
    color: var(--text-muted);
}

.feedback-modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.feedback-btn-cancel,
.feedback-btn-submit {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-btn-cancel {
    background: #f4f4f5;
    border: none;
    color: var(--text-secondary);
}

.feedback-btn-cancel:hover {
    background: #e4e4e7;
}

.feedback-btn-submit {
    background: var(--whatsapp-green);
    border: none;
    color: white;
}

.feedback-btn-submit:hover {
    background: var(--whatsapp-dark);
}

/* Padding for body to account for bottom strip */
body {
    padding-bottom: 45px;
}

/* ==========================================================================
   Floating Categories Button & Popup - כפתור קטגוריות צף
   ========================================================================== */

/* ==========================================================================
   Floating Cart Button - כפתור עגלה צף
   ========================================================================== */

.floating-cart-btn {
    position: fixed;
    bottom: 90px;
    left: 16px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
}

.floating-cart-btn:active {
    transform: scale(0.95);
}

.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #1a1a2e;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   DIY Section - עשה זאת בעצמך
   ========================================================================== */

.diy-section {
    padding: 16px;
    background: #ffffff;
}

.diy-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    border-radius: 16px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}

.diy-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.diy-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.diy-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.diy-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.diy-text {
    flex: 1;
}

.diy-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 4px 0;
}

.diy-subtitle {
    font-size: 0.85rem;
    color: #a16207;
    margin: 0;
}

.diy-btn {
    background: #92400e;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.diy-btn:hover {
    background: #78350f;
    transform: translateY(-2px);
}

.diy-btn i {
    font-size: 0.75rem;
}

/* ==========================================================================
   Off-Canvas Menu - תפריט צד
   ========================================================================== */

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.offcanvas-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    bottom: 55px;
    width: 270px;
    max-width: 72vw;
    background: #ffffff;
    z-index: 1051;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(100% + 20px));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

@media (min-width: 768px) {
    .offcanvas-menu {
        width: 320px;
        max-width: 40vw;
        top: 20px;
        right: 20px;
        bottom: 60px;
    }
}

.offcanvas-menu.visible {
    transform: translateX(0);
}

/* Header */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 16px;
}

.offcanvas-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.offcanvas-close:hover {
    background: #e8e8e8;
    color: #333;
    transform: rotate(90deg);
}

/* Body */
.offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* כפתור חזרה לדף הראשי */
.menu-home-btn {
    display: block;
    padding: 14px 20px;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.15s ease;
}

.menu-home-btn::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.menu-home-btn:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-right: 28px;
}

.menu-home-btn:hover::before {
    height: 60%;
}

/* כפתור כל המתנות שלנו */
.menu-all-products-btn {
    display: block;
    padding: 14px 20px;
    background: transparent;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.15s ease;
    cursor: pointer;
}

.menu-all-products-btn i {
    margin-left: 8px;
    color: var(--primary-color);
}

.menu-all-products-btn::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.menu-all-products-btn:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-right: 28px;
}

.menu-all-products-btn:hover::before {
    height: 60%;
}

/* Categories Navigation */
.offcanvas-categories {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offcanvas-categories .floating-cat-item {
    display: block;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.offcanvas-categories .floating-cat-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.offcanvas-categories .floating-cat-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-right: 28px;
}

.offcanvas-categories .floating-cat-item:hover::before {
    height: 60%;
}

.offcanvas-categories .floating-cat-item.active {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.offcanvas-categories .floating-cat-item.active::before {
    display: none;
}


/* Prevent body scroll when menu is open */
body.offcanvas-open {
    overflow: hidden;
}

/* ==========================================================================
   Policy Modal - חלון מדיניות
   ========================================================================== */

.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.policy-modal.active {
    opacity: 1;
    visibility: visible;
}

.policy-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.policy-modal.active .policy-modal-content {
    transform: translateY(0) scale(1);
}

.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

.policy-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.policy-modal-close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.policy-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.policy-modal-body {
    padding: 24px;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    color: #334155;
    font-size: 14px;
}

.policy-modal-body h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

.policy-modal-body h4:first-child {
    margin-top: 0;
}

.policy-modal-body p {
    margin: 0 0 12px;
}

.policy-modal-body ul {
    margin: 0 0 12px;
    padding-right: 20px;
}

.policy-modal-body li {
    margin-bottom: 6px;
}

/* Contact form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #25D366;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: #128C7E;
}

.contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
}

.contact-info-item i {
    width: 20px;
    color: var(--primary-blue);
}

/* ==========================================================================
   Delivery Info Section - מידע משלוחים
   ========================================================================== */

.delivery-info-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 16px 0;
    overflow: hidden;
}

.delivery-info-static {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
}

.delivery-info-static i {
    font-size: 24px;
    color: #fbbf24;
}

.delivery-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.delivery-info-text strong {
    color: white;
    font-size: 15px;
    font-weight: 700;
}

.delivery-info-text span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================================
   Budget Finder Popup - חלון חיפוש לפי תקציב
   ========================================================================== */

.budget-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    width: calc(100% - 32px);
    max-width: 380px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.budget-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.budget-popup-content {
    padding: 24px 20px;
    position: relative;
    text-align: center;
}

.budget-popup-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.budget-popup-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.budget-popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
}

.budget-popup h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.budget-popup-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.budget-popup-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.budget-popup-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.budget-popup-select:focus {
    outline: none;
    border-color: #fbbf24;
}

.budget-popup-input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    transition: border-color 0.2s ease;
}

.budget-popup-input-group:focus-within {
    border-color: #fbbf24;
}

.budget-popup-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    background: transparent;
    text-align: center;
}

.budget-popup-input::placeholder {
    color: #94a3b8;
}

.budget-popup-input::-webkit-outer-spin-button,
.budget-popup-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.budget-popup-currency {
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
}

.budget-popup-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.budget-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.budget-popup-btn:active {
    transform: translateY(0);
}

/* Overlay for budget popup */
.budget-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.budget-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Shipping Info Popup - חלון מידע משלוחים
   ========================================================================== */

.nav-item.shipping-item i {
    color: #1e3a5f;
}

.shipping-info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: calc(100% - 32px);
    max-width: 350px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.shipping-info-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.shipping-info-content {
    padding: 20px;
    position: relative;
}

.shipping-info-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.shipping-info-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.shipping-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.shipping-info-icon i {
    font-size: 22px;
    color: white;
}

.shipping-info-content h4 {
    text-align: center;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
}

.shipping-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 8px;
}

.shipping-info-item i {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.shipping-info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-info-item strong {
    font-size: 14px;
    color: #1e293b;
}

.shipping-info-item span {
    font-size: 12px;
    color: #64748b;
}

.shipping-info-note {
    text-align: center;
    font-size: 12px;
    color: #1e293b;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    margin: 12px 0 0;
}

/* Policy Links in Popup */
.popup-policy-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.popup-policy-links button {
    background: none;
    border: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.popup-policy-links button:hover {
    color: #000000;
    text-decoration: underline;
}

.popup-policy-links span {
    color: #cbd5e1;
    font-size: 10px;
}

/* Backdrop for shipping popup */
.shipping-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.shipping-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Shipping Info */
.modal-shipping-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.modal-shipping-info i {
    color: #0284c7;
    font-size: 16px;
    margin-top: 2px;
}

.modal-shipping-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-shipping-info span {
    color: #0369a1;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.modal-shipping-info small {
    color: #f59e0b;
    font-size: 11px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .delivery-info-static {
        flex-direction: column;
        text-align: center;
    }
    
    .delivery-info-text {
        text-align: center;
    }
    
    .delivery-info-text strong {
        font-size: 14px;
    }
    
    .delivery-info-text span {
        font-size: 12px;
    }
    
    .marquee-content span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .delivery-info-section {
        padding: 12px 0;
    }
    
    .delivery-info-static {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .delivery-info-static i {
        font-size: 20px;
    }
}

/* ==========================================================================
   PWA Install Popup — Circular Design
   ========================================================================== */
.pwa-install-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 16px;
    animation: pwaOverlayIn 0.3s ease;
}

.pwa-install-popup.show {
    display: flex;
}

@keyframes pwaOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scene — contains decorative circles + main circle */
.pwa-install-scene {
    position: relative;
    width: 340px;
    height: 400px;
    animation: pwaSceneIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwaSceneIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Decorative floating category circles */
.pwa-deco-circle-img {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    border: 3px solid rgba(255,255,255,0.7);
}

.pwa-deco-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sizes & positions */
.pwa-deco-1 {
    width: 140px;
    height: 140px;
    top: -40px;
    left: -45px;
    animation: pwaDecoFloat1 4s ease-in-out infinite;
}

.pwa-deco-2 {
    width: 90px;
    height: 90px;
    top: -5px;
    right: -25px;
    animation: pwaDecoFloat2 3.5s ease-in-out infinite;
}

.pwa-deco-3 {
    width: 115px;
    height: 115px;
    bottom: 40px;
    left: -45px;
    animation: pwaDecoFloat3 4.5s ease-in-out infinite;
}

.pwa-deco-4 {
    width: 155px;
    height: 155px;
    bottom: -45px;
    right: -40px;
    animation: pwaDecoFloat1 3.8s ease-in-out infinite reverse;
}

.pwa-deco-5 {
    width: 75px;
    height: 75px;
    bottom: 110px;
    right: -22px;
    animation: pwaDecoFloat2 3s ease-in-out infinite reverse;
}

@keyframes pwaDecoFloat1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.04); }
}

@keyframes pwaDecoFloat2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-8px) translateX(4px); }
}

@keyframes pwaDecoFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

/* Main white circle */
.pwa-install-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 28px 28px;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.pwa-install-close {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(90px);
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 50%;
    font-size: 1.1rem;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 5;
}

.pwa-install-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #555;
}

.pwa-install-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.pwa-install-text {
    font-size: 0.85rem;
    color: #444;
    margin: 0 0 14px;
    line-height: 1.6;
    font-weight: 400;
}

.pwa-install-text strong {
    font-weight: 600;
    color: #333;
}

.pwa-install-btn {
    width: 85%;
    padding: 11px 20px;
    background: linear-gradient(135deg, #3d6b99 0%, #4bae8a 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(61, 107, 153, 0.3);
    letter-spacing: 0.2px;
}

.pwa-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(61, 107, 153, 0.5);
}

.pwa-install-btn:active {
    transform: scale(0.97);
}

.pwa-install-btn i {
    font-size: 0.9rem;
}

.pwa-install-later {
    width: 100%;
    padding: 6px 16px;
    background: transparent;
    color: #aaa;
    border: none;
    font-size: 0.78rem;
    font-weight: 400;
    cursor: pointer;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.pwa-install-later:hover {
    color: #666;
}

.pwa-dont-show {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1px 16px;
    margin-top: 0;
    font-size: 0.68rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pwa-dont-show:hover {
    color: #999;
}

/* Small screens — smaller scene */
@media (max-width: 370px) {
    .pwa-install-scene {
        width: 300px;
        height: 360px;
    }
    .pwa-install-circle {
        width: 270px;
        height: 270px;
        padding: 30px 22px 22px;
    }
    .pwa-install-title { font-size: 1.05rem; }
    .pwa-install-text { font-size: 0.76rem; }
    .pwa-deco-1 { width: 110px; height: 110px; }
    .pwa-deco-2 { width: 70px; height: 70px; }
    .pwa-deco-3 { width: 90px; height: 90px; }
    .pwa-deco-4 { width: 120px; height: 120px; }
    .pwa-deco-5 { width: 55px; height: 55px; }
}

/* Desktop — bigger */
@media (min-width: 768px) {
    .pwa-install-scene {
        width: 420px;
        height: 480px;
    }
    .pwa-install-circle {
        width: 360px;
        height: 360px;
        padding: 40px 36px 32px;
    }
    .pwa-install-title { font-size: 1.5rem; }
    .pwa-install-text { font-size: 0.95rem; }
    .pwa-deco-1 { width: 170px; height: 170px; top: -50px; left: -55px; }
    .pwa-deco-2 { width: 110px; height: 110px; }
    .pwa-deco-3 { width: 140px; height: 140px; }
    .pwa-deco-4 { width: 180px; height: 180px; bottom: -55px; right: -50px; }
    .pwa-deco-5 { width: 85px; height: 85px; }
}

/* ==========================================================================
   SW Update Banner - הודעת עדכון גרסה
   ========================================================================== */
#sw-update-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: swOverlayFadeIn 0.4s ease;
    direction: rtl;
}

.sw-update-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a2e;
    color: #fff;
    padding: 18px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', sans-serif;
    max-width: 90vw;
    animation: swPopIn 0.4s ease 0.1s both;
}

.sw-update-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.sw-update-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sw-update-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.sw-update-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.sw-update-btn {
    background: #5b7ea6;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.sw-update-btn:hover {
    background: #4a6d95;
}

@keyframes swOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes swPopIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
