/* ============================================================
   public/css/style.css
   GriyaGorden — Elegant Minimalist Theme
   Mobile-First Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
    --gold:        #b8965a;
    --gold-dark:   #9a7a3e;
    --gold-light:  #d4b07a;
    --cream:       #f9f6f1;
    --cream-dark:  #f0ebe2;
    --dark:        #1e1810;
    --dark-mid:    #2c2218;
    --brown:       #3a2f1e;
    --brown-mid:   #6a5a3a;
    --brown-light: #9a8a6a;
    --white:       #ffffff;
    --text-primary:   #1e1810;
    --text-secondary: #6a5a3a;
    --text-muted:     #9a8a6a;
    --border:      rgba(58,47,30,0.12);
    --border-mid:  rgba(58,47,30,0.22);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', sans-serif;
    --transition:  0.25s ease;
    --radius-sm:   2px;
    --radius-md:   4px;
    --radius-lg:   8px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 24px); }

.eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section     { padding: 3rem 0; }
.section-sm  { padding: 2rem 0; }
@media (min-width: 768px) {
    .section    { padding: 5rem 0; }
    .section-sm { padding: 3rem 0; }
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 8px;
}
@media (min-width: 768px) { .section-header { margin-bottom: 2.5rem; } }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
}

.section-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
    white-space: nowrap;
}
.section-link:hover { gap: 8px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary   { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline   { background: transparent; color: var(--text-primary); border-color: var(--border-mid); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark      { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-mid); }
.btn-white     { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--cream); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--white); }
.btn-sm  { padding: 8px 16px; font-size: 11px; }
.btn-lg  { padding: 14px 32px; font-size: 12px; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.navbar-top {
    background: var(--dark);
    text-align: center;
    padding: 7px 1rem;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--brown-light);
    display: none;
}
@media (min-width: 768px) { .navbar-top { display: block; } }
.navbar-top a { color: var(--gold-light); }

.navbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 1.25rem;
}
@media (min-width: 768px) {
    .navbar-main { height: 70px; padding: 0 2rem; max-width: 1280px; margin: 0 auto; }
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
    flex-shrink: 0;
}
.navbar-logo span { color: var(--gold); }

/* Desktop nav */
.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 992px) { .navbar-nav { display: flex; } }
.navbar-nav a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
}
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--text-primary); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (min-width: 768px) { .navbar-actions { gap: 1.25rem; } }

.navbar-actions a,
.navbar-actions button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 20px;
    transition: color var(--transition);
    padding: 0;
}
.navbar-actions a:hover,
.navbar-actions button:hover { color: var(--text-primary); }

.navbar-icon-desktop { display: none; }
@media (min-width: 768px) { .navbar-icon-desktop { display: flex; } }

.cart-count {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 500;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.navbar-divider {
    width: 1px; height: 16px;
    background: var(--border);
    display: none;
}
@media (min-width: 768px) { .navbar-divider { display: block; } }

/* Hamburger */
.navbar-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
@media (min-width: 992px) { .navbar-hamburger { display: none; } }
.navbar-hamburger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    padding: 80px 2rem 2rem;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; flex-direction: column; }
@media (min-width: 992px) { .mobile-menu { display: none !important; } }

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border);
}
.mobile-menu-nav a {
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu-nav a:hover { color: var(--gold); }

.mobile-menu-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.mobile-menu-actions .btn { flex: 1; }

/* User dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 190px;
    padding: 8px 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
}
.user-dropdown.open { display: block; }
.user-dropdown-header {
    padding: 10px 16px 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.user-dropdown a, .user-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
    font-family: var(--font-body);
}
.user-dropdown a:hover,
.user-dropdown button:hover { background: var(--cream); color: var(--text-primary); }
.user-dropdown i { font-size: 17px; flex-shrink: 0; }
.user-dropdown-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* Search bar */
.search-bar {
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 1.25rem;
}
.search-bar.open { display: block; }
.search-bar-inner {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}
.search-bar input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 14px;
    background: var(--white);
}
.search-bar input:focus { border-color: var(--gold); }

/* Flash */
.flash {
    padding: 11px 1.25rem;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}
