/* --- VARIABLES --- */
:root {
    --primary-color: #0f3d3e;
    --secondary-color: #c5a357;
    --gold: #b38e44;
    --dark: #072e27;
    --white: #ffffff;
    --grey-light: #f4f7f6;
    --dark-green: #072e27;
    --gold-hover: #967536;
    --text-gray: #64748b;
    --text-grey: #555;
    --bg-light: #fff;
}

/* --- RESET DASAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text-grey);
    line-height: 1.6;
    background-color: var(--bg-light);
    padding-top: 70px; /* supaya konten tidak ketiban navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* back button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1.5px solid #0b3b34;
    color: #0b3b34;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    position: absolute;
    top: 110px;
    left: 5%;
    z-index: 10;
}

.btn-back:hover {
    background: #0b3b34;
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* section */
.katalog-section {
    padding: 200px 40px;
}

/* Header */
.katalog-header {
    text-align: center;
    margin-bottom: 50px;
}

.katalog-header .sub {
    font-size: 12px;
    letter-spacing: 2px;
    color: #a4a4a4;
}

.katalog-header h2 {
    font-size: 32px;
    margin: 10px 0;
    color: #222;
}

.line {
    width: 60px;
    height: 3px;
    background: #caa25d;
    margin: auto;
}

/* grid */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* card */
.produk-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.produk-card:hover {
    transform: translateY(-5px);
}

/* image */
.produk-img-box {
    padding: 0;
}

.produk-img {
    position: relative;
    line-height: 0;
}

.produk-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* badge diskon */
.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ff4b4b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 5;
}

/* info */
.produk-info {
    padding: 18px;
}

.produk-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.desc {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

/* rating */
.rating {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.rating i {
    color: #f7b500;
}

/* price */
.price {
    margin-bottom: 15px;
}

.harga-baru {
    font-weight: 700;
    font-size: 18px;
    color: #222;
    margin-right: 10px;
}

.harga-lama {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

/* buttons */
.btn-group {
    display: flex;
    gap: 10px;
}

.btn-shopee {
    flex: 1;
    background: #d4a25a;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.btn-tiktok {
    flex: 1;
    background: #0b3b34;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.is-disabled {
    opacity: 0.5; 
    pointer-events: none; 
    cursor: not-allowed; 
    filter: grayscale(80%); 
}

/* responsive */
@media (max-width: 1000px) {
    .produk-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .produk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .katalog-section {
        padding: 180px 20px 80px;
    }
}

@media (max-width: 500px) {
    .produk-grid {
        grid-template-columns: 1fr;
    }

    .btn-back {
        top: 90px;
        left: 20px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .katalog-section {
        padding: 160px 15px 60px;
    }
}

@media (min-width: 768px) {
    .nav-konsultasi-mobile {
        display: none !important;
    }
}





.nav-links a {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important; /* Ukuran font sesuai style.css */
    font-weight: 100 !important; /* Ketebalan sesuai style.css */
    transition: 0.3s !important;
}

