/* Reset and Base Styles */
:root {
    /* Common clamp values */
    --font-small: clamp(0.6rem, 1.5vw, 0.7rem);
    --font-medium: clamp(0.8rem, 1.5vw, 0.9rem);
    --font-large: clamp(0.9rem, 2.2vw, 1rem);
    --font-xl: clamp(1.2rem, 2.5vw, 1.5rem);
    --font-xxl: clamp(1.5rem, 4vw, 2rem);
    
    /* Common spacing values */
    --spacing-xs: clamp(0.3rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 1vw, 1rem);
    --spacing-md: clamp(1rem, 2vw, 2rem);
    --spacing-lg: clamp(1.5rem, 3vw, 2rem);
    --spacing-xl: clamp(2rem, 5vw, 3rem);
    
    /* Common padding values */
    --padding-sm: clamp(0.4rem, 1vw, 0.5rem);
    --padding-md: clamp(0.8rem, 2vw, 1rem);
    --padding-lg: clamp(1rem, 3vw, 2rem);
    
    /* Common gap values */
    --gap-xs: clamp(0.2rem, 0.6vw, 0.3rem);
    --gap-sm: clamp(0.3rem, 1vw, 0.5rem);
    --gap-md: clamp(0.5rem, 1.5vw, 0.8rem);
    --gap-lg: clamp(1rem, 2vw, 2rem);
    
    /* Common border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Common colors */
    --color-primary: #0070f3;
    --color-secondary: #0056b3;
    --color-success: #00ff88;
    --color-danger: #e74c3c;
    --color-warning: #f39c12;
    --color-dark: #1a1a1a;
    --color-gray: #2a2a2a;
    --color-light-gray: #3a3a3a;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --color-text-light: #999999;
    

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: var(--color-text);
    line-height: 1.6;
    direction: ltr;
    font-size: clamp(14px, 1vw, 16px);
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}










/* Mark highlighting */
mark {
    background: linear-gradient(135deg, 
        rgba(0, 112, 243, 0.3) 0%, 
        rgba(0, 86, 179, 0.3) 100%);
    color: #ffffff;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 112, 243, 0.2);
}








/* Mobile Sidebar styles moved to user-sidebar.css */

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--padding-lg);
}

/* Hero Carousel */
.hero-carousel {
    margin-bottom: var(--spacing-xl);
}

.carousel-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: clamp(300px, 50vh, 400px);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: var(--spacing-lg);
    color: var(--color-text);
}

.slide-content h2 {
    font-size: var(--font-xxl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: var(--padding-md);
    opacity: 0.9;
}

.slide-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text);
    text-decoration: none;
    padding: var(--padding-md) var(--padding-lg);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3);
    border: none;
    cursor: pointer;
}

.slide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.slide-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 112, 243, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--padding-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--gap-sm);
}

.indicator {
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.indicator:hover {
    background-color: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--color-text);
    transform: scale(1.3);
}

.indicator:active {
    transform: scale(0.9);
}

/* Swipe feedback styles */
.indicator.dragging {
    transform: scale(1.4);
    background-color: var(--color-primary);
}

/* Prevent text selection during drag */
.carousel-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-container.dragging {
    cursor: grabbing;
}

.carousel-container:active {
    cursor: grabbing;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.5rem);
    font-weight: 600;
}

.view-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.view-more:hover {
    color: var(--color-secondary);
}




@media (max-width: 320px) {
    body {
        font-size: 14px;
    }

 
    .carousel-container {
        height: 200px;
    }
    
    .slide-content h2 {
        font-size: var(--font-medium);
    }
    
    .action-overlay {
        padding: 6px;
    }
    

}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 10px;
    pointer-events: none;
}

.floating-btn {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    border-radius: 32px;
    padding: 10px 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 16px rgba(0, 112, 243, 0.3);
    width: auto;
    min-width: 39px;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    color: #fff;
    font-weight: 600;
    font-size: 0.6rem;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 23px rgba(0, 112, 243, 0.4);
    background: linear-gradient(135deg, #0051cc, #003d99);
}

.floating-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}

