body {
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
}

.navbar-brand span {
    color: #1e3a5f;
}

.btn-primary {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
    transition: all 0.25s ease;
}
.btn-primary:hover {
    background-color: #28507f;
    border-color: #28507f;
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(30, 58, 95, 0.25);
}

/* Responsif: navbar collapse rapi di mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    .navbar-nav {
        margin-bottom: 1rem;
    }
}
/* ===== NAVBAR (floating pill) ===== */
.navbar-custom {
    background-color: #1e3a5f !important;
    border-radius: 50px;
    transition: border-radius 0.2s ease;
}
.navbar-custom:has(.navbar-collapse.show) {
    border-radius: 24px;
}
.navbar-custom .navbar-brand span {
    color: #ffffff;
}
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}
.navbar-custom .nav-link:hover {
    color: #ffffff !important;
}
.navbar-custom .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
}
.navbar-custom .btn-outline-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: transparent;
}
.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ===== NAVBAR GLOBAL (fixed, transparan → solid saat scroll) ===== */
.site-navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    background: transparent;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-navbar-wrapper.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

/* ===== PAGE HEADER FOOTER (keyword, dsb — nempel bawah dalam hero) ===== */
.page-header-footer {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}

/* ===== PAGE HEADER (wrapper navbar + hero/banner) ===== */
.page-header-wrapper {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-header-content {
    position: relative;
    z-index: 2;
}
body.page-home .page-header-content {
    padding-top: 90px;
}
.page-header-footer {
    position: relative;
    z-index: 2;
}
body:not(.page-home) main {
    padding-top: 84px;
}

/* ===== HERO (teks gelap, tanpa overlay) ===== */
.hero-title {
    font-size: 2.4rem !important;
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-desc p {
    margin-bottom: 0.5rem;
}
.hero-keywords {
    margin-top: 2.5rem;
}
.hero-keywords i {
    color: #1e3a5f;
    font-size: 1.1rem;
}
.hero-keywords span {
    font-size: 0.9rem;
}
.hero-keyword-item {
    color: #1e3a5f !important;
    font-weight: 600;
}
.hero-keyword-item i {
    color: #1e3a5f !important;
}
.btn-outline-navy {
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    background: transparent;
}
.btn-outline-navy:hover {
    background-color: #1e3a5f;
    color: #ffffff;
}

/* ===== KATEGORI ===== */
.kategori-card {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.kategori-card:hover {
    transform: translateY(-4px);
}
.kategori-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.kategori-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kategori-overlay {
    position: relative;
    z-index: 2; /* di atas overlay gelap */
    height: 100%;
}

.kategori-overlay h4,
.kategori-overlay p,
.kategori-overlay span {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== KARTU PRODUK (konsisten di semua halaman) ===== */
.produk-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
/* == Produk Card Jika Harga&keranjang tidak di hide
.produk-card {
    background: #ffffff;
    border: 1.5px solid #1e293b;
    border-radius: 16px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
} == */

/* == Produk Card Harga&Keranjang dihide ==*/
.produk-card {
    background: #ffffff;
    border: 1.5px solid #1e293b;
    border-radius: 16px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.produk-card:hover {
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.1);
    transform: translateY(-2px);
}
.produk-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    margin-bottom: 0.75rem;
}
.produk-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
/* == Produk Card Name Jika Harga&keranjang tidak di hide
.produk-card-name {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    min-height: 2.3em;
    line-height: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
} ==*/

/* == Produk Card Name Harga&Keranjang dihide ==*/
.produk-card-name {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    min-height: 2.3em;
    line-height: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.produk-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end; 
}

/* == (SEMENTARA) Produk Card CTA Harga&Keranjang dihide ==*/
.produk-card-cta {
    margin-top: auto;
    background: #ffffff;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    border: 1.5px solid #1e3a5f;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.produk-card-cta i {
    font-size: 0.7rem;
}
.produk-card-link:hover .produk-card-cta {
    background: #1e3a5f;
    color: #ffffff;
}
.produk-card-unit {
    color: #64748b;
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
}
.produk-card-price {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.9rem;
}
.produk-card-basket {
    color: #1e3a5f;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===== GALERI (slider horizontal) ===== */
.galeri-strip {
    scroll-behavior: smooth;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge lama */
}
.galeri-strip::-webkit-scrollbar {
    display: none;              /* Chrome, Safari */
}
.galeri-item {
    width: 280px;
    height: 180px;
}
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.galeri-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.galeri-nav:hover {
    background: rgba(0, 0, 0, 0.85);
}
.galeri-nav-prev { left: 8px; }
.galeri-nav-next { right: 8px; }

.galeri-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.galeri-spacing {
    margin-top: 6rem;
    margin-bottom: 6rem;
}
/*TESTIMONI*/
.testimoni-card {
    border: 1px solid #e2e8f0;
}

/*Marketplace*/
.marketplace-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a5f;
}
.marketplace-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}
.marketplace-item {
    transition: transform 0.2s ease;
}
.marketplace-item:hover {
    transform: translateY(-3px);
}
/* ===== DETAIL PRODUK BOX&CAROUSEL ===== */
.produk-detail-image-box {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 560px;
    background-color: #eef1f6;
    overflow: hidden;
}
.produk-detail-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.produk-detail-carousel,
.produk-detail-carousel .carousel-inner,
.produk-detail-carousel .carousel-item {
    height: 100%;
}
.produk-detail-carousel .carousel-control-prev,
.produk-detail-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.9;
}
.produk-detail-carousel .carousel-control-prev { left: 12px; }
.produk-detail-carousel .carousel-control-next { right: 12px; }

.produk-detail-indicators {
    bottom: 10px;
}
.produk-detail-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
}
.produk-detail-indicators .active {
    background-color: #ffffff;
}
.produk-detail-unit {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.produk-detail-unit-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}
.produk-detail-unit-badge {
    display: inline-block;
    width: fit-content;
    background: #eef1f6;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1.5px solid #1e3a5f;
}
/* ===== PRE-FOOTER FAQ SECTION ===== */
.faq-cta-section {
    background-color: #f7f8fa;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.faq-cta-section h2 {
    font-weight: 700;
    font-size: 1.75rem;
    color: #1e293b;
}
.btn-faq {
    background-color: #1e3a5f;
    color: #ffffff;
    border-radius: 10px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.btn-faq:hover {
    background-color: #16283f;
    color: #ffffff;
}

/* ===== FOOTER (terang, bukan gelap) ===== */
.footer-section {
    background-color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid #eef1f6;
}
.footer-section h6 {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
}
.footer-section .footer-brand {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-section a {
    color: #64748b !important;
    transition: color 0.15s ease;
}
.footer-section a:hover {
    color: #1e3a5f !important;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.15s ease;
}
.footer-social-icon:hover {
    border-color: #1e3a5f;
    color: #1e3a5f;
}
.footer-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #eef1f6;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* ===== BACKGROUND PER SECTION ===== */
.kategori-section {
    background-color: #eef1f6;
}
.produk-unggulan-section {
    background-color: #eef1f6; 
}
.whyus-section {
    background-color: #ffffff;
}
.spotlight-section {
    background-color: #ffffff;
}
.marketplace-section {
    background-color: #eef1f6;
}
.testimoni-section {
    background-color: #eef1f6;
}
.testimoni-modal-content p:last-child {
    margin-bottom: 0;
}

/* ===== CONTAINER LEBAR (Kategori, Produk Unggulan) ===== */
.container-wide {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* ===== CONTAINER SEMPIT/NORMAL (Why Us, Spotlight) ===== */
.container-narrow {
    padding-left: 8rem;
    padding-right: 8rem;
}
.spotlight-image-col {
    overflow: hidden;
}
.spotlight-image-box {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
}
.spotlight-image-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    display: block;
}
/* ===== CONTAINER GALERI (nyaris full-width, hint scrollable) ===== */
.container-gallery {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* ===== HALAMAN KATEGORI: Hero Carousel ===== */

.category-hero-wrapper {
    position: relative;
    min-height: 210px;
}

.category-hero-carousel,
.category-hero-carousel .carousel-inner,
.category-hero-carousel .carousel-item {
    min-height: 210px;
}

.category-hero-carousel .carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
}

.category-hero-empty {
    background-color: #eef1f6;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.85) 0%,
        rgba(255,255,255,.60) 30%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
}

.category-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.category-hero-title {
    color: #1e3a5f;
    font-weight: 800;
}

.category-hero-desc {
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .category-hero-title { font-size: 1.5rem; }
    .category-hero-desc { font-size: 0.9rem; -webkit-line-clamp: 2; }
}

@media (max-width: 767px) {
    .category-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.75) 55%,
            rgba(255,255,255,.95) 100%
        );
    }
    .category-hero-caption {
        bottom: 24px;
    }
    .category-hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }
    .category-hero-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
        max-width: 90%;
    }
    .category-hero-indicators.carousel-indicators {
        bottom: 8px;
        display: none;
    }
}
/* ===== INDICATOR CAROUSEL ===== */

