/* ============================================================
   BANINA — Olive & Caslon Design System
   Tema: Quiet Luxury / Men's Muslim Fashion
   ============================================================ */

/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

/* === CSS Variables === */
:root {
    /* Colors */
    --ivory:        #faf9f4;
    --ivory-dim:    #f5f4ef;
    --ivory-mid:    #efeee9;
    --ivory-dark:   #e9e8e3;
    --ivory-deep:   #e3e3de;
    --surface-dim:  #dbdad5;

    --onyx:         #1b1c19;
    --onyx-muted:   #47483b;
    --onyx-faint:   #777869;
    --outline:      #c8c7b7;

    --olive:        #535b1d;
    --olive-mid:    #6b7433;
    --olive-light:  #c3cd82;
    --olive-pale:   #dfe99b;
    --olive-glow:   #f0faaa;

    /* Typography */
    --font-serif:   'Libre Caslon Text', Georgia, serif;
    --font-sans:    'Libre Franklin', system-ui, sans-serif;

    /* Spacing */
    --container:    1280px;
    --gutter:       24px;
    --mg-desk:      64px;
    --mg-mob:       20px;
    --section-gap:  7rem;

    /* Border radius (minimal – editorial luxury) */
    --r-sm:     2px;
    --r-md:     4px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--onyx);
    background-color: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

::selection { background: var(--olive-pale); color: var(--onyx); }

/* === Typography Scale === */
.t-display {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.t-headline-lg {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.2;
}
.t-headline-md {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 400;
    line-height: 1.2;
}
.t-headline-sm {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.t-body-lg  { font-family: var(--font-sans); font-size: 18px; line-height: 1.6; }
.t-body-md  { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
.t-label    { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.t-label-sm { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* === Container === */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--mg-desk);
}
@media (max-width: 768px) {
    .container { padding-inline: var(--mg-mob); }
}

/* === Utility === */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-olive    { color: var(--olive); }
.text-muted    { color: var(--onyx-muted); }
.text-faint    { color: var(--onyx-faint); }
.bg-ivory-mid  { background: var(--ivory-mid); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--onyx);
    color: rgba(255,255,255,0.6);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.topbar-item {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-item i { color: var(--olive-light); font-size: 10px; }
@media (max-width: 640px) { .d-none-mobile { display: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: var(--ivory);
    border-bottom: 1px solid var(--outline);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(83,91,29,0.07); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 2rem;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-text  { display: flex; flex-direction: column; gap: 1px; }
.logo-main  {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--onyx);
    text-transform: uppercase;
    line-height: 1;
}
.logo-sub {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--olive-mid);
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links > a,
.nav-links .dropdown-toggle {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--onyx-muted);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-links > a::after,
.nav-links .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--olive-mid);
    transition: width 0.3s ease;
}
.nav-links > a:hover::after,
.nav-links .dropdown-toggle:hover::after { width: 100%; }
.nav-links > a:hover,
.nav-links .dropdown-toggle:hover { color: var(--olive); }
.nav-links > a.active,
.nav-links .dropdown-toggle.active { color: var(--olive); }
.nav-links > a.active::after,
.nav-links .dropdown-toggle.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--ivory);
    border: 1px solid var(--outline);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--onyx-muted);
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--ivory-mid); color: var(--olive); }

/* WA Button */
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--olive-mid);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: var(--r-sm);
    transition: background 0.25s, transform 0.15s;
    flex-shrink: 0;
}
.btn-wa:hover { background: var(--olive); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--onyx);
    transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--ivory);
    border-bottom: 1px solid var(--outline);
    padding: 16px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--onyx-muted);
    padding: 14px var(--mg-mob);
    border-bottom: 1px solid var(--ivory-mid);
    transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--olive); background: var(--ivory-dim); }

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .btn-wa    { display: none; }
    .nav-toggle { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--olive-mid);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: var(--r-sm);
    transition: background 0.25s, transform 0.15s;
    border: 2px solid transparent;
}
.btn-primary:hover { background: var(--olive); transform: translateY(-1px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--onyx);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--onyx);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--olive); color: var(--olive); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--olive);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0;
    border-bottom: 1.5px solid var(--olive);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--olive-mid); border-color: var(--olive-mid); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-elegant {
    position: relative;
    height: 90vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--onyx);
}

.hero-slide-elegant {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide-elegant.active { opacity: 1; }
.hero-slide-elegant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
}

.hero-no-img {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e2208 0%, var(--olive) 60%, #1e2208 100%);
}

.hero-overlay-elegant {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27,28,25,0.7) 0%, rgba(27,28,25,0.15) 100%);
    z-index: 1;
}

.hero-content-elegant {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--olive-light);
}
.hero-eyebrow-text {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--olive-light);
}

.hero-title-elegant {
    font-family: var(--font-serif);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 680px;
    margin-bottom: 24px;
}
.hero-title-elegant em {
    font-style: italic;
    color: var(--olive-light);
}

