/* ============================================================
   PhGhana Technologies — Stylesheet
   ============================================================ */

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #f7f8fc; color: #1a1a2e; }
a { color: #2563eb; }

/* ---- LOGO ---- */
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.logo-name  { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; line-height: 1; }
.logo-sub   { font-size: 0.65rem; color: #6b7280; letter-spacing: 0.5px; }

/* ---- TOP BAR ---- */
.topbar         { background: #1a1a2e; }
.topbar-links   { color: rgba(255,255,255,.7); font-size: 0.78rem; }
.topbar-links span { display: flex; align-items: center; gap: 5px; }
.topbar-links svg { width: 13px; height: 13px; }

/* ---- PROMO BANNER ---- */
.promo-banner { background: linear-gradient(90deg, #1d4ed8, #7c3aed); color: #fff; font-size: 0.8rem; }

/* ---- NAVBAR ---- */
.navbar { border-bottom: 1px solid #e5e7eb; }
.nav-link { font-size: 0.875rem; color: #374151; }
.nav-link:hover { color: #2563eb; }
.cart-btn    { position: relative; }
.cart-badge  { position: absolute; top: -6px; right: -6px; background: #ef4444; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---- HERO ---- */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 50%, #7c3aed 100%); padding: 80px 0; }
.hero-badge   { display: inline-block; background: rgba(255,255,255,.15); color: #fff; border-radius: 50px; padding: 6px 16px; font-size: 0.78rem; font-weight: 600; border: 1px solid rgba(255,255,255,.2); }
.hero-title   { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.15; }
.hero-sub     { font-size: 1.1rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.hero-badges  { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span { display: flex; align-items: center; gap: 6px; color: #86efac; font-size: 0.85rem; font-weight: 500; }
.hero-badges svg  { width: 15px; height: 15px; }

/* Hero laptop grid */
.hero-laptop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 420px; }
.hero-card   { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 18px; backdrop-filter: blur(10px); }
.hc-brand    { color: #fff; font-weight: 600; font-size: 0.875rem; margin-bottom: 4px; }
.hc-spec     { color: rgba(255,255,255,.6); font-size: 0.75rem; margin-bottom: 8px; }
.hc-price    { color: #fbbf24; font-weight: 800; font-size: 1.1rem; }
.hc-badge    { display: inline-block; margin-top: 6px; font-size: 0.7rem; padding: 2px 8px; border-radius: 50px; }
.grade-a     { background: #dcfce7; color: #166534; }

/* ---- STATS BAR ---- */
.stat-item   { padding: 8px; }
.stat-icon   { color: #2563eb; margin-bottom: 8px; }
.stat-num    { font-size: 1.8rem; font-weight: 800; color: #1a1a2e; line-height: 1; }
.stat-label  { font-size: 0.78rem; color: #6b7280; margin-top: 4px; }
.brand-pill  { border-radius: 50px; font-size: 0.78rem; }

/* ---- SECTIONS ---- */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.section-title  { font-size: 1.6rem; font-weight: 800; color: #111827; margin: 0; }
.section-sub    { color: #6b7280; margin: 4px 0 0; font-size: 0.9rem; }

/* ---- PRODUCT CARDS ---- */
.product-card { background: #fff; border-radius: 14px; border: 1px solid #e5e7eb; overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.pc-img-wrap { position: relative; overflow: hidden; }
.pc-img { width: 100%; height: 190px; object-fit: cover; transition: transform .3s; }
.product-card:hover .pc-img { transform: scale(1.04); }
.pc-grade { position: absolute; top: 8px; right: 8px; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.grade-a { background: #dcfce7; color: #166534; }
.grade-b { background: #fef9c3; color: #854d0e; }
.grade-c { background: #f3f4f6; color: #374151; }
.pc-featured  { position: absolute; top: 8px; left: 8px; background: #1d4ed8; color: #fff; font-size: 0.68rem; padding: 3px 8px; border-radius: 50px; }
.pc-stock-low { position: absolute; bottom: 8px; left: 8px; background: #ef4444; color: #fff; font-size: 0.68rem; padding: 2px 8px; border-radius: 50px; }
.pc-body  { padding: 14px 14px 8px; flex: 1; }
.pc-brand { font-size: 0.72rem; font-weight: 600; color: #2563eb; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.pc-name  { font-size: 0.87rem; font-weight: 600; color: #111827; margin: 0 0 8px; line-height: 1.4; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 4px; }
.pc-specs span { font-size: 0.7rem; background: #f3f4f6; color: #374151; padding: 2px 8px; border-radius: 50px; }
.pc-footer { padding: 10px 14px 14px; border-top: 1px solid #f3f4f6; display: flex; justify-content: space-between; align-items: center; }
.pc-price  { font-size: 1.05rem; font-weight: 800; color: #1d4ed8; }
.pc-bulk   { font-size: 0.7rem; color: #059669; }

/* ---- CATEGORY CARDS ---- */
.cat-card { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 12px; text-align: center; transition: all .2s; }
.cat-card:hover { border-color: #2563eb; box-shadow: 0 4px 15px rgba(37,99,235,.15); transform: translateY(-3px); }
.cat-icon { color: #2563eb; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; }
.cat-name  { font-size: 0.82rem; font-weight: 600; color: #111827; }
.cat-count { font-size: 0.72rem; color: #6b7280; margin-top: 3px; }

/* ---- TRUST ---- */
.trust-check { display: flex; align-items: center; gap: 12px; }
.trust-icon  { width: 36px; height: 36px; background: #eff6ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #2563eb; flex-shrink: 0; }
.trust-card  { background: #f8faff; border: 1px solid #e0e9ff; border-radius: 12px; padding: 18px; text-align: center; }
.trust-card-icon { font-size: 1.5rem; }

/* ---- BULK CTA ---- */
.bulk-cta { background: linear-gradient(135deg, #1a1a2e, #1d4ed8); }
.bulk-tier { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 16px; text-align: center; }
.bt-qty    { color: #fff; font-weight: 700; font-size: 1rem; }
.bt-disc   { color: #fbbf24; font-size: 0.8rem; margin-top: 4px; }
.bulk-visual { background: rgba(255,255,255,.1); border-radius: 16px; padding: 32px; text-align: center; }
.bv-number { font-size: 4rem; font-weight: 900; color: #fff; line-height: 1; }
.bv-label  { color: rgba(255,255,255,.7); font-size: 0.9rem; margin-top: 8px; }
.bv-brands { color: #fbbf24; font-weight: 600; margin-top: 12px; font-size: 0.85rem; }

/* ---- MOBILE MONEY ---- */
.momo-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px 20px; text-align: center; min-width: 140px; }
.momo-logo { font-weight: 900; font-size: 1.1rem; border-radius: 8px; padding: 8px 12px; display: inline-block; margin-bottom: 8px; }
.momo-name { font-weight: 600; font-size: 0.85rem; color: #374151; }
.momo-num  { font-size: 0.8rem; color: #6b7280; margin-top: 4px; }
.mtn-color  { background: #fef9c3; color: #92400e; }
.voda-color { background: #fee2e2; color: #991b1b; }
.at-color   { background: #ede9fe; color: #5b21b6; }
.momo-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.momo-badge  { font-size: 0.7rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.momo-badge.mtn   { background: #fef9c3; color: #92400e; }
.momo-badge.voda  { background: #fee2e2; color: #991b1b; }
.momo-badge.airteltigo { background: #ede9fe; color: #5b21b6; }

/* ---- DELIVERY ---- */
.delivery-card          { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px 24px; }
.featured-delivery      { border-color: #2563eb; box-shadow: 0 4px 20px rgba(37,99,235,.15); }
.delivery-icon          { width: 48px; height: 48px; margin: 0 auto; }
.delivery-price         { font-size: 1.5rem; font-weight: 800; color: #1d4ed8; margin-top: 8px; }

/* ---- PRODUCT DETAIL ---- */
.product-price    { font-size: 2.2rem; font-weight: 800; color: #1d4ed8; }
.specs-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-item        { background: #f8faff; border-radius: 8px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.spec-label       { font-size: 0.78rem; color: #6b7280; font-weight: 500; }
.spec-val         { font-size: 0.85rem; font-weight: 600; color: #111827; text-align: right; max-width: 60%; }
.qty-selector     { }
.delivery-info-box{ background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 14px; font-size: 0.85rem; }
.delivery-info-box svg { width: 15px; height: 15px; }
.info-box         { background: #f8faff; border: 1px solid #e0e9ff; border-radius: 14px; padding: 24px; height: 100%; }
.trust-badge      { display: inline-flex; align-items: center; gap: 6px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-radius: 50px; padding: 5px 14px; font-size: 0.78rem; font-weight: 500; }
.trust-badge svg  { width: 14px; height: 14px; }
.bulk-table th    { background: #f8faff; }
.product-carousel { border: 1px solid #e5e7eb; }

/* ---- FILTERS ---- */
.filter-panel   { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
.filter-header  { padding: 16px 16px 12px; border-bottom: 1px solid #f3f4f6; }
.filter-section { padding: 14px 16px; border-bottom: 1px solid #f3f4f6; }
.filter-label   { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; margin-bottom: 10px; }
.filter-check   { margin-bottom: 6px; font-size: 0.85rem; }

/* ---- BULK PAGE ---- */
.bulk-hero { background: linear-gradient(135deg, #0f172a, #1d4ed8); padding: 80px 0; }
.bulk-stats-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-item { background: rgba(255,255,255,.1); border-radius: 12px; padding: 20px; text-align: center; }
.bs-num  { display: block; font-size: 2rem; font-weight: 800; color: #fff; }
.bs-label{ font-size: 0.78rem; color: rgba(255,255,255,.7); }
.tier-card { background: #fff; border: 2px solid #e5e7eb; border-radius: 16px; padding: 32px 24px; text-align: center; position: relative; transition: all .2s; }
.tier-featured { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,.2); }
.tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #2563eb; color: #fff; font-size: 0.72rem; padding: 3px 14px; border-radius: 50px; font-weight: 600; white-space: nowrap; }
.tier-qty  { font-size: 2rem; font-weight: 900; color: #1a1a2e; }
.tier-name { font-size: 1rem; font-weight: 600; color: #374151; }
.tier-disc { font-size: 1.3rem; font-weight: 800; color: #2563eb; margin-top: 8px; }
.who-card  { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px 16px; }
.who-icon  { font-size: 2.2rem; }
.why-card  { padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; }
.why-icon  { width: 42px; height: 42px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #2563eb; flex-shrink: 0; }
.quote-form-wrap { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.08); padding: 40px; }

/* ---- CHECKOUT & CART ---- */
.payment-option { border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 14px 16px; margin-bottom: 0; transition: all .15s; cursor: pointer; }
.payment-option.selected { border-color: #2563eb; background: #eff6ff; }
.payment-option:hover { border-color: #93c5fd; }
.momo-num-small { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.card-color { background: #f0fdf4; color: #166534; }
.cod-color  { background: #fff7ed; color: #9a3412; }

/* ---- FOOTER ---- */
.site-footer { background: #0f172a; }
.footer-link { color: rgba(255,255,255,.5); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 6px; transition: color .15s; }
.footer-link:hover { color: #fff; }

/* ---- FLOATING WHATSAPP ---- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ---- PAGINATION ---- */
.page-link { color: #2563eb; border-radius: 8px !important; margin: 0 2px; }
.page-item.active .page-link { background: #2563eb; border-color: #2563eb; }

/* ---- MISC ---- */
.btn-primary  { background-color: #2563eb; border-color: #2563eb; }
.btn-primary:hover { background-color: #1d4ed8; border-color: #1d4ed8; }
.btn-outline-primary { color: #2563eb; border-color: #2563eb; }
.btn-outline-primary:hover { background: #2563eb; }
.text-primary { color: #2563eb !important; }
.bg-primary   { background: #2563eb !important; }
.breadcrumb-item a { color: #2563eb; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  .hero { padding: 50px 0; }
  .product-price { font-size: 1.6rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .quote-form-wrap { padding: 24px; }
  .pc-img { height: 160px; }
}
