/*
Theme Name: Emping Melinjo
Theme URI: https://id.emping.my.id/
Author: Emping Melinjo
Description: Tema WordPress khusus untuk website Emping Melinjo.
Version: 1.0.0
Text Domain: emping-melinjo
*/

/* =========================================================
           RESET & DASAR
           ========================================================= */

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            color: #333;
            background: #fff;
            line-height: 1.6;
        }

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

        a {
            text-decoration: none;
        }

        button {
            font-family: inherit;
        }

        .container {
            width: min(1120px, calc(100% - 40px));
            margin: 0 auto;
        }

        /* =========================================================
           HEADER
           ========================================================= */

        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.97);
            border-bottom: 1px solid #eee;
        }

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

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #222;
        }

        .brand-logo {
            width: 48px;
            height: 48px;
            object-fit: contain;
            border-radius: 10px;
        }

        .brand-text {
            font-size: 21px;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
        }

        .nav-menu a {
            color: #444;
            font-size: 15px;
            font-weight: 600;
            transition: 0.25s ease;
        }

        .nav-menu a:hover {
            color: #b7791f;
        }

        .nav-button {
            background: #2E7D32 !important;
            color: #fff !important;
            padding: 11px 19px;
            border-radius: 8px;
        }

        .nav-button:hover {
            background: #2E7D32 !important;
        }

        .menu-toggle {
            display: none;
            border: 0;
            background: transparent;
            font-size: 30px;
            cursor: pointer;
            color: #333;
        }

        /* =========================================================
           HERO
           ========================================================= */

        .hero {
            background:
                linear-gradient(135deg, #fffaf0 0%, #fff 55%, #fdf5e6 100%);
            padding: 90px 0;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            align-items: center;
            gap: 70px;
        }

        .hero-badge {
            display: inline-block;
            background: #f8e8c8;
            color: #8b5a15;
            padding: 8px 15px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .hero h1 {
            font-size: clamp(40px, 6vw, 68px);
            line-height: 1.05;
            color: #242424;
            margin-bottom: 22px;
        }

        .hero h1 span {
            color: #b7791f;
        }

        .hero-description {
            max-width: 650px;
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 0 22px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 700;
            transition: 0.25s ease;
        }

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

        .btn-primary:hover {
            background: #965f14;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: #43A047;
            color: #8b5a15;
            border: 1px solid #d8b77a;
        }

        .btn-secondary:hover {
            background: #fff8eb;
            transform: translateY(-2px);
        }

        .hero-image {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-image img {
            width: min(100%, 420px);
            max-height: 420px;
            object-fit: contain;
            border-radius: 20px;
        }

.hero-stores {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    margin-top: 10px;
}

.hero-store {
    width: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 10px;
    font-weight: 700;
}

.hero-store img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    display: block;
    margin-bottom: 4px;
}

.hero-store:hover {
    transform: scale(1.08);
}

        /* =========================================================
           SECTION UMUM
           ========================================================= */

        section {
            padding: 85px 0;
        }

        .section-heading {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 50px;
        }

        .section-heading .label {
            color: #b7791f;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .section-heading h2 {
            font-size: clamp(30px, 4vw, 43px);
            line-height: 1.15;
            color: #222;
            margin-bottom: 14px;
        }

        .section-heading p {
            color: #777;
            font-size: 16px;
        }

        /* =========================================================
           KEUNGGULAN
           ========================================================= */

        .advantages {
            background: #fff;
        }

        .advantage-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .advantage-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 15px;
            padding: 30px 25px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
        }

        .advantage-icon {
            width: 58px;
            height: 58px;
            margin: 0 auto 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff3dc;
            border-radius: 50%;
            font-size: 27px;
        }

        .advantage-card h3 {
            font-size: 19px;
            margin-bottom: 10px;
            color: #292929;
        }

        .advantage-card p {
            color: #777;
            font-size: 14px;
        }

        /* =========================================================
           PRODUK
           ========================================================= */

        .products-section {
            background: #faf9f6;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .product-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
            transition: 0.25s ease;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
        }

        .product-image {
            position: relative;
            height: 260px;
            background: #f7f4ed;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-number {
            position: absolute;
            top: 14px;
            left: 14px;
            background: #b7791f;
            color: #fff;
            padding: 6px 11px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 800;
        }

        .product-body {
            padding: 23px;
        }

        .product-body h3 {
            font-size: 22px;
            color: #292929;
            margin-bottom: 8px;
        }

        .product-body p {
            color: #707070;
            font-size: 14px;
            min-height: 66px;
            margin-bottom: 15px;
        }

        .product-price {
            color: #b7791f;
            font-weight: 800;
            font-size: 16px;
            margin-bottom: 17px;
        }

        .product-buttons {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 15px;
}

.product-button {
    width: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    border: none;
    padding: 0;
}

.product-button img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    margin-bottom: 5px;
}

