/* ===== HOME HERO ala Shopee ===== */
.rc-home-hero {
    background: #ffff;
    padding: 16px 0 22px;
}

/* Banner area */
.rc-hero-banners {
    align-items: stretch;
}

.rc-hero-carousel {
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.rc-hero-slide {
    display: block;
    width: 100%;
    height: 100%;
}

.rc-hero-slide img {
    width: 100%;
    height: 235px; /* desktop like shopee */
    object-fit: cover;
    display: block;
}

/* Controls smaller + subtle */
.rc-hero-control {
    width: 44px;
    opacity: 0.85;
    z-index: 20;
    pointer-events: auto !important;
}
.rc-hero-control:hover {
    opacity: 1;
}

/* Ensure controls & indicators sit above slide links/images so they're clickable */
.rc-hero-carousel {
    position: relative;
    z-index: 1;
}
.rc-hero-carousel .carousel-inner {
    position: relative;
    overflow: hidden; /* Penting untuk hide slides yang tidak active */
    z-index: 0;
    width: 100%;
}
/* Ikuti default Bootstrap agar tidak terjadi duplikasi slide */
.rc-hero-carousel .carousel-item {
    position: relative;
    z-index: 0;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}
.rc-hero-carousel .carousel-item.active,
.rc-hero-carousel .carousel-item-next,
.rc-hero-carousel .carousel-item-prev {
    display: block;
}
.rc-hero-carousel .carousel-item-next:not(.carousel-item-start),
.rc-hero-carousel .active.carousel-item-end {
    transform: translateX(100%);
}
.rc-hero-carousel .carousel-item-prev:not(.carousel-item-end),
.rc-hero-carousel .active.carousel-item-start {
    transform: translateX(-100%);
}
.rc-hero-slide {
    z-index: 0;
    width: 100%;
}

/* Position indicators above slides and center them - FIX CENTERING */
.rc-hero-indicators {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 12px;
    z-index: 15;
    display: flex;
    gap: 8px;
    margin: 0 !important;
    width: auto !important;
    justify-content: center;
}
.rc-hero-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    margin: 0 !important;
}
.rc-hero-indicators .active {
    background: #fff;
}

/* Make sure slide link doesn't create a stacking context higher than controls */
.rc-hero-slide a {
    position: relative;
    z-index: 0;
    pointer-events: auto;
}

/* If an image inside the slide is large, avoid it stealing pointer events from controls */
.rc-hero-slide img {
    pointer-events: none;
}

/* Ensure controls are clickable and above everything */
.carousel-control-prev,
.carousel-control-next {
    z-index: 20 !important;
    pointer-events: auto !important;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

/* Right mini banners */
.rc-hero-side {
    height: 235px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.rc-hero-mini {
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    display: block;
}
.rc-hero-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rc-hero-mini:hover img {
    filter: brightness(0.98);
}

/* Menu grid */
.rc-hero-menu {
    margin-top: 14px;
}

.rc-menu-grid {
    background: #fff;
    border-radius: 4px;
    padding: 14px 10px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
}

.rc-menu-item {
    text-decoration: none;
    color: #222;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
}

.rc-menu-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.rc-menu-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.rc-menu-item__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.rc-menu-item__label {
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    max-width: 92px;
    white-space: normal;
}

/* ===== Brand Strip ===== */
.rc-brand-strip {
    background: #f5f5f5;
    padding: 14px 0;
}

.rc-brand-strip__inner {
    background: #fff;
    border-radius: 4px;
    padding: 12px 16px;
    display: grid;
    gap: 10px;
}

.rc-brand-strip__label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rc-brand-strip__list {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.rc-brand-strip__list img {
    width: 100%;
    max-height: 42px;
    object-fit: contain;
    display: block;
    filter: grayscale(10%);
    opacity: 0.9;
}

/* ===== About Holding ===== */
.rc-about {
    background: #f5f5f5;
    padding: 16px 0 16px;
}

.rc-section-head--compact {
    border-radius: 4px;
    margin-bottom: 6px;
    justify-content: flex-start;
    gap: 8px;
}

.rc-about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
    background: #fff;
    border-radius: 4px;
    padding: 16px 18px 18px;
}

.rc-about-micro {
    font-size: 12px;
    color: #777;
    margin: 0 0 8px 0;
}

.rc-about-title {
    font-size: 20px;
    line-height: 1.35;
    color: #222;
    margin: 0 0 10px 0;
}

.rc-about-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 16px 0;
}

.rc-about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.rc-metric {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 10px 12px;
}

.rc-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: #ee4d2d;
    margin-bottom: 2px;
}

