/* =========================================================
   MANERA WEBSITE - CLEAN CSS
   Versi revisi: satu aturan per komponen, responsive terpusat
   ========================================================= */

/* =========================================================
   1. RESET & GLOBAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100%;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: min(90%, 1400px);
    margin: 0 auto;
    padding: 0 15px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

h1,
h2,
h3,
h4,
p {
    overflow-wrap: break-word;
}

/* =========================================================
   2. NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 9999;
    padding: 18px 0;
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.nav-wrapper {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.logo-img {
    display: block;
    width: auto;
    height: 32px;
    object-fit: contain;
}

.logo span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    transition: color .3s ease;
}

.navbar.scrolled .logo span {
    color: #1b1b1b;
}

.navbar nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.navbar nav a {
    color: #fff;
    font-weight: 600;
    transition: color .3s ease;
}

.navbar nav a:hover {
    color: #ffc107;
}

.navbar.scrolled nav a,
.navbar.scrolled nav a.active {
    color: #1e293b;
}

.navbar.scrolled nav a:hover {
    color: #1c304e;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(22, 163, 74, .35);
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(22, 163, 74, .45);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 10px;
    background: #1c304e;
    transition: transform .3s ease, opacity .2s ease;
}

.mobile-menu {
    display: none;
}

/* =========================================================
   MOBILE HAMBURGER - FINAL
========================================================= */

.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 3px;
    background: #1C304E;
    border-radius: 10px;
    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================
   DESKTOP
========================= */

.mobile-menu {
    display: none;
}


/* =========================================================
   3. HERO
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.swiper-wrapper {
    height: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 100px 0 60px;
}

.hero-left {
    flex: 1;
    max-width: 700px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 12px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    color: #ffc107;
}

.hero-left h1 {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.hero-left h1 span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(3, 15, 40, .9);
    color: #fff;
    line-height: 1.4;
}

.hero-left p {
    max-width: 700px;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .3s ease;
}

.btn-primary {
    background: #fff;
    color: #1c304e;
}

.btn-secondary {
    background: #1e293b;
    color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: scale(.97);
}

.btn-primary:hover {
    background: #f5f5f5;
}

.btn-secondary:hover {
    background: #162033;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 60px;
}

.stats h3 {
    font-size: 30px;
    color: #fff;
}

.stats span {
    font-size: 13px;
    color: #fff;
}

.hero-right {
    flex: 0 0 360px;
}

.feature-card {
    padding: 35px;
    border-radius: 28px;
    background: #fff;
    color: #1e293b;
    backdrop-filter: blur(20px);
}

.feature-card small {
    display: block;
    margin-bottom: 20px;
    text-align: right;
}

.feature-item {
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
}

/* =========================================================
   4. SECTION HEADER
   ========================================================= */

.section-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 15px;
    text-align: center;
}

.section-header span {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    background: #1e293b;
    color: #fff;
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 600;
}

.section-header h2 {
    margin-top: 30px;
    color: #1e293b;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.3;
}

.section-header p {
    margin-top: 15px;
    color: #5a6c84;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.8;
}

/* =========================================================
   5. ABOUT
   ========================================================= */

.about {
    padding: 80px 0;
    background: #fff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-section {
    gap: 100px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 30px;
}

