/* ============================================
   BELLE & SAC - Design Moderne E-commerce
   Refonte 2026
   ============================================ */

/* --- Importation des polices --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Palette de couleurs */
    --primary-color: #c80203;
    --secondary-color: #9a7f78;
    --bg-dark: #000;
    --bg-light: #fff;
    --bg-peach: #f7f7f7;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #eee;
    --accent-red: #a05a5a;
    
    /* Ombres et effets */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 20px rgba(0,0,0,0.2);
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-sm: 5px;
    
    /* Polices */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 13px;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo, .btn-black, .btn-mini {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   SIDE WIDGET
   ============================================ */
.side-widget {
    position: fixed;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    z-index: 999;
    cursor: pointer;
    border-radius: 0 0 5px 5px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: var(--transition);
}

.side-widget:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: #f9f9f9;
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    color: #555;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-left .phone {
    margin-left: 15px;
}

.top-right {
    display: flex;
    gap: 15px;
}

.top-right a {
    font-weight: 500;
    transition: var(--transition);
}

.top-right a:hover {
    color: var(--primary-color);
}

/* ============================================
   HEADER
   ============================================ */
header {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
}

.logo span {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    text-align: center;
    font-family: var(--font-body);
    color: #ddd;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 12px;
    font-weight: 500;
    color: #ddd;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

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

.cart-icon {
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cart-icon:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: var(--font-body);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.burger-menu:hover span {
    background-color: var(--secondary-color);
}

/* Barre de recherche */
.search-bar {
    flex-grow: 1;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    background: #fff;
    color: var(--text-dark);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://via.placeholder.com/1920x500/553322/ffffff?text=Hero+Image');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    padding-left: 10%;
    color: #fff;
    position: relative;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 300;
}

.btn-black {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 12px 30px;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.btn-black:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   MOSAIC SECTION
   ============================================ */
.mosaic-section {
    background-color: var(--bg-peach);
    padding: 50px;
}

.mosaic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: var(--border-radius);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

.mosaic-label-black {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--bg-dark);
    color: #fff;
    padding: 20px;
    width: 250px;
    z-index: 10;
}

.mosaic-label-black.right-aligned {
    left: auto;
    right: 0;
    text-align: right;
}

.mosaic-label-black .sub {
    font-size: 9px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

.mosaic-label-black h2 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.btn-mini {
    font-size: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    display: inline-block;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.btn-mini:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

.mosaic-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 22px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,0.3);
    padding: 5px 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.text-color-accent {
    color: var(--accent-red);
}

.product-grid {
    display: grid;
    gap: 30px;
}

.product-grid.row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    text-align: center;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.img-wrapper {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
}

.vendor {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-info {
    padding: 0 15px 15px;
}

.p-info h3 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    height: 32px;
    overflow: hidden;
}

.price {
    font-size: 13px;
    font-weight: 700;
    color: var(--bg-dark);
}

.price .current {
    color: var(--primary-color);
    font-size: 15px;
}

.price .old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin: 0 5px;
    font-size: 12px;
}

.promo-text {
    display: block;
    font-size: 9px;
    color: #ccc;
    margin-top: 2px;
}

.center-btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-black-small {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    display: inline-block;
}

.btn-black-small:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background-color: var(--bg-peach);
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: left;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item .icon {
    font-size: 28px;
}

.trust-text h4 {
    font-size: 12px;
    margin-bottom: 3px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.trust-text p {
    font-size: 9px;
    color: var(--text-light);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background-color: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.newsletter h3 {
    font-size: 16px;
    letter-spacing: 1px;
}

.newsletter form {
    display: flex;
    height: 40px;
}

.newsletter input {
    width: 300px;
    padding: 10px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 12px;
}

.newsletter input::placeholder {
    color: #999;
}

.newsletter button {
    background: var(--secondary-color);
    color: var(--bg-dark);
    border: none;
    padding: 0 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background-color: var(--bg-peach);
    padding: 60px 30px;
    text-align: center;
}

.about-section .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
}

.about-section .about-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    gap: 30px;
}

.col h4 {
    font-size: 12px;
    margin-bottom: 20px;
    color: var(--bg-dark);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.col ul li {
    margin-bottom: 10px;
}

.col ul li a {
    font-size: 11px;
    color: var(--text-light);
    transition: var(--transition);
}

.col ul li a:hover {
    color: var(--primary-color);
}

.contact-col p {
    font-size: 11px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-col p span {
    font-weight: 700;
    color: var(--bg-dark);
}

.footer-bottom {
    background-color: var(--bg-peach);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-small {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.footer-logo-small span {
    display: block;
    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 400;
    text-align: center;
}

.copyright-text {
    font-size: 9px;
    color: #555;
    text-align: center;
}

.copyright-text a {
    text-decoration: underline;
    transition: var(--transition);
}

.copyright-text a:hover {
    color: var(--primary-color);
}

.social-networks {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
}

.social-networks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.social-networks a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   CATEGORIES NAVIGATION
   ============================================ */
.categories-nav {
    background: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.categories-list-horizontal {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.categories-list-horizontal li {
    list-style: none;
}

.categories-list-horizontal a {
    display: block;
    font-weight: 500;
    font-size: 12px;
    color: var(--text-light);
    padding: 16px 24px;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-list-horizontal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.categories-list-horizontal a:hover {
    color: var(--primary-color);
}

.categories-list-horizontal a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   OFFCANVAS MENU (Mobile) - PLEIN ÉCRAN
   ============================================ */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offcanvas-overlay.active {
    display: block;
    opacity: 1;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.98);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.active {
    transform: translateX(0);
}

.offcanvas-header {
    padding: 20px;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-header h3 {
    font-size: 18px;
    font-family: var(--font-heading);
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-menu:hover {
    color: var(--secondary-color);
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-categories ul {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.offcanvas-categories ul li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.offcanvas-categories ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offcanvas-categories ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.offcanvas-categories ul li a i {
    font-size: 16px;
    color: var(--secondary-color);
}

.offcanvas-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.offcanvas-contact i {
    font-size: 20px;
    color: var(--primary-color);
}

/* ============================================
   PAGE TITLE & BREADCRUMB
   ============================================ */
.page-title {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: var(--text-dark);
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--text-light);
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
}

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

/* ============================================
   PAGINATION
   ============================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 13px;
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-item.disabled .page-link {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   NO DATA MESSAGE
   ============================================ */
.no-data-message {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.no-data-message p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.products-count,
.search-results-info {
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .mosaic-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .product-grid.row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px 40px 40px;
    }
    
    .newsletter {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .categories-nav-desktop {
        display: none;
    }
    
    header nav {
        display: none;
    }
    
    .search-bar {
        max-width: 300px;
    }
    
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 15px;
    }
    
    .top-left {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .trust-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-grid.row-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-cols {
        grid-template-columns: 1fr;
        padding: 0 20px 40px 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .mosaic-section {
        padding: 30px 15px;
    }
    
    .mosaic-label-black {
        width: 200px;
        padding: 15px;
    }
    
    .mosaic-label-black h2 {
        font-size: 18px;
    }
}