/* ==========================================================================
   Dr. Robot Systems & Technologies
   Main stylesheet

   Beginner edit guide:
   - This file controls the look of every page.
   - Shared styles are near the top: colors, header, buttons, cards, forms,
     footer, and general layout.
   - Page-specific styles are grouped by page name: Home, Store, Repair,
     Trade-In, B2B, Projects, and Contact.
   - Responsive/mobile styles are at the bottom.
   - To change colors safely, edit the variables in :root first.
   ========================================================================== */

/* ==========================================================================
   1) Site Colors And Reusable Values
   These variables keep colors and shadows consistent across the site.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-strong: #eef4f8;
  --card: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --primary: #0b7fab;
  --primary-dark: #075f82;
  --accent: #f2b84b;
  --border: #d7e2ec;
  --topbar: #101827;
  --footer: #0a111d;
  --success: #1f9d58;
  --danger: #b42318;
  --shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 24px 60px rgba(17, 24, 39, 0.14);
}

html.dark-mode,
body.dark-mode {
  color-scheme: dark;
  --bg: #0b1117;
  --surface: #101821;
  --surface-strong: #162230;
  --card: #111b25;
  --text: #edf4f7;
  --muted: #a7b5c0;
  --primary: #31a9d7;
  --primary-dark: #8bd8e9;
  --accent: #f2b84b;
  --border: #263746;
  --topbar: #050910;
  --footer: #050910;
  --success: #21b871;
  --danger: #ff6b6b;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.34);
}

/* ==========================================================================
   2) Browser Reset And Base Page Styles
   This removes inconsistent browser spacing and sets the site font.
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-padding-top: 78px;
}

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

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.btn:focus-visible,
.login-link:focus-visible,
.store-link:focus-visible,
.theme-toggle:focus-visible,
.floating-cart:focus-visible,
.nav-bar a:focus-visible,
.store-filter:focus-visible,
.product-page-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 32%, transparent);
}

/* ==========================================================================
   3) Top Bar, Header, Logo, And Navigation
   This section controls the strip at the very top and the main menu.
   ========================================================================== */
.top-bar {
  background: var(--topbar);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding: 6px 16px;
  text-align: center;
}

.main-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-row {
  width: min(1180px, calc(100% - 48px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

/* Header logo: this is the full brand artwork shown in the navigation. */
.main-header .logo img,
.header-row .logo img {
  width: clamp(142px, 12vw, 170px);
  max-height: 48px;
  object-fit: contain;
}

.nav-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, var(--bg));
}

.nav-bar a {
  border-radius: 999px;
  color: var(--text);
  font-size: 0.81rem;
  font-weight: 750;
  line-height: 1;
  padding: 9px 11px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nav-bar a:hover,
.nav-bar a.active {
  background: var(--card);
  color: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.login-link {
  width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary-dark);
  line-height: 1;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.login-link:hover,
.login-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.login-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  object-fit: contain;
}

.theme-toggle {
  display: inline-grid;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
  border-radius: 999px;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, var(--card));
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.theme-toggle-sun,
html.dark-mode .theme-toggle-moon {
  display: none;
}

html.dark-mode .theme-toggle-sun {
  display: block;
}

/* The hamburger button appears on smaller screens only. */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  padding: 11px 15px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.hamburger-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.store-link {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.store-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.store-link:hover,
.store-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.store-link .header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  display: none;
  border: 2px solid #ffffff;
  background: var(--accent);
  color: #111827;
  font-size: 0.62rem;
  padding: 0 3px;
}

.store-link.has-items .header-cart-count {
  display: grid;
}

body.auth-modal-open {
  overflow: hidden;
}

body.cart-drawer-open {
  overflow: hidden;
}

body.auth-modal-open > :not(.auth-modal-root) {
  filter: blur(8px) brightness(0.72);
  pointer-events: none;
  user-select: none;
}

.auth-modal-root {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-root[hidden],
.auth-modal-form[hidden],
.auth-modal-tabs[hidden] {
  display: none !important;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 22, 0.7);
  -webkit-backdrop-filter: blur(14px) brightness(0.78);
  backdrop-filter: blur(14px) brightness(0.78);
}

.auth-modal-card {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100dvh - 48px);
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  overflow: hidden;
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  background: #ffffff;
  color: #101d30;
  box-shadow: 0 34px 90px rgba(2, 8, 16, 0.38);
}

.auth-modal-aside {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 38px 37px;
  overflow: hidden;
  background: linear-gradient(145deg, #081626, #0b2033);
  color: #ffffff;
}

.auth-modal-aside::after {
  position: absolute;
  right: -98px;
  bottom: -108px;
  width: 275px;
  height: 275px;
  border: 1px solid rgba(24, 160, 207, 0.22);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(9, 142, 190, 0.19), transparent 64%);
  content: "";
}

.auth-modal-logo {
  width: 180px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  border-radius: 9px;
  background: #ffffff;
  padding: 8px 10px;
  margin-bottom: auto;
}

.auth-modal-aside .eyebrow {
  color: #36b3e2;
  margin: 52px 0 13px;
}

.auth-modal-aside h2 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.auth-modal-aside > p:not(.eyebrow) {
  margin: 0 0 31px;
  color: #a7bdd0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.auth-modal-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.auth-modal-benefits span {
  border-top: 1px solid rgba(168, 197, 219, 0.18);
  color: #d8e4ee;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 15px 0;
}

.auth-modal-content {
  position: relative;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #ffffff;
}

.auth-modal-head {
  position: relative;
  display: grid;
  padding: 44px 52px 10px;
  text-align: left;
}

.auth-modal-head .eyebrow {
  color: var(--primary);
}

.auth-modal-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.16;
}

.auth-head-copy {
  margin: 0;
  color: #647387;
  font-size: 0.9rem;
}

.auth-modal-close {
  position: absolute;
  top: 20px;
  right: 21px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e2ebf2;
  border-radius: 8px;
  background: transparent;
  color: #647387;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.auth-modal-close:hover {
  border-color: #cbdde9;
  background: #f2f7fb;
  color: #102035;
}

.auth-modal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 50px 0;
}

.auth-modal-tabs,
.auth-modal-form {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.auth-modal-tab {
  min-height: 36px;
  border: 1px solid #d8e5ee;
  border-radius: 8px;
  background: #f6f9fb;
  color: #607286;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-modal-tab.active {
  border-color: #0789bd;
  background: #e7f5fb;
  color: #056e98;
}

.auth-modal-form {
  display: none;
  gap: 14px;
  padding: 22px 52px 7px;
}

.auth-modal-form.active {
  display: grid;
}

.auth-register-form.active {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 13px;
}

.auth-register-form .auth-submit {
  grid-column: 1 / -1;
}

.auth-modal-copy {
  margin: 0;
  color: #647387;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.auth-modal-form label {
  display: grid;
  gap: 7px;
}

.auth-modal-form label > span {
  color: #122239;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
}

.auth-field {
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid #d4e1ea;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 14px;
}

.auth-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 137, 189, 0.13);
}

.auth-field input {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: #102035;
  font: inherit;
  font-size: 0.98rem;
  outline: 0;
  padding: 0;
}

.auth-field input:focus,
.auth-field input:focus-visible {
  outline: 0;
  box-shadow: none;
}

.auth-field input::placeholder {
  color: #9bacbe;
}

.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #102035;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

.auth-field-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #7e91a4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-submit {
  min-height: 51px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  margin-top: 4px;
}

.auth-submit:hover {
  background: #0575a3;
}

.auth-login-links {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: -3px;
}

.auth-link-button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 3px 8px;
}

.auth-link-button:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-wide-action {
  width: 100%;
}

.auth-modal-tab:focus-visible,
.auth-modal-close:focus-visible,
.auth-submit:focus-visible,
.auth-secondary-action:focus-visible,
.auth-link-button:focus-visible {
  outline: 3px solid #38a8d5;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(56, 168, 213, 0.22);
}

.auth-modal-message {
  max-width: none;
  min-height: 22px;
  margin: 10px auto 27px;
  padding: 0 50px;
  color: #647387;
  font-size: 0.9rem;
  text-align: center;
}

.auth-modal-message[data-tone="ok"] {
  color: #158048;
}

.auth-modal-message[data-tone="danger"] {
  color: #c23f36;
}

.auth-secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e3ed;
  border-radius: 10px;
  background: #ffffff;
  color: #102035;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-secondary-action:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ==========================================================================
   4) Shared Buttons, Labels, And Common Text
   These classes are reused on many pages.
   ========================================================================== */
.btn,
.service-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: 800;
  line-height: 1.1;
  padding: 11px 18px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.service-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0789bd;
  color: #ffffff;
}

.btn-primary:hover {
  background: #056f99;
}

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

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

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

.btn-whatsapp:hover {
  background: #18874b;
}

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

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 2500;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.floating-whatsapp:hover {
  background: #18874b;
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.3);
  transform: translateY(-2px);
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.floating-site-chat {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: calc(clamp(16px, 3vw, 30px) + 72px);
  z-index: 2501;
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: #102231;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.floating-site-chat:hover {
  background: #0789bd;
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.3);
  transform: translateY(-2px);
}

.floating-site-chat img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.floating-cart {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: calc(clamp(16px, 3vw, 30px) + 144px);
  z-index: 2502;
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--card);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.floating-cart:hover,
.floating-cart.active {
  background: var(--primary);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.3);
  transform: translateY(-2px);
}

.floating-cart img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.floating-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  display: none;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #111827;
  background: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  padding: 0 4px;
}

.floating-cart.has-items .floating-cart-count {
  display: grid;
}

.site-chat-head button svg,
.site-chat-attach svg,
.site-chat-send svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-chat-panel {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: calc(clamp(16px, 3vw, 30px) + 216px);
  z-index: 2503;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  max-height: min(650px, calc(100vh - 120px));
  grid-template-rows: auto auto auto minmax(180px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(16, 34, 49, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 30px 85px rgba(12, 25, 36, 0.24);
}

.site-chat-panel[hidden] {
  display: none;
}

.site-chat-head {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #ffffff;
  background: #102231;
}

.site-chat-head strong,
.site-chat-head span {
  display: block;
}

.site-chat-head strong {
  font-size: 1rem;
}

.site-chat-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-chat-head button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  line-height: 1;
}

.site-chat-head button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-chat-intro {
  display: grid;
  gap: 9px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  background: #f1f8fb;
}

.site-chat-intro[hidden] {
  display: none;
}

.site-chat-intro strong,
.site-chat-intro p {
  margin: 0;
}

.site-chat-intro strong {
  color: #102231;
  font-size: 0.92rem;
}

.site-chat-intro p {
  color: #5e707b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-chat-intro > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-chat-login,
.site-chat-continue {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.site-chat-login {
  border: 0;
  color: #ffffff;
  background: var(--success);
}

.site-chat-continue {
  border: 1px solid rgba(16, 34, 49, 0.14);
  color: #102231;
  background: #ffffff;
}

.site-chat-profile {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #f8fbfc;
}

.site-chat-profile.is-compact {
  display: none;
}

.site-chat-profile input,
.site-chat-input-stack input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #ffffff;
}

.site-chat-profile input {
  padding: 9px 11px;
}

.site-chat-input-stack input {
  padding: 9px 12px;
}

.site-chat-profile input:focus,
.site-chat-input-stack input:focus {
  outline: 2px solid rgba(7, 137, 189, 0.16);
  border-color: rgba(7, 137, 189, 0.48);
}

.site-chat-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px 14px;
  background: #ffffff;
}

.site-chat-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.site-chat-message {
  display: grid;
  max-width: 82%;
  align-self: flex-start;
  justify-items: start;
  gap: 4px;
}

.site-chat-message-bubble {
  overflow-wrap: anywhere;
  border-radius: 16px;
  padding: 10px 13px;
  color: #102231;
  background: #eef3f5;
  line-height: 1.45;
}

.site-chat-message.is-mine {
  align-self: flex-end;
  justify-items: end;
}

.site-chat-message.is-mine .site-chat-message-bubble {
  color: #ffffff;
  background: #16964f;
}

.site-chat-message small {
  color: #70808c;
  font-size: 0.7rem;
}

.site-chat-message-files {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.site-chat-message-files a {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
  color: inherit;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-chat-message:not(.is-mine) .site-chat-message-files a {
  background: #ffffff;
}

.site-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.site-chat-attach,
.site-chat-send {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
}

.site-chat-attach {
  color: #102231;
  background: transparent;
}

.site-chat-attach:hover {
  background: #eef4f2;
}

.site-chat-send {
  color: #ffffff;
  background: #79c59c;
}

.site-chat-send:hover {
  background: #16964f;
}

.site-chat-send svg,
.site-chat-attach svg {
  width: 19px;
  height: 19px;
}

.site-chat-input-stack {
  display: grid;
  flex: 1 1 auto;
  gap: 7px;
}

.site-chat-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-chat-files[hidden] {
  display: none;
}

.site-chat-file-chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 7px;
  color: #52616b;
  background: #edf2f4;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-chat-file-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-chat-file-chip button {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #5d6b74;
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.site-chat-file-chip button:hover {
  color: #102231;
  background: #dce6ea;
}

@media (max-width: 560px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp img {
    width: 29px;
    height: 29px;
  }

  .floating-site-chat {
    right: 14px;
    bottom: 76px;
    width: 52px;
    height: 52px;
  }

  .floating-site-chat img {
    width: 29px;
    height: 29px;
  }

  .floating-cart {
    right: 14px;
    bottom: 138px;
    width: 52px;
    height: 52px;
  }

  .floating-cart img {
    width: 29px;
    height: 29px;
  }

  .site-chat-panel {
    right: 14px;
    bottom: 200px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 218px);
  }

  .site-chat-message {
    max-width: 90%;
  }
}

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

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

.muted {
  color: var(--muted);
}

/* ==========================================================================
   5) Shared Sections And Cards
   Use these for page sections, headings, cards, grids, and form panels.
   ========================================================================== */
.section-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  text-align: center;
}

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

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

.services-section,
.products,
.cart-section,
.form-section,
.contact-page-section,
.home-path-section,
.home-feature-section,
.standards-section,
.home-cta-section,
.b2b-cta-section,
.projects-cta-section {
  padding: 74px 20px;
}

.services-section,
.products,
.cart-section,
.form-section,
.home-path-section,
.contact-page-section {
  background: var(--surface);
}

.home-feature-section,
.standards-section,
.b2b-cta-section,
.projects-cta-section {
  background: #ffffff;
}

.service-box,
.product-card,
.project-card,
.standard-card,
.form-panel,
.contact-details-panel,
.contact-form-panel,
.cart-summary-card,
.cart-confirm-card,
.repair-picker-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow);
}

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

/* ==========================================================================
   6) Shared Hero Styles
   This controls the large first section on each page.
   ========================================================================== */
.hero,
.repair-hero,
.content-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding: 96px 20px 110px;
  color: #ffffff;
  text-align: left;
}

.hero::after,
.repair-hero::after,
.content-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 118px;
  background: linear-gradient(180deg, rgba(3, 12, 22, 0), rgba(3, 12, 22, 0.18) 56%, rgba(3, 12, 22, 0.36));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  content: "";
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000000 32%);
  mask-image: linear-gradient(180deg, transparent 0%, #000000 32%);
  pointer-events: none;
}

