/**
 * TokoKu - Main Stylesheet (Clean Rewrite)
 * ==========================================
 */

/* ==========================================
   VARIABLES
   ========================================== */
:root {
    /* Backgrounds & Canvas Contrast (Reduced eye strain: Soft Off-White instead of harsh pure white) */
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --card-bg: #ffffff;
    --card-text: #1f2937;
    --glass: rgba(255, 255, 255, 0.94);
    --glass-border: rgba(226, 232, 240, 0.9);
    --glass-blur: blur(16px);

    /* Typography Colors (Dark Charcoal / Slate Gray #1F2937 instead of harsh pure black) */
    --text: #1f2937;
    --text2: #4b5563;
    --text-muted: #6b7280;

    --primary: #007bff;
    --primary-dark: #0056b3;
    --primary-rgb: 0, 123, 255;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --border: #e2e8f0;
    --green: #25D366;
    --red: #ef4444;
    --orange: #f59e0b;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.07);
    --ease: all 0.3s ease;
    --max-w: 1200px;

    /* Font Families: Inter for Headings, Merriweather for Body */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Merriweather', Georgia, Cambria, "Times New Roman", Times, serif;

    /* Slider Tokens (Light Mode Default) */
    --slider-btn-bg: rgba(255, 255, 255, 0.88);
    --slider-btn-bg-hover: #ffffff;
    --slider-btn-color: #1f2937;
    --slider-btn-color-hover: var(--primary, #007bff);
    --slider-btn-border: rgba(255, 255, 255, 0.85);
    --slider-btn-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    --slider-btn-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.18);
    --slider-dots-bg: rgba(31, 41, 55, 0.35);
    --slider-dots-border: rgba(255, 255, 255, 0.18);
    --slider-dot-color: rgba(255, 255, 255, 0.55);
    --slider-dot-active: #ffffff;

    /* Fluid Typography Scale via clamp() */
    --fs-h1: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
    --fs-h2: clamp(1.6rem, 1.15rem + 1.8vw, 2.35rem);
    --fs-h3: clamp(1.3rem, 1rem + 1.2vw, 1.75rem);
    --fs-h4: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem);
    --fs-h5: clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
    --fs-h6: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
    --fs-body: clamp(0.975rem, 0.92rem + 0.25vw, 1.0625rem);
    --fs-base: clamp(0.975rem, 0.92rem + 0.25vw, 1.0625rem);
    --fs-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.925rem);
    --fs-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
    --fs-2xs: clamp(0.65rem, 0.62rem + 0.1vw, 0.7rem);
    --fs-md: var(--fs-h4);
    --fs-lg: var(--fs-h3);
    --fs-xl: var(--fs-h2);
    --fs-xxl: var(--fs-h1);

    /* Typography Line Heights */
    --lh-tight: 1.15;       /* Headings H1-H2 tight crisp line-height (1.1 - 1.2) */
    --lh-snug: 1.25;        /* Subheadings H3-H4 */
    --lh-base: 1.6;         /* Body prose optimal reading flow (1.6) */
    --lh-relaxed: 1.75;
}

