/* =========================
   GLOBAL
========================= */
body {
    background:#F5F1E8;
    font-family:'Inter', sans-serif;
    color:#1C1C1C;
}

.brand-font {
    font-family:'Playfair Display', serif;
    letter-spacing:4px;
}

/* =========================
   BUTTON
========================= */
.btn-katumiri {
    background:#1C1C1C;
    color:#fff;
    border-radius:0;
    letter-spacing:2px;
    padding:12px 28px;
    font-size:12px;
}

.btn-katumiri:hover {
    background:#4A5B47;
    color:#fff;
}

/* =========================
   HERO
========================= */
.hero-section {
    padding: 100px 20px;
    background: linear-gradient(180deg,#F5F1E8,#ffffff);
    animation: fadeIn 1s ease;
}

.hero-title {
    font-size: 42px;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #777;
    margin-bottom: 25px;
}

/* =========================
   CATEGORY SCROLL
========================= */
.category-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.category-pill {
    padding: 8px 16px;
    border: 1px solid #ddd;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    transition: .2s;
}

.category-pill:hover,
.category-pill.active {
    background: #1C1C1C;
    color: #fff;
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
    background: #fff;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .4s;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* PRELOVED BADGE */
.badge-preloved {
    position: absolute;
    top: 10px;
    left: 10px;
    background: black;
    color: white;
    font-size: 10px;
    padding: 6px 10px;
}

/* SOLD OUT */
.sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 2px;
}

/* PRODUCT INFO */
.product-info {
    text-align: center;
    padding: 15px;
}

.product-info h6 {
    font-weight: 600;
}

.product-info small {
    color: #888;
}

.price {
    font-weight: bold;
    margin: 10px 0;
}

/* BUTTON VIEW */
.btn-view {
    border: 1px solid #1C1C1C;
    padding: 6px 14px;
    font-size: 11px;
    text-decoration: none;
    color: #1C1C1C;
    transition: .2s;
}

.btn-view:hover {
    background: #1C1C1C;
    color: #fff;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85) !important;
}

/* =========================
   FOOTER
========================= */
footer {
    background:#1C1C1C;
    color:#F5F1E8;
    padding:50px 0;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   MOBILE NAV FINAL
========================= */

/* container */
.mobile-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 65px;

    background: #ffffff;

    display: flex;
    justify-content: space-around;
    align-items: center;

    border-top: 1px solid #eee;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);

    z-index: 9999; /* di atas semua */
}

/* item */
.mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    color: #444;

    cursor: pointer;
    transition: 0.2s;
}

/* icon */
.mobile-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

/* text */
.mobile-nav .nav-item span {
    font-size: 11px;
}

/* active state */
.mobile-nav .nav-item.active {
    color: #000;
    font-weight: 600;
}

/* hover effect */
.mobile-nav .nav-item:active {
    transform: scale(0.95);
}

/* =========================
   MOBILE ONLY
========================= */
@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

/* =========================
   BODY SPACING (PENTING)
========================= */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* biar tidak ketutup nav */
    }
}

/* Mengatur tombol di pojok kanan bawah */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block; /* Sembunyikan secara default */
    z-index: 9999; /* Pastikan di atas elemen lain */
    width: 50px;
    height: 50px;
    padding: 10px;
    text-align: center;
    border-radius: 50%;
    
    /* Optional: Efek halus */
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}

/* Tampilkan tombol saat di-hover */
#btn-back-to-top:hover {
    background-color: #0d6efd; /* Sesuaikan dengan warna primer bootstrap */
    cursor: pointer;
}

/* Opsional: Membuat scroll halus */
html {
    scroll-behavior: smooth;
}
.wa-button {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 55px;
    height: 55px;

    background: #25D366;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 24px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.25);

    z-index: 9999; /* paling atas */
    transition: 0.3s ease;

    animation: pulse 2s infinite;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 30px;
    font-family: 'Playfair Display', serif;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}