/* ========================================
   PERFORMANCE OPTIMIZATION STYLES
======================================== */

/* Delivery fee display */
.delivery-fee-display {
    margin-top: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.12));
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 14px;
    color: var(--dark-espresso, #3B2314);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeSlideIn 0.3s ease;
}
.delivery-fee-display i {
    color: var(--luxury-gold, #C9A84C);
}
.delivery-fee-display .free-delivery {
    color: var(--deep-burgundy, #7A1E2E);
    font-weight: 700;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   DELIVERY TYPE SELECTOR
======================================== */

.delivery-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.delivery-type-option {
    cursor: pointer;
}

.delivery-type-option input[type="radio"] {
    display: none;
}

.delivery-type-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 2px solid rgba(201, 168, 76, 0.15);
    background: white;
    transition: all 0.3s ease;
}

.delivery-type-card i {
    font-size: 1.3rem;
    color: var(--luxury-gold, #C9A84C);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.delivery-type-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.delivery-type-info strong {
    font-size: 0.9rem;
    color: var(--dark-espresso, #3B2314);
}

.delivery-type-info span {
    font-size: 0.78rem;
    color: var(--luxury-gold, #C9A84C);
    font-weight: 600;
}

.delivery-type-option.selected .delivery-type-card {
    border-color: var(--luxury-gold, #C9A84C);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.04), rgba(201, 168, 76, 0.1));
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
}

.delivery-type-option.selected .delivery-type-card i {
    opacity: 1;
    transform: scale(1.1);
}

.delivery-type-option:hover .delivery-type-card {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.delivery-type-option.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.delivery-type-option.disabled .delivery-type-info span {
    color: #999;
    font-size: 0.72rem;
}

@media (max-width: 480px) {
    .delivery-type-selection {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .delivery-type-card {
        padding: 12px 14px;
    }
}

/* Client avatar initials */
.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Header layout */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Language toggle button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--deep-burgundy, #7A1E2E);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.lang-toggle:hover {
    background: var(--luxury-gold, #C9A84C);
    color: #fff;
    border-color: var(--luxury-gold, #C9A84C);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}
.lang-icon {
    font-size: 1.1rem;
}

/* RTL support for Arabic */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .hero-content {
    direction: rtl;
}
html[dir="rtl"] .benefits-grid,
html[dir="rtl"] .steps-grid,
html[dir="rtl"] .pricing-grid,
html[dir="rtl"] .testimonials-grid,
html[dir="rtl"] .faq-grid {
    direction: rtl;
}
html[dir="rtl"] .form-group .input-wrapper i,
html[dir="rtl"] .form-group .select-wrapper i {
    left: auto;
    right: 15px;
}
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea {
    padding-left: 15px;
    padding-right: 45px;
    text-align: right;
}

/* Lazy loading placeholders */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* GPU acceleration for animations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Progressive image loading */
.progressive-image {
    position: relative;
    overflow: hidden;
}

.progressive-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Reduced motion preference support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Performance-optimized loading states */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 4px;
    height: 1em;
    margin: 0.5rem 0;
}

.loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    will-change: transform;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   LIVE SALES NOTIFICATIONS
======================================== */

.sales-notifications {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    pointer-events: none;
}

.notification {
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    border: 1px solid var(--luxury-gold);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(139, 69, 19, 0.1);
    max-width: 320px;
    min-width: 280px;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--luxury-gold);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.show {
    transform: translateX(0);
}

.notification.hide {
    transform: translateX(-100%);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--luxury-gold), #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    line-height: 1.3;
}

.notification-text strong {
    color: var(--charcoal-black);
    font-weight: 600;
    font-size: 14px;
}

.notification-text small {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.notification-timer {
    text-align: right;
    flex-shrink: 0;
}

.notification-timer small {
    color: #888;
    font-size: 11px;
    font-style: italic;
}

.close-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    color: #666;
    transition: all 0.2s ease;
    z-index: 1;
}

.close-notification:hover {
    background: #f5f5f5;
    color: var(--charcoal-black);
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse-notification {
    0% { box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(139, 69, 19, 0.1); }
    50% { box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 6px rgba(139, 69, 19, 0.2); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(139, 69, 19, 0.1); }
}

.notification.pulse {
    animation: pulse-notification 1.5s ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sales-notifications {
        left: 12px;
        right: 12px;
        top: 12px;
    }
    
    .notification {
        max-width: none;
        min-width: auto;
        width: calc(100vw - 24px);
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .notification {
        padding: 10px 14px;
        border-radius: 12px;
    }
    
    .customer-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .notification-text strong {
        font-size: 12px;
    }
    
    .notification-text small {
        font-size: 10px;
    }
}

/* ========================================
   URGENCY PSYCHOLOGY ELEMENTS
======================================== */

.flash-sale-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse-urgent 3s infinite;
}

.flash-sale-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate-glow 4s linear infinite;
}

.flash-content {
    position: relative;
    z-index: 2;
}

.flash-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flash-content h3 i {
    color: #f1c40f;
    margin-right: 8px;
    animation: lightning-flash 1.5s infinite;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 70px;
    backdrop-filter: blur(10px);
}

.time-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #f1c40f;
    animation: number-tick 1s infinite;
}

.time-label {
    display: block;
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0.9;
    font-weight: 500;
}

.social-pressure-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid var(--luxury-gold);
}

.pressure-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pressure-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.pressure-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--luxury-gold), #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.pressure-content {
    flex: 1;
}

.pressure-content strong {
    color: var(--deep-burgundy);
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.pressure-content p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.highlight-number {
    color: #e74c3c;
    font-weight: 700;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    animation: highlight-pulse 2s infinite;
}

.recent-orders {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #28a745;
    margin-top: 6px;
    animation: orders-pulse 3s infinite;
}

.recent-orders i {
    animation: cart-shake 2s infinite;
}

#recent-orders-count {
    font-weight: 600;
    color: var(--deep-burgundy);
}

/* FOMO Elements */
.urgency-item {
    position: relative;
    overflow: hidden;
}

.urgency-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
    animation: urgency-scan 4s infinite;
}

/* Animations */
@keyframes pulse-urgent {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

@keyframes lightning-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes number-tick {
    0%, 90%, 100% { transform: scale(1); }
    5% { transform: scale(1.1); }
}

@keyframes highlight-pulse {
    0%, 100% { background: rgba(231, 76, 60, 0.1); }
    50% { background: rgba(231, 76, 60, 0.2); }
}

@keyframes orders-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes cart-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-1px); }
    75% { transform: translateX(1px); }
}

@keyframes urgency-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .flash-sale-banner {
        padding: 14px;
        margin-bottom: 16px;
        border-radius: 14px;
    }
    
    .flash-content h3 {
        font-size: 1.1rem;
    }
    
    .countdown-timer {
        gap: 6px;
    }
    
    .time-unit {
        padding: 6px 8px;
        min-width: 44px;
        border-radius: 10px;
    }
    
    .time-number {
        font-size: 1.2rem;
    }
    
    .time-label {
        font-size: 0.65rem;
    }
    
    .social-pressure-section {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 14px;
        border-radius: 14px;
    }
    
    .pressure-item {
        padding: 10px;
        border-radius: 10px;
    }
    
    .pressure-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .flash-sale-banner {
        padding: 10px;
        border-radius: 12px;
    }
    
    .flash-content h3 {
        font-size: 0.95rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .time-unit {
        min-width: 40px;
        padding: 5px 6px;
    }
    
    .time-number {
        font-size: 1.05rem;
    }
}

/* ========================================
   WHATSAPP EXPRESS CHECKOUT — LUXURY
======================================== */

.express-checkout-section {
    background: linear-gradient(145deg, #fdfcf9 0%, #f7f3eb 50%, #f0ece3 100%);
    border: 1.5px solid rgba(201, 168, 76, 0.2);
    border-radius: 24px;
    padding: 0;
    margin: 32px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(59, 35, 20, 0.06), 0 1px 3px rgba(201, 168, 76, 0.08);
}

.express-checkout-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--luxury-gold, #C9A84C), #25D366, var(--luxury-gold, #C9A84C));
}

/* Express Header */
.express-header {
    padding: 32px 28px 0;
}

.express-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    animation: gentlePulse 3s ease-in-out infinite;
    position: relative;
}