.product-button:hover {
    transform: scale(1.08);
}
/* =========================================================
           TENTANG
           ========================================================= */

        .about {
            background: #fff;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 60px;
            align-items: center;
        }

        .about-image {
            background: #fff8eb;
            border-radius: 20px;
            padding: 30px;
        }

        .about-image img {
            width: 100%;
            max-height: 400px;
            object-fit: contain;
            border-radius: 15px;
        }

        .about-content .label {
            color: #b7791f;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-content h2 {
            font-size: clamp(30px, 4vw, 43px);
            line-height: 1.15;
            margin: 10px 0 18px;
            color: #222;
        }

        .about-content p {
            color: #666;
            margin-bottom: 15px;
        }

        .about-list {
            list-style: none;
            margin-top: 22px;
        }

        .about-list li {
            margin-bottom: 12px;
            color: #444;
            font-weight: 600;
        }

        .about-list li::before {
            content: "✓";
            color: #b7791f;
            font-weight: 900;
            margin-right: 10px;
        }

        /* =====================================================
   MARKETPLACE
   ===================================================== */

.marketplace {
    background: #27E7F5;
    padding: 80px 0;
}


/* BOX UTAMA */

.marketplace-box {
    background: #ffffff;

    border-radius: 24px;

    padding: 50px 30px;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.10);
}


/* JUDUL */

.marketplace-box h2 {
    margin: 0 0 12px;

    font-size: 32px;

    font-weight: 800;

    color: #222;
}


/* DESKRIPSI */

.marketplace-box p {
    margin: 0 auto 38px;

    max-width: 700px;

    font-size: 16px;

    line-height: 1.6;

    color: #666;
}


/* =====================================================
   DAFTAR MARKETPLACE
   ===================================================== */

.marketplace-list {
    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 20px;

    flex-wrap: wrap;
}


/* =====================================================
   CARD MARKETPLACE
   ===================================================== */

.marketplace-card {
    width: 190px;

    min-height: 175px;

    padding: 25px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    background: #ffffff;

    border-radius: 18px;

    border: 2px solid transparent;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =====================================================
   LOGO
   ===================================================== */

.marketplace-logo {
    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    margin-bottom: 15px;

    transition:
        transform 0.25s ease;
}


.marketplace-logo img {
    width: 42px;

    height: 42px;

    display: block;
}


/* =====================================================
   NAMA MARKETPLACE
   ===================================================== */

.marketplace-card strong {
    font-size: 18px;

    font-weight: 800;

    margin-bottom: 6px;
}


/* DESKRIPSI */

.marketplace-card span {
    font-size: 13px;

    color: #777;
}


/* =====================================================
   WARNA SHOPEE
   ===================================================== */

.marketplace-card.shopee {
    border-color: #EE4D2D;
}

.marketplace-card.shopee .marketplace-logo {
    background: #FFF0EC;
}

.marketplace-card.shopee strong {
    color: #EE4D2D;
}


/* =====================================================
   WARNA TOKOPEDIA
   ===================================================== */

.marketplace-card.tokopedia {
    border-color: #42B549;
}

.marketplace-card.tokopedia .marketplace-logo {
    background: #ECF9ED;
}

.marketplace-card.tokopedia strong {
    color: #42B549;
}


/* =====================================================
   WARNA LAZADA
   ===================================================== */

.marketplace-card.lazada {
    border-color: #0F146D;
}

.marketplace-card.lazada .marketplace-logo {
    background: #EEF0FF;
}

.marketplace-card.lazada strong {
    color: #0F146D;
}


/* =====================================================
   HOVER
   ===================================================== */

.marketplace-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.16);
}