.hero-layout,
.repair-hero-inner,
.content-hero > div,
.store-hero-layout {
  position: relative;
  z-index: 4;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-layout,
.repair-hero-inner,
.store-hero-layout {
  align-items: center;
  gap: 25px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
}

.hero h1,
.repair-hero-copy h1,
.content-hero h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  font-size: clamp(2.85rem, 6.5vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero p:not(.eyebrow),
.repair-hero-copy p:not(.eyebrow),
.content-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #edf7fb;
  font-size: 1.1rem;
}

.hero-buttons,
.repair-hero-actions,
.b2b-hero-actions,
.projects-hero-actions,
.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Proof chips: compact category labels under selected page hero buttons. */
.b2b-proof,
.projects-proof,
.contact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ==========================================================================
   7) Shared Info Strips
   These strips overlap below hero sections and show quick facts.
   ========================================================================== */
.contact-strip,
.store-strip,
.repair-trust-strip,
.b2b-strip,
.projects-strip {
  position: relative;
  z-index: 2;
  background: var(--surface);
  padding: 0 20px;
}

.contact-strip-inner,
.store-strip-inner,
.repair-trust-inner,
.b2b-strip-inner,
.projects-strip-inner {
  width: min(1080px, 100%);
  margin: -40px auto 0;
  display: grid;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

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

.store-strip-inner,
.repair-trust-inner,
.b2b-strip-inner,
.projects-strip-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-strip-inner {
  width: min(920px, 100%);
}

.repair-trust-inner,
.b2b-strip-inner,
.projects-strip-inner {
  width: min(980px, 100%);
}

.contact-strip-inner > *,
.store-strip-inner > *,
.repair-trust-inner > *,
.b2b-strip-inner > *,
.projects-strip-inner > * {
  display: grid;
  gap: 3px;
  padding: 18px 22px;
  text-decoration: none;
}

.contact-strip-inner > * + *,
.store-strip-inner > * + *,
.repair-trust-inner > * + *,
.b2b-strip-inner > * + *,
.projects-strip-inner > * + * {
  border-left: 1px solid var(--border);
}

.contact-strip-inner span,
.store-strip-inner span,
.b2b-strip-inner span,
.projects-strip-inner span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-trust-inner strong,
.contact-strip-inner strong,
.store-strip-inner strong,
.b2b-strip-inner strong,
.projects-strip-inner strong {
  color: var(--text);
}

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

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

/* ==========================================================================
   8) Forms And Inputs
   This controls all input, select, and textarea styling.
   ========================================================================== */
select,
input,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d6e2ec;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 12px;
}

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

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

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

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

.form-panel .btn,
.contact-form .btn,
.product-card .btn {
  width: 100%;
}

/* ==========================================================================
   9) Footer
   The footer is shared by every page.
   ========================================================================== */
.footer {
  display: grid;
  grid-template-columns:
    minmax(22px, 1fr)
    minmax(230px, 340px)
    minmax(130px, 190px)
    minmax(230px, 280px)
    minmax(22px, 1fr);
  column-gap: 42px;
  row-gap: 34px;
  background: #0d1624;
  color: #ffffff;
  padding: 48px 0 0;
  text-align: left;
}

.footer-inner {
  display: contents;
}

/* Footer brand column: logo, short service summary, and social links. */
.footer-brand {
  grid-column: 2;
}

/* Footer company column: navigation links shared across every page. */
.footer-links {
  grid-column: 3;
}

/* Footer contact column: phone, email, hours, and service area. */
.footer-contact {
  grid-column: 4;
}

.footer h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo {
  display: inline-flex;
  width: min(170px, 100%);
  margin-bottom: 14px;
  text-decoration: none;
}

/* Footer logo: same full brand artwork, scaled for the footer. */
.footer-logo img {
  width: 100%;
  height: auto;
  background: #ffffff;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.footer-brand p,
.footer-contact p {
  color: #d6e0ea;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-brand p {
  max-width: 330px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-socials a,
.contact-socials a {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-socials a:hover,
.contact-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 184, 75, 0.46);
  background: rgba(242, 184, 75, 0.14);
}

.footer-socials img,
.contact-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact span {
  display: block;
  margin-bottom: 2px;
  color: #8ea2b8;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 2 / 5;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #aebccc;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 14px 0 18px;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-policy-links a {
  color: #d6e0ea;
  text-decoration: none;
}

.footer-policy-links a:hover {
  color: var(--accent);
}

.footer-site-credit {
  flex-basis: 100%;
  color: #d6e0ea;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   10) Home Page
   Styles for index.html only.
   ========================================================================== */
.hero-carousel {
  isolation: isolate;
  overflow: hidden;
  background: #172536;
}

.hero-carousel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 184, 75, 0.16), transparent 30%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.9), rgba(16, 24, 39, 0.92));
  content: "";
  pointer-events: none;
}

.hero-carousel::after {
  z-index: 3;
}

.hero-carousel-backgrounds,
.hero-carousel-background {
  position: absolute;
  inset: 0;
}

.hero-carousel-backgrounds {
  z-index: 0;
}

.hero-carousel-background {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(1);
  transition: opacity 0.72s ease;
  will-change: opacity, transform;
}

.hero-carousel-background.active {
  animation: hero-carousel-zoom 10s linear forwards;
  opacity: 1;
}

.page-home .hero-home::before {
  background:
    linear-gradient(90deg, rgba(8, 28, 45, 0.8) 0%, rgba(8, 28, 45, 0.62) 38%, rgba(8, 28, 45, 0.18) 72%, rgba(8, 28, 45, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 95, 130, 0.08), rgba(16, 24, 39, 0.16));
}

.page-store .store-hero::before,
.page-repair .repair-hero::before,
.page-projects .content-hero::before,
.page-b2b .content-hero::before,
.page-contact .content-hero::before,
.page-tradein .tradein-form-section::before {
  background:
    linear-gradient(90deg, rgba(8, 28, 45, 0.82) 0%, rgba(8, 28, 45, 0.64) 38%, rgba(8, 28, 45, 0.2) 72%, rgba(8, 28, 45, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 95, 130, 0.08), rgba(16, 24, 39, 0.16));
}

.home-hero-background-accessories {
  object-position: 68% center;
  transform-origin: 68% center;
}

.page-store .hero-carousel-background {
  object-position: 68% center;
  transform-origin: 68% center;
}

.home-hero-background-repair {
  object-position: center;
  transform-origin: center;
}

@keyframes hero-carousel-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.075);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-background,
  .hero-carousel-background.active {
    animation: none;
    transform: scale(1);
    transition: none;
  }
}

.page-home .hero-layout {
  min-height: 410px;
  display: block;
}

.page-home .hero-content {
  padding-bottom: 72px;
}

.page-home .home-hero-slide-content {
  display: none;
}

.page-home .home-hero-slide-content[data-home-hero-content="0"] {
  display: block;
}

.page-home .hero-home:has(.hero-carousel-background:nth-child(1).active) .home-hero-slide-content,
.page-home .hero-home:has(.hero-carousel-background:nth-child(2).active) .home-hero-slide-content,
.page-home .hero-home:has(.hero-carousel-background:nth-child(3).active) .home-hero-slide-content,
.page-home .hero-home:has(.hero-carousel-background:nth-child(4).active) .home-hero-slide-content,
.page-home .hero-home:has(.hero-carousel-background:nth-child(5).active) .home-hero-slide-content {
  display: none;
}

.page-home .hero-home:has(.hero-carousel-background:nth-child(1).active) .home-hero-slide-content[data-home-hero-content="0"],
.page-home .hero-home:has(.hero-carousel-background:nth-child(2).active) .home-hero-slide-content[data-home-hero-content="1"],
.page-home .hero-home:has(.hero-carousel-background:nth-child(3).active) .home-hero-slide-content[data-home-hero-content="2"],
.page-home .hero-home:has(.hero-carousel-background:nth-child(4).active) .home-hero-slide-content[data-home-hero-content="3"],
.page-home .hero-home:has(.hero-carousel-background:nth-child(5).active) .home-hero-slide-content[data-home-hero-content="4"] {
  display: block;
}

.page-home .hero-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-top: 0;
}

.home-hero-title span {
  display: block;
}

.hero-carousel-controls {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.hero-carousel-dot {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.18s ease, width 0.18s ease;
}

.hero-carousel-dot:hover,
.hero-carousel-dot.active {
  width: 42px;
  background: var(--accent);
}

.home-path-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-path-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-path-card:hover,
.service-box:hover,
.product-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
  box-shadow: var(--shadow-strong);
}

.home-path-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--surface);
}

.home-path-card span,
.service-box > span:first-child,
.product-tag,
.project-card-body span {
  width: fit-content;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, #ffffff);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  text-transform: uppercase;
}

.home-path-card span {
  margin: 22px 22px 12px;
}

.home-path-card h3 {
  margin: 0 22px 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.home-path-card p {
  flex: 1;
  margin: 0 22px 22px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.home-path-card .service-btn {
  width: fit-content;
  margin: 0 22px 24px;
  background: color-mix(in srgb, var(--primary) 10%, #ffffff);
  color: var(--primary-dark);
}

.home-feature-section {
  background: linear-gradient(90deg, rgba(246, 248, 251, 0.92) 0%, #ffffff 46%, #ffffff 100%);
}

.home-feature-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 42px;
}

.home-feature-copy h2 {
  max-width: 560px;
  margin: 8px 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.08;
}

.home-feature-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}

.home-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 28px;
}

.home-feature-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 12px 14px;
}

.home-feature-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 215px;
  gap: 14px;
}

.home-feature-gallery img {
  width: 100%;
  height: 100%;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.home-feature-gallery .feature-large {
  grid-row: span 2;
}

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

.standard-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.standard-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, #ffffff);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.standard-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.home-cta-panel {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 24, 38, 0.94) 0%, rgba(7, 24, 38, 0.88) 42%, rgba(14, 25, 35, 0.74) 100%),
    linear-gradient(135deg, rgba(11, 127, 171, 0.3), rgba(242, 184, 75, 0.12)),
    url("../images/projects/prototype1.jpg") center 58% / cover no-repeat;
}

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

.home-cta-panel h2,
.b2b-cta-panel h2,
.projects-cta-panel h2 {
  max-width: 720px;
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
}

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

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

/* ==========================================================================
   11) Store Page
   Product catalogue, cart, and order confirmation.
   ========================================================================== */
.page-store .store-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 184, 75, 0.16), transparent 30%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.93), rgba(16, 24, 39, 0.94));
}

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

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

.store-filter.active,
.store-filter:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

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

.page-store .product-grid {
  width: min(1120px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-store .product-card.is-hidden-page {
  display: none;
}

.page-store .product-card.is-filter-hidden {
  display: none;
}

.product-pagination {
  width: min(1120px, 100%);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.product-page-btn {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
}

.product-page-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border-color: #dbe6ef;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #fbfdff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-media {
  position: relative;
  height: 255px;
  display: grid;
  place-items: center;
  padding: 34px 38px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid #e4ebf2;
  border-radius: 0;
  background:
    radial-gradient(circle at center, rgba(7, 127, 171, 0.05), transparent 58%),
    #ffffff;
  overflow: hidden;
}

.product-media img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  object-position: center;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.product-tag {
  margin-bottom: 5px;
  font-size: 0.6rem;
  padding: 4px 8px;
}

.product-reference {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 2.35em;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-desc {
  min-height: 1.45em;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.price {
  margin: 0;
  color: var(--success);
  font-size: 1rem;
  font-weight: 850;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 12px;
}

.product-option {
  min-width: 0;
}

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

.product-option select,
.product-option input {
  min-height: 34px;
  border-color: #d8e1ea;
  color: #5d6876;
  font-size: 0.74rem;
  font-weight: 650;
}

.product-option select {
  appearance: auto;
}

.product-option select.option-color {
  display: none;
}

.product-option-hidden {
  display: none;
}

.product-gallery-controls {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(215, 226, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.product-gallery-btn {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.product-favorite {
  display: none;
}

.product-favorite.active {
  background: #e43148;
  color: #ffffff;
}

.product-qty-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.product-card .add-to-cart {
  width: auto;
  min-height: 34px;
  gap: 5px;
  border-radius: 8px;
  background: var(--primary);
  padding: 7px 9px;
  font-size: 0.68rem;
  white-space: nowrap;
}

.cart-icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.cart-summary-card,
.cart-confirm-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.cart-summary-card::before,
.cart-confirm-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  content: "";
}

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

.cart-summary-head h3,
.cart-confirm-card 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%, #ffffff);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 850;
  padding: 7px 11px;
}

/* Small number bubble used by the store cart button and cart summary. */
.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
}

#cart-items {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 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-list {
  display: grid;
  gap: 10px;
}

.cart-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #d9e5ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.045);
  padding: 14px;
}

.cart-row::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--primary);
  content: "";
}

.cart-item-thumb {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #e1ebf3;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #eef4fa);
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.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 #cddbea;
  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(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

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

.cart-line-price {
  min-width: 70px;
  border-radius: 999px;
  background: #eef8fc;
  color: var(--primary-dark);
  font-weight: 850;
  padding: 8px 12px;
  text-align: center;
}

.remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #d9e5ef;
  border-radius: 8px;
  background: #ffffff;
  color: #66758a;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 7px 10px;
}

.remove-item:hover {
  border-color: color-mix(in srgb, #ef4444 42%, #d9e5ef);
  background: #fff7f7;
  color: var(--danger);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid #d9e5ef;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbfe, #eef5fa);
  padding: 16px;
  font-size: 1.15rem;
}

.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-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  justify-items: end;
}

.cart-drawer-root[hidden] {
  display: none !important;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 37, 0.42);
  backdrop-filter: blur(6px);
}

.cart-drawer-panel {
  position: relative;
  width: min(500px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-left: 1px solid var(--border);
  background: #ffffff;
  box-shadow: -22px 0 54px rgba(17, 24, 39, 0.18);
}

.cart-drawer-head,
.cart-drawer-summary,
.cart-drawer-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-drawer-head h2 {
  margin-top: 3px;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-drawer-head {
  padding: 22px 20px 16px;
}

.cart-drawer-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
}

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

.cart-drawer-summary {
  border-block: 1px solid var(--border);
  padding: 11px 20px;
}

.cart-drawer-estimate {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.cart-drawer-estimate small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.cart-drawer-panel #cart-items {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px;
}

.cart-drawer-panel .cart-empty {
  align-content: center;
  min-height: 180px;
}

.cart-drawer-panel .cart-row {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb details price"
    "thumb qty remove";
  gap: 7px 10px;
  box-shadow: none;
  padding: 9px 10px;
}

.cart-drawer-panel .cart-item-thumb {
  grid-area: thumb;
  width: 56px;
}

.cart-drawer-panel .cart-item-details {
  grid-area: details;
  min-width: 0;
}

.cart-drawer-panel .cart-item-details strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-drawer-panel .cart-item-details span {
  font-size: 0.72rem;
  line-height: 1.3;
}

.cart-drawer-panel .cart-qty-controls {
  grid-area: qty;
  width: fit-content;
  min-height: 28px;
}

.cart-drawer-panel .cart-qty-controls span {
  min-width: 28px;
  font-size: 0.76rem;
}

.cart-drawer-panel .qty-btn {
  width: 28px;
  height: 28px;
}

.cart-drawer-panel .cart-line-price {
  grid-area: price;
  align-self: start;
  min-width: 58px;
  padding: 6px 8px;
  font-size: 0.74rem;
}

.cart-drawer-panel .remove-item {
  grid-area: remove;
  justify-self: end;
  width: 28px;
  min-height: 28px;
  border-radius: 50%;
  color: #8b98a7;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
}

.cart-drawer-panel .remove-item::before {
  content: none;
}

.cart-drawer-panel .remove-item img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.cart-drawer-actions {
  display: grid;
  gap: 10px;
}

.cart-drawer-footer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 -12px 30px rgba(17, 24, 39, 0.06);
  padding: 14px 16px 16px;
}