.express-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    border: 2px solid rgba(37, 211, 102, 0.15);
    animation: ringPulse 3s ease-in-out infinite;
}

.express-checkout-section h3 {
    color: var(--deep-burgundy, #7A1E2E);
    margin-bottom: 6px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-family: var(--font-serif, 'Playfair Display', serif);
}

.express-checkout-section p {
    color: var(--charcoal-black, #1A1A1A);
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.55;
    letter-spacing: 0.01em;
}

/* Express Options Grid */
.express-checkout-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 24px 28px;
}

/* Base Express Button */
.btn-express {
    background: white;
    border: 1.5px solid rgba(201, 168, 76, 0.12);
    border-radius: 18px;
    padding: 24px 16px 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-express::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.05), transparent);
    transition: left 0.6s ease;
}

.btn-express:hover::before {
    left: 100%;
}

.btn-express:hover {
    border-color: #25D366;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.15);
}

/* Featured (Popular) Button */
.btn-express.featured {
    background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #25D366;
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.12);
}

.btn-express.featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.22);
}

/* Premium Button */
.btn-express.premium {
    background: linear-gradient(160deg, #fefce8 0%, #fef3c7 100%);
    border: 1.5px solid rgba(201, 168, 76, 0.25);
}

.btn-express.premium:hover {
    border-color: var(--luxury-gold, #C9A84C);
    box-shadow: 0 12px 32px rgba(201, 168, 76, 0.18);
}

/* Ribbon for Popular */
.express-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Express Option Layout */
.express-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.express-tier-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--luxury-gold, #C9A84C);
    margin-bottom: 4px;
}

.btn-express.featured .express-tier-label {
    color: #128C7E;
}

.express-qty {
    font-weight: 700;
    font-size: 1rem;
    color: var(--deep-burgundy, #7A1E2E);
}

.express-price {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--charcoal-black, #1A1A1A);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.express-price small {
    font-size: 0.65em;
    font-weight: 500;
    opacity: 0.6;
}

.express-savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #25D366;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.15);
    margin-top: 8px;
    transition: all 0.3s ease;
}

.btn-express:hover .express-savings {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.express-savings-highlight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--deep-burgundy, #7A1E2E);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(122, 30, 46, 0.06);
    margin-top: 4px;
}

.express-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
}

