/* base.css */

/* ========== Variables, reset ========== */

:root {
    --intel-blue: #0066cc;
    --intel-dark-blue: #003d7a;
    --intel-light-blue: #4da6ff;
    --intel-orange: #ff6600;
    --intel-green: #00cc66;
    --intel-gray: #f5f5f5;
    --intel-dark-gray: #333333;
}


/* ========== Styles généraux ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--intel-dark-gray);
}

.top-header {
    background: linear-gradient(135deg, var(--intel-blue), var(--intel-dark-blue));
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 102, 204, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

.logo-image {
    height: 90px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.search-form {
    position: relative;
}

.search-input {
    border: 2px solid var(--intel-blue);
    border-radius: 25px;
    padding: 12px 20px 12px 50px;
    font-size: 1rem;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--intel-blue);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--intel-blue);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
}

.nav-link {
    color: var(--intel-dark-gray) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--intel-blue) !important;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 5px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 30px 0;
    height: 400px;
}

.main-slide {
    background: linear-gradient(135deg, var(--intel-blue), var(--intel-dark-blue));
    border-radius: 15px;
    color: white;
    padding: 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.main-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-intel {
    background: var(--intel-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-intel:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.promo-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.promo-card {
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-3px);
}

.promo-card.writing {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
}

.promo-card.printers {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 1px solid var(--intel-green);
}

.promo-card.gaming {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 1px solid var(--intel-light-blue);
}

.promo-card.office {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    border: 1px solid #e91e63;
}

.promo-text h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--intel-dark-gray);
}

.promo-text p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

.promo-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.category-section {
    background: var(--intel-gray);
    padding: 50px 0;
    margin-top: 40px;
}

.category-card-new {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--intel-blue);
}

.category-image-container {
    width: 100%;
    height: 60%;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--intel-gray);
    transition: all 0.3s ease;
}

.category-card-new:hover .category-image-container {
    border-color: var(--intel-orange);
    transform: scale(1.05);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-card-new:hover .category-image {
    transform: scale(1.1);
}

.category-title-new {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--intel-dark-blue);
    margin-bottom: 15px;
}

.category-desc-new {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-outline-intel {
    color: var(--intel-blue);
    border: 2px solid var(--intel-blue);
    background: transparent;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-intel:hover {
    background: var(--intel-blue);
    color: white;
}

.products-section {
    padding: 50px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-bottom: 10px;
}

.product-price {
    color: var(--intel-orange);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer {
    background: linear-gradient(135deg, var(--intel-dark-blue), var(--intel-blue));
    color: white;
    padding: 40px 0 20px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Slider Sections */
.slider-section {
    padding: 40px 0;
    background: white;
}

.slider-section.alt {
    background: var(--intel-gray);
}

