/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background: #f8f9fa; color: #333; }

/* Header */
.header { background: #cc0000; color: white; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.logo { font-size: 22px; font-weight: 800; display: flex; align-items: center; }
.logo i { margin-right: 8px; }
.logo span { color: #ffcc00; }
.header-btns a { color: white; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 1.5px solid white; border-radius: 8px; transition: 0.2s; }
.header-btns a:hover { background: white; color: #cc0000; }

/* Hero Section */
.hero { text-align: center; padding: 30px 20px 20px; background: linear-gradient(180deg, #ffe6e6 0%, #f8f9fa 100%); }
.hero h1 { font-size: 28px; font-weight: 800; color: #cc0000; margin-bottom: 8px; }
.hero p { color: #666; font-size: 15px; margin-bottom: 20px; }

/* Search Box */
.search-box { background: white; max-width: 600px; margin: 0 auto; padding: 8px; border-radius: 12px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #eee; }
.search-box i { padding-left: 10px; color: #cc0000; font-size: 18px; }
.search-box input { border: none; outline: none; flex: 1; font-size: 16px; padding: 8px 0; color: #333; }
.search-box button { background: #cc0000; color: white; border: none; padding: 12px 18px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }

/* Container */
.container { max-width: 800px; margin: 20px auto; padding: 0 20px; }
.section-title { font-size: 18px; font-weight: 800; margin-bottom: 15px; color: #333; display: flex; align-items: center; gap: 8px; }

/* Dealer Card */
.dealer-card { background: white; border-radius: 14px; padding: 18px; margin-bottom: 15px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid #eee; }
.dealer-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.dealer-name { font-size: 17px; font-weight: 700; color: #222; }
.dealer-dist { background: #e6f0fa; color: #0066cc; font-size: 11px; padding: 4px 8px; border-radius: 6px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.dealer-info { font-size: 13px; color: #666; margin-bottom: 15px; display: flex; flex-direction: column; gap: 6px; }
.dealer-info i { color: #cc0000; width: 16px; }
.dealer-price { font-size: 15px; font-weight: 800; color: #222; margin-bottom: 12px; }
.dealer-price span { color: #cc0000; font-size: 18px; }

/* Buttons */
.btn-group { display: flex; gap: 10px; }
.btn-order { flex: 2; background: #cc0000; color: white; border: none; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 6px; transition: 0.2s; }
.btn-order:hover { background: #a30000; }
.btn-wa { flex: 1; background: #25D366; color: white; border: none; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 6px; transition: 0.2s; }
.btn-wa:hover { background: #1eb955; }

/* Responsive */
@media (max-width: 500px) {
  .hero h1 { font-size: 24px; }
  .search-box { flex-direction: column; padding: 12px; }
  .search-box input { width: 100%; padding: 10px; text-align: center; }
  .search-box button { width: 100%; }
  .dealer-header { flex-direction: column; gap: 6px; }
}