.rc-metric-label {
    font-size: 12px;
    color: #666;
}

.rc-about-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rc-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee4d2d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.rc-about-btn:hover {
    background: #d94327;
}

.rc-about-link {
    color: #ee4d2d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.rc-about-link:hover {
    text-decoration: underline;
}

.rc-about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rc-about-card {
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    display: grid;
    gap: 6px;
}

.rc-about-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(238, 77, 45, 0.1);
    color: #ee4d2d;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.rc-about-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.rc-about-card-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ===== Quality ===== */
.rc-quality {
    background: #f5f5f5;
    padding: 16px 0 16px;
}

.rc-quality-list {
    background: #fff;
    border-radius: 4px;
    padding: 14px 16px 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

/* Tighter head-to-content for abouta & quality */
.rc-about .rc-section-head--compact,
.rc-quality .rc-section-head--compact {
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #eee;
}

.rc-about-wrap {
    border-radius: 0 0 4px 4px;
    border-top: 0;
}

.rc-quality-list {
    border-radius: 0 0 4px 4px;
    border-top: 0;
}

.rc-quality-item {
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.rc-quality-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(238, 77, 45, 0.1);
    color: #ee4d2d;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.rc-quality-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.rc-quality-text {
    font-size: 12px;
    color: #666;
    line-height: 1.45;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .rc-hero-slide img {
        height: 200px;
    }
    .rc-hero-side {
        height: 200px;
    }
    .rc-menu-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .rc-brand-strip__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rc-about-wrap {
        grid-template-columns: 1fr;
    }

    .rc-about-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rc-quality-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .rc-hero-slide img {
        height: 170px;
    }
    .rc-hero-side {
        height: auto;
        grid-template-rows: auto;
        /* JANGAN hide banner kecil di mobile */
    }
    .rc-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 12px 8px;
    }

    .rc-brand-strip__inner {
        padding: 10px 12px;
    }

    .rc-brand-strip__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .rc-about-wrap {
        padding: 14px;
    }

    .rc-about-title {
        font-size: 18px;
    }

    .rc-about-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .rc-about-cards {
        grid-template-columns: 1fr;
    }

    .rc-quality-list {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}
/* ===== Section wrapper (Shopee-like) ===== */
.rc-category {
    background: #f5f5f5;
    padding: 16px 0 16px;
}

/* Header ala Shopee */
.rc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    background: #fff;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #eee;
}
.rc-section-head--center {
    justify-content: center;
    text-align: center;
}

.rc-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.rc-section-link {
    font-size: 13px;
    color: #ee4d2d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.rc-section-link:hover {
    text-decoration: underline;
}

/* Carousel container */
.rc-cat-wrap {
    position: relative;
    background: #fff;
    border-radius: 0 0 0 0;
    padding: 12px 42px; /* space untuk arrow */
}

.rc-cat-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.rc-cat-viewport::-webkit-scrollbar {
    display: none;
}

