/* DESIGN SYSTEM — change tokens here to restyle the entire storefront. */
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #f7f8fa;
  --surface: #fff;
  --surface-alt: #eef1f5;
  --text: #152033;
  --muted: #576477;
  --line: #dce1e9;
  --strong: #142136;
  --strong-text: #fff;
  --accent: #bbef4e;
  --accent-text: #192514;
  --blue: #315fd7;
  --green: #187144;
  --error: #b72e3a;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius: 1.25rem;
  --shadow: 0 12px 35px #12213609;
}
[data-theme="dark"] {
  --bg: #101722;
  --surface: #182232;
  --surface-alt: #222e40;
  --text: #f1f5fa;
  --muted: #b4c0d1;
  --line: #354258;
  --strong: #e2ecfa;
  --strong-text: #111a28;
  --blue: #9ab8ff;
  --green: #8ad4a4;
  --error: #ff9aa2;
  --shadow: 0 12px 35px #0002;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}
h3 {
  font-size: 1.125rem;
}
p {
  margin-bottom: var(--space-4);
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
button {
  border: 0;
}
.icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  flex-shrink: 0;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: var(--surface);
  padding: 12px 20px;
  border-radius: 8px;
}
.skip:focus {
  top: 16px;
}
.announcement {
  background: #111c2d;
  color: #e5eedb;
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.025em;
}
/* Shared primitives */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  min-height: 48px;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.18s,
    background 0.18s;
  font-size: 14px;
  white-space: normal;
  background: var(--strong);
  color: var(--strong-text);
}
.button:hover {
  transform: translateY(-1px);
  color: var(--strong-text);
  filter: brightness(0.96);
}
.button-dark {
  background: var(--strong);
  color: var(--strong-text);
}
.button-lime {
  background: var(--accent);
  color: var(--accent-text);
}
.button-lime:hover {
  color: var(--accent-text);
}
.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.button-secondary:hover {
  background: var(--surface-alt);
  color: var(--text);
}
.button-outline-light {
  background: transparent;
  border-color: #6b7b8c;
  color: #fff;
}
.button-outline-light:hover {
  color: #fff;
  background: #ffffff0a;
}
.button-full {
  width: 100%;
  margin-top: 16px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
}
.icon-button:hover {
  background: var(--surface-alt);
  color: var(--text);
}
.icon-button.selected {
  background: #e7f3d1;
  color: #285728;
}
.icon-button.selected .icon {
  fill: #28572815;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover {
  gap: 12px;
}
.danger,
.error {
  color: var(--error);
}
.error {
  font-weight: 500;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
}
.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background: var(--surface-alt);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  color: var(--text);
}
.badge-used {
  background: #e2efcf;
  color: #355319;
}
.badge-borrador {
  background: #fff0ce;
  color: #795114;
}
.badge-publicado {
  background: #dcedde;
  color: #23613a;
}
.badge-archivado {
  background: var(--surface-alt);
}
.badge-error {
  background: #ffe4e6;
  color: #992730;
}
.notice {
  background: #fff5dc;
  border: 1px solid #dec796;
  color: #654c1b;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
}
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 28px 64px;
  min-height: 60vh;
}
.section {
  margin-top: 72px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p {
  margin: 10px 0 0;
}
.page-heading {
  padding: 24px 0 36px;
}
.page-heading p {
  color: var(--muted);
  max-width: 620px;
}
.photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 12px;
  aspect-ratio: 1;
}
.photo-empty .icon {
  width: 36px;
  height: 36px;
  opacity: 0.65;
}
.empty-state {
  text-align: center;
  padding: 50px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state > .icon {
  width: 38px;
  height: 38px;
  color: var(--muted);
  margin-bottom: 20px;
}
.empty-state h2 {
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 24px;
}
/* Header, navigation and trust bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 19px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #112316;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 25px;
  font-weight: 600;
}
.main-nav {
  display: flex;
  gap: 22px;
  white-space: nowrap;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
}
.main-nav a[aria-current] {
  color: var(--blue);
}
#header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 235px;
}
#header-search input {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  min-width: 0;
  width: 170px;
  font-size: 12px;
}
#header-search .icon-button {
  width: 36px;
  height: 36px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.counter {
  position: absolute;
  right: 1px;
  top: 1px;
  background: var(--accent);
  border-radius: 5px;
  color: #203416;
  font-size: 9px;
  min-width: 14px;
  font-weight: 700;
}
.counter:empty {
  display: none;
}
.mobile-menu {
  display: none;
}
.mobile-nav {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
.benefits {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.benefits > div {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
}
.benefits a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.benefits .icon {
  width: 16px;
  height: 16px;
}
/* Home and rotating advertisements */
.hero {
  position: relative;
  background: #111e30;
  color: #fff;
  border-radius: 25px;
  overflow: hidden;
}
.hero-slides {
  min-height: 500px;
}
.hero-slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 500px;
  padding: 48px 58px 65px;
  gap: 20px;
  align-items: center;
}
.hero-copy {
  max-width: 590px;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  color: #c5efa2;
  background: #ffffff0a;
  border: 1px solid #ffffff20;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 570px;
}
.hero-copy > p {
  color: #bdc8d6;
  font-size: 14px;
  max-width: 440px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.hero-footnote {
  font-size: 11px !important;
  color: #abb8cb !important;
}
.hero-image {
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-art {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-art > b {
  font-size: 230px;
  font-weight: 700;
  color: #bfeb54;
  letter-spacing: -0.12em;
  line-height: 1;
  transform: rotate(-9deg);
  z-index: 1;
}
.brand-art > b span {
  color: #dceaba;
  font-size: 100px;
  vertical-align: top;
  letter-spacing: -0.1em;
}
.brand-art-ring {
  width: 340px;
  height: 340px;
  position: absolute;
  border: 1px solid #bff26555;
  border-radius: 50%;
  background: radial-gradient(circle, #bff26510, transparent 68%);
  box-shadow:
    0 0 0 38px #c3f86a04,
    0 0 0 76px #c3f86a02;
}
.brand-art-label {
  position: absolute;
  bottom: 5px;
  right: 0;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: #cbd9e5;
}
.hero-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 24px;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots button {
  padding: 0;
  height: 5px;
  width: 18px;
  background: #657180;
  border-radius: 5px;
}
.hero-dots button.active {
  width: 32px;
  background: var(--accent);
}
.hero-pause {
  background: transparent;
  color: #b6c6d6;
  font-size: 10px;
  padding: 5px;
}
.hero-arrows {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.hero-arrows .icon-button {
  color: #fff;
  border-color: #ffffff25;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.hero-arrows .icon-button:hover {
  background: #ffffff10;
}
.category-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.category-strip a {
  position: relative;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s;
}
.category-strip a:hover {
  border-color: var(--blue);
  color: var(--text);
}
.category-strip a > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.category-strip h2 {
  font-size: 20px;
  margin: 8px 0 0;
}
.category-strip .icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}
.used-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 72px;
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 46px;
}
.used-promo h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.used-promo p {
  color: var(--muted);
  max-width: 400px;
}
.inspection-cards {
  display: grid;
  gap: 12px;
}
.inspection-cards > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 2px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
}
.inspection-cards .icon {
  grid-row: 1/3;
  align-self: center;
  color: var(--green);
}
.inspection-cards span {
  font-size: 12px;
  color: var(--muted);
}
.inspection-cards b {
  font-size: 14px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  padding: 25px;
}
.review-stars {
  color: var(--green);
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.review-stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.review-card > b,
.review-card > span {
  display: block;
}
.review-invitation {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.review-invitation p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.faq-section .section-heading {
  align-items: flex-start;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
/* Catalog cards and filters */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #12213610;
}
.card-photo {
  position: relative;
  background: var(--surface-alt);
  height: 240px;
  padding: 20px;
}
.card-photo > a {
  display: block;
  width: 100%;
  height: 100%;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-photo .photo-empty {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.card-photo > .badge {
  position: absolute;
  left: 13px;
  top: 13px;
  background: var(--surface);
  box-shadow: 0 3px 10px #0001;
}
.card-photo > .badge-used {
  background: #e2efcf;
}
.favorite-button {
  position: absolute;
  top: 9px;
  right: 10px;
  background: var(--surface);
  width: 34px;
  height: 34px;
}
.favorite-button .icon {
  width: 18px;
}
.card-body {
  padding: 20px;
}
.card-body > .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.card-body > .muted {
  font-size: 11px;
  min-height: 18px;
  margin-bottom: 12px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.card-bottom strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.card-bottom .tiny {
  font-size: 10px;
}
.stock {
  font-size: 11px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
}
.stock > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.stock.out {
  color: var(--muted);
}
.battery-inline {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--green);
  font-size: 11px;
  margin: 0 0 10px;
}
.battery-inline .icon {
  width: 17px;
  height: 17px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.catalog-layout .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filter-panel {
  padding: 22px;
  position: sticky;
  top: 110px;
}
.filter-panel h2 {
  font-size: 16px;
  margin-bottom: 24px;
}
.filter-panel label {
  margin-bottom: 18px;
}
.filter-panel .button {
  font-size: 12px;
  padding: 10px;
  width: 100%;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.catalog-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 11px;
}
.catalog-toolbar select {
  width: 180px;
  font-size: 12px;
  padding: 10px;
}
/* Product details and photography */
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 32px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
  align-items: start;
}
.gallery {
  position: sticky;
  top: 120px;
}
.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  height: 540px;
}
.gallery-main img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.gallery-main .photo-empty {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: transparent;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 4px;
}
.thumbnail {
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}
.thumbnail.selected {
  border: 2px solid var(--blue);
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbnail .photo-empty {
  min-height: 0;
  height: 100%;
  font-size: 0;
  aspect-ratio: auto;
}
.thumbnail .photo-empty .icon {
  width: 20px;
  height: 20px;
}
.product-info > .badge {
  margin-bottom: 16px;
}
.product-info .eyebrow {
  margin-top: 14px;
}
.product-info h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}
.product-description {
  color: var(--muted);
  font-size: 13px;
}
.product-price {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.product-info .stock {
  margin: 12px 0 25px;
}
.option-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}
.option-label b {
  font-weight: 500;
  color: var(--muted);
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.option,
.color-option {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  min-height: 41px;
}
.option.selected,
.color-option.selected {
  border: 1.5px solid var(--strong);
  font-weight: 600;
}
.color-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
.color-option > span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #80808080;
}
.purchase-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0 16px;
}
.product-advice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
}
.product-guarantee {
  display: flex;
  gap: 13px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.product-guarantee b {
  font-size: 12px;
}
.product-guarantee p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.used-report {
  padding: 20px;
  margin-top: 28px;
}
.used-report h2 {
  font-size: 15px;
  margin-bottom: 18px;
}
.battery-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.battery-heading > strong {
  margin-left: auto;
}
.battery-track {
  height: 7px;
  background: var(--surface-alt);
  border-radius: 5px;
  margin: 12px 0 20px;
  overflow: hidden;
}
.battery-track > span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 5px;
}
.report-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  font-size: 11px;
}
.report-row > span {
  color: var(--muted);
}
.report-row > b {
  text-align: right;
  font-weight: 500;
}
.verified {
  color: var(--green);
}
.used-report > p {
  font-size: 12px;
  margin: 18px 0 8px;
}
.detail-sections {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}
.detail-sections h2 {
  font-size: 23px;
}
.spec-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.spec-table tr:nth-child(odd) {
  background: var(--surface);
}
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 35%;
  font-weight: 600;
}
.included-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.included-list li {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
}
.included-list .icon {
  color: var(--green);
  width: 18px;
  height: 18px;
}
.mobile-buy {
  display: none;
}
/* Forms, cart and checkout */
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  margin-top: 7px;
  min-height: 42px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input[type="color"] {
  padding: 5px;
  width: 100%;
  height: 43px;
}
input:read-only {
  background: var(--surface-alt);
  color: var(--muted);
}
.check-label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}
.check-label input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.check-label a {
  color: var(--blue);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.span-two {
  grid-column: 1/-1;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: start;
}
.checkout-steps {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 10px 0 28px;
}
.checkout-steps li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.checkout-steps li:not(:last-child):after {
  content: "";
  position: absolute;
  height: 1px;
  right: -29px;
  top: 50%;
  width: 18px;
  background: var(--line);
}
.checkout-steps li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 11px;
}
.checkout-steps .current {
  font-weight: 600;
  color: var(--text);
}
.checkout-steps .current > span {
  background: var(--strong);
  color: var(--strong-text);
}
.checkout-steps .done > span {
  background: #e2efcf;
  color: #355319;
}
.checkout-steps .icon {
  width: 14px;
}
.cart-items {
  display: grid;
  gap: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 22px;
  gap: 28px;
}
.cart-item > img,
.cart-item > .photo-empty {
  width: 150px;
  height: 170px;
  object-fit: contain;
  aspect-ratio: auto;
}
.cart-item h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cart-item .muted {
  font-size: 11px;
  margin-bottom: 10px;
}
.quantity-actions {
  display: flex;
  align-items: end;
  gap: 24px;
  margin-top: 18px;
}
.quantity-actions input {
  width: 80px;
  min-height: 36px;
  padding: 7px 10px;
}
.quantity-actions label {
  font-size: 10px;
}
.quantity-actions .text-button {
  padding: 7px 0;
}
.order-summary {
  padding: 26px;
  position: sticky;
  top: 110px;
}
.order-summary h2 {
  font-size: 20px;
  margin-bottom: 24px;
}
.summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.summary-item img,
.summary-item > .photo-empty {
  height: 52px;
  width: 45px;
  min-height: 0;
  object-fit: contain;
  aspect-ratio: auto;
}
.summary-item .photo-empty span {
  display: none;
}
.summary-item .photo-empty .icon {
  width: 22px;
  height: 22px;
}
.summary-item > div {
  flex: 1;
  min-width: 0;
}
.summary-item b {
  display: block;
  font-size: 11px;
}
.summary-item span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.summary-item strong {
  font-size: 11px;
  white-space: nowrap;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  margin: 16px 0;
}
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin: 22px 0 0;
}
.secure-note .icon {
  width: 14px;
  height: 14px;
}
.back-shopping {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.checkout-form {
  padding: 32px;
}
.checkout-form h2 {
  font-size: 20px;
  margin: 32px 0 20px;
}
.checkout-form h2:first-child {
  margin-top: 0;
}
.payment-options {
  display: grid;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 12px;
  font-weight: 400;
}
.payment-option:has(input:checked) {
  border-color: var(--blue);
}
.payment-option > input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--blue);
}
.payment-option > span:not(.badge) {
  flex: 1;
}
.payment-option b,
.payment-option small {
  display: block;
}
.payment-option b {
  font-size: 12px;
}
.payment-option small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.payment-option.disabled {
  opacity: 0.65;
}
.checkout-form .notice {
  margin: 22px 0;
}
.receipt {
  max-width: 730px;
  margin: 32px auto;
  padding: 40px;
}
.receipt-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e2efcf;
  color: #355319;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.receipt > h1 {
  font-size: 28px;
}
.receipt > .badge {
  margin-bottom: 20px;
}
.receipt-items {
  margin-top: 26px;
}
.receipt-items > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.receipt-items small {
  display: block;
  color: var(--muted);
}
.receipt-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
/* Mini cart — native dialog provides keyboard focus trapping. */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: none;
  width: 440px;
  max-width: 100vw;
  background: var(--surface);
  color: var(--text);
  border: none;
  border-left: 1px solid var(--line);
  padding: 0;
  box-shadow: -20px 0 60px #0002;
}
.cart-drawer[open] {
  display: flex;
  flex-direction: column;
}
.cart-drawer::backdrop {
  background: #0b142366;
  backdrop-filter: blur(3px);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.drawer-header h2 {
  font-size: 22px;
  margin: 0;
}
.drawer-header .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.drawer-items {
  padding: 0 28px;
  flex: 1;
  overflow: auto;
}
.drawer-item {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-item > img,
.drawer-item > .photo-empty {
  width: 75px;
  height: 100px;
  object-fit: contain;
  min-height: 0;
  aspect-ratio: auto;
}
.drawer-item .photo-empty > span {
  display: none;
}
.drawer-item b {
  display: block;
  font-size: 14px;
}
.drawer-item div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0;
}
.drawer-item strong {
  font-size: 13px;
}
.drawer-item label {
  font-size: 10px;
  margin-top: 12px;
}
.drawer-item input {
  width: 70px;
  padding: 6px;
  min-height: 32px;
}
.drawer-bottom {
  padding: 24px 28px;
  border-top: 1px solid var(--line);
}
.drawer-bottom .summary-line {
  margin-top: 0;
}
.drawer-bottom .button-full {
  margin-top: 4px;
}
/* Guides, policy pages, contact and comparison */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-grid article {
  padding: 32px;
}
.guide-grid article > .icon {
  width: 30px;
  height: 30px;
  color: var(--green);
  margin-bottom: 24px;
}
.guide-grid article > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 12px;
}
.guide-grid h2 {
  font-size: 21px;
}
.guide-grid p {
  font-size: 13px;
  color: var(--muted);
}
.grade-guide {
  padding: 32px;
}
.grade-guide > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 26px 0;
}
.grade-guide b,
.grade-guide span {
  display: block;
}
.grade-guide span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.policy-page {
  max-width: 850px;
  margin: 30px auto;
  padding: 46px;
}
.policy-page > p {
  white-space: pre-line;
  margin: 30px 0;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-grid article {
  padding: 32px;
}
.contact-grid .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  color: var(--green);
}
.contact-grid h2 {
  font-size: 21px;
}
.contact-grid p {
  color: var(--muted);
  font-size: 13px;
}
.table-scroll {
  overflow-x: auto;
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  padding: 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  border-right: 1px solid var(--line);
}
.compare-table tr > :first-child {
  width: 150px;
}
.compare-table th img,
.compare-table th .photo-empty {
  height: 160px;
  object-fit: contain;
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
  margin-bottom: 20px;
}
.compare-table th h2 {
  font-size: 19px;
}
.compare-table th .button {
  font-size: 11px;
  padding: 9px 12px;
  min-height: 35px;
}
.compare-table th .text-button {
  display: block;
  margin-top: 10px;
}
.compare-table td {
  color: var(--muted);
}
/* Administration */
.admin-page .benefits,
.admin-page #site-footer,
.admin-page #floating-contact {
  display: none;
}
.admin-page .main-nav {
  display: none;
}
.admin-container {
  max-width: 1440px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 38px;
}
.admin-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}
.admin-sidebar > h2 {
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 30px;
}
.admin-sidebar nav {
  display: grid;
  gap: 8px;
}
.admin-sidebar nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  font-size: 12px;
  border-radius: 10px;
}
.admin-sidebar nav a[aria-current] {
  background: var(--strong);
  color: var(--strong-text);
}
.admin-sidebar .icon {
  width: 18px;
  height: 18px;
}
.admin-logout {
  margin: 28px 14px;
  font-size: 11px;
  color: var(--muted);
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-heading h1 {
  font-size: 30px;
  margin-bottom: 8px;
}
.admin-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
}
.admin-heading .button {
  font-size: 12px;
  padding: 12px 16px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi {
  padding: 22px;
}
.kpi > span {
  color: var(--muted);
  font-size: 11px;
  display: block;
}
.kpi > strong {
  display: block;
  font-size: clamp(21px, 2.2vw, 29px);
  letter-spacing: -0.04em;
  margin: 15px 0 8px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.kpi > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.admin-panel {
  padding: 28px;
  margin-bottom: 24px;
}
.admin-panel h2 {
  font-size: 19px;
}
.admin-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.low-stock-list > div,
.order-brief {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.low-stock-list b,
.order-brief b {
  display: block;
  font-weight: 500;
}
.low-stock-list small,
.order-brief small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.order-brief strong {
  font-size: 12px;
}
.admin-panel > .text-link {
  margin-top: 20px;
}
.admin-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-filters input {
  max-width: 320px;
}
.admin-filters select {
  width: 220px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 12px;
}
.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.025em;
  white-space: nowrap;
  background: var(--bg);
}
.table-product {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 190px;
}
.table-product img,
.table-product > .photo-empty {
  width: 44px;
  height: 52px;
  min-height: 0;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 6px;
}
.table-product .photo-empty > span {
  display: none;
}
.table-product .photo-empty .icon {
  width: 20px;
  height: 20px;
}
.table-product b,
.table-product small {
  display: block;
}
.table-product small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.row-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 130px;
}
.row-actions .text-button {
  font-size: 10px;
}
.admin-login {
  max-width: 480px;
  margin: 45px auto;
  padding: 40px;
}
.admin-login h1 {
  font-size: 29px;
}
.admin-login p {
  color: var(--muted);
  font-size: 13px;
}
.login-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--surface-alt);
  border-radius: 12px;
  margin-bottom: 26px;
}
.admin-login form {
  margin-top: 26px;
}
.admin-panel label {
  margin-bottom: 16px;
}
.admin-panel .form-grid label {
  margin-bottom: 0;
}
.admin-panel .form-grid {
  margin-bottom: 20px;
}
.migration-check {
  background: #fff5dc;
  color: #654c1b;
  padding: 15px;
  border-radius: 10px;
}
.variant-editor {
  border: 1px solid var(--line);
  padding: 22px;
  margin: 18px 0 0;
  border-radius: 14px;
  min-width: 0;
}
.variant-editor legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
}
.variant-editor legend span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 10px;
}
.variant-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.upload-control {
  display: inline-flex !important;
  gap: 8px;
  align-items: center;
  position: relative;
  color: var(--blue);
  background: var(--surface-alt);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
}
.upload-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.upload-control:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.upload-control .icon {
  width: 17px;
  height: 17px;
}
.variant-footer .check-label {
  margin: 0;
}
.editor-actions {
  margin-bottom: 35px;
}
.import-steps {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.import-steps li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
}
.import-steps b {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
}
.import-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  position: relative;
  margin: 25px 0 0 !important;
  cursor: pointer;
  background: var(--bg);
}
.import-dropzone .icon {
  width: 30px;
  height: 30px;
  color: var(--blue);
  margin-bottom: 15px;
}
.import-dropzone > span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.import-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.import-dropzone:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
#import-preview .data-table {
  min-width: 600px;
}
#import-preview .inline-actions {
  margin: 20px 0;
}
#import-preview .check-label {
  margin: 22px 0;
}
.admin-order {
  padding: 26px;
  margin-bottom: 20px;
}
.order-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.order-top h2 {
  font-size: 19px;
  margin: 0;
}
.order-top .eyebrow {
  font-size: 9px;
}
.order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0 0;
  font-size: 12px;
}
.order-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.admin-order ul {
  font-size: 12px;
  padding-left: 18px;
}
.order-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.order-bottom .badge {
  margin: 3px 4px 3px 0;
}
.order-bottom select {
  max-width: 180px;
  font-size: 11px;
  margin: 0;
  padding: 8px;
  min-height: 38px;
}
.order-bottom .button {
  font-size: 11px;
  padding: 9px 12px;
  min-height: 38px;
}
.admin-panel code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  padding: 3px 6px;
  background: var(--surface-alt);
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.admin-panel ol {
  font-size: 13px;
  line-height: 2;
}
.admin-panel > h2:not(:first-child) {
  margin-top: 32px;
}
.code-map {
  font-size: 12px;
}
.code-map dt {
  font-weight: 500;
  margin-top: 15px;
}
.code-map dd {
  margin: 5px 0 0;
  color: var(--muted);
}
/* Footer and contact */
#site-footer {
  background: #111c2b;
  color: #c4cfde;
  padding: 58px 28px 22px;
}
.footer-grid,
.footer-bottom {
  max-width: 1224px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-grid .brand {
  color: #fff;
  font-size: 23px;
}
.footer-grid p {
  font-size: 12px;
  color: #aebcd0;
  margin-top: 15px;
}
.footer-grid h2 {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.footer-grid a:not(.brand) {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #bdcadc;
  margin-bottom: 12px;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-grid .icon {
  width: 15px;
  height: 15px;
}
.footer-note {
  font-size: 10px !important;
  opacity: 0.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #ffffff17;
  margin-top: 35px;
  padding-top: 22px;
  font-size: 10px;
  color: #a7b6c9;
}
.footer-bottom a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-bottom .icon {
  width: 14px;
  height: 14px;
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 30px;
  background: #176e43;
  color: #fff;
  padding: 12px 18px;
  box-shadow: 0 5px 25px #123d2825;
  z-index: 45;
  font-size: 12px;
  font-weight: 500;
}
.whatsapp-float:hover {
  color: #fff;
  background: #125b37;
}
.whatsapp-float .icon {
  width: 21px;
  height: 21px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%) translateY(10px);
  background: var(--strong);
  color: var(--strong-text);
  padding: 13px 22px;
  border-radius: 12px;
  z-index: 120;
  box-shadow: 0 8px 35px #0003;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  font-size: 13px;
  max-width: calc(100vw - 32px);
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Loading states */
.skeleton {
  background: linear-gradient(
    100deg,
    var(--surface-alt) 20%,
    var(--surface) 45%,
    var(--surface-alt) 70%
  );
  background-size: 220% 100%;
  animation: skeleton 1.6s linear infinite;
  border-radius: 16px;
}
.skeleton-hero {
  height: 430px;
  margin-bottom: 30px;
}
.skeleton-card {
  height: 350px;
}
.skeleton-line {
  height: 35px;
  width: 60%;
  margin: 20px 0 30px;
}
@keyframes skeleton {
  to {
    background-position: -220% 0;
  }
}
/* Responsive layouts */
@media (max-width: 1180px) {
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 15px;
  }
  #header-search {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero-slide {
    padding: 44px 40px 65px;
  }
  .hero-controls {
    left: 40px;
    right: 40px;
  }
  .brand-art > b {
    font-size: 200px;
  }
  .brand-art-ring {
    width: 280px;
    height: 280px;
  }
  .card-photo {
    height: 215px;
  }
  .catalog-layout {
    gap: 24px;
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .catalog-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-two {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .product-detail {
    gap: 35px;
  }
  .gallery-main {
    height: 470px;
  }
}
@media (max-width: 850px) {
  .page-container {
    padding: 25px 20px 50px;
  }
  .header-inner {
    padding: 15px 20px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .benefits > div {
    overflow: auto;
    justify-content: flex-start;
    gap: 25px;
    padding: 10px 20px;
    scrollbar-width: none;
  }
  .benefits a {
    white-space: nowrap;
  }
  .hero-slide {
    grid-template-columns: 1fr 0.8fr;
    padding: 40px 32px 60px;
    min-height: 440px;
  }
  .hero-slides {
    min-height: 440px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-image {
    height: 280px;
  }
  .brand-art > b {
    font-size: 150px;
  }
  .brand-art > b span {
    font-size: 70px;
  }
  .brand-art-ring {
    width: 220px;
    height: 220px;
  }
  .hero-controls {
    left: 32px;
    right: 32px;
  }
  .hero .button {
    font-size: 11px;
    padding: 11px 14px;
    min-height: 42px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
  .card-photo {
    height: 200px;
  }
  .card-body {
    padding: 16px;
  }
  .used-promo {
    gap: 30px;
    padding: 32px;
  }
  .faq-section {
    gap: 25px;
  }
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .gallery-main {
    height: 370px;
    padding: 20px;
  }
  .thumbnail {
    height: 60px;
    width: 60px;
  }
  .product-price {
    font-size: 28px;
  }
  .purchase-actions {
    grid-template-columns: 1fr;
  }
  .product-info h1 {
    font-size: 2rem;
  }
  .detail-sections {
    gap: 30px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .checkout-form {
    padding: 26px;
  }
  .guide-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .admin-sidebar > .eyebrow,
  .admin-sidebar > h2 {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .admin-sidebar nav a {
    padding: 9px 12px;
    font-size: 11px;
  }
  .admin-logout {
    margin: 14px 12px 0;
  }
  .admin-heading {
    flex-wrap: wrap;
  }
  .admin-panel {
    padding: 24px;
  }
  .form-grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .review-invitation {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .announcement {
    font-size: 10px;
    padding: 7px 10px;
  }
  .header-inner {
    padding: 12px 16px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
    gap: 7px;
  }
  .brand-symbol {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }
  .header-actions .icon-button {
    width: 33px;
    height: 36px;
  }
  .header-actions .icon {
    width: 19px;
    height: 19px;
  }
  .header-actions > a[href="/favoritos"] {
    display: none;
  }
  .page-container {
    padding: 20px 16px 45px;
  }
  .hero {
    border-radius: 19px;
  }
  .hero-slide {
    display: block;
    min-height: 520px;
    padding: 30px 26px 50px;
  }
  .hero-slides {
    min-height: 520px;
  }
  .hero h1 {
    font-size: 2.55rem;
    max-width: 340px;
  }
  .hero-eyebrow {
    font-size: 9px;
    margin-bottom: 19px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 350px;
  }
  .hero-actions {
    margin: 22px 0 10px;
    gap: 9px;
  }
  .hero-image {
    height: 180px;
    position: absolute;
    right: 5px;
    bottom: 43px;
    width: 47%;
    opacity: 0.45;
    pointer-events: none;
  }
  .hero-image:has(img) {
    position: relative;
    height: 180px;
    width: 100%;
    opacity: 1;
    right: auto;
    bottom: auto;
    margin-top: 5px;
  }
  .hero-slide:has(.hero-image img) {
    min-height: 680px;
  }
  .hero:has(.hero-image img) .hero-slides {
    min-height: 680px;
  }
  .brand-art > b {
    font-size: 130px;
  }
  .brand-art > b span {
    font-size: 50px;
  }
  .brand-art-ring {
    width: 145px;
    height: 145px;
  }
  .brand-art-label {
    display: none;
  }
  .hero-footnote {
    position: relative;
    z-index: 2;
    font-size: 10px !important;
  }
  .hero-controls {
    left: 26px;
    right: 26px;
    bottom: 20px;
  }
  .hero-pause {
    font-size: 9px;
  }
  .category-strip {
    gap: 12px;
    margin-top: 16px;
  }
  .category-strip a {
    padding: 19px 17px;
    border-radius: 13px;
  }
  .category-strip a > span {
    font-size: 8px;
    letter-spacing: 0.035em;
  }
  .category-strip h2 {
    font-size: 17px;
    margin-top: 8px;
    max-width: 100px;
  }
  .category-strip .icon {
    width: 16px;
    height: 16px;
    right: 12px;
    top: 72%;
  }
  .section {
    margin-top: 46px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .section-heading .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .product-grid,
  .catalog-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-photo {
    height: 175px;
    padding: 16px 10px;
  }
  .card-photo > .badge {
    font-size: 8px;
    padding: 4px 6px;
    left: 8px;
    top: 8px;
  }
  .favorite-button {
    right: 5px;
    top: 5px;
    width: 29px;
    height: 29px;
  }
  .card-body {
    padding: 15px 12px;
  }
  .card-body > .eyebrow {
    font-size: 8px;
  }
  .card-body h3 {
    font-size: 16px;
  }
  .card-body > .muted {
    font-size: 9px;
    min-height: 30px;
    line-height: 1.7;
  }
  .card-bottom strong {
    font-size: 16px;
  }
  .card-bottom .icon-button {
    width: 29px;
    height: 29px;
  }
  .card-bottom .icon {
    width: 17px;
    height: 17px;
  }
  .card-body .stock {
    font-size: 9px;
  }
  .battery-inline {
    font-size: 9px;
  }
  .used-promo {
    grid-template-columns: 1fr;
    margin-top: 45px;
    gap: 28px;
    padding: 28px 22px;
  }
  .used-promo h2 {
    font-size: 28px;
  }
  .used-promo p {
    font-size: 12px;
  }
  .inspection-cards > div {
    padding: 15px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-invitation {
    padding: 22px;
  }
  .review-invitation h3 {
    font-size: 17px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-list details {
    padding: 17px 0;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .filter-panel {
    position: static;
    padding: 18px;
  }
  .filter-panel form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .filter-panel h2 {
    grid-column: 1/-1;
    margin-bottom: 0;
  }
  .filter-panel label {
    margin: 0;
    font-size: 10px;
  }
  .filter-panel .button {
    align-self: end;
    min-height: 39px;
  }
  .filter-panel .check-label {
    align-self: center;
    font-size: 10px;
  }
  .catalog-toolbar {
    gap: 10px;
  }
  .catalog-toolbar select {
    width: 145px;
    font-size: 10px;
  }
  .catalog-toolbar label {
    font-size: 10px;
  }
  .page-heading {
    padding: 16px 0 26px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery {
    position: static;
  }
  .gallery-main {
    height: 350px;
    padding: 25px;
  }
  .thumbnail {
    width: 63px;
    height: 63px;
  }
  .product-info h1 {
    font-size: 32px;
  }
  .product-info .eyebrow {
    margin-top: 13px;
  }
  .product-price {
    font-size: 30px;
  }
  .purchase-actions {
    grid-template-columns: 1fr auto;
  }
  .purchase-actions .button {
    font-size: 11px;
    padding: 13px;
  }
  .product-info .stock {
    font-size: 11px;
  }
  .detail-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mobile-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px #00008;
    padding: 13px 16px;
    z-index: 46;
  }
  .mobile-buy > div:first-child {
    display: flex;
    flex-direction: column;
  }
  .mobile-buy b {
    font-size: 18px;
    letter-spacing: -0.03em;
  }
  .mobile-buy .button {
    font-size: 11px;
    padding: 11px 14px;
    min-height: 44px;
  }
  .product-page {
    padding-bottom: 80px;
  }
  .product-page .whatsapp-float {
    bottom: 96px;
  }
  .product-page #toast {
    bottom: 95px;
  }
  .checkout-steps {
    gap: 32px;
  }
  .checkout-steps li {
    font-size: 11px;
  }
  .checkout-steps li:not(:last-child):after {
    right: -23px;
    width: 14px;
  }
  .checkout-layout {
    gap: 24px;
  }
  .cart-item {
    grid-template-columns: 95px 1fr;
    gap: 17px;
    padding: 18px;
  }
  .cart-item > img,
  .cart-item > .photo-empty {
    width: 95px;
    height: 130px;
  }
  .cart-item h2 {
    font-size: 18px;
  }
  .quantity-actions {
    gap: 15px;
  }
  .checkout-form {
    padding: 22px;
  }
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .checkout-form .form-grid {
    grid-template-columns: 1fr;
  }
  .payment-option {
    padding: 13px;
  }
  .payment-option > .badge {
    font-size: 9px;
  }
  .receipt {
    padding: 28px 22px;
    margin: 20px auto;
  }
  .receipt > h1 {
    font-size: 23px;
  }
  .receipt-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .receipt-actions > .text-link {
    justify-content: center;
    margin-top: 10px;
  }
  .guide-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid article,
  .contact-grid article {
    padding: 26px;
  }
  .grade-guide {
    padding: 26px;
  }
  .grade-guide > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .policy-page {
    padding: 28px 23px;
  }
  .policy-page h1 {
    font-size: 28px;
  }
  .admin-heading h1 {
    font-size: 26px;
  }
  .admin-sidebar nav {
    gap: 4px;
  }
  .admin-sidebar nav a {
    font-size: 10px;
    padding: 8px;
  }
  .admin-sidebar nav .icon {
    width: 15px;
    height: 15px;
  }
  .kpi-grid {
    gap: 12px;
  }
  .kpi {
    padding: 18px;
  }
  .kpi > strong {
    font-size: 23px;
  }
  .kpi > span {
    font-size: 10px;
  }
  .kpi > small {
    font-size: 9px;
  }
  .admin-panel {
    padding: 21px;
  }
  .admin-filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-filters input,
  .admin-filters select {
    max-width: none;
    width: 100%;
    margin: 0;
  }
  .variant-editor {
    padding: 18px 14px;
  }
  .variant-footer {
    gap: 12px;
  }
  .variant-footer .check-label {
    font-size: 10px;
  }
  .order-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-order {
    padding: 22px;
  }
  .order-top h2 {
    font-size: 16px;
  }
  .order-top > strong {
    font-size: 14px;
  }
  .admin-login {
    padding: 28px;
    margin: 24px 0;
  }
  .import-steps {
    gap: 12px;
  }
  .import-steps li {
    font-size: 10px;
  }
  .import-dropzone {
    padding: 28px 12px;
  }
  .admin-panel .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    gap: 30px 20px;
  }
  #site-footer {
    padding: 42px 22px 25px;
  }
  .footer-grid .brand {
    font-size: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
    right: 17px;
    bottom: 17px;
  }
  .whatsapp-float > span {
    display: none;
  }
  .empty-state {
    padding: 32px 20px;
  }
  .skeleton-hero {
    height: 480px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Route focus is announced without outlining the entire content area. */
#main:focus {
  outline: none;
}

/* Full store name stays readable on small screens. */
.brand > span:last-child {
  white-space: normal;
  max-width: 230px;
  line-height: 1.15;
}
@media (max-width: 600px) {
  .brand {
    font-size: 14px;
    gap: 7px;
  }
  .brand > span:last-child {
    max-width: 115px;
  }
}

.battery-heading strong {
  max-width: 45%;
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}
