:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --primary: #0b7fab;
  --primary-dark: #075f82;
  --accent: #f2b84b;
  --border: #dde5ee;
  --topbar: #101827;
  --footer: #101827;
  --success: #1f9d58;
  --shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

body.dark-mode {
  --bg: #0c111c;
  --surface: #111827;
  --card: #151d2b;
  --text: #edf2f7;
  --muted: #a6b2c1;
  --primary: #38a8d5;
  --primary-dark: #1f8bb6;
  --border: #273246;
  --topbar: #070b12;
  --footer: #070b12;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.top-bar {
  background: var(--topbar);
  color: #ffffff;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  text-align: center;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-row {
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 0 22px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.main-header .logo img,
.header-row .logo img {
  flex: 0 1 auto;
  width: clamp(210px, 19vw, 240px) !important;
  height: auto !important;
  max-height: 66px;
  object-fit: contain;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-bar a {
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 9px 10px;
  text-decoration: none;
}

.nav-bar a:hover,
.nav-bar a.active {
  background: var(--surface);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-icon,
#theme-toggle,
.hamburger {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 12px;
  text-decoration: none;
}

.cart-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.cart-icon .cart-symbol {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.trolley-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 62px;
  min-height: 44px;
  padding: 9px 11px;
}

.trolley-link .cart-count {
  margin-left: 0;
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #111827;
  font-size: 0.75rem;
}

.hamburger {
  display: none;
}

.hero {
  min-height: 54vh;
  padding: 76px 20px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(7, 95, 130, 0.92), rgba(16, 24, 39, 0.94)),
    url("../images/services/screen-repair.jpg") center / cover;
  color: #ffffff;
}

.hero-home {
  min-height: auto;
  padding: 82px 20px 88px;
  text-align: left;
  background:
    linear-gradient(120deg, rgba(7, 95, 130, 0.9), rgba(16, 24, 39, 0.94)),
    url("../images/services/screen-repair.jpg") center / cover;
}

.hero-store {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.9), rgba(11, 127, 171, 0.84)),
    url("../images/store/typec.jpg") center / cover;
}

.store-hero {
  min-height: auto;
  padding: 76px 20px 88px;
  text-align: left;
}

.store-hero-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: center;
  gap: 44px;
}

.store-hero-copy {
  width: 100%;
}

.store-hero-copy h1 {
  max-width: 720px;
}

.store-hero-copy h1 span {
  color: var(--accent);
}

.store-hero-copy p:not(.eyebrow) {
  margin-left: 0;
  margin-right: 0;
}

.store-hero-copy .hero-buttons {
  justify-content: flex-start;
}

.store-order-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.store-order-card h2 {
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.store-order-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: store-step;
  list-style: none;
}

.store-order-card li {
  position: relative;
  min-height: 34px;
  padding-left: 44px;
  color: #edf7fb;
}

.store-order-card li::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #101827;
  counter-increment: store-step;
  content: counter(store-step);
  font-size: 0.76rem;
  font-weight: 900;
}

.store-strip {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 0 20px;
}

.store-strip-inner {
  width: min(760px, 100%);
  margin: -30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.store-strip-inner > div {
  display: grid;
  gap: 3px;
  padding: 18px 22px;
}

.store-strip-inner > div + div {
  border-left: 1px solid var(--border);
}

.store-strip-inner span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-strip-inner strong {
  color: var(--text);
  font-size: 0.98rem;
}

.hero-content {
  width: min(840px, 100%);
}

.hero-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  align-items: center;
  gap: 46px;
}

.hero-home .hero-content {
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.7rem);
  line-height: 1.02;
  margin: 8px 0 18px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin: 0 auto;
  max-width: 660px;
  opacity: 0.94;
}

.hero-home p {
  margin-left: 0;
  margin-right: 0;
}

.hero-content > p:not(.eyebrow) {
  font-size: 1.08rem;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-home .hero-buttons,
.hero-home .hero-proof {
  justify-content: flex-start;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.panel-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 24px;
  color: #edf7fb;
}

.hero-panel li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #101827;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border-radius: 8px;
  background: #ffffff;
  color: #101827;
  font-weight: 850;
  text-decoration: none;
}

.panel-link:hover {
  background: var(--accent);
}

