/* ==========================================================================
   Buyzania ICT, shared catalog stylesheet for product category pages
   Used by all pages in /products/. Matches the brand look of index.html.
   ========================================================================== */

:root {
  --navy: #0f2744;
  --navy-deep: #0a1a30;
  --navy-light: #1f3a5f;
  --gold: #c9a961;
  --gold-light: #e8d4a3;
  --white: #ffffff;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --line: #e7ebf0;
  --bg-soft: #f6f8fb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 39, 68, 0.18); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); box-shadow: 0 10px 24px rgba(201, 169, 97, 0.35); }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: inline-block;
  line-height: 1.05;
}
.brand span { color: var(--gold); }
.brand .brand-ict {
  display: block;
  text-align: center;
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}
.brand:hover { color: var(--navy); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.nav-links .btn-outline { padding: 0.5rem 1.1rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.4rem; color: var(--line); }
.breadcrumb .current { color: var(--navy); margin: 0; font-weight: 600; }

/* ---------- Category hero ---------- */
.cat-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  margin-top: 1rem;
}
.cat-hero .eyebrow { color: var(--gold); }
.cat-hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 1rem; }
.cat-hero p { color: rgba(255, 255, 255, 0.78); max-width: 720px; font-size: 1.05rem; }


.cat-hero.has-photo { background: linear-gradient(135deg, rgba(15,39,68,0.92) 0%, rgba(10,26,48,0.86) 100%), var(--cat-img); background-size: cover; background-position: center; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.brand-chips .chip {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

/* ---------- Catalog area ---------- */
.catalog { padding: 4rem 0 4.5rem; }
.catalog-head { margin-bottom: 2.5rem; max-width: 760px; }
.catalog-head h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.catalog-head p { color: var(--muted); }

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.6rem;
}

/* product card (template the user fills in later) */
.product-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 39, 68, 0.12); }
.product-thumb { aspect-ratio: 4 / 3; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-brand { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.product-name { font-size: 1.05rem; color: var(--navy); }
.product-spec { font-size: 0.85rem; color: var(--muted); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; gap: 0.6rem; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--navy); font-family: 'Inter', sans-serif; }
.product-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  white-space: nowrap;
}
.product-cta:hover { background: var(--gold-light); color: var(--navy); }

/* coming soon placeholder */
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 3.5rem 1.5rem;
}
.catalog-empty svg { color: var(--gold); margin-bottom: 1rem; }
.catalog-empty h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.catalog-empty p { color: var(--muted); max-width: 540px; margin: 0 auto 1.6rem; }
.empty-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.types-note { margin-top: 2.2rem; font-size: 0.9rem; color: var(--muted); }
.types-note strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 3rem 0 2rem; }
.foot-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot-brand { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--white); }
.foot-brand span { color: var(--gold); }
.foot-brand:hover { color: var(--white); }
.foot-socials { text-align: right; }
.foot-soc-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.foot-soc-links { display: flex; gap: 0.6rem; justify-content: flex-end; }
.foot-soc-links a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}
.foot-soc-links a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.foot-soc-links svg { display: block; }
.foot-bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; }
.foot-bottom a { color: rgba(255, 255, 255, 0.8); }
.foot-bottom a:hover { color: var(--gold); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: #ffffff; text-decoration: none;
  padding: 12px 20px 12px 14px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}
.wa-float:hover { background: #1FB855; transform: translateY(-2px); color: #ffffff; }
.wa-float svg { width: 24px; height: 24px; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .container, .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-links { display: none; }
  .cat-hero h1 { font-size: 2rem; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-socials { text-align: left; }
  .foot-soc-links { justify-content: flex-start; }
  .wa-float .wa-float-label { display: none; }
  .wa-float { padding: 12px; }
}

.brand-hero-logo { margin-bottom: 1.2rem; }
.brand-hero-logo svg { height: 46px; width: auto; color: var(--gold-light); }
.brand-chips a.chip { transition: all 0.2s ease; }
.brand-chips a.chip:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