.flash-success { background: #eaf3de; color: #3b6d11; }
.flash-error   { background: #fcebeb; color: #a32d2d; }
.flash-info    { background: #e6f1fb; color: #185fa5; }
.flash-warning { background: #faeeda; color: #854f0b; }

/* ── Hero Slider ──────────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--dark);
    height: 100svh;
    max-height: 700px;
    min-height: 480px;
}
@media (max-width: 767px) {
    .hero-slider { max-height: 580px; min-height: 420px; }
}

.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.hero-slide img {
    /* Absolute agar selalu full-cover container di semua ukuran layar */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* text overlay — desktop: teks langsung di atas foto */
.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 2;
}
@media (min-width: 768px) { .hero-slide-content { padding: 0 5%; } }
@media (min-width: 1200px) { .hero-slide-content { padding: 0 8%; } }

/* Mobile: gradient gelap di bawah agar teks selalu terbaca */
@media (max-width: 767px) {
    .hero-slide-content {
        align-items: flex-end;
        padding: 0 1.25rem 3rem;
        background: linear-gradient(
            to top,
            rgba(10,8,4,0.82) 0%,
            rgba(10,8,4,0.45) 45%,
            rgba(10,8,4,0.05) 100%
        );
    }
}

.hero-slide-text {
    max-width: 540px;
}

.hero-slide-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    display: block;
}

.hero-slide-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 58px);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.12;
    margin-bottom: 1rem;
}
.hero-slide-title em { font-style: italic; color: var(--gold-light); }

/* Mobile: teks putih agar kontras di atas overlay gelap */
@media (max-width: 767px) {
    .hero-slide-title {
        color: #fff;
        font-size: clamp(26px, 7vw, 38px);
    }
    .hero-slide-title em { color: var(--gold-light); }
}

.hero-slide-subtitle {
    font-size: clamp(13px, 2vw, 15px);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
}

.hero-slide-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Mobile: tombol full-width */
@media (max-width: 767px) {
    .hero-slide-text {
        width: 100%;
        max-width: 100%;
    }
    .hero-slide-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    .hero-slide-btns .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 20px;
    }
}

/* Prev / Next */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    color: var(--white);
    transition: background var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-btn:hover { background: rgba(184,150,90,0.6); border-color: var(--gold); }
.hero-btn-prev { left: 1rem; }
.hero-btn-next { right: 1rem; }
@media (min-width: 768px) {
    .hero-btn { width: 52px; height: 52px; }
    .hero-btn-prev { left: 2rem; }
    .hero-btn-next { right: 2rem; }
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    z-index: 11;
    width: 0;
    transition: width linear;
}

/* ── Feature Bar ──────────────────────────────────────────── */
.feature-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}
@media (min-width: 768px) { .feature-bar { padding: 2rem 0; } }

.feature-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) {
    .feature-bar-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.feature-icon {
    width: 40px; height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 18px;
}
.feature-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.feature-desc  { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ── Category Grid ────────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.cat-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--cream-dark);
    display: block;
}
.cat-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,24,16,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.cat-name  { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.cat-count { font-size: 11px; color: rgba(255,255,255,0.65); letter-spacing: 1px; }

/* ── Product Grid ─────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (min-width: 576px) { .product-grid { gap: 18px; } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px){ .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.product-card { cursor: pointer; }

.product-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--cream-dark);
    aspect-ratio: 3/4;
    margin-bottom: 10px;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}
.badge-sale   { background: var(--gold); color: var(--white); }
.badge-new    { background: var(--dark); color: var(--white); }
.badge-custom { background: #3a6b3a; color: var(--white); }

.product-wish {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.product-wish:hover,
.product-wish.active { color: #c0392b; }

/* Quick add — desktop only */
.product-actions {
    position: absolute;
    bottom: 10px; left: 10px; right: 10px;
    display: none;
}
@media (min-width: 768px) {
    .product-actions {
        display: flex;
        transform: translateY(60px);
        opacity: 0;
        transition: all var(--transition);
    }
    .product-card:hover .product-actions {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
@media (min-width: 768px) { .product-name { font-size: 14px; } }

.product-material { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
@media (min-width: 768px) { .product-material { font-size: 12px; } }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; }

.product-price {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}
@media (min-width: 768px) { .product-price { font-size: 17px; } }

.product-price-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 4px;
    font-family: var(--font-body);
}

.product-rating { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 11px; }

/* ── Promo Banner ─────────────────────────────────────────── */
.promo-banner {
    background: var(--dark-mid);
    padding: 3rem 0;
}
@media (min-width: 768px) { .promo-banner { padding: 5rem 0; } }

.promo-banner-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) {
    .promo-banner-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0 2rem;
    }
}

