/* ==========================================================================
   TechZone — Base styles: reset, variables, typography, layout, utilities
   ========================================================================== */

:root {
  --color-primary: #1a6fe4;
  --color-primary-dark: #0f52b5;
  --color-primary-darker: #0a3a85;
  --color-primary-light: #eaf2fe;
  --color-accent: #ff9800;
  --color-accent-dark: #f5760a;
  --color-danger: #e53935;
  --color-success: #1fa974;
  --color-star: #ffb020;

  --color-dark: #0b1524;
  --color-dark-2: #14223a;

  --text-heading: #0f1b2d;
  --text-body: #4a5568;
  --text-muted: #8a94a6;
  --text-inverse: #ffffff;

  --border-color: #e6ebf2;
  --bg-body: #f5f7fb;
  --bg-white: #ffffff;
  --bg-soft: #eef4fc;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 27, 45, 0.12);

  --container-width: 1200px;
  --header-h: 64px;

  --font-heading: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

main {
  display: block;
}

section {
  padding: 56px 0;
}

.bg-white { background: var(--bg-white); }
.bg-soft { background: var(--bg-soft); }

/* ---- Section head ---- */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-head-row .heading-group h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-head-row .heading-group p {
  color: var(--text-muted);
  font-size: 14px;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Star rating ---- */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-star);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Price ---- */
.price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-danger);
}

.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

/* ---- Skeleton page banner ---- */
.page-banner {
  background: linear-gradient(120deg, var(--color-primary-darker), var(--color-primary));
  padding: 40px 0;
  color: var(--text-inverse);
}

.page-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.page-banner h1 {
  color: var(--text-inverse);
  font-size: 26px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--text-inverse);
}

.breadcrumb .sep {
  opacity: 0.6;
}

.breadcrumb .current {
  color: var(--text-inverse);
  font-weight: 600;
}
