/* =========================================================
   FAIHAATS STORE - THEME & STYLES
   Palette: Fresh Clean White & Vibrant Sunset Orange
   ========================================================= */

:root {
    /* Vibrant Orange Tokens */
    --orange-primary: #ff6b00;
    --orange-dark: #e05300;
    --orange-light: #ff7a00;
    --orange-glow: rgba(255, 107, 0, 0.25);
    --orange-subtle: rgba(255, 107, 0, 0.08);
    --amber-accent: #ff9800;
    --peach-light: #fff7f2;
    --orange-border: #fed7aa;
    
    /* Clean White & Light Backgrounds */
    --bg-main: #f8f9fc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #fff8f4;
    --bg-glass: rgba(255, 255, 255, 0.95);
    
    /* Borders & Dividers */
    --border-orange: #fed7aa;
    --border-light: #e2e8f0;
    
    /* Clean High-Contrast Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Status Colors */
    --status-success: #16a34a;
    --status-warning: #d97706;
    --status-danger: #dc2626;
    --wa-green: #25d366;
    
    /* Radii & Effects */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 15px rgba(255, 107, 0, 0.07);
    --shadow-glow: 0 4px 20px var(--orange-glow);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 122, 0, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    padding-bottom: 85px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* TOP ANNOUNCEMENT BAR */
.announcement-bar {
    background: linear-gradient(90deg, #ff6b00 0%, #ff8c33 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.82rem;
    color: #ffffff;
    padding: 0.5rem 0;
    font-weight: 600;
}

.marquee-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.dot-online {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px #ffffff;
}

/* MAIN NAVBAR */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1.5px solid var(--border-orange);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-primary);
    box-shadow: 0 0 12px var(--orange-glow);
    background: #ffffff;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.brand-text p {
    font-size: 0.72rem;
    color: var(--orange-primary);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cart {
    position: relative;
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: var(--transition);
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.cart-badge {
    background: #ffffff;
    color: var(--orange-primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
}

/* HERO SECTION */
.hero-section {
    padding: 1.75rem 0 1.25rem;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0e5;
    color: #ea580c;
    border: 1px solid #ffedd5;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.highlight-orange {
    color: var(--orange-primary);
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.hero-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.35rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px var(--orange-glow);
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.45);
}

.btn-hero-testimoni {
    background: #ffffff;
    color: var(--orange-primary);
    border: 1.5px solid var(--orange-primary);
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.08);
}

.btn-hero-testimoni:hover {
    background: #fff0e5;
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--status-success);
    font-weight: 900;
}

/* HERO STATS (COUNTER ATAS) */
.hero-stats {
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-num {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--orange-primary);
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 3px;
}

/* CATALOG & CONTROLS */
.catalog-section {
    padding: 1.5rem 0 2.5rem;
}

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

.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 10px 34px 10px 38px;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-glow);
}

.btn-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* FILTER TABS */
.filter-tabs-wrapper {
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    background: #ffffff;
    padding: 5px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-orange);
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--orange-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    box-shadow: 0 3px 12px var(--orange-glow);
}

.tab-badge {
    background: #fff0e5;
    color: var(--orange-primary);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 10px;
}

.tab-btn.active .tab-badge {
    background: #ffffff;
    color: var(--orange-primary);
}

/* PRODUCT GRID & CARDS (2 COLUMNS IN MOBILE, 3-4 IN DESKTOP) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange-primary);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.12);
}

/* CARD BANNER */
.card-banner {
    height: 140px;
    position: relative;
    overflow: hidden;
    background: #fff7f2;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.product-card:hover .banner-img {
    transform: scale(1.06);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    pointer-events: none;
}

.badge-category {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.badge-category.yt {
    background: #ff0000;
    color: #ffffff;
}

.badge-category.tt {
    background: #000000;
    color: #00f2fe;
    border: 1px solid #00f2fe;
}

.badge-stock {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.badge-stock.ready {
    background: #16a34a;
    color: #ffffff;
}

.badge-stock.empty {
    background: #dc2626;
    color: #ffffff;
}

.btn-banner-detail {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--orange-primary);
    border: 1px solid var(--orange-primary);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.btn-banner-detail:hover {
    background: var(--orange-primary);
    color: #ffffff;
}

/* CARD CONTENT */
.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.account-handle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff7f2;
    padding: 5px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--orange-border);
    margin-bottom: 8px;
}

.account-handle {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--orange-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-live-link {
    font-size: 0.7rem;
    color: var(--orange-dark);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 8px;
}

.spec-item {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    color: var(--text-primary);
    font-weight: 800;
}

.product-price-row {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border-orange);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 700;
}

.price-amount {
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--orange-primary);
}

.card-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.btn-add-cart {
    background: #fff0e5;
    color: var(--orange-primary);
    border: 1.5px solid var(--orange-border);
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--orange-primary);
    color: #ffffff;
}

.btn-buy-direct {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    border: none;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 10px var(--orange-glow);
    transition: var(--transition);
}

.btn-buy-direct:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-nego-action {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 7px;
    border-radius: var(--radius-sm);
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    margin-top: 5px;
    display: block;
    width: 100%;
    transition: var(--transition);
}