.section-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    color: var(--intel-dark-blue);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.voir-plus {
    color: var(--intel-orange);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.voir-plus:hover {
    color: #e55a00;
}

.slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 30px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.slider-item {
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

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

.slider-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slider-content {
    padding: 20px;
}

.slider-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-bottom: 8px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    color: var(--intel-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--intel-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.add-to-cart {
    width: 100%;
    background: var(--intel-blue);
    color: white;
    border: none;
    padding: 10px;
    margin-top:3px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--intel-dark-blue);
    transform: translateY(-1px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--intel-blue);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: var(--intel-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Cart System */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--intel-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--intel-green);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.cart-notification.show {
    transform: translateX(0);
}

/* Services Section Styles */
.services-section {
    background: var(--intel-gray);
    padding: 60px 0;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--intel-blue), var(--intel-light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-content h5 {
    color: var(--intel-dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-content p {
    color: var(--intel-dark-gray);
    margin: 0;
    line-height: 1.6;
}

/* Newsletter Black Section Styles */
.newsletter-section-black {
    background: #1a1a1a;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="black-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23black-pattern)"/></svg>');
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item i {
    color: var(--intel-orange);
    font-size: 1.1rem;
}

.benefit-item span {
    font-size: 1rem;
    opacity: 0.9;
}

.newsletter-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.newsletter-input-black {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input-black::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-black:focus {
    outline: none;
    border-color: var(--intel-orange);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.btn-newsletter-black {
    background: linear-gradient(135deg, var(--intel-orange), #e55a00);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-newsletter-black:hover {
    background: linear-gradient(135deg, #e55a00, #cc5200);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    color: white;
}

.newsletter-privacy-black {
    text-align: center;
    opacity: 0.7;
}

.newsletter-privacy-black small {
    font-size: 0.9rem;
}

/* Featured Products Section Styles */
.featured-products-section {
    background: white;
    padding: 60px 0;
}

.section-title-featured {
    color: var(--intel-dark-blue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.voir-plus-featured {
    color: var(--intel-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.voir-plus-featured:hover {
    color: #e55a00;
    transform: translateX(5px);
}

.featured-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--intel-orange);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.product-badge.top-deal {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.featured-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.featured-product-card:hover .featured-product-image {
    transform: scale(1.1);
}

.featured-product-content {
    padding: 20px;
}

.featured-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-product-rating {
    margin-bottom: 15px;
}

.featured-product-rating .stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.featured-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.featured-product-price .current-price {
    color: var(--intel-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.featured-product-price .old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.btn-add-cart-featured {
    width: 100%;
    background: var(--intel-blue);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-add-cart-featured:hover {
    background: var(--intel-dark-blue);
    transform: translateY(-2px);
}

/* Brands Section Styles */
.brands-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.brand-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.brand-logo-container img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-container img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-name {
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-top: 10px;
}
/* WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: float-whatsapp 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes float-whatsapp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
/* Page Specific Styles */
.page-header {
    background: var(--intel-gray);
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-title {
    color: var(--intel-dark-blue);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Cart Page */
.cart-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--intel-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--intel-dark-blue);
}
/* Checkout Page */
.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h4 {
    color: var(--intel-dark-blue);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--intel-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: var(--intel-dark-gray);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--intel-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.payment-method {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--intel-blue);
    background: rgba(0, 102, 204, 0.05);
}

/* Search Page */
.search-filters {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-title {
    font-weight: 600;
    color: var(--intel-dark-blue);
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
    background: var(--intel-blue);
    color: white;
    border-color: var(--intel-blue);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Auth Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--intel-gray);
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    color: var(--intel-dark-blue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #666;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: var(--intel-blue);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li {
    margin-bottom: 10px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--intel-dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--intel-blue);
    color: white;
}

.dashboard-nav i {
    margin-right: 10px;
    width: 20px;
}

.dashboard-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--intel-blue), var(--intel-light-blue));
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    opacity: 0.9;
}

.order-item {
    background: var(--intel-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-status {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #d1ecf1;
    color: #0c5460;
}
/* Styles pour le menu déroulant à 3 niveaux */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: .1rem;
}





/* ========== Responsive ========== */
/* Mobile */
@media (max-width: 768px) {
    /* Mobile */
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .main-slide {
        padding: 30px 20px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .slider-item {
        flex: 0 0 250px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .search-results {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .product-image-container {
        width: 100%;
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .featured-product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .featured-product-card:hover .featured-product-image {
        transform: scale(1.1);
    }

    .featured-product-content {
        padding: 20px;
    }

    .featured-product-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--intel-dark-gray);
        margin-bottom: 10px;
        line-height: 1.4;
        height: 2.8em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .featured-product-rating {
        margin-bottom: 15px;
    }

    .featured-product-rating .stars {
        color: #ffc107;
        font-size: 0.9rem;
    }

    .featured-product-price {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .featured-product-price .current-price {
        color: var(--intel-orange);
        font-weight: 700;
        font-size: 1.2rem;
    }

    .featured-product-price .old-price {
        color: #999;
        text-decoration: line-through;
        font-size: 0.95rem;
    }

    .btn-add-cart-featured {
        width: 100%;
        background: var(--intel-blue);
        color: white;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .btn-add-cart-featured:hover {
        background: var(--intel-dark-blue);
        transform: translateY(-2px);
    }

    /* WhatsApp Button Styles */
    .whatsapp-float {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 40px;
        right: 40px;
        background: #25d366;
        color: white;
        border-radius: 50%;
        text-align: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        z-index: 1000;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        animation: float-whatsapp 3s ease-in-out infinite;
    }

    .whatsapp-float:hover {
        background: #128c7e;
        transform: scale(1.1);
        color: white;
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }

    @keyframes float-whatsapp {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }



}

/* Tablette */
@media (min-width: 769px) and (max-width: 992px) {

    .dropdown-submenu .dropdown-menu {
        position: static;
        margin: 0.5rem 0 0 1rem;
        border: none;
        box-shadow: none;
    }

    .dropdown-submenu .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}
/* Desktop */
@media (min-width: 993px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}