.about-content {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.section-tag {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    background: #1c304e;
    color: #fff;
    font-weight: 700;
}

.about-content h2 {
    margin: 20px 0;
    color: #1e293b;
    font-size: clamp(30px, 4vw, 42px);
}

.about-content p {
    color: #5a6c84;
    font-size: 18px;
    line-height: 1.8;
}

.detail-grid ul {
    margin-top: 25px;
    padding-left: 22px;
}

.detail-grid li {
    margin-bottom: 12px;
    font-size: 18px;
}

.vision-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.vision-box {
    flex: 1 1 250px;
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.vision-box h4 {
    padding-bottom: 10px;
    color: #1e293b;
    font-size: 18px;
}

.vision-box p {
    color: #5a6c84;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

/* =========================================================
   6. SERVICES / SERTIFIKAT
   ========================================================= */

.services {
    padding: 80px 0;
    background: #f8fafc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: 160px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.service-card h3 {
    margin-top: 15px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.service-card p {
    margin-top: 8px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.icon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.icon img {
    width: 80px;
    margin: auto;
}

/* =========================================================
   7. PRODUCT CATALOG
   HTML utama: .products_corousel #productSlider
   ========================================================= */

.products_corousel,
.category-section {
    position: relative;
    width: 100%;
    padding: 90px 0 80px;
    background: #f8fafc;
    overflow: hidden;
}

.products_corousel .container,
.category-section .container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.products_corousel .section-header,
.category-section .section-header {
    width: 100%;
    margin: 0 auto 50px;
    text-align: center;
}

.products_corousel .section-header span,
.category-section .section-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 38px;
    border-radius: 50px;
    background: #1c304e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.products_corousel .section-header h2,
.category-section .section-header h2 {
    margin: 22px 0 0;
    color: #1c304e;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.product-carousel,
.product-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#productSlider,
.product-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translate3d(0, 0, 0);
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

#productSlider .category-card,
.product-track .category-card,
.category-section .category-card {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 390px;
    margin: 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    text-align: center;
}

#productSlider .category-link,
.product-track .category-link,
.category-section .category-link {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    overflow: visible;
}

#productSlider .category-link::before,
.category-section .category-link::before {
    content: "";
    display: block;
    width: 100%;
    height: 275px;
    flex: 0 0 275px;
}

#productSlider .main-img,
.product-track .main-img,
.category-section .main-img {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 10;
    display: block;
    width: auto;
    height: 235px;
    max-width: 220px;
    max-height: 245px;
    margin: 0;
    object-fit: contain;
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    transition: transform .3s ease;
}

#productSlider .side-img,
.product-track .side-img,
.category-section .side-img {
    position: absolute;
    z-index: 30;
    width: 115px;
    height: 115px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease;
}

#productSlider .side-img.left,
.product-track .side-img.left,
.category-section .side-img.left {
    left: 0;
    top: 145px;
    transform: translateX(-10px) scale(.9);
}

#productSlider .side-img.right,
.product-track .side-img.right,
.category-section .side-img.right {
    right: 0;
    top: 145px;
    transform: translateX(10px) scale(.9);
}

#productSlider .category-card h3,
#productSlider .category-card .product-name,
.product-track .category-card h3,
.product-track .category-card .product-name,
.category-section .category-card h3,
.category-section .category-card .product-name {
    position: relative;
    z-index: 50;
    display: block;
    width: 100%;
    max-width: 260px;
    min-height: 45px;
    margin: 10px auto 0;
    padding: 0;
    color: #1c304e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
    #productSlider .category-card:hover .main-img,
    .product-track .category-card:hover .main-img,
    .category-section .category-card:hover .main-img {
        transform: translateX(-50%) scale(1.05);
    }

    #productSlider .category-card:hover .side-img,
    .product-track .category-card:hover .side-img,
    .category-section .category-card:hover .side-img {
        opacity: 1;
        visibility: visible;
    }

    #productSlider .category-card:hover .side-img.left,
    .product-track .category-card:hover .side-img.left,
    .category-section .category-card:hover .side-img.left {
        transform: translateX(0) scale(1);
    }

    #productSlider .category-card:hover .side-img.right,
    .product-track .category-card:hover .side-img.right,
    .category-section .category-card:hover .side-img.right {
        transform: translateX(0) scale(1);
    }
}

.product-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.product-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.product-dot.active {
    width: 25px;
    border-radius: 20px;
    background: #1c304e;
}

/* =========================================================
   8. DISTRIBUSI / QUALITY
   ========================================================= */

.quality {
    min-height: auto;
    padding: 130px 0 50px;
    background: #06112b;
}

.quality .section-header h2 {
    color: #fff;
}

.quality .section-header span {
    background: #1e293b;
    color: #fff;
}

.quality-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.quality-item {
    width: 300px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.quality-item:hover {
    background: #ff0000;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.quality-item h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

/* =========================================================
   9. CALCULATOR
   ========================================================= */

.calculator {
    padding: 80px 0;
}

.calculator-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.calculator-form select {
    width: 100%;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
}

.calculator-form input[type="range"] {
    width: 100%;
    margin-top: 30px;
}

.summary-card {
    flex: 0 0 320px;
    padding: 35px;
    border-radius: 25px;
    background: linear-gradient(135deg, #0d1a38, #6b7280);
    color: #fff;
}

/* =========================================================
   10. CONTACT
   ========================================================= */

.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    outline: none;
    font-size: 16px;
    background: #fff;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #157f3b;
    box-shadow: 0 0 0 3px rgba(21, 127, 59, .1);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form button {
    padding: 18px;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}

.contact-form button:hover {
    background: #12833c;
    transform: translateY(-2px);
}

/* =========================================================
   11. FAQ
   ========================================================= */

.faq {
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    padding: 24px;
    background: #fff;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s ease;
}

.faq-btn:hover {
    background: #eef4fb;
}

.faq-content {
    display: none;
    padding: 20px;
    background: #f8fafc;
    line-height: 1.8;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 25px;
    background: #020b24;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.footer-logo p {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-grid h4 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.footer a:hover {
    color: #ffc107;
}

.footer-channel-wrapper {
    margin-top: 10px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 12px;
    background: #fff;
}

.footer-channel h4 {
    margin: 0;
    color: #020b24;
    font-size: 13px;
    font-weight: 700;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #020b24;
    color: #fff;
    font-size: 14px;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.footer-social a:hover {
    background: #ffd200;
    color: #020b24;
    transform: translateY(-3px);
}

.footer-marketplace {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-marketplace a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #020b24;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.footer-marketplace a:hover {
    background: #ffd200;
    color: #020b24;
    transform: translateY(-3px);
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
}

/* =========================================================
   13. PRODUCT DETAIL PAGE
   ========================================================= */

.detail-hero {
    position: relative;
    min-height: 450px;
    padding: 150px 0 100px;
    background: url("../static/image/IMG_9052.jpg") center center / cover;
    color: #fff;
    text-align: center;
}

.detail-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
}

.detail-hero p {
    font-size: clamp(16px, 2vw, 20px);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0;
}

.spec-section {
    padding: 5px 0;
    background: #f8fafc;
    text-align: center;
}

.spec-section h2 {
    font-size: clamp(24px, 4vw, 30px);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 25px;
    max-width: 700px;
    margin: 40px auto;
}

.spec-card {
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.gallery {
    padding: 10px;
}

.gallery-container h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-grid video {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 15px;
}

.cta-section {
    margin-bottom: 20px;
    padding: 100px 20px;
    background: linear-gradient(135deg, #15803d, #042850);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(30px, 5vw, 48px);
}

.cta-section p {
    font-size: clamp(16px, 2vw, 20px);
}

/* =========================================================
   14. SHARED HOVER CARDS
   ========================================================= */

.feature-card,
.service-card,
.vision-box,
.quality-item {
    will-change: transform;
}

/* =========================================================
   15. TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {

    .container {
        width: 92%;
    }

    .hero-wrapper {
        gap: 35px;
    }

    .hero-left h1 {
        font-size: 52px;
    }

    .hero-right {
        flex-basis: 320px;
    }

    .about-wrapper {
        gap: 35px;
    }

    .products_corousel,
    .category-section {
        padding: 70px 0;
    }

    #productSlider .category-card,
    .product-track .category-card,
    .category-section .category-card {
        flex-basis: 250px;
        width: 250px;
        min-width: 250px;
        max-width: 250px;
        height: 360px;
    }

    #productSlider .main-img,
    .product-track .main-img,
    .category-section .main-img {
        height: 220px;
        max-width: 205px;
    }

    #productSlider .side-img,
    .product-track .side-img,
    .category-section .side-img {
        width: 100px;
        height: 100px;
    }

    #productSlider .side-img.left,
    #productSlider .side-img.right,
    .product-track .side-img.left,
    .product-track .side-img.right,
    .category-section .side-img.left,
    .category-section .side-img.right {
        top: 140px;
    }
}

/* =========================================================
   16. MOBILE <= 768px
   ========================================================= */

@media (max-width: 768px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ---------- Navbar ---------- */

    .navbar {
        padding: 10px 0;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    }

    .nav-wrapper {
        min-height: 60px;
        padding: 0 20px;
    }

    .navbar .logo {
        flex: 0 0 auto;
    }

    .navbar .logo-img {
        height: 42px;
        max-width: 190px;
    }

    .navbar .logo span {
        color: #1b1b1b;
    }

    .navbar nav,
    .navbar .btn-wa {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    @media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .desktop-nav,
    .desktop-wa {
        display: none !important;
    }

    .nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: block;
        background: #ffffff;
        padding: 0 25px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition:
            max-height .35s ease,
            opacity .25s ease,
            padding .35s ease,
            visibility .35s ease;
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
        box-sizing: border-box;
        z-index: 1000;
    }


    /* MENU TERBUKA */

    .mobile-menu.active {
        max-height: 500px;
        padding-top: 15px;
        padding-bottom: 20px;
        opacity: 1;
        visibility: visible;
    }


    /* LIST */

    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }


    .mobile-menu li {
        border-bottom: 1px solid #eef1f5;
    }


    .mobile-menu li:last-child {
        border-bottom: none;
    }


    /* LINK */

    .mobile-menu a {
        display: flex;
        align-items: center;
        min-height: 52px;
        color: #1C304E;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
    }


    /* WHATSAPP */

    .mobile-menu .mobile-wa {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 48px;
        margin-top: 15px;
        padding: 0 20px;
        border-radius: 50px;
        background: #25D366;
        color: #ffffff !important;
        font-weight: 700;
        box-sizing: border-box;
    }


    .mobile-menu .mobile-wa i {
        font-size: 19px;
    }


    /* =========================
       HAMBURGER → X
    ========================= */

    .menu-toggle.active span:nth-child(1) {
        transform:
            translateY(8px)
            rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-8px)
            rotate(-45deg);
    }

}


    /* ---------- Hero ---------- */

    .hero {
        height: auto;
        min-height: 100svh;
    }

    .swiper-slide {
        min-height: 100svh;
    }

    .hero-wrapper {
        width: 100%;
        min-height: 100svh;
        padding: 110px 20px 55px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        text-align: center;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-left h1 {
        width: 100%;
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.08;
    }

    .hero-left p {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .stats {
        justify-content: center;
        gap: 25px;
        margin-top: 35px;
    }

    .hero-right {
        width: 100%;
        max-width: 320px;
        flex: 0 0 auto;
    }

    .feature-card {
        padding: 25px;
        border-radius: 22px;
    }

    /* ---------- Section Header ---------- */

    .section-header {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 40px;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.2;
    }

    .section-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* ---------- Services ---------- */

    .services {
        padding: 65px 0;
        overflow: hidden;
    }

    .services .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-grid {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        max-width: 520px;
        padding: 25px 20px;
        border-radius: 22px;
        text-align: center;
    }

    .service-card img {
        width: 145px;
        height: 145px;
        margin: 0 auto 18px;
    }

    .service-card h3 {
        margin-top: 10px;
        font-size: 20px;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    /* ---------- Product Catalog ---------- */

    .products_corousel,
    .category-section {
        padding: 65px 0 50px;
    }

    .products_corousel .container,
    .category-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .products_corousel .section-header,
    .category-section .section-header {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .products_corousel .section-header span,
    .category-section .section-header span {
        min-height: 48px;
        padding: 0 28px;
        font-size: 14px;
    }

    .products_corousel .section-header h2,
    .category-section .section-header h2 {
        margin-top: 20px;
        font-size: 34px;
    }

    .product-carousel,
    .product-slider {
        width: 100%;
        overflow: hidden;
    }

    .product-viewport {
        width: 100%;
        overflow: hidden;
    }

    #productSlider,
    .product-track {
        width: max-content;
        flex-wrap: nowrap;
        transform: translate3d(0, 0, 0);
    }

    #productSlider .category-card,
    .product-track .category-card,
    .category-section .category-card {
        flex: 0 0 100vw;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: 365px;
        min-height: 365px;
        padding: 0 20px;
        overflow: visible;
    }

    #productSlider .category-link,
    .product-track .category-link,
    .category-section .category-link {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    #productSlider .category-link::before,
    .category-section .category-link::before {
        display: none;
        content: none;
    }

    #productSlider .main-img,
    .product-track .main-img,
    .category-section .main-img {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: 215px;
        max-width: 220px;
        max-height: 225px;
        margin: 10px auto 0;
        transform: none;
        z-index: 10;
    }

    #productSlider .side-img,
    .product-track .side-img,
    .category-section .side-img {
        display: block;
        width: 105px;
        height: 105px;
        opacity: 1;
        visibility: visible;
        z-index: 30;
    }

    #productSlider .side-img.left,
    .product-track .side-img.left,
    .category-section .side-img.left {
        left: 5px;
        top: 55%;
        transform: translate(-5px, -50%) scale(1);
    }

    #productSlider .side-img.right,
    .product-track .side-img.right,
    .category-section .side-img.right {
        right: 5px;
        top: 55%;
        transform: translate(5px, -50%) scale(1);
    }

    #productSlider .category-card h3,
    #productSlider .category-card .product-name,
    .product-track .category-card h3,
    .product-track .category-card .product-name,
    .category-section .category-card h3,
    .category-section .category-card .product-name {
        width: 100%;
        max-width: 300px;
        min-height: 40px;
        margin: 8px auto 0;
        font-size: 15px;
        line-height: 1.4;
        z-index: 40;
    }

    .product-dots {
        position: relative;
        z-index: 50;
        margin: 10px auto 0;
    }

    /* Touch: no enlargement */

    #productSlider .category-card:hover .main-img,
    .product-track .category-card:hover .main-img,
    .category-section .category-card:hover .main-img {
        transform: none;
    }

    /* ---------- About ---------- */

    .about {
        padding: 65px 0;
        overflow: hidden;
    }

    .about-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 24px;
    }

    .about-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .about-content h2 {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.2;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .vision-grid {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .vision-box {
        width: 100%;
        padding: 24px 20px;
        border-radius: 22px;
        text-align: left;
    }

    /* ---------- Quality ---------- */

    .quality {
        padding: 70px 0 50px;
        overflow: hidden;
    }

    .quality-grid {
        width: 100%;
        flex-direction: column;
        gap: 18px;
        margin-top: 30px;
    }

    .quality-item {
        width: 100%;
        max-width: 100%;
        min-height: 72px;
    }

    /* ---------- Calculator ---------- */

    .calculator {
        padding: 65px 0;
    }

    .calculator-box {
        flex-direction: column;
        gap: 25px;
    }

    .calculator-form,
    .summary-card {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    /* ---------- Contact ---------- */

    .contact {
        padding: 65px 0;
        overflow: hidden;
    }

    .contact-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
    }

    /* ---------- Detail Page ---------- */

    .detail-hero {
        min-height: 380px;
        padding: 130px 20px 70px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 0;
    }

    .spec-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* ---------- Footer ---------- */

    .footer {
        padding: 55px 0 20px;
        overflow: hidden;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-channel-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 25px 20px;
        text-align: center;
    }

    .footer-social,
    .footer-marketplace {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================================================
   17. SMALL PHONE <= 480px
   ========================================================= */

@media (max-width: 480px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar .logo-img {
        height: 36px;
        max-width: 175px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
    }

    .hero-wrapper {
        padding: 105px 15px 50px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left h1 span {
        padding: 5px 9px;
    }

    .service-card {
        max-width: 100%;
        padding: 22px 18px;
    }

    .service-card img {
        width: 130px;
        height: 130px;
    }

    .products_corousel,
    .category-section {
        padding: 55px 0 40px;
    }

    .products_corousel .section-header,
    .category-section .section-header {
        margin-bottom: 25px;
    }

    .products_corousel .section-header span,
    .category-section .section-header span {
        min-height: 45px;
        padding: 0 24px;
        font-size: 13px;
    }

    .products_corousel .section-header h2,
    .category-section .section-header h2 {
        margin-top: 18px;
        font-size: 30px;
    }

    #productSlider .category-card,
    .product-track .category-card,
    .category-section .category-card {
        height: 350px;
        min-height: 350px;
        padding: 0 15px;
    }

    #productSlider .main-img,
    .product-track .main-img,
    .category-section .main-img {
        height: 200px;
        max-width: 200px;
        max-height: 210px;
    }

    #productSlider .side-img,
    .product-track .side-img,
    .category-section .side-img {
        width: 92px;
        height: 92px;
    }

    #productSlider .side-img.left,
    .product-track .side-img.left,
    .category-section .side-img.left {
        left: 3px;
        top: 55%;
    }

    #productSlider .side-img.right,
    .product-track .side-img.right,
    .category-section .side-img.right {
        right: 3px;
        top: 55%;
    }

    #productSlider .category-card h3,
    #productSlider .category-card .product-name,
    .product-track .category-card h3,
    .product-track .category-card .product-name,
    .category-section .category-card h3,
    .category-section .category-card .product-name {
        max-width: 280px;
        font-size: 14px;
    }

    .quality-item h3 {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        grid-column: auto;
        align-items: center;
    }

    .footer-logo-img {
        width: 150px;
    }

    .footer-logo p {
        font-size: 13px;
    }

    .footer-grid h4 {
        margin-bottom: 15px;
    }

    .footer li {
        font-size: 13px;
    }

    .footer-channel-wrapper {
        margin-top: 5px;
        padding: 25px 0;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .footer-marketplace a {
        padding: 9px 13px;
        font-size: 11px;
    }

    .footer-copyright p {
        font-size: 10px;
    }
}

/* =========================================================
   18. EXTRA SMALL PHONE <= 380px
   ========================================================= */

@media (max-width: 380px) {

    .navbar .logo-img {
        height: 34px;
        max-width: 165px;
    }

    .hero-left h1 {
        font-size: 30px;
    }

    .products_corousel .section-header h2,
    .category-section .section-header h2 {
        font-size: 28px;
    }

    #productSlider .category-card,
    .product-track .category-card,
    .category-section .category-card {
        height: 340px;
        min-height: 340px;
    }

    #productSlider .main-img,
    .product-track .main-img,
    .category-section .main-img {
        height: 190px;
        max-height: 200px;
    }

    #productSlider .category-card h3,
    #productSlider .category-card .product-name,
    .product-track .category-card h3,
    .product-track .category-card .product-name,
    .category-section .category-card h3,
    .category-section .category-card .product-name {
        max-width: 270px;
        font-size: 13px;
    }
}

/* =========================================================
   FIX KATALOG PRODUK - MOBILE
   SIDE IMAGE / MAKANAN TIDAK BOLEH MUNCUL DI HP
========================================================= */

@media (max-width: 768px) {

    /* Sembunyikan semua gambar makanan/samping */
    .category-card .side-img,
    .product-viewport .side-img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Matikan efek hover pada card */
    .category-card:hover {
        transform: none !important;
        scale: 1 !important;
    }

    /* Matikan efek hover pada gambar utama */
    .category-card:hover .main-img {
        transform: none !important;
        scale: 1 !important;
    }

    /* Pastikan link tidak memunculkan efek hover */
    .category-card:hover .category-link {
        transform: none !important;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 480px) {

    .category-card .side-img,
    .product-viewport .side-img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .category-card:hover,
    .category-card:hover .main-img,
    .category-card:hover .category-link {
        transform: none !important;
        scale: 1 !important;
    }

}