/* ============================================================
   Et Cetera Distribution — static site styles
   Rebuilt to match the original theme:
   Headings: Merriweather 700  •  Body: Open Sans
   Accent green #8bc34a  •  Warm panel #f8f6f3  •  Footer navy #001524
   ============================================================ */

:root {
  --green: #8bc34a;
  --green-dark: #7cb342;
  --ink: #333333;
  --muted: #666666;
  --line: #e6e6e6;
  --panel: #f8f6f3;
  --panel-grey: #f2f2f2;
  --navy: #001524;
  --white: #ffffff;
  --maxw: 1200px;
  --radius-pill: 60px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
}

h1 { font-size: 52px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }

p { margin: 0 0 1.2em; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff !important;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 35px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  text-decoration: none !important;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn .ico { font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

/* Logo — original wordmark image */
.logo { display: inline-block; text-decoration: none !important; line-height: 1; }
.logo:hover { text-decoration: none !important; }
.logo-img { height: 44px; width: auto; display: block; }
.brand-img { max-width: 190px; width: 100%; height: auto; margin: 0 auto; display: block; }
.logo .word {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 34px;
  color: #1a1a1a;
  letter-spacing: .5px;
}
.logo .dashes {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.logo .dashes span {
  width: 26px;
  height: 7px;
  border-radius: 1px;
  background: var(--green);
}
.logo .dashes span:last-child { background: #e53935; }

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--green); text-decoration: none; }
.main-nav a.active { color: var(--green); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.panel { background: var(--panel); }
.section.grey { background: var(--panel-grey); }
.section-sm { padding: 46px 0; }

/* ---------- Hero (home) ---------- */
.hero { padding: 60px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-media {
  background: var(--panel);
  border-radius: 8px;
  padding: 34px;
  text-align: center;
}
.hero-media .phone {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--ink);
  margin: 18px 0 10px;
}
.hero-media .hours { color: var(--muted); font-size: 15px; margin: 0; }
.hero-media .call-lead { font-size: 17px; margin-bottom: 4px; }
.hero-body h1 { margin-bottom: .4em; }
.hero-body .lead { font-size: 18px; }
.hero-body strong { font-weight: 700; }
.hero-actions { margin-top: 10px; }

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15.5px;
  margin: 22px 0;
}

/* TV / video placeholder card */
.tv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tv-card img { width: 100%; height: auto; display: block; border-radius: 4px; }
.tv-card .tv-word {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 30px;
  color: #1a1a1a;
}
.tv-card .tv-word em { color: #e53935; font-style: normal; }

/* ---------- Featured brands ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.brand-card { text-align: center; }
.brand-logo {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 22px;
  color: #222;
}
.brand-logo .arc { display:block; font-size: 26px; line-height: .4; color:#444; }
.brand-card p { margin-top: 12px; color: var(--muted); }

/* ---------- Info trio (support / academic / recording) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 28px;
  text-align: center;
}
.info-card .kicker { color: var(--green); font-weight: 600; font-size: 14px; letter-spacing:.5px; text-transform: uppercase; }
.info-card h3 { margin-top: 8px; }

/* ---------- Products grid ---------- */
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.product-thumb {
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #6b7280;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}
.product-thumb .mark {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  color: #556;
  font-size: 18px;
  text-align:center;
}
.product-thumb .mark small { display:block; letter-spacing: normal; font-weight:400; font-size:12px; color:#889; margin-top:6px; }
.product-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-info .cat { color: var(--green); font-size: 13px; font-weight: 600; }
.product-info h3 { font-size: 18px; margin: 8px 0 12px; line-height: 1.35; }
.product-info h3 a { color: var(--ink); }
.product-info h3 a:hover { color: var(--green); text-decoration: none; }
.product-info .price { font-family: "Merriweather", serif; font-weight: 700; font-size: 22px; color: var(--ink); margin-top: auto; }
.product-info .actions { margin-top: 16px; }
.product-info .btn { width: 100%; justify-content: center; }

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 50px;
  align-items: start;
}
.pd-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pd-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-media .badge {
  position: absolute; top: 16px; left: 16px;
  background:#6b7280;color:#fff;font-size:12px;font-weight:600;
  text-transform:uppercase;letter-spacing:.5px;padding:6px 12px;border-radius:3px;
}
.pd-media .mark { font-family:"Open Sans",sans-serif;font-weight:700;letter-spacing:4px;color:#556;font-size:26px;text-align:center;}
.pd-media .mark small{display:block;letter-spacing:normal;font-weight:400;font-size:14px;color:#889;margin-top:8px;}
.pd-summary .price { font-family:"Merriweather",serif; font-weight:700; font-size:30px; color: var(--ink); margin: 6px 0 16px; }
.pd-summary .stock { display:inline-block; background:#f3f4f6; color:#6b7280; font-weight:600; font-size:13px; padding:6px 14px; border-radius:4px; text-transform:uppercase; letter-spacing:.5px; margin-bottom: 18px; }
.pd-summary .meta { color: var(--muted); font-size: 14px; border-top:1px solid var(--line); padding-top:16px; margin-top:8px; }
.pd-summary .delivery { font-weight:600; }
.pd-summary .win-note { font-size: 14.5px; }
.pd-summary .academic-note { color: #b23b3b; font-weight:600; }

.pd-cta {
  background: var(--panel);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 22px 0;
}
.pd-cta p { margin: 0 0 14px; }

.pd-details { margin-top: 60px; }
.pd-details h2 { font-size: 28px; }
.pd-details h3 { font-size: 20px; margin-top: 1.6em; }
.pd-details ul { padding-left: 22px; }
.pd-details li { margin-bottom: 6px; }

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
.spec-box { background:#fff; border:1px solid var(--line); border-radius:8px; padding: 22px 24px; }
.spec-box h4 { font-size: 16px; margin-bottom: 12px; }
.spec-box ul { margin: 0; padding-left: 18px; }
.spec-box li { margin-bottom: 6px; font-size: 15px; }

/* ---------- Pricing table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15.5px;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}
.price-table tbody tr:nth-child(even) { background: var(--panel); }
.price-table td.code { font-family: "Open Sans", monospace; color: var(--muted); white-space: nowrap; }
.price-table td.amt { font-weight: 700; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info .row { margin-bottom: 20px; }
.contact-info .label { color: var(--green); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.contact-info .val { font-size: 18px; }
.contact-info address { font-style: normal; line-height: 1.8; font-size: 17px; }

.form-field { margin-bottom: 18px; }
.form-field label { display:block; font-weight:600; font-size:14px; margin-bottom:6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(139,195,74,.18); }
.form-field textarea { min-height: 150px; resize: vertical; }

/* ---------- Page hero / title band ---------- */
.page-band { background: var(--panel); padding: 54px 0; }
.page-band h1 { margin: 0; }
.page-band .breadcrumb { margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer-top {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-grid .sterling { color: var(--muted); margin-top: 18px; }
.footer-links h3 { font-size: 20px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--green); }

.site-footer-bar { background: var(--navy); color: #cfd8de; padding: 22px 0; }
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.social { display: flex; gap: 14px; }
.social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #cfd8de;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .15s ease, color .15s ease;
}
.social a:hover { background: var(--green); color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-grid,
  .brands-grid,
  .info-grid,
  .product-grid,
  .pd-grid,
  .specs,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .brands-grid { gap: 26px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-media { max-width: 420px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 96px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 24px; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
}