.cart-drawer-actions .btn {
  min-height: 42px;
  justify-content: center;
}

.cart-drawer-secondary-actions .btn {
  min-height: 38px;
  font-size: 0.74rem;
  padding: 9px 11px;
}

.cart-drawer-panel .cart-note {
  margin-top: 0;
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .cart-drawer-panel {
    width: 100vw;
    max-width: none;
    border-left: 0;
  }

  .cart-drawer-head {
    padding: 16px 14px 12px;
  }

  .cart-drawer-summary {
    padding-inline: 14px;
  }

  .cart-drawer-panel #cart-items {
    padding: 10px;
  }

  .cart-drawer-head h2 {
    font-size: 1.55rem;
  }

  .cart-drawer-panel .cart-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 7px 8px;
    padding: 9px;
  }

  .cart-drawer-panel .cart-item-thumb {
    width: 52px;
  }

  .cart-drawer-footer {
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  }

  .cart-drawer-secondary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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

.cart-confirm-card li {
  position: relative;
  min-height: 36px;
  padding: 5px 0 5px 42px;
}

.cart-confirm-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: step;
  content: counter(step);
  font-size: 0.74rem;
  font-weight: 900;
}

.cart-confirm-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;
}

/* ==========================================================================
   12) Repair Page
   Device selector, dynamic picker, and repair form.
   ========================================================================== */
.page-repair .repair-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 184, 75, 0.16), transparent 30%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.93), rgba(16, 24, 39, 0.94)),
    url("../images/services/charging-port.jpg") center / cover;
}

.repair-device-selector {
  padding: 68px 20px 56px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.repair-booking-progress {
  width: min(580px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.repair-booking-progress h2 {
  margin-top: 6px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.04;
}

.repair-booking-underline {
  width: 54px;
  height: 3px;
  display: block;
  margin: 20px auto 28px;
  border-radius: 999px;
  background: var(--accent);
}

.repair-booking-progress ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.repair-booking-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #9aa4b2;
  font-size: 0.84rem;
}

.repair-booking-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: #d8dee7;
  content: "";
}

.repair-booking-progress b {
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid #d8dee7;
  border-radius: 50%;
  background: #ffffff;
  color: #95a0af;
  font-size: 0.88rem;
}

.repair-booking-progress li.is-complete::after,
.repair-booking-progress li.is-active:not(:last-child)::after {
  background: var(--primary);
}

.repair-booking-progress li.is-active,
.repair-booking-progress li.is-complete {
  color: var(--text);
}

.repair-booking-progress li.is-active b,
.repair-booking-progress li.is-complete b {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.repair-booking-progress li.is-complete b {
  font-size: 0;
}

.repair-booking-progress li.is-complete b::after {
  content: "\2713";
  font-size: 0.92rem;
}

.device-selector-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}

.device-selector-heading .eyebrow {
  margin-bottom: 3px;
}

.device-selector-heading h3 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 750;
  line-height: 1.1;
}

.device-selector-marker {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--primary);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

/* Device selector cards: first-step repair category buttons with simple icons. */
.device-card {
  min-height: 184px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover,
.device-card.is-selected {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 20px 42px rgba(11, 127, 171, 0.14);
}

.device-card:disabled {
  cursor: wait;
  opacity: 0.68;
}

.device-circle {
  width: 92px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.repair-picker-media {
  width: min(126px, 100%);
  height: 98px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
}

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

.repair-picker-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-label {
  max-width: 156px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.22;
}

.repair-picker {
  margin-top: 34px;
  scroll-margin-top: 112px;
}

/* Repair picker panel: dynamic card area shown after a device is selected. */
.repair-picker-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 26px 0 0;
}

.repair-picker-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.repair-picker-nav-back {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.repair-picker-nav-back:hover {
  background: var(--primary-dark);
  transform: translateX(-2px);
}

.repair-picker-heading {
  min-width: 0;
  margin-right: auto;
}

.repair-picker-heading h3 {
  margin: 3px 0 4px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.15;
}

.repair-picker-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.91rem;
}

.repair-picker-search {
  width: min(230px, 100%);
  flex: 0 0 auto;
}

.repair-picker-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  padding: 8px 15px;
}

