/* ============================================
   ACT MOBILE HUB — Site Styles
   Brand: Navy #1a2e4a / Gold #c9a84c
   ============================================ */

:root {
  --navy: #1a2e4a;
  --navy-light: #243d60;
  --navy-dark: #101e30;
  --gold: #c9a84c;
  --gold-light: #e0c583;
  --bg: #f7f7f8;
  --white: #ffffff;
  --text: #222222;
  --muted: #6b6b6b;
  --border: #e8e8e8;
  --success: #2e7d4f;
  --danger: #c0392b;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(26,46,74,0.10);
  --shadow-lg: 0 15px 45px rgba(26,46,74,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.highlight { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.7rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a5342a; }

/* ===== HEADER ===== */
header.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-top {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 0.4rem 0;
}
.header-top .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.4rem;
}
.header-top a { color: var(--gold-light); font-weight: 600; }
.header-top .top-links { display: flex; gap: 1.4rem; }

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--navy); font-weight: 700; }
.brand-text span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  letter-spacing: 0.3px; position: relative; padding: 4px 0;
}
.nav-links a.active, .nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }

.menu-toggle {
  display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy);
}

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 1rem 1.5rem; gap: 1rem; box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta .btn span.btn-label { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px;
  border: 1px solid rgba(201,168,76,0.18); border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  color: var(--gold-light); text-transform: uppercase; letter-spacing: 3px; font-size: 0.78rem; font-weight: 700; margin-bottom: 1rem;
}
.hero h1 { font-size: 2.7rem; color: var(--white); margin-bottom: 1rem; }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.6rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-badge { font-size: 0.82rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 8px; }
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-visual {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.hero-visual img { max-height: 260px; margin: 0 auto; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

/* ===== SECTION ===== */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.78rem; font-weight: 700; }
.section-head h2 { font-size: 2.1rem; margin: 0.6rem 0 0.8rem; }
.section-head p { color: var(--muted); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,0.7); }

/* ===== CATEGORY TILES ===== */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.cat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center; transition: all 0.2s ease;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .cat-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.cat-card h4 { font-size: 0.95rem; font-family: 'Raleway',sans-serif; font-weight: 700; color: var(--navy); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== PRODUCT GRID ===== */
.product-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--border);
  font-size: 0.82rem; font-weight: 600; color: var(--navy); background: var(--white);
  transition: all 0.15s;
}
.chip.active, .chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.search-box {
  display: flex; align-items: center; gap: 0.5rem; background: var(--white);
  border: 1.5px solid var(--border); border-radius: 8px; padding: 0.5rem 1rem; min-width: 240px;
}
.search-box input { border: none; outline: none; font-family: inherit; width: 100%; font-size: 0.9rem; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
}
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.2s ease; position: relative; cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--gold); }
.product-img {
  height: 190px; background: #f1f1f3; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-img img { height: 100%; width: 100%; object-fit: contain; padding: 1rem; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy-dark);
  font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-sold {
  position: absolute; top: 10px; right: 10px; background: var(--danger); color: #fff;
  font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.product-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0.3rem 0 0.4rem; font-family: 'Raleway', sans-serif; }
.product-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.product-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.product-price-old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(16,30,48,0.65); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: 14px; max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; background: var(--bg); border: none;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { background: #f1f1f3; display: flex; align-items: center; justify-content: center; padding: 2rem; min-height: 280px; }
.modal-img img { max-height: 260px; object-fit: contain; }
.modal-info { padding: 2rem; }
.modal-info h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.modal-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 0.6rem 0 1rem; }
.modal-specs { list-style: none; font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; display: grid; gap: 6px; }
.modal-specs li strong { color: var(--navy); }
.modal-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
@media (max-width: 700px) { .modal-grid { grid-template-columns: 1fr; } .modal-img { min-height: 200px; } }

/* ===== SELL TO US / ABOUT SECTIONS ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  background: var(--gold); color: var(--navy-dark); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.step p { color: var(--muted); font-size: 0.9rem; }
.step h4.step-title { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px; color: #f2ede0; margin-bottom: 2px; }
.pickup-note {
  border-left: 3px solid var(--gold); background: rgba(255,255,255,0.05);
  padding: 0.7rem 1rem; border-radius: 0 6px 6px 0; margin-top: 1.4rem;
}
.pickup-note strong { display: block; color: var(--gold-light); font-size: 0.82rem; margin-bottom: 2px; }
.pickup-note span { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
.trust-item h3 { color: var(--gold); font-size: 2rem; }
.trust-item p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* ===== FORMS ===== */
.form-card { background: var(--white); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.92rem; outline: none; transition: border-color 0.15s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; display: none; padding: 0.7rem 1rem; border-radius: 8px; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f4ea; color: var(--success); }
.form-status.err { background: #fbe9e7; color: var(--danger); }

/* ===== CONTACT CARDS ===== */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
@media (max-width: 800px) { .contact-methods { grid-template-columns: 1fr; } }
.contact-method {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; text-align: center;
}
.contact-method .icon { color: var(--gold); margin-bottom: 0.8rem; }
.contact-method h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-method p { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.8rem; }

/* ===== FOOTER ===== */
footer.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand img { height: 38px; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); }
footer h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; }
footer ul li { margin-bottom: 0.6rem; font-size: 0.88rem; }
footer ul li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: var(--gold-light); }

.floating-call {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  background: var(--gold); color: var(--navy-dark); width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.floating-call:hover { background: var(--gold-light); }

/* ===== ADMIN ===== */
.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-topbar {
  background: var(--navy-dark); color: var(--white); padding: 0.9rem 0;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.admin-topbar .brand-text { color: var(--white); }
.admin-wrap { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem; }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 2rem; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.admin-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.login-wrap { max-width: 420px; margin: 6rem auto; }
.login-wrap .brand { justify-content: center; margin-bottom: 1.6rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th { color: var(--navy); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: #f1f1f3; }
.stock-pill { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.stock-pill.in { background: #e6f4ea; color: var(--success); }
.stock-pill.out { background: #fbe9e7; color: var(--danger); }
.row-actions { display: flex; gap: 6px; }
.icon-btn { border: 1px solid var(--border); background: var(--white); border-radius: 6px; padding: 5px 9px; font-size: 0.78rem; font-weight: 600; }
.icon-btn:hover { border-color: var(--gold); }
.file-preview { width: 100%; height: 140px; border: 1.5px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 0.8rem; color: var(--muted); font-size: 0.8rem; }
.file-preview img { height: 100%; object-fit: contain; }
.admin-stats { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stat-box { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.5rem; box-shadow: var(--shadow); flex: 1; min-width: 140px; }
.stat-box .num { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.stat-box .lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.setup-warning {
  background: #fff4e5; border: 1px solid #f0c987; color: #7a5310; padding: 1rem 1.2rem;
  border-radius: 8px; font-size: 0.85rem; margin-bottom: 1.5rem;
}
.setup-warning a { text-decoration: underline; font-weight: 700; }