.category-hero-indicators.carousel-indicators {
    position: absolute;
    bottom: 18px;

    left: 50%;
    right: auto;

    transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    width: auto;

    margin: 0;
    padding: 0;

    z-index: 5;
}

.category-hero-indicators.carousel-indicators button {
    width: 10px;
    height: 10px;

    border: none;
    border-radius: 50%;

    margin: 0 !important;
    padding: 0;

    background-color: rgba(30, 58, 95, .35);

    opacity: 1;

    transition: all .25s ease;
}

.category-hero-indicators.carousel-indicators button.active {
    background-color: #1e3a5f;
    transform: scale(1.2);
}

/* ===== SIDEBAR FILTER KATEGORI ===== */
.kategori-filter-box {
    background-color: #ffffff;
    border: 1.5px solid #334155;
    border-radius: 16px;
    padding: 1.5rem;
}
.kategori-filter-box .filter-kategori-btn {
    background: transparent;
    border: none;
    text-align: left;
    padding: 0.4rem 0.9rem;
    color: #334155;
    font-size: 0.95rem;
    border-radius: 50px;
    width: fit-content;
}
.kategori-filter-box .filter-kategori-btn:hover {
    color: #1e3a5f;
}
.kategori-filter-box .filter-kategori-btn.active-filter {
    border: 1.5px solid #1e3a5f;
    color: #1e3a5f;
    font-weight: 600;
}
/* ===== TOMBOL FILTER & SORT (pill outline) ===== */
.btn-filter-pill {
    background: transparent;
    border: 1.5px solid #1e3a5f;
    color: #1e3a5f;
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.btn-filter-pill:hover {
    background-color: #eef1f6;
    color: #1e3a5f;
}
.btn-filter-pill:disabled {
    opacity: 0.6;
    cursor: default;
}
.btn-filter-pill::after {
    display: none;
}

/* ===== Menu Solusi ===== */
.solusi-page-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #1e3a5f;
}
@media (max-width: 768px) {
    .solusi-page-title {
        font-size: 2.3rem;
    }
}