.rc-cat-track {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

/* Item width ala Shopee (banyak kolom) */
.rc-cat-item {
    scroll-snap-align: start;
    flex: 0 0 10%; /* desktop: 10 item / row feel */
    min-width: 120px; /* safety */
}

/* Card ala Shopee: kotak, border tipis */
.rc-cat-card {
    height: 100%;
    display: grid;
    justify-items: center;
    gap: 8px;

    padding: 12px 10px;
    border: 0px solid #f0f0f0;
    border-left: 0; /* biar grid rapi seperti shopee */
    text-decoration: none;
    color: #222;
    background: #fff;
}

.rc-cat-card:hover {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    border-color: rgba(238, 77, 45, 0.35);
    z-index: 1;
}

/* Thumb image */
.rc-cat-thumb {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
}
.rc-cat-thumb img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

/* Text */
.rc-cat-name {
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-cat-sub {
    font-size: 12px;
    color: #777;
    text-align: center;
}

/* Arrow ala Shopee */
.rc-cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
    display: grid;
    place-items: center;
    color: #555;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.rc-cat-arrow.is-prev {
    left: 10px;
}
.rc-cat-arrow.is-next {
    right: 10px;
}

.rc-cat-arrow:hover {
    border-color: rgba(238, 77, 45, 0.45);
    color: #ee4d2d;
}

.rc-cat-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .rc-cat-wrap {
        padding: 12px 34px;
    }
    .rc-cat-item {
        flex-basis: 50%;
    } /* 2 item per view */
}
@media (max-width: 767px) {
    .rc-cat-wrap {
        padding: 12px 30px; /* Space untuk arrow kecil */
    }

    .rc-cat-arrow {
        width: 28px;
        height: 28px;
    }
    .rc-cat-arrow i {
        font-size: 14px;
    }

    .rc-cat-item {
        flex: 0 0 calc(50% - 6px); /* 2 item per view */
        min-width: 0;
        scroll-snap-align: start;
    }

    /* Perkecil size di mobile */
    .rc-cat-card {
        padding: 8px 4px;
    }
    .rc-cat-thumb,
    .rc-cat-thumb img {
        width: 40px;
        height: 40px;
    }
    .rc-cat-name {
        font-size: 10px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rc-cat-sub {
        font-size: 9px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .rc-cat-wrap {
        padding: 12px 26px;
    }
    .rc-cat-arrow {
        width: 26px;
        height: 26px;
    }
    .rc-cat-arrow i {
        font-size: 12px;
    }
    .rc-cat-thumb,
    .rc-cat-thumb img {
        width: 36px;
        height: 36px;
    }
}

/* ===== FLASH SALE SECTION ===== */
.rc-flash-sale {
    background: #f5f5f5;
    padding: 16px 0 22px;
}

/* Countdown Timer ala Shopee */
.rc-flash-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #ee4d2d;
}
.rc-timer-block {
    background: #ee4d2d;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}
.rc-timer-sep {
    color: #ee4d2d;
    font-weight: 700;
}

/* ===== PRODUCT CARDS (Shared) ===== */
.rc-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 kolom seperti Shopee */
    gap: 10px;
    margin-top: 16px;
}

.rc-product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}
.rc-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.rc-product-img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}
.rc-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flash Badge */
.rc-flash-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ee4d2d);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}
.rc-flash-badge i {
    font-size: 14px;
}

/* Product Info */
.rc-product-info {
    padding: 10px;
}

/* Product Title */
.rc-product-title {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 8px 0;
}

/* Flash Sale Price */
.rc-flash-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.rc-price {
    color: #ee4d2d;
    font-size: 16px;
    font-weight: 600;
}
.rc-price-strike {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}
.rc-discount {
    background: rgba(238, 77, 45, 0.1);
    color: #ee4d2d;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
}

/* Stock Progress Bar ala Shopee */
.rc-stock-progress {
    margin-top: 8px;
}
.rc-progress-bar {
    width: 100%;
    height: 16px;
    background: #ffbda6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.rc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ee4d2d, #ff6b35);
    border-radius: 8px;
    transition: width 0.3s ease;
}
.rc-stock-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== PRODUK TERLARIS ===== */
.rc-products {
    background: #f5f5f5;
    padding: 16px 0 16px;
}