.hero-subtitle-elegant {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions-elegant {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--olive-mid);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: var(--r-sm);
    transition: background 0.25s, transform 0.15s;
}
.btn-hero-primary:hover { background: var(--olive); transform: translateY(-2px); }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: var(--r-sm);
    border: 1.5px solid rgba(255,255,255,0.45);
    transition: border-color 0.2s, background 0.2s;
}
.btn-hero-outline:hover { border-color: var(--olive-light); background: rgba(195,205,130,0.1); }

/* Hero nav dots */
.hero-nav {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
    align-items: center;
}
.hero-nav-item {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.hero-nav-item.active { opacity: 1; }
.hero-nav-number {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}
.hero-nav-bar {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.35);
    position: relative;
    overflow: hidden;
}
.hero-nav-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--olive-light);
}
.hero-nav-item.active .hero-nav-progress {
    animation: navProgress 5s linear forwards;
}
@keyframes navProgress { to { width: 100%; } }

.hero-counter {
    position: absolute;
    bottom: 36px;
    right: var(--mg-desk);
    z-index: 3;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: var(--mg-desk);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--olive-light));
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}
.hero-scroll span {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    writing-mode: vertical-rl;
}

@media (max-width: 768px) {
    .hero-scroll, .hero-counter { display: none; }
    .hero-nav { left: var(--mg-mob); transform: none; }
    .hero-content-elegant .container { padding-inline: var(--mg-mob); }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
    padding: var(--section-gap) 0;
}
.section-bg-dark {
    background: var(--ivory-mid);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive-mid);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--onyx);
    margin-bottom: 20px;
}
.section-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--onyx-muted);
    line-height: 1.6;
}
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--outline);
}
.divider-icon { color: var(--olive-mid); font-size: 10px; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--gutter);
}

.product-card {
    background: #fff;
    border: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: var(--r-sm);
    overflow: hidden;
}
.product-card:hover {
    box-shadow: 0 12px 40px rgba(83,91,29,0.08);
    transform: translateY(-3px);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ivory-mid);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--outline);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--olive-mid);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--r-sm);
}

.product-info {
    padding: 18px 18px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-cat {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--olive-mid);
}
.product-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--onyx);
    line-height: 1.3;
}
.product-price {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--onyx-muted);
    margin-top: 4px;
}
.product-price span { color: var(--onyx-faint); font-weight: 400; }

/* Shopee / WA button inside card */
.product-wa-btn,
.shopee-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ivory-mid);
    color: var(--onyx);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--outline);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin: 0 18px 18px;
}
.shopee-btn:hover { background: var(--olive-mid); color: #fff; border-color: var(--olive-mid); }

/* Products count */
.products-count {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--onyx-faint);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--outline);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--onyx-faint);
}
.empty-state i { font-size: 3rem; color: var(--outline); margin-bottom: 1rem; }
.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--onyx-muted);
    margin-bottom: 0.5rem;
}

/* ============================================================
   CATEGORY SECTION (HOME)
   ============================================================ */
.cat-circle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.25s;
}
.cat-circle-item:hover { transform: translateY(-4px); }
.cat-circle-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--outline);
    background: var(--ivory-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}
.cat-circle-item:hover .cat-circle-img { border-color: var(--olive-mid); }
.cat-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle-placeholder { font-size: 2rem; color: var(--onyx-faint); }
.cat-circle-label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--onyx-muted);
    text-transform: uppercase;
    transition: color 0.2s;
}
.cat-circle-item:hover .cat-circle-label { color: var(--olive); }

.btn-cat-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 1.5px solid var(--outline);
    color: var(--onyx-muted);
    border-radius: var(--r-sm);
    transition: border-color 0.2s, color 0.2s;
}
.btn-cat-all:hover,
.btn-cat-all.active-cat { border-color: var(--olive-mid); color: var(--olive); }

/* ============================================================
   VALUES GRID (HOME)
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
}
.value-card {
    padding: 3rem 2.5rem;
    background: #fff;
    border: 1px solid var(--outline);
    text-align: center;
    transition: background 0.2s;
}
.value-card:hover { background: var(--ivory-dim); }
.value-icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--outline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--olive-mid);
    font-size: 22px;
    transition: border-color 0.2s, background 0.2s;
}
.value-card:hover .value-icon { border-color: var(--olive-mid); background: var(--ivory-mid); }
.value-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 12px;
}
.value-card p {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--onyx-muted);
    line-height: 1.7;
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.catalog-header {
    background: var(--ivory-mid);
    border-bottom: 1px solid var(--outline);
    padding: 4rem 0 3rem;
    text-align: center;
}
.catalog-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 12px;
}
.catalog-header p {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--onyx-muted);
    max-width: 480px;
    margin-inline: auto;
}

/* Filter bar */
.filter-bar {
    background: var(--ivory);
    border-bottom: 1px solid var(--outline);
    padding: 16px 0;
    position: sticky;
    top: 61px; /* navbar height approx */
    z-index: 50;
}
.filter-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.filter-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--onyx-faint);
    flex-shrink: 0;
}
.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.filter-tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--outline);
    color: var(--onyx-muted);
    border-radius: var(--r-sm);
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-tag:hover { border-color: var(--olive-mid); color: var(--olive); }
.filter-tag.active { background: var(--olive-mid); color: #fff; border-color: var(--olive-mid); }

/* Search inside filter bar */
.search-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--outline);
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.search-input {
    padding: 8px 14px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--onyx);
    background: var(--ivory);
    border: none;
    outline: none;
    width: 160px;
    transition: background 0.2s;
}
.search-input:focus { background: #fff; }
.search-btn {
    padding: 8px 14px;
    background: var(--onyx);
    color: var(--olive-light);
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}
.search-btn:hover { background: var(--olive); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
    padding: 4rem 0 var(--section-gap);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Images */
.detail-images {}
.main-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--ivory-mid);
    border: 1px solid var(--outline);
    position: relative;
}
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.main-image:hover img { transform: scale(1.04); }

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.thumb {
    width: 72px;
    height: 88px;
    border: 1.5px solid var(--outline);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.thumb.active { border-color: var(--olive-mid); }
.thumb:hover  { border-color: var(--olive); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.detail-info {}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--onyx-faint);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--olive); }