.repair-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.repair-picker-grid[data-picker-level="series"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.repair-picker-grid[data-picker-level="faults"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Repair picker cards: series, model, and fault choices rendered by repair.html. */
.repair-picker-card {
  min-height: 166px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
  padding: 15px 10px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.repair-picker-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(11, 127, 171, 0.12);
}

/* Label below each repair icon. Keep these words short so the cards stay neat. */
.repair-picker-label {
  color: var(--text);
  line-height: 1.15;
}

.repair-picker-fault {
  min-height: 104px;
  justify-items: start;
  padding: 18px;
  text-align: left;
}

.repair-picker-fault .repair-picker-media {
  display: none;
}

.repair-picker-empty {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.repair-selected-device {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.repair-selected-device-media {
  width: 72px;
  height: 72px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.repair-selected-device-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.repair-selected-device h3 {
  margin: 3px 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.repair-selected-device p:not(.eyebrow) {
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.repair-selection-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
  gap: 22px;
}

.repair-service-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.repair-service-heading h4 {
  font-size: 1.22rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.repair-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.repair-service-card {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 16px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.repair-service-card:hover,
.repair-service-card.is-selected {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(11, 127, 171, 0.12);
}

.repair-service-card.is-selected {
  background: color-mix(in srgb, var(--primary) 6%, #ffffff);
}

.repair-service-card strong,
.repair-service-card small,
.repair-service-card em {
  display: block;
}

.repair-service-card strong {
  font-size: 0.95rem;
  line-height: 1.22;
}

.repair-service-card small {
  margin-top: 7px;
  color: var(--primary-dark);
  font-size: 0.67rem;
  font-weight: 850;
  text-transform: uppercase;
}

.repair-service-card em {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

.repair-service-card b {
  flex: 0 0 auto;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary-dark);
  font-size: 0.8rem;
  padding: 8px;
  white-space: nowrap;
}

.repair-show-all {
  display: block;
  margin: 18px auto 0;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
  padding: 10px 14px;
}

.repair-show-all:hover {
  background: var(--primary-dark);
}

.repair-summary-card {
  position: sticky;
  top: 112px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.repair-summary-card h4 {
  margin: 3px 0 7px;
  color: var(--primary-dark);
  font-size: 1.55rem;
}

.repair-summary-device {
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 750;
}

.repair-summary-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
  padding: 14px 0;
}

.repair-summary-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-size: 0.79rem;
  line-height: 1.25;
}

.repair-summary-card li small {
  display: block;
  margin-top: 3px;
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.repair-summary-card li button {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--danger);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

.repair-summary-empty {
  color: var(--muted) !important;
  font-size: 0.76rem !important;
}

.repair-summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.repair-summary-total span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.repair-summary-total b {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
}

.repair-summary-total small {
  font-size: 0.77rem;
  font-weight: 500;
}

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

.repair-summary-pricing {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.repair-summary-pricing p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.81rem;
}

.repair-summary-pricing strong {
  color: var(--text);
  font-size: 0.84rem;
}

.repair-coupon-form {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.repair-coupon-form label {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.repair-coupon-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 7px;
}

.repair-coupon-form input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  padding: 7px 9px;
}

.repair-coupon-form button {
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 850;
}

.repair-coupon-form button:hover {
  background: var(--primary-dark);
}

.repair-coupon-feedback {
  color: var(--primary-dark);
  font-size: 0.67rem;
  line-height: 1.35;
}

.repair-summary-next {
  width: 100%;
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 11px 12px;
}

.repair-summary-next span {
  font-size: 1rem;
}

.repair-summary-next small {
  font-size: 0.65rem;
  font-weight: 650;
}

.repair-summary-next:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.repair-summary-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.repair-finalize-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.repair-finalize-heading h3 {
  margin-top: 3px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.repair-finalize-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: start;
  gap: 26px;
}

.repair-appointment-panel {
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.repair-delivery-method {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.repair-method-icon {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.repair-delivery-method strong,
.repair-delivery-method small {
  display: block;
}

.repair-delivery-method strong {
  font-size: 0.94rem;
}

.repair-delivery-method small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.repair-finalize-group {
  margin-top: 19px;
}

.repair-finalize-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-location-grid {
  display: grid;
  gap: 8px;
}

.repair-location-card {
  display: grid;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 13px;
  text-align: left;
}

.repair-location-card:hover,
.repair-location-card.is-selected,
.repair-date-card:hover,
.repair-date-card.is-selected,
.repair-time-card:hover,
.repair-time-card.is-selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, #ffffff);
}

.repair-location-card strong {
  font-size: 0.87rem;
}

.repair-location-card span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.repair-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.repair-date-card,
.repair-time-card {
  min-height: 50px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.repair-date-card span {
  color: var(--muted);
  font-size: 0.68rem;
}

.repair-date-card strong {
  font-size: 0.86rem;
}

.repair-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.repair-time-card {
  min-height: 39px;
  font-size: 0.78rem;
}

.repair-booking-details {
  display: grid;
  gap: 14px;
}

.repair-booking-device {
  display: flex;
  align-items: center;
  gap: 11px;
}

.repair-booking-device strong,
.repair-booking-device span {
  display: block;
}

.repair-booking-device strong {
  font-size: 1.08rem;
}

.repair-booking-device span:not(.repair-selected-device-media) {
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 750;
}

.repair-booking-quote {
  display: grid;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.repair-booking-quote > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.repair-booking-total-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.repair-booking-quote p,
.repair-booking-quote small {
  display: block;
}

.repair-booking-quote p b {
  font-size: 1.15rem;
}

.repair-booking-quote small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 500;
}

.repair-booking-total-row > strong {
  color: var(--text);
  font-size: 2rem;
}

.repair-booking-quote em {
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.repair-booking-order-toggle {
  min-height: 30px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 5px;
  margin-top: -20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 11px;
  box-shadow: 0 7px 16px rgba(17, 24, 39, 0.07);
}

.repair-booking-order-toggle:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, #ffffff);
}

.repair-booking-order-breakdown {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.repair-booking-order-breakdown[hidden] {
  display: none;
}

.repair-booking-order-breakdown .eyebrow {
  margin: 0;
}

.repair-booking-order-breakdown ul {
  display: grid;
  gap: 6px;
  padding: 0;
  list-style: none;
}

.repair-booking-order-breakdown li,
.repair-booking-order-breakdown > p:not(.eyebrow) {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
}

.repair-booking-order-breakdown > p:last-child {
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 850;
  padding-top: 8px;
}

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

.repair-booking-form label {
  min-width: 0;
}

.repair-booking-form label span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-booking-form input,
.repair-booking-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 10px;
}

.repair-booking-form input {
  min-height: 44px;
}

.repair-booking-form textarea {
  min-height: 92px;
  resize: vertical;
}

.repair-booking-wide {
  grid-column: 1 / -1;
}

.repair-business-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-left: 3px solid var(--primary);
  border-radius: 7px;
  background: color-mix(in srgb, var(--primary) 5%, #ffffff);
  padding: 11px;
}

.repair-business-fields[hidden] {
  display: none;
}

.repair-customer-kind {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.repair-customer-kind button {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 8px 12px;
}

.repair-customer-kind button.is-selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, #ffffff);
  color: var(--primary-dark);
}

.repair-confirm-booking {
  display: grid;
  gap: 1px;
  justify-items: center;
  margin-top: 3px;
}

.repair-confirm-booking span {
  font-size: 0.92rem;
  text-transform: uppercase;
}

.repair-confirm-booking small {
  font-size: 0.64rem;
  font-weight: 650;
}

.repair-booking-status {
  color: var(--success);
  font-size: 0.76rem;
  line-height: 1.4;
}

.repair-complete-panel {
  position: relative;
  isolation: isolate;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px 0 20px;
  text-align: center;
}

.repair-complete-content {
  position: relative;
  z-index: 1;
}

.repair-confetti {
  position: absolute;
  z-index: 0;
  top: -250px;
  left: 50%;
  width: min(940px, calc(100vw - 24px));
  height: 560px;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.repair-confetti i {
  position: absolute;
  top: -20px;
  left: var(--left);
  width: var(--size);
  height: calc(var(--size) * 0.52);
  border-radius: 1px;
  background: var(--color);
  opacity: 0;
  animation: repair-confetti-fall var(--duration) linear var(--delay) infinite;
}

@keyframes repair-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 560px, 0) rotate(var(--spin));
  }
}

.repair-complete-heading h3 {
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.repair-complete-heading p:not(.eyebrow) {
  margin: 12px auto 0;
  color: var(--primary);
  font-size: 1.18rem;
  line-height: 1.6;
}

.repair-complete-appointment {
  margin: 34px 0 20px;
  color: var(--muted);
}

.repair-complete-address {
  width: min(560px, 100%);
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 6%, #ffffff);
  padding: 24px;
}

.repair-complete-address h4 {
  margin: 7px 0;
  font-size: 1.1rem;
}

.repair-complete-address p:not(.eyebrow) {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.repair-calendar-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

.repair-calendar-actions a {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 11px 14px;
  text-align: left;
}

.repair-calendar-actions b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--muted);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.repair-calendar-actions span,
.repair-calendar-actions strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.3;
}

.repair-calendar-actions span {
  color: var(--muted);
}

.repair-calendar-actions strong {
  color: var(--text);
}

.repair-whatsapp-blocked {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.repair-whatsapp-blocked a {
  color: var(--primary-dark);
  font-weight: 800;
}

.booking-cancel-main {
  min-height: calc(100vh - 94px);
  display: grid;
  place-items: center;
  padding: 72px 20px;
  background: var(--surface);
}

.booking-cancel-panel {
  width: min(620px, 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}

.booking-cancel-panel h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.booking-cancel-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.booking-cancel-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.booking-cancel-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ==========================================================================
   13) Trade-In Page
   Valuation form and guide panel.
   ========================================================================== */
.page-tradein .tradein-form-section {
  position: relative;
  min-height: auto;
  padding: 72px 20px 86px;
  background:
    radial-gradient(circle at 22% 16%, rgba(242, 184, 75, 0.14), transparent 28%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.9), rgba(16, 24, 39, 0.9)),
    url("../images/services/deviceunlock.jpg") center / cover;
}

.page-tradein .tradein-form-section::after {
  position: absolute;
  inset: auto 0 0;
  height: 94px;
  background: linear-gradient(180deg, transparent, rgba(10, 17, 29, 0.98));
  content: "";
  pointer-events: none;
}

.tradein-form-layout {
  position: relative;
  z-index: 4;
  width: min(760px, 100%);
  margin: 0 auto;
  display: block;
}

.page-tradein .form-panel {
  width: 100%;
  max-width: none;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  padding: 34px;
}

.page-tradein .form-panel h1 {
  max-width: 560px;
  margin-bottom: 0;
  color: #111827;
  font-size: clamp(2.2rem, 4.8vw, 3.3rem);
  line-height: 1.04;
}

.page-tradein .form-helper {
  max-width: 540px;
}

.tradein-quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.tradein-quick-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #d8e5ef;
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.2;
  padding: 9px 10px;
}

.tradein-quick-steps strong {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
}

.page-tradein .form-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.page-tradein .form-panel #tmodel,
.page-tradein .form-panel textarea,
.page-tradein .form-panel button {
  grid-column: 1 / -1;
}

.tradein-small-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ==========================================================================
   14) B2B, Projects, And Contact Pages
   These pages use the shared content hero plus their own cards/strips.
   ========================================================================== */
.page-b2b .content-hero {
  min-height: 52vh;
  padding-top: 82px;
  padding-bottom: 96px;
  background:
    linear-gradient(90deg, rgba(8, 28, 45, 0.82) 0%, rgba(8, 28, 45, 0.64) 38%, rgba(8, 28, 45, 0.2) 72%, rgba(8, 28, 45, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 95, 130, 0.08), rgba(16, 24, 39, 0.16)),
    url("../images/store/sata-usb.jpg") center / cover;
}

.page-b2b .content-hero > div {
  max-width: none;
}

.page-b2b .content-hero h1 {
  max-width: 740px;
}

.page-b2b .content-hero p:not(.eyebrow) {
  max-width: 650px;
}

.page-b2b .b2b-hero-actions {
  margin-top: 24px;
}

.b2b-proof span,
.projects-proof span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 7px 12px;
}

.page-projects .content-hero {
  min-height: 52vh;
  padding-top: 82px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 82% 58%, rgba(242, 184, 75, 0.16), transparent 22%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.91), rgba(16, 24, 39, 0.94)),
    url("../images/projects/bg.jpg") center / cover;
}

.page-projects .content-hero > div {
  max-width: none;
}

.page-projects .content-hero h1 {
  max-width: 780px;
}

.page-projects .content-hero p:not(.eyebrow) {
  max-width: 670px;
}

.page-projects .projects-hero-actions {
  margin-top: 24px;
}

.page-contact .content-hero {
  min-height: 52vh;
  padding-top: 82px;
  padding-bottom: 96px;
  background:
    linear-gradient(90deg, rgba(8, 28, 45, 0.82) 0%, rgba(8, 28, 45, 0.64) 38%, rgba(8, 28, 45, 0.2) 72%, rgba(8, 28, 45, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 95, 130, 0.08), rgba(16, 24, 39, 0.16)),
    url("../images/store/sata-usb.jpg") center / cover;
}

.page-contact .content-hero > div {
  max-width: none;
}

.page-contact .content-hero h1 {
  max-width: 780px;
}

.page-contact .content-hero p:not(.eyebrow) {
  max-width: 650px;
}

.page-contact .contact-hero-actions {
  margin-top: 24px;
}

.contact-proof span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 7px 12px;
}

.page-b2b .services-section,
.projects-showcase-section,
.contact-page-section {
  background: radial-gradient(circle at 50% 0%, rgba(11, 127, 171, 0.08), transparent 32%), linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.page-contact .contact-strip-inner {
  width: min(980px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-b2b .services-section {
  padding-top: 64px;
  padding-bottom: 68px;
}

.page-projects .projects-showcase-section {
  padding-top: 66px;
  padding-bottom: 68px;
}

.page-b2b .services-grid {
  gap: 20px;
}

.page-projects .projects-grid {
  gap: 20px;
}

.service-box {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-box > span:first-child {
  margin-bottom: 14px;
}

.service-box h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-box p {
  margin-bottom: 18px;
  color: var(--muted);
}

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

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

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

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

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

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--surface);
}

.project-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.project-card-body span {
  margin-bottom: 14px;
}

.project-card-body h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.project-card-body p {
  margin-bottom: 16px;
  color: var(--muted);
}

.project-card-body a {
  width: fit-content;
  margin-top: auto;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 10%, #ffffff);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  padding: 10px 12px;
  text-decoration: none;
}

.project-card-body a:hover {
  background: var(--primary);
  color: #ffffff;
}

.contact-page-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.contact-details-panel,
.contact-form-panel {
  padding: 30px;
}

.contact-details-panel h2,
.contact-form-panel h2 {
  margin: 6px 0 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
}

.contact-helper {
  margin-top: -6px;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-method {
  display: grid;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7fbfd;
  padding: 14px;
  text-decoration: none;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method strong,
.contact-method[href] strong {
  color: var(--primary-dark);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-socials a {
  border-color: var(--border);
  background: #ffffff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-form #contactTopic,
.contact-form textarea,
.contact-form button {
  grid-column: 1 / -1;
}

/* ==========================================================================
   15) Customer Account
   Customer login and request tracking once Supabase is connected.
   ========================================================================== */
.account-section {
  padding: 64px 20px 82px;
  background: #f3f7fb;
}

.account-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(390px, 1.08fr);
  overflow: hidden;
  border: 1px solid #d9e5ee;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 27px 68px rgba(12, 32, 54, 0.11);
}

.account-intro {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  background: linear-gradient(145deg, #081626, #0b2033);
  color: #ffffff;
  padding: 46px 48px;
}

.account-intro::after {
  content: none;
}

.account-intro img {
  width: min(228px, 100%);
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
  border-radius: 9px;
  background: #ffffff;
  padding: 9px 12px;
  margin-bottom: 72px;
}

.account-intro .eyebrow {
  margin-bottom: 13px;
  color: #35b3e2;
}

.account-intro h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.1rem, 3.4vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.account-intro-copy {
  margin: 0 0 38px;
  color: #a5bbce;
  font-size: 0.97rem;
  line-height: 1.65;
}

.account-benefits {
  position: relative;
  z-index: 1;
  display: grid;
}

.account-benefits div {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(167, 192, 213, 0.18);
  padding: 17px 0;
}

.account-benefits strong {
  font-size: 0.92rem;
}

.account-benefits span {
  color: #9db3c6;
  font-size: 0.84rem;
}

.account-auth-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 67px 66px 50px;
}

.account-auth-panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.16;
}

.account-panel-copy {
  margin: 0 0 25px;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 25px;
  border-radius: 11px;
  background: #f2f7fa;
  padding: 5px;
}

.account-auth-panel .store-filter {
  flex: 1;
  min-height: 43px;
  justify-content: center;
  border: 0;
  background: transparent;
}

.account-auth-panel .store-filter.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 3px 13px rgba(12, 32, 54, 0.08);
}

#account-auth-panel .account-form {
  display: none;
}

#account-auth-panel .account-form.active {
  display: grid;
  gap: 17px;
}

.account-form label {
  display: grid;
  gap: 8px;
}

.account-form label span {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.account-form input {
  min-height: 53px;
  border-color: #d5e2eb;
  border-radius: 10px;
  background: #ffffff;
}

.account-form .btn {
  min-height: 53px;
  border-radius: 10px;
  margin-top: 5px;
}

.account-auth-links {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: -5px;
}

.account-link-action {
  grid-column: 1 / -1;
  justify-self: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 4px 8px;
}

.account-link-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-security {
  border-top: 1px solid #e2ebf2;
  margin-top: 29px;
  padding-top: 19px;
}

.account-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-shell.is-dashboard {
  display: block;
  width: min(1320px, 100%);
  overflow: visible;
  border-radius: 14px;
}

.account-shell.is-dashboard .account-intro {
  display: none;
}

.account-dashboard {
  width: 100%;
  padding: 34px 38px 40px;
}

.account-dashboard h1 {
  margin: 6px 0 5px;
  color: var(--text);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.account-dashboard-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-dashboard-head .btn {
  width: auto;
  min-width: 112px;
  box-shadow: none;
}

.account-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 34px;
  border-block: 1px solid var(--border);
  background: #f8fbfd;
}

.account-dashboard-summary div {
  display: grid;
  gap: 3px;
  min-height: 86px;
  align-content: center;
  border-right: 1px solid var(--border);
  padding: 13px 20px;
}

.account-dashboard-summary div:last-child {
  border-right: 0;
}

.account-dashboard-summary span,
.account-request-meta dt {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.account-dashboard-summary strong {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.2;
}

.account-dashboard-summary div:last-child strong {
  font-size: 1.05rem;
}

.account-settings {
  margin: 0 0 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(12, 32, 54, 0.045);
}

.account-settings-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #e8f7f1;
  font-size: 0.86rem;
  font-weight: 900;
}

.account-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.account-settings-form label {
  display: grid;
  gap: 6px;
}

.account-settings-form label span {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
}

.account-settings-form input,
.account-settings-form select,
.account-settings-form textarea {
  min-height: 45px;
  border-radius: 7px;
  font-size: 0.88rem;
}

.account-settings-check {
  display: flex !important;
  min-height: 45px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px 12px;
}

.account-settings-check input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
}

.account-settings-notes,
.account-settings-actions {
  grid-column: 1 / -1;
}

.account-settings-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.account-settings-actions .btn {
  width: auto;
  min-width: 132px;
  box-shadow: none;
}

.account-settings-message {
  flex: 1;
  margin: 0;
}

.account-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.account-dashboard-layout.is-composing {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
}

.account-section-head,
.account-compose-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-section-head h2,
.account-compose-head h2 {
  margin-top: 4px;
  color: var(--text);
  font-size: 1.48rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.account-new-request {
  width: auto;
  min-width: 126px;
  box-shadow: none;
}

.account-dashboard-message {
  margin-top: 12px;
  border-left: 3px solid var(--primary);
  background: #eef8fc;
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 750;
  padding: 9px 11px;
}

.account-dashboard-message:empty {
  display: none;
}

.account-dashboard-message[data-tone="ok"] {
  border-left-color: var(--success);
  background: #effaf4;
  color: #157641;
}

.account-dashboard-message[data-tone="danger"] {
  border-left-color: var(--danger);
  background: #fff3f2;
  color: var(--danger);
}

.account-request-compose {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 21px;
}

.account-request-compose > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-compose-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.account-request-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.account-request-form label {
  display: grid;
  gap: 6px;
}

.account-request-form label span {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
}

.account-request-form select,
.account-request-form input,
.account-request-form textarea {
  min-height: 45px;
  border-radius: 7px;
  font-size: 0.88rem;
}

.account-request-form textarea {
  min-height: 112px;
}

.account-request-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.account-dashboard-layout.is-composing .account-request-list {
  grid-template-columns: 1fr;
}

.account-request-card {
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  background: #ffffff;
  padding: 16px 17px;
}

.account-request-card .request-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-request-card h3 {
  margin-top: 3px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.account-request-number,
.account-request-type {
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-request-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef8fc;
  color: var(--primary-dark);
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1;
  padding: 7px 9px;
}

.account-request-status.status-cancelled,
.account-request-status.status-canceled {
  background: #fff1f0;
  color: var(--danger);
}

.account-request-status.status-complete,
.account-request-status.status-completed,
.account-request-status.status-collected {
  background: #ebf8f0;
  color: #157641;
}

.account-request-card .account-request-summary {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.account-request-meta {
  display: grid;
  gap: 7px;
  margin-top: 3px;
  border-top: 1px solid #e7eef4;
  padding-top: 10px;
}

.account-request-meta div {
  display: grid;
  gap: 2px;
}

.account-request-meta dd {
  color: var(--text);
  font-size: 0.79rem;
  line-height: 1.4;
}

.account-chat {
  display: grid;
  grid-template-rows: auto minmax(260px, 420px) auto;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(12, 32, 54, 0.055);
}

.account-chat-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.account-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #157641;
  font-size: 0.78rem;
  font-weight: 850;
}

.account-chat-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c77b;
  content: "";
}

.account-chat-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
  background: #fbfdfe;
}

.account-chat-empty {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
}

.account-chat-empty strong,
.account-chat-empty span {
  display: block;
}

.account-chat-empty strong {
  color: var(--text);
}

.account-chat-message {
  display: grid;
  max-width: 76%;
  align-self: flex-start;
  justify-items: start;
  gap: 4px;
}

.account-chat-message.is-mine {
  align-self: flex-end;
  justify-items: end;
}

.account-chat-message-bubble {
  overflow-wrap: anywhere;
  border-radius: 15px;
  padding: 10px 13px;
  color: var(--text);
  background: #edf2f4;
  line-height: 1.45;
}

.account-chat-message.is-mine .account-chat-message-bubble {
  color: #ffffff;
  background: #16964f;
}

.account-chat-message small {
  color: var(--muted);
  font-size: 0.69rem;
}

.account-chat-message-files {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.account-chat-message-files a {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
  color: inherit;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  text-decoration: none;
}

.account-chat-message:not(.is-mine) .account-chat-message-files a {
  background: #ffffff;
}

.account-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.account-chat-attach,
.account-chat-send {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
}

.account-chat-attach {
  color: var(--text);
  background: transparent;
}

.account-chat-attach:hover {
  background: #eef4f2;
}

.account-chat-send {
  color: #ffffff;
  background: #79c59c;
}

.account-chat-send:hover {
  background: #16964f;
}

.account-chat-attach svg,
.account-chat-send svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.account-chat-input-stack {
  display: grid;
  flex: 1 1 auto;
  gap: 7px;
}

.account-chat-input-stack input {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #ffffff;
}

.account-chat-input-stack input:focus {
  outline: 2px solid rgba(7, 137, 189, 0.16);
  border-color: rgba(7, 137, 189, 0.48);
}

.account-chat-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.account-chat-files[hidden] {
  display: none;
}

.account-chat-file-chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 5px 6px 5px 8px;
  border-radius: 7px;
  color: #52616b;
  background: #edf2f4;
  font-size: 0.76rem;
}

.account-chat-file-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chat-file-chip button {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #5d6b74;
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.account-chat-file-chip button:hover {
  color: #102231;
  background: #dce6ea;
}

.form-helper[data-tone="ok"] {
  color: var(--success);
}

.form-helper[data-tone="danger"] {
  color: var(--danger);
}

/* ==========================================================================
   16) Tablet Layout
   These rules apply when the screen is 900px wide or smaller.
   ========================================================================== */
@media (max-width: 900px) {
  .auth-modal-card {
    width: min(510px, 100%);
    grid-template-columns: 1fr;
  }

  .auth-modal-aside {
    display: none;
  }

  .header-row {
    width: min(760px, calc(100% - 36px));
    gap: 14px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-bar {
    position: fixed;
    top: 87px;
    right: 18px;
    width: min(280px, calc(100vw - 36px));
    display: grid;
    justify-items: stretch;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
  }

  .nav-bar.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-bar a {
    border-radius: 8px;
    padding: 13px 14px;
  }

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

  .hero,
  .repair-hero,
  .content-hero,
  .page-tradein .tradein-form-section {
    min-height: auto;
    padding: 58px 18px 78px;
  }

  .page-b2b .content-hero {
    min-height: auto;
    padding: 58px 18px 70px;
  }

  .page-projects .content-hero {
    min-height: auto;
    padding: 58px 18px 70px;
  }

  .page-contact .content-hero {
    min-height: auto;
    padding: 58px 18px 70px;
  }

  .hero-layout,
  .repair-hero-inner,
  .store-hero-layout,
  .content-hero > div,
  .tradein-form-layout,
  .home-feature-grid,
  .contact-page-grid,
  .account-shell,
  .cart-shell {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
  }

  .account-intro {
    min-height: auto;
    padding: 38px 34px 30px;
  }

  .account-intro img {
    margin-bottom: 36px;
  }

  .account-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .account-benefits div {
    padding: 14px 0;
  }

  .account-auth-panel,
  .account-dashboard {
    padding: 39px 34px;
  }

  .account-dashboard-layout.is-composing {
    grid-template-columns: 1fr;
  }

  .account-request-list,
  .account-dashboard-layout.is-composing .account-request-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-chat {
    grid-template-rows: auto minmax(250px, 390px) auto;
  }

  .hero h1,
  .repair-hero-copy h1,
  .content-hero h1,
  .page-tradein .form-panel h1 {
    font-size: clamp(2.6rem, 7vw, 3.7rem);
  }

  .page-tradein .form-panel h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .contact-strip-inner,
  .store-strip-inner,
  .repair-trust-inner,
  .b2b-strip-inner,
  .projects-strip-inner {
    width: min(760px, 100%);
  }

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

  .services-grid,
  .home-path-grid,
  .standards-grid,
  .projects-grid,
  .product-grid {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-store .product-grid {
    width: min(760px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .page-b2b .services-grid {
    grid-template-columns: 1fr;
  }

  .page-projects .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device-grid {
    width: min(760px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .repair-picker-grid,
  .repair-picker-grid[data-picker-level="series"],
  .repair-picker-grid[data-picker-level="faults"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .repair-summary-card {
    position: static;
  }

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

  .home-cta-panel,
  .b2b-cta-panel,
  .projects-cta-panel {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns:
      minmax(18px, 1fr)
      minmax(0, 330px)
      minmax(0, 330px)
      minmax(18px, 1fr);
    gap: 28px;
    padding-top: 38px;
  }

  .footer-brand {
    grid-column: 2;
  }

  .footer-links {
    grid-column: 3;
  }

  .footer-contact {
    grid-column: 2;
  }

  .footer-bottom {
    grid-column: 2 / 4;
  }
}

/* ==========================================================================
   16) Mobile Layout
   These rules apply when the screen is 560px wide or smaller.
   ========================================================================== */
@media (max-width: 560px) {
  html {
    scroll-padding-top: 62px;
  }

  .top-bar {
    font-size: 0.7rem;
    line-height: 1.25;
    padding: 7px 10px;
  }

  .header-row {
    width: calc(100% - 24px);
    min-height: 60px;
    gap: 8px;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: 138px;
    max-height: 46px;
  }

  .nav-bar {
    top: 75px;
    right: 5px;
    width: calc(100vw - 24px);
  }

  .store-link {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .header-actions {
    gap: 7px;
  }

  .account-section {
    padding: 24px 12px 42px;
  }

  .account-intro {
    padding: 30px 23px 23px;
  }

  .account-intro img {
    margin-bottom: 25px;
  }

  .account-benefits {
    display: none;
  }

  .account-intro h1 {
    font-size: 1.92rem;
  }

  .account-intro-copy {
    margin-bottom: 0;
  }

  .account-auth-panel,
  .account-dashboard {
    padding: 30px 22px;
  }

  .account-dashboard-head {
    align-items: flex-start;
  }

  .account-dashboard-head .btn {
    min-width: auto;
    min-height: 40px;
    padding: 9px 12px;
  }

  .account-dashboard-summary {
    margin: 22px 0 27px;
  }

  .account-dashboard-summary div {
    min-height: 73px;
    padding: 10px 9px;
  }

  .account-dashboard-summary strong {
    font-size: 1.18rem;
  }

  .account-dashboard-summary div:last-child strong {
    font-size: 0.78rem;
  }

  .account-dashboard-summary span,
  .account-request-meta dt {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .account-settings {
    padding: 17px;
  }

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

  .account-settings-notes,
  .account-settings-actions {
    grid-column: auto;
  }

  .account-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-settings-actions .btn {
    width: 100%;
  }

  .account-section-head {
    align-items: flex-start;
  }

  .account-section-head h2 {
    font-size: 1.28rem;
  }

  .account-new-request {
    min-width: auto;
    min-height: 40px;
    padding: 9px 11px;
  }

  .account-request-list,
  .account-dashboard-layout.is-composing .account-request-list {
    grid-template-columns: 1fr;
  }

  .account-request-compose {
    padding: 17px;
  }

  .account-chat {
    grid-template-rows: auto minmax(230px, 360px) auto;
    margin-top: 22px;
  }

  .account-chat-head {
    align-items: flex-start;
    padding: 15px;
  }

  .account-chat-status {
    font-size: 0.72rem;
  }

  .account-chat-messages {
    padding: 15px;
  }

  .account-chat-message {
    max-width: 90%;
  }

  .account-chat-form {
    gap: 7px;
    padding: 10px;
  }

  .account-chat-attach,
  .account-chat-send {
    width: 38px;
    height: 38px;
  }

  .login-link {
    width: 38px;
    min-height: 38px;
  }

  .login-icon,
  .store-icon {
    width: 16px;
    height: 16px;
  }

  .hamburger {
    padding: 10px 12px;
  }

  .hero,
  .repair-hero,
  .content-hero,
  .page-tradein .tradein-form-section {
    padding: 38px 12px 50px;
  }

  .page-b2b .content-hero {
    padding: 34px 8px 44px;
  }

  @media (max-width: 420px) {
    .main-header .logo img,
    .header-row .logo img {
      width: 120px;
    }

    .login-link {
      width: 38px;
    }
  }

  .auth-modal-root {
    padding: 14px;
  }

  .auth-modal-head {
    padding: 32px 42px 12px 20px;
  }

  .auth-modal-tabs,
  .auth-modal-form {
    padding-right: 20px;
    padding-left: 20px;
  }

  .auth-register-form.active {
    grid-template-columns: 1fr;
  }

  .auth-modal-message {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-projects .content-hero {
    padding: 34px 8px 44px;
  }

  .page-contact .content-hero {
    padding: 34px 8px 44px;
  }

  .page-repair .repair-hero {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .page-repair .repair-hero-copy h1 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }

  .page-tradein .tradein-form-section {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  .page-tradein .form-panel h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
  }

  .tradein-quick-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .tradein-quick-steps span {
    min-height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 0.64rem;
    padding: 7px 5px;
    text-align: center;
  }

  .tradein-quick-steps strong {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    font-size: 0.6rem;
  }

  .page-store .store-hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .page-store .store-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .page-home .hero-home {
    min-height: auto;
    padding-bottom: 38px;
  }

  .hero h1,
  .repair-hero-copy h1,
  .content-hero h1 {
    font-size: 2rem;
    line-height: 1.03;
  }

  .page-b2b .content-hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.75rem);
  }

  .page-projects .content-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .page-contact .content-hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.55rem);
  }

  .page-b2b .content-hero p:not(.eyebrow) {
    max-width: 20rem;
  }

  .page-projects .content-hero p:not(.eyebrow) {
    max-width: 20rem;
  }

  .page-contact .content-hero p:not(.eyebrow) {
    max-width: 20rem;
  }

  .page-b2b .b2b-hero-actions {
    margin-top: 18px;
  }

  .page-projects .projects-hero-actions {
    margin-top: 18px;
  }

  .page-contact .contact-hero-actions {
    margin-top: 18px;
  }

  .page-b2b .b2b-hero-actions .btn {
    width: 100%;
  }

  .page-projects .projects-hero-actions .btn {
    width: 100%;
  }

  .page-contact .contact-hero-actions .btn {
    width: 100%;
  }

  .b2b-proof,
  .projects-proof,
  .contact-proof {
    gap: 6px;
    margin-top: 14px;
  }

  .b2b-proof span,
  .projects-proof span,
  .contact-proof span {
    min-height: 28px;
    font-size: 0.66rem;
    padding: 6px 9px;
  }

  .page-tradein .form-panel h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
    line-height: 1.03;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .page-home .hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.9rem);
  }

  .page-home .hero .eyebrow {
    max-width: 18rem;
    line-height: 1.45;
  }

  .hero p:not(.eyebrow),
  .repair-hero-copy p:not(.eyebrow),
  .content-hero p:not(.eyebrow),
  .section-intro,
  .form-helper {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .hero-buttons,
  .repair-hero-actions,
  .b2b-hero-actions,
  .projects-hero-actions,
  .contact-hero-actions,
  .home-cta-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-buttons .btn,
  .home-cta-actions .btn {
    flex: 1 1 130px;
  }

  .btn,
  .service-btn {
    min-height: 42px;
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  .contact-strip,
  .store-strip,
  .repair-trust-strip,
  .b2b-strip,
  .projects-strip {
    padding: 0 8px;
  }

  .contact-strip-inner,
  .store-strip-inner,
  .repair-trust-inner,
  .b2b-strip-inner,
  .projects-strip-inner {
    width: 100%;
    margin-top: -22px;
  }

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

  .page-contact .contact-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-strip-inner,
  .repair-trust-inner,
  .b2b-strip-inner,
  .projects-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-strip-inner > *,
  .store-strip-inner > *,
  .repair-trust-inner > *,
  .b2b-strip-inner > *,
  .projects-strip-inner > * {
    min-width: 0;
    gap: 3px;
    border-top: 0;
    padding: 11px 10px;
  }

  .page-home .contact-strip-inner > *:nth-child(3),
  .page-home .contact-strip-inner > *:nth-child(4) {
    display: none;
  }

  .contact-strip-inner > * + *,
  .store-strip-inner > * + *,
  .repair-trust-inner > * + *,
  .b2b-strip-inner > * + *,
  .projects-strip-inner > * + * {
    border-left: 1px solid var(--border);
    border-top: 0;
  }

  .contact-strip-inner span,
  .store-strip-inner span,
  .b2b-strip-inner span,
  .projects-strip-inner span {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }

  .repair-trust-inner span {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .contact-strip-inner strong,
  .store-strip-inner strong,
  .repair-trust-inner strong,
  .b2b-strip-inner strong,
  .projects-strip-inner strong {
    font-size: 0.72rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .services-section,
  .products,
  .cart-section,
  .form-section,
  .contact-page-section,
  .home-path-section,
  .home-feature-section,
  .standards-section,
  .home-cta-section,
  .b2b-cta-section,
  .projects-cta-section,
  .repair-device-selector {
    padding: 46px 12px;
  }

  .page-b2b .services-section {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .page-projects .projects-showcase-section {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .page-b2b .section-heading {
    margin-bottom: 22px;
  }

  .page-b2b .section-heading h2 {
    font-size: 1.65rem;
  }

  .page-projects .section-heading h2 {
    font-size: 1.65rem;
  }

  .page-projects .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-projects .project-card-body {
    padding: 18px;
  }

  .page-contact .contact-page-section {
    padding-top: 40px;
  }

  .page-contact .contact-details-panel h2,
  .page-contact .contact-form-panel h2 {
    font-size: 1.55rem;
  }

  .page-contact .contact-methods {
    gap: 9px;
  }

  .page-contact .contact-form {
    gap: 10px;
    margin-top: 16px;
  }

  .page-contact .contact-form textarea {
    min-height: 105px;
  }

  .page-b2b .service-box {
    padding: 18px;
  }

  .page-b2b .service-box h3 {
    font-size: 1.16rem;
  }

  .page-b2b .service-box p {
    margin-bottom: 12px;
  }

  .page-b2b .service-points {
    margin-top: 0;
  }

  .page-repair .repair-device-selector {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .section-heading {
    width: 100%;
  }

  .section-heading h2,
  .home-feature-copy h2,
  .contact-details-panel h2,
  .contact-form-panel h2 {
    font-size: 1.7rem;
  }

  .page-repair .device-selector-heading {
    margin-bottom: 20px;
  }

  .services-grid,
  .home-path-grid,
  .projects-grid,
  .product-grid,
  .contact-form,
  .contact-methods,
  .page-tradein .form-panel form,
  .home-feature-list {
    grid-template-columns: 1fr;
  }

  /* Mobile standards cards: two columns and two rows for a shorter section. */
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .standard-card {
    min-height: 0;
    padding: 14px;
  }

  .standard-card span {
    width: 34px;
    height: 28px;
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .standard-card h3 {
    margin-bottom: 7px;
    font-size: 0.92rem;
  }

  .standard-card p {
    font-size: 0.7rem;
    line-height: 1.42;
  }

  .home-path-card img,
  .project-card img {
    height: 165px;
    min-height: 0;
  }

  /* Mobile home service chooser: image on the left, details on the right. */
  .home-path-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .home-path-section .section-heading {
    margin-bottom: 24px;
  }

  .home-path-section .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.03;
  }

  .home-path-section .section-intro {
    max-width: 34rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .home-path-grid {
    gap: 16px;
  }

  .home-feature-grid {
    gap: 0;
    align-items: start;
  }

  .home-path-card {
    display: grid;
    grid-template-columns: minmax(112px, 35%) minmax(0, 1fr);
    grid-template-areas:
      "image tag"
      "image title"
      "image text"
      "image button";
    align-items: center;
    gap: 0 14px;
    min-height: 188px;
    padding: 0 14px 0 0;
    overflow: hidden;
  }

  .home-path-card img {
    grid-area: image;
    width: 100%;
    height: 100%;
    min-height: 188px;
    object-fit: cover;
  }

  .home-path-card span {
    grid-area: tag;
    align-self: end;
    margin: 14px 0 8px;
    font-size: 0.68rem;
    padding: 5px 9px;
  }

  .home-path-card h3 {
    grid-area: title;
    margin: 0 0 7px;
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .home-path-card p {
    grid-area: text;
    margin: 0 0 12px;
    font-size: 0.76rem;
    line-height: 1.36;
  }

  .home-path-card .service-btn {
    grid-area: button;
    width: 100%;
    margin: 0 0 14px;
  }

  .home-feature-gallery {
    order: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 96px;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 16px;
  }

  .home-feature-gallery .feature-large {
    grid-row: auto;
  }

  .home-feature-copy {
    display: contents;
  }

  .home-feature-copy .eyebrow {
    order: 1;
  }

  .home-feature-copy h2 {
    order: 2;
    margin: 8px 0 12px;
  }

  .home-feature-copy > p:not(.eyebrow) {
    order: 3;
    margin: 0;
  }

  .home-feature-copy .btn {
    order: 5;
    width: fit-content;
    margin-top: 0;
  }

  /* On phones the repair list is replaced by the three repair photos before the button. */
  .home-feature-list {
    display: none;
  }

  .product-grid {
    gap: 12px;
  }

  .page-store .product-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    min-height: 100%;
    display: flex;
    gap: 0;
    padding: 0;
  }

  .product-media {
    height: 158px;
    min-height: 0;
    padding: 20px 16px;
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #e4ebf2;
  }

  .product-media img {
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
  }

  .product-info {
    display: flex;
    padding: 11px 10px 12px;
  }

  .product-tag {
    display: inline-flex;
    margin-bottom: 5px;
    font-size: 0.46rem;
    padding: 3px 6px;
  }

  .product-card h3 {
    min-height: 2.5em;
    margin: 0 0 6px;
    font-size: 0.82rem;
    line-height: 1.22;
  }

  .product-desc {
    display: -webkit-box;
    min-height: 0;
    margin-bottom: 8px;
    font-size: 0.66rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .product-options {
    display: none;
  }

  .price {
    margin: 0;
    color: var(--success);
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .product-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-top: auto;
  }

  .product-option select,
  .product-option input {
    min-height: 28px;
    font-size: 0.58rem;
    padding: 5px;
  }

  .product-qty-input {
    font-size: 0.58rem;
    font-weight: 800;
  }

  .product-card .add-to-cart {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(7, 127, 171, 0.2);
    padding: 6px 7px;
    font-size: 0.58rem;
    overflow: hidden;
  }

  .product-card .add-to-cart:hover {
    background: var(--primary-dark);
  }

  .product-favorite {
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    font-size: 0.62rem;
  }

  .product-gallery-controls {
    right: 5px;
    bottom: 5px;
    gap: 2px;
    padding: 2px;
  }

  .product-gallery-btn {
    width: 16px;
    height: 16px;
    font-size: 0.72rem;
  }

  .add-to-cart-text {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: hidden;
    clip: auto;
    text-overflow: clip;
    white-space: nowrap;
  }

  .cart-icon {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
  }

  .cart-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px;
  }

  .cart-item-thumb {
    width: 48px;
  }

  .cart-item-details strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cart-item-details span {
    font-size: 0.68rem;
  }

  .cart-qty-controls {
    grid-column: 2;
    width: fit-content;
    min-height: 28px;
  }

  .cart-qty-controls span {
    min-width: 28px;
    font-size: 0.76rem;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
  }

  .cart-line-price {
    grid-column: 3;
    align-self: start;
    min-width: 58px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .remove-item {
    grid-column: 3;
    width: 100%;
    min-height: 28px;
    margin-top: 0;
    font-size: 0;
    padding: 0;
  }

  .remove-item::before {
    content: "Remove";
    font-size: 0.62rem;
  }

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

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

  .repair-picker-panel {
    padding-top: 18px;
  }

  .repair-picker-grid,
  .repair-picker-grid[data-picker-level="series"],
  .repair-picker-grid[data-picker-level="faults"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .repair-booking-progress {
    margin-bottom: 34px;
  }

  .repair-booking-progress h2 {
    font-size: 2.2rem;
  }

  .repair-booking-underline {
    margin: 15px auto 20px;
  }

  .repair-booking-progress li {
    gap: 7px;
    font-size: 0.68rem;
  }

  .repair-booking-progress li:not(:last-child)::after {
    top: 14px;
  }

  .repair-booking-progress b {
    width: 32px;
    height: 32px;
    font-size: 0.74rem;
  }

  .repair-picker-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .repair-picker-heading {
    width: calc(100% - 48px);
  }

  .repair-picker-heading p:not(.eyebrow) {
    font-size: 0.78rem;
  }

  .repair-picker-search {
    width: 100%;
  }

  .device-card,
  .repair-picker-card {
    min-height: 112px;
  }

  .device-circle {
    width: 64px;
    height: 58px;
  }

  .repair-picker-media {
    width: min(86px, 100%);
    height: 74px;
  }

  .device-label,
  .repair-picker-card {
    font-size: 0.72rem;
  }

  .repair-picker-card {
    gap: 9px;
    padding: 12px 8px;
  }

  .repair-picker-fault {
    min-height: 76px;
  }

  .repair-selected-device {
    gap: 10px;
  }

  .repair-selected-device-media {
    width: 58px;
    height: 58px;
  }

  .repair-selected-device h3 {
    font-size: 1.28rem;
  }

  .repair-service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .repair-service-card {
    min-height: 92px;
    padding: 13px;
  }

  .repair-service-card strong {
    font-size: 0.82rem;
  }

  .repair-service-card b {
    font-size: 0.7rem;
    padding: 7px;
  }

  .repair-summary-card {
    padding: 17px;
  }

  .repair-finalize-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .repair-finalize-heading h3 {
    font-size: 1.55rem;
  }

  .repair-appointment-panel {
    padding: 14px;
  }

  .repair-delivery-method {
    align-items: flex-start;
    padding-bottom: 13px;
  }

  .repair-date-grid {
    gap: 5px;
  }

  .repair-date-card {
    min-height: 43px;
  }

  .repair-date-card span {
    font-size: 0.58rem;
  }

  .repair-date-card strong {
    font-size: 0.74rem;
  }

  .repair-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .repair-time-card {
    min-height: 35px;
    font-size: 0.72rem;
  }

  .repair-booking-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .repair-booking-wide,
  .repair-customer-kind {
    grid-column: 1;
  }

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

  .repair-complete-panel {
    padding-top: 4px;
  }

  .repair-confetti {
    top: -210px;
    height: 500px;
  }

  .repair-complete-heading h3 {
    font-size: 1.8rem;
  }

  .repair-complete-heading p:not(.eyebrow) {
    font-size: 1rem;
  }

  .repair-calendar-actions {
    display: grid;
  }

  .repair-calendar-actions a {
    min-width: 0;
  }

  .repair-complete-address,
  .booking-cancel-panel {
    padding: 17px;
  }

  .booking-cancel-actions {
    display: grid;
  }

  .form-panel,
  .contact-details-panel,
  .contact-form-panel {
    padding: 18px;
  }

  .page-tradein .form-panel form {
    gap: 10px;
    margin-top: 14px;
  }

  .page-tradein .form-panel textarea {
    min-height: 88px;
  }

  .tradein-small-note {
    margin-top: 9px;
    font-size: 0.74rem;
  }

  select,
  input,
  textarea {
    min-height: 42px;
    font-size: 0.86rem;
    padding: 10px 12px;
  }

  textarea {
    min-height: 118px;
  }

  .home-cta-panel,
  .b2b-cta-panel,
  .projects-cta-panel {
    padding: 22px;
  }

  .page-b2b .b2b-cta-panel {
    gap: 16px;
  }

  .page-b2b .b2b-cta-panel .btn {
    width: 100%;
  }

  .home-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-cta-panel h2,
  .b2b-cta-panel h2,
  .projects-cta-panel h2 {
    font-size: 1.45rem;
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 12px 0;
  }

  .footer-inner {
    display: contents;
  }

  .footer-logo {
    width: min(154px, 72%);
    margin-bottom: 14px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-brand p {
    max-width: 32rem;
    line-height: 1.55;
  }

  .footer-socials {
    gap: 10px;
    margin-top: 18px;
  }

  .footer-socials a {
    width: 30px;
    height: 30px;
  }

  .footer-socials img {
    width: 17px;
    height: 17px;
  }

  .footer h2 {
    margin-bottom: 6px;
    font-size: 0.98rem;
  }

  .footer-links,
  .footer-contact {
    gap: 8px;
  }

  .footer-links,
  .footer-contact,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px 12px;
  }

  .footer-links h2,
  .footer-contact h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .footer-contact p {
    min-width: 0;
  }

  .footer-contact span {
    margin-bottom: 1px;
    font-size: 0.6rem;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-links a,
  .footer-contact a {
    font-size: 0.78rem;
  }

  .footer-bottom {
    margin: 0 -12px;
    display: grid;
    gap: 4px;
    font-size: 0.66rem;
    padding: 12px 16px;
  }

}

/* ==========================================================================
   Store Refresh Cascade Overrides
   Kept after responsive rules so the refreshed store layout wins the cascade.
   ========================================================================== */
.page-store .store-main {
  background: linear-gradient(180deg, var(--surface), var(--bg) 48%, var(--surface));
}

.page-store .store-hero {
  min-height: 540px;
  padding: 88px 20px 104px;
  background:
    radial-gradient(circle at 72% 36%, rgba(242, 184, 75, 0.22), transparent 18%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.92), rgba(11, 18, 31, 0.94));
}

.page-store .store-hero-layout {
  width: min(960px, 100%);
}

.page-store .store-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

.page-store .store-hero-copy p:not(.eyebrow) {
  max-width: 630px;
}

.page-store .products {
  padding-top: 68px;
}

.page-store .product-grid {
  width: min(1160px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.page-store .product-card {
  min-height: 100%;
  border-radius: 10px;
  border-color: #d8e5ef;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.075);
}

.page-store .product-media {
  height: 224px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(7, 127, 171, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff, #f7fbfe);
}

.page-store .product-media img {
  max-width: 84%;
  max-height: 84%;
  transition: transform 0.22s ease;
}

.page-store .product-card:hover .product-media img {
  transform: scale(1.035);
}

.page-store .product-info {
  gap: 0;
  padding: 16px;
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-card-meta {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.product-stock-pill {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, #ffffff);
  color: var(--primary-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.product-stock-pill.low {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background: color-mix(in srgb, var(--accent) 18%, #ffffff);
  color: #805300;
}

.product-stock-pill.ask {
  border-color: color-mix(in srgb, var(--danger) 32%, var(--border));
  background: color-mix(in srgb, var(--danger) 8%, #ffffff);
  color: var(--danger);
}

.page-store .product-card h3 {
  min-height: 2.45em;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.page-store .product-desc {
  min-height: 2.9em;
  margin-bottom: 14px;
  font-size: 0.8rem;
  -webkit-line-clamp: 2;
}

.page-store .product-options {
  grid-template-columns: 1fr;
  margin: 0 0 12px;
}

.page-store .product-option select,
.page-store .product-option input {
  min-height: 38px;
  border-radius: 8px;
  background: #f8fbfe;
}

.product-purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-qty {
  display: inline-grid;
  grid-template-columns: 30px 42px 30px;
  align-items: center;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid #d7e4ee;
  border-radius: 999px;
  background: #f8fbfe;
}

.product-qty-step {
  width: 30px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
}

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

.page-store .product-qty-input {
  min-height: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.82rem;
}

.page-store .product-actions {
  margin-top: 13px;
}

.page-store .product-card .add-to-cart {
  min-height: 40px;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-size: 0.76rem;
  padding: 9px 12px;
}

.page-store .cart-summary-card,
.page-store .cart-confirm-card {
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

@media (max-width: 900px) {
  .page-store .store-hero {
    min-height: auto;
    padding: 64px 18px 76px;
  }

  .page-store .store-hero-layout {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-store .store-hero-copy h1 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .page-store .product-grid {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .page-store .store-hero {
    padding: 42px 12px 54px;
  }

  .page-store .store-hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .page-store .product-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-store .product-card {
    border-radius: 8px;
  }

  .page-store .product-media {
    height: 148px;
    padding: 17px 13px;
  }

  .page-store .product-info {
    padding: 11px 10px 12px;
  }

  .product-card-head {
    display: grid;
    gap: 7px;
    margin-bottom: 8px;
  }

  .product-stock-pill {
    justify-self: start;
    font-size: 0.5rem;
    padding: 5px 7px;
  }

  .page-store .product-card h3 {
    min-height: 2.55em;
    margin-bottom: 6px;
    font-size: 0.8rem;
  }

  .page-store .product-desc {
    min-height: 2.6em;
    margin-bottom: 9px;
    font-size: 0.66rem;
    -webkit-line-clamp: 2;
  }

  .page-store .product-options {
    display: none;
  }

  .product-purchase-row {
    display: grid;
    gap: 8px;
  }

  .product-qty {
    width: fit-content;
    grid-template-columns: 26px 34px 26px;
    min-height: 28px;
  }

  .product-qty-step {
    width: 26px;
    height: 28px;
  }

  .page-store .product-qty-input {
    min-height: 28px;
    height: 28px;
    font-size: 0.68rem;
  }

  .page-store .product-actions {
    margin-top: 10px;
  }

  .page-store .product-card .add-to-cart {
    min-height: 34px;
    font-size: 0.58rem;
    padding: 7px 7px;
  }
}

/* ==========================================================================
   Header Row Responsive Fix
   Keeps the compact header aligned on tablet and phone widths.
   ========================================================================== */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 66px;
  }

  .top-bar {
    font-size: 0.68rem;
    line-height: 1.2;
    padding: 5px 12px;
  }

  .header-row {
    width: min(820px, calc(100% - 28px));
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .logo {
    min-width: 0;
    margin-right: 0;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: clamp(112px, 22vw, 140px);
    max-height: 40px;
  }

  .hamburger {
    order: 2;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    align-self: center;
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    background: color-mix(in srgb, var(--primary) 5%, var(--card));
    color: var(--primary-dark);
    padding: 0;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  }

  .header-actions {
    order: 3;
    margin-left: 0;
    gap: 6px;
  }

  .login-link,
  .store-link {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .hamburger-icon,
  .login-icon,
  .store-icon {
    width: 16px;
    height: 16px;
  }

  .nav-bar {
    top: 64px;
    right: 14px;
    width: min(290px, calc(100vw - 28px));
  }
}

@media (max-width: 560px) {
  .top-bar {
    font-size: 0.62rem;
    line-height: 1.2;
    padding: 4px 10px;
  }

  .header-row {
    width: calc(100% - 20px);
    min-height: 50px;
    gap: 6px;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: clamp(104px, 34vw, 126px);
    max-height: 36px;
  }

  .hamburger {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
  }

  .header-actions {
    gap: 5px;
  }

  .login-link,
  .store-link {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .hamburger-icon,
  .login-icon,
  .store-icon {
    width: 15px;
    height: 15px;
  }

  .nav-bar {
    top: 58px;
    right: 10px;
    width: calc(100vw - 20px);
  }
}

@media (max-width: 420px) {
  .header-row {
    width: calc(100% - 18px);
    gap: 5px;
  }

  .main-header .logo img,
  .header-row .logo img {
    width: 100px;
  }

  .hamburger,
  .login-link,
  .store-link {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .hamburger-icon,
  .login-icon,
  .store-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 560px) {
  .theme-toggle {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 420px) {
  .theme-toggle {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .theme-toggle svg {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   Home Mobile Hero Fix
   Prevents the home hero from becoming a tall empty block on smaller screens.
   ========================================================================== */
@media (max-width: 900px) {
  .page-home .hero-home {
    min-height: auto;
    place-items: start;
    padding: 44px 18px 52px;
  }

  .page-home .hero-home::after {
    height: 46px;
  }

  .page-home .hero-layout {
    min-height: 330px;
    width: min(760px, 100%);
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-home .hero-content {
    max-width: 560px;
    display: block;
    padding-bottom: 58px;
  }

  .page-home .hero-buttons {
    display: flex;
  }

}

@media (max-width: 560px) {
  .page-home .hero-home {
    padding: 30px 12px 36px;
  }

  .page-home .hero-layout {
    min-height: 285px;
  }

  .page-home .hero h1 {
    max-width: 18rem;
    margin: 7px 0 10px;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    line-height: 1.04;
  }

  .page-home .hero .eyebrow {
    max-width: 17rem;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .page-home .hero p:not(.eyebrow) {
    max-width: 19rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .page-home .hero-buttons {
    display: flex;
    gap: 8px;
    margin-top: 0;
  }

  .page-home .hero-buttons .btn {
    width: min(100%, 190px);
    flex: 0 0 auto;
    min-height: 38px;
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .hero-carousel-controls {
    margin-top: 18px;
  }

  .page-home .contact-strip {
    display: none;
  }

  .page-home .home-path-section {
    padding-top: 34px;
  }
}

/* ==========================================================================
   Policy Pages
   Privacy and repair terms live here instead of inside the footer.
   ========================================================================== */
.policy-main {
  background: var(--surface);
}

.policy-hero {
  padding: 74px 20px 82px;
  background:
    radial-gradient(circle at 78% 24%, rgba(242, 184, 75, 0.16), transparent 22%),
    linear-gradient(115deg, rgba(7, 95, 130, 0.96), rgba(16, 24, 39, 0.98));
  color: #ffffff;
}

.policy-hero-inner,
.policy-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.policy-hero h1 {
  max-width: 860px;
  margin: 8px 0 14px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.03;
}

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

.policy-page-section {
  padding: 58px 20px 80px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 52px;
}

.policy-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 16px;
}

.policy-nav h2 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--primary-dark);
}

.policy-document {
  max-width: 940px;
}

.policy-intro {
  margin-bottom: 10px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  color: var(--text);
  padding: 16px 18px;
}

.policy-section {
  scroll-margin-top: 92px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.16;
}

.policy-section h3 {
  margin: 20px 0 6px;
  color: var(--text);
  font-size: 1.05rem;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section p + p,
.policy-section ul + p {
  margin-top: 10px;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0 20px;
}

.policy-section a {
  color: var(--primary-dark);
  font-weight: 750;
}

@media (max-width: 900px) {
  .policy-hero {
    padding: 56px 18px 64px;
  }

  .policy-layout {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .policy-nav h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .policy-hero {
    padding: 36px 12px 44px;
  }

  .policy-hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .policy-hero p:not(.eyebrow) {
    font-size: 0.9rem;
  }

  .policy-page-section {
    padding: 34px 12px 48px;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-section {
    padding: 24px 0;
  }
}

/* ==========================================================================
   Wide Desktop Layout
   Uses more of large monitors without changing the laptop-sized layout.
   ========================================================================== */
@media (min-width: 1600px) {
  .header-row {
    width: min(1760px, calc(100% - 96px));
  }

  .hero-layout,
  .repair-hero-inner,
  .content-hero > div,
  .store-hero-layout {
    width: min(1680px, calc(100% - 96px));
  }

  .section-heading {
    width: min(1560px, calc(100% - 64px));
  }

  .contact-strip-inner {
    width: min(1560px, 100%);
  }

  .store-strip-inner,
  .repair-trust-inner,
  .b2b-strip-inner,
  .projects-strip-inner,
  .page-contact .contact-strip-inner {
    width: min(1440px, 100%);
  }

  .services-grid,
  .home-path-grid,
  .home-feature-grid,
  .standards-grid,
  .projects-grid,
  .device-selector-inner {
    width: min(1560px, 100%);
  }

  .home-cta-panel,
  .b2b-cta-panel,
  .projects-cta-panel {
    width: min(1480px, 100%);
  }

  .page-store .store-hero-layout {
    width: min(1560px, calc(100% - 96px));
  }

  .page-store .product-grid,
  .product-pagination,
  .cart-shell {
    width: min(1560px, 100%);
  }

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

  .contact-page-grid,
  .account-shell,
  .policy-layout {
    width: min(1440px, 100%);
  }

  .account-shell.is-dashboard {
    width: min(1440px, 100%);
  }

  .footer {
    grid-template-columns:
      minmax(48px, 1fr)
      minmax(300px, 420px)
      minmax(160px, 220px)
      minmax(270px, 340px)
      minmax(48px, 1fr);
    column-gap: 56px;
  }
}

/* ==========================================================================
   Store Catalogue Layout
   Sidebar filters, WooCommerce-style product cards, and sorting controls.
   ========================================================================== */
.page-store .store-main {
  background: #ffffff;
  color: #151515;
  padding: 0 0 84px;
}

.page-store .store-hero {
  min-height: 470px;
  margin: 0 0 46px;
  padding: 82px 20px 92px;
  background: #0d1624;
}

.page-store .store-hero-layout {
  width: min(1240px, calc(100% - 48px));
}

.page-store .store-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.page-store .store-hero-copy p:not(.eyebrow) {
  max-width: 650px;
}

.page-store .store-hero .hero-carousel-background {
  object-position: 72% center;
}

.store-catalogue {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.store-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 28px;
}

.store-filter-card {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.08);
  padding: 34px 36px;
}

.store-filter-card h2 {
  margin: 0 0 28px;
  color: #161616;
  font-size: 1.28rem;
  line-height: 1.1;
}

.store-filter-card h2::after {
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  background: var(--primary);
  content: "";
}

.store-search-card {
  background: #0d1624;
  color: #ffffff;
}

.store-search-card h2 {
  color: #ffffff;
}

.store-sidebar-search {
  position: relative;
  display: block;
}

.store-sidebar-search input {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #373737;
  color: #ffffff;
  padding: 11px 48px 11px 22px;
  font-size: 0.88rem;
}

.store-sidebar-search input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.store-sidebar-search svg {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}

.store-category-list {
  display: grid;
  gap: 15px;
}

.store-category-list button {
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  color: #777777;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.25;
  padding: 0 0 0 16px;
  text-align: left;
}

.store-category-list button:hover,
.store-category-list button.is-active {
  color: var(--primary-dark);
}

.store-price-card input[type="range"] {
  width: 100%;
  min-height: 24px;
  accent-color: var(--primary);
  padding: 0;
}

.store-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.store-price-apply,
.store-cart-open {
  width: auto;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 20px;
}

.store-price-row span,
.store-sidebar-cart p,
.store-sidebar-cart-summary span {
  color: #777777;
  font-size: 0.82rem;
}

.store-sidebar-cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.store-sidebar-cart-summary strong {
  color: #151515;
}

.store-results {
  min-width: 0;
}

.store-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.store-result-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #777777;
  font-size: 0.86rem;
}

.store-view-toggle {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #b0b0b0;
  cursor: pointer;
  padding: 0;
}

.store-view-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-view-toggle:first-child svg {
  fill: currentColor;
  stroke: none;
}

.store-view-toggle.is-active {
  color: var(--primary);
}

.store-sort-select {
  width: min(260px, 100%);
}

.store-sort-select select {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #eeeeee;
  color: #777777;
  font-size: 0.86rem;
  padding: 10px 24px;
}

.store-catalogue .product-grid,
.page-store .store-catalogue .product-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
  align-items: stretch;
}

.store-catalogue .product-card {
  position: relative;
  display: flex;
  min-height: 376px;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08);
  text-align: center;
}

.store-catalogue .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(17, 24, 39, 0.12);
}

.store-catalogue .product-sale-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 127, 171, 0.18);
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1;
}

.store-catalogue .product-favorite,
.store-catalogue .product-card-head,
.store-catalogue .product-desc,
.store-catalogue .product-options,
.store-catalogue .product-qty,
.store-catalogue .product-gallery-controls {
  display: none;
}

.store-catalogue .product-media {
  height: 230px;
  border: 0;
  background: #ffffff;
  padding: 26px 22px 12px;
}

.store-catalogue .product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.store-catalogue .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 26px 24px;
}

.store-catalogue .product-card h3 {
  min-height: 3.5em;
  margin: 0 auto 13px;
  color: #101010;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-transform: none;
}

.store-catalogue .product-purchase-row {
  display: block;
  margin: auto 0 0;
}

.store-catalogue .price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #222222;
  font-size: 0.86rem;
  font-weight: 500;
}

.store-catalogue .old-price {
  color: #9a9a9a;
  font-size: 0.76rem;
  text-decoration: line-through;
}

.store-catalogue .current-price {
  color: #222222;
}

.store-catalogue .product-actions {
  min-height: 40px;
  margin-top: 14px;
  justify-content: center;
}

.store-catalogue .product-card .add-to-cart {
  width: auto;
  min-height: 36px;
  border-radius: 999px;
  background: #111111;
  opacity: 0;
  padding: 8px 18px;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.store-catalogue .product-card:hover .add-to-cart,
.store-catalogue .product-card:focus-within .add-to-cart {
  opacity: 1;
  transform: translateY(0);
}

.store-catalogue .product-card .add-to-cart:hover {
  background: var(--primary);
}

.store-empty-results {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08);
  color: #777777;
  padding: 36px;
  text-align: center;
}

.store-catalogue .product-pagination {
  width: 100%;
  margin: 34px 0 0;
}

.store-catalogue .product-page-btn.active {
  border-color: var(--primary);
  background: var(--primary);
}

.store-catalogue .product-grid.is-list-view {
  grid-template-columns: 1fr;
}

.store-catalogue .product-grid.is-list-view .product-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  text-align: left;
}

.store-catalogue .product-grid.is-list-view .product-media {
  height: 220px;
}

.store-catalogue .product-grid.is-list-view .product-info {
  padding: 28px 34px 28px 0;
}

.store-catalogue .product-grid.is-list-view .product-card h3,
.store-catalogue .product-grid.is-list-view .price {
  justify-content: flex-start;
  text-align: left;
}

html.dark-mode .page-store .store-main,
body.dark-mode.page-store .store-main {
  background: #0b1117;
  color: #eef5fb;
}

html.dark-mode .store-filter-card,
html.dark-mode .store-catalogue .product-card,
html.dark-mode .store-empty-results,
body.dark-mode .store-filter-card,
body.dark-mode .store-catalogue .product-card,
body.dark-mode .store-empty-results {
  border: 1px solid #243546;
  background: #101922;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

html.dark-mode .store-search-card,
body.dark-mode .store-search-card {
  background: #202a35;
}

html.dark-mode .store-filter-card h2,
html.dark-mode .store-sidebar-cart-summary strong,
html.dark-mode .store-catalogue .product-card h3,
html.dark-mode .store-catalogue .current-price,
body.dark-mode .store-filter-card h2,
body.dark-mode .store-sidebar-cart-summary strong,
body.dark-mode .store-catalogue .product-card h3,
body.dark-mode .store-catalogue .current-price {
  color: #f4f8fb;
}

html.dark-mode .store-category-list button,
html.dark-mode .store-price-row span,
html.dark-mode .store-sidebar-cart p,
html.dark-mode .store-sidebar-cart-summary span,
html.dark-mode .store-result-meta,
body.dark-mode .store-category-list button,
body.dark-mode .store-price-row span,
body.dark-mode .store-sidebar-cart p,
body.dark-mode .store-sidebar-cart-summary span,
body.dark-mode .store-result-meta {
  color: #9aabb9;
}

html.dark-mode .store-category-list button:hover,
html.dark-mode .store-category-list button.is-active,
body.dark-mode .store-category-list button:hover,
body.dark-mode .store-category-list button.is-active {
  color: var(--primary-dark);
}

html.dark-mode .store-sidebar-search input,
html.dark-mode .store-sort-select select,
body.dark-mode .store-sidebar-search input,
body.dark-mode .store-sort-select select {
  border: 1px solid #33475a;
  background: #162330;
  color: #f4f8fb;
}

html.dark-mode .store-catalogue .product-media,
body.dark-mode .store-catalogue .product-media {
  background: #101922;
}

@media (hover: none) {
  .store-catalogue .product-card .add-to-cart {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .store-catalogue {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-search-card,
  .store-category-card {
    grid-column: 1 / -1;
  }

  .store-catalogue .product-grid,
  .page-store .store-catalogue .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-store .store-main {
    padding: 0 0 58px;
  }

  .page-store .store-hero {
    min-height: 390px;
    margin-bottom: 28px;
    padding: 54px 14px 64px;
  }

  .page-store .store-hero-layout {
    width: min(100% - 28px, 560px);
  }

  .page-store .store-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .store-catalogue {
    width: min(100% - 28px, 560px);
    gap: 26px;
  }

  .store-sidebar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .store-category-card,
  .store-price-card,
  .store-sidebar-cart {
    display: none;
  }

  .store-filter-card {
    padding: 26px;
  }

  .store-results-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .store-sort-select {
    width: 100%;
  }

  .store-catalogue .product-grid,
  .page-store .store-catalogue .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .store-catalogue .product-card {
    min-height: 314px;
    border-radius: 8px;
  }

  .store-catalogue .product-sale-badge {
    width: 58px;
    height: 58px;
    font-size: 0.95rem;
    left: 12px;
    top: 12px;
  }

  .store-catalogue .product-media {
    height: 172px;
    padding: 18px 14px 8px;
  }

  .store-catalogue .product-info {
    padding: 0 14px 18px;
  }

  .store-catalogue .product-card h3 {
    min-height: 3.7em;
    font-size: 0.78rem;
  }

  .store-catalogue .price {
    flex-wrap: wrap;
    gap: 5px 9px;
    font-size: 0.76rem;
  }

  .store-catalogue .product-card .add-to-cart {
    min-height: 32px;
    font-size: 0.66rem;
    padding: 7px 12px;
  }

  .store-catalogue .product-grid.is-list-view .product-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 190px;
  }

  .store-catalogue .product-grid.is-list-view .product-media {
    height: 190px;
  }

  .store-catalogue .product-grid.is-list-view .product-info {
    padding: 20px 16px 20px 0;
  }
}

@media (max-width: 420px) {
  .store-catalogue .product-grid,
  .page-store .store-catalogue .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-catalogue .product-grid.is-list-view,
  .page-store .store-catalogue .product-grid.is-list-view {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Transparent Icon Buttons
   Lets icon artwork show without an added circular border or background.
   ========================================================================== */
.login-link,
.theme-toggle,
.store-link,
.floating-whatsapp,
.floating-site-chat,
.floating-cart {
  display: inline-grid;
  place-items: center;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  padding: 0 !important;
}

.login-link:hover,
.login-link.active,
.theme-toggle:hover,
.store-link:hover,
.store-link.active,
.floating-whatsapp:hover,
.floating-site-chat:hover,
.floating-cart:hover,
.floating-cart.active {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.login-link,
.theme-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
}

.login-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.theme-toggle .theme-toggle-sun,
html.dark-mode .theme-toggle .theme-toggle-moon,
body.dark-mode .theme-toggle .theme-toggle-moon {
  display: none;
}

html.dark-mode .theme-toggle .theme-toggle-sun,
body.dark-mode .theme-toggle .theme-toggle-sun {
  display: block;
}

.floating-whatsapp,
.floating-site-chat,
.floating-cart {
  right: 14px;
  width: 54px;
  height: 54px;
}

.floating-whatsapp {
  bottom: 14px;
}

.floating-site-chat {
  bottom: 76px;
}

.floating-cart {
  bottom: 138px;
}

.floating-whatsapp img,
.floating-site-chat img,
.floating-cart img {
  display: block;
  object-fit: contain;
}

.floating-cart img {
  width: 43px;
  height: 43px;
}

.floating-site-chat img {
  width: 46px;
  height: 46px;
}

.floating-whatsapp img {
  width: 47px;
  height: 47px;
}

.floating-cart-count {
  top: 4px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  border-width: 1px;
  font-size: 0.62rem;
}

@media (max-width: 560px) {
  .login-link,
  .theme-toggle {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .login-icon {
    width: 32px;
    height: 29px;
  }

  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }

  .floating-whatsapp,
  .floating-site-chat,
  .floating-cart {
    right: 12px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp {
    bottom: 12px;
  }

  .floating-site-chat {
    bottom: 68px;
  }

  .floating-cart {
    bottom: 124px;
  }

  .floating-cart img {
    width: 40px;
    height: 40px;
  }

  .floating-site-chat img {
    width: 43px;
    height: 43px;
  }

  .floating-whatsapp img {
    width: 44px;
    height: 44px;
  }

  .floating-cart-count {
    top: 3px;
    right: 2px;
  }
}

/* ==========================================================================
   Equal Service Hero Heights
   Keeps Store, Repair, Trade-In, B2B, and Projects visually aligned.
   ========================================================================== */
@media (min-width: 901px) {
  .page-store .store-hero,
  .page-repair .repair-hero,
  .page-tradein .tradein-form-section,
  .page-b2b .content-hero,
  .page-projects .content-hero {
    height: 620px;
    min-height: 620px !important;
    box-sizing: border-box;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .page-store .store-hero-layout,
  .page-repair .repair-hero-inner,
  .page-b2b .content-hero > div,
  .page-projects .content-hero > div {
    width: min(1240px, calc(100% - 48px));
  }

  .page-tradein .tradein-form-layout {
    width: min(760px, calc(100% - 48px));
  }

  .page-tradein .form-panel {
    padding: 22px 24px;
  }

  .page-tradein .form-panel h1 {
    font-size: clamp(2rem, 4.2vw, 2.85rem);
  }

  .tradein-quick-steps {
    margin-top: 12px;
  }

  .tradein-quick-steps span {
    min-height: 36px;
    padding: 6px 8px;
  }

  .page-tradein .form-panel form {
    gap: 9px;
    margin-top: 12px;
  }

  .page-tradein .form-panel input,
  .page-tradein .form-panel select,
  .page-tradein .form-panel button {
    min-height: 42px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .page-tradein .form-panel textarea {
    min-height: 82px;
  }

  .tradein-small-note {
    margin-top: 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 900px) {
  .page-store .store-hero,
  .page-repair .repair-hero,
  .page-tradein .tradein-form-section,
  .page-b2b .content-hero,
  .page-projects .content-hero {
    min-height: 520px !important;
    box-sizing: border-box;
    padding-top: 58px !important;
    padding-bottom: 70px !important;
  }
}

@media (max-width: 560px) {
  .page-store .store-hero,
  .page-repair .repair-hero,
  .page-tradein .tradein-form-section,
  .page-b2b .content-hero,
  .page-projects .content-hero {
    min-height: 430px !important;
    padding-top: 40px !important;
    padding-bottom: 52px !important;
  }
}

/* ==========================================================================
   Stretched Desktop Content
   Uses the full laptop/desktop width instead of narrow centered page blocks.
   ========================================================================== */
@media (min-width: 901px) {
  .hero-layout,
  .repair-hero-inner,
  .content-hero > div,
  .store-hero-layout {
    width: min(1760px, calc(100% - 48px)) !important;
  }

  .section-heading {
    width: min(1760px, calc(100% - 48px)) !important;
    text-align: left;
  }

  .section-intro {
    max-width: 920px;
    margin-right: 0;
    margin-left: 0;
  }

  .services-grid,
  .product-grid,
  .page-store .product-grid,
  .product-pagination,
  .home-path-grid,
  .home-feature-grid,
  .standards-grid,
  .projects-grid,
  .contact-page-grid,
  .cart-shell,
  .device-grid,
  .home-cta-panel,
  .b2b-cta-panel,
  .projects-cta-panel,
  .contact-strip-inner,
  .store-strip-inner,
  .repair-trust-inner,
  .b2b-strip-inner,
  .projects-strip-inner,
  .page-contact .contact-strip-inner {
    width: min(1760px, calc(100% - 48px)) !important;
  }

  .page-tradein .tradein-form-layout {
    width: min(1320px, calc(100% - 48px)) !important;
  }

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

/* ==========================================================================
   Equal Service Hero Content
   Keeps Store, Repair, B2B, and Projects text/button placement identical.
   ========================================================================== */
@media (min-width: 901px) {
  .page-store .store-hero-layout,
  .page-repair .repair-hero-inner,
  .page-b2b .content-hero > div,
  .page-projects .content-hero > div {
    min-height: 476px;
    display: block;
    position: relative;
    padding-bottom: 96px;
  }

  .page-store .store-hero-copy,
  .page-repair .repair-hero-copy,
  .page-b2b .content-hero > div,
  .page-projects .content-hero > div {
    color: #ffffff;
  }

  .page-store .store-hero .eyebrow,
  .page-repair .repair-hero .eyebrow,
  .page-b2b .content-hero .eyebrow,
  .page-projects .content-hero .eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .page-store .store-hero-copy h1,
  .page-repair .repair-hero-copy h1,
  .page-b2b .content-hero h1,
  .page-projects .content-hero h1 {
    width: min(860px, 68vw);
    max-width: none;
    margin: 8px 0 18px;
    color: #ffffff;
    font-size: clamp(4rem, 6.2vw, 5.1rem);
    line-height: 1.02;
    letter-spacing: 0;
  }

  .page-store .store-hero-copy p:not(.eyebrow),
  .page-repair .repair-hero-copy p:not(.eyebrow),
  .page-b2b .content-hero p:not(.eyebrow),
  .page-projects .content-hero p:not(.eyebrow) {
    width: min(760px, 62vw);
    max-width: none;
    color: #edf7fb;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.55;
  }

  .page-store .hero-buttons,
  .page-repair .repair-hero-actions,
  .page-b2b .b2b-hero-actions,
  .page-projects .projects-hero-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
  }

  .page-store .hero-buttons .btn,
  .page-repair .repair-hero-actions .btn,
  .page-b2b .b2b-hero-actions .btn,
  .page-projects .projects-hero-actions .btn {
    min-height: 44px;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 850;
    padding: 12px 18px;
  }

  .page-store .hero-buttons .btn-secondary {
    background: var(--primary);
    color: #ffffff;
  }

  .page-store .hero-carousel-controls,
  .page-repair .hero-carousel-controls,
  .page-b2b .hero-carousel-controls,
  .page-projects .hero-carousel-controls {
    margin-top: 26px;
  }
}

/* ==========================================================================
   Home Page Polish
   Tightens the mobile home layout where stacked content needs more room.
   ========================================================================== */
.footer-contact p,
.footer-contact a {
  overflow-wrap: anywhere;
}

.page-home .floating-cart,
.page-home .floating-site-chat,
.page-home .floating-whatsapp {
  right: 18px;
  display: inline-grid;
}

.page-home .floating-whatsapp {
  bottom: 18px;
}

.page-home .floating-site-chat {
  bottom: 78px;
}

.page-home .floating-cart {
  bottom: 138px;
}

.page-home .home-path-card {
  text-align: left;
}

@media (max-width: 560px) {
  .page-home .hero-home {
    padding: 36px 16px 40px;
    overflow: hidden;
  }

  .page-home .hero-layout {
    width: 100%;
    min-height: 315px;
  }

  .page-home .hero-content {
    max-width: 100%;
    padding-bottom: 72px;
  }

  .page-home .hero h1 {
    max-width: min(100%, 21rem);
    margin: 8px 0 11px;
    font-size: clamp(2.1rem, 11vw, 2.85rem);
    line-height: 1;
  }

  .page-home .hero .eyebrow,
  .page-home .hero p:not(.eyebrow) {
    max-width: min(100%, 22rem);
  }

  .page-home .hero p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .page-home .hero-buttons {
    right: 0;
    bottom: 0;
    max-width: calc(100% - 6px);
  }

  .page-home .hero-buttons .btn {
    width: auto;
    min-width: 132px;
    max-width: 100%;
    min-height: 42px;
    font-size: 0.76rem;
    padding: 10px 13px;
  }

  .page-home .hero-carousel-controls {
    gap: 7px;
    margin-top: 16px;
  }

  .page-home .hero-carousel-dot {
    width: 24px;
    height: 5px;
  }

  .page-home .hero-carousel-dot:hover,
  .page-home .hero-carousel-dot.active {
    width: 34px;
  }

  .page-home .home-path-section .section-heading {
    text-align: left;
  }

  .page-home .home-path-section .section-intro {
    max-width: none;
  }

  .page-home .home-path-grid {
    gap: 18px;
  }

  .page-home .home-path-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .page-home .home-path-card img {
    width: 100%;
    height: 180px;
    min-height: 0;
    object-fit: cover;
  }

  .page-home .home-path-card span {
    align-self: flex-start;
    margin: 16px 16px 10px;
  }

  .page-home .home-path-card h3 {
    margin: 0 16px 8px;
    font-size: 1.12rem;
    line-height: 1.2;
  }

  .page-home .home-path-card p {
    margin: 0 16px 16px;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .page-home .home-path-card .service-btn {
    width: fit-content;
    min-width: 128px;
    align-self: flex-start;
    margin: 0 16px 18px;
  }

  .page-home .home-feature-copy {
    text-align: left;
  }

  .page-home .home-feature-list {
    grid-template-columns: 1fr;
  }

  .page-home .floating-cart,
  .page-home .floating-site-chat,
  .page-home .floating-whatsapp {
    right: 10px;
    width: 46px;
    height: 46px;
  }

  .page-home .floating-whatsapp {
    bottom: 10px;
  }

  .page-home .floating-site-chat {
    bottom: 60px;
  }

  .page-home .floating-cart {
    bottom: 110px;
  }

  .page-home .floating-cart img,
  .page-home .floating-site-chat img,
  .page-home .floating-whatsapp img {
    width: 39px;
    height: 39px;
  }

  .page-home .footer {
    padding-bottom: 124px;
  }
}

@media (max-width: 380px) {
  .page-home .hero h1 {
    font-size: 2rem;
  }

  .page-home .home-path-card img {
    height: 160px;
  }

  .page-home .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .footer-contact {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Store Product Detail
   ========================================================================== */
body.product-detail-open {
  overflow: hidden;
}

.store-catalogue .product-card {
  cursor: pointer;
}

.store-catalogue .product-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, #ffffff);
  outline-offset: 4px;
}

.product-detail-root {
  position: fixed;
  inset: 0;
  z-index: 6200;
  display: grid;
  place-items: center;
  padding: 30px 18px;
}

.product-detail-root[hidden] {
  display: none !important;
}

.product-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 30, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-detail-panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 32px 88px rgba(5, 21, 36, 0.28);
  padding: clamp(20px, 3vw, 36px);
}

.product-detail-close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.product-detail-main-image {
  position: relative;
  display: grid;
  min-height: clamp(320px, 42vw, 520px);
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 86%, #ffffff);
  overflow: hidden;
}

.product-detail-main-image img {
  width: 100%;
  max-width: 560px;
  max-height: 500px;
  object-fit: contain;
}

.product-detail-sale {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 58px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(7, 137, 189, 0.24);
  font-weight: 900;
}

.product-detail-main-sale {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-width: 82px;
  min-height: 82px;
  font-size: 1.05rem;
}

.product-detail-zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(9, 31, 48, 0.13);
}

.product-detail-zoom svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.product-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-detail-thumbs button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  padding: 6px;
}

.product-detail-thumbs button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-category {
  margin: 4px 0 8px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-info h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 28px;
}

.product-detail-price s {
  color: color-mix(in srgb, var(--muted) 70%, #ffffff);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 800;
}

.product-detail-price strong {
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.product-detail-parameters {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.product-detail-parameters h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-parameters p {
  margin: 0;
}

.product-detail-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.product-detail-qty {
  display: grid;
  grid-template-columns: 42px 58px 42px;
  min-height: 54px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 82%, var(--surface));
}

.product-detail-qty button,
.product-detail-qty input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.product-detail-qty button {
  cursor: pointer;
}

.product-detail-qty input {
  appearance: textfield;
}

.product-detail-qty input::-webkit-outer-spin-button,
.product-detail-qty input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.product-detail-buy {
  min-height: 54px;
  min-width: 150px;
}

.product-detail-meta {
  display: grid;
  gap: 9px;
  margin: 0;
  color: var(--muted);
}

.product-detail-meta div {
  display: flex;
  gap: 8px;
}

.product-detail-meta dt {
  color: var(--text);
  font-weight: 850;
}

.product-detail-meta dd {
  margin: 0;
}

.product-detail-related {
  margin-top: clamp(34px, 5vw, 58px);
}

.product-detail-related h3 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  text-align: center;
}

.product-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-detail-related-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 360px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(5, 21, 36, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 22px;
  text-align: center;
}

.product-detail-related-card .product-detail-sale {
  position: absolute;
  top: 18px;
  left: 18px;
}

.product-detail-related-media {
  display: grid;
  height: 210px;
  place-items: center;
}

.product-detail-related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-related-card strong {
  align-self: end;
  font-size: 1.02rem;
  line-height: 1.25;
}

.product-detail-related-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-detail-related-price {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}

.product-detail-related-price b {
  color: var(--text);
}

html.dark-mode .product-detail-panel,
html.dark-mode .product-detail-related-card,
body.dark-mode .product-detail-panel,
body.dark-mode .product-detail-related-card {
  background: #101a27;
}

@media (max-width: 820px) {
  .product-detail-root {
    align-items: stretch;
    padding: 12px;
  }

  .product-detail-panel {
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-main-image {
    min-height: 280px;
  }

  .product-detail-main-sale {
    min-width: 66px;
    min-height: 66px;
    font-size: 0.9rem;
  }

  .product-detail-info h2 {
    font-size: clamp(1.65rem, 9vw, 2.45rem);
  }

  .product-detail-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile Menu Polish
   Makes the opened phone menu compact and easier to scan.
   ========================================================================== */
@media (max-width: 900px) {
  .nav-bar {
    left: auto;
    right: 14px;
    top: 68px;
    width: min(360px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 22px 56px rgba(8, 28, 45, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-bar a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.1;
    padding: 10px 8px;
    text-align: center;
  }

  .nav-bar a.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(7, 137, 189, 0.22);
  }

  .nav-bar a:hover:not(.active) {
    background: color-mix(in srgb, var(--primary) 10%, var(--card));
    color: var(--primary-dark);
  }

  .nav-bar a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .nav-bar {
    right: 10px;
    top: 58px;
    width: min(360px, calc(100vw - 20px));
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .nav-bar a {
    min-height: 44px;
    font-size: 0.86rem;
  }
}