.solusi-kategori-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.solusi-kategori-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(30, 58, 95, 0.25);
}
.solusi-kategori-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}
.solusi-kategori-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
}
.solusi-kategori-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.3rem;
}
.solusi-kategori-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.85rem;
}

.btn-tab-solusi {
    background: #eef1f6;
    color: #64748b;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-tab-solusi.active {
    background: #1e3a5f;
    color: #fff;
}

.konten-card {
    border: 1.5px solid #1e3a5f;
    border-radius: 16px;
    padding: 0.85rem;
    background: #ffffff;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.konten-card:hover {
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.1);
    transform: translateY(-2px);
}
.konten-card-title {
    color: #1e3a5f;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.konten-card-date {
    color: #94a3b8;
}
.konten-card-img {
    width: 100%;
    height: auto;
    display: block;
}

.artikel-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.25;
}
@media (max-width: 767px) {
    .artikel-title { font-size: 1.5rem; }
}

.artikel-cover {
    width: 100%;
    height: auto;
    display: block;
}

.artikel-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}
.artikel-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.artikel-body iframe {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.artikel-body h1,
.artikel-body h2,
.artikel-body h3 {
    color: #1e3a5f;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.artikel-body a {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: underline;
}

/* Summernote Table Styling for Articles */
.artikel-body table {
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
    vertical-align: top;
    border-color: #cbd5e1;
    border-collapse: collapse !important;
    background-color: #ffffff;
}
.artikel-body table th,
.artikel-body table td {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    vertical-align: middle;
}
.artikel-body table th {
    background-color: #f1f5f9;
    color: #1e3a5f;
    font-weight: 700;
    text-align: left;
}
.artikel-body table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}
.artikel-body table table {
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
}
.artikel-body .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}
.artikel-terkait-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1e3a5f;
}

