﻿/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #e74c3c;
  --orange: #f39c12;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --accent: #e94560;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #fff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { color: var(--dark); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 1rem; }

/* ===== TOPBAR ===== */
.topbar { background: var(--dark); color: rgba(255,255,255,0.85); padding: 8px 0; font-size: 0.8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--orange); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }

/* ===== HEADER ===== */
.header { background: #000; border-bottom: 1px solid #222; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; object-fit: contain; display: block; border-radius: 6px; }
.logo-fullname { display: flex; align-items: center; }
.logo-text-img { height: 36px; width: auto; object-fit: contain; display: block; }

/* Search */
.search-bar { flex: 1; max-width: 500px; position: relative; }
.search-bar input { width: 100%; padding: 10px 44px 10px 16px; border: 2px solid #333; border-radius: 50px; font-size: 0.9rem; transition: var(--transition); background: #1a1a1a; color: #fff; }
.search-bar input:focus { outline: none; border-color: var(--red); background: var(--white); }
.search-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--red); color: white; border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.search-bar button:hover { background: var(--accent); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; transition: var(--transition); color: #fff; }
.header-btn:hover { background: #222; }
.header-btn .badge { background: var(--red); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.btn-whatsapp { background: #25d366; color: white; border-radius: 8px; }
.btn-whatsapp:hover { background: #128c7e; }

/* ===== NAV ===== */
.nav { background: var(--dark); }
.nav-inner { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link { color: rgba(255,255,255,0.85); padding: 12px 18px; font-size: 0.85rem; font-weight: 500; white-space: nowrap; transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 18px; right: 18px; height: 3px; background: var(--orange); border-radius: 3px 3px 0 0; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.72); z-index: 1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.hero-content { position: relative; z-index: 2; color: white; max-width: 620px; text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8); opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; }

/* Show on hover — desktop */
.hero:hover .hero-overlay,
.hero:hover .hero-content { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Show on touch — mobile/tablet (JS adds .hero-touched class) */
.hero.hero-touched .hero-overlay,
.hero.hero-touched .hero-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero > .container { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(233,69,96,0.4); }
.btn-outline { background: rgba(255,255,255,0.15); color: white; border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px); }
.btn-outline:hover { background: white; color: var(--dark); }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.hero-stat span { font-size: 0.8rem; opacity: 0.8; }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar { background: linear-gradient(90deg, var(--red), var(--orange), var(--red)); background-size: 200% 100%; animation: gradientSlide 4s ease infinite; color: white; text-align: center; padding: 10px; font-size: 0.85rem; font-weight: 500; }
@keyframes gradientSlide { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; border: 2px solid transparent; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--red); }
.category-card.active { border-color: var(--red); }
.category-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: #f8f9fa; display: flex; align-items: center; justify-content: center; }
.category-img img { width: 85%; height: 85%; object-fit: contain; transition: transform 0.4s ease; padding: 8px; }
.category-card:hover .category-img img { transform: scale(1.08); }
.category-info { padding: 12px; }
.category-icon { font-size: 1.4rem; margin-bottom: 4px; }
.category-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.category-info p { font-size: 0.72rem; color: var(--text-light); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-count { display: inline-block; background: var(--bg); border-radius: 50px; padding: 2px 8px; font-size: 0.7rem; color: var(--text-light); margin-top: 6px; }

/* ===== FILTER BAR ===== */
.filter-bar { background: white; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.filter-select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text); background: white; transition: var(--transition); cursor: pointer; }
.filter-select:focus { outline: none; border-color: var(--red); }
.filter-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tag { padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; border: 1.5px solid var(--border); color: var(--text-light); transition: var(--transition); cursor: pointer; background: white; }
.filter-tag.active, .filter-tag:hover { background: var(--red); color: white; border-color: var(--red); }
.result-count { margin-left: auto; font-size: 0.82rem; color: var(--text-light); white-space: nowrap; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: #f0f0f0; }
.product-img-wrap img { width: 90%; height: 90%; object-fit: contain; transition: transform 0.4s ease; margin: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.product-card:hover .product-img-wrap img { transform: translate(-50%,-50%) scale(1.06); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge-new { background: #27ae60; color: white; padding: 3px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; }
.badge-hot { background: var(--red); color: white; padding: 3px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; }
.badge-sale { background: var(--orange); color: white; padding: 3px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; }
.product-wishlist { position: absolute; top: 10px; right: 10px; background: white; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: var(--transition); font-size: 1rem; opacity: 0; }
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover, .product-wishlist.active { color: var(--red); transform: scale(1.1); }
.product-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-category-tag { font-size: 0.7rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.product-scale, .product-brand { font-size: 0.72rem; background: var(--bg); padding: 2px 8px; border-radius: 4px; color: var(--text-light); font-weight: 500; }
.product-desc { font-size: 0.78rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; line-height: 1.4; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.product-price { display: flex; flex-direction: column; }
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.price-original { font-size: 0.75rem; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: 0.7rem; color: #27ae60; font-weight: 600; }
.btn-cart { background: var(--dark); color: white; padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; transition: var(--transition); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-cart:hover { background: var(--red); transform: scale(1.03); }
.out-of-stock { opacity: 0.6; }
.out-of-stock .btn-cart { background: var(--border); color: var(--text-light); cursor: not-allowed; }
.stock-low { font-size: 0.7rem; color: var(--orange); font-weight: 600; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: white; z-index: 1; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.modal-close:hover { background: var(--red); color: white; }
.modal-body { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.modal-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.modal-img img { width: 100%; height: 100%; object-fit: contain; background: #f8f9fa; padding: 16px; }
.modal-details h2 { margin-bottom: 8px; font-size: 1.4rem; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-meta span { padding: 4px 12px; background: var(--bg); border-radius: 50px; font-size: 0.78rem; font-weight: 600; color: var(--text-light); }
.modal-price-block { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; }
.modal-price-current { font-size: 2rem; font-weight: 800; color: var(--dark); }
.modal-price-original { font-size: 0.9rem; color: var(--text-light); text-decoration: line-through; margin-left: 8px; }
.modal-price-save { display: inline-block; background: #e8f8ef; color: #27ae60; padding: 3px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; margin-top: 4px; }
.modal-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; justify-content: center; }
.btn-wa { background: #25d366; color: white; }
.btn-wa:hover { background: #128c7e; }
@media (max-width: 600px) { .modal-body { grid-template-columns: 1fr; } }

/* ===== CART ===== */
.cart-sidebar { position: fixed; right: -420px; top: 0; bottom: 0; width: 420px; background: white; z-index: 3000; box-shadow: -4px 0 30px rgba(0,0,0,0.15); transition: right 0.35s ease; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2999; display: none; }
.cart-overlay.open { display: block; }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--dark); color: white; }
.cart-header h3 { font-size: 1rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: start; }
.cart-item-img { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 0.8rem; color: var(--text-light); }
.cart-item-qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--text-light); font-size: 1.1rem; transition: var(--transition); }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.cart-total-row.grand { font-weight: 800; font-size: 1.1rem; color: var(--dark); padding-top: 8px; border-top: 1px solid var(--border); }
.cart-checkout-btn { width: 100%; background: var(--red); color: white; padding: 14px; border-radius: var(--radius); font-size: 1rem; font-weight: 700; margin-top: 12px; transition: var(--transition); }
.cart-checkout-btn:hover { background: var(--accent); transform: translateY(-1px); }
.cart-wa-btn { width: 100%; background: #25d366; color: white; padding: 12px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; margin-top: 8px; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.cart-wa-btn:hover { background: #128c7e; }

/* ===== BRANDS ===== */
.brands-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; }
.brand-pill { padding: 10px 24px; background: white; border-radius: 50px; box-shadow: var(--shadow); font-weight: 700; font-size: 0.9rem; color: var(--dark); transition: var(--transition); cursor: pointer; border: 2px solid transparent; }
.brand-pill:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ===== INFO STRIPS ===== */
.info-strip { background: var(--dark); color: white; }
.info-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.info-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid rgba(255,255,255,0.08); }
.info-item:last-child { border-right: none; }
.info-icon { font-size: 1.8rem; flex-shrink: 0; }
.info-text strong { display: block; font-size: 0.9rem; font-weight: 700; }
.info-text span { font-size: 0.78rem; opacity: 0.7; }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); color: rgba(255,255,255,0.8); }
.footer-main { padding: 50px 0 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer h4 { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: #fff; }
.social-link:hover { transform: translateY(-2px); }
.social-instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-whatsapp:hover  { background: #25d366; }
.social-youtube:hover   { background: #ff0000; }
.social-facebook:hover  { background: #1877f2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; opacity: 0.6; }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--dark); color: white; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.85rem; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-hover); animation: slideIn 0.3s ease; min-width: 260px; }
.toast.success { border-left: 4px solid #27ae60; }
.toast.error { border-left: 4px solid var(--red); }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== NO RESULTS ===== */
.no-results { text-align: center; padding: 60px 20px; color: var(--text-light); }
.no-results-icon { font-size: 3rem; margin-bottom: 12px; }

/* ===== LOADING ===== */
.loading-spinner { display: flex; justify-content: center; align-items: center; padding: 60px; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 80px; right: 20px; background: var(--red); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-hover); transition: var(--transition); opacity: 0; pointer-events: none; z-index: 500; font-size: 1.1rem; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--accent); }

/* ===== MOBILE MENU ===== */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .search-bar { display: none; }
  .search-bar.mobile-open { display: block; position: fixed; top: 60px; left: 0; right: 0; z-index: 1001; padding: 12px; background: white; box-shadow: var(--shadow); max-width: 100%; }
  .menu-toggle { display: flex; }
  .header-actions .header-btn:not(.btn-whatsapp) span { display: none; }
  .hero { min-height: 340px; }
  .hero-stats { gap: 20px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .info-strip .container { grid-template-columns: 1fr 1fr; }
  .section { padding: 36px 0; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 14px; }
  .slide-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .logo-img { height: 42px; }
  .logo-text-img { height: 28px; }
  .logo-fullname { display: none; }
  .hero { min-height: 280px; }
  .hero h1 { font-size: 1.45rem; }
  .hero-badge { font-size: 0.72rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .slide-arrow { width: 30px; height: 30px; font-size: 1rem; }
  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }
  .slide-dots { bottom: 10px; gap: 5px; }
  .slide-dot { width: 7px; height: 7px; }
  .slide-dot.active { width: 20px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-info { padding: 8px; }
  .product-name { font-size: 0.78rem; }
  .product-price { font-size: 0.9rem; }
  .info-strip .container { grid-template-columns: 1fr 1fr; }
  .info-item { padding: 12px 8px; }
  .info-icon { font-size: 1.4rem; }
  .info-text strong { font-size: 0.78rem; }
  .info-text span { font-size: 0.7rem; }
  .section-header h2 { font-size: 1.3rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .announce-bar { font-size: 0.72rem; padding: 7px 0; }
  .footer-brand { align-items: flex-start; }
}
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .logo-img { height: 34px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .header-inner { gap: 8px; }
  .hero { min-height: 240px; }
}


/* ===== BRAND LOGO CARDS ===== */
.brands-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.brand-logo-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; transition: var(--transition); border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; }
.brand-logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--red); }
.brand-logo-card img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #1a1a1a; padding: 12px; }
.brand-logo-card span { display: block; padding: 8px 10px; font-size: 0.78rem; font-weight: 700; color: var(--dark); text-align: center; }

/* ===== HERO SLIDESHOW ===== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; overflow: hidden; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .slide-blur-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(0.45); transform: scale(1.08); }
.hero-slide img.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }

/* Arrows */
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,0.3); color: white; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; }
.slide-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-50%) scale(1.08); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

/* Dots */
.slide-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.slide-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; transition: all 0.25s ease; padding: 0; }
.slide-dot.active { background: white; width: 28px; border-radius: 5px; }
.slide-dot:hover { background: rgba(255,255,255,0.8); }

/* hide arrows when only 1 slide */
.hero.single-slide .slide-arrow, .hero.single-slide .slide-dots { display: none; }






/* ===== LIVE BIDDING ===== */
.nav-link-bid { color: #ff4757 !important; font-weight: 700 !important; display: flex; align-items: center; gap: 5px; }
.nav-link-bid span { animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.bid-section { background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%); color: white; }
.bid-section .section-header h2 { color: white; display: flex; align-items: center; gap: 10px; }
.bid-section .section-header p { color: rgba(255,255,255,0.6); }

.bid-live-dot { display: inline-block; width: 12px; height: 12px; background: #ff4757; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,71,87,0.6); animation: pulse 1.5s infinite; flex-shrink: 0; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,71,87,0.6)} 70%{box-shadow:0 0 0 10px rgba(255,71,87,0)} 100%{box-shadow:0 0 0 0 rgba(255,71,87,0)} }

.bid-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 32px; }
.bid-img-wrap { border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #111; display: flex; align-items: center; justify-content: center; }
.bid-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

.bid-info { display: flex; flex-direction: column; gap: 16px; }
.bid-category-tag { font-size: 0.75rem; font-weight: 700; color: #ff4757; text-transform: uppercase; letter-spacing: 1px; }
.bid-title { font-size: 1.6rem; font-weight: 800; color: white; line-height: 1.2; }
.bid-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.bid-price-block { background: rgba(255,71,87,0.12); border: 1px solid rgba(255,71,87,0.3); border-radius: 12px; padding: 16px 20px; }
.bid-price-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.bid-price-current { font-size: 2rem; font-weight: 800; color: #ff4757; }
.bid-leader { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.bid-leader strong { color: #ffd700; }

.bid-timer { display: flex; gap: 12px; }
.bid-timer-block { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 14px; text-align: center; min-width: 60px; }
.bid-timer-block .t-num { font-size: 1.4rem; font-weight: 800; color: white; line-height: 1; display: block; }
.bid-timer-block .t-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-top: 4px; display: block; }

.bid-form { display: flex; flex-direction: column; gap: 10px; }
.bid-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bid-input { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; color: white; font-size: 0.9rem; font-family: inherit; transition: all 0.2s; }
.bid-input::placeholder { color: rgba(255,255,255,0.3); }
.bid-input:focus { outline: none; border-color: #ff4757; background: rgba(255,71,87,0.08); }
.bid-submit { background: linear-gradient(135deg, #ff4757, #e84393); color: white; padding: 13px; border-radius: 10px; font-size: 1rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.bid-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,71,87,0.4); }
.bid-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.bid-min-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; }

.bid-history { margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.bid-history h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.bid-history-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.bid-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(255,255,255,0.05); border-radius: 8px; font-size: 0.82rem; }
.bid-row:first-child { background: rgba(255,215,0,0.12); border: 1px solid rgba(255,215,0,0.2); }
.bid-row-name { color: rgba(255,255,255,0.8); font-weight: 600; }
.bid-row-amount { color: #ff4757; font-weight: 800; }
.bid-row-time { color: rgba(255,255,255,0.3); font-size: 0.72rem; }

.bid-no-auction { text-align: center; padding: 50px 20px; color: rgba(255,255,255,0.4); }
.bid-no-auction .icon { font-size: 3rem; margin-bottom: 12px; }
.bid-ended-banner { background: rgba(255,71,87,0.15); border: 1px solid rgba(255,71,87,0.3); border-radius: 10px; padding: 14px 20px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 12px; }
.bid-loading { text-align: center; padding: 50px; color: rgba(255,255,255,0.4); font-size: 0.9rem; }

@media(max-width:768px) {
  .bid-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .bid-title { font-size: 1.3rem; }
  .bid-form-row { grid-template-columns: 1fr; }
}