@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #34495E;
    --success-color: #2ECC71;
    --warning-color: #F39C12;
    --danger-color: #E74C3C;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #F8F9FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    margin-top: 10px;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    transition: var(--transition);
    color: var(--text-color);
    white-space: nowrap;
    width: 100%;
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    user-select: none;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 15px 8px 40px;
    border: 2px solid var(--light-color);
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
}

.user-icon, .cart-icon {
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.user-icon:hover, .cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Overlay pour bloquer les interactions sur mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #E55555;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #3DB8B0;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    gap: 10px;
}

/* ===== CATEGORIES ===== */
.categories-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-card h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.category-card p {
    color: #7F8C8D;
    font-size: 0.9rem;
}

/* ===== PRODUCTS GRID ===== */
.featured-products, .products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.badge-warning {
    background: var(--warning-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #F8F9FA;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: white;
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    background: var(--primary-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-name {
    margin: 10px 0;
    font-size: 1.1rem;
}

.product-name a {
    color: var(--dark-color);
    transition: var(--transition);
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-rating {
    color: var(--warning-color);
    font-size: 0.9rem;
    margin: 10px 0;
}

.product-rating span {
    color: var(--text-color);
    margin-left: 5px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ===== FEATURES ===== */
.features-section {
    background: white;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-item p {
    color: #7F8C8D;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-form-large {
    display: flex;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 10px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #BDC3C7;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius);
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BDC3C7;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #F8F9FA;
    padding: 15px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    color: #7F8C8D;
    font-size: 0.8rem;
}

/* ===== PRODUCTS PAGE ===== */
.products-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.filters-sidebar {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.filter-list a:hover, .filter-list a.active {
    background: var(--light-color);
    color: var(--primary-color);
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
}

.toolbar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    background: white;
    border: 2px solid var(--light-color);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== PRODUCT DETAIL ===== */
.product-details {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.main-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
}

.stock-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--warning-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-images img.active,
.thumbnail-images img:hover {
    border-color: var(--primary-color);
}

.product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.product-category-tag, .product-stock {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-category-tag {
    background: var(--light-color);
    color: var(--primary-color);
}

.in-stock {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.low-stock {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.product-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #95A5A6;
}

.discount-badge {
    background: var(--success-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.product-options {
    margin: 30px 0;
}

.option-group {
    margin-bottom: 25px;
}

.option-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-btn {
    padding: 10px 20px;
    border: 2px solid var(--light-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.size-btn:hover, .size-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--light-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.product-features {
    background: #F8F9FA;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.product-share {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-share a {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-share a:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== TABS ===== */
.product-tabs {
    margin-top: 60px;
}

.tabs-nav {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--light-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--light-color);
}

.specs-table td {
    padding: 15px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark-color);
}

.review-item {
    background: #F8F9FA;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-date {
    color: #95A5A6;
    font-size: 0.85rem;
}

/* ===== CART PAGE ===== */
.cart-section {
    padding: 60px 0;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.empty-cart p {
    color: #7F8C8D;
    margin-bottom: 30px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.cart-items-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-clear-cart {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-clear-cart:hover {
    color: #C0392B;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-category {
    color: #7F8C8D;
    font-size: 0.9rem;
}

.item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.item-quantity {
    display: flex;
    gap: 10px;
    align-items: center;
}

.item-quantity input {
    width: 50px;
    text-align: center;
}

.item-total strong {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.item-remove:hover {
    color: #C0392B;
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-divider {
    height: 1px;
    background: var(--light-color);
    margin: 20px 0;
}

.total-row {
    font-size: 1.3rem;
    font-weight: 700;
}

.total-price {
    color: var(--primary-color);
}

.discount {
    color: var(--success-color);
}

.promo-code {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.promo-code input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    color: var(--success-color);
    font-weight: 600;
}

.accepted-payments {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.8rem;
    color: #7F8C8D;
}

/* ===== AUTH PAGE ===== */
.auth-section {
    padding: 60px 0;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--primary-color);
    color: white;
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
    animation: fadeIn 0.5s;
}

.auth-form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #7F8C8D;
    margin-bottom: 30px;
}

.auth-error {
    background: #ffe0e0;
    color: #c0392b;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #7F8C8D;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light-color);
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #7F8C8D;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.btn-facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.form-help {
    display: block;
    color: #7F8C8D;
    font-size: 0.85rem;
    margin-top: 5px;
}

.auth-benefits {
    max-width: 900px;
    margin: 60px auto 0;
}

.auth-benefits h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-progress {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--light-color);
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #95A5A6;
}

.step.active {
    color: var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.checkout-section {
    padding: 60px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
}

.checkout-section-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--light-color);
}

.checkout-section-block:last-child {
    border-bottom: none;
}

.checkout-section-block h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.shipping-options, .payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-option, .payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.05);
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.option-price {
    font-weight: 700;
    color: var(--primary-color);
}

.card-details {
    margin-top: 20px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: var(--border-radius);
}

/* Section PayPal */
.paypal-details {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #F5F7FA 0%, #E4E8EB 100%);
    border-radius: var(--border-radius);
    text-align: center;
}

.paypal-info {
    margin-bottom: 20px;
}

.paypal-info i {
    font-size: 3rem;
    color: #003087;
    margin-bottom: 15px;
}

.paypal-info p {
    color: var(--text-color);
    font-size: 0.95rem;
}

#paypal-button-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Section Virement bancaire */
.bank-details {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: var(--border-radius);
}

.bank-info {
    text-align: center;
}

.bank-info i {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 15px;
}

.bank-info h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.bank-info p {
    color: var(--text-color);
    margin: 8px 0;
    font-size: 0.95rem;
}

.bank-info p strong {
    color: var(--dark-color);
}

.bank-notice {
    margin-top: 15px !important;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-style: italic;
    color: var(--warning-color) !important;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.checkout-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-sticky {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-color);
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.item-info span {
    color: #7F8C8D;
    font-size: 0.85rem;
}

.security-badges {
    margin: 20px 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--success-color);
    font-size: 0.9rem;
}

.accepted-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.8rem;
    color: #7F8C8D;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-info {
    border-left: 4px solid var(--secondary-color);
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background: #E55555;
    transform: translateY(-5px);
}

/* ===== PAGE CONTACT ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 0.6s ease;
}

.contact-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease;
}

.contact-section {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Formulaire de contact */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 0.6s ease;
}

.contact-form-container h2 {
    color: var(--dark-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-container h2::before {
    content: '';
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Informations de contact */
.contact-info-container {
    animation: fadeInRight 0.6s ease;
}

.contact-info-container h2 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #F0F0F0;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-social {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    text-align: center;
}

.contact-social h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links-large a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.faq-link {
    background: linear-gradient(135deg, #FFF5F5, #F0FFFE);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.faq-link i {
    font-size: 2rem;
    color: var(--primary-color);
}

.faq-link h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.faq-link p {
    color: var(--text-color);
    font-size: 0.9rem;
}

.faq-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .product-detail-grid,
    .checkout-grid,
    .cart-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--box-shadow);
        display: none;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--light-color);
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
    }

    .search-box {
        display: none;
    }

    /* Dropdown sur mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #F8F9FA;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        visibility: visible;
        opacity: 1;
        transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    }

    .dropdown-menu.show {
        max-height: 500px;
        padding: 10px 0;
        margin: 10px 0;
    }

    .dropdown-menu a {
        padding-left: 40px;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .progress-steps {
        gap: 20px;
    }

    .step-label {
        display: none;
    }

    /* Page Contact Mobile */
    .contact-hero {
        padding: 60px 20px;
    }

    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }

    .contact-form-container,
    .contact-info-card,
    .contact-social {
        padding: 25px;
    }

    .contact-form-container h2,
    .contact-info-container h2 {
        font-size: 1.5rem;
    }

    .faq-link {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-banner {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Page Contact Très Petits Écrans */
    .contact-form-container,
    .contact-info-card,
    .contact-social {
        padding: 20px;
    }

    .contact-hero-content h1 {
        font-size: 1.6rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .social-links-large {
        flex-wrap: wrap;
    }
}
