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

body {
    font-family: 'PP Mori', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width:100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
    z-index: 1000;
}


.top-bar {
    background: #387CEE;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

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

.social-links a {
    color: white;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e3f2fd;
}

.top-links {
    display: flex;
    gap: 2rem;
}

.top-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #e3f2fd;
}


.lang-select{
    width: 80px;
    background: #0056b3;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
}

.main-header {
    padding: 0;
    height: 100px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: fit-content;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 15px;
}

#mobileLogo {
    display: flex;
    align-items: center;
    height: 70px;
    top: 15px;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 28px;
}

.logo-image {
    width: 230px;
    height: fit-content;
}

.search-container {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
    border: 2px solid #387CEE;
    overflow: hidden;
    background: white;
}

.category-select {
    padding: 0.75rem;
    border: none;
    background: #387CEE;
    color: white;
    border-right: 1px solid #0056b3;
    font-size: 1rem;
    min-width: 150px;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    outline: none;
    width: 400px;
}

.search-btn {
    background: #387CEE;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #0056b3;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: right;
}

.cart-action {
    position: relative;
    display: inline-block;
    display: flex;
    flex-direction: row;
    padding: 0.3rem 0.8rem;
    align-items: center;
    text-decoration: none;
    space-between: 1rem;
    color: #333;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.center-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* espace entre barre de recherche et contact */
}


.contact-action{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.cart-count{
    padding-right: 4px;
}

.cart-counta {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
  min-width: 20px;
  text-align: center;
}


.cart-action:hover{
    background: #387CEE;
    color: white;
}

.header-action i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.main-nav {
    background: #387CEE;
    padding: 0.5rem 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background: #0056b3;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-action:hover {
    background: #0056b3;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-nav-body {
    padding: 1rem;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
}

.mobile-nav-actions {
    margin-bottom: 2rem;
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    margin-bottom: 0.5rem;
}

.mobile-action-btn:hover {
    background: #f8f9fa;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    margin-top: 10px;
    width: 100%;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: stretch;
}

.hero-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 85%;
    z-index: -1;
}

/* Hero Categories Sidebar */
.hero-categories {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.categories-header {
    background: #387CEE;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-nav {
  position: relative;
  z-index: 50; /* permet de superposer le menu au-dessus du hero */
}


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

.categories-list li {
    position: relative;
    margin-bottom: 0.5rem;
}
.categories-list li:hover .subcategories {
    display: block;
}

.category-link {
    position: relative;
    display: block;
    padding: 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.categories-list li span{
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.subcategories {
    
  display: none;
    list-style-type: none;
    margin: 0;
    padding: 10px;
    background: white;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    border-radius: 6px;
}
.subcategories li {
    color: #333;
    border-radius: 6px;
    padding: 8px;
    transition: background 0.3s ease;
}
.subcategories li:hover {
    background: #007bff;
    color: white;
    cursor: pointer;
}

.category-link:hover{
    background: #007bff;
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.1);
    z-index: 1;
}

.hero-slider-wrapper {
    position: relative;
    flex: 1;
    margin-left: 250px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.8s ease-in-out;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 10px auto;
}

.slide-text {
    padding-right: 2rem;
    padding-left: 2rem;
}

.slide-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 1s ease-out 0.2s both;
}

.cta-btn {
    background: white;
    color: #091b3a;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

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

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

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.slide-image {
    max-width: 600px;
    max-height: 400px;
    position: relative;
    text-align: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
}

.slide-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* Hero indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.hero-indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Product Sections */
.product-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #091b3a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-container {
    position: relative;
    overflow: visible;
    margin: 0 auto;
    max-width: 1200px;
}

.products-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
}

.products-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #387CEE;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #387CEE;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.scroll-btn:hover {
    background: #387CEE;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}
.scroll-btn-mobile{
    display: none;
}

.product-card {
    min-width: 240px;
    max-width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
}

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

.product-image {
    position: relative;
    width:100%;
    height: 180px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-code {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.75rem;
    color: #666;
    background: rgba(255,255,255,0.9);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.product-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.75rem;
    color: #666;
    background: rgba(255,255,255,0.9);
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.product-info {
    padding: 12px;
    text-align: left;
}

.product-info h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    text-align: left;
}

.product-price {
    margin-bottom: 12px;
    text-align: left;
}

.current-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #387CEE;
}

.old-price {
    font-size: 0.9rem;
    color: rgb(239, 135, 135);
    text-decoration: line-through;
    margin-left: 8px;
}

