/* ═══════════════════════════════════════════════════════
   BRAND DETAIL: RY FOOD & BEVERAGES
   ═══════════════════════════════════════════════════════ */
.brand-ry-section {
    margin-top: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.brand-ry-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: #2F5218;
    margin-bottom: 24px;
}

.brand-ry-desc {
    font-family: var(--font-body);
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Slider Wrapper */
.brand-ry-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.brand-ry-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.brand-ry-slider::-webkit-scrollbar {
    display: none;
}

.brand-ry-slide {
    flex: 0 0 calc(25% - 15px);
    /* Show 4 items on desktop */
    min-width: 280px;
    height: 380px;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    background: #eaeaea;
    cursor: pointer;
}

.brand-ry-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Navigation Buttons */
.brand-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    color: #444;
}

.brand-slider-btn:hover {
    background: #2F5218;
    color: #fff;
    border-color: #2F5218;
}

.brand-slider-btn.prev {
    left: -20px;
}

.brand-slider-btn.next {
    right: -20px;
}

@media (max-width: 992px) {
    .brand-ry-slide {
        flex: 0 0 calc(33.333% - 14px);
        /* Show 3 items */
        height: 320px;
    }
}

@media (max-width: 768px) {
    .brand-ry-section {
        margin-top: 10px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .brand-ry-title {
        font-size: 38px;
    }

    .brand-ry-desc {
        font-size: 15px;
    }

    .brand-ry-slide {
        flex: 0 0 calc(50% - 10px);
        /* Show 2 items */
        height: 280px;
        min-width: 220px;
    }

    .brand-slider-btn.prev {
        left: -10px;
    }

    .brand-slider-btn.next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    .brand-ry-section {
        margin-top: 0px;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .brand-ry-title {
        font-size: 32px;
    }

    .brand-ry-slide {
        flex: 0 0 85%;
        /* Show 1.2 items to hint at scrolling */
        min-width: 0;
        height: 340px;
    }
}

/* ═══════════════════════════════════════════════════════
BRAND DETAIL: FAMORIS COTTAGES
═══════════════════════════════════════════════════════ */
.brand-famoris-section {
    margin-top: 50px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.brand-famoris-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.brand-famoris-row.reverse {
    flex-direction: row-reverse;
}

.brand-famoris-text {
    flex: 1;
}

.brand-famoris-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #2F5218;
    margin-bottom: 20px;
}

.brand-famoris-desc {
    font-family: var(--font-body);
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.brand-famoris-img {
    flex: 1;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-famoris-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.brand-famoris-img:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 992px) {
    .brand-famoris-row {
        gap: 30px;
    }

    .brand-famoris-img {
        height: 320px;
    }
}

@media (max-width: 768px) {

    .brand-famoris-row,
    .brand-famoris-row.reverse {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .brand-famoris-img {
        width: 100%;
        height: 300px;
    }

    .brand-famoris-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .brand-famoris-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    .brand-famoris-title {
        font-size: 30px;
    }

    .brand-famoris-img {
        height: 250px;
    }
}
