/* ===== VARIABLES ===== */
:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --card: #16161f;
  --card-hover: #1c1c27;
  --border: #22222f;
  --text: #f0f0f5;
  --muted: #6b7280;
  --accent: #FF8C00;
  --accent-dim: rgba(255,140,0,0.12);
  --accent-hover: #ff9f1a;
  --green: #10b981;
  --red: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
input, select, button, textarea { font-family: inherit; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; }
.hidden { display: none !important; }

/* ===== FREE DELIVERY BAR ===== */
.free-delivery-bar {
  background: var(--accent); color: #fff;
  text-align: center; font-size: 0.82rem; font-weight: 600;
  padding: 0.55rem 1rem; letter-spacing: 0.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.25rem;
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; flex-shrink: 0; }
.logo-sol  { color: var(--accent); }
.logo-path { color: var(--text); }
.search-wrap {
  flex: 1; display: flex; align-items: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 50px; overflow: hidden; max-width: 520px;
}
.search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); padding: 0.65rem 1.1rem;
}
.search-input::placeholder { color: var(--muted); }
.search-btn {
  padding: 0.65rem 1rem; color: var(--muted);
  transition: color 0.2s;
}
.search-btn:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.cart-btn {
  position: relative; padding: 0.5rem;
  color: var(--text); transition: color 0.2s;
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-search-btn { display: none; color: var(--muted); padding: 0.5rem; }
.mobile-search-bar {
  padding: 0.6rem 1.25rem; border-top: 1px solid var(--border);
  display: flex; gap: 0.5rem;
}
.mobile-search-input {
  flex: 1; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 1rem; color: var(--text); outline: none;
}
.mobile-search-bar button {
  background: var(--accent); color: #fff;
  padding: 0.6rem 1.1rem; border-radius: 8px; font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 3rem;
  padding: 4rem 1.25rem 3rem;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(255,140,0,0.25);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 1rem;
}
.hero-accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent); color: #fff;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-hero-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-hero-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: #fff;
  padding: 0.85rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: background 0.2s;
}
.btn-hero-wa:hover { background: #20c05b; }
.hero-image { flex: 0 0 420px; border-radius: var(--radius); overflow: hidden; }
.hero-image img { width: 100%; object-fit: cover; border-radius: var(--radius); opacity: 0.9; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex; align-items: center; gap: 0;
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.trust-strip::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; flex-shrink: 0;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.trust-item span:first-child { font-size: 1.1rem; }

/* ===== PRODUCTS SECTION ===== */
.products-section {
  max-width: 1280px; margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.products-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.section-title { font-size: 1.6rem; font-weight: 800; }
.sort-wrap select {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 0.55rem 1rem; outline: none; cursor: pointer;
}

/* ===== CATEGORIES ===== */
.categories-scroll {
  display: flex; gap: 0.5rem; overflow-x: auto;
  scrollbar-width: none; margin-bottom: 1.75rem;
  padding-bottom: 0.25rem;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--muted); border-radius: 50px;
  padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cat-pill:hover { border-color: var(--accent); color: var(--text); }
.cat-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,140,0,0.3);
  box-shadow: 0 8px 32px rgba(255,140,0,0.1);
}
.card-img-wrap {
  position: relative; background: #1a1a24;
  aspect-ratio: 1 / 1; overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 1rem; transition: transform 0.3s;
}
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-badge {
  position: absolute; top: 0.65rem; left: 0.65rem;
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem; border-radius: 50px;
  text-transform: uppercase;
}
.card-badge.sale  { background: var(--red); }
.card-badge.new   { background: var(--green); }
.card-badge.deal  { background: #7c3aed; }
.card-badge.pre-owned { background: #0ea5e9; }
.card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.card-category { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.35rem; }
.card-name { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; line-height: 1.4; flex: 1; }
.card-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.85rem; }
.card-price { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.card-old-price { font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.card-savings { font-size: 0.72rem; color: var(--green); font-weight: 700; }
.card-price-request { font-size: 0.85rem; font-weight: 700; color: #25D366; }
.card-free-del { font-size: 0.7rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.modal-price-request { font-size: 1.1rem; font-weight: 700; color: #25D366; margin-bottom: 1rem; }
.btn-enquire { background: rgba(37,211,102,0.1) !important; color: #25D366 !important; border-color: rgba(37,211,102,0.25) !important; }
.card-actions { display: flex; gap: 0.5rem; }
.btn-add-cart {
  flex: 1; background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(255,140,0,0.25);
  border-radius: var(--radius-sm); padding: 0.6rem 0.75rem;
  font-weight: 700; font-size: 0.82rem;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-add-cart:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-wa-card {
  background: rgba(37,211,102,0.1); color: #25D366;
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-sm); padding: 0.6rem 0.75rem;
  font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-wa-card:hover { background: #25D366; color: #fff; }
.out-of-stock-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.7);
  display: flex; align-items: center; justify-content: center;
}
.out-of-stock-tag {
  background: var(--bg); color: var(--muted);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 0.35rem 1rem; font-size: 0.78rem; font-weight: 700;
}

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }
.btn-reset {
  background: var(--accent); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 50px;
  font-weight: 700; transition: background 0.2s;
}
.btn-reset:hover { background: var(--accent-hover); }

/* ===== CART FLOAT ===== */
.cart-float {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 90;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,140,0,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cart-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(255,140,0,0.6); }
.cart-float-count {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: #fff;
  font-size: 0.65rem; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  padding: 0 4px;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 200; backdrop-filter: blur(4px);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 201; display: flex; flex-direction: column;
  overflow: hidden;
}
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 800; }
.cart-close { color: var(--muted); font-size: 1.2rem; padding: 0.25rem 0.5rem; }
.cart-close:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cart-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.85rem;
}
.cart-item-img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; background: #1a1a24; flex-shrink: 0; padding: 4px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: var(--accent); }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; transition: background 0.2s;
}
.qty-btn:hover { background: var(--accent); }
.qty-val { font-size: 0.85rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--muted); font-size: 0.8rem; padding: 0.25rem; align-self: flex-start; }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 1.25rem; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total span { font-size: 0.95rem; font-weight: 700; }
.cart-total-price { font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.cart-delivery-note {
  font-size: 0.78rem; color: var(--green); font-weight: 600;
  text-align: center; margin-bottom: 0.75rem;
}
.btn-checkout {
  width: 100%; background: var(--accent); color: #fff;
  padding: 1rem; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1rem;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--accent-hover); }

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(520px, 100vw);
  background: var(--card); border-left: 1px solid var(--border);
  z-index: 500; display: flex; flex-direction: column;
  overflow-y: auto;
}
.checkout-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--card); z-index: 1;
}
.checkout-header h3 { font-size: 1.15rem; font-weight: 800; }
.checkout-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.co-section { display: flex; flex-direction: column; gap: 0.75rem; }
.co-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.co-items { display: flex; flex-direction: column; gap: 0.4rem; }
.co-item-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; }
.co-item-name { color: var(--muted); flex: 1; padding-right: 0.5rem; }
.co-item-price { font-weight: 700; white-space: nowrap; }
.co-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
  font-weight: 700;
}
.co-discount-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0; font-size: 0.88rem; font-weight: 700;
  color: var(--text);
}
.co-total-price { font-size: 1.3rem; font-weight: 900; color: var(--accent); }
.co-fields { display: flex; flex-direction: column; gap: 0.6rem; }
.co-input {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.co-input:focus { outline: none; border-color: var(--accent); }
.co-textarea { resize: vertical; min-height: 80px; }
.co-ref-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.co-ref-input { border-color: rgba(255,140,0,0.3); }
.co-ref-input:focus { border-color: var(--accent); }
.co-ref-hint { font-size: 0.72rem; color: var(--muted); padding-left: 2px; }
.co-err { font-size: 0.8rem; color: var(--red); font-weight: 600; }
.co-pay-options { display: flex; flex-direction: column; gap: 0.6rem; }
.co-pay-card {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.9rem 1rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.co-pay-card:hover { border-color: var(--accent); }
.co-pay-card.selected { border-color: var(--accent); background: var(--accent-dim); }
.co-pay-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--muted); flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.co-pay-radio.checked { border-color: var(--accent); background: var(--accent); }
.co-pay-name { font-size: 0.95rem; font-weight: 700; }
.co-pay-sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.co-bank-details {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.5rem;
}
.co-bank-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.87rem; }
.co-bank-row span { color: var(--muted); }
.co-bank-row strong { font-weight: 700; }
.co-bank-note { font-size: 0.78rem; color: var(--muted); line-height: 1.5; padding-top: 0.4rem; border-top: 1px solid var(--border); }
.co-submit-btn {
  width: 100%; background: var(--accent); color: #fff;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 800; transition: background 0.2s;
}
.co-submit-btn:hover:not(:disabled) { background: var(--accent-hover); }
.co-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.co-terms { font-size: 0.72rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 300; backdrop-filter: blur(6px);
}
.product-modal {
  position: fixed; top: 50%; left: 50%; z-index: 301;
  transform: translate(-50%, -50%);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); width: min(680px, 95vw);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  color: var(--muted); font-size: 1.1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.modal-close:hover { color: var(--text); }
