:root {
    --brand-primary: #d6a17a; /* warna rose gold/lembut */
    --brand-dark: #3e3e3e;
    --brand-light: #fdf9f6;
    --font-heading: "Lora", serif;
    --font-body: "Lora", sans-serif;
}

body {
    padding-top: 70px;
    font-family: var(--font-body);
    background-color: var(--brand-light);
    color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: #2e2e2e;
}

.fs-xs {
    font-size: 0.75rem; /* 12px */
}
.top-bar {
    height: 35px;
    font-size: 0.85rem;
    background-color: #e9ecef;
    border-bottom: 1px solid #ccc;
    z-index: 1040;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: #555;
}
.navbar {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px; /* pastikan tinggi tetap */
}

.navbar-brand img {
    height: 100%;
    max-height: 50px; /* Boleh adjust sesuai proporsi logo */
    width: auto;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
}

.navbar-brand {
    color: #666 !important;
}
/* Style dasar untuk menu */
.navbar-nav .nav-link {
    position: relative;
    color: #333;
    padding: 0 1.2rem;
    font-weight: 500;
    border-right: 1px solid #e0e0e0; /* Garis vertikal */
}
.navbar-nav .nav-link {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
}
/* Hapus warna saat hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #333; /* Tetap warna default */
}

/* Garis bawah saat hover/aktif */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: #888; /* Abu/silver */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
/* Tampilkan garis bawah saat hover/aktif */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    opacity: 1;
}

/* Hapus border kanan pada menu terakhir */
.navbar-nav .nav-item:last-child .nav-link {
    border-right: none;
}
.btn-brand {
    background: var(--brand-primary);
    color: white;
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
}

.btn-brand:hover {
    background: #b87d59;
    transform: translateY(-2px) scale(1.05);
}
.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.section-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

footer {
    background: #343a40;
    color: #dee2e6;
    padding-top: 20px;
}
footer h5 {
    color: #dee2e6;
}
footer a {
    color: #ced4da;
}
footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.hero-slide {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
}

@media (max-width: 768px) {
    .hero-slide {
        height: auto;
    }

    .hero-img {
        height: auto;
        max-height: 75vh; /* agar tidak terlalu tinggi */
        border-radius: 0 0 30px 30px;
    }

    .carousel-item {
        height: auto !important;
    }
}
.hero-img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 2s ease;
    /*border-radius: 0 0 50px 50px;*/
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.animate-zoom.carousel-item.active .hero-img {
    transform: scale(1.06);
}
.hero-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at bottom right,
        rgba(0, 0, 0, 0.15),
        transparent 70%
    );
    pointer-events: none;
    z-index: 2;
}
.custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 12px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}
.custom-nav i {
    font-size: 1rem;
    color: #333;
}
.custom-nav:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev {
    left: 20px;
}
.carousel-control-next {
    right: 20px;
}
.carousel-indicators [data-bs-target] {
    background-color: #666;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.carousel-indicators .active {
    background-color: #000;
    opacity: 1;
}
/* Mega menu container */
.megamenu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border-radius: 0 0 12px 12px;
    background-color: white;
    border: none;
    display: none;
    position: absolute;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-item.dropdown:hover .megamenu {
    display: block;
}

/* Elegant text & link style */
.megamenu .dropdown-item {
    font-size: 0.95rem;
    color: #444;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.megamenu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #222;
}

/* Section titles */
.megamenu h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: #6c757d;
}

.produk-card {
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}
.produk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper {
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease;
    display: block;
}

.img-wrapper img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.img-wrapper:hover img.hover-img {
    opacity: 1;
}

.img-wrapper:hover img.main-img {
    opacity: 0;
}

.card-body {
    padding: 0.75rem;
    text-align: left;
}

.card-body .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.card-body .text-primary {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.card-body .card-text {
    color: #777;
    font-size: 0.88rem;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #333;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
    color: #000;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

#produk-page .form-select,
#produk-page input[type="text"] {
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: none;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

#productList .produk-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#productList {
    margin-top: 10px;
}

#produk-page .card.produk-card {
    max-width: 100%;
}

.produk-tabs .tab-btn {
    background: none;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 8px;
    position: relative;
    color: #444;
    cursor: pointer;
}

.produk-tabs .tab-btn.active {
    color: #000;
}

.produk-tabs .tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #999; /* Bisa pakai warna branding (abu silver misalnya) */
}

/*store*/

.store-item {
    transition: 0.3s;
}
.store-item:hover {
    background-color: #f8f9fa;
}
.store-social a {
    color: #555;
    margin-right: 10px;
    font-size: 1.2rem;
}
.store-social a:hover {
    color: #0d6efd;
}

.ribbon {
    width: 75px;
    height: 75px;
    overflow: hidden;
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: 10;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 100px;
    padding: 5px 0;
    background: #dc3545; /* merah bootstrap */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    top: 20px;
    left: -20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.android-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #28a745;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.android-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