.contact-strip {
  position: relative;
  z-index: 2;
  background: var(--surface);
  padding: 0 20px;
}

.contact-strip-inner {
  width: min(960px, 100%);
  margin: -30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.contact-strip-inner > * {
  display: grid;
  gap: 3px;
  padding: 18px 22px;
  text-decoration: none;
}

.contact-strip-inner > * + * {
  border-left: 1px solid var(--border);
}

.contact-strip-inner span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-strip-inner strong {
  color: var(--text);
  font-size: 0.98rem;
}

.contact-strip-inner a strong {
  color: var(--primary-dark);
}

.repair-hero {
  padding: 76px 20px 88px;
  background:
    linear-gradient(120deg, rgba(7, 95, 130, 0.92), rgba(16, 24, 39, 0.94)),
    url("../images/services/dignostics.jpg") center / cover;
  color: #ffffff;
}

.repair-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  align-items: center;
  gap: 44px;
}

.repair-hero-copy h1 {
  max-width: 700px;
  margin: 8px 0 18px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.04;
}

.repair-hero-copy p:not(.eyebrow) {
  max-width: 640px;
  color: #edf7fb;
  font-size: 1.05rem;
}

.repair-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.repair-hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.repair-hero-card h2 {
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.repair-hero-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.repair-hero-card li {
  position: relative;
  padding-left: 24px;
  color: #edf7fb;
}

.repair-hero-card li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #101827;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.repair-trust-strip {
  position: relative;
  z-index: 2;
  background: var(--surface);
  padding: 0 20px;
}

.repair-trust-inner {
  width: min(920px, 100%);
  margin: -30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.repair-trust-inner > div {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
}

.repair-trust-inner > div + div {
  border-left: 1px solid var(--border);
}

.repair-trust-inner strong {
  color: var(--text);
  font-size: 1rem;
}

.repair-trust-inner span {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 11px 18px;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #ffffff;
  color: #101827;
}

.btn-light {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-light:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--primary-dark);
}

.btn-whatsapp {
  background: var(--success);
  color: #ffffff;
}

.btn-whatsapp[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.section-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  text-align: center;
}

.section-intro {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--muted);
}

.trust-section {
  background: var(--surface);
  padding: 62px 20px 72px;
}

.trust-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.compact-heading {
  margin-bottom: 24px;
}

.trust-item {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.trust-item a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.trust-item a:hover {
  text-decoration: underline;
}

.section-heading h2,
.form-panel h1 {
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.15;
}

.device-selector-section {
  padding: 66px 20px;
  background: var(--surface);
}

.device-selector-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.device-selector-heading {
  margin-bottom: 30px;
  text-align: center;
}

.device-selector-heading h1,
.device-selector-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.device-selector-heading span {
  color: var(--primary);
}

.repair-device-selector {
  padding-top: 66px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(104px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.device-card {
  min-height: 178px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  cursor: pointer;
  font: inherit;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  color: var(--text);
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.1);
}

.device-circle {
  width: clamp(78px, 7vw, 100px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--primary) 70%, #ffffff);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--primary) 7%, #ffffff));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover .device-circle {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 127, 171, 0.16);
}

.device-card.is-selected .device-circle {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  box-shadow: 0 16px 34px rgba(11, 127, 171, 0.22);
}

.device-card.is-selected {
  border-color: var(--primary);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, #ffffff), #ffffff);
}

.device-card.is-selected .device-label {
  color: var(--primary-dark);
}

.device-circle img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.device-label {
  max-width: 126px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.16;
}

.services-section,
.common-repairs-section,
.process-section,
.faq-section,
.home-cta-section,
.products,
.contact-section,
.cart-section,
.form-section {
  padding: 72px 20px;
}

.services-section,
.common-repairs-section,
.home-cta-section,
.cart-section,
.form-section {
  background: var(--surface);
}

.process-section,
.faq-section {
  background: var(--bg);
}

.services-grid,
.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 24px;
}

.product-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.store-toolbar {
  width: min(1180px, 100%);
  margin: -10px auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store-toolbar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  padding: 7px 12px;
}

.service-box,
.product-card,
.contact-card,
.form-panel,
#cart-items {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-box {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
  background: var(--surface);
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.service-box span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 11px;
  text-transform: uppercase;
}