.btn-express:hover .express-cta {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transform: scale(1.05);
}

/* Trust Badges Row */
.express-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 28px 20px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    background: rgba(254, 252, 249, 0.6);
}

.express-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--charcoal-black, #1A1A1A);
    opacity: 0.5;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.express-trust span i {
    color: var(--luxury-gold, #C9A84C);
    font-size: 0.85rem;
}

/* Form Divider */
.form-divider {
    text-align: center;
    margin: 36px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.form-divider span {
    background: var(--warm-cream, #FAF7F2);
    padding: 0 24px;
    color: var(--charcoal-black, #1A1A1A);
    font-size: 0.82rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    opacity: 0.45;
    letter-spacing: 0.01em;
}

/* Animations */
@keyframes gentlePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.15); }
}

@keyframes loading-bar {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes bounce-whatsapp {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes pulse-popular {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Express — Mobile */
@media (max-width: 768px) {
    .express-checkout-section {
        margin: 20px 0;
        border-radius: 18px;
    }
    
    .express-header {
        padding: 20px 16px 0;
    }
    
    .express-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        border-radius: 14px;
    }
    
    .express-checkout-section h3 {
        font-size: 1.1rem;
    }
    
    .express-checkout-section p {
        font-size: 0.85rem;
    }
    
    .express-ribbon {
        font-size: 0.6rem;
        padding: 3px 10px;
    }
    
    .express-checkout-options {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }
    
    .btn-express {
        padding: 14px 12px;
        border-radius: 14px;
    }
    
    .btn-express.featured {
        transform: none;
        order: -1;
    }
    
    .btn-express.featured:hover {
        transform: translateY(-3px);
    }
    
    .express-trust {
        flex-direction: column;
        gap: 6px;
        padding: 12px 16px 14px;
    }
    
    .express-trust span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .express-checkout-section {
        margin: 14px 0;
        border-radius: 14px;
    }
    
    .express-header {
        padding: 16px 12px 0;
    }
    
    .express-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        border-radius: 12px;
    }
    
    .express-checkout-section h3 {
        font-size: 1rem;
    }
    
    .express-checkout-options {
        padding: 12px;
        gap: 8px;
    }
    
    .btn-express {
        padding: 12px 10px;
    }
    
    .express-trust {
        padding: 10px 12px 12px;
    }
}

/* ========================================
   DYNAMIC STOCK INDICATORS
======================================== */

.stock-indicator {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse-stock 2s infinite;
}

.stock-indicator[data-stock="1"],
.stock-indicator[data-stock="2"] {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: urgent-pulse 1s infinite;
}

.stock-indicator[data-stock="3"],
.stock-indicator[data-stock="4"],
.stock-indicator[data-stock="5"] {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.size-choice {
    position: relative;
    padding-bottom: 25px; /* Space for stock indicator */
}

.size-choice.low-stock {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffe6e6, #fff5f5);
}

.size-choice.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.size-choice.out-of-stock .stock-indicator {
    background: #6c757d;
    animation: none;
}

/* Live viewers indicator */
.live-viewers {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    animation: viewer-pulse 3s infinite;
}

.live-viewers i {
    color: #28a745;
    animation: blink 1.5s infinite;
}

#live-viewers-count {
    font-weight: 600;
    color: var(--charcoal-black);
}

.stock-subtitle {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* Stock counter enhancements */
.stock-counter {
    text-align: center;
}

.stock-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-burgundy);
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: count-pulse 2s infinite;
}

/* Animations */
@keyframes pulse-stock {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

@keyframes urgent-pulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
    50% { 
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.5);
    }
}