.btn-content {
    opacity: 1;
    transition: opacity 0.3s ease;
    color: var(--color-text);
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-content h4 {
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 1px;
    color: #fff;
    white-space: nowrap;
}

.btn-content p {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    white-space: nowrap;
}

/* Cart Counter Styles */
.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #fff;
    border-radius: 50%;
    width: clamp(18px, 4vw, 22px);
    height: clamp(18px, 4vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: 10;
}

.cart-counter.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

.cart-counter.animate {
    animation: cartCounterPulse 0.6s ease-in-out;
}

/* Hide counter when count is 0 */
.cart-counter:empty,
.cart-counter:contains("0") {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

/* Force show counter when it has content and count > 0 */
.cart-counter:not(:empty):not(:contains("0")) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    display: flex !important;
}

/* Additional fallback for cart counter visibility */
#floatingCartCounter:not(:empty):not([data-count="0"]) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    display: flex !important;
}

@keyframes cartCounterPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating Button Icon Position */
.btn-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}








/* Hero Section */
.product-hero-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.game-art-card {
    flex-shrink: 0;
    width: 180px;
    height: 240px;
    background: #000;
    border-radius: 12px;
    overflow: visible;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: -100px;
}

.game-art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-info-hero {
    flex: 1;
    color: #ffffff;
}

.product-title-hero {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}




.back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-sm);
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--font-medium);
    padding: var(--padding-sm) var(--padding-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    background-color: var(--color-gray);
    border: 1px solid #ffffff4b;
}

.back-btn:hover {
    background-color: var(--color-light-gray);
    transform: translateX(-2px);
}

.back-btn i {
    font-size: var(--font-small);
}



.empty-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-muted);
    gap: var(--gap-md);
    padding: var(--padding-lg);
    width: 100%;
}

.empty-placeholder .game-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--gap-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.empty-placeholder i {
    font-size: 3rem;
    color: var(--color-text-light);
    margin-bottom: var(--gap-sm);
}

.empty-placeholder span {
    font-size: var(--font-large);
    font-weight: 500;
    color: var(--color-text-muted);
}










/* New Product Card Styles */
.new-product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-muted);
    gap: var(--gap-lg);
    padding: var(--padding-lg);
    width: 100%;
    min-height: 400px;
}