.detail-cat-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--olive-mid);
    border: 1px solid var(--olive-mid);
    padding: 5px 12px;
    border-radius: var(--r-sm);
    margin-bottom: 16px;
}

.detail-info h1 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: var(--onyx);
    line-height: 1.15;
    margin-bottom: 16px;
}

.detail-price {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--onyx);
    letter-spacing: -0.01em;
}

.detail-divider {
    height: 1px;
    background: var(--outline);
    margin: 28px 0;
}

.detail-subtitle {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--onyx-faint);
    margin-bottom: 12px;
}
.detail-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.8;
    color: var(--onyx-muted);
}

.detail-wa-btn,
.detail-wa-btn.shopee-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--olive-mid);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 18px 28px;
    border-radius: var(--r-sm);
    border: none;
    transition: background 0.25s, transform 0.15s;
}
.detail-wa-btn.shopee-btn:hover { background: var(--olive); transform: translateY(-1px); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-header {
    background: var(--ivory-mid);
    border-bottom: 1px solid var(--outline);
    padding: 5rem 0 4rem;
    text-align: center;
}
.about-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 14px;
}
.about-header p {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--onyx-muted);
    max-width: 540px;
    margin-inline: auto;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-img-wrap {
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid var(--outline);
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.about-img-wrap:hover img { transform: scale(1.04); }

.about-content {}
.about-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 20px;
}
.about-content p {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--onyx-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-header {
    background: var(--ivory-mid);
    border-bottom: 1px solid var(--outline);
    padding: 4rem 0 3rem;
    text-align: center;
}
.contact-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: var(--section-gap) 0;
}
@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 2rem;
}
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-item-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--outline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--olive-mid);
    font-size: 13px;
    margin-top: 2px;
}
.contact-item-text strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--onyx-faint);
    margin-bottom: 4px;
}
.contact-item-text span {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--onyx-muted);
}

.contact-wa-block {
    background: var(--ivory-mid);
    border: 1px solid var(--outline);
    padding: 2rem;
    margin-top: 2rem;
}
.contact-wa-block h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 8px;
}
.contact-wa-block p {
    font-size: 14px;
    color: var(--onyx-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.contact-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--r-sm);
    transition: opacity 0.2s;
}
.contact-wa-btn:hover { opacity: 0.88; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--onyx);
    color: rgba(255,255,255,0.6);
    position: relative;
}
.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(107,116,51,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-links a:hover { border-color: var(--olive-light); color: var(--olive-light); background: rgba(195,205,130,0.08); }

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--olive-light); }

.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    line-height: 1.5;
}
.footer-contact i { color: var(--olive-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}
.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* ============================================================
   WA FLOAT BUTTON
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: -60px;
    width: 44px;
    height: 44px;
    background: var(--ivory);
    border: 1px solid var(--outline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25,1,0.5,1);
    opacity: 0;
}
.back-to-top-btn.show { right: 28px; opacity: 1; }
.back-to-top-btn:hover { border-color: var(--olive-mid); background: var(--ivory-mid); }
.back-to-top-icon { color: var(--olive); font-size: 14px; }
.progress-circle { position: absolute; inset: 0; transform: rotate(-90deg); }
.progress-circle circle {
    fill: none;
    stroke: var(--olive-mid);
    stroke-width: 2px;
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
    transition: stroke-dashoffset 0.1s linear;
}

/* ============================================================
   POPUP BANNER
   ============================================================ */
.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27,28,25,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.custom-popup-wrapper {
    position: relative;
    max-width: 520px;
    width: 100%;
    border: 1px solid var(--outline);
}
.custom-popup-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: var(--onyx);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s;
}
.custom-popup-close:hover { background: var(--olive); }
.custom-popup-content img { width: 100%; display: block; }
.popup-img-link { display: block; }

/* ============================================================
   FADE IN ANIMATION
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { transition: none; opacity: 1; transform: none; }
}