.promo-text .eyebrow { color: var(--gold-light); margin-bottom: 1rem; }
.promo-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.promo-desc {
    font-size: 14px;
    color: var(--brown-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.promo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 2rem;
}
.promo-list li {
    font-size: 13px;
    color: var(--brown-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-list li::before {
    content: '';
    width: 16px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.promo-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.promo-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    aspect-ratio: 1;
}
.promo-img.tall { grid-row: span 2; aspect-ratio: auto; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Testimonials ─────────────────────────────────────────── */
/* ── Testimonial Slider ──────────────────────────────────── */
.testi-section { background: var(--cream); }

.testi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    gap: 1rem;
}

/* Slider wrapper */
.testi-slider-wrap {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}
.testi-slider-wrap:active { cursor: grabbing; }

.testi-track {
    display: flex;
    gap: 14px;
    transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
    will-change: transform;
}

/* Card sizing: 1 per baris mobile, 2 tablet, 3 desktop */
/* min-width & max-width diset via JS berdasarkan lebar wrapper aktual */
.testi-card {
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}
.testi-card:hover {
    border-color: rgba(184,150,90,0.35);
    box-shadow: 0 4px 18px rgba(58,47,30,0.06);
}

.testi-stars { color: var(--gold); font-size: 12px; letter-spacing: 1.5px; }

.testi-text {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.testi-author { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.testi-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--cream-dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--brown-mid);
    flex-shrink: 0;
    overflow: hidden;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 13px; font-weight: 500; }
.testi-loc  { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.testi-loc i { font-size: 10px; }

/* Footer: dots kiri, rating kanan */
.testi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 8px;
}
.testi-dots { display: flex; gap: 6px; }
.testi-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border-mid);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.testi-dot.active {
    background: var(--gold);
    width: 20px;
    border-radius: 3px;
}
.testi-meta {
    font-size: 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.testi-meta span { color: var(--text-muted); }

/* Nav buttons */
.testi-nav-btns { display: flex; gap: 8px; }
.testi-nav-btn {
    width: 38px; height: 38px;
    border: 1px solid var(--border-mid);
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.testi-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Gallery Strip ────────────────────────────────────────── */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
@media (min-width: 576px) { .gallery-strip { grid-template-columns: repeat(6, 1fr); gap: 8px; } }

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--cream-dark);
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30,24,16,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    font-size: 22px;
    color: var(--white);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--dark); color: var(--brown-light); }

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
        padding: 4rem 2rem 3rem;
    }
}

/* Brand col spans full width on mobile */
.footer-brand-col { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand-col { grid-column: span 1; } }

.footer-brand {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.footer-brand span { color: var(--gold); }
.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--brown-mid);
    max-width: 260px;
    margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-mid);
    font-size: 16px;
    transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