@keyframes viewer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes count-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .stock-indicator {
        font-size: 8px;
        padding: 2px 5px;
        bottom: -2px;
        border-radius: 6px;
    }
    
    .size-choice {
        padding-bottom: 18px;
    }
    
    .stock-number {
        font-size: 1.6rem;
    }
    
    .live-viewers {
        justify-content: center;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .stock-indicator {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .size-choice {
        padding-bottom: 16px;
    }
}

/* ========================================
   JAVASCRIPT COMPONENT STYLES
======================================== */

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-strong);
    animation: slideUp 0.3s ease-out;
}

.success-content .fas {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.order-summary {
    background: var(--light-beige);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.order-summary p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--deep-burgundy);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: scale(1.1);
    background: var(--luxury-gold);
    color: var(--charcoal-black);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--charcoal-black);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 9999;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.success .fas {
    color: #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.error .fas {
    color: #dc3545;
}

.notification.info {
    border-left: 4px solid var(--luxury-gold);
}

.notification.info .fas {
    color: var(--luxury-gold);
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Selected Package Highlight */
.price-card.selected {
    border-color: var(--luxury-gold) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3) !important;
}

.price-card.selected::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: var(--border-radius);
    z-index: -1;
    animation: pulse 2s infinite;
}

/* Loading States */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

