/* ------------------------- */
/*       GLOBAL WRAPPER      */
/* ------------------------- */

.page-wrapper {
    width: 100%;
    margin: 0 auto;
    padding-top: 0; /* space for sticky header */
    background: #FFFFFF;
}

/* ====================================================== */
/*                     CAROUSEL SECTION                   */
/* ====================================================== */

.carousel-section {
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    margin-bottom: 0px;
    margin-top: 0;
    padding-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

/* Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn.left { left: 15px; }
.carousel-btn.right { right: 15px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  height: 10px;
  width: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #2C2C4D;
}

.brand-belt {
    margin: 0;
    width: 100%;
    overflow: hidden;
    background: #F3D2C1;
    padding: 20px 0;
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollBrands 22s linear infinite;
    width: max-content;
}

.brand-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: 0.3s;
}

.brand-track img:hover {
    transform: scale(1.1);
    filter: brightness(1.05);
}

@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ====================================================== */
/*                  FEATURED PRODUCTS                     */
/* ====================================================== */

.product-section {
    padding: 50px 0;
    background: #F9F9F6;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #3B2F2F;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.product-grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.product-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    color: #3B2F2F;
}

/* ------------------------- */
/*     MOBILE RESPONSIVE     */
/* ------------------------- */

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

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 8px;
    }
}
/* ✅ Mobile: Show 2 products per row */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .product-card img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }

    .product-card h3 {
        font-size: 14px;
        margin-top: 6px;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .brand-belt {
        padding: 8px 0;   /* reduce height */
    }

    .brand-track img {
        height: 40px;     /* optional: smaller logos */
    }
}
