/* ============================================================== */
/* Shell Brand Colors                                              */
/* ============================================================== */
:root {
    --shell-red: #ED1C24;
    --shell-lightred: #ffeded;
    --shell-yellow: #FFD700;
    --shell-lightyellow: #fff9df;
    --shell-dark: #4A4A4A;
    --shell-blue: #00569D;
    --shell-green: #22ba0d;
    --shell-darkmute: #4A4A4A;
    --shell-lightgray: #F6F6F6;
    --shell-lightgray-2: #F5F5F5F5;
    --shell-darkgray: #999999;
}

/* Custom font */
@font-face {
    font-family: 'ShellBook';
    src: url('../font/ShellBook.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShellMedium';
    src: url('../font/ShellMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShellBold';
    src: url('../font/ShellBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShellHeavy';
    src: url('../font/ShellHeavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html,
body {
    font-family: 'ShellMedium', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--shell-dark) !important;
}

.font-shell-book {
    font-family: 'ShellBook', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-shell-medium {
    font-family: 'ShellMedium', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-shell-bold {
    font-family: 'ShellBold', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-shell-heavy {
    font-family: 'ShellHeavy', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-arial {
    font-family: Arial, Roboto, Helvetica, sans-serif;
}

.font-system {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================== */
/* Custom Scrollbar                                                */
/* ============================================================== */

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--shell-yellow);
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

/* Firefox */
html {
    scrollbar-color: var(--shell-yellow) #f1f1f1;
    scrollbar-width: auto;
}

/* ============================================================== */
/* Navbar Color Overrides                                          */
/* ============================================================== */


.container {
    max-width: 1300px;
}

.bg-shell-lightgray {
    background-color: var(--shell-lightgray) !important;
}

.bg-shell-lightgray-2 {
    background-color: var(--shell-lightgray-2) !important;
}

.bg-shell-yellow {
    background-color: var(--shell-yellow) !important;
}

.bg-shell-blue {
    background-color: var(--shell-blue) !important;
}

.bg-shell-red {
    background-color: var(--shell-red) !important;
}

.btn-shell-yellow {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
}

.bg-shell-whychooseus {}

.rounded-shell {
    border-radius: 20%;
}

.rounded-shell-card {
    border-radius: 1rem;
}

.rounded-shell-banner {
    border-radius: 1.8rem;
}

.rounded-shell-percent {
    border-radius: 8%;
}

.rounded-shell-category {
    border-radius: 10px;
}

.rounded-shell-5 {
    border-radius: 5px;
}

.rounded-shell-10 {
    border-radius: 10px;
}

.rounded-shell-14 {
    border-radius: 14px;
}

.font-weight-800 {
    font-weight: 800 !important;
}

.text-shell-blue {
    color: var(--shell-blue) !important;
}

.text-shell-red {
    color: var(--shell-red) !important;
}

.text-shell-yellow {
    color: var(--shell-yellow) !important;
}

.text-darkmute {
    color: var(--shell-darkmute) !important;
}

.text-dark {
    color: var(--shell-dark) !important;
}

.text-lightgray {
    color: var(--shell-lightgray) !important;
}

.text-shell-darkgray {
    color: var(--shell-darkgray) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--shell-dark) !important;
}

.text-xxs {
    font-size: clamp(6px, 1.5vw, 8px);
}

.text-xs {
    font-size: clamp(8px, 1.75vw, 10px);
}

.text-xs2 {
    font-size: clamp(10px, 2vw, 12px);
}

.text-sm {
    font-size: clamp(11px, 2.25vw, 13px);
}

.text-md {
    font-size: clamp(12px, 2.5vw, 14px);
}

.text-md2 {
    font-size: clamp(13px, 2.75vw, 16px);
}

.text-lg {
    font-size: clamp(14px, 3vw, 18px);
}

.text-xl {
    font-size: clamp(18px, 3.5vw, 22px);
}

.text-2xl {
    font-size: clamp(20px, 4vw, 24px);
}

.text-3xl {
    font-size: clamp(22px, 4.5vw, 28px);
}

.text-2-5xl {
    font-size: clamp(24px, 5vw, 30px);
}

.text-4xl {
    font-size: clamp(26px, 5vw, 32px);
}

.text-5xl {
    font-size: clamp(30px, 6vw, 36px);
}

.text-6xl {
    font-size: clamp(36px, 7vw, 48px);
}

.text-7xl {
    font-size: clamp(48px, 8vw, 64px);
}

.hero-title {
    font-size: clamp(36px, 7vw, 48px);
}

.hero-title-secondary {
    font-size: clamp(22px, 4.5vw, 28px);
}

.text-line-height-1 {
    line-height: 1 !important;
}

.text-line-height-1-25 {
    line-height: 1.25 !important;
}

.text-line-height-1-5 {
    line-height: 1.5 !important;
}

.text-line-height-1-6 {
    line-height: 1.6 !important;
}

.text-line-height-2 {
    line-height: 2 !important;
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(22px, 4.5vw, 28px);
    }

    .hero-title-secondary {
        font-size: clamp(16px, 3.5vw, 20px);
    }
}



/* Brand text italic styling */
#mainHeader .font-italic {
    color: var(--shell-dark);
}

/* Phone icon red color */
#mainHeader .fa-phone-alt {
    color: var(--shell-red) !important;
}

/* WhatsApp button green */
#mainHeader .btn-success {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
}

#mainHeader .btn-success:hover {
    background-color: #20bd5a;
    border-color: #20bd5a;
}

/* Active nav link bottom border indicator */
#mainNavbar .nav-item.active .nav-link {
    /* color: var(--shell-red); */
    border-bottom: 3px solid var(--shell-yellow);
}

/* Nav link hover color */
#mainNavbar .nav-link:hover {
    color: var(--shell-yellow) !important;
}