.product-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #387CEE;
    padding: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card:hover .product-hover-actions {
    transform: translateY(0);
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: #387CEE;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background:rgb(104, 154, 207);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.quantity-input {
    background: #387CEE;
    color: white;
    border: none;
    width: 30px;
    height: 24px;
    text-align: center;
    font-size: 12px;
    outline: none;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn {
    background: #387CEE;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgb(104, 154, 207);
    transform: scale(1.1);
}

.action-btn.cart {
    background: #387CEE;
}

.action-btn.cart:hover {
    background: rgb(104, 154, 207);
}

.ask-question-btn {
    background: rgb(104, 154, 207);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-item: center;
    gap: 4px;
    margin-top: 8px;
}

.ask-question-btn:hover {
    transform: translateY(-1px);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: #3498db;
    color: white;
}

.product-badge.sale {
    background: #e74c3c;
    color: white;
}

.products-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.products-container {
    position: relative;
    overflow: visible;
    margin: 0 auto;
    max-width: 1200px;
}

.question-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Custom Request Section */
.custom-request-section {
    margin: 4rem 0;
}

.custom-request-card {
    background: linear-gradient(135deg, #387CEE 0%, #0056b3 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-request-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

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

.custom-request-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.custom-request-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.custom-request-btn {
    background: white;
    color: #091b3a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.custom-request-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Blog Section */
.blog-section {
    margin: 4rem 0;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.blog-image {
    height: 200px;
    background: #f8f9fa;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: #6c757d;
}

.blog-category {
    color: #387CEE;
    font-weight: bold;
    text-transform: uppercase;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #387CEE;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Features Section */
.features-section {
    margin: 4rem 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #387CEE 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #387CEE;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    background: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background: white;
    color: #387CEE;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
  /* Conteneur principal du header */
  .header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* logo - search - actions */
    align-items: center;
    gap: 1rem;
  }

  /* Logo à gauche */
  #mobileLogo {
    justify-self: start;
  }

  /* Barre de recherche au centre */
  .center-nav {
    justify-self: center;
    width: 70%; /* ajuste la largeur, tu peux réduire à 60% si besoin */
  }

  .search-container {
    max-width: 600px; /* plus petit qu’en desktop */
    width: 100%;
  }


  /* Panier à droite */
  #header-actions-mobile {
    justify-self: end;
  }

  /* Supprimer le texte du panier */
  .cart-action .cart-count {
    display: none !important;
  }
}



/* Responsive Design */
@media (max-width: 769px) {

    .main-content{
        padding-top: 50px;
    }

    .cart-count{
        display: none;
    }

    .hero-categories {
        display: none;
    }
    
    .hero-slider-wrapper {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .contact-action{
        display: none;
    }

    .main-nav {
        display: none;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    #mobileHeaderContent {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Première ligne : panier - logo - menu */
    #cartBtn,
    #mobileLogo,
    #mobileMenuBtn {
        order: 1;
    }
    

    #mobileLogo {
        order: 2;
        text-align: center;
        padding-top: 28px;
    }

    #cartBtn {
        order:3;
        justify-content: right;
        margin-top: 15px;
    }

    .cart-action i{
        font-size: 1.8rem;
    }

    #mobileMenuBtn {
        order: 1;
        align-self: flex-start;
        padding-top: 25px;
    }

    .header-actions{
        width: 100%;
        display: flex;
        align-item: center;
        justify-content: space-between;
    }

    /* Deuxième ligne : search bar */
    #mobileSearchContainer {
        order: 3;
        width: 100%;
    }

    .search-container {
        width: 100%;
        justify-content: center;
    }

    .category-select {
        min-width: 120px;
    }

    .product-card {
        padding-bottom: 60px;
        position: relative;
   }

  .product-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 1 ;
    visibility: visible ;
    transform: translateY(0);
  }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .slide-text {
        padding-right: 0;
        order: 2;
    }
    
    .slide-image {
        order: 1;
        margin-bottom: 1rem;
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-section {
        padding: 0;
        min-height: 60vh;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .top-links, .social-links{
        display: none;
    }
    #top-bar-content{
        display: flex;
        flex-direction: row;
    }
    #accountBtn {
        order: -2; 
    }

    .products-scroll {
        gap: 1rem;
    }

    .product-card {
        min-width: 250px;
        max-width: 250px;
        
    }

    .scroll-btn {
        display: none;
    }

    .scroll-btn-m{
        display: flex;
        align-item: center;
        justify-content: center;
        gap: 10px;
    }

    .scroll-btn-mobile{
        background: white;
        border: 2px solid #387CEE;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        color: #387CEE;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .custom-request-content h2 {
        font-size: 1.8rem;
    }

    .custom-request-content p {
        font-size: 1rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-section {
        width: 100%;
        padding: 0;
        min-height: 50vh;
    }

    .search-container{
        width: 100%;
    }

    .slide-text h1 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slide-content {
        gap: 1.5rem;
    }

    .product-card {
        min-width: 200px;
        max-width: 200px;
    }

    .custom-request-card {
        padding: 2rem 1rem;
    }

    .custom-request-content h2 {
        font-size: 1.5rem;
    }
}