.rc-product-wrap {
    position: relative;
    background: #fff;
    border-radius: 0 0 4px 4px;
    padding: 12px 42px;
}

.rc-product-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.rc-product-viewport::-webkit-scrollbar {
    display: none;
}

.rc-product-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.rc-products .rc-product-card {
    scroll-snap-align: start;
}

.rc-product-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
    display: grid;
    place-items: center;
    color: #555;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.rc-product-arrow.is-prev {
    left: 10px;
}
.rc-product-arrow.is-next {
    right: 10px;
}

.rc-product-arrow:hover {
    border-color: rgba(238, 77, 45, 0.45);
    color: #ee4d2d;
}

/* Product Meta */
.rc-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.rc-product-price {
    color: #ee4d2d;
    font-size: 14px;
    font-weight: 600;
}
.rc-product-sold {
    font-size: 11px;
    color: #757575;
}

/* Product Rating */
.rc-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #ffce3d;
    margin-bottom: 4px;
}
.rc-product-rating i {
    font-size: 12px;
}
.rc-product-rating span {
    color: #757575;
    font-weight: 600;
}

/* Product Location */
.rc-product-location {
    font-size: 11px;
    color: #757575;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rc-product-location i {
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .rc-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .rc-product-wrap {
        padding: 12px 34px;
    }
    .rc-product-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
    }
    .rc-products .rc-product-card {
        flex: 0 0 calc(50% - 6px);
        min-width: 0;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .rc-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .rc-product-wrap {
        padding: 12px 30px;
    }
    .rc-product-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .rc-products .rc-product-card {
        flex: 0 0 calc(50% - 5px);
        min-width: 0;
    }

    .rc-product-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

    .rc-price {
        font-size: 13px;
    }

    .rc-progress-bar {
        height: 14px;
    }

    .rc-stock-text {
        font-size: 9px;
    }

    .rc-product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
    .rc-flash-sale,
    .rc-products {
        padding: 12px 0 16px;
    }

    .rc-product-wrap {
        padding: 12px 26px;
    }
    .rc-product-arrow {
        width: 26px;
        height: 26px;
    }

    .rc-product-info {
        padding: 6px 4px;
    }

    .rc-product-title {
        font-size: 10px;
    }

    .rc-price {
        font-size: 12px;
    }
}

/* ===== REKOMENDASI SECTION ===== */
.rc-recommendation {
    background: #f5f5f5;
    padding: 16px 0 22px;
}
.rc-recommendation .rc-section-title {
    color: #ee4d2d;
}

/* ===== Footer Override ===== */
.footer {
    background: #ee4d2d;
}
.footer .footer-bottom {
    background: #ee4d2d;
}

/* Grid 2 baris x 6 kolom = 12 produk */
.rc-recommendation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 kolom */
    grid-template-rows: repeat(2, auto); /* 2 baris */
    gap: 10px;
    margin-top: 16px;
}

/* Button CTA di tengah */
.rc-recommendation-cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.rc-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.rc-cta-button:hover {
    background: #ee4d2d;
    border-color: #ee4d2d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(238, 77, 45, 0.3);
}

.rc-cta-button i {
    font-size: 16px;
}

/* ===== RESPONSIVE REKOMENDASI ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .rc-recommendation-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 kolom di tablet */
        gap: 8px;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .rc-recommendation-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .rc-recommendation-grid .rc-product-card {
        flex: 0 0 calc(33.333% - 6px); /* 3 kolom di mobile */
        max-width: calc(33.333% - 6px);
    }

    .rc-cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
    .rc-recommendation-grid .rc-product-card {
        flex: 0 0 calc(50% - 4px); /* 2 kolom untuk layar sangat kecil */
        max-width: calc(50% - 4px);
    }

    .rc-cta-button {
        padding: 8px 20px;
        font-size: 12px;
    }
}