/* New Product Info */
.new-product-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-sm);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-sm) var(--padding-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.info-item .info-label {
    font-size: var(--font-small);
    color: var(--color-text-light);
    font-weight: 500;
}

.info-item .info-value {
    font-size: var(--font-medium);
    color: var(--color-text);
    font-weight: 600;
}

/* New Product Buttons */
.new-product-buttons {
    display: flex;
    gap: var(--gap-md);
    margin-bottom: var(--gap-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.new-btn {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: var(--padding-md) var(--padding-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    min-width: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.new-btn::before {
    content: '';
    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.5s ease;
}

.new-btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--color-success), #00cc6a);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #00cc6a, #00b359);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.secondary-btn {
    background: linear-gradient(135deg, var(--color-danger), #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.secondary-btn.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
    transform: scale(1.05);
}

.new-btn i {
    font-size: var(--font-medium);
    transition: transform 0.3s ease;
}

.new-btn:hover i {
    transform: scale(1.2);
}

.new-btn span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .new-product-container {
        gap: var(--gap-md);
        padding: var(--padding-md);
    }
    
    .new-product-header {
        flex-direction: column;
        gap: var(--gap-sm);
    }
    
    .new-product-title {
        font-size: var(--font-xl);
    }
    
    .new-product-buttons {
        flex-direction: column;
        gap: var(--gap-sm);
    }
    
    .new-btn {
        width: 100%;
        min-width: auto;
        padding: var(--padding-sm) var(--padding-md);
    }
}

@media (max-width: 480px) {
    .new-product-container {
        gap: var(--gap-sm);
        padding: var(--padding-sm);
    }
    
    .new-product-title {
        font-size: var(--font-large);
        letter-spacing: 1px;
    }
    
    .new-product-badge {
        font-size: var(--font-small);
        padding: var(--padding-xs) var(--padding-sm);
    }
    
    .info-item {
        padding: var(--padding-xs) var(--padding-sm);
    }
    
    .info-item .info-label {
        font-size: var(--font-small);
    }
    
    .info-item .info-value {
        font-size: var(--font-small);
    }
    
    .new-btn {
        padding: var(--padding-xs) var(--padding-sm);
        font-size: var(--font-small);
        min-width: 120px;
    }
    
    .new-btn span {
        font-size: var(--font-small);
    }
    
    .notification-item {
        padding: var(--padding-sm);
        font-size: var(--font-small);
    }
    
    .notification-item i {
        font-size: var(--font-small);
    }
}



/* Actions Buttons */
.actions-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    width: 100%;
    margin-top: var(--gap-lg);
}

.action-button {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--padding-md) var(--padding-lg);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-button:hover::before {
    left: 100%;
}

.primary-action {
    background: linear-gradient(135deg, #076e3c, #076e3c);
    border-color: var(--color-success);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.primary-action:hover {
    background: linear-gradient(135deg, #1f975d, #1f975d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
    border-color: #00b359;
}

.secondary-action {
    background: linear-gradient(135deg, var(--color-danger), #c0392b);
    border-color: var(--color-danger);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.secondary-action:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    border-color: #a93226;
}

.secondary-action.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transform: scale(1.02);
}

.button-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-button:hover .button-icon {
    background: rgba(255, 255, 255, 0.3);
}

.button-icon i {
    font-size: var(--font-medium);
    color: var(--color-text);
}


.button-text {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    flex: 1;
    text-align: left;
}

.button-title {
    font-size: var(--font-medium);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.button-subtitle {
    font-size: var(--font-small);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}




/* Custom Body Background Class */
/* جسم الصفحة */
body.custom-bg {
    position: relative;
    min-height: 100vh;
}

/* العنصر الخلفي الثابت */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* تثبيت الحافة اليمنى */
    bottom: 0; /* تثبيت الحافة السفلية */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    will-change: transform; /* تحسين ثبات الطبقة على الهواتف */
    transform: translateZ(0);
}

/* التدرج الخافت فوق الخلفية */
.bg-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.95) 100%);
}

/* صور الخلفية للصفحة الرئيسية */
body.index-bg-1 .bg-fixed { background-image: url('../images/bg/5.png'); }
body.index-bg-2 .bg-fixed { background-image: url('../images/bg/2.jpg'); }
body.index-bg-3 .bg-fixed { background-image: url('../images/bg/9.jpg'); }

/* صور الخلفية للفئات */
body.category-1 .bg-fixed { background-image: url('../images/bg/1.png'); }
body.category-2 .bg-fixed { background-image: url('../images/bg/2.jpg'); }
body.category-3 .bg-fixed { background-image: url('../images/bg/3.jpeg'); }
body.category-4 .bg-fixed { background-image: url('../images/bg/4.jpg'); }
body.category-5 .bg-fixed { background-image: url('../images/bg/5.jpg'); }
body.category-6 .bg-fixed { background-image: url('../images/bg/5.jpg'); }
body.category-7 .bg-fixed { background-image: url('../images/bg/7.jpg'); }
body.category-8 .bg-fixed { background-image: url('../images/bg/8.jpg'); }
body.category-9 .bg-fixed { background-image: url('../images/bg/9.jpg'); }
body.category-10 .bg-fixed { background-image: url('../images/bg/10.jpg'); }
body.category-11 .bg-fixed { background-image: url('../images/bg/11.jpeg'); }
body.category-12 .bg-fixed { background-image: url('../images/bg/12.webp'); }
body.category-13 .bg-fixed { background-image: url('../images/bg/13.jpeg'); }
body.category-14 .bg-fixed { background-image: url('../images/bg/14.jpg'); }
/* إخفاء شريط التمرير الجانبي - قواعد شاملة */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    overscroll-behavior: auto; /* السماح بسلوك PTR والرجوع الجانبي */
    touch-action: auto; /* السماح بإيماءات المتصفح الافتراضية */
    overflow-y: visible; /* تمكين التمرير على viewport وضمان عمل sticky */
}

/* وعاء تمرير داخلي ثابت الارتفاع */
.page-scroll-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* سلاسة تمرير على iOS */
    overscroll-behavior-y: auto; /* لا نعزل PTR الافتراضي */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

/* إخفاء شريط التمرير في جميع العناصر */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

/* إخفاء شريط التمرير في العناصر المحددة */
.categories-grid,
.search-results,
.main-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-grid::-webkit-scrollbar,
.search-results::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h4::after,
    .footer-section h5::after {
        left: 0;
        transform: none;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    
    .footer-categories-column {
        text-align: left;
    }
    
    .footer-categories-column h5::after {
        left: 0;
        transform: none;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .footer-bottom-links {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-categories-column h5 {
        font-size: 0.95rem;
    }
    
    .footer-categories-column .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}



/* Email Verification Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(60, 60, 60, 0.3);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgb(143, 143, 143);
    border: 1px solid rgb(112, 112, 112);
    position: relative;
}

.modal-header {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-1px);
}

.modal-body {
    padding: 30px;
    color: #fff;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    text-align: left;
}

/* Account Info Display */
.account-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.account-info h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-detail:last-child {
    border-bottom: none;
}

.account-detail-label {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.account-detail-value {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Question Text */
.modal-question {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 25px 0 20px 0;
    text-align: center;
}

/* Form Styles */
.email-form,
.otp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0070f3;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
}

.form-group input::placeholder {
    color: #a0a0a0;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0070f3, #0051cc);
    color: #fff;
    margin-bottom: 10px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0051cc, #003d99);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 112, 243, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* Test OTP Display */
.test-otp {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.test-otp h4 {
    margin: 0 0 10px 0;
    color: #0070f3;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.test-otp p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

/* ---------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------- */



.categories-section {
    margin-bottom: 3rem; /* أو أي قيمة تناسب التصميم */
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* التدرج من أسفل لأعلى */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

/* البادج */
.product-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.product-count i {
    font-size: 0.8em;
    color: #fff;
}

/* اسم الفئة */
.category-name {
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    margin: 0;
}




/* Footer Categories Grid */
.footer-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.footer-categories-column {
    display: flex;
    flex-direction: column;
}

.footer-categories-column h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.footer-categories-column h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 1px;
    background: #ffffff;
    border-radius: 1px;
}

.footer-categories-column .footer-links {
    margin: 0;
}

.footer-categories-column .footer-links li {
    margin-bottom: 0.6rem;
}

.footer-categories-column .footer-links a {
    font-size: 0.9rem;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--padding-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
}

.footer-section h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 1px;
    background: #ffffff;
    border-radius: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* Contact Information */
.footer-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item i {
    color: #0070f3;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    transition: color 0.3s ease;
}

.contact-item:hover span {
    color: #ffffff;
}

/* Social Media Section */
.footer-social h5 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    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.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


.logo a {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap; /* يمنع الالتفاف */
}

/* ===========================
   Main Items Section
   Unified & Responsive
=========================== */

/* Section Container */
.main-items-section {
    margin-bottom: 3rem; /* بدل var(--spacing-xl) */
}

/* Grid Layout */
.main-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem; /* بدل var(--gap-md) */
}

.main-items-grid.single-item {
  grid-template-columns: 220px;
  justify-content: start;
}

.main-items-grid.two-items {
  grid-template-columns: repeat(2, 165px);
  justify-content: start;
}

.main-items-grid.three-items {
  grid-template-columns: repeat(3, 220px);
  justify-content: start;
}
/* Card */
.main-items-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-items-card:hover {
    transform: translateY(-5px);
}

/* Image */
.main-items-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-items-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Overlay Gradient */
.main-items-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.95) 10%,
        rgba(0,0,0,0.85) 25%,
        rgba(0,0,0,0.7) 45%,
        rgba(0,0,0,0.5) 65%,
        rgba(0,0,0,0.3) 80%,
        rgba(0,0,0,0.1) 90%,
        transparent 100%
    );
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

/* Product Info */
.main-items-title {
    font-size: clamp(0.6rem, 1vw, 0.7rem);
    font-weight: 600;
}

.main-items-price {
    display: flex;
    flex-wrap: nowrap; /* يمنع التفاف العناصر داخل الحاوية */
    align-items: center;
    gap: 1px; /* مسافة بين السعر الحالي والقديم */
  }

.main-items-price-current {
    font-size: clamp(0.6rem, 1.4vw, 1rem); /* خلي الحد الأدنى أصغر */
    font-weight: 1000;
    color: #27ae60;
}

.main-items-price-old {
    font-size: clamp(0.5rem, 1.3vw, 0.8rem); /* برضه صغر الحد الأدنى */
    font-weight: 1000;
    color: #b3b3b3;
    text-decoration: line-through;
}

.main-items-price-current,
.main-items-price-old {
  white-space: nowrap; /* يمنع التفاف النص */
  display: inline-block; /* يضمن انهم في سطر واحد */
  vertical-align: middle;
}

.main-items-price-old {
  margin-left: 8px; /* مسافة بين السعرين */
}

/* Sale End */
.main-items-sale-end {
    margin-top: 0.4rem;
    font-size: clamp(0.6rem, 1vw, 0.7rem);
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Badges */
.main-items-badge-sale {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.main-items-badge-like {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg,rgb(231, 60, 131), rgb(231, 60, 131));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.main-items-badge-sale,
.main-items-badge-like {
    font-size: clamp(0.55rem, 0.9vw, 0.75rem);
    padding: 0.25rem 0.5rem;
}

/* الحالة العادية */
.main-items-badge-sale,
.main-items-badge-like {
  opacity: 0.8; /* 25% */
  transition: opacity 0.25s ease;
}

/* عند هوفر الكارت */
.main-items-card:hover .main-items-badge-sale,
.main-items-card:hover .main-items-badge-like {
  opacity: 1; /* 65% */
}



/* Action Overlay (Buttons) */
.main-items-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.main-items-card:hover .main-items-actions {
    opacity: 1;
    visibility: visible;
}

.main-items-action-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-items-action-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.main-items-action-btn.add:hover {
    background: rgba(39, 174, 96, 0.9);
}

.main-items-action-btn.view:hover {
    background: rgba(243, 156, 18, 0.9);
}

/* انتقال ناعم للأيقونة */
.main-items-badge-like i,
.like-btn i {
  transition: color 0.22s ease, transform 0.22s ease;
}

/* حالة "معجب" — أيقونة صلبة (fas) أو محددة بنفس الوقت بكلا الكلاسين */
.main-items-badge-like.like-btn i.fas.fa-heart,
.main-items-badge-like.like-btn i.fas,
.main-items-badge-like i.fas.fa-heart,
.like-btn i.fas.fa-heart {
  /* force red even if there are conflicting !important rules */
  color:rgb(255, 255, 255) !important;
  transform: scale(1.08);
  animation: heartBeat 0.36s ease-in-out;
}

/* حالة "غير معجب" — أيقونة فارغة (far) */
.main-items-badge-like.like-btn i.far.fa-heart,
.main-items-badge-like i.far.fa-heart,
.like-btn i.far.fa-heart {
  color: inherit !important; /* أو #fff لو تحب ثابت */
  transform: none;
  animation: none;
}

/* لو السكربت أحيانًا يضيف كلاس .liked على الحاوي */
.main-items-badge-like.liked i,
.like-btn.liked i {
  color: #ff4757 !important;
}

/* نبضة القلب */
@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* الحاوية الرئيسية */
.pro-container {
    padding: 20px;
    color: #eee;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* قسم التفاصيل الرئيسي */
  .pro-details-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
  }
  
  /* صورة المنتج */
  .pro-image-wrapper {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
  }
  
  .pro-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  /* معلومات المنتج */
  .pro-info-wrapper {
    flex: 2 1 400px;
    min-width: 0; /* يسمح للحاوية بالانكماش على الشاشات الصغيرة */
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* عنوان المنتج */
  .pro-title {
    font-size: 2rem;
    margin: 0;
    color: #fff;
  }
  
  /* الأسعار */
  .pro-prices {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .pro-price-current {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4cd137; /* لون سعر الحالي */
  }
  
  .pro-price-old {
    font-size: 1.2rem;
    color: #aaa;
    text-decoration: line-through;
  }
  
  /* المواصفات */
  .pro-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 45vw, 320px), 1fr));
    gap: 12px 16px;
    background: rgba(128, 128, 128, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }
  
  .pro-spec-item {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #0070f3;
    border-radius: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .pro-spec-icon {
    color: #66aaff;
    font-size: 1rem;
    width: 26px;
    text-align: center;
  }
  
  .pro-spec-label {
    font-weight: 600;
    color: #cfd8e3;
    font-size: 0.9rem;
    min-width: 0;
    white-space: nowrap;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .pro-spec-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  
  /* انتهاء العرض */
  .pro-sale-end {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* أزرار الإجراء */
  .pro-actions {
    margin-top: auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .pro-btn {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    position: relative;
  }
  
  .pro-btn i {
    font-size: 1.2rem;
  }
  
  .pro-btn-primary {
    background-color: #0070f3;
    color: white;
  }
  
  .pro-btn-primary:hover {
    background-color: #005bb5;
  }
  
  .pro-btn-secondary {
    background-color: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
  }
  
  .pro-btn-secondary.active {
    background-color: #ff6b6b;
    color: white;
  }
  
  .pro-btn-secondary:hover {
    background-color: #ff4757;
    color: white;
  }
  
  /* قسم الوصف */
  .pro-description {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
  }
  
  .pro-description-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: #fff;
  }
  
  .pro-description-header p {
    margin: 0 0 25px 0;
    font-size: 1rem;
    color: #aaa;
  }
  
  .pro-description-content p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .pro-quick-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0070f3;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
  }