/* ── Theme Variables ─────────────────────────────── */
:root, [data-theme="dark"] {
    --bg: #030507;
    --text: #fff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
    --border: rgba(255,255,255,0.1);
    --card-bg: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
    --card-border: rgba(255,255,255,0.15);
    --card-hover: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    --nav-bg: rgba(3,5,7,0.75);
    --nav-pill: rgba(255,255,255,0.06);
    --nav-active: rgba(255,255,255,0.1);
    --input-bg: rgba(255,255,255,0.05);
    --accent: #ff4444;
    --accent-glow: rgba(255,68,68,0.2);
}
[data-theme="light"] {
    --bg: #f0f4f8;
    --text: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(0,0,0,0.06);
    --card-bg: linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(241,245,249,0.45) 100%);
    --card-border: rgba(255,255,255,0.45);
    --card-hover: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(241,245,249,0.6) 100%);
    --nav-bg: rgba(255,255,255,0.8);
    --nav-pill: rgba(0,0,0,0.04);
    --nav-active: rgba(0,0,0,0.08);
    --input-bg: rgba(0,0,0,0.03);
    --accent: #e53935;
    --accent-glow: rgba(229,57,53,0.12);
}

/* ── Reset ──────────────────────────────────────── */
* { margin:0; padding:0; box-sizing:border-box; }
html { background: var(--bg); }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    transition: color .3s;
}

/* ── Particle Canvas ────────────────────────────── */
#particleCanvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

/* ── Page Loader ────────────────────────────────── */
.page-loader {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    transition: opacity .3s, visibility .3s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader {
    width: 40px; height: 40px; position: relative;
}
.loader::before, .loader::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%; border: 3px solid transparent;
}
.loader::before {
    border-top-color: var(--accent); border-right-color: var(--accent);
    animation: spin .8s linear infinite;
}
.loader::after {
    border-bottom-color: rgba(255,255,255,0.1);
    animation: spin 1.2s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 1100px; z-index: 1000;
    height: 56px; background: var(--nav-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.navbar-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; height: 100%;
}
.navbar-logo a { text-decoration: none; }
.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.5px;
}
.logo-accent { color: var(--accent); }
.navbar-nav {
    display: flex; align-items: center; gap: 2px;
    background: var(--nav-pill); border-radius: 10px; padding: 4px;
}
.nav-link {
    padding: 6px 16px; color: var(--text-secondary); text-decoration: none;
    font-size: 13px; font-weight: 500; border-radius: 8px; transition: all .2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: var(--nav-active); font-weight: 600; }