.marketplace-card:hover .marketplace-logo {
    transform: scale(1.08);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    .marketplace {
        padding: 55px 15px;
    }

    .marketplace-box {
        padding: 38px 18px;

        border-radius: 20px;
    }

    .marketplace-box h2 {
        font-size: 27px;
    }

    .marketplace-box p {
        font-size: 15px;

        margin-bottom: 28px;
    }

    .marketplace-list {
        gap: 12px;
    }

    .marketplace-card {
        width: calc(50% - 6px);

        min-height: 160px;

        padding: 20px 12px;
    }

}


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

@media (max-width: 420px) {

    .marketplace-card {
        width: 100%;

        min-height: 145px;
    }

}


/* =========================================================
           CTA
           ========================================================= */

        .cta {
            padding: 75px 0;
        }

        .cta-box {
            background: linear-gradient(135deg, #b7791f, #8b5a15);
            color: #fff;
            border-radius: 20px;
            padding: 55px 35px;
            text-align: center;
        }

        .cta-box h2 {
            font-size: clamp(28px, 4vw, 42px);
            line-height: 1.15;
            margin-bottom: 14px;
        }

        .cta-box p {
            max-width: 650px;
            margin: 0 auto 25px;
            opacity: 0.9;
        }

        .cta-box .btn {
            background: #43A047;
            color: #8b5a15;
        }

        .cta-box .btn:hover {
            background: #fff8eb;
        }

        /* =========================================================
           FOOTER
           ========================================================= */

        footer {
            background: #202020;
            color: #fff;
            padding: 50px 0 25px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 0.8fr;
            gap: 45px;
            padding-bottom: 35px;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .footer-brand img {
            width: 45px;
            height: 45px;
            object-fit: contain;
            border-radius: 8px;
        }

        .footer h3 {
            font-size: 17px;
            margin-bottom: 15px;
        }

        .footer p {
            color: #bbb;
            font-size: 14px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 9px;
        }

        .footer-links a {
            color: #bbb;
            font-size: 14px;
            transition: 0.2s;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid #3b3b3b;
            padding-top: 22px;
            text-align: center;
            color: #999;
            font-size: 13px;
        }

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

        @media (max-width: 950px) {

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-description {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-image {
                order: -1;
            }

            .hero-image img {
                width: min(100%, 330px);
            }

            .advantage-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

            .about-image {
                max-width: 600px;
                margin: 0 auto;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

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

        @media (max-width: 700px) {

            .container {
                width: min(100% - 28px, 600px);
            }

            header {
                position: relative;
            }

            .navbar {
                min-height: 68px;
            }

            .brand-text {
                font-size: 18px;
            }

            .brand-logo {
                width: 42px;
                height: 42px;
            }

            .menu-toggle {
                display: block;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 68px;
                left: 0;
                width: 100%;
                padding: 15px;
                background: #fff;
                border-bottom: 1px solid #eee;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
                flex-direction: column;
                align-items: stretch;
                gap: 0;
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu li {
                width: 100%;
            }

            .nav-menu a {
                display: block;
                padding: 13px 10px;
            }

            .nav-button {
                text-align: center;
                margin-top: 5px;
            }

            .hero {
                padding: 60px 0;
            }

            .hero h1 {
                font-size: 42px;
            }

            .hero-description {
                font-size: 16px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .hero-buttons .btn {
                width: 100%;
            }

            section {
                padding: 65px 0;
            }

            .section-heading {
                margin-bottom: 35px;
            }

            .advantage-grid,
            .product-grid {
                grid-template-columns: 1fr;
            }

            .product-image {
                height: 270px;
            }

            .about-content h2 {
                font-size: 32px;
            }

            .marketplace-box {
                padding: 28px 18px;
            }
.cta {
                padding: 55px 0;
            }

            .cta-box {
                padding: 40px 22px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }
    
/* ================= RESPONSIVE TAMBAHAN ================= */
@media (max-width:1024px){
.container{width:min(100% - 32px,900px)}
.navbar{gap:18px}.nav-menu{gap:18px}
.hero-content{gap:35px}.hero{padding:65px 0}
.hero h1{font-size:clamp(38px,6vw,58px)}
.product-grid{grid-template-columns:repeat(2,1fr)}
.about-grid{gap:35px}
}
@media (max-width:700px){
html,body{width:100%;max-width:100%;overflow-x:hidden}
.container{width:calc(100% - 28px);max-width:100%}
header{position:sticky;top:0}
.navbar{min-height:66px;gap:10px}
.brand{min-width:0;gap:9px}
.brand-logo{width:42px;height:42px;flex-shrink:0}
.brand-text{font-size:17px;white-space:nowrap}
.menu-toggle{display:block;width:44px;height:44px;flex-shrink:0}
.nav-menu{display:none;position:absolute;top:66px;left:0;width:100%;padding:10px 14px 16px;background:#fff;border-bottom:1px solid #eee;box-shadow:0 10px 25px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;gap:0}
.nav-menu.active{display:flex}
.nav-menu li,.nav-menu a{width:100%}
.nav-menu a{display:block;padding:13px 10px}
.nav-button{margin-top:4px;text-align:center}
.hero{padding:42px 0}
.hero-content{grid-template-columns:1fr;gap:30px;text-align:center}
.hero-content>div:first-child{order:1}.hero-image{order:2}
.hero-badge{font-size:12px;padding:7px 12px;margin-bottom:15px}
.hero h1{font-size:clamp(34px,10vw,46px);line-height:1.08;margin-bottom:17px}
.hero-description{font-size:16px;line-height:1.65;margin-bottom:24px}
.hero-buttons{flex-direction:column;width:100%;gap:11px}
.hero-buttons .btn{width:100%;min-height:50px}
.hero-image img{width:min(85vw,320px);max-height:320px;margin:0 auto}
section{padding:58px 0}
.section-heading{margin-bottom:32px}
.section-heading h2{font-size:clamp(28px,8vw,36px)}
.section-heading p{font-size:15px;line-height:1.65}
.advantage-grid{grid-template-columns:1fr;gap:16px}
.advantage-card{padding:25px 20px}
.product-grid{grid-template-columns:1fr;gap:20px}
.product-card{width:100%}
.product-image{height:250px}
.product-body{padding:20px}
.product-body h3{font-size:21px}
.product-body p{min-height:auto;font-size:14px;line-height:1.65}
.product-button{min-height:48px}
.about-grid{grid-template-columns:1fr;gap:28px}
.about-image{padding:18px}
.about-content h2{font-size:clamp(28px,8vw,36px)}
.marketplace-box{padding:28px 18px}
.cta{padding:48px 0}
.cta-box{padding:38px 20px;border-radius:16px}
.cta-box h2{font-size:clamp(27px,8vw,36px)}
.cta-box p{font-size:15px;line-height:1.65}
.cta-box .btn{width:100%}
footer{padding:42px 0 22px}
.footer-grid{grid-template-columns:1fr;gap:28px;text-align:center}
.footer-brand{justify-content:center}
}
@media (max-width:380px){
.container{width:calc(100% - 22px)}
.brand-logo{width:38px;height:38px}
.brand-text{font-size:16px}
.menu-toggle{width:40px;height:40px;font-size:27px}
.hero{padding:34px 0}
.hero h1{font-size:33px}
.hero-description{font-size:15px}
.hero-image img{width:min(82vw,285px)}
.product-image{height:225px}
.product-body{padding:18px}
.cta-box{padding:32px 17px}
}