:root {
    --header-primary-gold: #edd566;
    --header-dark-gold: #b59d46;
    --header-neutral-gray: #969698;
    --header-mid-gold: #b59d46;
    --header-accent-gold: #f4e473;
    --header-shadow: rgba(177, 154, 72, 0.2);
    --header-text-dark: #2c2c2c;
    --header-text-light: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    padding-top: 0;
}

.header-logo-main,
.header-logo-sub,
.header-category-group-title {
    font-family: 'Tajawal', sans-serif;
}

/* ===== MOBILE SIDEBAR ===== */
.header-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-overlay.header-active {
    opacity: 1;
    visibility: visible;
}

.header-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.header-mobile-sidebar.header-active {
    right: 0;
}

.header-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
}

.header-sidebar-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.header-sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text-dark);
    transition: all 0.3s ease;
}

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

.header-sidebar-content {
    padding: 1.5rem;
}

.header-sidebar-search .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-sidebar-search .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    background: #f8f9fa;
}

.header-sidebar-search .btn {
    border: none;
    background: var(--header-primary-gold);
    color: var(--header-text-dark);
}

.header-sidebar-link {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    color: var(--header-text-dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-sidebar-link:hover {
    color: var(--header-dark-gold);
    background: rgba(237, 213, 102, 0.1);
}

.header-sidebar-link i {
    margin-left: 1rem;
    color: var(--header-mid-gold);
}

.header-sidebar-link .arrow {
    margin-right: auto;
    margin-left: 0;
}

.header-live-indicator {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    margin-right: auto;
    animation: header-pulse-glow 2s infinite;
}

/* ===== SIDEBAR PANELS ===== */
.header-sidebar-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-main-panel {
    transform: translateX(0);
}

.header-categories-panel {
    transform: translateX(100%);
}

.header-categories-panel.header-active {
    transform: translateX(0);
}

.header-main-panel.header-hidden {
    transform: translateX(-100%);
}

.header-categories-back {
    background: none;
    border: none;
    color: var(--header-dark-gold);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-categories-back:hover {
    background: rgba(237, 213, 102, 0.1);
    transform: scale(1.1);
}

.header-categories-title {
    color: var(--header-dark-gold);
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.header-categories-nav {
    padding: 1rem 0;
}

.header-category-group {
    margin-bottom: 2rem;
}

.header-category-group-title {
    color: var(--header-dark-gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(237, 213, 102, 0.1), rgba(177, 154, 72, 0.05));
    border-radius: 8px;
    border-left: 4px solid var(--header-primary-gold);
    margin: 0 1rem 1rem 1rem;
}

.header-category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    color: var(--header-text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 1rem 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.header-category-item:hover {
    background: rgba(237, 213, 102, 0.1);
    color: var(--header-dark-gold);
    transform: translateX(8px);
}

.header-category-item i {
    color: var(--header-mid-gold);
    font-size: 20px;
    transition: all 0.3s ease;
}

.header-category-item:hover i {
    color: var(--header-dark-gold);
    transform: scale(1.2);
}

/* ===== TOP BAR ===== */
.header-topbar {
    background: linear-gradient(135deg, var(--header-mid-gold), var(--header-dark-gold));
    color: var(--header-text-light);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
}

.header-promo {
    animation: header-slide-in 1s ease-out;
}

.header-promo-icon {
    animation: header-bounce 2s infinite;
    color: var(--header-accent-gold);
}

.header-top-link {
    color: var(--header-text-light);
    text-decoration: none;
    margin: 0 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-top-link:hover {
    color: var(--header-accent-gold);
    transform: translateY(-2px);
}

.header-top-link i {
    font-size: 16px;
    margin-left: 0.5rem;
}

/* ===== MAIN HEADER ===== */
.header-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--header-shadow);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: transform;
}

.header-main.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px var(--header-shadow);
}

/* ===== LOGO ===== */
.header-logo {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-icon {
    font-size: 2.5rem;
    color: var(--header-primary-gold);
    filter: drop-shadow(0 2px 4px rgba(237, 213, 102, 0.3));
    animation: header-logo-glow 3s infinite alternate;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
}

.header-logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-dark-gold);
    line-height: 1;
}

.header-logo-sub {
    font-size: 0.75rem;
    color: var(--header-neutral-gray);
    font-weight: 400;
}

.header-logo-img, .header-sidebar-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(237, 213, 102, 0.3));
    transition: all 0.3s ease;
}