.btn-nego-action:hover {
    background: #10b981;
    color: #ffffff;
}

/* FLOATING BUTTONS (BOTTOM LEFT CART & BOTTOM RIGHT WA - SELALU TAMPIL SAAT DI-SCROLL) */
.floating-cart-widget {
    position: fixed;
    bottom: 18px;
    left: 16px;
    z-index: 150;
}

.btn-floating-cart-pill {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 9px 16px 9px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
    cursor: pointer;
    transition: var(--transition);
}

.btn-floating-cart-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.6);
}

.floating-cart-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ffffff;
    color: var(--orange-primary);
    font-size: 0.68rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-cart-label {
    font-weight: 800;
}

.floating-wa-widget {
    position: fixed;
    bottom: 18px;
    right: 16px;
    z-index: 150;
}

.btn-floating-wa {
    background: #25d366;
    color: #ffffff;
    border-radius: 50px;
    padding: 9px 16px 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    border: 2px solid #ffffff;
}

.btn-floating-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* MODALS & OVERLAYS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.testimoni-modal, .detail-modal, .payment-modal {
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header, .drawer-header {
    padding: 1.15rem 1.25rem;
    border-bottom: 1.5px solid var(--border-orange);
    background: #fff7f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group h3, .drawer-title h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-close-modal, .btn-close-drawer {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover, .btn-close-drawer:hover {
    color: var(--text-primary);
}

.modal-body, .drawer-body {
    padding: 1.25rem;
}

/* TESTIMONI MODAL */
.testimoni-main-view {
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    background: #f1f5f9;
    border: 1px solid var(--border-orange);
}

.testi-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.btn-slider-prev, .btn-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: var(--orange-primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.testi-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.testimoni-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.testi-thumb {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.testi-thumb.active, .testi-thumb:hover {
    opacity: 1;
    border-color: var(--orange-primary);
}

/* DETAIL MODAL */
.detail-banner-box {
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-orange);
}

.detail-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 1rem;
}

.detail-info-item {
    background: #fff7f2;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-orange);
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.detail-val {
    font-size: 0.84rem;
    color: var(--text-primary);
    font-weight: 800;
}

.price-highlight {
    color: var(--orange-primary) !important;
    font-size: 1.05rem !important;
}

.detail-specs-box {
    background: #f8fafc;
    border: 1px dashed var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 1rem;
}

.detail-specs-box h4 {
    font-size: 0.82rem;
    color: var(--orange-primary);
    margin-bottom: 4px;
}

.detail-specs-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detail-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-detail-link {
    background: #ffffff;
    color: var(--orange-primary);
    border: 1.5px solid var(--border-orange);
    padding: 9px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.btn-detail-nego {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    padding: 9px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.btn-detail-buy {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--orange-glow);
}

/* PAYMENT MODAL */
.order-summary-box {
    background: #fff7f2;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 1rem;
}

.order-id-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.order-items-preview {
    font-size: 0.82rem;
    color: var(--text-primary);
    padding: 6px 0;
    border-top: 1px dashed var(--border-orange);
    border-bottom: 1px dashed var(--border-orange);
    margin-bottom: 6px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
}

.order-final-price {
    font-size: 1.25rem;
    color: var(--orange-primary);
}

.payment-instructions h4 {
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.inst-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.bank-card {
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 8px;
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bank-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.bank-badge.bca {
    background: #0060af;
    color: #ffffff;
}

.bank-badge.bri {
    background: #00529c;
    color: #ffffff;
}

.bank-status {
    font-size: 0.68rem;
    color: var(--status-success);
    font-weight: 700;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.bank-label {
    color: var(--text-muted);
}

.copy-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-number {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.account-holder {
    font-weight: 800;
    color: var(--text-primary);
}

.btn-copy {
    background: #fff0e5;
    color: var(--orange-primary);
    border: 1px solid var(--border-orange);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* MODAL FOOTER & TOMBOL KIRIM BUKTI WHATSAPP */
.modal-footer, .payment-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1.5px solid var(--border-orange);
    background: #fff7f2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.btn-send-wa, .btn-whatsapp-confirm {
    background: linear-gradient(135deg, #25d366 0%, #1ebd57 100%);
    color: #ffffff !important;
    border: 2px solid #ffffff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45), 0 0 15px rgba(37, 211, 102, 0.25);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    transition: var(--transition);
}

.btn-send-wa svg, .btn-whatsapp-confirm svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.btn-send-wa:hover, .btn-whatsapp-confirm:hover {
    background: linear-gradient(135deg, #1ebd57 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
}

/* CART DRAWER */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    border-left: 2px solid var(--border-orange);
    z-index: 310;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.drawer-footer {
    padding: 1.15rem;
    border-top: 1.5px solid var(--border-orange);
    background: #fff7f2;
}

/* CUSTOMER CHECKOUT FORM */
.customer-form {
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 12px;
}

.customer-form .form-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.customer-form .form-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--orange-primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 9px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.form-group label .required {
    color: var(--status-danger);
    font-weight: 800;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: #fff8f4;
    border: 1.5px solid var(--border-orange);
    border-radius: 6px;
    padding: 8px 11px;
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 400;
}

.form-group input:focus, .form-group textarea:focus {
    background: #ffffff;
    border-color: var(--orange-primary);
    box-shadow: 0 0 10px var(--orange-glow);
}

/* PRICE SUMMARY */
.price-summary {
    background: #ffffff;
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-row.total-row {
    border-top: 1px dashed var(--border-orange);
    padding-top: 6px;
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-row .total-amount {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--orange-primary);
}

.btn-checkout {
    background: linear-gradient(135deg, var(--orange-primary), #ff8800);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: var(--transition);
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    border-top: 2px solid var(--border-orange);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .brand-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-brand .brand-text p {
    font-size: 0.72rem;
    color: var(--orange-primary);
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.5;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.payment-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pay-tag {
    background: #fff7f2;
    border: 1px solid var(--border-orange);
    color: var(--orange-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 800;
    width: fit-content;
}

.footer-contact p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer-contact strong {
    color: var(--orange-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* EMPTY STATE */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--border-orange);
}

.hidden { display: none !important; }

/* TOAST */
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE DESIGN (MOBILE OPTIMIZED: 2 COLUMNS SHOPEE STYLE) */
@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.65rem;
    }
    
    .navbar {
        padding: 0.65rem 0.75rem;
    }
    
    .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    
    .brand-text h1 {
        font-size: 1.05rem;
    }
    
    .brand-text p {
        font-size: 0.65rem;
    }
    
    .announcement-bar {
        font-size: 0.72rem;
        padding: 0.35rem 0;
    }
    
    .marquee-content {
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    
    .hero-section {
        padding: 0.85rem 0 0.65rem;
    }
    
    .hero-card {
        padding: 1.15rem 0.85rem;
        border-radius: var(--radius-md);
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    
    .hero-desc {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 1rem;
    }
    
    .btn-hero-primary, .btn-hero-testimoni {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 10px;
        font-size: 0.82rem;
    }
    
    .hero-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.72rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 0.65rem 0.4rem;
    }
    
    .stat-num {
        font-size: 1.25rem;
    }
    
    .stat-lbl {
        font-size: 0.62rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 0.78rem;
    }
    
    .search-box {
        max-width: 100%;
    }

    .filter-tabs {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .tab-btn {
        padding: 6px 12px;
        font-size: 0.76rem;
        flex-shrink: 0;
    }
    
    /* SHOPEE STYLE: 2 COLUMNS PER ROW ON MOBILE */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-card {
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border-orange);
    }
    
    .card-banner {
        height: 110px;
    }

    .badge-category {
        top: 5px;
        left: 5px;
        padding: 2px 6px;
        font-size: 0.62rem;
    }

    .badge-stock {
        top: 5px;
        right: 5px;
        padding: 2px 6px;
        font-size: 0.62rem;
    }

    .btn-banner-detail {
        bottom: 5px;
        right: 5px;
        padding: 2px 6px;
        font-size: 0.62rem;
    }
    
    .card-content {
        padding: 8px 6px;
    }

    .product-title {
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2rem;
    }

    .account-handle-row {
        padding: 3px 5px;
        margin-bottom: 4px;
        border-radius: 4px;
    }

    .account-handle {
        font-size: 0.68rem;
    }

    .btn-live-link {
        font-size: 0.62rem;
    }

    .product-specs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        margin-bottom: 4px;
    }

    .spec-item {
        padding: 2px 5px;
        font-size: 0.65rem;
        border-radius: 4px;
    }

    .spec-label {
        font-size: 0.6rem;
    }

    .spec-value {
        font-size: 0.68rem;
    }

    .product-price-row {
        padding-top: 4px;
        margin-top: auto;
    }

    .price-label {
        font-size: 0.58rem;
    }

    .price-amount {
        font-size: 0.88rem;
        font-weight: 800;
    }
    
    .card-actions-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        margin-top: 6px;
    }
    
    .btn-add-cart, .btn-buy-direct {
        padding: 7px 2px;
        font-size: 0.68rem;
        border-radius: 5px;
        font-weight: 700;
        text-align: center;
        gap: 3px;
    }

    .btn-add-cart svg, .btn-buy-direct svg {
        width: 12px;
        height: 12px;
    }
    
    .btn-nego-action {
        font-size: 0.68rem;
        padding: 6px 2px;
        margin-top: 4px;
        border-radius: 5px;
    }
    
    .cart-drawer {
        max-width: 100%;
    }
    
    .testimoni-main-view {
        height: 250px;
    }
    
    .testi-thumb {
        height: 48px;
    }
    
    .floating-cart-widget {
        bottom: 15px;
        left: 10px;
    }
    
    .btn-floating-cart-pill {
        padding: 8px 13px 8px 10px;
        font-size: 0.78rem;
    }
    
    .floating-wa-widget {
        bottom: 15px;
        right: 10px;
    }
    
    .btn-floating-wa {
        padding: 8px 13px 8px 10px;
        font-size: 0.78rem;
    }
}