/* Dropdown Menu - Shadow instead of stroke */
#mainNavbar .dropdown-menu {
    border: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Dropdown item hover */
#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
    background-color: #e4e4e4;
}

/* Dropdown toggle - Remove focus outline */
#mainNavbar .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Custom dropdown toggle arrow */
.dropdown-toggle::after {
    background-image: url('../icon/down_arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 1.5px;
    width: 16px;
    height: 16px;
    content: '';
}

/* Search icon color on hover */
#mainNavbar .fa-search:hover {
    color: var(--shell-yellow);
}

/* ============================================================== */
/* Footer Color Overrides                                          */
/* ============================================================== */

/* Footer dark backgrounds */
.bg-footer-dark {
    background-color: #2d2d2d;
}

.bg-footer-darker {
    background-color: #222222;
}

/* Contact icons yellow */
.text-shell-yellow {
    color: var(--shell-yellow) !important;
}

/* Footer link hover - white on hover */
.footer-link:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================================== */
/* Hero + Stats Section                                            */
/* ============================================================== */

.hero-img {
    display: block;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

/* Left-to-right white gradient so text stays readable */
.hero-overlay {
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.88) 30%, rgba(255, 255, 255, 0) 70%);
}

/* Text overlay di dalam banner (relatif terhadap .hero-banner) */
.hero-content {
    top: 50%;
    left: 4rem;
    transform: translateY(-50%);
    max-width: 420px;
}

.custom-hero-content {
    top: 30%;
    left: 4rem;
    transform: translateY(-50%);
    max-width: 720px;
}

.custom-hero-content-2 {
    top: 40%;
    left: 4rem;
    transform: translateY(-50%);
    max-width: 720px;
}

@media (max-width: 767px) {
    .hero-content {
        left: 1.5rem;
        max-width: 90%;
    }

    .custom-hero-content {
        left: 1.5rem;
        max-width: 90%;
    }

    .custom-hero-content-2 {
        left: 1.5rem;
        max-width: 90%;
    }
}

/* Stats bar overlap ke atas banner */
.hero-stats-bar {
    margin-top: -44px;
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.25rem;
}

/* Icon hover effect di hero stats bar */
.hero-stats-bar .stat-item img {
    transition: transform 0.3s ease;
}

.hero-stats-bar .stat-item:hover img {
    transform: scale(1.15);
}

.stat-item img {
    transition: transform 0.3s ease;
}

.stat-item:hover img {
    transform: scale(1.15);
}

.aboutus-hero-stat-item img {
    transition: transform 0.3s ease;
}

.aboutus-hero-stat-item:hover img {
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .hero-stats-bar {
        margin-top: 0px;
        max-width: 100%;
    }

    /* image in hero-stats-bar */
    .hero-stats-bar .img-fluid {
        height: 32px;
        width: 32px;
    }
}

/* Yellow CTA button */
.btn-shell-cta {
    background-color: var(--shell-yellow);
    color: var(--shell-dark);
    border: none;
}

.btn-shell-cta:hover {
    background-color: #e6c200;
    color: var(--shell-dark);
}

/* Circular icon background in stat cards */
.stat-icon-wrap {
    width: 48px;
    height: 48px;
    background-color: var(--shell-yellow);
}

.product-icon-wrap {
    width: 42px;
    height: 42px;
}

/* Make stat item borders more visible */
.stat-item {
    border-color: #cccccc !important;
    border-width: 2px !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.aboutus-hero-stat-item {
    border-color: #cccccc !important;
    border-width: 2px !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.aboutus-values-stat-item {
    border-color: #cccccc !important;
    border-width: 2px !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.aboutus-hero-stat-item.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.aboutus-values-stat-item.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.product-item {
    border-color: #cccccc !important;
    border-width: 1px !important;
}

/* Specific borders for stats */
/* .stat-item:nth-child(1),
.stat-item:nth-child(2),
.stat-item:nth-child(3) {
    border-right: 2px solid #cccccc;
} */
.stat-item {
    position: relative;
}

.aboutus-hero-stat-item {
    position: relative;
}

.aboutus-values-stat-item {
    position: relative;
}

.stat-item:nth-child(1)::after,
.stat-item:nth-child(2)::after,
.stat-item:nth-child(3)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    /* mulai dari 25% */
    height: 80%;
    /* hanya setengah tinggi */
    width: 2px;
    background-color: #cccccc;
}

.aboutus-hero-stat-item:nth-child(1)::after,
.aboutus-hero-stat-item:nth-child(2)::after,
.aboutus-hero-stat-item:nth-child(3)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    /* mulai dari 25% */
    height: 80%;
    /* hanya setengah tinggi */
    width: 2px;
    background-color: #cccccc;
}

.aboutus-values-stat-item:nth-child(1)::after,
.aboutus-values-stat-item:nth-child(2)::after,
.aboutus-values-stat-item:nth-child(3)::after,
.aboutus-values-stat-item:nth-child(4)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    /* mulai dari 25% */
    height: 80%;
    /* hanya setengah tinggi */
    width: 2px;
    background-color: #cccccc;
}


/* Why Choose Us section styling */
#whyus .whyus-card {
    padding: 0 1rem;
    border-width: 2px !important;
}

#whyus .whyus-card img {
    transition: transform 0.3s ease;
}

#whyus .whyus-card:hover img {
    transform: scale(1.15);
}

ero-stats-bar .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.35);
}

/* Product card image fixed height */
.product-card-img {
    height: 210px;
    object-fit: cover;
}

