main #wrapper > .container{
	width: 100%;
    max-width: 100%;
}


/* ===== MODULE CUSTOM TEXT (HOME) ===== */

.home-intro{
	padding-top: 50px;
}

#custom-text {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

#custom-text h1 {
    margin: auto;
    margin-bottom: 40px;
    max-width: 655px;
}

#custom-text p {
    font-size: 17px;
    font-weight: 400;
    color: #083A60;
    text-align: justify;
}


/* ===== HOME CATEGORIES ===== */

.home-categories{
	padding-bottom: 50px;
}

.container.home-categories{
  margin-top: 40px;
  padding: 0 15px;
}

.home-categories__grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-categories__grid--row1 {
    grid-template-columns: 40% 1fr 1fr;
}

.home-categories__grid--row2 {
    grid-template-columns: 1fr 1fr 40%;
}

.home-cat-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.home-cat-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-cat-item:hover img {
  transform: scale(1.05);
}

.home-cat-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-family: 'Squada One', cursive;
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
}

/* ===== HOME - SECTION AVIS ===== */

.home-reviews {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.home-reviews__overlay {
    background: rgba(0, 0, 0, 0.65);
    padding: 50px 0;
}

.home-reviews .container{
	width: 1336px;
    max-width: 100%;
}

.home-reviews__badge {
    text-align: center;
    margin-bottom: 60px;
}

.home-reviews__badge img {
    height: 170px;
    width: auto;
}

.home-reviews__carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-reviews__track-wrapper {
    overflow: hidden;
    flex: 1;
}

.home-reviews__track {
    display: flex;
    transition: transform 0.4s ease;
}

.home-reviews__item {
    min-width: calc(100% / 3); /* overridé dynamiquement par JS */
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: left;
}

.home-reviews__text {
    color: #ffffff;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-reviews__author {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.home-reviews__arrow {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-reviews__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.home-reviews__arrow,
.home-reviews__arrow:hover,
.home-reviews__arrow:focus {
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent;
}


/* ===== HOME - PRODUITS INCONTOURNABLES ===== */

.home-featured{
	padding-top: 50px;
	padding-bottom: 50px;
}

.home-featured-section {
    padding: 0;
}

.home-featured-header {
    text-align: center;
    margin-bottom: 2rem;
}

.home-featured-title {
    font-family: 'Squada One', cursive;
    color: #083A60;
    margin-bottom: 1rem;
}

.home-featured-subtitle {
    font-size: 0.95rem;
    color: #083A60;
    max-width: 700px;
    margin: 0 auto;
}

.home-featured-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-featured-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.home-featured-item {
    padding: 0 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.home-featured-item .product-miniature {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    height: 100%;
}

.product-miniature-add-to-cart{
	    text-align: center;
}
.product-miniature-add-to-cart .btn {
    background: transparent;
    border: 1px solid #083A60;
    color: #083A60;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}



.product-miniature-add-to-cart .btn:hover {
    background: #083A60;
    color: #ffffff;
    border-color: #083A60;
}

.product-miniature .thumbnail-container{
	margin-bottom: 0;
}

.home-featured-track {
    display: flex;
    flex-wrap: nowrap !important;
    transition: transform 0.4s ease;
    margin: 0;
    width: 100%;
}

.home-featured-arrow {
    background: transparent;
    border: none;
    color: #083A60;
    font-size: 2.5rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
}

.home-featured-arrow:hover {
    background: transparent;
    color: #002642;
}

.home-featured-arrow:focus {
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.home-featured-all-link {
    display: block;
    text-align: right;
    margin-top: 1.5rem;
    color: #083A60;
    font-weight: 600;
    text-decoration: none;
}



/* ===== HOME - SEO & FAQ ===== */

.home-seo {
    padding: 0 15px 50px 15px;
}

.home-seo__title {
    text-align: center;
    margin-bottom: 1.5rem;
	max-width: 800px;
	margin: auto;
	margin-bottom: 30px;
}

.home-seo__text {
    text-align: justify;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.home-seo__faq {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	max-width: 1000px;
}

.home-seo__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.home-seo__faq-question {
    width: 100%;
    background: #f8f8f8;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #083A60;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.home-seo__faq-question:hover {
    background: #efefef;
}

.home-seo__faq-question .material-icons {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.home-seo__faq-question[aria-expanded="true"] .material-icons {
    transform: rotate(180deg);
}

.home-seo__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.home-seo__faq-answer.open {
    max-height: 300px;
    padding: 1rem 1.5rem;
}

.home-seo__faq-answer p {
    margin: 0;
    line-height: 1.7;
}


/* Responsive */
@media (max-width: 768px) {
    .home-categories__grid,
    .home-categories__grid--row1,
    .home-categories__grid--row2 {
        grid-template-columns: 1fr 1fr;
    }
    .home-categories__grid .home-cat-item:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .home-categories__grid,
    .home-categories__grid--row1,
    .home-categories__grid--row2 {
        grid-template-columns: 1fr;
    }
    .home-categories__grid .home-cat-item:last-child {
        grid-column: span 1;
    }
}