.navbar-actions { display: flex; align-items: center; }
.theme-toggle {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.theme-toggle:hover { background: var(--nav-pill); color: var(--text); }
.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

/* ── Mobile Bottom Nav ──────────────────────────── */
.mobile-nav {
    display: none; position: fixed; bottom: 16px; left: 16px; right: 16px;
    background: rgba(3, 5, 7, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 10px 0; z-index: 999;
    justify-content: space-around;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
[data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.75);
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--text-muted); font-size: 11px;
    gap: 4px; padding: 6px 12px; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}
.mobile-nav-item svg {
    transition: transform .3s;
}
.mobile-nav-item.active {
    color: var(--accent);
}
.mobile-nav-item.active svg {
    transform: translateY(-2px);
    color: var(--accent);
}
.mobile-nav-item:hover { color: var(--text); }

/* ── Main Content ───────────────────────────────── */
.main-content {
    flex: 1; width: 100%; max-width: 1100px;
    margin: 0 auto; padding: 0 20px 20px;
}

/* ── Hero ────────────────────────────────────────── */
.hero-section {
    text-align: center; padding: 80px 0 40px; max-width: 800px; margin: 0 auto;
}
.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
}
.typing-text {
    color: transparent; -webkit-text-stroke: 1.5px var(--text);
}
.cursor { color: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem); color: var(--text-secondary);
    margin-bottom: 32px; line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-btn {
    padding: 14px 28px; border-radius: 28px; font-size: 1rem; font-weight: 600;
    border: none; cursor: pointer; text-decoration: none; transition: all .3s;
    display: inline-flex; align-items: center;
}
.hero-btn.primary {
    background: var(--accent); color: #fff; box-shadow: 0 4px 16px var(--accent-glow);
}
.hero-btn.primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero-btn.secondary {
    background: rgba(255,255,255,0.06); color: var(--text);
    border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.hero-btn.secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ── Stats ───────────────────────────────────────── */
.stats-section { padding: 20px 0 40px; }
.stats-container {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
    max-width: 800px; margin: 0 auto;
}
.stat-item { text-align: center; flex: 1; min-width: 100px; }
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem; font-weight: 800; color: var(--accent);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Section Titles ──────────────────────────────── */
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.section-subtitle {
    text-align: center; color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 32px;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section { max-width: 700px; margin: 0 auto 50px; padding: 0 20px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,68,68,0.3); }
.faq-question {
    width: 100%; padding: 16px 20px; background: transparent; border: none;
    color: var(--text); font-size: 0.95rem; font-weight: 600;
    text-align: left; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
}
.faq-icon {
    font-size: 1.2rem; color: var(--accent); transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 20px 16px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
}
.faq-answer strong { color: var(--accent); }

/* ── Testimonials ────────────────────────────────── */
.testimonial-section { max-width: 700px; margin: 0 auto 60px; padding: 0 20px; }
.testimonial-header {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px;
}
.testimonial-header h2 {
    font-size: 1.6rem; font-weight: 700; margin: 0 0 4px;
}
.testimonial-header p { font-size: 0.9rem; color: var(--accent); margin: 0; }
.testi-write-btn {
    padding: 10px 20px; background: var(--accent); color: #fff; border: none;
    border-radius: 10px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.testi-write-btn:hover { filter: brightness(1.1); box-shadow: 0 4px 12px var(--accent-glow); }
.testi-list {
    display: flex; flex-direction: column; max-height: 500px;
    overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.testi-item {
    display: flex; gap: 12px; padding: 16px 0;
    border-bottom: 1px solid var(--border);
    animation: fadeIn .3s ease-out;
}
.testi-item:last-child { border-bottom: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.testi-avatar {
    width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: #fff; text-transform: uppercase;
}
.testi-content { flex: 1; min-width: 0; }
.testi-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.testi-name { font-size: 0.9rem; font-weight: 700; }
.testi-stars { color: #f59e0b; font-size: 0.75rem; letter-spacing: 1px; }
.testi-date { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; }
.testi-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.testi-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }

/* ── Review Modal ────────────────────────────────── */
.review-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    z-index: 9999; justify-content: center; align-items: center; padding: 20px;
}
.review-modal-overlay.active { display: flex; }
.review-modal {
    background: var(--card-bg); background-color: var(--bg);
    border: 1px solid var(--card-border); border-radius: 20px;
    padding: 32px; width: 100%; max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); position: relative;
}
.review-modal h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.modal-subtitle { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 20px; }
.close-btn {
    position: absolute; top: 14px; right: 14px;
    background: var(--nav-pill); border: none;
    color: var(--text-muted); width: 30px; height: 30px;
    border-radius: 50%; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.close-btn:hover { background: var(--nav-active); color: var(--text); }
.review-form-group { margin-bottom: 16px; }
.review-form-group label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: var(--text-muted); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: .5px;
}
.review-form-group input,
.review-form-group textarea {
    width: 100%; padding: 10px 14px;
    background: var(--input-bg); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 0.9rem;
    outline: none; transition: border-color .2s;
}
.review-form-group input:focus,
.review-form-group textarea:focus { border-color: rgba(255,68,68,0.4); }
.review-form-group textarea { resize: vertical; min-height: 80px; }
.review-form-group input::placeholder,
.review-form-group textarea::placeholder { color: var(--text-muted); }
.star-rating-input {
    display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end;
}
.star-rating-input input { display: none; }
.star-rating-input label {
    font-size: 1.6rem; color: var(--border);
    cursor: pointer; transition: color .15s; margin: 0;
    text-transform: none; letter-spacing: 0;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #f59e0b; }
.review-submit-btn {
    width: 100%; padding: 12px; background: var(--accent); color: #fff; border: none;
    border-radius: 10px; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
}
.review-submit-btn:hover { box-shadow: 0 4px 12px var(--accent-glow); filter: brightness(1.1); }
.review-msg { text-align: center; font-size: 0.8rem; margin-top: 10px; min-height: 18px; }
.review-msg.success { color: #22c55e; }
.review-msg.error { color: #ef4444; }

/* ── Product / Order Modals ──────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
    z-index: 9999; justify-content: center; align-items: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-sheet {
    background-color: var(--bg); background-image: var(--card-bg);
    border: 1px solid var(--card-border); border-radius: 20px;
    width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4); position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: sheetUp .25s ease-out;
}
.modal-sheet::-webkit-scrollbar {
    display: none;
}
@keyframes sheetUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    background: rgba(0,0,0,0.4); border: none;
    color: #fff; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { background: rgba(0,0,0,0.6); }

/* Detail modal */
.detail-img {
    width: 100%; aspect-ratio: 16/10; overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-body { padding: 24px; }
.detail-category {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .5px; color: var(--accent); margin-bottom: 6px; display: block;
}
.detail-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: var(--text);
    margin: 0 0 10px; line-height: 1.3;
}
.detail-desc {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px;
    white-space: pre-wrap;
}
.detail-meta {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.detail-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem; font-weight: 700; color: var(--accent);
}
.detail-stock { font-size: 0.82rem; color: var(--text-muted); }
.btn-order-now {
    width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none;
    border-radius: 12px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
}
.btn-order-now:hover { filter: brightness(1.1); box-shadow: 0 6px 16px var(--accent-glow); }
.btn-order-now.disabled, .btn-order-now:disabled {
    background: var(--nav-pill); color: var(--text-muted); cursor: not-allowed;
    box-shadow: none; filter: none;
}
.btn-cancel-now {
    width: 100%; padding: 12px; background: transparent; color: #ef4444; border: 1px solid rgba(239,68,68,0.3);
    border-radius: 12px; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
}
.btn-cancel-now:hover {
    background: rgba(239,68,68,0.1); border-color: #ef4444;
}
.btn-refresh-status {
    width: 100%; padding: 12px; background: #3b82f6; color: #fff; border: none;
    border-radius: 12px; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
}
.btn-refresh-status:hover {
    filter: brightness(1.1); box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* Order form modal */
.order-header {
    padding: 24px 24px 0; display: flex; align-items: center; gap: 10px;
}
.order-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0;
}
.modal-back {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border);
    background: transparent; color: var(--text-secondary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
    flex-shrink: 0;
}
.modal-back:hover { background: var(--nav-pill); color: var(--text); }
.order-product-summary { padding: 16px 24px; }
.summary-row {
    display: flex; gap: 14px; align-items: center;
    padding: 14px; border-radius: 12px;
    background: var(--nav-pill); border: 1px solid var(--border);
}
.summary-img {
    width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.summary-img-empty {
    width: 64px; height: 48px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--input-bg); color: var(--text-muted);
}
.summary-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.summary-price { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-top: 2px; }
#orderForm { padding: 0 24px 24px; }
.form-field { margin-bottom: 16px; }
.form-field label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: var(--text-muted); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: .5px;
}
.form-field .optional { text-transform: none; font-weight: 400; font-size: 0.72rem; }
.form-field input,
.form-field textarea {
    width: 100%; padding: 12px 14px;
    background: var(--input-bg); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 0.9rem;
    font-family: inherit; outline: none; transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: rgba(255,68,68,0.4); }
.form-field textarea { resize: vertical; min-height: 70px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.order-msg { text-align: center; font-size: 0.82rem; margin-top: 12px; min-height: 18px; }
.order-msg.success { color: #22c55e; }
.order-msg.error { color: #ef4444; }

/* ── Payment Modal ──────────────────────────────── */
.payment-summary { padding: 16px 24px; }
.payment-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; margin-top: 12px;
    border-radius: 12px; background: var(--nav-pill); border: 1px solid var(--border);
}
.payment-total span:first-child {
    font-size: 0.85rem; color: var(--text-secondary); font-weight: 500;
}
.payment-total-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem; font-weight: 700; color: var(--accent);
}
.payment-methods { padding: 0 24px 8px; }
.payment-methods-title {
    font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.payment-option {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--border); background: transparent;
    cursor: pointer; transition: all .2s; margin-bottom: 8px;
}
.payment-option:hover {
    border-color: rgba(255,68,68,0.3); background: var(--nav-pill);
}
.payment-option.selected {
    border-color: var(--accent); background: var(--nav-pill);
    box-shadow: 0 0 0 1px var(--accent);
}
.payment-option-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sociabuzz-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.wa-icon { background: #25d366; color: #fff; }
.payment-option-info { flex: 1; min-width: 0; }
.payment-option-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.payment-option-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }
.payment-option-check {
    width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid var(--border); display: flex;
    align-items: center; justify-content: center;
    color: transparent; transition: all .2s; flex-shrink: 0;
}
.payment-option.selected .payment-option-check {
    background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ── Products Page ───────────────────────────────── */
.products-section { padding: 40px 0 60px; }
.product-category { margin-bottom: 40px; }
.category-title {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 16px; padding: 24px; transition: all .3s; position: relative;
    cursor: pointer;
}
.product-card:hover {
    background: var(--card-hover); border-color: rgba(255,68,68,0.3);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.product-badge {
    font-size: 1.8rem; margin-bottom: 12px;
}
.product-img {
    width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden;
    margin-bottom: 14px; background: rgba(255,255,255,0.05);
}
.product-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; color: var(--text-muted);
}
.product-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.product-desc {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px;
    white-space: pre-wrap;
}
.product-footer {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.product-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: var(--accent);
}
.product-stock { font-size: 0.78rem; color: var(--text-muted); }
.product-stock.low { color: #f59e0b; }
.product-order-btn {
    width: 100%; padding: 10px; background: var(--accent); color: #fff;
    border: none; border-radius: 10px; font-weight: 600; font-size: 0.88rem;
    cursor: pointer; transition: all .2s;
}
.product-order-btn:hover { filter: brightness(1.1); box-shadow: 0 4px 12px var(--accent-glow); }
.product-order-btn.sold-out {
    background: rgba(255,255,255,0.1); color: var(--text-muted); cursor: not-allowed;
}

/* ── Contact Page ────────────────────────────────── */
.contact-section { padding: 40px 0 60px; max-width: 800px; margin: 0 auto; }
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.contact-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 16px; padding: 28px; text-align: center;
    text-decoration: none; color: var(--text); transition: all .3s;
}
.contact-card:hover {
    background: var(--card-hover); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.contact-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; color: #fff;
}
.contact-icon.wa { background: #25d366; }
.contact-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-icon.email { background: #4a90d9; }
.contact-icon.shopee { background: #ee4d2d; }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 0.82rem; color: var(--text-secondary); }

/* ── Flash Messages ──────────────────────────────── */
.flash-messages { max-width: 600px; margin: 0 auto 20px; }
.flash {
    padding: 12px 16px; border-radius: 10px; font-size: 0.88rem;
    margin-bottom: 8px; animation: fadeIn .3s;
}
.flash-success { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.flash-error { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

/* ── Footer ──────────────────────────────────────── */
.footer {
    text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.8rem;
}

/* ── Order Status Page ──────────────────────────── */
.order-status-section {
    padding: 40px 0 60px; max-width: 500px; margin: 0 auto;
}
.order-status-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 32px; text-align: center;
}
.order-status-icon {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
}
.order-status-icon.pending { background: rgba(234,179,8,0.15); color: #eab308; }
.order-status-icon.paid { background: rgba(34,197,94,0.15); color: #22c55e; }
.order-status-icon.delivered { background: rgba(59,130,246,0.15); color: #3b82f6; }
.order-status-icon.cancelled { background: rgba(239,68,68,0.15); color: #ef4444; }
.order-status-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.order-status-subtitle { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }
.order-detail-list { text-align: left; margin-bottom: 20px; }
.order-detail-row {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: 0.88rem;
}
.order-detail-row span:first-child { color: var(--text-muted); }
.order-detail-row span:last-child { color: var(--text); font-weight: 500; }
.price-val { color: var(--accent) !important; font-weight: 700 !important; }
.status-badge {
    display: inline-block; padding: 3px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.status-pending { background: rgba(234,179,8,0.15); color: #eab308; }
.status-paid { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-delivered { background: rgba(59,130,246,0.15); color: #3b82f6; }
.status-cancelled { background: rgba(239,68,68,0.15); color: #ef4444; }
.order-payment-info {
    background: var(--nav-pill); border: 1px solid var(--border);
    border-radius: 12px; padding: 16px; margin-bottom: 16px;
    font-size: 0.88rem; color: var(--text-secondary); text-align: center;
}
.order-payment-info strong { color: var(--accent); }
.back-link {
    display: inline-block; margin-top: 12px; color: var(--text-muted);
    font-size: 0.85rem; text-decoration: none; transition: color .2s;
}
.back-link:hover { color: var(--text); }

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
    body { padding-top: 90px; padding-bottom: 70px; }
    .navbar-nav { display: none; }
    .mobile-nav { display: flex; }
    .hero-section { padding: 40px 0 30px; }
    .hero-title { font-size: 2.2rem; }
    .stats-container { gap: 12px; }
    .stat-number { font-size: 1.8rem; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card { padding: 16px; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .order-status-section { padding: 20px 10px 40px; }
    .track-form { flex-direction: column; }
    .btn-search-track { width: 100%; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