/* Hover lift effect */
.product-card {
    border: none !important;
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.rounded-shell-card.bg-shell-yellow {
    background: linear-gradient(180deg, rgba(254, 205, 19, 0.98) 0%, rgba(254, 205, 19, 0.9) 40%, rgba(251, 167, 11, 0.98) 100%);
}

.rounded-shell-card.bg-shell-blue {
    background: linear-gradient(180deg, rgba(0, 114, 206, 0.96) 0%, rgba(0, 114, 206, 0.88) 45%, rgba(0, 0, 0, 0.18) 100%);
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.news-card-img {
    height: 180px;
    object-fit: cover;
}

.news-date-badge {
    bottom: -10px;
    left: 10px;
    border-radius: 2px;
}

.news-card {
    transition: opacity 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.news-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Animation for why choose us & industry icons */
.why-card,
.industry-icon {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-card.animated,
.industry-icon.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.cta-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.92) 0%, rgba(255, 215, 0, 0.85) 100%);
}


.marine-product-row {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .marine-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.marine-card-img-wrap {
    height: 180px;
    border-radius: 1rem 1rem 0 0;
}

.marine-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.marine-product-card:hover .marine-card-img {
    transform: scale(1);
}

.marine-product-card {
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.marine-product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.marine-check-list li {
    font-size: 0.75rem;
    color: var(--shell-darkmute);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
}

.marine-check-icon {
    color: var(--shell-green);
    margin-right: 0.5rem;
    font-size: 0.65rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.marine-link {
    font-size: 0.78rem;
    transition: letter-spacing 0.2s ease;
}

.marine-link:hover {
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.marine-tds-btn {
    border-width: 2px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.marine-tds-btn:hover {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: var(--shell-dark);
}

.btn-outline-shell-yellow {
    color: var(--shell-yellow);
    border-color: var(--shell-yellow);
}

/* ============================================================== */
/* Modal TDS/MSDS Button Styles - Product All, Marine, B2B, B2C   */
/* ============================================================== */

/* TDS button - solid yellow, dark text */
#allModalFileTDS,
#modalFileTDS {
    background-color: var(--shell-yellow) !important;
    border-color: var(--shell-yellow) !important;
    color: var(--shell-dark) !important;
    transition: all 0.25s ease;
}

#allModalFileTDS:hover,
#modalFileTDS:hover {
    background-color: #e6c200 !important;
    border-color: #e6c200 !important;
}

/* MSDS button - solid red, white text */
#allModalFileMSDS,
#modalFileMSDS {
    background-color: var(--shell-red) !important;
    border-color: var(--shell-red) !important;
    color: #fff !important;
    transition: all 0.25s ease;
}

#allModalFileMSDS:hover,
#modalFileMSDS:hover {
    background-color: #c41018 !important;
    border-color: #c41018 !important;
}

/* ============================================================== */
/* Why Choose Shell Marine Section                                 */
/* ============================================================== */

/* Image wrapper - left column */
.marine-why-img-wrap {
    height: 100%;
    min-height: 340px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

/* Overlap element - right corner */
.marine-why-overlap {
    height: 100%;
    width: 50px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: white;
    border-top-left-radius: 50px;
}


/* Yellow circle icon wrap */
.marine-why-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--shell-yellow);
    flex-shrink: 0;
}

/* ============================================================== */
/* B2B Product Section (Duplicate Styles)                          */
/* ============================================================== */

.b2b-product-row {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .b2b-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.b2b-card-img-wrap {
    height: 180px;
    border-radius: 1rem 1rem 0 0;
}

.b2b-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.b2b-product-card:hover .b2b-card-img {
    transform: scale(1);
}

.b2b-product-card {
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.b2b-product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.b2b-check-list li {
    font-size: 0.75rem;
    color: var(--shell-darkmute);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
}

.b2b-check-icon {
    color: var(--shell-green);
    margin-right: 0.5rem;
    font-size: 0.65rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.b2b-link {
    font-size: 0.78rem;
    transition: letter-spacing 0.2s ease;
}

.b2b-link:hover {
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.b2b-tds-btn {
    border-width: 2px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.b2b-tds-btn:hover {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: var(--shell-dark);
}

/* ============================================================== */
/* Why Choose Shell B2B Section (Duplicate Styles)                 */
/* ============================================================== */

/* Image wrapper - left column */
.b2b-why-img-wrap {
    height: 100%;
    min-height: 340px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

/* Overlap element - right corner */
.b2b-why-overlap {
    height: 100%;
    width: 50px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: white;
    border-top-left-radius: 50px;
}

/* Yellow circle icon wrap */
.b2b-why-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--shell-yellow);
    flex-shrink: 0;
}

@media (max-width: 767px) {

    .stat-item:nth-child(2)::after {
        display: none;
    }


    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 2px solid #cccccc;
    }

    .aboutus-hero-stat-item:nth-child(2),
    .aboutus-hero-stat-item:nth-child(3),
    .aboutus-hero-stat-item:nth-child(4) {
        border-top: 2px solid #cccccc;
    }

    .btn-shell-cta {
        display: none;
    }
}

.yellow-card {
    width: 77px;
    height: 49px;
    background-color: var(--shell-yellow);
    border-radius: 0 0 55% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yellow-card2 {
    margin-left: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 34px 14px 0 0;
    border-color: var(--shell-yellow) transparent transparent transparent;
}

/* input with type file height */
input[type="file"] {
    height: 48px;
}

/* ============================================================== */
/* SVG Icon Inherit Color from Parent Text                        */
/* ============================================================== */

/* Admin sidebar SVG icons inherit parent color */
.sidebar-nav .nav-item .nav-link img {
    width: 20px;
    height: 20px;
    display: block;
    color: inherit;
    transition: color 0.2s ease;
}

/* Hover state - inherit yellow color */
.sidebar-nav .nav-item .nav-link:hover img {
    color: var(--shell-yellow);
}

/* Active state - solid yellow */
.sidebar-nav .nav-item.active .nav-link img {
    color: var(--shell-yellow);
}

.col-5th {
    flex: 0 0 20%;
    max-width: 20%;
}

/* ============================================================== */
/* News Page - Search & Filter                                      */
/* ============================================================== */

.news-search-input {
    width: 420px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

@media (max-width: 767px) {
    .news-search-input {
        width: 100%;
    }
}

.news-search-input:focus {
    border-color: var(--shell-yellow);
    box-shadow: 0 0 0 0.15rem rgba(255, 215, 0, 0.15);
    outline: none;
}

.news-filter-tabs {
    gap: 0.5rem;
}

.news-filter-tab {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: var(--shell-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.news-filter-tab:hover {
    border-color: var(--shell-yellow);
    background-color: rgba(255, 215, 0, 0.08);
}

.news-filter-tab.active {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: #000;
    font-weight: 600;
}

/* ============================================================== */
/* Product Page - Search & Filter (b2b / b2c / marine)              */
/* ============================================================== */

.product-filter-tabs {
    gap: 0.5rem;
}

.product-filter-tab {
    background: none;
    border: 1px solid var(--shell-yellow);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: var(--shell-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.product-filter-tab:hover {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: var(--shell-dark);
    text-decoration: none;
}

.product-filter-tab.active {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: var(--shell-dark);
    font-weight: 600;
}

.product-search-input {
    width: 280px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.product-search-input:focus {
    border-color: var(--shell-red);
    box-shadow: 0 0 0 0.15rem rgba(217, 48, 37, 0.15);
    outline: none;
}

.product-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .product-search-input {
        width: 100%;
    }
}




/* ============================================================== */
/* FAQ Page                                                       */
/* ============================================================== */

.btn-list-topic {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-list-question {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
    .btn-list-topic {
        padding: 12px 32px;
    }
}

.btn-list-topic.active {
    border-left: 4px solid var(--shell-red);
}

.btn-list-question.active {
    border-left: 4px solid var(--shell-yellow);
}

.faq-icon-circle {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--shell-yellow);
}

.faq-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.btn-list-topic.active .faq-icon-circle {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
}

.btn-list-topic.active .faq-icon-img {
    filter: brightness(0) invert(0);
}

.btn-list-topic.active .faq-icon-fa {
    color: #fff;
}



.faq-sidebar-label {
    color: var(--shell-dark);
}

.btn-list-topic.active .faq-sidebar-label {
    color: var(--shell-red) !important;
}

.faq-sidebar-wrap {
    padding: 0;
    overflow: hidden;
}

.faq-sidebar-inner {
    padding: 8px 0;
}

.faq-help-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
}

.faq-help-btn {
    width: 100%;
    background-color: var(--shell-yellow);
    color: var(--shell-dark);
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    transition: all 0.2s ease;
}

.faq-help-btn:hover {
    background-color: #e6c200;
    color: var(--shell-dark);
}

.faq-main-title {
    font-size: 13px;
}

.faq-toolbar {
    gap: 12px;
}

.faq-search-input {
    width: 260px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.faq-search-input:focus {
    border-color: var(--shell-red);
    box-shadow: 0 0 0 0.15rem rgba(217, 48, 37, 0.15);
    outline: none;
}

.faq-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

.faq-card {
    border: 1px solid #e8e8e8 !important;
    border-left: 4px solid var(--shell-yellow) !important;
    border-radius: 12px !important;
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.faq-toggle {
    border-radius: 12px;
    cursor: pointer;
    padding: 16px 20px !important;
}

.faq-toggle:focus {
    outline: none;
    box-shadow: none;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-toggle-plus {
    background-color: white;
    border: 2px solid var(--shell-red);
    color: var(--shell-red);
}

.faq-toggle-plus:hover {
    background-color: var(--shell-red);
    color: #fff;
}

.faq-toggle-minus {
    background-color: var(--shell-red);
    border: none;
    color: #fff;
}

.faq-toggle:not(.collapsed) .faq-toggle-icon {
    background-color: var(--shell-red);
    color: #fff;
}

.faq-question-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--shell-dark) !important;
}

.faq-answer-text {
    line-height: 1.7;
    font-size: 14px;
    padding: 16px 20px;
}

@media (max-width: 991px) {
    .faq-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .faq-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-search-input {
        width: 100%;
    }

    .faq-search-wrap {
        width: 100%;
    }

    .faq-search-wrap .faq-search-input {
        flex: 1;
    }
}

/* ============================================================== */
/* News Page - Highlight Section                                    */
/* ============================================================== */

.highlight-img-wrap {
    height: 340px;
    overflow: hidden;
}

.highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-desc {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-carousel-control-prev,
.highlight-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.highlight-carousel-control-prev {
    left: -50px;
}

.highlight-carousel-control-next {
    right: -50px;
}

.highlight-arrow-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shell-dark);
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.highlight-arrow-wrap:hover {
    background-color: var(--shell-yellow);
    border-color: var(--shell-yellow);
    color: #000;
}

@media (max-width: 991px) {
    .highlight-carousel-control-prev {
        left: 5px;
    }

    .highlight-carousel-control-next {
        right: 5px;
    }
}

@media (max-width: 767px) {
    .highlight-img-wrap {
        height: 200px;
    }
}

/* ============================================================== */
/* News Page - LubServe Banner                                      */
/* ============================================================== */

.lubserve-img {
    /* height: 220px; */
    object-fit: cover;
}

/* ============================================================== */
/* News Page - Stay Updated                                         */
/* ============================================================== */

.stay-updated-wrap {
    background-color: var(--shell-lightyellow);
    border: 1px solid #eee;
}

.stay-updated-icon-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background-color: var(--shell-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--shell-dark);
}

.btn-shell-red {
    background-color: var(--shell-red);
    border-color: var(--shell-red);
    color: #fff;
    font-weight: 600;
}

.btn-shell-red:hover {
    background-color: #c41018;
    border-color: #c41018;
    color: #fff;
}

/* ============================================================== */
/* Contact Section                                                 */
/* ============================================================== */

.section-title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--shell-yellow);
    border-radius: 2px;
}

.contact-input {
    height: 58px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    font-size: 12px;
    color: var(--shell-dark);
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input::placeholder {
    color: #a4a4a4;
    font-style: arial, sans-serif;
}

.contact-input:focus {
    border-color: var(--shell-yellow);
    box-shadow: 0 0 0 0.15rem rgba(255, 215, 0, 0.18);
    outline: none;
}

.contact-textarea {
    height: auto;
    min-height: 140px;
    resize: vertical;
}

.contact-map-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background-color: var(--shell-lightgray);
}

.contact-map-wrap iframe {
    display: block;
    border: 0;
    border-radius: 14px !important;
    width: 100%;
}

.contact-location-info {
    background-color: var(--shell-lightgray);
    border-radius: 14px;
    padding: 16px 18px;
}

.contact-location-info a:hover {
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .contact-textarea {
        min-height: 120px;
    }
}

/* ============================================================== */
/* News Page - Latest Updates Slider (Swiper)                       */
/* ============================================================== */

.latest-slider-wrap {
    overflow: hidden;
    padding-bottom: 4px;
}

.latest-slider-wrap .swiper-slide,
.home-articles-slider .swiper-slide {
    height: auto;
}

.home-articles-slider {
    overflow: hidden;
    padding-bottom: 4px;
}

#latestSlider {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

#latestSlider::-webkit-scrollbar {
    display: none;
}

#latestSlider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#latestSlider .latest-article-item {
    flex: 0 0 calc(50% - 8px);
    min-width: 240px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    #latestSlider .latest-article-item {
        flex: 0 0 calc(25% - 12px);
    }
}

/* didalam class article-content ada figure image buat selalu rata tengah */
.article-content figure {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.article-content figure img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
/* ============================================================== */
/* Responsive tablet & mobile (desktop >= 992px tidak terpengaruh)  */
/* ============================================================== */

@media (max-width: 991px) {
    /* Navbar collapse: reset inline margin/gap desktop */
    #mainNavbar .navbar-nav {
        margin-left: 0 !important;
        gap: 0 !important;
    }

    #mainNavbar .navbar-nav.align-items-center {
        flex-direction: row;
        justify-content: center;
    }

    /* Hero */
    .hero-img {
        min-height: 300px;
    }

    .hero-content {
        left: 2rem;
        max-width: 60% !important;
    }

    .hero-title {
        font-size: clamp(24px, 4.5vw, 34px);
    }

    .hero-stats-bar {
        max-width: 95%;
    }

    .hero-stats-bar .stat-item {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .hero-stats-bar .stat-item img {
        margin-right: 0.5rem !important;
    }

    /* Why us: gambar tidak terlalu besar saat ditumpuk */
    #whyus .whyus-img-col {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Footer nested row */
    #siteFooter .footer-links-row {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .header-logo {
        width: 44px;
        height: 44px;
        margin-right: 0.5rem !important;
    }

    .hero-img {
        min-height: 240px;
    }

    .hero-content {
        left: 1.25rem;
        max-width: 85% !important;
    }

    .hero-stats-bar {
        max-width: 100%;
        margin-top: 12px;
    }

    .product-card-img {
        height: 180px;
    }

    .cta-banner .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================================== */
/* Mobile polish — semua rule di bawah hanya aktif < 992px.        */
/* Desktop (>= 992px) tidak boleh disentuh.                        */
/* ============================================================== */

/* ---------- Tablet & mobile (<= 991px) ---------- */
@media (max-width: 991px) {

    /* Header: tombol hamburger lebih mudah ditekan, menu panjang bisa di-scroll */
    #mainHeader .navbar-toggler {
        width: 40px;
        height: 40px;
        margin-left: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    #mainHeader a.d-flex {
        min-width: 0;
    }

    #mainHeader .font-shell-heavy {
        line-height: 1.2;
    }

    #mainNavbar .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    /* ----- Menu mobile (collapse) ----- */
    #mainNavbar .navbar-collapse {
        border-top: 1px solid #eeeeee;
        padding-bottom: 0.5rem;
    }

    /* baris menu: tinggi nyaman untuk jempol, pemisah tipis, aktif = garis kuning di kiri */
    #mainNavbar .navbar-nav:not(.align-items-center) .nav-link {
        padding: 0.8rem 0.75rem !important;
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
        border-left: 3px solid transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #mainNavbar .nav-item.active .nav-link {
        color: var(--shell-red) !important;
        border-bottom: 1px solid #f0f0f0;
        border-left: 3px solid var(--shell-yellow);
        padding-left: 0.75rem !important;
        font-weight: 700;
    }

    #mainNavbar .nav-link:hover {
        color: var(--shell-dark) !important;
    }

    /* submenu produk: terbuka inline, tanpa bayangan */
    #mainNavbar .dropdown-menu {
        box-shadow: none !important;
        background: #f8f8f8;
        margin: 0.25rem 0 0.5rem;
        padding: 0.25rem 0;
    }

    #mainNavbar .dropdown-menu .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 14px;
        white-space: normal;
    }

    /* baris Search + Bahasa: dua tombol sama lebar */
    #mainNavbar .navbar-nav.align-items-center {
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.75rem 0;
    }

    #mainNavbar .navbar-nav.align-items-center>.nav-item {
        flex: 1 1 0;
        margin-left: 0 !important;
    }

    #mainNavbar .navbar-nav.align-items-center>.nav-item>.nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.75rem !important;
        min-height: 44px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        font-size: 14px;
    }

    /* telepon (kiri) + WhatsApp (kanan) satu baris */
    #mainNavbar .nav-mobile-cta {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center !important;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0 0.25rem !important;
    }

    #mainNavbar .nav-mobile-cta>a {
        margin-bottom: 0 !important;
    }

    #mainNavbar .nav-mobile-cta .btn {
        font-size: 13px;
        padding: 0.4rem 0.9rem;
    }

    /* Judul value/why-us jangan dipaksa satu baris */
    #whyus .whyus-card h5 {
        white-space: normal !important;
        text-wrap: wrap !important;
    }

    /* Contact hero: padding lebih rapat */
    .contact-hero-stats .stat-item {
        padding: 1rem !important;
    }

    .contact-hero-stats .stat-item>div {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* FAQ sidebar tablet */
    .btn-list-topic,
    .btn-list-question {
        padding: 10px 14px;
    }

    /* Pagination boleh turun baris */
    .pagination,
    #resultsPagination,
    #faqPagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Artikel: konten dari editor tidak boleh melebar */
    .article-content {
        overflow-wrap: break-word;
    }

    .article-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .article-content iframe,
    .article-content video {
        max-width: 100%;
    }

    /* Halaman /articles: card tidak menempel */
    #articlesGrid .row>[class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

/* ---------- Mobile (<= 767px) ---------- */
@media (max-width: 767px) {

    body {
        overflow-x: hidden;
    }

    main section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* ----- Hero: teks tetap di atas banner; tinggi banner dikunci, gambar di-crop (cover) ----- */
    #heroSection {
        margin-bottom: 24px !important;
    }

    #heroSection .hero-banner {
        border-radius: 1.8rem;
    }

    #heroSection .hero-img {
        height: clamp(190px, 56vw, 260px);
        min-height: 0;
        object-position: 85% center;
    }

    /* gradasi putih di kiri agar teks tetap terbaca di atas foto */
    #heroSection .hero-banner::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 65%, rgba(255, 255, 255, 0.4) 100%);
        pointer-events: none;
    }

    #heroSection .hero-content,
    #heroSection .custom-hero-content,
    #heroSection .custom-hero-content-2 {
        z-index: 2;
        left: 1rem;
        top: 50%;
        max-width: 60% !important;
    }

    #heroSection .hero-title {
        font-size: clamp(18px, 5.2vw, 24px);
        line-height: 1.2;
    }

    #heroSection .hero-title-secondary {
        font-size: clamp(12px, 3.6vw, 15px);
        margin-bottom: 0.25rem !important;
    }

    #heroSection .hero-content p {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 0.25rem;
        margin-bottom: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Stats hero: grid 2x2 dengan garis silang yang sama seperti Why choose us */
    .hero-stats-bar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .hero-stats-bar .stat-item {
        padding: 0.9rem 0.75rem !important;
        border-top: 0;
    }

    .hero-stats-bar .stat-item:nth-child(1)::after {
        top: 0.5rem;
        bottom: 0;
        height: auto;
    }

    .hero-stats-bar .stat-item:nth-child(3)::after {
        top: 0;
        bottom: 0.5rem;
        height: auto;
    }

    .hero-stats-bar .stat-item:nth-child(3)::before,
    .hero-stats-bar .stat-item:nth-child(4)::before {
        content: "";
        position: absolute;
        top: 0;
        height: 2px;
        background-color: #cccccc;
    }

    .hero-stats-bar .stat-item:nth-child(3)::before {
        left: 1rem;
        right: 0;
    }

    .hero-stats-bar .stat-item:nth-child(4)::before {
        left: 0;
        right: 1rem;
    }

    .hero-stats-bar .stat-item img {
        margin-right: 0.5rem !important;
    }

    /* ----- Home ----- */
    #ourProducts .row.no-gutters {
        margin-left: 0 !important;
        margin-top: 1rem !important;
    }

    /* ----- Tepi kiri/kanan konten disamakan: semua sejajar dengan padding container (15px) ----- */
    /* kartu Our Products (row + px-2 membuat kartu mulai di 8px) */
    #ourProducts .col-lg-8>.row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }

    #ourProducts .col-lg-8>.row>[class*="col-"] {
        padding-left: 0.375rem !important;
        padding-right: 0.375rem !important;
    }

    /* box abu-abu why-us (row + mx-1 membuatnya mulai di 19px) */
    #whyus .container>.row.mx-1 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* contact memakai container px-4 (24px) */
    #contactSection .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Our Products: 2 kartu per baris (kartu ke-3 di tengah), bentuk tetap persegi panjang tinggi seperti desktop */
    #ourProducts .col-lg-8>.row {
        justify-content: center;
    }

    .product-card-img {
        height: 170px;
    }

    #ourProducts .product-card .card-body {
        padding: 0.75rem !important;
    }

    #ourProducts .product-card .card-body h1 {
        margin-bottom: 0.5rem !important;
    }

    #ourProducts .product-card .card-body p {
        margin-bottom: 0.75rem !important;
    }

    #ourProducts .product-card .card-body a {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Grid produk (b2b/b2c/marine): kartu sejajar di 15px, jarak antar kartu 12px (menimpa px-2 hanya di mobile) */
    .b2b-product-row,
    .marine-product-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }

    .b2b-product-row>[class*="col-"],
    .marine-product-row>[class*="col-"] {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }

    /* Deskripsi produk dipersingkat di mobile (3 baris), tinggi kartu tetap sejajar */
    .b2b-product-card .card-body>.flex-grow-1,
    .marine-product-card .card-body>.flex-grow-1,
    .product-all-card .card-body>.text-darkmute {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* baris why-us: semua item sama tinggi supaya garis silang menyambung */
    #whyus .row.text-center {
        align-items: stretch !important;
    }

    /* Why choose us (home & halaman produk): grid 2x2 dengan garis silang yang rapi */
    #whyus .whyus-card.stat-item {
        padding: 1.25rem 0.75rem;
        margin-bottom: 0 !important;
        border-top: 0;
    }

    #whyus .whyus-card.stat-item:nth-child(1)::after {
        top: 1rem;
        bottom: 0;
        height: auto;
    }

    #whyus .whyus-card.stat-item:nth-child(3)::after {
        top: 0;
        bottom: 1rem;
        height: auto;
    }

    /* garis horizontal antar baris: tidak sampai tepi card */
    #whyus .whyus-card.stat-item:nth-child(3)::before,
    #whyus .whyus-card.stat-item:nth-child(4)::before {
        content: "";
        position: absolute;
        top: 0;
        height: 2px;
        background-color: #cccccc;
    }

    #whyus .whyus-card.stat-item:nth-child(3)::before {
        left: 1rem;
        right: 0;
    }

    #whyus .whyus-card.stat-item:nth-child(4)::before {
        left: 0;
        right: 1rem;
    }

    /* Ikon di bawah deskripsi Our Products: grid 2x2 dengan garis silang yang sama seperti Why choose us */
    #ourProducts .row.no-gutters>.stat-item {
        padding: 1.25rem 0.5rem !important;
        border-top: 0;
    }

    #ourProducts .row.no-gutters>.stat-item:nth-child(1)::after {
        top: 1rem;
        bottom: 0;
        height: auto;
    }

    #ourProducts .row.no-gutters>.stat-item:nth-child(3)::after {
        top: 0;
        bottom: 1rem;
        height: auto;
    }

    #ourProducts .row.no-gutters>.stat-item:nth-child(3)::before,
    #ourProducts .row.no-gutters>.stat-item:nth-child(4)::before {
        content: "";
        position: absolute;
        top: 0;
        height: 2px;
        background-color: #cccccc;
    }

    #ourProducts .row.no-gutters>.stat-item:nth-child(3)::before {
        left: 1rem;
        right: 0;
    }

    #ourProducts .row.no-gutters>.stat-item:nth-child(4)::before {
        left: 0;
        right: 1rem;
    }

    #whyus .pl-4 {
        padding-left: 0 !important;
    }

    #whyus .pl-4>span {
        padding-left: 0 !important;
    }

    /* ----- About us ----- */
    .aboutus-hero-stat-item {
        padding: 0.9rem 0.5rem !important;
        border-top: 0;
    }

    .aboutus-hero-stat-item:first-child {
        padding: 1rem !important;
    }

    .aboutus-hero-stat-item:first-child::after {
        display: none;
    }

    .aboutus-hero-stat-item:first-child img {
        width: 56px;
        height: 56px;
    }

    /* 3 statistik kecil: garis atas inset + garis vertikal menyambung ke garis atas */
    .aboutus-hero-stat-item:nth-child(2)::after,
    .aboutus-hero-stat-item:nth-child(3)::after {
        top: 0;
        bottom: 0.75rem;
        height: auto;
    }

    .aboutus-hero-stat-item:nth-child(n+2)::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #cccccc;
    }

    .aboutus-hero-stat-item:nth-child(2)::before {
        left: 1rem;
    }

    .aboutus-hero-stat-item:nth-child(4)::before {
        right: 1rem;
    }

    /* 5 kolom nilai -> 2 kolom (item ganjil terakhir selebar penuh) */
    .col-5th {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-5th:last-child:nth-child(odd) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Our Values: garis silang yang sama seperti Why choose us */
    #whyus .aboutus-values-stat-item {
        padding: 1.25rem 0.75rem;
        margin-bottom: 0 !important;
    }

    .aboutus-values-stat-item:nth-child(even)::after {
        display: none;
    }

    .aboutus-values-stat-item:nth-child(odd)::after {
        top: 0;
        bottom: 0;
        height: auto;
    }

    .aboutus-values-stat-item:nth-child(1)::after {
        top: 1rem;
    }

    .aboutus-values-stat-item:nth-last-child(-n+2):nth-child(odd)::after {
        bottom: 1rem;
    }

    .aboutus-values-stat-item:nth-child(n+3) {
        border-top: 0;
    }

    .aboutus-values-stat-item:nth-child(n+3)::before {
        content: "";
        position: absolute;
        top: 0;
        height: 2px;
        background-color: #cccccc;
    }

    .aboutus-values-stat-item:nth-child(n+3):nth-child(odd)::before {
        left: 1rem;
        right: 0;
    }

    .aboutus-values-stat-item:nth-child(n+3):nth-child(even)::before {
        left: 0;
        right: 1rem;
    }

    .aboutus-values-stat-item:last-child:nth-child(odd)::before {
        left: 1rem;
        right: 1rem;
    }

    /* Why-us di halaman produk: gambar jangan terlalu tinggi saat ditumpuk */
    #whyus .col-md-3.px-0 img {
        max-height: 240px;
        object-fit: cover;
    }

    /* ----- CTA banner: judul penuh, lalu telepon (kiri) & tombol WhatsApp (kanan) satu baris ----- */
    .cta-banner>.position-relative {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 0.75rem;
        align-items: center !important;
        padding: 1.25rem 1rem !important;
    }

    .cta-banner>.position-relative>:first-child {
        grid-column: 1 / -1;
    }

    .cta-banner>.position-relative>.d-flex.align-items-center {
        margin-bottom: 0 !important;
        min-width: 0;
    }

    .cta-banner>.position-relative>.d-flex.align-items-center .rounded-circle {
        width: 36px !important;
        height: 36px !important;
        margin-right: 0.4rem !important;
        background: #fff !important;
    }

    .cta-banner>.position-relative>.d-flex.align-items-center small {
        font-size: 11px;
    }

    .cta-banner>.position-relative>.d-flex.align-items-center span {
        font-size: 13.5px;
        white-space: nowrap;
    }

    .cta-banner .btn {
        width: auto;
        max-width: 7rem;
        padding: 0.45rem 0.7rem !important;
        font-size: 12px;
        line-height: 1.25;
        white-space: normal;
    }

    /* ----- Contact ----- */
    .contact-hero-stats .stat-item {
        flex: 0 0 100%;
        max-width: 100%;
        align-items: center;
    }

    .contact-hero-stats .stat-item::after {
        display: none;
    }

    .contact-hero-stats .stat-item+.stat-item {
        border-top: 1px solid #eeeeee;
    }

    .contact-input:not(.contact-textarea) {
        height: 48px;
        border-radius: 12px;
    }

    #contactSection iframe {
        height: 260px;
    }

    .contact-location-wrap {
        flex-direction: column;
        align-items: stretch !important;
    }

    .contact-location-wrap .contact-qr {
        align-self: center;
        margin-top: 1rem;
    }

    /* ----- News ----- */
    #newsSearchFilter .container>.d-flex>.d-flex:first-child {
        width: 100%;
    }

    .news-search-input,
    .product-search-input {
        flex: 1 1 auto;
        min-width: 0;
    }

    .news-filter-tab,
    .product-filter-tab {
        padding: 5px 12px;
        font-size: 12px;
    }

    #highlightCarousel {
        padding: 1rem !important;
    }

    /* Panah highlight sejajar dengan gambar (padding 16px + setengah tinggi gambar 200px) */
    .highlight-carousel-control-prev,
    .highlight-carousel-control-next {
        top: 116px;
        width: 32px;
        height: 32px;
    }

    .highlight-arrow-wrap {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .highlight-desc {
        -webkit-line-clamp: 4;
    }

    #stayUpdated .stay-updated-wrap {
        padding: 1.25rem 1rem !important;
    }

    #stayUpdated img {
        width: 48px;
        height: 48px;
    }

    #stayUpdated .btn {
        width: 100%;
    }

    /* ----- Halaman produk (b2b / b2c / marine) ----- */
    #marineRange .container>.d-flex.mb-3 {
        flex-wrap: wrap;
    }

    #marineRange .product-filter-tabs {
        margin-bottom: 0.75rem;
    }

    #marineRange .product-filter-tabs+.d-flex {
        width: 100%;
    }

    .marine-card-img-wrap,
    .b2b-card-img-wrap {
        height: 140px;
    }

    /* ----- Semua produk ----- */
    #sortSelect {
        width: 100%;
    }

    /* ----- Search ----- */
    .search-result-item.p-4 {
        padding: 1rem !important;
    }

    /* ----- FAQ ----- */
    .faq-icon-circle {
        width: 36px;
        height: 36px;
    }

    .faq-icon-img {
        width: 30px;
        height: 30px;
    }

    .btn-list-topic,
    .btn-list-question {
        font-size: 13px;
        gap: 10px;
    }

    .faq-sidebar-inner>.p-4 {
        padding: 1rem !important;
    }

    .faq-answer-text {
        padding: 12px 16px;
    }

    /* ----- Artikel ----- */
    .article-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .article-hero-img {
        max-height: 240px !important;
        border-radius: 16px !important;
    }

    .article-date-badge {
        left: -6px !important;
        top: 12px !important;
    }

    #articlesHero h1.display-4 {
        font-size: 2rem;
    }

    #articlesHero .lead {
        font-size: 1rem;
    }

    #articlesGrid .position-relative.overflow-hidden {
        height: 200px !important;
    }

    /* ----- Modal ----- */
    #productModal .modal-body {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* ----- Footer ----- */
    #siteFooter .bg-footer-dark {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }

    #siteFooter li a {
        overflow-wrap: anywhere;
    }

    #siteFooter li.d-flex {
        align-items: flex-start !important;
    }

    #siteFooter li.d-flex>img,
    #siteFooter li.d-flex>i {
        margin-top: 3px;
        flex-shrink: 0;
    }

    #siteFooter .bg-footer-darker {
        padding-bottom: 2.25rem !important;
    }
}

/* ---------- HP kecil (<= 575px) ---------- */
@media (max-width: 575px) {

    #productGrid .product-all-img-wrap {
        height: 140px;
    }


    #ctaBannerArticles .btn+.btn {
        margin-top: 0.5rem;
    }
}

/* ---------- HP sangat kecil (<= 359px): CTA kembali menumpuk ---------- */
@media (max-width: 359px) {
    .cta-banner>.position-relative {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.75rem;
    }

    .cta-banner .btn {
        width: 100%;
        max-width: none;
    }
}