.header-sidebar-logo-img {
    width: 32px;
    height: 32px;
}

.header-logo:hover .header-logo-img {
    filter: drop-shadow(0 4px 8px rgba(237, 213, 102, 0.6));
    transform: scale(1.05);
}


/* ===== NAVIGATION ===== */
.header-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-text-dark);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-nav-link:hover {
    color: var(--header-dark-gold);
    background: rgba(237, 213, 102, 0.1);
    transform: translateY(-2px);
}

/* ===== MEGA MENU ===== */
.header-mega-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 1rem;
    min-width: 800px;
    background: linear-gradient(135deg, #ffffff, #fafafa);
    overflow: hidden;
}

.header-mega-container {
    padding: 2rem;
}

.header-mega-title {
    color: var(--header-dark-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--header-primary-gold);
}

.header-mega-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--header-text-dark);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-mega-item:hover {
    background: rgba(237, 213, 102, 0.15);
    color: var(--header-dark-gold);
    transform: translateX(8px);
}

.header-mega-item i {
    color: var(--header-mid-gold);
    transition: all 0.3s ease;
}

.header-mega-item:hover i {
    color: var(--header-dark-gold);
    transform: scale(1.2);
}

/* ===== LIVE & DELIVERY ===== */
.header-live-delivery-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 1rem;
    height: 44px;
    position: relative;
    z-index: 1;
}

.header-live-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff4444;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 68, 68, 0.15);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 44px;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3);
    animation: header-live-glow 2s ease-in-out infinite alternate;
}

.header-live-btn:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.2);
    transform: translateY(-2px);
}

.header-live-pulse {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: header-pulse-glow 2s infinite;
}

.header-delivery-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-dark-gold);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 22px;
    background: rgba(237, 213, 102, 0.1);
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
    height: 44px;
    z-index: 1;
}

.header-delivery-btn:hover {
    color: var(--header-dark-gold);
    background: rgba(237, 213, 102, 0.2);
    transform: translateY(-2px);
}

.header-delivery-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--header-primary-gold);
    color: var(--header-text-dark);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    animation: header-badge-bounce 2s infinite;
}

/* ===== SPECIAL EFFECTS ===== */
.header-categories-btn {
    position: relative;
    overflow: hidden;
}

.header-live-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--header-primary-gold), #ff4444, var(--header-accent-gold), var(--header-mid-gold));
    background-size: 400% 400%;
    animation: header-live-streaming 3s ease infinite;
    opacity: 0.7;
    z-index: -1;
}

.header-categories-btn:hover .header-live-border {
    opacity: 1;
    animation-duration: 1.5s;
}

.header-floating-badge {
    position: absolute;
    top: -18px;
    right: -12px;
    background: #ff6b35;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.5);
    animation: header-floating-badge 2s ease-in-out infinite;
    z-index: 9999;
    min-width: 40px;
    text-align: center;
    white-space: nowrap;
    border: 2px solid white;
    pointer-events: none;
}

.header-floating-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #ff6b35;
    border-radius: 50px;
    transform: translate(-50%, -50%) scale(0);
    animation: header-badge-pulse 2s ease-in-out infinite;
    z-index: -1;
}

/* ===== ACTION BUTTONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-post-ad-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.header-post-ad-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.4);
}

.header-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.header-post-ad-btn:hover .header-btn-glow {
    left: 100%;
}

.header-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-dark-gold);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--header-primary-gold);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, transparent 0%, rgba(237, 213, 102, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
}

.header-login-btn:hover {
    color: var(--header-text-dark);
    background-position: 0% 0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(237, 213, 102, 0.4);
    border-color: var(--header-accent-gold);
}

.header-login-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.header-login-btn:hover .header-login-wave {
    left: 100%;
}

/* ===== MOBILE TOGGLE ===== */
.header-mobile-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.header-hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.header-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--header-dark-gold);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-toggle.header-active .header-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.header-mobile-toggle.header-active .header-hamburger span:nth-child(2) {
    opacity: 0;
}

