* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    /* Fond chaud marron-orangé pour la page d'accueil */
    background-color: #f3e6da;
}

/* Top Bar */
.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
}

/* Header */
.header {
    /* En-tête légèrement chaud pour s'accorder au thème */
    background-color: #fff6f0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0b58a;
}

.logo{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}



.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-item {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    color: #8f0707;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item svg {
    width: 10px;
    height: 10px;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn svg {
    width: 100%;
    height: 100%;
}

/* Trust Bar */
.trust-bar {
    background-color: #fff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-rating-text {
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffc107;
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
}

.verified {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.verified-logo {
    width: 24px;
    height: 24px;
    background-color: #4caf50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    /* Gradient chaud marron -> orange */
    background: linear-gradient(135deg, #8B4513 0%, #CC7A00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: absolute;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-cta {
    background-color: #fff;
    color: #000;
    padding: 15px 40px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
}

.hero-cta:hover {
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.feature-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.quality-charter {
    text-align: center;
    padding: 20px 0 60px;
}

.charter-btn {
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
}

/* Product Section */
.product-section {
    padding: 60px 40px;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-link {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f5f5f5;
    margin-bottom: 15px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #000;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-name {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
}

.product-discount {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.product-colors {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 40px;
    background-color: #f9f9f9;
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.reviews-left h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reviews-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.review-item:last-child {
    border-bottom: none;
}

.review-stars {
    margin-bottom: 8px;
}

.review-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.review-author {
    font-size: 12px;
    color: #999;
}

.reviews-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-arrow:hover {
    background-color: #f5f5f5;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 40px;
    text-align: center;
    background-color: #fff;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}

.newsletter-btn {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 600;
}

.footer-tagline {
    font-size: 13px;
    color: #999;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.social-icon:hover {
    background-color: #444;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ffc107;
    color: #000;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.chat-icon {
    width: 20px;
    height: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 40px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.breadcrumbs a {
    color: #000;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #666;
}

/* Products Page Layout */
.products-page-container {
    display: flex;
    padding: 40px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: #fff;
}

.filters-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

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

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.filter-header:hover {
    opacity: 0.7;
}

.filter-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
}

.filter-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.filter-group:hover .filter-arrow {
    transform: rotate(180deg);
}

.filter-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin-top: 10px;
}

.filters-form {
    margin-top: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.filter-opt {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.filter-opt:hover {
    background: #e8d5c4;
    color: #2c1810;
}

.filter-opt.active {
    background: #8B4513;
    color: #fff;
}

.filter-prix {
    flex-direction: column;
    align-items: flex-start;
}

.filter-prix label {
    display: block;
    margin-top: 6px;
    margin-bottom: 2px;
    font-size: 13px;
    color: #555;
}

.filter-prix label:first-child { margin-top: 0; }

.filter-prix input {
    width: 100%;
    max-width: 140px;
}

/* Products Main Area */
.products-main {
    flex: 1;
    min-width: 0;
}

/* Product Detail Page */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Images Section */
.product-images-section {
    display: flex;
    gap: 20px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background-color: #f5f5f5;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: #000;
}

.thumbnail.active {
    border-color: #000;
}

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

.thumbnail-scroll {
    width: 100px;
    height: 30px;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail-scroll:hover {
    background-color: #e5e5e5;
}

.thumbnail-scroll svg {
    width: 12px;
    height: 12px;
}

.product-main-image {
    flex: 1;
    background-color: #f5f5f5;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-detail-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    color: #000;
    letter-spacing: 0.5px;
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.product-current-price {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.product-discount-badge {
    background-color: #ffc107;
    color: #000;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .star {
    color: #ffc107;
    font-size: 18px;
}

.product-rating .rating-text {
    font-size: 14px;
    color: #666;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-indicator {
    width: 12px;
    height: 12px;
    background-color: #ffc107;
    border-radius: 50%;
    display: inline-block;
}

.stock-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.btn-add-cart,
.btn-buy-now {
    background-color: #000;
    color: #fff;
    padding: 18px 30px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.btn-add-cart:hover,
.btn-buy-now:hover {
    opacity: 0.9;
}

.btn-buy-now {
    background-color: #1a1a1a;
}

.product-grade {
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

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

.grade-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
}

.grade-value {
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.grade-value:hover {
    background-color: #e5e5e5;
}

.grade-guide {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.grade-guide:hover {
    text-decoration: underline;
}

.product-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
}

.trust-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 10px;
  height: 10px;
}

.trust-badge-item svg {
    flex-shrink: 0;
    color: #000;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 1200px) {
    /* Responsive behavior handled by Bootstrap column classes */
    
    .products-page-container {
        gap: 30px;
    }
    
    .products-page-container {
        gap: 30px;
    }
    
    .filters-sidebar {
        width: 220px;
    }
}

@media (max-width: 968px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* For narrower viewports, Bootstrap handles column stacking */

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .products-page-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .filters-sidebar {
        width: 100%;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .product-images-section {
        flex-direction: column;
    }
    
    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .thumbnail {
        flex-shrink: 0;
    }
    
    .thumbnail-scroll {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    /* For small screens, Bootstrap's grid will stack columns to full width */

    .newsletter-form {
        flex-direction: column;
    }
    
    .products-page-container {
        padding: 15px;
    }
    
    .breadcrumbs {
        padding: 15px 20px;
        font-size: 12px;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }
    
    .product-images-section {
        flex-direction: column;
    }
    
    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .thumbnail {
        flex-shrink: 0;
    }
    
    .thumbnail-scroll {
        display: none;
    }
    
    .product-main-image {
        min-height: 300px;
    }
    
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-current-price {
        font-size: 24px;
    }
}