.modal-inner { padding: 1.75rem; }
.modal-layout { display: flex; gap: 2rem; }
.modal-img-wrap {
  flex: 0 0 260px; aspect-ratio: 1 / 1;
  background: #1a1a24; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal-img-wrap img { width: 100%; object-fit: contain; }
.modal-info { flex: 1; }
.modal-category { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.modal-name { font-size: 1.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
.modal-price { font-size: 1.75rem; font-weight: 900; color: var(--text); margin-bottom: 0.25rem; }
.modal-old-price { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; margin-bottom: 1rem; }
.modal-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.modal-badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.modal-trust-badge {
  display: flex; align-items: center; gap: 0.35rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.3rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
}
.modal-actions { display: flex; gap: 0.75rem; flex-direction: column; }
.btn-modal-cart {
  background: var(--accent); color: #fff;
  padding: 0.9rem; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 0.95rem;
  text-align: center; transition: background 0.2s;
}
.btn-modal-cart:hover { background: var(--accent-hover); }
.btn-modal-wa {
  background: rgba(37,211,102,0.1); color: #25D366;
  border: 1px solid rgba(37,211,102,0.3);
  padding: 0.9rem; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 0.95rem;
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.2s;
}
.btn-modal-wa:hover { background: #25D366; color: #fff; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  color: var(--muted); transition: color 0.2s;
  display: flex; align-items: center;
}
.footer-social a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #25D366; color: #fff !important;
  padding: 0.55rem 1rem; border-radius: 6px;
  font-weight: 700; font-size: 0.82rem !important;
  width: fit-content; margin-bottom: 0.25rem;
  transition: background 0.2s;
}
.footer-wa-btn:hover { background: #20c05b; color: #fff !important; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5rem; font-size: 0.8rem; color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 2.5rem 1.25rem 2rem; gap: 2rem; }
  .hero-image { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .search-wrap { display: none; }
  .mobile-search-btn { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-wa { text-align: center; justify-content: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .card-body { padding: 0.75rem; }
  .card-name { font-size: 0.8rem; }
  .card-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal-layout { flex-direction: column; }
  .modal-img-wrap { flex: none; width: 100%; max-width: 220px; margin: 0 auto; }
  .trust-item { padding: 0.75rem 1rem; }
  .footer-bottom { flex-direction: column; }
}

/* ===== iPHONE COLLECTION CARD ===== */
.collection-card {
  position: relative;
  border: 1.5px solid var(--accent) !important;
  box-shadow: 0 0 20px rgba(255,140,0,0.15) !important;
}
.collection-card .card-img-wrap img {
  object-fit: cover;
  height: 200px;
  width: 100%;
  background: #000;
}
.collection-model-count {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.card-badge.hot { background: #e11d48; color: #fff; }

/* ===== SERVICE CARDS ===== */
.service-card {
  border: 1.5px solid var(--green) !important;
  box-shadow: 0 0 18px rgba(16,185,129,0.12) !important;
  cursor: pointer;
}
.service-card:hover {
  box-shadow: 0 0 28px rgba(16,185,129,0.22) !important;
  transform: translateY(-3px);
}

/* ===== iPHONE MODAL ===== */
.iphone-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  width: 95%;
  max-width: 680px;
  max-height: 88vh;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.iphone-modal-close {
  position: absolute;
  top: 0.9rem; right: 1rem;
  font-size: 1.1rem;
  color: var(--muted);
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.iphone-modal-close:hover { background: var(--border); color: var(--text); }
.iphone-modal-header {
  padding: 1.2rem 1.4rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.iphone-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.iphone-modal-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.iphone-modal-perks span {
  background: var(--accent-dim);
  border: 1px solid rgba(255,140,0,0.3);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}
.iphone-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem 0;
}
.iph-series {
  padding: 0.85rem 1.4rem 0.4rem;
}
.iph-series-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.iph-img {
  width: 44px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.iph-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.iph-row:last-child { border-bottom: none; }
.iph-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.iph-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
  flex-shrink: 0;
}
.iph-old {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
}
.iph-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}
.iph-order-btn {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.iph-order-btn:hover { background: var(--accent-hover); }
.iphone-modal-footer {
  padding: 0.85rem 1.4rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.iphone-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s;
}
.iphone-wa-btn:hover { background: #20c05b; }

@media (max-width: 480px) {
  .iph-order-btn { font-size: 0.68rem; padding: 0.4rem 0.6rem; }
  .iph-name { font-size: 0.82rem; }
  .iph-price { font-size: 0.9rem; }
  .iph-series { padding: 0.75rem 1rem 0.3rem; }
}