:root.theme-dark,
html.theme-dark,
body.theme-dark,
.theme-dark {
    --bg: #0b0f1a;
    --bg2: #151b2d;
    --card-bg: #151b2d;
    --card-text: #f1f5f9;
    --glass: rgba(15, 23, 42, 0.92);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --text: #f1f5f9;
    --text2: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --orange: #f59e0b;
    --green: #25D366;
    --red: #f87171;

    /* Slider Tokens (Dark Mode) */
    --slider-btn-bg: rgba(15, 23, 42, 0.82);
    --slider-btn-bg-hover: rgba(30, 41, 59, 0.95);
    --slider-btn-color: #f1f5f9;
    --slider-btn-color-hover: var(--primary, #38bdf8);
    --slider-btn-border: rgba(255, 255, 255, 0.14);
    --slider-btn-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    --slider-btn-shadow-hover: 0 8px 26px rgba(0, 0, 0, 0.55);
    --slider-dots-bg: rgba(0, 0, 0, 0.55);
    --slider-dots-border: rgba(255, 255, 255, 0.12);
    --slider-dot-color: rgba(255, 255, 255, 0.4);
    --slider-dot-active: var(--primary, #38bdf8);
}

@media (prefers-color-scheme: dark) {
    :root:not(.theme-light),
    html:not(.theme-light),
    body:not(.theme-light) {
        --slider-btn-bg: rgba(15, 23, 42, 0.82);
        --slider-btn-bg-hover: rgba(30, 41, 59, 0.95);
        --slider-btn-color: #f1f5f9;
        --slider-btn-color-hover: var(--primary, #38bdf8);
        --slider-btn-border: rgba(255, 255, 255, 0.14);
        --slider-btn-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
        --slider-btn-shadow-hover: 0 8px 26px rgba(0, 0, 0, 0.55);
        --slider-dots-bg: rgba(0, 0, 0, 0.55);
        --slider-dots-border: rgba(255, 255, 255, 0.12);
        --slider-dot-color: rgba(255, 255, 255, 0.4);
        --slider-dot-active: var(--primary, #38bdf8);
    }
}

/* Global Transition for Dark Mode */
body {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header,
.site-footer,
.product-card,
.category-item,
.sidebar-widget,
.btn,
.slider-btn,
.slider-dots,
.search-form,
.bottom-nav,
.modal-content {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: var(--lh-base);
    font-size: var(--fs-body);
    font-weight: 400;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Paragraphs & Reading Flow */
p {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: var(--lh-base);
    margin-bottom: 1.5em;
    color: var(--text);
}

p:last-child {
    margin-bottom: 0;
}

/* Headings Typography Hierarchy & Weights */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text);
    margin-bottom: 0.6em;
    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: var(--lh-tight);
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: var(--lh-snug);
    letter-spacing: -0.02em;
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.3;
}

h5 {
    font-size: var(--fs-h5);
    font-weight: 600;
    line-height: 1.35;
}

h6 {
    font-size: var(--fs-h6);
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
.btn,
.button {
    font-family: var(--font-heading);
}

input[type="text"]:not(.search-input):not(.search-modal-input),
input[type="search"]:not(.search-input):not(.search-modal-input),
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    background: var(--bg2);
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: var(--fs-sm);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

input:not(.search-input):not(.search-modal-input):focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    background: var(--bg);
    outline: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid var(--border);
    padding: 10px 14px;
}

th {
    background: var(--bg2);
    color: var(--text);
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg, var(--glass));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    color: var(--header-text);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.sticky {
    background: var(--header-bg, var(--bg));
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border);
}

.site-header.sticky .header-flex {
    height: 70px;
}

.site-header.sticky .site-logo img {
    height: 44px;
}

.header-flex {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    align-items: center;
    height: 82px;
    gap: 24px;
    transition: height 0.3s ease;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.site-title {
    font-size: var(--fs-md);
    font-weight: 900;
    color: var(--text);
}

.logo-dark {
    display: none;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .logo-light {
    display: none;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .logo-light:only-child {
    display: block !important;
    filter: invert(1);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .logo-dark {
    display: block;
}

/* Desktop Nav */
.primary-menu {
    flex: 1;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-list a {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text);
    transition: var(--ease);
}

.nav-list a:hover {
    color: var(--primary);
    background: var(--bg2);
    border: 1px solid var(--border);
}

/* Header Search (Desktop & Mobile) */
.header-search-centered {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.045);
    border: none !important;
    border-radius: 9999px;
    height: 44px;
    padding: 0 14px 0 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.search-form:hover {
    background: rgba(15, 23, 42, 0.07);
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.search-form:focus-within {
    background: rgba(15, 23, 42, 0.065);
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    transform: none;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .search-form {
    background: rgba(255, 255, 255, 0.06);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .search-form:hover {
    background: rgba(255, 255, 255, 0.09);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .search-form:focus-within {
    background: rgba(255, 255, 255, 0.10);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

.search-form *,
.search-modal-input-wrap *,
.search-form input,
.search-modal-input-wrap input {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    -webkit-tap-highlight-color: transparent;
}

.search-icon {
    color: var(--text2);
    margin-right: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-form:focus-within .search-icon {
    color: var(--primary);
    transform: scale(1.08);
}

/* Universal Text Input Reset for Search */
input.search-input,
.search-input,
.search-form input[type="text"],
.search-form input[type="search"],
.header-search-centered input[type="text"] {
    flex: 1;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    color: var(--text);
    font-size: var(--fs-sm);
    font-family: inherit;
    padding: 0 !important;
    line-height: normal;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: color 0.2s ease;
}

input.search-input:focus,
input.search-input:focus-visible,
input.search-input:active,
.search-input:focus,
.search-input:focus-visible,
.search-input:active,
.search-form input[type="text"]:focus,
.search-form input[type="text"]:focus-visible,
.search-form input[type="text"]:active,
.header-search-centered input[type="text"]:focus,
.header-search-centered input[type="text"]:focus-visible,
.header-search-centered input[type="text"]:active {
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}

.search-input::placeholder {
    color: var(--text2);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.search-form:focus-within .search-input::placeholder {
    opacity: 0.5;
}

.search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: var(--border);
    color: var(--text);
    transform: scale(1.1);
}

.search-clear svg {
    display: block;
    margin: auto;
    width: 14px;
    height: 14px;
}

/* Desktop Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 500;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    animation: fadeIn 0.2s ease;
    transform: none !important;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--bg2);
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.search-results:not(:empty) {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-section-header {
    font-size: var(--fs-2xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text2);
    background: var(--bg2);
    padding: 8px 16px;
}

.search-cat-item,
.search-tag-item {
    display: block;
    padding: 10px 16px;
    font-size: var(--fs-sm);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.search-cat-item:hover,
.search-tag-item:hover {
    background: var(--bg2);
    color: var(--primary);
}

/* Shared Result Item Styles (used in desktop results and mobile modal) */
.search-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.search-product-item:hover {
    background: var(--bg2);
}

.search-product-item:last-child {
    border-bottom: none;
}

.search-product-item .item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.search-product-item .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-item .item-info {
    flex: 1;
    min-width: 0;
}

.search-product-item .item-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.search-product-item .item-price .price-current {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--primary);
}

.search-product-arrow {
    color: var(--text2);
    opacity: 0.3;
}

.search-results-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg2);
}

.search-results-footer a {
    font-size: var(--fs-xs);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--ease);
    display: inline-block;
    padding: 4px 8px;
}

.search-results-footer a:hover {
    color: var(--primary);
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Header Actions */
/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.mode-toggle {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    cursor: pointer;
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mode-toggle:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.mode-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.sun-icon {
    display: none;
    color: #f59e0b;
}

.moon-icon {
    display: block;
    color: var(--text);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .sun-icon {
    display: block;
    transform: rotate(360deg);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .moon-icon {
    display: none;
}

:not(.theme-dark):not(html.theme-dark):not(body.theme-dark) .moon-icon {
    transform: rotate(-15deg);
}

.btn-wa-header {
    background: var(--green);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: var(--fs-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ==========================================================================
   INTERACTIVE MOBILE MENU TOGGLE & ANIMATIONS
   ========================================================================== */
.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    cursor: pointer;
    padding: 0;
    gap: 5px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background: var(--bg);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.18);
    transform: translateY(-1px);
}

.menu-toggle:active {
    transform: scale(0.92);
}

/* 3-bar hamburger with asymmetric stylish look */
.menu-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 4px;
    background: var(--text);
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.menu-toggle span:nth-child(1) {
    width: 22px;
}

.menu-toggle span:nth-child(2) {
    width: 15px;
    margin-left: -7px;
    background: var(--primary); /* colorful brand accent */
    transition: all 0.25s ease;
}

.menu-toggle span:nth-child(3) {
    width: 22px;
}

/* Morph to Animated 'X' Cross */
.menu-toggle.active {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.25);
}

.menu-toggle.active span {
    background: var(--primary);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 22px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-14px) scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 22px;
}

/* ==========================================================================
   OFFICIAL WHATSAPP FLOATING BUTTON WITH PULSE EFFECT
   ========================================================================== */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.wa-float__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-decoration: none;
}

/* Outer smooth breathing pulse wave */
.wa-float__btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.6;
    animation: waPulse 2.4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.wa-float__btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.wa-float__btn:active {
    transform: scale(0.95);
}

.wa-float__btn svg {
    width: 32px;
    height: 32px;
    display: block;
    fill: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.wa-float__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-float__tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.92);
}

.wa-float__btn:hover .wa-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Dashicons Support in Frontend */
.dashicons {
    width: auto;
    height: auto;
    line-height: inherit;
}

/* ==========================================
   HERO BANNER SLIDER (Desktop & Core)
   ========================================== */
.hero-slider-section {
    margin-bottom: 35px;
    width: 100%;
    position: relative;
    padding-top: 20px;
}

.hero-slider-container {
    max-width: var(--max-w, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card-bg, #ffffff);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border);
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    width: 100%;
    aspect-ratio: var(--slider-ratio, 2.735 / 1);
    transition: aspect-ratio 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

[data-theme="dark"] .slider-container,
.dark-mode .slider-container {
    background: var(--card-bg, #1e293b);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    cursor: grab;
}

.slider-wrapper.is-dragging {
    cursor: grabbing;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: var(--slider-ratio, 2.735 / 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.slide a.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide:hover img {
    transform: scale(1.02);
}

/* Slide Placeholder Elegan (Bila belum ada banner diunggah) */
.slide--placeholder {
    background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 50%, #0d9488 100%);
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide--placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.slide-placeholder-inner {
    text-align: center;
    color: #ffffff;
    padding: 40px 30px;
    max-width: 820px;
    position: relative;
    z-index: 2;
}

.slide-placeholder-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.02em;
}

.slide-placeholder-inner h2 {
    font-size: clamp(var(--fs-lg), 3.5vw, var(--fs-xl));
    font-weight: 800;
    line-height: var(--lh-tight);
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.slide-placeholder-inner p {
    font-size: clamp(var(--fs-sm), 1.8vw, var(--fs-base));
    opacity: 0.94;
    line-height: var(--lh-base);
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.slide-placeholder-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0369a1;
    font-weight: 700;
    font-size: var(--fs-sm);
    padding: 11px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.btn-slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    color: #0284c7;
}

.btn-slide-admin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-slide-admin:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Tombol Navigasi Slider Floating Modern */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--slider-btn-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--slider-btn-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid var(--slider-btn-border);
    box-shadow: var(--slider-btn-shadow);
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0.85;
    visibility: visible;
    padding: 0;
}

.slider-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease, stroke 0.35s ease;
}

.slider-prev {
    left: 18px;
    transform: translateY(-50%);
}

.slider-next {
    right: 18px;
    transform: translateY(-50%);
}

.slider-btn:hover,
.slider-container:hover .slider-btn,
.slider-btn:focus-visible {
    opacity: 1;
    visibility: visible;
}

.slider-btn:hover {
    background: var(--slider-btn-bg-hover) !important;
    color: var(--slider-btn-color-hover) !important;
    box-shadow: var(--slider-btn-shadow-hover) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.92) !important;
}

/* Explicit Dark Mode Overrides for Slider Buttons */
:is(.theme-dark, html.theme-dark, body.theme-dark) .slider-btn {
    background: rgba(15, 23, 42, 0.82);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .slider-btn:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    color: var(--primary, #38bdf8) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55) !important;
}

/* Dots Navigasi Slider */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 10;
    padding: 5px 12px;
    background: var(--slider-dots-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--slider-dots-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slider-dot-color);
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: var(--slider-dot-active);
    width: 22px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .slider-dots {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .slider-dots .dot.active {
    background: var(--primary, #38bdf8);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Garis Progres Slide */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary, #007bff);
    border-radius: 0 2px 2px 0;
}

/* ==========================================
   PAGE SECTIONS
   ========================================== */
.categories-section {
    padding: 60px 0 40px;
}

.products-section {
    padding: 30px 0 60px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--text);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.view-all-link {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--ease);
}

.view-all-link:hover {
    color: var(--primary);
    opacity: 0.7;
    transform: translateX(5px);
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12.5px 29px; /* Perkecil 10% dari 14px 32px */
    font-size: var(--fs-sm);
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: viewAllPulseGlow 3.5s infinite ease-in-out;
}

/* Shimmer Light Reflection Animation */
.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-22deg);
    animation: viewAllShimmer 4s infinite ease-in-out;
    pointer-events: none;
}

.btn-view-all:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.45);
    background: var(--primary-dark);
}

.btn-view-all:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

.btn-view-all svg,
.btn-view-all .dashicons {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-view-all:hover svg,
.btn-view-all:hover .dashicons {
    transform: translateX(5px);
}

@keyframes viewAllShimmer {
    0% {
        left: -100%;
    }
    25%, 100% {
        left: 200%;
    }
}

@keyframes viewAllPulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 6px 22px rgba(0, 123, 255, 0.5), 0 0 0 3px rgba(0, 123, 255, 0.15);
    }
}

/* ==========================================================================
   CATEGORIES SECTION - MODERN ELEVATED SQUIRCLE CARDS (DESKTOP & TABLET)
   ========================================================================== */
.categories-section {
    padding: 46px 0 34px;
    position: relative;
    background: radial-gradient(circle at 50% 12%, rgba(var(--primary-rgb), 0.035) 0%, transparent 65%);
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 4px 18px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .category-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 14px;
        margin: 0 auto;
    }

    .category-item {
        flex: 0 1 clamp(124px, 11vw, 138px);
        width: clamp(124px, 11vw, 138px);
        max-width: 142px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .category-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 14px;
        margin: 0 auto;
    }

    .category-item {
        flex: 0 1 clamp(120px, 20vw, 138px);
        width: clamp(120px, 20vw, 138px);
    }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 10px 18px;
    background: var(--card-bg, #ffffff);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    color: var(--card-text, var(--text));
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                background-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .category-item {
    background: #141824;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.category-item:hover,
.category-item:active {
    transform: translateY(-7px);
    border-color: rgba(var(--primary-rgb), 0.45);
    box-shadow: 0 16px 32px -6px rgba(var(--primary-rgb), 0.24),
                0 0 0 1.5px rgba(var(--primary-rgb), 0.25);
}

.category-item:hover::before,
.category-item:active::before {
    opacity: 1;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:hover,
:is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:active {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.65),
                0 0 0 1.5px rgba(96, 165, 250, 0.35);
}

.category-item:active {
    transform: translateY(-5px) scale(0.97);
    transition-duration: 0.1s;
}

/* Category Icon Badge */
.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    border: 1.5px solid rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .category-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.category-icon svg {
    width: 36px;
    height: 36px;
    display: block;
    stroke: currentColor;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.25s ease;
}

.category-icon img,
.category-icon .category-icon-img,
.category-icon .pill-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.category-icon .dashicons {
    font-size: 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-item:hover .category-icon,
.category-item:active .category-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    color: #ffffff !important;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px -2px rgba(var(--primary-rgb), 0.45);
}

.category-item:hover .category-icon svg,
.category-item:active .category-icon svg {
    stroke: #ffffff;
}

.category-item:hover .category-icon img,
.category-item:active .category-icon img,
.category-item:hover .category-icon .category-icon-img,
.category-item:active .category-icon .category-icon-img,
.category-item:hover .category-icon .pill-icon-img,
.category-item:active .category-icon .pill-icon-img {
    transform: scale(1.12);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.category-item:hover .category-icon .dashicons,
.category-item:active .category-icon .dashicons {
    transform: scale(1.1);
    color: #ffffff !important;
}

.category-name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
    z-index: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    line-height: var(--lh-snug);
    letter-spacing: -0.1px;
}

.category-item:hover .category-name,
.category-item:active .category-name {
    color: var(--primary);
    transform: translateY(-1px);
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Enlarge product cards on homepage for desktop (~20% increase) */
@media (min-width: 769px) {
    .home {
        --max-w: 1400px;
        /* Wider container to keep 4-grid items large */
    }

    .home .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .home .product-card__title a {
        font-size: var(--fs-base);
        /* ~20% larger than var(--fs-sm) */
    }

    .home .price-current {
        font-size: var(--fs-md);
    }
}

.product-card {
    background: var(--card-bg, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    color: var(--card-text, var(--text));
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.product-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: var(--bg2);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-card__image img {
    transform: scale(1.1);
}

.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: var(--fs-xs);
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-soldout {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.badge-preorder {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-card__content {
    padding: 16px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-card__category {
    font-size: var(--fs-2xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.product-card__title {
    margin: 0 0 10px;
}

.product-card__title a {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--card-text);
    line-height: var(--lh-snug, 1.25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title a:hover {
    color: var(--primary);
}

.product-card__price {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.price-current {
    font-weight: 800;
    color: var(--price-color);
    font-size: var(--fs-base);
}

.price-original {
    font-size: var(--fs-xs);
    color: var(--text2);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-discount-badge {
    font-size: var(--fs-2xs);
    font-weight: 800;
    background: var(--red);
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Stock Status Colors */
.stok-tersedia {
    color: #2ecc71 !important;
}

.stok-habis {
    color: #e74c3c !important;
}

.stok-preorder,
.is-preorder,
.preorder-notice .notice-title {
    color: #f39c12 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.preorder-notice .notice-title {
    margin-bottom: 8px;
    font-weight: 800;
    font-size: var(--fs-base);
}

.preorder-notice .notice-title .dashicons {
    color: inherit;
    display: flex;
    align-items: center;
    margin: 0;
}

.spec-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spec-value .dashicons {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}


/* Empty State */
.empty-products {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text2);
}

.empty-products a {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================
   GLOBAL BUTTON SYSTEM (Desktop & Mobile)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: var(--lh-tight);
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-sm {
    min-height: 36px;
    padding: 7px 14px;
    font-size: var(--fs-xs);
    border-radius: 8px;
    gap: 6px;
}

.btn-md {
    min-height: 44px;
    padding: 10px 22px;
    font-size: var(--fs-sm);
    border-radius: 12px;
    gap: 8px;
}

.btn-lg {
    min-height: 50px;
    padding: 14px 26px;
    font-size: var(--fs-base);
    border-radius: 14px;
    gap: 10px;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.38);
    color: #ffffff !important;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--bg2);
    color: var(--text) !important;
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* WhatsApp Order in Product Cards */
.btn-whatsapp-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.22);
    gap: 6px;
    box-sizing: border-box;
    text-decoration: none;
}

.btn-whatsapp-order svg {
    width: 20px;
    height: 20px;
    margin-right: 0;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.btn-whatsapp-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.35);
    color: #ffffff !important;
}

.btn-whatsapp-order:hover svg {
    transform: scale(1.15);
}

.btn-whatsapp-order:active {
    transform: scale(0.98);
}

/* Single Product CTA Button */
.single-product .btn-contact-us {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    font-size: var(--fs-base);
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.28);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

.single-product .btn-contact-us:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
    color: #ffffff !important;
}

.single-product .btn-contact-us:active {
    transform: scale(0.98);
}

/* Marketplace Links & Buttons */
.single-product .marketplace-links {
    width: 100%;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1.5px dashed var(--border);
}

.single-product .marketplace-title {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-product .marketplace-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    width: 100%;
}

.btn-marketplace {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    font-size: var(--fs-sm);
    font-weight: 700;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card-bg, #ffffff);
    color: var(--text);
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
    text-align: center;
}

.btn-marketplace:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-marketplace:active {
    transform: scale(0.98);
}

/* Variations & Video Buttons */
.product-variations {
    margin: 15px 0 20px;
}

.variations-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 8px;
}

.variations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-variation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--bg2);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--ease);
    font-family: inherit;
}

.btn-variation:hover,
.btn-variation.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-weight: 700;
}

.btn-watch-video {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--ease);
    margin-top: 10px;
}

.btn-watch-video:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Comment Submit & Modal Submit */
.btn-submit-comment,
#commentform input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 28px;
    font-size: var(--fs-sm);
    font-weight: 700;
    border-radius: 12px;
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
    box-sizing: border-box;
}

.btn-submit-comment:hover,
#commentform input#submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.35);
}

.btn-wa-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: var(--fs-base);
    font-weight: 800;
    border-radius: 12px;
    background: var(--green);
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    box-sizing: border-box;
}

.btn-wa-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 95;
}

.wa-float__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-size: var(--fs-md);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: var(--ease);
}

.wa-float__btn:hover {
    transform: scale(1.1);
}

/* Articles */
.articles-section {
    padding: 60px 0 80px;
    background: var(--bg);
}

.product-category-filter {
    display: none;
}

/* Articles Slider */
.articles-slider-container {
    position: relative;
    margin-top: 40px;
}

.article-slider {
    overflow: hidden;
    margin: 0 -15px;
}

.article-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-slide {
    width: 25%;
    flex-shrink: 0;
    padding: 0 10px;
}

.article-card {
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.article-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: var(--text);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.article-slider-btn:hover {
    background: var(--primary);
    color: #fff;
}

.article-slider-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.4;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.article-slider-btn.prev {
    left: -60px;
}

.article-slider-btn.next {
    right: -60px;
}

.article-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.article-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--ease);
}

.article-dot.active {
    width: 24px;
    background: var(--primary);
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .slide {
        aspect-ratio: var(--slider-ratio, 2.4 / 1);
        min-height: auto;
    }

    .slider-btn {
        opacity: 0.88;
        visibility: visible;
    }

    .slider-prev {
        left: 12px;
        transform: translateY(-50%) translateX(0);
    }

    .slider-next {
        right: 12px;
        transform: translateY(-50%) translateX(0);
    }

    .article-slide {
        width: 50%;
    }

    .article-slider-btn.prev {
        left: -10px;
    }

    .article-slider-btn.next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .article-slide {
        width: 50%;
    }

    .article-slider-btn {
        display: none;
    }
}

.article-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4/5;
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--ease);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.article-card:hover .article-card__bg {
    transform: scale(1.08);
}

.article-card__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb, 0, 123, 255), 0.95) 0%, rgba(var(--primary-rgb, 0, 123, 255), 0.5) 50%, rgba(var(--primary-rgb, 0, 123, 255), 0) 100%);
    z-index: 2;
}

.article-card__link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 4;
}

.article-card__content {
    position: relative;
    z-index: 3;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: var(--fs-xs);
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-card__title {
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: var(--lh-snug);
    margin-bottom: 15px;
    color: #fff;
}

.article-card__title a {
    color: #fff;
    text-decoration: none;
}

.article-card__title a:hover {
    color: #fff;
    text-decoration: underline;
}

.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
}

.article-author, .article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-msg {
    text-align: center;
    padding: 40px;
    color: var(--text2);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

/* Logos Carousel */
.logos-section {
    padding: 40px 0;
    background: var(--bg2);
    overflow: hidden;
}

.logo-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: marquee 20s linear infinite;
    align-items: center;
}

.logo-slide {
    width: 202px;
    flex-shrink: 0;
}

.logo-slide img {
    width: 100%;
    height: auto;
    filter: grayscale(1) opacity(0.5);
    transition: var(--ease);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .logo-slide img {
    filter: grayscale(1) invert(0.85) opacity(0.65);
}

.logo-slide:hover img {
    filter: grayscale(0) opacity(1) !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================================
   TESTIMONIALS SLIDER SECTION (Clean, Smooth & Elegant)
   ======================================================== */
.testimonials-section {
    padding: 85px 0 95px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-header {
    margin-bottom: 42px;
    position: relative;
    z-index: 1;
}

.testimonials-section .section-subtitle {
    font-size: var(--fs-base);
    color: var(--text2);
    max-width: 620px;
    margin: 12px auto 0;
    line-height: var(--lh-base);
}

/* Slider Layout & Nav Controls */
.testimonials-slider-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    z-index: 1;
}

.testi-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .testi-slider-arrow {
    background: var(--bg2);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.testi-slider-prev {
    left: -24px;
}

.testi-slider-next {
    right: -24px;
}

.testi-slider-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.testi-slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.testi-slider-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.4;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 8px 12px;
}

/* ========================================================
   Captivating & Modern Testimonial Card Layout (Ala Quote Kekinian)
   - Blockquote: Font Merriweather, Tebal & Diperbesar 20%
   - Bagian Bawahnya: Foto + Badge Centang, Sebelahnya Nama, Dibawahnya Bintang / Ulasan
   ======================================================== */
.testimonial-card {
    background: var(--card-bg, #ffffff);
    padding: 48px 52px 42px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    position: relative;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .testimonial-card {
    background: var(--bg2);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.35);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    border-color: var(--border-focus, #cbd5e1);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 35px -4px rgba(0, 0, 0, 0.55);
}

/* Modern Floating Quote Icon Badge (Smooth & Clean) */
.testi-quote-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: none;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease;
}

.testimonial-card:hover .testi-quote-badge {
    transform: scale(1.05);
    background: rgba(var(--primary-rgb), 0.1);
}

/* Testimonial BlockQuote (Font Merriweather, Tebal & Diperbesar 20%) */
.testi-quote {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
    line-height: 1.48;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
    letter-spacing: -0.015em;
    position: relative;
}

/* Bagian Bawah: Foto + Badge Centang, Sebelahnya Nama, Dibawahnya Bintang / Ulasan */
.testi-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

/* Foto Avatar + Badge Centang (Clean & Smooth) */
.testi-avatar-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.testi-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.testi-avatar-initial {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    border: 2px solid var(--border);
}

.testi-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    border: 2px solid var(--card-bg, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .testi-avatar-badge {
    border-color: var(--bg2);
}

/* Sebelahnya: Info Nama & Rating */
.testi-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
}

/* Sebelahnya Nama (Tanpa Verified Pill) */
.testi-author-name {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
    font-weight: 800;
    color: var(--text);
    margin: 0;
    line-height: var(--lh-tight);
    letter-spacing: -0.015em;
}

/* Dibawahnya Bintang / Ulasan */
.testi-rating-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testi-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.testi-stars svg {
    flex-shrink: 0;
}

.testi-rating-score {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: 800;
    font-size: 0.875rem;
    color: #d97706;
    line-height: 1;
}

.testi-rating-label {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: 0.8125rem;
    color: var(--text2);
    font-weight: 500;
    line-height: 1;
}

/* Dots Pagination */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border, #cbd5e1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .testi-dot {
    background: rgba(255, 255, 255, 0.2);
}

.testi-dot:hover {
    background: var(--text3, #94a3b8);
    transform: scale(1.2);
}

.testi-dot.active {
    width: 28px;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .testi-slider-prev { left: -10px; }
    .testi-slider-next { right: -10px; }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 55px 0 65px;
    }
    .testi-slider-arrow {
        display: none;
    }
    .testimonial-card {
        padding: 32px 22px 26px;
        border-radius: 20px;
    }
    .testi-quote-badge {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }
    .testi-quote {
        font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.625rem);
        line-height: 1.45;
        margin-bottom: 24px;
    }
    .testi-bottom {
        gap: 14px;
        padding-top: 20px;
        max-width: 100%;
        justify-content: center;
    }
    .testi-avatar-wrap {
        width: 48px;
        height: 48px;
    }
    .testi-avatar-img,
    .testi-avatar-initial {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    .testi-author-name {
        font-size: 1rem;
    }
    .testi-rating-wrap {
        gap: 6px;
    }
    .testi-stars svg {
        width: 15px;
        height: 15px;
    }
    .testi-rating-label {
        display: none;
    }
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.faq-section::before {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: floatBlob 20s infinite alternate;
}

.faq-section::after {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation: floatBlob 25s infinite alternate-reverse;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}



.section-subtitle {
    color: var(--text2);
    margin-top: 10px;
    opacity: 0.8;
}

.faq-accordion {
    margin-top: 60px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.faq-item {
    background: rgba(var(--primary-rgb), 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 0;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    user-select: none;
    transition: background 0.3s;
}

.faq-question h3 {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text);
    line-height: var(--lh-snug);
    transition: color 0.3s;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--text2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.faq-item.active {
    background: var(--bg);
    border-color: var(--primary);
    box-shadow: 0 15px 40px -15px rgba(var(--primary-rgb), 0.15);
}

.faq-item.active .faq-question {
    background: rgba(var(--primary-rgb), 0.03);
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 35px 30px;
    color: var(--text2);
    line-height: var(--lh-relaxed);
    font-size: var(--fs-base);
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Mobile FAQ Adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-accordion {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .faq-item {
        margin-bottom: 0;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: var(--fs-sm);
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .faq-answer-content {
        padding: 0 25px 25px;
        font-size: var(--fs-sm);
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--footer-bg);
    padding: 80px 0 30px;
    margin-top: 0;
    color: var(--footer-text);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
}

.footer-brand .footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-site-title {
    font-size: var(--fs-md);
    font-weight: 900;
    margin: 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about {
    margin-bottom: 25px;
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
    opacity: 0.8;
}

.footer-title {
    font-size: var(--fs-base);
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: var(--text2);
    text-decoration: none;
    transition: var(--ease);
    display: inline-block;
}

.footer-nav-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text2);
    font-size: var(--fs-sm);
}

.contact-info li .dashicons {
    color: var(--primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.contact-info li a {
    color: inherit;
    transition: var(--ease);
}

.contact-info li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: var(--fs-xs);
    color: inherit;
    opacity: 0.6;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link[aria-label="Facebook"]:hover { background: #1877F2; border-color: #1877F2; color: #fff; box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35); }
.social-link[aria-label="Twitter"]:hover { background: #0f1419; border-color: #0f1419; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.social-link[aria-label="Linkedin"]:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; box-shadow: 0 6px 18px rgba(10, 102, 194, 0.35); }
.social-link[aria-label="Youtube"]:hover { background: #FF0000; border-color: #FF0000; color: #fff; box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35); }
.social-link[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(220, 39, 67, 0.35); }
.social-link[aria-label="Tiktok"]:hover { background: #000; border-color: #000; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }

/* ==========================================
   MOBILE MENU (GLOBAL - always fixed overlay)
   ========================================== */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.35s,
                backdrop-filter 0.35s ease;
    display: block !important;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.35s ease;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100%;
    height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    color: var(--text);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    will-change: transform;
    overflow: hidden;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.38s,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.mobile-menu-drawer.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-drawer {
    background: #141824;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 45px rgba(0, 0, 0, 0.6);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-header {
    background: #141824;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu-title {
    font-weight: 700;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 9px;
}

.mobile-menu-title::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    display: inline-block;
}

.mobile-menu-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    color: var(--text2);
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-drawer.active .mobile-menu-close {
    animation: menuCloseEntrance 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

@keyframes menuCloseEntrance {
    0% {
        transform: scale(0.5) rotate(-90deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.mobile-menu-close svg {
    display: block;
    margin: auto;
    width: 18px;
    height: 18px;
}

.mobile-menu-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.mobile-menu-close:active {
    transform: scale(0.92) rotate(90deg);
    background: #fee2e2;
    color: #ef4444;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-close {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-close:hover,
:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-close:active {
    background: rgba(239, 68, 68, 0.22);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.45);
}

.mobile-primary-menu {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s ease;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list > li {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

/* Staggered entrance animation for menu items */
.mobile-menu-drawer.active .mobile-nav-list > li {
    animation: mobileNavItemEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(1) { animation-delay: 0.04s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(2) { animation-delay: 0.08s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(3) { animation-delay: 0.12s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(4) { animation-delay: 0.16s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(5) { animation-delay: 0.20s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(6) { animation-delay: 0.24s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(7) { animation-delay: 0.28s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(8) { animation-delay: 0.32s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(9) { animation-delay: 0.36s; }
.mobile-menu-drawer.active .mobile-nav-list > li:nth-child(10) { animation-delay: 0.40s; }

@keyframes mobileNavItemEntrance {
    0% {
        opacity: 0;
        transform: translate3d(24px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.mobile-nav-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    margin: 3px 12px;
    border-radius: 12px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                color 0.2s ease,
                box-shadow 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list > li > a::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 12px;
    opacity: 0.55;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.mobile-nav-list > li:nth-child(2) > a::before { background: #f59e0b; }
.mobile-nav-list > li:nth-child(3) > a::before { background: #10b981; }
.mobile-nav-list > li:nth-child(4) > a::before { background: #8b5cf6; }
.mobile-nav-list > li:nth-child(5) > a::before { background: #ec4899; }
.mobile-nav-list > li:nth-child(6) > a::before { background: #06b6d4; }
.mobile-nav-list > li:nth-child(7) > a::before { background: #6366f1; }

@media (hover: hover) {
    .mobile-nav-list > li > a:hover {
        color: var(--primary);
        background: rgba(var(--primary-rgb), 0.08);
        transform: translateX(3px);
    }
    .mobile-nav-list > li > a:hover::before {
        opacity: 1;
        transform: scale(1.35);
    }
}

.mobile-nav-list > li > a:active {
    background: rgba(var(--primary-rgb), 0.12);
    transform: scale(0.98);
}

.mobile-nav-list > li > a:active::before {
    opacity: 1;
    transform: scale(1.3);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list > li > a {
    color: #e2e8f0;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list > li > a:active {
    background: rgba(255, 255, 255, 0.08);
}

/* Active / Current Page Highlight */
.mobile-nav-list > li.current-menu-item > a,
.mobile-nav-list > li.current_page_item > a,
.mobile-nav-list > li.current-menu-ancestor > a {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 700;
}

.mobile-nav-list > li.current-menu-item > a::before,
.mobile-nav-list > li.current_page_item > a::before {
    opacity: 1;
    background: var(--primary);
    transform: scale(1.35);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list > li.current-menu-item > a,
:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list > li.current_page_item > a {
    background: rgba(var(--primary-rgb), 0.2);
    color: #60a5fa;
}

/* Submenu Accordion */
.mobile-nav-list .sub-menu {
    list-style: none;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 2px 12px 6px 26px;
    padding: 0 0 0 12px;
    border-left: 2px dashed rgba(var(--primary-rgb), 0.25);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                padding 0.3s ease;
}

.mobile-nav-list li.active > .sub-menu {
    max-height: 600px;
    opacity: 1;
    padding: 4px 0 6px 12px;
}

.mobile-nav-list .sub-menu a {
    display: block;
    padding: 10px 14px;
    margin: 2px 0;
    border-radius: 8px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-list .sub-menu a:hover,
.mobile-nav-list .sub-menu a:active,
.mobile-nav-list .sub-menu li.current-menu-item > a {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateX(3px);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list .sub-menu {
    border-left-color: rgba(255, 255, 255, 0.12);
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list .sub-menu a {
    color: #94a3b8;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list .sub-menu a:hover,
:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list .sub-menu a:active,
:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-nav-list .sub-menu li.current-menu-item > a {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-list .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, opacity 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.65;
}

.mobile-nav-list .menu-item-has-children.active > a::after {
    transform: rotate(-135deg);
    opacity: 1;
    color: var(--primary);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    margin-top: auto;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .mobile-menu-footer {
    background: #141824;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.mobile-menu-wa-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.mobile-menu-wa-btn svg {
    flex-shrink: 0;
    fill: currentColor;
}

/* ==========================================
   MOBILE SEARCH MODAL
   ========================================== */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 300;
    display: none;
    flex-direction: column;
}

.search-modal-overlay.active {
    display: flex;
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.search-modal-back {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 6px;
    display: flex;
}

.search-modal-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.045);
    border: none !important;
    border-radius: 9999px;
    padding: 8px 16px;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.search-modal-input-wrap:focus-within {
    background: rgba(15, 23, 42, 0.065);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .search-modal-input-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .search-modal-input-wrap:focus-within {
    background: rgba(255, 255, 255, 0.10);
    border: none !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
}

.search-modal-icon {
    flex-shrink: 0;
    color: var(--text2);
}

.search-modal-input,
#search-modal-input,
input#search-modal-input {
    flex: 1;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    color: var(--text);
    font-size: var(--fs-base);
    font-family: inherit;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.search-modal-input:focus,
.search-modal-input:focus-visible,
.search-modal-input:active,
#search-modal-input:focus,
#search-modal-input:focus-visible,
#search-modal-input:active {
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}

.search-modal-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text2);
    font-size: var(--fs-md);
}

.search-modal-body {
    flex: 1;
    overflow-y: auto;
}

.search-section-title {
    font-size: var(--fs-2xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text2);
    padding: 16px 20px 8px;
}

.search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
}

.popular-tag {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--ease);
}

.popular-tag:active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.search-modal-results {
    display: flex;
    flex-direction: column;
}

.search-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    text-decoration: none;
    transition: background 0.2s;
}

.search-product-item:active {
    background: var(--bg2);
}

.search-product-item .item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg2);
}

.search-product-item .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-item .item-info {
    flex: 1;
    min-width: 0;
}

.search-product-item .item-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.search-product-item .item-price .price-current {
    font-weight: 700;
    color: var(--primary);
    font-size: var(--fs-sm);
}

.search-product-arrow {
    color: var(--text2);
    opacity: 0.35;
    flex-shrink: 0;
}

/* ==========================================
   BOTTOM NAV (mobile only - see below)
   ========================================== */
/* ==========================================================================
   COLORFUL MOBILE BOTTOM NAVIGATION BAR ("Logonya Berwarna")
   ========================================================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    min-height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border);
    display: none; /* hidden by default on desktop, flex on mobile */
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: bottomNavEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .bottom-nav {
    background: rgba(15, 23, 42, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.45);
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text2);
    text-decoration: none;
    height: 64px;
    padding: 4px 2px;
    transition: color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: pointer;
}

.bottom-nav .nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.25s ease,
                box-shadow 0.25s ease;
}

.bottom-nav svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Authentic Vibrant Colors for Each Item */
.bottom-nav .nav-home svg {
    color: var(--primary, #2563eb);
    stroke: var(--primary, #2563eb);
}

.bottom-nav .nav-kategori svg {
    color: #f59e0b;
    stroke: #f59e0b;
}

.bottom-nav .nav-whatsapp svg {
    color: #25d366;
    fill: #25d366;
}

.bottom-nav .nav-menu svg {
    color: #8b5cf6;
    stroke: #8b5cf6;
}

/* Hover-Only Effects */
.bottom-nav .nav-home:hover .nav-icon-wrap {
    background: rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.bottom-nav .nav-home:hover span {
    color: var(--primary, #2563eb);
}

.bottom-nav .nav-kategori:hover .nav-icon-wrap {
    background: rgba(245, 158, 11, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.bottom-nav .nav-kategori:hover span {
    color: #f59e0b;
}

.bottom-nav .nav-whatsapp:hover .nav-icon-wrap {
    background: rgba(37, 211, 102, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.bottom-nav .nav-whatsapp:hover span {
    color: #25d366;
}

/* Menu Toggle SVG Lines Morphing on Drawer Open */
.bottom-nav .nav-menu svg line {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.2s ease,
                stroke 0.25s ease;
}

.bottom-nav .nav-menu:hover .nav-icon-wrap {
    background: rgba(139, 92, 246, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}
.bottom-nav .nav-menu:hover span {
    color: #8b5cf6;
}

:is(.theme-dark, html.theme-dark, body.theme-dark) .bottom-nav .nav-home:hover .nav-icon-wrap {
    background: rgba(59, 130, 246, 0.22);
}
:is(.theme-dark, html.theme-dark, body.theme-dark) .bottom-nav .nav-kategori:hover .nav-icon-wrap {
    background: rgba(245, 158, 11, 0.22);
}
:is(.theme-dark, html.theme-dark, body.theme-dark) .bottom-nav .nav-whatsapp:hover .nav-icon-wrap {
    background: rgba(37, 211, 102, 0.22);
}
:is(.theme-dark, html.theme-dark, body.theme-dark) .bottom-nav .nav-menu:hover .nav-icon-wrap {
    background: rgba(139, 92, 246, 0.25);
}

.bottom-nav .nav-menu.active svg line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    stroke: #8b5cf6;
}

.bottom-nav .nav-menu.active svg line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.bottom-nav .nav-menu.active svg line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    stroke: #8b5cf6;
}

.bottom-nav .nav-item span {
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.bottom-nav .nav-item:active {
    transform: scale(0.94);
}

@keyframes bottomNavEntrance {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================
   DESKTOP (min-width: 769px)
   ========================================== */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }

    .primary-menu {
        display: block;
    }

    .header-flex {
        height: 72px;
    }

    .site-logo img {
        height: 42px;
    }

    .site-header {
        z-index: 100;
    }

    .wa-float {
        bottom: 30px;
    }
}

/* ==========================================
   MOBILE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
        font-size: 14px;
    }

    h1 {
        font-size: var(--fs-lg);
    }

    h2 {
        font-size: var(--fs-md);
    }

    h3 {
        font-size: var(--fs-md);
    }

    /* Header mobile with centered search box */
    .header-flex {
        display: flex;
        height: 60px;
        padding: 0 12px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .site-logo {
        flex: 0 0 auto;
        width: auto;
        display: flex;
        align-items: center;
        max-width: 110px;
    }

    .site-logo img {
        height: 32px;
        max-width: 95px;
        width: auto;
        object-fit: contain;
    }

    .site-logo .site-title {
        font-size: var(--fs-base);
        font-weight: 800;
        white-space: nowrap;
    }

    /* Centered Search Box on Mobile */
    .header-search-centered {
        display: block !important;
        flex: 1;
        min-width: 0;
        margin: 0;
        position: relative;
    }

    .header-search-centered .search-form {
        height: 38px;
        padding: 0 10px 0 14px;
        border-radius: 9999px;
        background: rgba(15, 23, 42, 0.045);
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-tap-highlight-color: transparent;
    }

    .header-search-centered .search-form:hover {
        background: rgba(15, 23, 42, 0.07);
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .header-search-centered .search-form:focus-within {
        background: rgba(15, 23, 42, 0.065);
        border: none !important;
        outline: none !important;
        outline-width: 0 !important;
        box-shadow: none !important;
        transform: none;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .header-search-centered .search-form {
        background: rgba(255, 255, 255, 0.06);
        border: none !important;
        outline: none !important;
        outline-width: 0 !important;
        box-shadow: none !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .header-search-centered .search-form:hover {
        background: rgba(255, 255, 255, 0.09);
        border: none !important;
        outline: none !important;
        outline-width: 0 !important;
        box-shadow: none !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .header-search-centered .search-form:focus-within {
        background: rgba(255, 255, 255, 0.10);
        border: none !important;
        outline: none !important;
        outline-width: 0 !important;
        box-shadow: none !important;
    }

    .header-search-centered .search-icon {
        margin-right: 6px;
    }

    .header-search-centered .search-icon svg {
        width: 16px;
        height: 16px;
        transition: all 0.25s ease;
    }

    .header-search-centered .search-form:focus-within .search-icon {
        color: var(--primary);
        transform: scale(1.08);
    }

    .header-search-centered .search-input {
        font-size: var(--fs-xs);
        height: 100%;
        width: 100%;
        border: none !important;
        border-width: 0 !important;
        border-style: none !important;
        border-color: transparent !important;
        outline: none !important;
        outline-width: 0 !important;
        outline-style: none !important;
        outline-color: transparent !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    .header-search-centered .search-input:focus,
    .header-search-centered .search-input:focus-visible,
    .header-search-centered .search-input:active {
        border: none !important;
        border-width: 0 !important;
        border-style: none !important;
        border-color: transparent !important;
        outline: none !important;
        outline-width: 0 !important;
        outline-style: none !important;
        outline-color: transparent !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        background: transparent !important;
    }

    .header-search-centered .search-results {
        position: fixed;
        top: 62px;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-height: 72vh;
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
        z-index: 2000;
        animation: searchDropIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .header-actions {
        gap: 6px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
    }

    /* Menu moved to bottom navigation bar */
    .site-header .menu-toggle {
        display: none !important;
    }

    .mode-toggle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .primary-menu,
    .btn-wa-header {
        display: none !important;
    }

    .bottom-nav {
        display: flex;
    }

    /* Hide redundant round floating WA button on mobile since Bottom Nav has WhatsApp */
    .wa-float {
        display: none !important;
    }

    /* Slider mobile - Premium Floating Card Style */
    .hero-slider-section {
        margin: 10px 0 20px;
        padding: 0;
    }

    .hero-slider-container {
        padding: 0 14px;
        width: 100%;
    }

    .slider-container {
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        aspect-ratio: var(--slider-ratio, 2.735 / 1);
        min-height: auto;
        box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border);
        overflow: hidden;
        position: relative;
    }

    .slide {
        width: 100%;
        height: 100%;
        aspect-ratio: var(--slider-ratio, 2.735 / 1);
        min-height: auto;
        border-radius: 16px;
    }

    .slider-dots {
        bottom: 8px;
        padding: 3px 8px;
        gap: 5px;
        background: rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px;
    }

    .slider-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        transition: all 0.3s ease;
    }

    .slider-dots .dot.active {
        width: 18px;
        border-radius: 4px;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    /* Elegant Mobile Slider Arrow Buttons */
    .slider-btn {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%) !important;
        z-index: 4;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        color: #0f172a !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        opacity: 0.9 !important;
        visibility: visible !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .slider-btn {
        background: rgba(15, 23, 42, 0.88) !important;
        color: #f8fafc !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    .slider-prev {
        left: 8px !important;
    }

    .slider-next {
        right: 8px !important;
    }

    .slider-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .slide-placeholder-inner {
        padding: 24px 16px;
    }

    .slide-placeholder-pill {
        font-size: var(--fs-xs);
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .slide-placeholder-inner h2 {
        font-size: var(--fs-md);
        margin-bottom: 8px;
    }

    .slide-placeholder-inner p {
        font-size: var(--fs-xs);
        margin-bottom: 16px;
        line-height: var(--lh-snug);
    }

    .btn-slide-cta,
    .btn-slide-admin {
        font-size: var(--fs-xs);
        padding: 8px 16px;
    }

    /* Sections - Gapless transition from slider */
    .categories-section {
        padding: 0 0 15px;
    }

    .products-section {
        padding: 20px 0 30px;
    }

    .section-badge {
        font-size: var(--fs-2xs);
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: var(--fs-md);
        letter-spacing: -0.01em;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Product Category Filter Mobile */
    .product-section-header {
        display: block !important;
    }

    .product-category-filter {
        margin-top: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-category-filter::-webkit-scrollbar {
        display: none;
    }

    .category-scroll-wrapper {
        display: flex;
        gap: 10px;
        white-space: nowrap;
    }

    .cat-filter-item {
        padding: 8px 18px;
        background: var(--glass);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid var(--glass-border);
        border-radius: 50px;
        font-size: var(--fs-sm);
        font-weight: 700;
        color: var(--text2);
        transition: var(--ease);
    }

    .cat-filter-item.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
        backdrop-filter: none;
    }

    /* ==========================================================================
       CATEGORY GRID - NATIVE APP STYLE (MOBILE ≤ 768px)
       ========================================================================== */
    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 8px 2px 16px !important;
        justify-content: center !important;
        align-items: stretch !important;
        overflow: visible !important;
    }

    .category-item {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        min-height: 106px !important;
        padding: 12px 6px 10px !important;
        gap: 8px !important;
        background: var(--card-bg, #ffffff) !important;
        border: 1.5px solid var(--border) !important;
        border-radius: 18px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-decoration: none !important;
        position: relative !important;
        transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.25s ease,
                    background-color 0.25s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        cursor: pointer;
    }

    .category-item::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100% !important;
        background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%) !important;
        opacity: 0 !important;
        transition: opacity 0.35s ease !important;
        pointer-events: none !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-item {
        background: #141824 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    }

    /* Efek Kategori Mobile SAMA PERSIS dengan Desktop (Hover & Tap/Active) */
    .category-item:hover,
    .category-item:active {
        transform: translateY(-6px) !important;
        border-color: rgba(var(--primary-rgb), 0.45) !important;
        box-shadow: 0 14px 28px -6px rgba(var(--primary-rgb), 0.24),
                    0 0 0 1.5px rgba(var(--primary-rgb), 0.25) !important;
    }

    .category-item:hover::before,
    .category-item:active::before {
        opacity: 1 !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:hover,
    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:active {
        border-color: rgba(96, 165, 250, 0.5) !important;
        box-shadow: 0 16px 32px -6px rgba(0, 0, 0, 0.65),
                    0 0 0 1.5px rgba(96, 165, 250, 0.35) !important;
    }

    .category-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 16px !important;
        background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.09) 0%, rgba(var(--primary-rgb), 0.02) 100%) !important;
        border: 1.2px solid rgba(var(--primary-rgb), 0.14) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        color: var(--primary) !important;
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.06) !important;
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                    background 0.3s ease,
                    border-color 0.3s ease,
                    color 0.3s ease,
                    box-shadow 0.3s ease !important;
        position: relative !important;
        z-index: 1 !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-icon {
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        color: #60a5fa !important;
    }

    .category-icon svg {
        width: 26px !important;
        height: 26px !important;
        stroke: currentColor !important;
        display: block !important;
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.25s ease !important;
    }

    .category-icon img,
    .category-icon .category-icon-img,
    .category-icon .pill-icon-img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        border-radius: 6px !important;
        display: block !important;
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08)) !important;
    }

    .category-icon .dashicons {
        font-size: 26px !important;
        width: 26px !important;
        height: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    /* Efek Ikon Kategori Mobile SAMA PERSIS dengan Desktop */
    .category-item:hover .category-icon,
    .category-item:active .category-icon {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        border-color: transparent !important;
        color: #ffffff !important;
        transform: scale(1.08) translateY(-2px) !important;
        box-shadow: 0 8px 20px -2px rgba(var(--primary-rgb), 0.45) !important;
    }

    .category-item:hover .category-icon svg,
    .category-item:active .category-icon svg {
        stroke: #ffffff !important;
    }

    .category-item:hover .category-icon img,
    .category-item:active .category-icon img,
    .category-item:hover .category-icon .category-icon-img,
    .category-item:active .category-icon .category-icon-img,
    .category-item:hover .category-icon .pill-icon-img,
    .category-item:active .category-icon .pill-icon-img {
        transform: scale(1.12) !important;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22)) !important;
    }

    .category-item:hover .category-icon .dashicons,
    .category-item:active .category-icon .dashicons {
        transform: scale(1.1) !important;
        color: #ffffff !important;
    }

    .category-name {
        font-size: var(--fs-xs) !important;
        font-weight: 700 !important;
        line-height: var(--lh-tight) !important;
        text-align: center !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
        padding: 0 2px !important;
        color: var(--text) !important;
        letter-spacing: -0.2px !important;
        z-index: 1 !important;
        transition: color 0.2s ease, transform 0.2s ease !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-name {
        color: #f1f5f9 !important;
    }

    /* Efek Teks Kategori Mobile SAMA PERSIS dengan Desktop */
    .category-item:hover .category-name,
    .category-item:active .category-name {
        color: var(--primary) !important;
        transform: translateY(-1px) !important;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:hover .category-name,
    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-item:active .category-name {
        color: #60a5fa !important;
    }

    /* Products */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__content {
        padding: 10px;
    }

    .product-card__title a {
        font-size: var(--fs-sm);
    }

    /* +10% from 0.82rem */
    .price-current {
        font-size: var(--fs-sm);
    }

    /* Slender button on mobile cards */
    .btn-whatsapp-order {
        padding: 8px 12px;
        font-size: var(--fs-xs);
        margin-top: 8px;
    }

    /* Product Detail Mobile Adjustments */
    .single-product .product-info {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .single-product .breadcrumb {
        display: none !important;
    }

    .single-product .product-price-display,
    .single-product .variations-list,
    .single-product .marketplace-title,
    .single-product .product-share {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .single-product .spec-row {
        flex-direction: row;
        /* Keep horizontal but wrap if needed, or stick to column if preferred */
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        gap: 15px;
    }

    .single-product .spec-label {
        width: 100px;
        margin-bottom: 0;
        text-align: left;
        flex-shrink: 0;
    }

    .single-product .spec-value {
        text-align: left;
    }

    .single-product .product-note-box {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .single-product .btn-contact-us {
        font-size: var(--fs-sm);
        min-height: 48px;
        padding: 12px 18px !important;
        width: 100% !important;
        margin: 0 0 18px 0 !important;
        border-radius: 12px !important;
    }

    .single-product .btn-marketplace {
        font-size: var(--fs-xs);
        min-height: 42px;
        padding: 9px 8px !important;
        width: 100%;
        border-radius: 10px !important;
    }

    .single-product .btn-marketplace .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
        margin-right: 5px !important;
    }

    .single-product .marketplace-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        justify-content: center;
    }

    /* Product Gallery Mobile */
    .product-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 25px;
    }

    .main-image {
        width: 95% !important;
        margin: 0 auto 15px !important;
    }

    .gallery-thumbs {
        justify-content: center;
        width: 100%;
    }

    .single-product .product-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 20px 0;
    }

    .single-product .marketplace-links {
        width: 100%;
        padding: 20px 0 0;
        border-top: 1.5px dashed var(--border);
    }

    .single-product .marketplace-title {
        text-align: center;
        justify-content: center;
    }

    .single-product .product-share {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    /* Articles mobile */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card__content {
        padding: 18px;
    }

    .article-card__title {
        font-size: var(--fs-base);
        margin-bottom: 8px;
    }

    .article-card__excerpt {
        font-size: var(--fs-sm);
        line-height: var(--lh-snug);
        margin-bottom: 15px;
    }

    /* Footer on Mobile */
    .site-footer {
        display: block !important;
        padding: 44px 0 calc(95px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--footer-bg, var(--bg2));
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px;
    }

    .footer-column {
        border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
        padding-bottom: 22px;
    }

    .footer-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-title {
        font-size: var(--fs-sm);
        font-weight: 800;
        margin-bottom: 14px;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-title::after {
        width: 26px;
        height: 3px;
    }

    .footer-nav-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-nav-list li {
        margin-bottom: 0;
    }

    .footer-nav-list a {
        color: var(--text2);
        font-size: var(--fs-sm);
        text-decoration: none;
        display: inline-block;
        padding: 4px 0;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .footer-nav-list a:hover {
        color: var(--primary);
        transform: translateX(4px);
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .footer-column {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .footer-nav-list a {
        color: #94a3b8;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .footer-nav-list a:hover {
        color: #60a5fa;
    }

    .footer-bottom {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
    }

    /* WA Float hidden on mobile (moved to bottom nav) */
    .wa-float {
        display: none !important;
    }

    /* Interactive feedback for mobile */
    .btn:active,
    .nav-item:active,
    .product-card:active,
    .category-item:active,
    .share-icon:active {
        transform: scale(0.96);
        opacity: 0.8;
        transition: transform 0.1s;
    }

    /* Hide scrollbar on mobile but keep functionality */
    html,
    body {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    /* Partner Logos Mobile */
    .logo-slide {
        width: 139px;
    }
}

/* ==========================================
   SMALL MOBILE (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    .product-grid {
        gap: 8px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   LIGHTBOX ZOOM
   ========================================== */
.tokoku-lightbox {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.tokoku-lightbox-content {
    max-width: 95%;
    max-height: 95%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tokoku-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tokoku-lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tokoku-lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.5);
    color: #fff;
}

.tokoku-lightbox-close svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .tokoku-lightbox-close {
        top: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .tokoku-lightbox-close svg {
        width: 20px;
        height: 20px;
    }
}

.main-image {
    cursor: zoom-in;
}
/* Scroll to Top Button (Desktop Only) */
.scroll-to-top {
    position: fixed;
    bottom: 90px; /* Above WA button */
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.scroll-to-top .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Hide on Mobile */
@media (max-width: 1024px) {
    .scroll-to-top {
        display: none !important;
    }
}

/* ==========================================================================
   FLOATING ACTIONS (WA & SCROLL TOP) - FINAL FIX
   ========================================================================== */
.floating-actions-desktop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wa-float {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 10001 !important;
}

.scroll-to-top {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    display: none; /* Hidden by default, shown via JS active class */
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 10002 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.scroll-to-top.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.wa-float__btn {
    width: 50px;
    height: 50px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.wa-float__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsive Logic */
@media (max-width: 1024px) {
    .floating-actions-desktop {
        display: none !important;
    }
}

/* Fix for Mobile: Keep WA button visible but hide Scroll Top */
@media (max-width: 1024px) {
    .floating-actions-desktop {
        display: flex !important;
        bottom: 85px; /* Above mobile bottom nav */
        right: 15px;
    }
    .scroll-to-top {
        display: none !important; /* Always hide scroll top on mobile */
    }
    .wa-float__btn {
        width: 45px;
        height: 45px;
    }
}

/* v1.6.7 Mobile Footer Restoration Overrides */
@media (max-width: 768px) {
    .wa-float {
        display: none !important;
    }
    .floating-actions-desktop {
        display: none !important;
    }
    .bottom-nav {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        min-height: 64px;
        background: var(--glass);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid var(--border);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

/* ==========================================================================
   ELEGANT FLOATING ACTIONS & CLEAN DESKTOP UI
   ========================================================================== */

/* 1. Hide default scrollbar for all devices but keep functionality */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

/* 2. Unified Elegant Container */
.floating-actions-desktop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* 3. Elegant Top Button (Desktop Only) */
.scroll-to-top {
    position: relative !important;
    display: none; /* Hidden by default */
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.theme-light .scroll-to-top {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    border: 1px solid var(--border);
}

.scroll-to-top.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb, 59, 130, 246), 0.4);
    border-color: transparent;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* 4. Elegant WA Float */
.wa-float {
    position: relative !important;
}

.wa-float__btn {
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-float__btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
}

/* Hide Scroll Top on Mobile */
@media (max-width: 1024px) {
    .scroll-to-top {
        display: none !important;
    }
    .floating-actions-desktop {
        bottom: 85px;
        right: 15px;
    }
}

/* ==========================================================================
   PRODUCT CATALOG & ARCHIVES (ARCHIVE-PRODUK & SEARCH)
   ========================================================================== */

/* Breadcrumbs */
.archive-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--fs-sm);
    color: var(--text2);
    margin: 24px 0 16px;
}

.archive-breadcrumbs a {
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-breadcrumbs a:hover {
    color: var(--primary);
}

.archive-breadcrumbs .sep {
    color: var(--border);
    font-size: var(--fs-xs);
}

.archive-breadcrumbs .current {
    color: var(--text);
    font-weight: 600;
}

/* Archive & Search Hero Header */
.archive-header-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.archive-header-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.08), transparent 70%);
    pointer-events: none;
}

.archive-hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.archive-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-main-title {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--text);
    line-height: var(--lh-tight);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.search-page .archive-main-title .search-highlight {
    color: var(--primary);
}

.archive-subtitle {
    font-size: var(--fs-sm);
    color: var(--text2);
    line-height: var(--lh-base);
    max-width: 680px;
    margin: 0;
}

.archive-count-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--bg2);
    border: 1px solid var(--border);
    min-width: 130px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.archive-count-badge .count-num {
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.archive-count-badge .count-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Category Filter Pill Bar & Sort Toolbar */
.archive-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.category-pill-bar {
    display: none; /* Hidden on desktop — mobile override below */
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
}

.category-pill-bar::-webkit-scrollbar {
    height: 4px;
}

.category-pill-bar::-webkit-scrollbar-track {
    background: transparent;
}

.category-pill-bar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    min-height: 40px;
    border-radius: 50px;
    background: var(--card-bg, #ffffff);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.category-pill.active {
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    border-color: transparent;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.category-pill .pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.category-pill .pill-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.category-pill .pill-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
}

.category-pill.active .pill-icon svg {
    stroke: #ffffff;
}

.category-pill .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 700;
    background: var(--bg2);
    color: var(--text2);
    transition: all 0.2s ease;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Sort Dropdown */
.archive-sort-wrap {
    flex-shrink: 0;
}

.archive-sort-wrap .sort-form {
    position: relative;
    display: flex;
    align-items: center;
}

.archive-sort-wrap .sort-icon {
    position: absolute;
    left: 14px;
    color: var(--text2);
    pointer-events: none;
}

.archive-sort-wrap select {
    padding: 9px 36px 9px 38px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background-color: var(--card-bg);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive-sort-wrap select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* Archive 2-Column Container Layout */
.archive-container {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 50px;
}

.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
    font-size: var(--fs-base);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.3px;
}

.sidebar-widget .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-widget .category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-widget .category-list li a:hover {
    background: var(--bg2);
    color: var(--primary);
    transform: translateX(3px);
}

.sidebar-widget .category-list li.current-cat a {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-weight: 700;
}

.sidebar-widget .cat-link-inner {
    display: flex;
    align-items: center;
}

.sidebar-widget .cat-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    margin-right: 10px;
    display: inline-block;
    transition: background 0.2s ease;
}

.sidebar-widget .category-list li.current-cat .cat-bullet,
.sidebar-widget .category-list li a:hover .cat-bullet {
    background: var(--primary);
}

.sidebar-widget .count {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text2);
    background: var(--bg2);
    padding: 2px 8px;
    border-radius: 20px;
}

/* Sidebar Help / WhatsApp Card */
.sidebar-help-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.02));
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
}

.sidebar-help-card .help-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-help-card h5 {
    font-size: var(--fs-base);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.sidebar-help-card p {
    font-size: var(--fs-xs);
    color: var(--text2);
    line-height: var(--lh-snug);
    margin-bottom: 16px;
}

.sidebar-help-card .btn {
    width: 100%;
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
}

/* Product Grid inside Archive (3 columns desktop next to sidebar) */
.archive-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Empty State / No Products */
.no-products-found,
.no-articles-found {
    text-align: center;
    padding: 60px 24px;
    background: var(--card-bg);
    border: 1.5px dashed var(--border);
    border-radius: 20px;
    margin: 20px 0;
}

.no-products-found .empty-icon,
.no-articles-found .empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg2);
    color: var(--text2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.no-products-found h3,
.no-articles-found h3 {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.no-products-found p,
.no-articles-found p {
    font-size: var(--fs-sm);
    color: var(--text2);
    max-width: 480px;
    margin: 0 auto 20px;
    line-height: var(--lh-base);
}

/* ==========================================================================
   PRODUCT CARD BADGES & WHATSAPP BUTTON ENHANCEMENT
   ========================================================================== */
.product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    z-index: 3;
    pointer-events: none;
}

.product-card__badges .product-card__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 800;
    line-height: var(--lh-tight);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    color: #ffffff;
    white-space: nowrap;
}

.product-card__badges .badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.product-card__badges .badge-discount {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.38);
}

.product-card__badges .badge-soldout {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.product-card__badges .badge-preorder {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.product-card__badges .badge-available,
.product-card__badges .badge-tersedia {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.38);
}

/* Label Khusus / Special Badge — Kanan Atas Gambar Kartu Produk */
.product-card__special-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    pointer-events: none;
}
.product-card__special-badge span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: var(--fs-2xs);
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.38);
    white-space: nowrap;
    animation: cardSpecialGlow 2.8s ease-in-out infinite;
}
@keyframes cardSpecialGlow {
    0%, 100% { box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35); }
    50%       { box-shadow: 0 3px 18px rgba(239, 68, 68, 0.62); }
}
@media (max-width: 768px) {
    .product-card__special-badge {
        display: none !important;
    }
    .product-card__badges {
        display: none !important;
    }
}

/* ==========================================================================
   TOAST NOTIFICATION (#tokoku-toast)
   ========================================================================== */
.tokoku-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 99999;
}

.tokoku-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tokoku-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    flex-shrink: 0;
}

[data-theme="dark"] .tokoku-toast,
.theme-dark .tokoku-toast {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BLOG FEED & ARTICLE CARDS (INDEX.PHP & ARCHIVE.PHP)
   ========================================================================== */
.blog-page {
    padding-bottom: 60px;
}

.blog-hero-header {
    text-align: center;
    padding: 45px 20px 35px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-hero-title {
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--text);
    line-height: var(--lh-tight);
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.blog-hero-desc {
    font-size: var(--fs-base);
    color: var(--text2);
    line-height: var(--lh-base);
    margin: 0 auto;
}

/* Blog Category Pill Bar */
.blog-category-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 20px;
    margin-bottom: 35px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.blog-category-bar::-webkit-scrollbar {
    height: 4px;
}

.blog-category-bar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.blog-category-pill .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 700;
    background: var(--bg2);
    color: var(--text2);
    transition: all 0.2s ease;
}

.blog-category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.blog-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg2);
}

.blog-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-card__image-wrap img {
    transform: scale(1.08);
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    opacity: 0.5;
}

.blog-card__category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: var(--fs-xs);
    font-weight: 800;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--text2);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-card__meta .meta-date,
.blog-card__meta .meta-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card__meta .meta-dot {
    opacity: 0.4;
}

.blog-card__title {
    font-size: var(--fs-md);
    font-weight: 800;
    line-height: var(--lh-snug);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.blog-card__title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__title a:hover {
    color: var(--primary);
}

.blog-card__excerpt {
    font-size: var(--fs-sm);
    color: var(--text2);
    line-height: var(--lh-base);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-card__read-more svg {
    transition: transform 0.25s ease;
}

.blog-card__read-more:hover {
    color: var(--primary-dark);
}

.blog-card__read-more:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   SINGLE BLOG POST (SINGLE.PHP)
   ========================================================================== */
.single-post-page {
    padding-bottom: 80px;
}

.container-narrow {
    max-width: 860px !important;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.single-post-article {
    background: transparent;
}

.single-post-header {
    margin-bottom: 28px;
}

.single-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.single-post-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post-cat-badge:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.single-post-title {
    font-size: clamp(2rem, 3.5vw + 1rem, 2.8rem);
    font-weight: 900;
    color: var(--text);
    line-height: var(--lh-tight);
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.single-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid var(--border);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
    line-height: var(--lh-tight);
}

.author-role {
    font-size: var(--fs-xs);
    color: var(--text2);
    margin-top: 2px;
}

.meta-details {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-sm);
    color: var(--text2);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-post-featured-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background: var(--bg2);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Single Post Content Typography */
.single-post-content {
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    color: var(--text);
    margin-bottom: 40px;
}

.single-post-content p {
    margin-bottom: 1.6em;
}

.single-post-content h2 {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--text);
    line-height: var(--lh-snug);
    letter-spacing: -0.5px;
    margin-top: 2em;
    margin-bottom: 0.8em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.single-post-content h3 {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
    line-height: var(--lh-snug);
    margin-top: 1.8em;
    margin-bottom: 0.8em;
}

.single-post-content h4 {
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.6em;
    padding-left: 28px;
}

.single-post-content li {
    margin-bottom: 0.5em;
}

.single-post-content blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    background: var(--bg2);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text);
    font-size: var(--fs-md);
    line-height: var(--lh-base);
}

.single-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.8em 0;
    box-shadow: var(--shadow-sm);
}

.single-post-content figure {
    margin: 2em 0;
}

.single-post-content figcaption {
    font-size: var(--fs-sm);
    color: var(--text2);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.single-post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.single-post-content a:hover {
    color: var(--primary-dark);
}

/* Post Tags */
.single-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px dashed var(--border);
    margin-bottom: 24px;
}

.tags-label {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text2);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-badge:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   UNIVERSAL SOCIAL SHARE ICONS & WIDGET
   ========================================================================== */
.share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.share-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

.share-icon:active {
    transform: scale(0.95);
}

.share-icon.wa { background-color: #25d366; }
.share-icon.wa:hover { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); }

.share-icon.fb { background-color: #1877f2; }
.share-icon.fb:hover { box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45); }

.share-icon.tw { background-color: #0f1419; }
.share-icon.tw:hover { box-shadow: 0 8px 22px rgba(15, 20, 25, 0.45); }

.share-icon.tg { background-color: #229ed9; }
.share-icon.tg:hover { box-shadow: 0 8px 22px rgba(34, 158, 217, 0.45); }

.share-icon.pin { background-color: #e60023; }
.share-icon.pin:hover { box-shadow: 0 8px 22px rgba(230, 0, 35, 0.45); }

.share-icon.link-share { background-color: #475569; }
.share-icon.link-share:hover { background-color: var(--primary); box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.45); }

/* Post Social Share Bar in Blog */
.single-post-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.single-post-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
}

.share-label-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.share-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.share-text-wrap {
    display: flex;
    flex-direction: column;
}

.share-heading {
    font-size: var(--fs-base);
    font-weight: 800;
    color: var(--text);
    line-height: var(--lh-snug);
}

.share-subheading {
    font-size: var(--fs-xs);
    color: var(--text2);
    margin-top: 2px;
}

/* Author Bio Card */
.single-post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-bottom: 40px;
}

.author-box-avatar {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.author-box-content {
    flex: 1;
}

.author-box-label {
    font-size: var(--fs-xs);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.author-box-name {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.author-box-bio {
    font-size: var(--fs-sm);
    color: var(--text2);
    line-height: var(--lh-snug);
    margin: 0;
}

/* Prev / Next Navigation */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.post-nav-card {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    height: 100%;
}

.post-nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.post-nav-card.text-right {
    align-items: flex-end;
    text-align: right;
}

.nav-direction {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.nav-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
    line-height: var(--lh-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Posts Section (Samakan Dengan Tampilan Artikel Terbaru & Slider Khusus Mobile) */
.related-posts-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1.5px dashed var(--border);
    position: relative;
}

.related-posts-section .section-header {
    margin-bottom: 35px;
    text-align: center;
}

.related-slider-wrapper {
    position: relative;
    width: 100%;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-article-item {
    display: flex;
    width: 100%;
}

.related-articles-grid .article-card {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    width: 100%;
}

.related-slider-dots {
    display: none;
}

@media (max-width: 900px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .related-posts-section {
        margin-top: 40px;
        padding-top: 32px;
    }

    .related-posts-section .section-header {
        margin-bottom: 20px;
    }

    .related-slider-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        overflow: hidden;
        position: relative;
    }

    .related-articles-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth;
        gap: 14px !important;
        padding: 6px 20px 18px !important;
        margin: 0;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        cursor: grab;
        user-select: none;
    }

    .related-articles-grid::-webkit-scrollbar {
        display: none !important;
    }

    .related-articles-grid:active {
        cursor: grabbing;
    }

    .related-article-item {
        flex: 0 0 80% !important;
        max-width: 300px !important;
        min-width: 240px !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        display: flex !important;
    }

    .related-articles-grid .article-card {
        aspect-ratio: 4/5;
        border-radius: 16px;
        width: 100%;
        height: 100%;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

    .related-articles-grid .article-card__content {
        padding: 22px 16px;
    }

    .related-articles-grid .article-category {
        font-size: 0.65rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .related-articles-grid .article-card__title {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.35;
    }

    .related-articles-grid .article-card__meta {
        font-size: 0.68rem;
        gap: 10px;
    }

    .related-slider-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
        padding: 4px 0;
    }

    .related-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border, #cbd5e1);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .related-slider-dot.active {
        width: 24px;
        border-radius: 10px;
        background: var(--primary, #007bff);
        box-shadow: 0 2px 8px rgba(var(--primary-rgb, 0, 123, 255), 0.4);
    }
}

/* ==========================================================================
   PRODUK TERKAIT (RELATED PRODUCTS SECTION)
   ========================================================================== */
.related-products-section {
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1.5px dashed var(--border);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.related-header__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.related-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-badge svg {
    color: var(--primary);
}

.related-title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--text);
    line-height: var(--lh-tight);
    margin: 0;
    letter-spacing: -0.5px;
}

.related-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.related-view-all svg {
    transition: transform 0.25s ease;
}

.related-view-all:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.related-view-all:hover svg {
    transform: translateX(4px);
}

.related-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   COMMENTS & LEAVE A REPLY SECTION
   ========================================================================== */
.comments-area {
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1.5px dashed var(--border);
}

.comments-header {
    margin-bottom: 28px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
}

.comments-title svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 45px;
}

.comment-list .comment {
    position: relative;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
}

.comment-list .comment:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.comment-list .children {
    list-style: none;
    padding-left: 30px;
    margin-top: 18px;
    border-left: 2px solid var(--border);
}

.comment-body {
    display: flex;
    flex-direction: column;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid var(--border);
}

.comment-author .fn {
    font-weight: 800;
    font-size: var(--fs-sm);
    color: var(--text);
    font-style: normal;
}

.comment-metadata {
    font-size: var(--fs-xs);
    color: var(--text2);
}

.comment-metadata a {
    color: var(--text2);
    text-decoration: none;
}

.comment-content {
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
    color: var(--text);
    margin-bottom: 14px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-body .reply {
    margin-top: auto;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Respond Box (Leave a Reply) */
#respond {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.reply-header {
    margin-bottom: 20px;
}

.reply-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-reply-title {
    font-size: var(--fs-md);
    font-weight: 900;
    color: var(--text);
    line-height: var(--lh-tight);
    margin: 0;
    letter-spacing: -0.4px;
}

.comment-reply-title .cancel-reply {
    margin-left: 12px;
}

.cancel-reply a {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--red);
    text-decoration: underline;
}

.comment-notes {
    font-size: var(--fs-sm);
    color: var(--text2);
    margin-bottom: 24px;
    line-height: var(--lh-snug);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comment-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comment-form-group label {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text);
}

.comment-form-group label .required {
    color: var(--red);
}

.comment-form-group input,
.comment-form-group textarea {
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: var(--fs-sm);
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none !important;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.comment-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 6px;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: var(--fs-sm);
    font-weight: 800;
    color: #ffffff;
    background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.45);
    color: #ffffff;
}

.btn-submit-comment:active {
    transform: scale(0.98);
}

.no-comments {
    padding: 16px;
    text-align: center;
    color: var(--text2);
    font-style: italic;
    background: var(--bg2);
    border-radius: 12px;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (CATALOG, BLOG & MOBILE OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 991px) {
    .archive-container {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        display: none;
    }

    .archive-content .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .archive-header-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .archive-count-badge {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    /* Product Archive on Mobile */
    .product-archive {
        padding-top: 6px;
    }

    .archive-breadcrumbs {
        font-size: var(--fs-xs);
        margin: 10px 0 10px;
        gap: 6px;
    }

    /* Compact Hero Header on Mobile */
    .archive-header-hero {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        background: var(--card-bg);
    }

    .archive-badge {
        font-size: var(--fs-xs);
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .archive-main-title {
        font-size: var(--fs-md);
        margin-bottom: 4px;
        letter-spacing: -0.3px;
    }

    .archive-subtitle {
        font-size: var(--fs-xs);
        line-height: var(--lh-snug);
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Transform Count Badge from bulky block to sleek pill chip on mobile */
    .archive-count-badge {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 5px 14px;
        min-width: unset;
        border-radius: 50px;
        align-self: flex-start;
        background: var(--bg2);
    }

    .archive-count-badge .count-num {
        font-size: var(--fs-base);
        line-height: 1;
    }

    .archive-count-badge .count-label {
        font-size: var(--fs-xs);
        margin-top: 0;
    }

    /* Horizontal Category Pill Bar - Edge-to-Edge Modern Icon-Only Bar on Mobile */
    .archive-filter-bar {
        margin-bottom: 16px;
        gap: 12px;
    }

    .category-pill-bar {
        display: flex !important;
        margin-left: -15px;
        margin-right: -15px;
        padding: 4px 15px 12px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .category-pill-bar::-webkit-scrollbar {
        display: none;
    }

    /* Icon-only Squircle Pill on Mobile */
    .category-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
        padding: 0;
        border-radius: 14px;
        background: var(--card-bg, #ffffff);
        border: 1.5px solid var(--border);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        position: relative;
        flex-shrink: 0;
        scroll-snap-align: start;
        transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Hide text & count on mobile - icon only */
    .category-pill .pill-text,
    .category-pill .pill-count {
        display: none !important;
    }

    .category-pill .pill-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .category-pill .pill-icon-img {
        width: 26px;
        height: 26px;
        object-fit: contain;
        border-radius: 4px;
    }

    .category-pill .pill-icon svg {
        width: 22px;
        height: 22px;
        stroke: var(--text);
        stroke-width: 1.8;
        transition: stroke 0.2s ease, transform 0.2s ease;
    }

    /* Active State on Mobile */
    .category-pill.active {
        background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
        border-color: transparent;
        box-shadow: 0 4px 16px rgba(var(--primary-rgb, 0, 123, 255), 0.42);
        transform: translateY(-2px) scale(1.04);
    }

    .category-pill.active .pill-icon {
        color: #ffffff;
    }

    .category-pill.active .pill-icon svg {
        stroke: #ffffff;
    }

    .category-pill.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 8px var(--primary);
    }

    .category-pill:active {
        transform: scale(0.92);
    }

    /* Dark Mode Support for Mobile Category Pills */
    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-pill {
        background: rgba(30, 41, 59, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-pill .pill-icon {
        color: #e2e8f0;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-pill .pill-icon svg {
        stroke: #e2e8f0;
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-pill.active {
        background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
        border-color: transparent;
        box-shadow: 0 4px 18px rgba(var(--primary-rgb, 59, 130, 246), 0.5);
    }

    :is(.theme-dark, html.theme-dark, body.theme-dark) .category-pill.active .pill-icon svg {
        stroke: #ffffff;
    }

    /* Sort dropdown on Mobile */
    .archive-sort-wrap {
        width: 100%;
    }

    .archive-sort-wrap .sort-form,
    .archive-sort-wrap select {
        width: 100%;
        height: 38px;
        font-size: var(--fs-xs);
        padding: 6px 32px 6px 36px;
    }

    /* Product Grid Mobile: 2 Tight Columns */
    .archive-content .product-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Product Card on Mobile */
    .product-card {
        border-radius: 14px;
    }

    .product-card__badges {
        top: 6px;
        left: 6px;
        gap: 4px;
    }

    .product-card__badges .product-card__badge {
        font-size: var(--fs-2xs);
        padding: 2px 6px;
        border-radius: 4px;
    }

    .product-card__content {
        padding: 12px 12px 14px;
    }

    .product-card__category {
        font-size: var(--fs-2xs);
        margin-bottom: 5px;
    }

    .product-card__title {
        margin-bottom: 8px;
    }

    .product-card__title a {
        font-size: var(--fs-sm);
        line-height: var(--lh-snug);
    }

    .product-card__price {
        padding-top: 8px;
        margin-bottom: 10px;
    }

    .price-current {
        font-size: var(--fs-sm);
    }

    .price-original {
        font-size: var(--fs-xs);
    }

    /* Mobile WhatsApp Button in Card */
    .btn-whatsapp-order {
        margin-top: 0;
        padding: 8px 10px;
        font-size: var(--fs-xs);
        border-radius: 10px;
    }

    .btn-whatsapp-order svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }

    /* Related Products Section on Mobile */
    .related-products-section {
        margin-top: 35px;
        padding-top: 30px;
    }

    .related-header {
        margin-bottom: 20px;
        gap: 12px;
    }

    .related-title {
        font-size: var(--fs-md);
    }

    .related-view-all {
        font-size: var(--fs-xs);
        padding: 6px 14px;
    }

    /* Blog Header on Mobile */
    .blog-hero-header {
        padding: clamp(24px, 5vw, 36px) 16px clamp(18px, 4vw, 26px);
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .blog-hero-title {
        font-size: clamp(1.45rem, 5.2vw, 1.95rem);
        line-height: var(--lh-tight);
        letter-spacing: -0.5px;
        margin-bottom: 6px;
    }

    .blog-hero-desc {
        font-size: clamp(0.84rem, 2.6vw, 0.94rem);
        line-height: var(--lh-base);
    }

    .blog-category-filter {
        gap: 8px;
        margin-bottom: 28px;
    }

    .blog-cat-pill {
        font-size: clamp(0.76rem, 2.3vw, 0.84rem);
        padding: 6px 14px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 35px;
    }

    /* Blog Card on Mobile (Fluid Typography) */
    .blog-card {
        border-radius: 18px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    }

    .blog-card__image-wrap {
        aspect-ratio: 16 / 9;
    }

    .blog-card__category-badge {
        font-size: clamp(0.65rem, 2vw, 0.72rem);
        padding: 4px 10px;
        border-radius: 6px;
        top: 10px;
        left: 10px;
    }

    .blog-card__body {
        padding: clamp(14px, 3.8vw, 18px);
    }

    .blog-card__meta {
        font-size: clamp(0.72rem, 2.2vw, 0.78rem);
        gap: 6px;
        margin-bottom: 8px;
    }

    .blog-card__title {
        font-size: clamp(1.02rem, 3.6vw, 1.18rem);
        line-height: var(--lh-snug);
        margin-bottom: 8px;
        letter-spacing: -0.3px;
    }

    .blog-card__excerpt {
        font-size: clamp(0.82rem, 2.6vw, 0.88rem);
        line-height: var(--lh-base);
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }

    .blog-card__footer {
        padding-top: 10px;
    }

    .blog-card__read-more {
        font-size: clamp(0.82rem, 2.4vw, 0.86rem);
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    /* Single Post on Mobile (Fluid Responsive Reading Typography) */
    .single-post-page {
        padding-bottom: 50px;
    }

    .container-narrow {
        padding-left: clamp(14px, 3.6vw, 20px) !important;
        padding-right: clamp(14px, 3.6vw, 20px) !important;
    }

    .single-post-header {
        margin-bottom: 20px;
    }

    .single-post-cat-badge {
        font-size: clamp(0.68rem, 2.2vw, 0.74rem);
        padding: 4px 12px;
    }

    .single-post-title {
        font-size: clamp(1.42rem, 5.2vw, 1.95rem);
        font-weight: 900;
        line-height: var(--lh-tight);
        letter-spacing: -0.5px;
        margin-bottom: 14px;
    }

    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0;
    }

    .author-avatar {
        width: 38px;
        height: 38px;
    }

    .author-name {
        font-size: clamp(0.85rem, 2.6vw, 0.92rem);
    }

    .author-role {
        font-size: clamp(0.72rem, 2.2vw, 0.76rem);
    }

    .meta-details {
        font-size: clamp(0.74rem, 2.3vw, 0.8rem);
        gap: 12px;
    }

    .single-post-featured-image {
        border-radius: 16px;
        margin-bottom: 24px;
    }

    /* Single Post Content Fluid Typography */
    .single-post-content {
        font-size: clamp(0.96rem, 2.6vw + 0.42rem, 1.05rem);
        line-height: var(--lh-relaxed);
        letter-spacing: -0.05px;
        margin-bottom: 30px;
    }

    .single-post-content p {
        margin-bottom: 1.4em;
    }

    .single-post-content h2 {
        font-size: clamp(1.25rem, 4.4vw, 1.55rem);
        font-weight: 800;
        line-height: var(--lh-snug);
        letter-spacing: -0.4px;
        margin-top: 1.6em;
        margin-bottom: 0.6em;
        padding-bottom: 6px;
    }

    .single-post-content h3 {
        font-size: clamp(1.1rem, 3.8vw, 1.3rem);
        font-weight: 800;
        line-height: var(--lh-snug);
        letter-spacing: -0.3px;
        margin-top: 1.4em;
        margin-bottom: 0.5em;
    }

    .single-post-content h4 {
        font-size: clamp(0.98rem, 3.2vw, 1.1rem);
        font-weight: 700;
        line-height: var(--lh-snug);
        margin-top: 1.2em;
        margin-bottom: 0.4em;
    }

    .single-post-content blockquote {
        margin: 1.4em 0;
        padding: 14px 18px;
        font-size: clamp(0.92rem, 2.8vw, 1.02rem);
        line-height: var(--lh-base);
        border-left-width: 3.5px;
        border-radius: 0 12px 12px 0;
    }

    .single-post-content ul,
    .single-post-content ol {
        padding-left: 20px;
        margin-bottom: 1.4em;
    }

    .single-post-content li {
        margin-bottom: 0.45em;
        line-height: var(--lh-base);
    }

    .single-post-content code {
        font-size: 0.88em;
        padding: 2px 6px;
        border-radius: 6px;
        word-break: break-word;
    }

    .single-post-content pre {
        padding: 14px 16px;
        font-size: var(--fs-xs);
        border-radius: 12px;
        overflow-x: auto;
        line-height: var(--lh-snug);
        margin: 1.4em 0;
    }

    .single-post-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: var(--fs-xs);
        margin: 1.4em 0;
    }

    .single-post-tags {
        padding: 16px 0;
        margin-bottom: 20px;
        gap: 8px;
    }

    .tags-label {
        font-size: var(--fs-xs);
    }

    .tag-badge {
        font-size: var(--fs-xs);
        padding: 4px 10px;
    }

    .single-post-share {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 14px;
        border-radius: 16px;
        margin-bottom: 30px;
    }

    .single-post-share .share-heading {
        font-size: clamp(0.9rem, 2.8vw, 0.98rem);
    }

    .single-post-share .share-subheading {
        font-size: clamp(0.74rem, 2.3vw, 0.8rem);
    }

    .single-post-share .share-icons {
        width: 100%;
        justify-content: flex-start;
    }

    .single-post-author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        border-radius: 16px;
        gap: 14px;
        margin-bottom: 30px;
    }

    .author-box-name {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
    }

    .author-box-role {
        font-size: var(--fs-xs);
    }

    .author-box-bio {
        font-size: clamp(0.82rem, 2.5vw, 0.88rem);
        line-height: var(--lh-base);
    }

    .single-post-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-nav-card {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .post-nav-card.text-right {
        align-items: flex-start;
        text-align: left;
    }

    .post-nav-label {
        font-size: var(--fs-xs);
        margin-bottom: 4px;
    }

    .post-nav-title {
        font-size: clamp(0.85rem, 2.8vw, 0.94rem);
        line-height: var(--lh-snug);
    }

    .related-posts-section {
        padding-top: 30px;
        margin-top: 30px;
    }

    .related-posts-section .section-title {
        font-size: clamp(1.2rem, 4vw, 1.45rem);
        margin-bottom: 18px;
    }

    /* Comment Form on Mobile */
    #respond {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .comment-reply-title {
        font-size: var(--fs-md);
    }

    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .comment-list .comment {
        padding: 16px;
        border-radius: 14px;
    }

    .comment-list .children {
        padding-left: 14px;
        margin-top: 14px;
    }

    .btn-submit-comment {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .archive-header-hero {
        padding: 14px;
    }

    .archive-main-title {
        font-size: var(--fs-md);
    }

    .blog-hero-header {
        padding: 22px 12px 18px;
    }

    .blog-card__body {
        padding: 14px 12px;
    }

    .blog-card__title {
        font-size: var(--fs-base);
    }

    .blog-card__excerpt {
        font-size: var(--fs-xs);
        -webkit-line-clamp: 2;
    }

    .single-post-content {
        font-size: var(--fs-sm);
        line-height: var(--lh-relaxed);
    }

    .single-post-title {
        font-size: var(--fs-md);
    }

    /* Category - Fine-Tuning for Small Screens (≤ 600px) */
    .category-grid {
        gap: 10px 6px !important;
        padding: 6px 0 14px !important;
    }

    .category-item {
        aspect-ratio: auto !important;
        min-height: 100px !important;
        padding: 10px 4px 8px !important;
        border-radius: 16px !important;
        gap: 6px !important;
    }

    .category-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 15px !important;
    }

    .category-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .category-icon img,
    .category-icon .category-icon-img,
    .category-icon .pill-icon-img {
        width: 28px !important;
        height: 28px !important;
    }

    .category-icon .dashicons {
        font-size: 24px !important;
        width: 24px !important;
        height: 24px !important;
    }

    .category-name {
        font-size: var(--fs-2xs) !important;
        line-height: var(--lh-tight) !important;
    }

    @media (max-width: 360px) {
        .category-grid {
            gap: 8px 4px !important;
        }
        .category-item {
            min-height: 94px !important;
            padding: 9px 3px 7px !important;
            border-radius: 14px !important;
        }
        .category-icon {
            width: 44px !important;
            height: 44px !important;
            border-radius: 13px !important;
        }
        .category-icon svg {
            width: 22px !important;
            height: 22px !important;
        }
        .category-name {
            font-size: var(--fs-2xs) !important;
        }
    }
}

/* ==========================================================================
   MOBILE-FIRST BUTTON SYSTEM
   Touch-friendly, responsive, safe-area aware
   ========================================================================== */

/* --- Global Touch Accessibility --- */
.btn-view-all,
.btn-whatsapp-order,
.btn-submit-comment,
.btn-primary,
.btn-wa-header,
.btn-contact-us,
.btn-marketplace,
.menu-toggle,
.slider-btn,
.article-slider-btn,
.mode-toggle,
.related-view-all,
.share-btn,
.product-share a,
.blog-share-btn,
.comment-reply-link,
.btn-filter-pill {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* --- Bottom Nav Safe Area (for iPhones with notch) --- */
.bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   SMALL SCREENS (≤ 600px) — Touch-Optimized Button Sizes
   ========================================================================== */
@media (max-width: 600px) {

    /* View All Button - Perkecil 10% khusus tampilan mobile dengan animasi dinamis */
    .btn-view-all {
        width: auto !important;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
        min-height: 37px; /* Perkecil 10% dari 41px */
        padding: 9.5px 19px; /* Perkecil 10% dari 10.5px 21px */
        font-size: clamp(0.68rem, 2.8vw, 0.75rem); /* Perkecil 10% dari clamp 0.76rem */
        border-radius: 50px;
        box-shadow: 0 3px 12px rgba(0, 123, 255, 0.35);
        animation: viewAllMobilePulse 3s infinite ease-in-out;
        position: relative;
        overflow: hidden;
    }

    .btn-view-all::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        transform: skewX(-22deg);
        animation: viewAllMobileShimmer 3.2s infinite ease-in-out;
        pointer-events: none;
    }

    .btn-view-all svg,
    .btn-view-all .dashicons {
        animation: arrowSlideBounce 1.5s infinite alternate ease-in-out;
    }

    /* WhatsApp Order in product card */
    .btn-whatsapp-order {
        min-height: 42px;
        padding: 9px 12px;
        font-size: clamp(0.78rem, 3vw, 0.85rem);
        border-radius: 10px;
        gap: 6px;
    }

    .btn-whatsapp-order svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    /* Submit Comment Button */
    .btn-submit-comment {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        padding: 12px 24px;
        font-size: clamp(0.88rem, 3.5vw, 0.95rem);
        border-radius: 12px;
    }

    /* Single Product - Contact & Marketplace */
    .single-product .btn-contact-us {
        width: 100% !important;
        min-height: 48px;
        font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
        border-radius: 12px !important;
        padding: 12px 18px !important;
    }

    .single-product .btn-marketplace {
        min-height: 42px;
        font-size: clamp(0.75rem, 3vw, 0.82rem) !important;
        padding: 9px 8px !important;
        border-radius: 10px !important;
    }

    /* Slider Navigation Buttons */
    .slider-btn {
        min-width: 36px;
        min-height: 36px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .article-slider-btn {
        min-width: 36px;
        min-height: 36px;
        width: 36px;
        height: 36px;
    }

    /* Related Products View All */
    .related-view-all {
        min-height: 38px;
        font-size: clamp(0.72rem, 2.8vw, 0.8rem);
        padding: 8px 16px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
    }

    /* Share & Social Buttons */
    .share-btn,
    .product-share a,
    .blog-share-btn {
        min-width: 40px;
        min-height: 40px;
        border-radius: 10px;
    }

    /* Comment Reply Link */
    .comment-reply-link {
        min-height: 36px;
        font-size: clamp(0.72rem, 2.8vw, 0.8rem);
        padding: 6px 14px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
    }
}

/* ==========================================================================
   EXTRA SMALL SCREENS (≤ 400px) — Compact adjustments
   ========================================================================== */
@media (max-width: 400px) {

    .btn-view-all {
        padding: 8.5px 16px; /* Perkecil 10% dari 10px 18px */
        font-size: var(--fs-2xs); /* Perkecil 10% dari 0.76rem */
        min-height: 34px;
        max-width: 240px;
    }

    .btn-whatsapp-order {
        font-size: var(--fs-xs);
        padding: 8px 10px;
        gap: 5px;
    }

    .btn-whatsapp-order svg {
        width: 14px;
        height: 14px;
    }

    .btn-submit-comment {
        padding: 11px 20px;
        font-size: var(--fs-sm);
    }

    .single-product .btn-contact-us {
        min-height: 46px;
        font-size: var(--fs-sm) !important;
        padding: 11px 14px !important;
    }

    .single-product .btn-marketplace {
        font-size: var(--fs-xs) !important;
        padding: 8px 6px !important;
    }

    /* Make marketplace buttons single column on 400px or below */
    .single-product .marketplace-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .slider-btn {
        min-width: 34px;
        min-height: 34px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }
}

/* ==========================================================================
   TOUCH DEVICES — Remove hover transform effects (prevents sticky states)
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {

    .btn-view-all:hover,
    .btn-primary:hover,
    .btn-submit-comment:hover {
        transform: none;
        box-shadow: inherit;
    }

    .btn-whatsapp-order:hover {
        transform: none;
        color: #ffffff;
        background: var(--gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.22);
    }

    .btn-view-all:active {
        transform: scale(0.94) !important;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.35) !important;
    }

@keyframes viewAllMobileShimmer {
    0% {
        left: -100%;
    }
    30%, 100% {
        left: 200%;
    }
}

@keyframes viewAllMobilePulse {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(0, 123, 255, 0.35);
    }
    50% {
        box-shadow: 0 4px 18px rgba(0, 123, 255, 0.55), 0 0 0 3px rgba(0, 123, 255, 0.18);
    }
}

@keyframes arrowSlideBounce {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(4px);
    }
}

    .btn-whatsapp-order:active {
        transform: scale(0.96);
        opacity: 0.88;
    }

    .btn-submit-comment:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    .single-product .btn-contact-us:active {
        transform: scale(0.97);
        opacity: 0.88;
    }

    .slider-btn:hover {
        transform: none;
    }

    .slider-btn:active {
        transform: scale(0.93);
    }

    .menu-toggle:hover {
        transform: none;
    }

    .menu-toggle:active {
        transform: scale(0.92);
    }

    .related-view-all:hover {
        transform: none;
    }

    .related-view-all:active {
        transform: scale(0.96);
    }

    .share-btn:hover,
    .blog-share-btn:hover {
        transform: none;
    }

    .share-btn:active,
    .blog-share-btn:active {
        transform: scale(0.94);
    }

    /* Disable card lift on touch for products and blogs */
    .product-card:hover,
    .blog-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    .product-card:active,
    .blog-card:active {
        transform: scale(0.98);
    }
}

/* ==========================================================================
   LANDSCAPE MOBILE (max-height: 500px, orientation: landscape)
   ========================================================================== */
@media (max-height: 500px) and (orientation: landscape) {

    /* Reduce button heights slightly in landscape */
    .btn-view-all,
    .btn-submit-comment {
        min-height: 42px;
        padding: 10px 24px;
    }

    .btn-whatsapp-order {
        min-height: 38px;
        padding: 8px 12px;
    }

    .single-product .btn-contact-us {
        min-height: 44px !important;
    }

    /* Hide bottom nav in landscape to give more content space */
    .bottom-nav {
        display: none !important;
    }
}