.service-box h3,
.product-card h3 {
  margin-bottom: 8px;
}

.service-box h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-box p,
.muted {
  color: var(--muted);
}

.service-box p {
  margin-bottom: 20px;
}

.service-points {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  line-height: 1.42;
}

.service-points li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1;
  padding: 10px 13px;
  text-decoration: none;
}

.service-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.repair-list-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.repair-list-item {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
}

.repair-list-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.repair-list-item p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.process-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-card {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.process-card p {
  color: var(--muted);
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  padding: 18px 20px;
}

.faq-list summary::marker {
  color: var(--primary);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list p {
  color: var(--muted);
  padding: 16px 20px 20px;
}

.home-cta-panel {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 127, 171, 0.18), rgba(242, 184, 75, 0.08)),
    var(--topbar);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.home-cta-panel .eyebrow {
  color: var(--accent);
}

.home-cta-panel h2 {
  max-width: 680px;
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.16;
}

.home-cta-panel p:not(.eyebrow) {
  max-width: 690px;
  color: #d7e0eb;
}

.home-cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-cta-actions {
  justify-content: flex-end;
}

.contact-actions {
  margin: 22px 0 14px;
}

.product-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 410px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
}

.product-media {
  height: 206px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #eef4fa);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 210px;
  flex: 0 0 210px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--surface);
}

.product-media img {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  margin-bottom: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 4px 2px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 5px 10px;
}

.product-card h3 {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  line-height: 1.25;
}

.price {
  color: var(--primary);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.product-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 10px;
  text-align: left;
}

.product-card label:first-of-type {
  margin-top: 14px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 12px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.product-card .btn {
  margin-top: auto;
  min-height: 48px;
  width: 100%;
}

.cart-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  align-items: stretch;
  gap: 22px;
}

.cart-summary-card,
.cart-confirm-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}

.cart-summary-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.cart-confirm-card {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, #ffffff), #ffffff);
}

.cart-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cart-summary-head .eyebrow {
  margin-bottom: 4px;
}

.cart-summary-head h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 850;
  padding: 7px 11px;
}

.contact-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 28px;
  text-align: center;
}

.contact-card .btn {
  margin: 0;
}

#cart-items {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cart-empty {
  display: grid;
  gap: 4px;
  padding: 26px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--text);
  font-size: 1rem;
}

.cart-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 14px;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-item-details span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.cart-qty-controls span {
  min-width: 34px;
  color: var(--text);
  font-weight: 850;
  text-align: center;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.cart-line-price {
  min-width: 70px;
  color: var(--primary-dark);
  text-align: right;
}

.remove-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  padding: 8px 10px;
}

.remove-item:hover {
  border-color: color-mix(in srgb, #ef4444 40%, var(--border));
  color: #b42318;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 1.15rem;
}

.cart-summary-total span {
  color: var(--muted);
}

.cart-summary-total strong {
  color: var(--text);
  font-size: 1.35rem;
}

.cart-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 18px;
}

.cart-actions-row .btn {
  min-height: 48px;
}

.cart-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: left;
}

.cart-confirm-card h3 {
  margin: 6px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.cart-confirm-card .cart-note {
  margin-top: auto;
}

.cart-confirm-card > p:not(.eyebrow):not(.cart-note) {
  color: var(--muted);
  margin-bottom: 18px;
}

.cart-confirm-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-confirm-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.4;
}

.cart-confirm-card li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

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

.form-section {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
}

.repair-form-section {
  min-height: auto;
  padding-top: 72px;
  scroll-margin-top: 112px;
}

.form-panel {
  width: min(620px, 100%);
  padding: 30px;
}

.repair-form-layout {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.85fr);
  align-items: stretch;
  gap: 22px;
}

.repair-request-panel {
  width: 100%;
  padding: 34px;
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.1);
}

.repair-request-panel h1 {
  max-width: 560px;
}

.form-helper {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
}

.repair-next-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, #ffffff), #ffffff);
  box-shadow: var(--shadow);
}

.repair-next-card h2 {
  margin: 6px 0 20px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.repair-next-card ol {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: repair-step;
  list-style: none;
}

.repair-next-card li {
  position: relative;
  min-height: 36px;
  padding: 5px 0 5px 42px;
  color: var(--text);
  line-height: 1.4;
}

.repair-next-card li::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  counter-increment: repair-step;
  content: counter(repair-step);
  font-size: 0.74rem;
  font-weight: 900;
}