/* Product Card Hover Effects */
.product-card:hover {
    cursor: pointer;
}

.product-card.color-selected {
    border: 2px solid var(--luxury-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.product-card.color-selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--luxury-gold);
    color: var(--charcoal-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Form Validation Visual Feedback */
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #28a745;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not([value=""]),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    animation: shake 0.3s ease-in-out;
}

/* Progress Indicators */
.form-progress {
    position: relative;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    width: 0%;
    transition: width 0.3s ease-out;
    border-radius: 2px;
}

/* Scroll Indicators */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Focus Management */
.modal-content:focus,
.notification:focus {
    outline: 2px solid var(--luxury-gold);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .notification {
        border: 2px solid currentColor;
    }
    
    .modal-overlay {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .success-content {
        border: 2px solid var(--deep-burgundy);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .notification,
    .success-modal,
    .image-modal,
    .modal-content,
    .success-content {
        animation: none;
        transition: none;
    }
    
    .submit-btn .fa-spinner {
        animation: none;
    }
    
    .price-card.selected::before {
        animation: none;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .success-content {
        padding: 1.75rem;
        margin: 0.75rem;
        border-radius: 18px;
    }
    
    .success-content h2 {
        font-size: 1.3rem;
    }
    
    .success-content p {
        font-size: 0.88rem;
    }
    
    .modal-content {
        max-width: 94vw;
        margin: 0.75rem;
        border-radius: 18px;
    }
    
    .notification {
        right: 8px;
        left: 8px;
        max-width: none;
    }
    
    .close-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
    
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Size Helper Modal */
.size-helper-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.size-helper-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-strong);
    animation: slideUp 0.3s ease-out;
}

.size-helper-content h3 {
    color: var(--deep-burgundy);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.measurement-guide {
    background: var(--light-beige);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.foot-diagram {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.size-table {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.size-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.size-row:last-child {
    border-bottom: none;
}

.size-row span {
    color: var(--charcoal-black);
    opacity: 0.8;
}

.size-row strong {
    color: var(--deep-burgundy);
}

/* Enhanced Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

/* Enhanced Hover Effects */
.enhanced-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-hover:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.2s ease;
}

.interactive-element:hover {
    transform: scale(1.05);
}

.interactive-element:active {
    transform: scale(0.98);
}

/* Loading Animations */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s linear infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Micro-interactions */
.micro-bounce {
    transition: transform 0.1s ease;
}

.micro-bounce:active {
    transform: scale(0.95);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .size-helper-content {
        padding: 1.5rem 1.25rem;
        margin: 0.75rem;
        border-radius: 18px;
    }
    
    .size-helper-content h3 {
        font-size: 1.1rem;
    }
    
    .measurement-guide {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .size-row {
        padding: 6px 0;
        font-size: 0.85rem;
    }
    
    .foot-diagram {
        font-size: 1.3rem;
    }
    
    .enhanced-hover:hover {
        transform: none;
    }
    
    .enhanced-hover:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .size-helper-content {
        padding: 1.25rem 1rem;
        margin: 0.5rem;
    }
    
    .measurement-guide {
        padding: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .size-helper-content {
        background: var(--charcoal-black);
        color: white;
    }
    
    .size-helper-content h3 {
        color: var(--luxury-gold);
    }
    
    .measurement-guide {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .size-row {
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
}

/* High Performance Animations */
.will-change {
    will-change: transform, opacity;
}

.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Focus Management for Accessibility */
.focus-visible {
    outline: 2px solid var(--luxury-gold);
    outline-offset: 2px;
}

/* Touch Gestures */
@media (hover: none) and (pointer: coarse) {
    .touch-optimized {
        min-height: 44px;
        min-width: 44px;
    }
    
    .interactive-element:hover {
        transform: none;
    }
    
    .interactive-element:focus {
        outline: 2px solid var(--luxury-gold);
    }
}