.header-mobile-toggle.header-active .header-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RIPPLE EFFECT ===== */
.header-ripple-effect {
    position: relative;
    overflow: hidden;
}

.header-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(237, 213, 102, 0.4);
    transform: scale(0);
    animation: header-ripple-animation 0.6s linear;
    pointer-events: none;
}

/* ===== FOOTER ===== */
.footer-main {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: #ecf0f1;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--header-primary-gold), var(--header-accent-gold), var(--header-mid-gold));
}

.footer-content {
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer-brand-text {
    color: var(--header-primary-gold);
    font-weight: 700;
    margin: 0;
    font-family: 'Tajawal', sans-serif;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section-title {
    color: var(--header-primary-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
}

.footer-section-title i {
    font-size: 1.2rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--header-accent-gold);
    transform: translateX(5px);
    background: rgba(237, 213, 102, 0.1);
    padding-left: 0.5rem;
}

.footer-link::before {
    content: '›';
    opacity: 0;
    margin-right: 0.5rem;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-link:hover {
    background: var(--header-primary-gold);
    color: #2c3e50;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(237, 213, 102, 0.4);
}

.footer-social-link:nth-child(1):hover { background: #3b5998; }
.footer-social-link:nth-child(2):hover { background: #1da1f2; }
.footer-social-link:nth-child(3):hover { background: #e4405f; }
.footer-social-link:nth-child(4):hover { background: #ff0000; }
.footer-social-link:nth-child(5):hover { background: #000000; }

.footer-newsletter-desc {
    color: #bdc3c7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-input-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--header-primary-gold);
    box-shadow: 0 0 0 3px rgba(237, 213, 102, 0.2);
}

.footer-newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.875rem 1.25rem;
    color: #ecf0f1;
    font-size: 0.95rem;
}

.footer-newsletter-input::placeholder {
    color: #bdc3c7;
}

.footer-newsletter-input:focus {
    outline: none;
}

.footer-newsletter-btn {
    background: var(--header-primary-gold);
    border: none;
    padding: 0.875rem 1.25rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.footer-newsletter-btn:hover {
    background: var(--header-accent-gold);
    transform: scale(1.05);
}

.footer-contact-title {
    color: var(--header-primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #bdc3c7;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--header-accent-gold);
}

.footer-contact-item i {
    color: var(--header-primary-gold);
    font-size: 1.1rem;
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-app-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #ecf0f1;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-app-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--header-accent-gold);
    transform: translateY(-2px);
}

.footer-app-btn i {
    font-size: 2rem;
    color: var(--header-primary-gold);
}

.footer-app-text {
    display: flex;
    flex-direction: column;
}

.footer-app-label {
    font-size: 0.8rem;
    color: #bdc3c7;
}

.footer-app-name {
    font-size: 1rem;
    font-weight: 600;
}

.footer-delivery-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-delivery-item i {
    color: #27ae60;
    font-size: 1.1rem;
}

.footer-policy-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-policy-links li {
    margin-bottom: 0.5rem;
}

.footer-border {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: #bdc3c7;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-payment-label {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-payment-icons {
    display: flex;
    gap: 0.5rem;
}

.footer-payment-icon {
    color: var(--header-primary-gold);
    font-size: 1.5rem;
}

.footer-live-chat-btn,
.footer-whatsapp-btn {
    position: fixed;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.footer-live-chat-btn {
    bottom: 8rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.footer-whatsapp-btn {
    bottom: 2rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.footer-live-chat-btn:hover,
.footer-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.footer-chat-badge,
.footer-whatsapp-badge {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.footer-live-chat-btn:hover .footer-chat-badge,
.footer-whatsapp-btn:hover .footer-whatsapp-badge {
    opacity: 1;
    transform: translateX(0);
}

.footer-ripple-effect {
    position: relative;
    overflow: hidden;
}

.footer-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(237, 213, 102, 0.4);
    transform: scale(0);
    animation: footer-ripple-animation 0.6s linear;
    pointer-events: none;
}

/* ===== JUNAYH INPUT SYSTEM ===== */
.junayh-input-container {
    position: relative;
    margin-bottom: 2rem;
}

.junayh-input-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--header-text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
}

.junayh-input-label i {
    color: var(--header-primary-gold);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(237, 213, 102, 0.3));
}

.junayh-input-field {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff, #fafafa);
}

.junayh-input-field:focus-within {
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
}

.junayh-input {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: var(--header-text-dark);
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.junayh-input:focus {
    outline: none;
    border-color: var(--header-primary-gold);
    background: #ffffff;
}

.junayh-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.junayh-input-with-icon {
    padding-right: 4rem;
    padding-left: 1.5rem;
}

.junayh-input-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--header-neutral-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(237, 213, 102, 0.1);
}

.junayh-input-icon:hover {
    color: var(--header-primary-gold);
    background: rgba(237, 213, 102, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.junayh-phone-container {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff, #fafafa);
    flex-direction: row-reverse;
}

.junayh-phone-container:focus-within {
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
}

.junayh-country-selector {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--header-text-dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.junayh-country-selector:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.junayh-phone-input {
    flex: 1;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.junayh-phone-input:focus {
    outline: none;
}

.junayh-tags-container {
    min-height: 4rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ffffff, #fafafa);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    transition: all 0.3s ease;
    cursor: text;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.junayh-tags-container:focus-within {
    border-color: var(--header-primary-gold);
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
}

.junayh-tag {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(237, 213, 102, 0.3);
    transition: all 0.3s ease;
}

.junayh-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 213, 102, 0.5);
}

.junayh-tag-remove {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.junayh-tag-remove:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.junayh-tag-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 150px;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    color: var(--header-text-dark);
}

.junayh-file-upload {
    border: 3px dashed #dee2e6;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.junayh-file-upload:hover {
    border-color: var(--header-primary-gold);
    background: rgba(237, 213, 102, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.3);
}

.junayh-file-upload.junayh-dragover {
    border-color: var(--header-mid-gold);
    background: rgba(237, 213, 102, 0.1);
}

.junayh-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.junayh-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.junayh-file-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #e9ecef;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.junayh-file-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.junayh-file-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.junayh-file-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    border-radius: 10px;
    color: var(--header-text-dark);
    font-size: 28px;
}

.junayh-file-info {
    flex: 1;
    min-width: 0;
}

.junayh-file-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--header-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.junayh-file-size {
    font-size: 0.85rem;
    color: var(--header-neutral-gray);
    font-weight: 500;
}

.junayh-file-remove {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    font-weight: 700;
}

.junayh-file-remove:hover {
    background: #c0392b;
    transform: scale(1.2);
}

.junayh-quantity-container {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 180px;
    background: linear-gradient(135deg, #ffffff, #fafafa);
}

.junayh-quantity-btn {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
    border: none;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    min-width: 55px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.junayh-quantity-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.junayh-quantity-input {
    border: none;
    text-align: center;
    width: 70px;
    padding: 1.25rem 0.75rem;
    font-weight: 700;
    background: transparent;
    font-size: 1.2rem;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
}

.junayh-quantity-input:focus {
    outline: none;
}

.junayh-switch-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.junayh-switch-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.junayh-switch {
    position: relative;
    width: 70px;
    height: 35px;
    background: #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.junayh-switch.junayh-checked {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    box-shadow: 0 4px 15px rgba(237, 213, 102, 0.4);
}

.junayh-switch-thumb {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: absolute;
    right: 2.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.junayh-switch.junayh-checked .junayh-switch-thumb {
    right: 37.5px;
    box-shadow: 0 3px 12px rgba(237, 213, 102, 0.5);
}

.junayh-switch-input {
    display: none;
}

.junayh-switch-label {
    font-weight: 600;
    color: var(--header-text-dark);
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
}

.junayh-checkbox-group,
.junayh-radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.junayh-checkbox-item,
.junayh-radio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
}

.junayh-checkbox-item:hover,
.junayh-radio-item:hover {
    background: rgba(237, 213, 102, 0.1);
    border-color: var(--header-primary-gold);
    transform: translateX(-5px);
}

.junayh-checkbox,
.junayh-radio {
    position: relative;
    width: 24px;
    height: 24px;
    border: 3px solid #dee2e6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.junayh-checkbox {
    border-radius: 6px;
}

.junayh-radio {
    border-radius: 50%;
}

.junayh-checkbox.junayh-checked,
.junayh-radio.junayh-checked {
    border-color: var(--header-primary-gold);
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    box-shadow: 0 3px 12px rgba(237, 213, 102, 0.4);
}

.junayh-checkbox.junayh-checked i {
    color: var(--header-text-dark);
    font-size: 16px;
    font-weight: 700;
}

.junayh-radio.junayh-checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--header-text-dark);
    border-radius: 50%;
}

.junayh-checkbox-input,
.junayh-radio-input {
    display: none;
}

.junayh-checkbox-label,
.junayh-radio-label {
    font-weight: 600;
    color: var(--header-text-dark);
    cursor: pointer;
    font-size: 1.05rem;
    font-family: 'Tajawal', sans-serif;
}

.junayh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    min-height: 52px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.junayh-btn-primary {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
    box-shadow: 0 8px 25px rgba(237, 213, 102, 0.4);
}

.junayh-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(237, 213, 102, 0.6);
}

.junayh-btn i {
    font-size: 1.3rem;
}

.junayh-textarea {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffffff, #fafafa);
    color: var(--header-text-dark);
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    resize: vertical;
    min-height: 120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.junayh-textarea:focus {
    outline: none;
    border-color: var(--header-primary-gold);
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
    background: #ffffff;
}

.junayh-textarea-medium {
    min-height: 100px;
    max-height: 150px;
}

.junayh-textarea-large {
    min-height: 180px;
    max-height: 350px;
}

/* ===== DATETIME PICKER ===== */
.junayh-datetime-container {
    position: relative;
}

.junayh-datetime-picker {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--header-primary-gold);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 1rem;
    margin-top: 0.5rem;
    display: none;
    max-width: 300px;
}

.junayh-datetime-picker.junayh-show {
    display: block;
}

.junayh-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(237, 213, 102, 0.3);
}

.junayh-date-nav {
    background: none;
    border: none;
    color: var(--header-primary-gold);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.junayh-date-nav:hover {
    background: rgba(237, 213, 102, 0.1);
    transform: scale(1.1);
}

.junayh-date-title {
    font-weight: 600;
    color: var(--header-text-dark);
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.junayh-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.junayh-date-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--header-text-dark);
    min-height: 32px;
}

.junayh-date-cell:hover {
    background: rgba(237, 213, 102, 0.2);
    transform: scale(1.1);
}

.junayh-date-cell.junayh-selected {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
    box-shadow: 0 3px 12px rgba(237, 213, 102, 0.4);
}

.junayh-date-cell.junayh-today {
    background: rgba(237, 213, 102, 0.3);
    border: 2px solid var(--header-primary-gold);
}

.junayh-time-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(237, 213, 102, 0.05);
    border-radius: 8px;
    flex-direction: row-reverse;
}

.junayh-time-input {
    width: 60px;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--header-text-dark);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.junayh-time-input:focus {
    outline: none;
    border-color: var(--header-primary-gold);
    box-shadow: 0 0 0 3px rgba(237, 213, 102, 0.2);
}

.junayh-time-picker {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--header-primary-gold);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 1rem;
    margin-top: 0.5rem;
    display: none;
    max-width: 200px;
}

.junayh-time-picker.junayh-show {
    display: block;
}

.junayh-time-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.junayh-time-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.junayh-time-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--header-text-dark);
    text-align: center;
}

.junayh-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-height: 120px;
    overflow-y: auto;
}

.junayh-time-option {
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-width: 32px;
    text-align: center;
}

.junayh-time-option:hover {
    background: rgba(237, 213, 102, 0.2);
    border-color: var(--header-primary-gold);
}

.junayh-time-option.selected {
    background: var(--header-primary-gold);
    color: var(--header-text-dark);
    border-color: var(--header-mid-gold);
}

.junayh-datetime-combined {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.junayh-datetime-combined .junayh-input {
    flex: 1;
}

.junayh-datetime-separator {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--header-primary-gold);
    padding: 0 0.5rem;
}

/* ===== COLOR PICKER ===== */
.junayh-color-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.junayh-color-input {
    width: 60px;
    height: 60px;
    border: 3px solid var(--header-primary-gold);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    padding: 0;
}

.junayh-color-input:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(237, 213, 102, 0.4);
}

.junayh-color-display {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    min-width: 120px;
    text-align: center;
}

/* ===== NUMBER INPUT ===== */
.junayh-number-container {
    display: flex;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, #fafafa);
}

.junayh-number-container:focus-within {
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
}

.junayh-number-input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-left: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    border-radius: 0;
}

.junayh-number-input:focus {
    outline: none;
    border-color: var(--header-primary-gold);
}

.junayh-number-unit {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    border: 2px solid var(--header-primary-gold);
    border-right: none;
    white-space: nowrap;
}

/* ===== UPLOAD BUTTON ===== */
.junayh-upload-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    border: none;
    border-radius: 15px;
    color: var(--header-text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 8px 25px rgba(237, 213, 102, 0.4);
    position: relative;
    overflow: hidden;
}

.junayh-upload-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(237, 213, 102, 0.6);
}

.junayh-upload-btn:disabled {
    cursor: not-allowed;
    filter: brightness(0.8);
}

.junayh-upload-spinning {
    animation: junayh-spin 1s linear infinite;
}

/* ===== CUSTOM SELECT ===== */
.select-custom-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.select-custom-container {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-custom-container:focus-within {
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.4);
    transform: translateY(-3px);
}

.select-custom-trigger {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-custom-trigger:hover {
    border-color: var(--header-primary-gold);
}

.select-custom-trigger.select-custom-active {
    border-color: var(--header-primary-gold);
    background: #ffffff;
}

.select-custom-selected {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.select-custom-icon {
    color: var(--header-primary-gold);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(237, 213, 102, 0.3));
}

.select-custom-text {
    font-size: 1.1rem;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
}

.select-custom-arrow {
    color: var(--header-mid-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: absolute;
    left: 1.5rem;
}

.select-custom-trigger.select-custom-active .select-custom-arrow {
    transform: rotate(180deg);
    color: var(--header-primary-gold);
}

.select-custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid var(--header-primary-gold);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    max-height: 350px;
    overflow: hidden;
}

.select-custom-dropdown.select-custom-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-custom-search {
    padding: 1.5rem;
    border-bottom: 2px solid rgba(237, 213, 102, 0.2);
    background: linear-gradient(135deg, #fafafa, #ffffff);
}

.select-custom-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    direction: rtl;
    text-align: right;
}

.select-custom-search-input:focus {
    outline: none;
    border-color: var(--header-primary-gold);
    box-shadow: 0 0 0 3px rgba(237, 213, 102, 0.2);
}

/* ===== CARDS ===== */
.junayh-card {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.junayh-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.junayh-card-header {
    background: transparent;
    border: none;
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.junayh-card-title {
    color: var(--header-text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    flex: 1;
}

.junayh-card-body {
    padding: 0 2rem 2rem;
    color: var(--header-neutral-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.junayh-card-btn {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    color: var(--header-text-dark);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
}

.junayh-card-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 213, 102, 0.4);
    color: var(--header-text-dark);
}

.junayh-card-ripple-effect {
    position: relative;
    overflow: hidden;
}

.junayh-card-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(237, 213, 102, 0.4);
    transform: scale(0);
    animation: junayh-card-ripple-animation 0.6s linear;
    pointer-events: none;
}

/* ===== TOAST NOTIFICATIONS ===== */
.junayh-toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    font-family: 'Tajawal', sans-serif;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.junayh-toast.junayh-toast-show {
    top: 1.5rem;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.junayh-toast.junayh-toast-hide {
    top: -60px;
    opacity: 0;
    transform: translateX(-50%) scale(0.95);
}

.junayh-toast-success {
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
    border: 1px solid #27ae60;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.15);
}

.junayh-toast-error {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
    border: 1px solid #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.15);
}

.junayh-toast-info {
    background: linear-gradient(135deg, #ffffff 0%, #fffef7 100%);
    border: 1px solid var(--header-primary-gold);
    box-shadow: 0 8px 25px rgba(237, 213, 102, 0.2);
}

.junayh-toast-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.875rem;
    position: relative;
}

.junayh-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.junayh-toast-success .junayh-toast-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.junayh-toast-error .junayh-toast-icon {
    background: linear-gradient(135deg, #e74c3c, #ec7063);
}

.junayh-toast-info .junayh-toast-icon {
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-accent-gold));
    color: var(--header-text-dark);
}

.junayh-toast-text {
    flex: 1;
    color: var(--header-text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.junayh-toast-show {
    animation: junayh-toast-slide-down 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.junayh-toast-hide {
    animation: junayh-toast-slide-up 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.toast-demo-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(237, 213, 102, 0.2);
}

/* ===== ANIMATIONS ===== */
@keyframes header-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes header-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-fade-in {
    animation: header-slide-in 0.6s ease-out;
}

@keyframes header-logo-glow {
    0% { filter: drop-shadow(0 2px 4px rgba(237, 213, 102, 0.3)); }
    100% { filter: drop-shadow(0 4px 8px rgba(237, 213, 102, 0.6)); }
}

@keyframes header-pulse-glow {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
}

@keyframes header-live-glow {
    0% { box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3); }
    100% { box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.6); }
}

@keyframes header-badge-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes header-live-streaming {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes header-floating-badge {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

@keyframes header-badge-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes header-ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes footer-ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes junayh-card-ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes junayh-toast-slide-down {
    0% {
        transform: translateX(-50%) translateY(-60px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes junayh-toast-slide-up {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-60px);
        opacity: 0;
    }
}

@keyframes junayh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cardio-pulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.3); }
    75% { transform: scale(1.1); }
}

.cardio_load {
    animation: cardio-pulse 1.2s ease-in-out infinite;
    color: #e74c3c !important;
}

/* ===== RTL SUPPORT ===== */
[dir="ltr"] .header-mobile-sidebar {
    left: -400px;
    right: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

[dir="ltr"] .header-mobile-sidebar.header-active {
    left: 0;
}

[dir="ltr"] .header-mega-item:hover {
    transform: translateX(-8px);
}

[dir="ltr"] .header-category-item:hover {
    transform: translateX(-8px);
}

[dir="ltr"] .header-floating-badge {
    left: -12px;
    right: auto;
    top: -18px;
}

[dir="ltr"] .header-categories-panel {
    transform: translateX(-100%);
}

[dir="ltr"] .header-categories-panel.header-active {
    transform: translateX(0);
}

[dir="ltr"] .header-main-panel.header-hidden {
    transform: translateX(100%);
}

[dir="ltr"] .header-search-input,
[dir="ltr"] .header-mobile-search-input {
    direction: ltr;
    text-align: left;
    padding: 1rem 1.5rem 1rem 60px;
}

[dir="ltr"] .header-mobile-search-input {
    padding: 1rem 1.5rem 1rem 50px;
}

[dir="ltr"] .header-search-input::placeholder,
[dir="ltr"] .header-mobile-search-input::placeholder {
    text-align: left;
}

[dir="ltr"] .header-search-btn,
[dir="ltr"] .header-mobile-search-btn {
    right: 8px;
    left: auto;
}

[dir="ltr"] .junayh-input-with-icon {
    padding-left: 4rem;
    padding-right: 1.5rem;
}

[dir="ltr"] .junayh-input-icon {
    left: 1.25rem;
    right: auto;
}

[dir="ltr"] .select-custom-search-input {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .footer-link:hover {
    transform: translateX(-5px);
}

[dir="ltr"] .footer-live-chat-btn,
[dir="ltr"] .footer-whatsapp-btn {
    left: 2rem;
    right: auto;
}

[dir="ltr"] .footer-chat-badge,
[dir="ltr"] .footer-whatsapp-badge {
    left: 70px;
    right: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .header-search-container {
        display: none;
    }
    
    .header-mobile-sidebar {
        width: 300px;
    }
    
    .header-logo-sub {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-post-ad-btn span,
    .header-login-btn span {
        display: none;
    }
    
    .header-logo-img {
        width: 32px;
        height: 32px;
    }
    
    .header-floating-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
        min-width: 30px;
        top: -8px;
        right: -8px;
        border: 1px solid white;
    }
    
    .header-sidebar-link .header-floating-badge {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        position: absolute;
        margin: 0;
    }
    
    .header-sidebar-link .header-live-indicator {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        margin: 0;
    }
    
    .footer-content {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-app-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-app-btn {
        flex: 1;
        margin-right: 0.5rem;
    }
    
    .footer-policy-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .junayh-input, .junayh-textarea {
        font-size: 16px;
        padding: 1rem 1.25rem;
    }
    
    .junayh-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .junayh-phone-container {
        flex-direction: column;
    }
    
    .junayh-quantity-container {
        max-width: 150px;
    }
    
    .junayh-file-item {
        max-width: 100%;
    }
    
    .junayh-datetime-picker {
        max-width: 280px;
        padding: 0.75rem;
    }
    
    .junayh-date-cell {
        min-height: 28px;
        font-size: 0.8rem;
    }
    
    .junayh-time-picker {
        max-width: 180px;
    }
    
    .junayh-time-input {
        width: 50px;
        padding: 0.4rem;
        font-size: 0.85rem;
    }
    
    .junayh-datetime-combined {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .junayh-toast {
        min-width: 260px;
        max-width: 90vw;
    }
    
    .junayh-toast-content {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    
    .junayh-toast-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .junayh-toast-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .header-mobile-sidebar {
        width: 280px;
    }
    
    .header-topbar {
        display: none !important;
    }
    
    .header-main {
        top: 0;
    }
    
    body {
        padding-top: 0px;
    }
    
    .header-logo-main {
        font-size: 1.25rem;
    }
    
    .header-logo-icon {
        font-size: 2rem;
    }
    
    .footer-live-chat-btn,
    .footer-whatsapp-btn {
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .footer-live-chat-btn {
        bottom: 6rem;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-app-buttons {
        flex-direction: column;
    }
    
    .footer-payment-methods {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .junayh-input-label {
        font-size: 1rem;
    }
    
    .junayh-input-container {
        margin-bottom: 1.5rem;
    }
    
    .junayh-file-upload {
        padding: 2rem 1rem;
        min-height: 150px;
    }
    
    .junayh-switch-container {
        padding: 0.75rem;
    }
    
    .junayh-datetime-picker {
        max-width: 260px;
        padding: 0.5rem;
    }
    
    .junayh-date-cell {
        min-height: 24px;
        font-size: 0.75rem;
    }
    
    .junayh-date-nav {
        width: 28px;
        height: 28px;
    }
    
    .junayh-time-picker {
        max-width: 160px;
    }
    
    .junayh-toast {
        min-width: 240px;
        max-width: 95vw;
    }
    
    .junayh-toast-content {
        padding: 0.75rem 0.875rem;
    }
    
    .junayh-toast-icon {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
    
    .junayh-toast-text {
        font-size: 0.8rem;
    }
}



/* ===== SEARCH ===== */
.header-search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

/* Desktop Search */
.header-search-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.header-search-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(237, 213, 102, 0.3);
}

.header-search-input {
    width: 100%;
    border: none;
    padding: 1rem 60px 1rem 1.5rem; /* RTL: Icon space on RIGHT, normal padding on left */
    font-size: 1rem;
    background: transparent;
    color: var(--header-text-dark);
    direction: rtl;
    text-align: right;
}
.header-search-input:focus {
    outline: none;
}

.header-search-input::placeholder {
    color: var(--header-neutral-gray);
    text-align: right;
}

.header-search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--header-primary-gold);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(237, 213, 102, 0.4);
    z-index: 10;
}

.header-search-btn:hover {
    background: var(--header-dark-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(237, 213, 102, 0.6);
}

.header-search-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--header-primary-gold), var(--header-mid-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 30px;
    z-index: -1;
}

.header-search-wrapper:focus-within .header-search-glow {
    opacity: 0.1;
}
/* Mobile Search */
.header-mobile-search-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.header-mobile-search-input {
    border: none;
    padding: 1rem 50px 1rem 1.5rem;
    background: transparent;
    font-size: 1rem;
    border-radius: 25px;
    width: 100%;
    direction: rtl;
    text-align: right;
}

.header-mobile-search-input:focus {
    outline: none;
    box-shadow: none;
}

.header-mobile-search-input::placeholder {
    color: var(--header-neutral-gray);
    text-align: right;
}

.header-mobile-search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--header-primary-gold);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text-dark);
    transition: all 0.3s ease;
}

.header-mobile-search-btn:hover {
    background: var(--header-dark-gold);
    transform: translateY(-50%) scale(1.1);
}