.repair-next-card .muted {
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 6%, #ffffff);
  padding: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-panel form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.repair-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.repair-form-grid textarea,
.repair-form-grid button {
  grid-column: 1 / -1;
}

.repair-form-grid textarea {
  min-height: 150px;
}

.form-panel .btn {
  width: 100%;
}

.footer {
  background: var(--footer);
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
}

.footer-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: #d7e0eb;
  font-size: 0.86rem;
}

.footer-info strong {
  color: #ffffff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 750;
  padding: 8px 12px;
  text-decoration: none;
}

.social-link img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-disclaimer {
  max-width: 920px;
  margin: 0 auto;
  color: #b8c3d2;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: #ffffff;
  font-weight: 800;
}

.footer p + p {
  margin-top: 0;
  color: #aeb9c8;
  font-size: 0.82rem;
}

.content-hero {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 84px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(246, 248, 251, 0.96), rgba(255, 255, 255, 0.96)),
    url("../images/store/sata-usb.jpg") center / cover;
}

.content-hero > div {
  width: min(760px, 100%);
}

.content-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.content-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-row {
    min-height: 70px;
    padding: 0 14px 0 10px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: clamp(170px, 34vw, 210px) !important;
    height: auto !important;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-bar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 86px 22px 22px;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
    transition: right 0.24s ease;
  }

  .nav-bar.active {
    right: 0;
  }

  .nav-bar a {
    padding: 13px 12px;
  }

  .header-actions {
    margin-left: auto;
  }

  .services-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .store-hero-layout {
    grid-template-columns: 1fr;
  }

  .cart-shell {
    grid-template-columns: 1fr;
  }

  .store-hero {
    text-align: center;
  }

  .store-hero-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .store-hero-copy .hero-buttons {
    justify-content: center;
  }

  .store-order-card {
    width: min(430px, 100%);
    margin: 0 auto;
    text-align: left;
  }

  .store-strip-inner {
    grid-template-columns: 1fr;
  }

  .store-strip-inner > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .repair-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .hero-layout,
  .repair-hero-inner,
  .repair-form-layout,
  .home-cta-panel {
    grid-template-columns: 1fr;
  }

  .home-cta-actions {
    justify-content: flex-start;
  }

  .device-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .repair-hero {
    padding: 64px 18px 84px;
    text-align: center;
  }

  .repair-hero-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .repair-hero-actions {
    justify-content: center;
  }

  .repair-hero-card,
  .repair-next-card {
    width: min(430px, 100%);
    margin: 0 auto;
    text-align: left;
  }

  .repair-request-panel {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .repair-trust-inner {
    grid-template-columns: 1fr;
  }

  .repair-trust-inner > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .hero {
    min-height: 48vh;
    padding: 58px 18px;
  }

  .hero-home {
    min-height: 52vh;
    padding: 64px 18px 84px;
    text-align: center;
  }

  .hero-home p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-home .hero-buttons,
  .hero-home .hero-proof {
    justify-content: center;
  }

  .hero-panel {
    width: min(430px, 100%);
    margin: 0 auto;
    text-align: left;
  }

  .contact-strip-inner {
    grid-template-columns: 1fr;
  }

  .contact-strip-inner > * + * {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .header-row {
    width: 100%;
    padding: 0 10px 0 8px;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: min(152px, 42vw) !important;
    height: auto !important;
  }

  .cart-icon,
  #theme-toggle,
  .hamburger {
    padding: 9px 10px;
  }

  .cart-row,
  .cart-summary-head,
  .cart-actions-row {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .cart-summary-head {
    flex-direction: column;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .cart-line-price {
    min-width: 0;
    text-align: left;
  }

  .cart-qty-controls {
    width: fit-content;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof span {
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .repair-list-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-panel {
    padding: 26px 20px;
  }

  .store-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .store-toolbar span {
    justify-content: center;
  }

  .device-selector-section {
    padding: 30px 14px 36px;
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .device-circle {
    width: 82px;
  }

  .device-card {
    min-height: 162px;
  }

  .repair-form-grid {
    grid-template-columns: 1fr;
  }
}
