:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --text-main: #1e293b;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* شريط الأخبار */
.news-bar-container {
    background: linear-gradient(90deg, #dc2626, #ea580c, #dc2626);
    background-size: 200% 100%;
    animation: gradientMove 5s linear infinite;
}
@keyframes gradientMove { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.news-item-animate { animation: slideUpFade 5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUpFade {
    0% { transform: translateY(20px); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* --- الهيدر --- */
.header-cover {
    position: relative;
    overflow: hidden;
    height: 250px; 
    background-color: #0f172a;
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: smoothZoom 20s linear infinite alternate;
    will-change: transform; 
}

@keyframes smoothZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg, 
        rgba(15, 23, 42, 0.7) 0%, 
        rgba(15, 23, 42, 0.3) 50%, 
        rgba(15, 23, 42, 0.7) 100%
    );
    background-size: 200% 200%;
    animation: overlayFlow 8s ease infinite;
}

@keyframes overlayFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
}

.header-content h1 {
    animation: fadeInUp 1s ease-out;
}

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

/* الأزرار والبطاقات */
.branch-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.branch-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.size-chip-filter {
    min-width: 45px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}
.size-chip-filter:hover { border-color: var(--primary); }
.size-chip-filter.active { background: var(--primary); color: white; border-color: var(--primary); }

.store-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    position: relative;
}
.store-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* مودال الألوان المتعددة */
.modal-color-option {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s;
}

.modal-color-option.active {
    border-color: #3b82f6; 
    transform: scale(0.95);
}

.check-mark {
    backdrop-filter: blur(1px);
    border-radius: 10px;
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Toast Animation --- */
@keyframes toast-pop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.toast-animate {
    animation: toast-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bounceIn {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.animate-bounce-in {
  animation: bounceIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* أضف هذا في نهاية ملف style.css */
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    -webkit-touch-callout: none; /* iOS Safari */
}