.footer-heading {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--brown-mid); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.25rem 2rem;
        text-align: left;
    }
}
.footer-copy { font-size: 12px; color: var(--brown-mid); }
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { font-size: 12px; color: var(--brown-mid); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: #c0392b; }
.form-error { font-size: 12px; color: #c0392b; margin-top: 4px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}
.alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #eaf3de; color: #3b6d11; border: 1px solid #c0dd97; }
.alert-danger  { background: #fcebeb; color: #a32d2d; border: 1px solid #f7c1c1; }
.alert-info    { background: #e6f1fb; color: #185fa5; border: 1px solid #b5d4f4; }
.alert-warning { background: #faeeda; color: #854f0b; border: 1px solid #fac775; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 0.875rem 0;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-current { color: var(--text-primary); font-weight: 500; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2.5rem;
}
.page-item {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
}
.page-item:hover  { border-color: var(--gold); color: var(--gold); }
.page-item.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.page-item.disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}
.badge-gold    { background: var(--gold); color: var(--white); }
.badge-dark    { background: var(--dark); color: var(--white); }
.badge-success { background: #eaf3de; color: #3b6d11; }
.badge-danger  { background: #fcebeb; color: #a32d2d; }
.badge-warning { background: #faeeda; color: #854f0b; }
.badge-info    { background: #e6f1fb; color: #185fa5; }

/* ── Rating ───────────────────────────────────────────────── */
.rating { display: flex; align-items: center; gap: 6px; }
.rating-stars { color: var(--gold); letter-spacing: 2px; }
.rating-score { font-weight: 500; font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-muted); }

/* ── Spinner ──────────────────────────────────────────────── */
.spinner {
    width: 22px; height: 22px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 48px; color: var(--border-mid); margin-bottom: 1rem; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Utility ──────────────────────────────────────────────── */
.text-gold   { color: var(--gold) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-500      { font-weight: 500; }
.w-100       { width: 100%; }
.d-none-mobile { display: none; }
@media (min-width: 768px) { .d-none-mobile { display: block; } }
.separator   { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Toast (JS-generated) ─────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100vw - 2rem);
}
@media (min-width: 768px) {
    #toast-container { right: 2rem; }
}
@keyframes slideIn {
    from { transform: translateX(40px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   PATCH — fixes & new sections
   ============================================================ */

/* 1. Hamburger: HANYA tampil di mobile */
.navbar-hamburger {
    display: flex;
}
@media (min-width: 992px) {
    .navbar-hamburger { display: none !important; }
    .mobile-menu      { display: none !important; }
}

/* 2. Promo Banner — layout fix */
.promo-banner-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .promo-banner-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

/* Promo visual: 2 kolom, tinggi sama, tidak tumpuk */
.promo-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
}
.promo-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    height: 100%;
}
.promo-img.tall {
    grid-row: span 2;
}
.promo-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. Testimonial Slider — removed, now uses static 2-col grid */

/* 4. Trust bar & visual identity */
.trust-bar {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    overflow: hidden;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 18s linear infinite;
    white-space: nowrap;
    max-width: none;
    width: max-content;
}
.trust-bar-inner:hover { animation-play-state: paused; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.trust-item i {
    font-size: 20px;
    color: var(--gold);
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats bar */
.stats-bar {
    background: var(--dark);
    padding: 3rem 0;
}
.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-bar-inner {
        grid-template-columns: repeat(4, 1fr);
        padding: 0 2rem;
    }
}
.stat-item {}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown-light);
}

/* ── Why Choose Us — Full BG Image Section ────────────────── */
.why-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}
@media (min-width: 768px) { .why-section { padding: 7rem 0; } }

/* Background image layer */
.why-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-attachment: scroll;
    z-index: 0;
    background-color: var(--dark-mid);
}
@media (min-width: 992px) {
    .why-bg-image { background-attachment: fixed; }
}

/* Warm dark overlay */
.why-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(18, 12, 6, 0.84) 0%,
        rgba(30, 20, 8, 0.78) 50%,
        rgba(18, 12, 6, 0.88) 100%
    );
    z-index: 1;
}

/* Heading area */
.why-eyebrow {
    color: var(--gold-light) !important;
    margin-bottom: 10px;
}
.why-heading {
    color: #fff !important;
    margin-bottom: 0.75rem;
}
.why-subheading {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14.5px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Grid — 2 kolom di mobile, 3 kolom di desktop */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (min-width: 992px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Card — glassmorphism style */
.why-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
@media (min-width: 992px) {
    .why-card { padding: 1.75rem 1.5rem; gap: 12px; }
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 176, 122, 0.45);
    transform: translateY(-4px);
}

/* Icon */
.why-icon {
    width: 48px; height: 48px;
    background: rgba(212, 176, 122, 0.12);
    border: 1px solid rgba(212, 176, 122, 0.28);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold-light);
    transition: background var(--transition);
}
.why-card:hover .why-icon {
    background: rgba(212, 176, 122, 0.22);
}

/* Title & Desc */
.why-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}
@media (min-width: 992px) {
    .why-title { font-size: 15px; }
}
.why-desc {
    display: none; /* hidden di mobile */
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.7;
}
@media (min-width: 992px) {
    .why-desc { display: block; }
}

/* Mobile: klik gambar langsung ke produk */
.product-img-link-mobile {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block; /* aktif di mobile */
}
@media (min-width: 768px) {
    .product-img-link-mobile {
        display: none; /* nonaktif di desktop, pakai tombol hover */
    }
}

/* ── Product Image Placeholder ────────────────────────────── */
.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}
.product-img-wrap {
    position: relative;
}
.product-img-wrap img {
    position: relative;
    z-index: 1;
}