.custom-pagination a,
.custom-pagination span {
    color: #1e3a5f;
    font-weight: 600;
}
.custom-pagination span {
    opacity: 0.4;
}

/* ----- Tablet & bawah (≤991px) ----- */
@media (max-width: 991px) {
    .hero-title { font-size: 2rem !important; }
    .hero-keywords { margin-top: 1.5rem; }
    body.page-home .page-header-content { padding-top: 70px; }

    .kategori-card { height: 220px; }

    .spotlight-image-box { margin-top: 1.5rem; }

    .marketplace-title { font-size: 1.9rem; }
    .marketplace-logo { height: 70px; }

    

    .container-narrow {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .col-lg-3 > .invisible {
        display: none;
    }
}

/* ----- Mobile besar & tablet kecil (≤767px) ----- */
@media (max-width: 767px) {
    #tabKontenSolusi {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #tabKontenSolusi .btn-tab-solusi {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    #tabKontenSolusi::-webkit-scrollbar {
        display: none;
    }
    .hero-title { font-size: 1.6rem !important; line-height: 1.3; }
    .hero-desc { font-size: 0.88rem; }
    .hero-keywords { margin-top: 1.25rem; gap: 1rem !important; }
    .hero-keywords span { font-size: 0.82rem; }

    .kategori-card { height: 190px; }

    .galeri-item { width: 220px; height: 150px; }

    .marketplace-title { font-size: 1.6rem; }
    .marketplace-logo { height: 55px; }

    .produk-card-image { height: 90px; }
    .produk-card-name { font-size: 0.82rem; }
    .produk-card-cta {
        font-size: 0.72rem;
        padding: 0.5rem 1rem;
    }
    .produk-card-cta i { font-size: 0.65rem; }
    .produk-detail-image-box { aspect-ratio: 1 / 1; }

    .solusi-page-title { font-size: 2rem; }
    .spotlight-image-box {
    height: auto;
    aspect-ratio: 4 / 3;
}
    .solusi-kategori-card { height: 320px; }
    .solusi-kategori-title { font-size: 1.05rem; }
    .solusi-kategori-desc { font-size: 0.78rem; }

    .category-hero-wrapper,
    .category-hero-carousel,
    .category-hero-carousel .carousel-inner,
    .category-hero-carousel .carousel-item {
        min-height: 180px;
    }
    .category-hero-title { font-size: 1.3rem; }
    .category-hero-desc { font-size: 0.85rem; }

    .kategori-filter-box { padding: 1rem; }

    .faq-cta-section h2 { font-size: 1.4rem; }

    .container-wide,
    .container-narrow,
    .container-gallery {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ----- Mobile kecil (≤480px) ----- */
@media (max-width: 480px) {
    .hero-title { font-size: 1.35rem !important; }
    .hero-desc { font-size: 0.82rem; }

    .kategori-card { height: 170px; }

    .galeri-item { width: 180px; height: 130px; }

    .marketplace-logo { height: 45px; }

    .produk-card-image { height: 75px; }
    .spotlight-image-box {
    aspect-ratio: 4 / 3;
}

    .solusi-kategori-card { height: 280px; }
    .solusi-kategori-title { font-size: 0.98rem; }
    .solusi-kategori-desc { font-size: 0.74rem; }
}