@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #ffffff;
  --white: #ffffff;
  --black: #000000;
  --gray: #4d4d4d;
  --blue: #ff0000;
  --blue-soft: #fff9b8;
  --yellow: #f0e50d;
  --red: #ff0000;
  --green: #000000;
  --orange: #f0e50d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--black);
  padding-top: var(--header-height);
}

button,
a {
  font: inherit;
}

a {
  text-decoration: none;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.preloader-card img {
  width: min(260px, 68vw);
  height: auto;
  display: block;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-card span {
  width: 150px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
}

.preloader-card span::before {
  content: "";
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  animation: preloaderBar 1s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes preloaderBar {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(230%);
  }
}

@keyframes softFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background:
    radial-gradient(circle at 18% 100%, rgba(240, 229, 13, 0.34) 0 22%, rgba(240, 229, 13, 0) 42%),
    radial-gradient(circle at 82% 0%, rgba(255, 0, 0, 0.16) 0 26%, rgba(255, 0, 0, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 38% 50%, rgba(240, 229, 13, 0.12), transparent 28%),
    radial-gradient(circle at 68% 62%, rgba(255, 0, 0, 0.08), transparent 30%);
}

.top-bar {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--black);
  flex: 0 0 auto;
  justify-self: start;
}

.brand-logo {
  display: block;
  width: clamp(150px, 17vw, 230px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
}

.nav-link {
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 800;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  justify-self: end;
}

.auth-header-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(12, 18, 32, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--black);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.auth-header-link:hover,
.auth-header-link.active {
  border-color: rgba(227, 6, 19, 0.28);
  color: var(--red);
}

.btn-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
  color: var(--black);
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-icon::before {
  content: "";
  display: none;
}

.btn-icon svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon img {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
}

.btn-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.1),
    0 8px 18px rgba(255, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.btn-icon:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-icon:focus-visible {
  outline: 3px solid rgba(240, 229, 13, 0.65);
  outline-offset: 3px;
}

.cart-btn span {
  position: absolute;
  right: -5px;
  top: -6px;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin: 0;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 8px 14px rgba(255, 0, 0, 0.28);
  font-size: 0.68rem;
  line-height: 16px;
  font-weight: 950;
  text-align: center;
  pointer-events: none;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.cart-btn:hover::after {
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--black);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mobile-menu-btn span,
.mobile-menu-btn::before,
.mobile-menu-btn::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 2px;
}

.mobile-menu-btn::before {
  color: var(--red);
}

.mobile-menu-btn:hover {
  border-color: rgba(255, 0, 0, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  padding: 0;
}

.search-panel {
  position: fixed;
  inset: 82px 16px auto;
  z-index: 20;
  display: none;
  justify-content: center;
}

.search-panel.open {
  display: flex;
}

.search-box {
  width: min(760px, 100%);
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.search-box label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.search-row {
  display: flex;
  gap: 10px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius);
  padding: 13px 14px;
  outline: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.hero {
  margin-bottom: 44px;
}

.hero-carousel {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: clamp(430px, 54vh, 610px);
  margin-left: calc(50% - 50vw);
  padding: clamp(6px, 1vw, 16px) 0 52px;
  background: var(--white);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: start;
  width: min(1640px, calc(100vw - 96px));
  margin: 0 auto;
  padding: clamp(10px, 2vh, 22px) clamp(24px, 3vw, 48px) 0;
}

.carousel-btn {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
  display: grid;
  place-items: center;
}

.carousel-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.carousel-btn:hover {
  background: transparent;
  transform: scale(1.08);
}

.carousel-prev {
  left: calc(50% - 170px);
}

.carousel-next {
  right: calc(50% - 170px);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 180px);
  justify-content: center;
}

.carousel-dot {
  width: 26px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.16);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--red);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-transform: uppercase;
  animation: softFadeUp 0.55s ease both;
}

.eyebrow {
  color: var(--red);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(3rem, 4.7vw, 5.6rem);
  line-height: 0.92;
  margin: 0 0 18px;
  letter-spacing: 0;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: var(--red);
  display: block;
  margin-left: 0;
}

.hero-copy {
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 560px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.feature-btn,
.btn-ghost,
.add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-secondary:hover,
.feature-btn:hover,
.btn-ghost:hover,
.add-cart:hover {
  transform: translateY(-2px);
}

.hero-media {
  display: grid;
  gap: 18px;
  justify-items: stretch;
  min-width: 0;
}

.device-card {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  min-height: clamp(340px, 32vw, 480px);
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 0, 0, 0.12), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(240, 229, 13, 0.35), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,229,13,0.14));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  animation: softFadeUp 0.65s ease 0.08s both;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.device-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14);
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero-product-image {
  position: relative;
  z-index: 1;
  width: min(78%, 560px);
  height: min(72%, 470px);
  filter: drop-shadow(0 24px 24px rgba(15, 23, 42, 0.18));
  animation: gentleFloat 4.5s ease-in-out infinite;
}

.hero-office-printer {
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  background: url("../../Img/impresorasOficina.png") center / contain no-repeat;
  border-radius: 0;
}

.hero-home-printer,
.hero-computer,
.hero-readers,
.hero-label-printer {
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  border: 0;
  border-radius: 0;
  transform: none;
}

.hero-office-printer::before,
.hero-office-printer::after,
.hero-home-printer::before,
.hero-home-printer::after,
.hero-computer::before,
.hero-computer::after,
.hero-readers::before,
.hero-readers::after,
.hero-label-printer::before,
.hero-label-printer::after {
  content: "";
  position: absolute;
  display: block;
}

.hero-office-printer::before {
  display: none;
}

.hero-office-printer::after {
  display: none;
}

.hero-home-printer {
  background: url("../../Img/impresorasHogar.png") center / contain no-repeat;
}

.hero-home-printer::before {
  display: none;
}

.hero-home-printer::after {
  display: none;
}

.hero-computer {
  background: url("../../Img/computoHogar.png") center / contain no-repeat;
}

.hero-computer::after {
  display: none;
}

.hero-readers {
  background: url("../../Img/lectores.png") center / contain no-repeat;
}

.hero-readers::before {
  display: none;
}

.hero-readers::after {
  display: none;
}

.hero-label-printer {
  background: url("../../Img/impresorasEtiquetas.png") center / contain no-repeat;
}

.hero-label-printer::before {
  display: none;
}

.hero-label-printer::after {
  display: none;
}

.hero-feature-card {
  display: none;
}

.hero-feature-card::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}

.feature-top {
  top: 13%;
  right: 7%;
}

.feature-mid {
  left: 8%;
  top: 42%;
}

.feature-bottom {
  right: 10%;
  bottom: 11%;
}

.device-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.device-image-1 {
  width: 76%;
  height: 76%;
  background:
    radial-gradient(circle at 33% 47%, #111827 0 18%, transparent 19%),
    radial-gradient(circle at 68% 47%, #111827 0 18%, transparent 19%),
    linear-gradient(90deg, transparent 22%, #111827 23% 28%, transparent 29% 71%, #111827 72% 77%, transparent 78%),
    radial-gradient(circle at 50% 35%, transparent 0 30%, #111827 31% 35%, transparent 36%),
    linear-gradient(135deg, #fff9b8, #ffffff);
}

.device-card .device-image-2 {
  width: 76%;
  height: 76%;
  margin: 0;
}

.floating-chip {
  position: absolute;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--black);
}

.chip-top {
  right: 22px;
  top: 32px;
}

.chip-bottom {
  left: 22px;
  bottom: 32px;
}

.hero-description {
  width: 100%;
  background: white;
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 30px);
  box-shadow: var(--shadow);
}

.hero-description h3 {
  margin: 0 0 14px;
}

.hero-description p {
  margin: 0;
  color: var(--gray);
  line-height: 1.75;
}

.categories-section {
  margin: 8px 0 34px;
}

.categories-heading {
  max-width: 620px;
  margin: 0 auto 26px;
  text-align: center;
}

.categories-heading p:first-child {
  margin: 0 0 8px;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.categories-heading h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(1.9rem, 3.2vw, 2.95rem);
  line-height: 1;
}

.categories-heading h2 span {
  color: var(--yellow);
}

.categories-heading p:last-child {
  max-width: 500px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 12px;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.feature-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 18px;
  color: #111827;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 80% 74%, rgba(255, 0, 0, 0.12), transparent 27%),
    radial-gradient(circle at 18% 82%, rgba(240, 229, 13, 0.32), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  animation: softFadeUp 0.5s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 0, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.11);
}

.feature-card:nth-child(2) {
  animation-delay: 0.04s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.12s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.16s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.2s;
}

.feature-black {
  --category-accent: #f0e50d;
}

.feature-yellow,
.feature-blue {
  --category-accent: #ff0000;
}

.feature-red {
  --category-accent: #ff0000;
}

.feature-white {
  --category-accent: #ff0000;
}

.feature-green {
  --category-accent: #f0e50d;
}

.feature-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 190px);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 42px;
}

.feature-label {
  margin: 0 0 3px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #374151;
  font-weight: 750;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.feature-btn {
  width: fit-content;
  min-width: 72px;
  background: var(--red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 7px 11px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.feature-red .feature-btn,
.feature-white .feature-btn,
.feature-yellow .feature-btn,
.feature-blue .feature-btn,
.feature-black .feature-btn,
.feature-green .feature-btn {
  color: #ffffff;
}

.feature-btn.light {
  background: var(--red);
  color: #ffffff;
}

.feature-btn.red-text {
  color: #ffffff;
}

.category-icon {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 11px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  object-fit: contain;
  object-position: center;
  padding: 7px;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.2);
  filter: none;
}

.category-icon-light {
  filter: none;
}

.feature-black .category-icon,
.feature-green .category-icon {
  filter: none;
}

.feature-yellow .category-icon,
.feature-red .category-icon,
.feature-white .category-icon,
.feature-blue .category-icon {
  filter: none;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--category-accent, var(--yellow));
  opacity: 0.15;
  filter: blur(12px);
}

.category-visual {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: min(58%, 270px);
  height: calc(100% - 8px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.12));
  pointer-events: none;
  transition: transform 0.24s ease;
}

.feature-card:hover .category-visual {
  transform: translateY(-3px) scale(1.03);
}

.category-printers {
  min-height: 180px;
  padding: 18px;
}

.category-printers .category-icon {
  top: 10px;
  left: 11px;
  width: 34px;
  height: 34px;
  padding: 7px;
}

.category-printers .feature-copy {
  width: min(54%, 190px);
  min-height: 130px;
  padding-top: 42px;
}

.category-printers .feature-label {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.category-printers h3 {
  margin-bottom: 6px;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
}

.category-printers .feature-btn {
  min-width: 72px;
  padding: 7px 11px;
  font-size: 0.72rem;
}

.category-printers .category-visual {
  right: 0;
  bottom: 0;
  width: min(58%, 270px);
  height: calc(100% - 8px);
  max-width: none;
  max-height: none;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 24px;
}

.info-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  min-height: 76px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.09);
}

.info-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 900;
}

.info-icon::before,
.info-icon::after {
  content: "";
  display: none;
}

.info-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.info-card h4 {
  margin: 0 0 3px;
  color: #111827;
  font-size: 0.78rem;
  line-height: 1.15;
}

.info-card p {
  margin: 0;
  color: var(--gray);
  font-size: 0.72rem;
  line-height: 1.28;
}

.device-image-2 {
  width: 340px;
  height: 280px;
  background:
    radial-gradient(circle at 48% 38%, #111827 0 18%, transparent 19%),
    radial-gradient(circle at 48% 38%, transparent 0 28%, #111827 29% 34%, transparent 35%),
    linear-gradient(135deg, #fff9b8, #ffffff);
  border-radius: var(--radius);
}

.best-sellers {
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 10px;
}

.section-header p {
  margin: 0;
  color: var(--gray);
}

/* Grilla general de productos reutilizada en home y tienda. */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.best-sellers {
  overflow: hidden;
}

.best-sellers .products-grid {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  scrollbar-width: none;
  padding: 10px 12px 30px;
}

.best-sellers .products-grid::-webkit-scrollbar {
  display: none;
}

/* Tarjeta base de producto. En tienda se complementa con .shop-product-card. */
.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 0;
  animation: softFadeUp 0.5s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.best-sellers .product-card {
  flex: 0 0 calc((100% - 72px) / 5);
  scroll-snap-align: start;
}

.best-sellers .product-card:nth-child(2) {
  animation-delay: 0.06s;
}

.best-sellers .product-card:nth-child(3) {
  animation-delay: 0.12s;
}

.best-sellers .product-card:nth-child(4) {
  animation-delay: 0.18s;
}

.best-sellers .product-card:nth-child(5) {
  animation-delay: 0.24s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.product-card p {
  margin: 0 0 10px;
  color: var(--gray);
}

.rating {
  display: none;
}

.add-cart {
  width: 100%;
  background: var(--red);
  color: #ffffff;
  padding: 11px 16px;
}

.add-cart:hover {
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.product-card.is-hidden {
  display: none;
}

.shop-category-section.is-hidden,
.shop-subcategory.is-hidden,
.search-empty-note.is-hidden {
  display: none;
}

.cart-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.cart-drawer.open .cart-overlay {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 12% 100%, rgba(240, 229, 13, 0.22), transparent 34%),
    radial-gradient(circle at 94% 0%, rgba(255, 0, 0, 0.12), transparent 38%),
    #ffffff;
  box-shadow: -24px 0 50px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.cart-header span {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-header h2 {
  margin: 4px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.cart-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.cart-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  overflow: auto;
}

.cart-empty {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}

.cart-empty strong {
  color: var(--black);
  font-size: 1.1rem;
}

.cart-empty p {
  margin: 10px 0 0;
  color: var(--gray);
  line-height: 1.5;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.cart-item-image {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
}

.cart-item-image img {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
  object-position: center;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-info h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 0.98rem;
  line-height: 1.25;
}

.cart-item-code {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 950;
}

.cart-item-info p {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 950;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-item-actions button {
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--black);
  font-weight: 950;
  cursor: pointer;
}

.cart-item-actions span {
  min-width: 28px;
  text-align: center;
  font-weight: 950;
}

.cart-item-actions .cart-remove {
  padding: 0 10px;
  color: var(--red);
}

.cart-footer {
  display: grid;
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-subtotal span {
  color: var(--gray);
  font-weight: 800;
}

.cart-subtotal strong {
  color: var(--black);
  font-size: 1.45rem;
  font-weight: 950;
}

.cart-pay-wompi,
.cart-checkout,
.cart-clear {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 950;
  cursor: pointer;
}

.cart-pay-wompi {
  background: var(--red);
  color: #ffffff;
}

.cart-pay-wompi:disabled {
  opacity: 0.58;
  cursor: wait;
}

.cart-checkout {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: var(--black);
}

.cart-checkout.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-payment-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.35;
}

.cart-clear {
  background: transparent;
  color: var(--gray);
}

.payment-result-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 0, 0, 0.08), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(240, 229, 13, 0.18), transparent 34%),
    #f4f6f8;
}

.payment-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-result-panel {
  width: min(780px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.payment-result-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.payment-result-brand img {
  width: 150px;
  height: auto;
}

.payment-result-brand span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
  font-weight: 950;
}

.payment-result-status {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.1);
  color: var(--red);
  font-weight: 950;
}

.payment-result-panel.is-approved .payment-result-status {
  background: rgba(34, 197, 94, 0.14);
  color: #12803a;
}

.payment-result-panel.is-declined .payment-result-status {
  background: rgba(255, 0, 0, 0.1);
  color: var(--red);
}

.payment-result-panel.is-pending .payment-result-status {
  background: rgba(240, 229, 13, 0.28);
  color: #756c00;
}

.payment-result-panel h1 {
  margin: 10px 0 14px;
  color: var(--black);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1;
}

.payment-result-panel p {
  color: #475569;
  line-height: 1.6;
}

.payment-result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.payment-result-details div {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #f8fafc;
}

.payment-result-details dt,
.payment-result-details dd {
  margin: 0;
}

.payment-result-details dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-result-details dd {
  margin-top: 8px;
  color: var(--black);
  font-weight: 950;
  word-break: break-word;
}

.payment-result-next {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 0, 0, 0.06);
}

.payment-result-next strong {
  color: var(--black);
  font-weight: 950;
}

.payment-result-next p {
  margin: 8px 0 0;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.checkout-body {
  padding-top: 0;
  background:
    radial-gradient(circle at 9% 0%, rgba(255, 0, 0, 0.08), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(240, 229, 13, 0.18), transparent 32%),
    #f7f8fb;
}

.checkout-topbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 36px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.checkout-topbar strong {
  justify-self: center;
  font-size: clamp(1.3rem, 4vw, 2rem);
}

.checkout-topbar a:last-child {
  color: var(--red);
  font-weight: 900;
}

.checkout-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}

.checkout-main {
  display: grid;
  gap: 18px;
  align-content: start;
}

.checkout-block,
.checkout-summary {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.checkout-block {
  padding: clamp(18px, 3vw, 28px);
}

.checkout-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-block-heading div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-block-heading span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-weight: 950;
}

.checkout-block-heading h1,
.checkout-block-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: 1.35rem;
}

.checkout-block-heading h2 small {
  color: #64748b;
  font-size: 0.9rem;
}

.checkout-block-heading a {
  color: #0756a5;
  font-weight: 850;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 900;
}

.checkout-form .wide {
  grid-column: 1 / -1;
}

.checkout-delivery-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-delivery-method legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 900;
}

.checkout-delivery-method label {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.checkout-delivery-method input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.checkout-delivery-method label:has(input:checked) {
  border-color: rgba(255, 0, 0, 0.48);
  background: rgba(255, 0, 0, 0.04);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.08);
}

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

.checkout-delivery-method strong {
  color: var(--black);
  font-size: 0.94rem;
}

.checkout-delivery-method small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 750;
}

.checkout-form.is-pickup .delivery-address-field {
  display: none;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.checkout-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-weight: 800;
}

.checkout-items-shell {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
}

.checkout-items-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 130px;
  gap: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-items {
  display: grid;
}

.checkout-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 96px 130px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.checkout-item-media {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.checkout-item-media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.checkout-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.checkout-item p {
  margin: 0 0 6px;
  color: #64748b;
}

.checkout-item small {
  color: #475569;
  font-weight: 850;
}

.checkout-item-qty {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 950;
}

.checkout-item-total {
  justify-self: end;
  color: var(--red);
  font-size: 1rem;
  font-weight: 950;
}

.checkout-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
}

.checkout-summary #checkoutPayButton {
  background: var(--red);
}

.checkout-summary .btn-primary,
.checkout-summary .btn-secondary {
  width: 100%;
  justify-content: center;
}

.checkout-summary p {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}

.checkout-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.checkout-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary dt,
.checkout-summary dd {
  margin: 0;
}

.checkout-total {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 950;
}

.checkout-empty {
  margin: 0;
  color: #64748b;
}

.shop-page {
  padding-top: 24px;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 34px;
  min-height: 340px;
  margin-bottom: 38px;
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 0, 0, 0.16), transparent 34%),
    radial-gradient(circle at 20% 100%, rgba(240, 229, 13, 0.28), transparent 38%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb strong {
  color: var(--black);
}

.shop-hero h1 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.shop-hero-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0;
  color: var(--gray);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  font-weight: 650;
}

.shop-hero-products {
  position: relative;
  min-height: 300px;
}

.shop-hero-products::before {
  content: "";
  position: absolute;
  inset: 28px 0 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 20% 82%, rgba(240, 229, 13, 0.24), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(255, 0, 0, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.58);
}

.shop-hero-item {
  position: absolute;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 26px 30px rgba(15, 23, 42, 0.14));
}

.shop-hero-printer {
  width: 48%;
  height: 82%;
  left: 2%;
  bottom: -4%;
  background-image: url("../../Img/impresorasOficina.png");
}

.shop-hero-computer {
  width: 42%;
  height: 70%;
  left: 32%;
  top: 2%;
  background-image: url("../../Img/computoHogar.png");
}

.shop-hero-reader {
  width: 38%;
  height: 62%;
  right: 0;
  bottom: 0;
  background-image: url("../../Img/lectores.png");
}

/* Layout de la pagina Tienda: sidebar de categorias + contenido de productos. */
.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 34px;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 100%, rgba(240, 229, 13, 0.16), transparent 42%),
    radial-gradient(circle at 90% 0%, rgba(255, 0, 0, 0.08), transparent 42%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.shop-sidebar h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.shop-filter-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.shop-filter-disclosure {
  display: block;
}

.shop-filter-disclosure summary {
  display: none;
}

.shop-filter-panel h2 {
  margin-bottom: 2px;
}

.shop-filter-panel label,
.shop-price-filter {
  display: grid;
  gap: 6px;
}

.shop-filter-panel span,
.shop-price-filter > span {
  color: #334155;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-filter-panel select,
.shop-price-filter input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--black);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  outline: 0;
  padding: 0 10px;
}

.shop-filter-panel select:focus,
.shop-price-filter input:focus {
  border-color: rgba(255, 0, 0, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08);
}

.shop-price-filter > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shop-clear-filters {
  min-height: 40px;
  border: 1px solid rgba(255, 0, 0, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 0, 0, 0.06);
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.shop-clear-filters:hover {
  background: rgba(255, 0, 0, 0.1);
}

/* Enlaces del menu lateral. Cambia los hash si agregas una categoria. */
.shop-category {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  color: var(--gray);
  font-weight: 750;
  font-size: 0.94rem;
  border-radius: var(--radius);
  padding: 8px 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-category:first-of-type {
  grid-template-columns: minmax(0, 1fr) auto;
}

.shop-category:hover,
.shop-category.active {
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
}

.shop-category img,
.shop-category-icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--red);
  object-fit: contain;
}

.shop-category-icon {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.shop-category strong {
  color: inherit;
  font-size: 0.86rem;
}

.shop-subcategory-nav {
  display: none;
  gap: 5px;
  margin: -2px 0 4px 58px;
}

.shop-subcategory-nav.is-open {
  display: grid;
}

.shop-subcategory-nav a {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.shop-subcategory-nav a:hover {
  color: var(--red);
}

/* Barra superior del catalogo. Los botones de vista son visuales por ahora. */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.shop-toolbar p {
  margin: 0;
  color: var(--gray);
  font-weight: 650;
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--gray);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.shop-controls select {
  border: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.shop-view {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.shop-grid-view {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  place-content: center;
  gap: 4px;
}

.shop-list-view {
  display: grid;
  place-content: center;
  gap: 4px;
}

.shop-view.active {
  background: var(--red);
  border-color: var(--red);
}

.shop-view span,
.shop-view i {
  display: block;
  width: 7px;
  height: 7px;
  border: 2px solid var(--black);
  border-radius: 2px;
}

.shop-view span {
  display: block;
}

.shop-view.active span,
.shop-view.active i {
  border-color: white;
}

.shop-view i {
  width: 18px;
  height: 3px;
  border-width: 0;
  background: var(--black);
}

.shop-view.active i {
  background: white;
}

/* Grillas internas de cada categoria de tienda. */
.shop-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Seccion generada por app.js para separar productos por categoria. */
.shop-category-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 34px;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 0, 0, 0.07), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(240, 229, 13, 0.16), transparent 34%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

/* Encabezado de cada categoria: titulo, descripcion corta y cantidad de productos. */
.shop-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.shop-category-heading .eyebrow {
  margin-bottom: 8px;
}

.shop-category-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1;
  font-weight: 950;
}

.shop-category-heading > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

.shop-subcategories {
  display: grid;
  gap: 18px;
}

.shop-subcategory {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.shop-subcategory.is-empty {
  background: rgba(248, 250, 252, 0.55);
}

.shop-subcategory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.shop-subcategory-heading h3 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.2;
}

.shop-subcategory-heading span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.shop-empty-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius);
  color: var(--gray);
  font-weight: 700;
}

/* Tarjeta especifica de tienda: usa imagen, precio, rating y boton de carrito. */
.shop-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* Etiquetas sobre productos: Oferta, Nuevo, B2B, etc. */
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}

.product-badge.new {
  background: var(--yellow);
  color: var(--black);
}

/* Area visual del producto. La imagen real depende de la clase extra: shop-product-laptop, etc. */
.shop-product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.shop-product-card .shop-product-media,
.product-detail-main-image .shop-product-media,
.product-detail-thumb .shop-product-media,
.cart-item-image {
  background: #ffffff !important;
  background-image: none !important;
}

.shop-product-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

/* Imagenes/ilustraciones de producto. Para agregar una imagen nueva, crea otra clase similar. */
.shop-product-dynamic { background-image: none; }
.shop-product-printer-office { background-image: url("../../Img/impresorasOficina.png"); }
.shop-product-printer-home { background-image: url("../../Img/impresorasHogar.png"); }
.shop-product-laptop { background-image: url("../../Img/computoHogar.png"); }
.shop-product-reader { background-image: url("../../Img/lectores.png"); }
.shop-product-label { background-image: url("../../Img/impresorasEtiquetas.png"); }
.shop-product-inks { background-image: radial-gradient(circle at 37% 52%, #111827 0 15%, transparent 16%), radial-gradient(circle at 58% 50%, #ff0000 0 13%, transparent 14%), radial-gradient(circle at 48% 70%, #f0e50d 0 16%, transparent 17%); }
.shop-product-toner { background-image: linear-gradient(90deg, transparent 22%, #111827 23% 78%, transparent 79%), linear-gradient(180deg, transparent 34%, #334155 35% 60%, transparent 61%); }
.shop-product-audio { background-image: radial-gradient(circle at 32% 52%, #111827 0 15%, transparent 16%), radial-gradient(circle at 70% 52%, #111827 0 22%, transparent 23%), linear-gradient(90deg, transparent 18%, #1f2937 19% 44%, transparent 45% 55%, #1f2937 56% 86%, transparent 87%); }
.shop-product-cable { background-image: linear-gradient(25deg, transparent 20%, #111827 21% 31%, #2563eb 32% 43%, transparent 44%), linear-gradient(25deg, transparent 50%, #111827 51% 61%, #2563eb 62% 73%, transparent 74%); }
.shop-product-tools { background-image: linear-gradient(90deg, transparent 24%, #111827 25% 76%, transparent 77%), linear-gradient(180deg, transparent 38%, #f0e50d 39% 58%, transparent 59%); }
.shop-product-board { background-image: linear-gradient(12deg, transparent 20%, #1d4ed8 21% 72%, transparent 73%), radial-gradient(circle at 46% 52%, #111827 0 17%, transparent 18%); }
.shop-product-rent { background-image: url("../../Img/impresorasOficina.png"); }

.shop-product-card h3 {
  min-height: 42px;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.22;
}

.product-item-code {
  width: max-content;
  max-width: 100%;
  margin: -2px 0 10px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.shop-product-card .price {
  margin: 2px 0 12px;
  color: var(--red);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.2;
}

.shop-product-card .price span {
  margin-left: 6px;
  color: #9ca3af;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: line-through;
}

.shop-product-card .rating {
  display: none;
}

.shop-product-card .add-cart {
  margin-top: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.best-sellers .product-card .add-cart,
.shop-page .product-card .add-cart {
  background: var(--yellow);
  color: var(--black);
}

.best-sellers .product-card .add-cart:hover,
.shop-page .product-card .add-cart:hover {
  background: #e0d50c;
  box-shadow: 0 10px 20px rgba(240, 229, 13, 0.24);
}

/* Boton directo de compra. Lo crea app.js en cada producto de la tienda. */
.shop-product-card .shop-buy-now {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 950;
  text-align: center;
  cursor: pointer;
}

.shop-product-card .shop-buy-now {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.18);
}

.shop-product-card .shop-buy-now:hover {
  background: #d90000;
  transform: translateY(-1px);
}

.shop-page .shop-product-card {
  cursor: pointer;
}

.shop-page .shop-product-card:focus-visible {
  outline: 3px solid rgba(240, 229, 13, 0.7);
  outline-offset: 4px;
}

.shop-page .shop-product-card .add-cart,
.shop-page .shop-product-card .shop-buy-now {
  cursor: pointer;
}

.product-detail-page {
  padding-top: 18px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  margin-bottom: 18px;
  min-height: clamp(470px, 52vw, 620px);
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 100%, rgba(240, 229, 13, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 0, 0, 0.09), transparent 34%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.product-detail-main-image {
  min-height: clamp(380px, 42vw, 520px);
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.product-detail-main-image .shop-product-media {
  width: 100%;
  min-height: clamp(380px, 42vw, 520px);
  margin: 0;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-detail-thumb {
  min-height: 94px;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
}

.product-detail-thumb.active {
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(255, 0, 0, 0.12);
}

.product-detail-thumb .shop-product-media {
  display: block;
  width: 100%;
  min-height: 82px;
  height: 82px;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 9px;
}

.product-detail-info {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.product-detail-category {
  display: none;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
}

.product-detail-item {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
}

.product-detail-info h1 {
  margin: 0;
  color: var(--black);
  max-width: 720px;
  font-size: clamp(2.15rem, 3.65vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-detail-summary {
  margin: 0;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 650;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail-meta span {
  border: 1px solid rgba(12, 18, 32, 0.1);
  border-radius: 999px;
  padding: 6px 9px;
  background: #f8fafc;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.product-detail-price strong {
  color: var(--black);
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
  font-weight: 950;
}

.product-detail-price span {
  color: #9ca3af;
  font-weight: 850;
  text-decoration: line-through;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 620px);
  margin-top: 8px;
}

.product-detail-actions .btn-primary,
.product-detail-actions .btn-secondary {
  min-height: 54px;
  padding: 15px 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.product-detail-actions .btn-secondary {
  border: 1px solid rgba(255, 0, 0, 0.22);
  background: #ffffff;
  color: var(--red);
}

.product-detail-actions .btn-primary {
  background: var(--red);
  color: #ffffff;
}

.product-detail-actions .btn-secondary:hover {
  border-color: var(--red);
  box-shadow: 0 16px 28px rgba(255, 0, 0, 0.12);
}

.product-detail-extra {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  gap: 14px;
  margin-bottom: 34px;
}

.product-detail-extra article,
.product-detail-empty {
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.product-detail-extra h2,
.product-detail-empty h1 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1.25rem;
}

.product-detail-extra p,
.product-detail-extra li,
.product-detail-empty p {
  color: var(--gray);
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 650;
}

.product-detail-extra ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.shop-info-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.shop-newsletter {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 24px;
  margin: 18px 0 42px;
  padding: 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 100%, rgba(240, 229, 13, 0.28), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(255, 0, 0, 0.14), transparent 42%),
    var(--red);
  color: #ffffff;
}

.shop-newsletter h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.shop-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.shop-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.shop-newsletter input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 16px;
  font: inherit;
}

.shop-newsletter .btn-primary {
  background: #ffffff;
  color: var(--red);
}

.company-page {
  padding-top: 24px;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 1.14fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 30px;
  padding: clamp(30px, 4.6vw, 62px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 0, 0, 0.16), transparent 36%),
    radial-gradient(circle at 16% 100%, rgba(240, 229, 13, 0.3), transparent 40%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.company-hero h1 {
  margin: 0 0 16px;
  color: var(--black);
  max-width: 660px;
  font-size: clamp(2.7rem, 4.75vw, 5.85rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.company-hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--gray);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
  font-weight: 650;
}

.company-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.company-hero-card {
  position: relative;
  display: grid;
  min-height: 440px;
  padding: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 82%, rgba(240, 229, 13, 0.32), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(255, 0, 0, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.company-hero-card > img {
  width: min(260px, 60%);
  height: auto;
  align-self: start;
}

.company-hero-product {
  position: absolute;
  inset: 84px 24px 108px;
  background: url("../../Img/impresorasOficina.png") center / contain no-repeat;
  filter: drop-shadow(0 24px 32px rgba(15, 23, 42, 0.16));
}

.company-hero-card ul {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-hero-card li {
  display: grid;
  gap: 4px;
  min-height: 94px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.company-hero-card strong {
  color: var(--red);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.12;
  font-weight: 950;
}

.company-hero-card span {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 700;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.company-stats article,
.company-values-grid article,
.company-contact-grid article,
.company-solutions-grid article {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.company-stats article {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.company-stats strong {
  color: var(--red);
  font-size: clamp(1.8rem, 2.5vw, 2.65rem);
  line-height: 1.05;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.company-stats span {
  color: var(--gray);
  font-weight: 750;
}

.company-split,
.company-contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 42px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 100%, rgba(240, 229, 13, 0.18), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(255, 0, 0, 0.1), transparent 38%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.company-split h2,
.company-contact h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.02;
  font-weight: 950;
}

.company-split p,
.company-contact p {
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 600;
}

.company-split div:last-child p:first-child {
  margin-top: 0;
}

.company-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.company-pillars article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 100%, rgba(240, 229, 13, 0.26), transparent 40%),
    linear-gradient(135deg, #111827, #020617);
}

.company-pillars article:nth-child(2) {
  color: var(--black);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 0, 0, 0.18), transparent 38%),
    linear-gradient(135deg, #f0e50d, #ffffff);
}

.company-pillars span,
.company-values-grid span {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.company-pillars h3 {
  max-width: 560px;
  margin: 12px 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.company-pillars p {
  max-width: 620px;
  margin: 0;
  color: inherit;
  line-height: 1.7;
  font-weight: 650;
}

.company-values,
.company-solutions,
.company-locations {
  margin-bottom: 42px;
}

.company-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.company-values-grid article {
  padding: 24px;
}

.company-values-grid h3 {
  margin: 12px 0 10px;
  color: var(--black);
  font-size: 1.16rem;
}

.company-values-grid p {
  margin: 0;
  color: var(--gray);
  line-height: 1.65;
}

.company-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.company-location-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.company-location-photo {
  position: relative;
  height: clamp(240px, 28vw, 330px);
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(240, 229, 13, 0.72), rgba(255, 255, 255, 0.7)),
    #f8fafc;
}

.company-location-photo-bogota {
  background:
    linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 255, 255, 0.72)),
    #f8fafc;
}

.company-location-photo-image {
  background: #f8fafc;
}

.company-location-photo-image::before {
  display: none;
}

.company-location-photo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.company-location-card:first-child .company-location-photo-image img {
  object-position: center bottom;
}

.company-location-photo::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 2px dashed rgba(15, 23, 42, 0.18);
  border-radius: 50%;
}

.company-location-photo span {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 900;
}

.company-location-content {
  padding: 26px;
}

.company-location-content > span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.company-location-content h3 {
  margin: 8px 0 10px;
  color: var(--black);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.company-location-content p {
  min-height: 54px;
  margin: 0 0 18px;
  color: var(--gray);
  line-height: 1.65;
}

.company-location-details {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.company-location-details strong {
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 950;
}

.company-location-details a,
.company-location-details span {
  color: var(--red);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.company-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-solutions-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 20px;
  font-weight: 850;
  color: var(--black);
}

.company-solutions-grid img {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: var(--red);
  object-fit: contain;
}

.company-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-contact-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.company-contact-grid h3 {
  margin: 0;
  color: var(--black);
  font-size: 0.96rem;
}

.company-contact-grid a,
.company-contact-grid span {
  color: var(--red);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-page {
  padding-top: 24px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 44px;
  margin-bottom: 32px;
  padding: clamp(30px, 4.6vw, 62px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 0, 0, 0.14), transparent 36%),
    radial-gradient(circle at 14% 96%, rgba(240, 229, 13, 0.3), transparent 40%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--black);
  font-size: clamp(2.5rem, 4.8vw, 5.6rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--gray);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
  font-weight: 650;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-hero-card {
  position: relative;
  min-height: 410px;
  display: grid;
  align-content: space-between;
  padding: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 85%, rgba(240, 229, 13, 0.36), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(255, 0, 0, 0.16), transparent 36%),
    #111827;
  color: #ffffff;
}

.contact-hero-card img {
  position: relative;
  z-index: 1;
  width: min(250px, 70%);
  height: auto;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.contact-hero-product {
  position: absolute;
  inset: 94px 18px 64px;
  background: url("../../Img/impresorasOficina.png") center / contain no-repeat;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.28));
}

.contact-hero-card span {
  position: relative;
  z-index: 1;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.45;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.contact-info-panel,
.contact-page-form,
.contact-locations article {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.contact-info-panel,
.contact-page-form {
  padding: clamp(22px, 3vw, 32px);
}

.contact-info-panel h2 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
  font-weight: 950;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-methods article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-methods strong {
  color: var(--black);
}

.contact-methods a {
  color: var(--red);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-page-form select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #ffffff;
  color: var(--black);
  font: inherit;
}

.contact-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 42px;
}

.contact-locations article {
  padding: clamp(24px, 3vw, 34px);
}

.contact-locations span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 950;
}

.contact-locations h3 {
  margin: 0 0 8px;
  color: var(--black);
}

.contact-locations p {
  margin: 0 0 22px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 650;
}

.contact-locations-section {
  margin-bottom: 42px;
}

.contact-location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 0, 0, 0.1), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(240, 229, 13, 0.2), transparent 42%),
    #ffffff;
}

.contact-location-card h3 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.contact-location-details {
  display: grid;
  gap: 5px;
  width: 100%;
  margin: auto 0 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-location-details strong {
  color: var(--black);
  font-size: 0.82rem;
}

.contact-location-details a {
  color: var(--red);
  font-size: 1.08rem;
  font-weight: 900;
}

.blog-preview,
.commercial-partner,
.contact-section {
  margin-top: 38px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: calc(66.6667% - 6px);
  margin-inline: auto;
}

.blog-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.about-card {
  overflow: hidden;
  padding: 0;
}

.about-card-image {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: cover;
  object-position: center;
}

.about-card-image-tall {
  height: 280px;
  object-position: center top;
}

.about-card-image-centered {
  object-position: center center;
}

.about-card-content {
  padding: 24px;
}

.blog-card span {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-card h3 {
  margin: 12px 0 10px;
  line-height: 1.25;
}

.blog-card p {
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.commercial-partner-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #001d68;
  box-shadow: var(--shadow);
  animation: softFadeUp 0.65s ease both;
  transition: box-shadow 0.35s ease;
}

.commercial-partner-banner:hover {
  box-shadow: 0 24px 58px rgba(0, 29, 104, 0.28);
}

.commercial-partner-banner:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.commercial-partner-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.45s ease;
  transform-origin: center;
}

.commercial-partner-banner:hover img,
.commercial-partner-banner:focus-visible img {
  transform: scale(1.012);
}

.commercial-partner {
  margin-bottom: 48px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-section p {
  color: var(--gray);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 54px 0 0;
  background: #f4f4f4;
  color: var(--gray);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-tab {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 0;
  color: var(--black);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.footer-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  padding: 8px 0 42px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column h3 {
  color: var(--black);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.footer-column a,
.footer-column span {
  color: var(--gray);
  line-height: 1.45;
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--red);
}

.footer-contact {
  gap: 10px;
}

.footer-contact h3 {
  margin-bottom: 10px;
}

.footer-contact-item {
  display: grid;
  gap: 2px;
}

.footer-contact-item span {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.footer-contact-item strong {
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-contact a:hover strong,
.footer-contact a:hover span {
  color: var(--red);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom p {
  margin: 0;
  color: var(--black);
  font-weight: 800;
}

.footer-bottom span {
  text-align: right;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #06452f;
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(6, 69, 47, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #053b29;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(6, 69, 47, 0.34);
}

.whatsapp-float img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

@media (min-width: 1600px) {
  main {
    width: min(1320px, calc(100% - 48px));
  }

  .top-bar,
  .footer-content,
  .footer-bottom {
    width: min(1320px, calc(100% - 48px));
  }

  .hero-slide {
    width: min(1760px, calc(100vw - 160px));
  }

  .carousel-prev {
    left: calc(50% - 170px);
  }

  .carousel-next {
    right: calc(50% - 170px);
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .best-sellers .product-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .info-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slide {
    grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 5.15rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }
}

@media (max-width: 980px) {
  .blog-grid {
    width: 100%;
  }

  .feature-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-copy {
    width: min(52%, 220px);
  }

  .category-visual {
    width: min(45%, 180px);
    height: calc(100% - 20px);
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .best-sellers .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-slide {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 28px;
    padding: 0 max(24px, calc((100vw - 760px) / 2));
  }

  .hero-carousel {
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 58px;
  }

  .hero-text {
    max-width: none;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-media {
    max-width: 680px;
    width: 100%;
    justify-self: center;
  }

  .device-card {
    max-width: 680px;
    justify-self: center;
  }

  .carousel-btn {
    bottom: 10px;
  }

  .carousel-btn:hover {
    transform: scale(1.04);
  }

  .carousel-prev {
    left: calc(50% - 160px);
  }

  .carousel-next {
    right: calc(50% - 160px);
  }

  .carousel-dots {
    bottom: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  :root {
    --header-height: 58px;
  }

  .top-bar {
    width: min(calc(100% - 18px), 1180px);
    min-height: var(--header-height);
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(96px, 30vw, 132px);
    height: 34px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    transform: none;
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 0;
    padding: 10px;
    background:
      radial-gradient(circle at 12% 100%, rgba(240, 229, 13, 0.28), transparent 42%),
      radial-gradient(circle at 88% 0%, rgba(255, 0, 0, 0.12), transparent 46%),
      rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 0, 0, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    border-radius: 8px;
    padding: 11px 12px;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 850;
    text-align: left;
  }

  .nav-link:hover,
  .nav-link.active {
    background: #fff0f0;
    color: var(--red);
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-actions {
    gap: 6px;
    margin-left: auto;
  }

  .btn-icon,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .auth-header-link {
    min-height: 34px;
    border-radius: 9px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .btn-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.4;
  }

  .btn-icon img {
    width: 18px;
    height: 18px;
  }

  .cart-btn span {
    right: -4px;
    top: -5px;
    min-width: 16px;
    height: 16px;
    border-width: 2px;
    padding: 0 4px;
    font-size: 0.58rem;
    line-height: 12px;
  }

  .info-strip,
  .blog-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .categories-heading {
    margin-bottom: 22px;
  }

  .categories-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .feature-card,
  .category-printers {
    min-height: 144px;
    height: 144px;
    padding: 14px;
  }

  .feature-card .feature-copy,
  .category-printers .feature-copy {
    position: static;
    width: 58%;
    min-height: 0;
    height: 100%;
    padding-top: 8px;
    display: grid;
    grid-template-rows: 18px 38px 22px;
    gap: 4px;
    align-content: start;
  }

  .feature-card .category-icon,
  .category-printers .category-icon {
    display: none;
  }

  .category-visual,
  .category-printers .category-visual {
    right: 7px;
    bottom: 7px;
    width: 50%;
    height: 50%;
  }

  .feature-card .feature-label,
  .category-printers .feature-label {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 18px;
    margin: 0;
    font-size: 0.48rem;
    line-height: 1.22;
    overflow: hidden;
  }

  .feature-card h3,
  .category-printers h3 {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 38px;
    margin: 0;
    font-size: clamp(0.7rem, 3.45vw, 0.88rem);
    line-height: 1.08;
    overflow: hidden;
  }

  .feature-card .feature-btn,
  .category-printers .feature-btn {
    position: static;
    width: 66px;
    min-width: 66px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.54rem;
    line-height: 1;
    flex: 0 0 auto;
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.22);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.7rem);
    line-height: 0.96;
  }

  .hero-carousel {
    padding: 34px 0 78px;
  }

  .hero-slide {
    display: grid;
    width: 100%;
    gap: 16px;
    padding: 0 max(18px, calc((100vw - 560px) / 2));
  }

  .hero-media {
    order: 1;
    max-width: min(100%, 560px);
    padding-top: 18px;
  }

  .hero-text {
    order: 2;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  .hero .eyebrow {
    margin: 0 0 8px;
    font-size: 0.74rem;
  }

  .hero-copy {
    max-width: 460px;
    margin: 0 auto 16px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-actions {
    justify-content: center;
    gap: 10px;
  }

  .device-card {
    min-height: clamp(290px, 58vw, 360px);
  }

  .hero-product-image {
    width: min(72%, 440px);
    height: min(64%, 330px);
  }

  .hero-office-printer {
    width: calc(100% - 34px);
    height: calc(100% - 48px);
    background-position: center;
  }

  .hero-home-printer,
  .hero-computer,
  .hero-readers,
  .hero-label-printer {
    width: calc(100% - 34px);
    height: calc(100% - 48px);
    background-position: center;
  }

  .hero-feature-card {
    min-width: 116px;
    max-width: 156px;
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .floating-chip {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero-description {
    padding: 18px;
  }

  .carousel-prev {
    left: calc(50% - 130px);
  }

  .carousel-next {
    right: calc(50% - 130px);
  }

  .carousel-dots {
    bottom: 33px;
  }

  .device-image-2 {
    width: 100%;
    height: 240px;
  }

  .search-row,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0 24px;
  }

  .info-strip {
    gap: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  .info-card {
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 13px 14px;
    box-shadow: none;
    background: transparent;
    gap: 11px;
  }

  .info-card + .info-card {
    border-top: 1px solid rgba(15, 23, 42, 0.07);
  }

  .info-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .info-icon img {
    width: 17px;
    height: 17px;
  }

  .info-card h4 {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .info-card p {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .footer-tab {
    width: calc(100% - 32px);
    text-align: center;
  }

  .footer-column {
    display: block;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0;
  }

  .footer-column h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    margin: 0;
    color: #111827;
    cursor: pointer;
    font-size: 0.86rem;
    -webkit-tap-highlight-color: transparent;
  }

  .footer-column h3::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff0f0;
    color: var(--red);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
  }

  .footer-column.is-open h3::after {
    content: "-";
  }

  .footer-column > :not(h3) {
    display: none;
  }

  .footer-column.is-open > :not(h3) {
    display: block;
  }

  .footer-column.is-open {
    padding-bottom: 12px;
  }

  .footer-column a,
  .footer-column span {
    padding: 5px 0;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-bottom span {
    text-align: left;
  }

  .contact-section {
    padding: 24px;
    gap: 20px;
  }

  .contact-section h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .contact-section p {
    font-size: 0.95rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0 16px;
  }
}

@media (max-width: 520px) {
  main {
    width: min(calc(100% - 24px), 1180px);
    padding-bottom: 44px;
  }

  .brand-logo {
    width: clamp(88px, 28vw, 118px);
    height: 32px;
  }

  .search-panel {
    inset: 68px 12px auto;
  }

  .search-box {
    padding: 14px;
  }

  .hero {
    margin-bottom: 34px;
  }

  .hero-carousel {
    min-height: auto;
    padding: 42px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 0.98;
    margin-bottom: 10px;
  }

  .hero-copy {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .hero-actions {
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-actions a,
  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
    min-height: 42px;
    padding: 11px 14px;
    font-size: 0.72rem;
  }

  .device-card {
    min-height: clamp(240px, 70vw, 300px);
  }

  .hero-product-image {
    width: 66%;
    height: 58%;
  }

  .hero-office-printer {
    width: calc(100% - 24px);
    height: calc(100% - 42px);
  }

  .hero-home-printer,
  .hero-computer,
  .hero-readers,
  .hero-label-printer {
    width: calc(100% - 24px);
    height: calc(100% - 42px);
  }

  .hero-feature-card {
    min-width: 0;
    max-width: 126px;
    padding: 8px 9px;
    font-size: 0.72rem;
  }

  .feature-top {
    top: 10px;
    right: 10px;
  }

  .feature-mid {
    left: 10px;
    top: auto;
    bottom: 62px;
  }

  .feature-bottom {
    right: 10px;
    bottom: 10px;
  }

  .device-card .device-image-2,
  .device-image-1 {
    width: 84%;
    height: 78%;
  }

  .floating-chip {
    max-width: calc(100% - 32px);
  }

  .chip-top {
    right: 12px;
    top: 14px;
  }

  .chip-bottom {
    left: 12px;
    bottom: 14px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .carousel-prev {
    left: 24px;
  }

  .carousel-next {
    right: 24px;
  }

  .carousel-dots {
    bottom: 28px;
  }

  .carousel-dot {
    width: 22px;
    height: 4px;
  }

  .feature-card,
  .blog-card,
  .contact-section {
    padding: 18px;
  }

  .about-card {
    padding: 0;
  }

  .about-card-image {
    height: 150px;
  }

  .about-card-image-tall {
    height: 240px;
  }

  .about-card-content {
    padding: 18px;
  }

  .product-card {
    padding: 12px;
    border-radius: 10px;
  }

  .best-sellers .product-card {
    flex-basis: min(82vw, 280px);
  }

  .category-icon {
    display: none;
    left: 11px;
    top: 10px;
    width: 32px;
    height: 32px;
    padding: 7px;
  }

  .feature-copy {
    padding-top: 46px;
    width: 100%;
  }

  .feature-card h3 {
    font-size: clamp(0.68rem, 4vw, 0.92rem);
  }

  .product-card h3 {
    min-height: 32px;
    margin-bottom: 7px;
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .product-card p {
    margin-bottom: 7px;
    font-size: 0.68rem;
  }

  .product-card .add-cart {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .footer-content,
  .footer-bottom {
    width: min(calc(100% - 24px), 1180px);
  }
}

@media (max-width: 1180px) {
  .shop-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .shop-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .product-detail-layout,
  .product-detail-extra {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    min-height: 0;
    gap: 24px;
  }

  .product-detail-main-image,
  .product-detail-main-image .shop-product-media {
    min-height: 300px;
  }

  .shop-hero {
    grid-template-columns: 1fr;
  }

  .shop-hero-products {
    min-height: 280px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-filter-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .shop-filter-panel h2 {
    grid-column: 1 / -1;
  }

  .shop-sidebar > h2 {
    grid-column: 1 / -1;
  }

  .shop-info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-hero,
  .contact-hero,
  .contact-main,
  .company-split,
  .company-contact {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    min-height: 350px;
  }

  .contact-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-hero-card {
    min-height: 380px;
  }

  .company-stats,
  .company-values-grid,
  .company-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .payment-result-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-result-details {
    grid-template-columns: 1fr;
  }

  .checkout-topbar {
    grid-template-columns: 1fr auto;
  }

  .checkout-topbar strong {
    justify-self: end;
    font-size: 1.25rem;
  }

  .checkout-topbar a:last-child {
    display: none;
  }

  .checkout-page {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .checkout-delivery-method {
    grid-template-columns: 1fr;
  }

  .checkout-items-head {
    display: none;
  }

  .checkout-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .checkout-item-info {
    grid-column: 2 / 4;
  }

  .checkout-item-qty {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-item-total {
    grid-column: 3;
    justify-self: end;
  }

  .checkout-item-media {
    grid-row: 1 / 3;
    width: 76px;
    height: 76px;
  }

  .product-detail-page {
    padding-top: 10px;
  }

  .product-detail-layout {
    padding: 18px;
  }

  .product-detail-info h1 {
    font-size: clamp(1.65rem, 8.5vw, 2.8rem);
  }

  .product-detail-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .shop-page {
    padding-top: 14px;
  }

  .shop-hero {
    min-height: 0;
    gap: 22px;
    padding: 26px 20px;
  }

  .shop-hero h1 {
    font-size: clamp(3.1rem, 17vw, 5.4rem);
  }

  .shop-hero-products {
    min-height: 230px;
  }

  .shop-hero-products::before {
    inset: 12px 0 0;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .shop-controls label {
    flex: 1 1 220px;
    justify-content: space-between;
  }

  .shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-product-card {
    padding: 10px;
  }

  .shop-category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .shop-newsletter {
    grid-template-columns: 1fr;
  }

  .company-page {
    padding-top: 14px;
  }

  .contact-page {
    padding-top: 14px;
  }

  .contact-hero {
    gap: 24px;
    padding: 28px 20px;
  }

  .contact-hero h1 {
    font-size: clamp(2.2rem, 11vw, 4.2rem);
  }

  .contact-hero-actions a {
    width: 100%;
  }

  .contact-hero-card {
    min-height: 430px;
    padding: 22px;
  }

  .contact-hero-product {
    inset: 92px 10px 78px;
  }

  .company-hero {
    gap: 24px;
    padding: 28px 20px;
  }

  .company-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .company-hero-actions {
    align-items: stretch;
  }

  .company-hero-actions a {
    width: 100%;
  }

  .company-hero-card ul,
  .company-pillars,
  .company-contact-grid {
    grid-template-columns: 1fr;
  }

  .company-hero-card {
    min-height: 0;
    padding: 22px;
    gap: 18px;
  }

  .company-hero-product {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 190px;
    background-size: contain;
  }

  .company-split,
  .company-contact {
    gap: 20px;
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .product-detail-main-image,
  .product-detail-main-image .shop-product-media {
    min-height: 230px;
  }

  .product-detail-layout {
    gap: 18px;
    padding: 14px;
  }

  .product-detail-info {
    gap: 11px;
  }

  .product-detail-meta span {
    font-size: 0.74rem;
  }

  .product-detail-actions .btn-primary,
  .product-detail-actions .btn-secondary {
    min-height: 50px;
  }

  .product-detail-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-thumb {
    min-height: 74px;
    padding: 5px;
  }

  .product-detail-thumb .shop-product-media {
    min-height: 64px;
    height: 64px;
  }

  .shop-sidebar,
  .shop-info-strip,
  .shop-newsletter form {
    grid-template-columns: 1fr;
  }

  .shop-filter-panel {
    grid-template-columns: 1fr;
  }

  .shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shop-category {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .shop-hero-products {
    min-height: 190px;
  }

  .shop-hero-printer {
    width: 54%;
  }

  .shop-hero-computer {
    width: 48%;
    left: 28%;
  }

  .shop-hero-reader {
    width: 42%;
  }

  .shop-product-card h3 {
    min-height: 0;
  }

  .shop-newsletter {
    padding: 22px;
  }

  .company-solutions-grid,
  .company-locations-grid,
  .contact-locations {
    grid-template-columns: 1fr;
  }

  .company-stats,
  .company-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-hero-card {
    min-height: 0;
  }

  .company-hero-product {
    min-height: 160px;
  }

  .company-pillars article,
  .company-values-grid article,
  .company-contact-grid article,
  .company-solutions-grid article,
  .company-stats article,
  .contact-locations article {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 86px;
    height: 30px;
  }

  .btn-icon,
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }

  .auth-header-link {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .cart-btn span {
    right: -5px;
    top: -6px;
  }

  .header-actions {
    gap: 5px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 12vw, 2.65rem);
  }

  .contact-section h2 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.user-menu {
  position: relative;
}

.user-menu-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(12, 18, 32, 0.14);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.user-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 190px;
  display: none;
  border: 1px solid rgba(12, 18, 32, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 8px;
}

.user-menu.open .user-menu-panel {
  display: grid;
}

.user-menu-panel a,
.user-menu-panel button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 10px;
  color: var(--dark);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.role-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.role-button.admin {
  background: #fff5b8;
}

.role-button.customer {
  background: #eef2ff;
}

.role-button.seller {
  background: #e8f7ef;
}

.role-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.role-modal.open {
  display: grid;
  place-items: center;
}

.role-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.role-modal-card {
  position: relative;
  width: min(420px, calc(100% - 32px));
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 26px;
}

.role-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.role-options {
  display: flex;
  gap: 10px;
}

.role-options button {
  flex: 1;
  min-height: 42px;
  border: 1px solid rgba(12, 18, 32, 0.14);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.role-options button.active {
  background: var(--yellow);
}

.auth-page,
.account-page {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 48px 0;
}

.auth-page {
  display: grid;
  place-items: center;
}

.auth-card,
.account-panel,
.admin-section,
.admin-stats article {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 28px;
}

.auth-card {
  width: min(100%, 460px);
}

.auth-card form {
  display: grid;
  gap: 14px;
}

.auth-card label,
.contact-form label {
  display: grid;
  gap: 6px;
  color: #111827;
  font-weight: 850;
}

.auth-card input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(12, 18, 32, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

.auth-card .auth-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: #374151;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.auth-card .auth-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.auth-check a {
  color: var(--red);
  font-weight: 850;
  text-decoration: none;
}

.auth-check a:hover {
  text-decoration: underline;
}

.auth-message {
  min-height: 0;
  margin: 0;
  border-radius: 10px;
  color: #374151;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
}

.auth-message:not(:empty) {
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: #eff6ff;
  padding: 10px 12px;
  color: #1d4ed8;
}

.auth-success {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.auth-success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #ecfdf3;
  color: #087443;
  font-size: 2rem;
  font-weight: 900;
}

.auth-success h2 {
  margin: 0;
  font-size: 1.7rem;
}

.auth-success p {
  margin: 0;
  color: #374151;
  line-height: 1.55;
}

.auth-success-email {
  width: 100%;
  border: 1px solid rgba(12, 18, 32, 0.12);
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
  color: #111827;
  font-weight: 850;
  word-break: break-word;
}

.auth-success-button {
  width: 100%;
  text-align: center;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  color: #111827;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.password-toggle .eye-closed,
.password-toggle.is-visible .eye-open {
  display: none;
}

.password-toggle.is-visible .eye-closed {
  display: block;
}

.contact-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.auth-message.error,
.admin-message.error {
  color: var(--red);
  font-weight: 850;
}

.auth-message.error:not(:empty) {
  border-color: rgba(239, 17, 17, 0.2);
  background: #fff1f1;
}

.account-layout,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.account-layout {
  grid-template-columns: 1fr;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(220px, 0.8fr));
  gap: 18px;
  align-items: start;
}

.account-profile-grid h2,
.account-section-heading h3,
.account-order-top h4 {
  margin: 0;
  color: var(--black);
}

.account-profile-grid p,
.account-data-group p,
.account-empty p,
.account-order-top p,
.account-order-detail p {
  margin: 8px 0 0;
  color: #475569;
}

.account-data-group {
  min-height: 100%;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.account-data-group strong,
.account-section-heading span,
.account-order-top span,
.account-order-summary span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.account-data-group small {
  display: block;
  margin-top: 8px;
  color: #64748b;
}

.account-orders {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 18, 32, 0.08);
}

.account-section-heading {
  display: grid;
  gap: 4px;
}

.account-orders-list {
  display: grid;
  gap: 14px;
}

.account-empty,
.account-order-card {
  border: 1px solid rgba(12, 18, 32, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.account-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
}

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

.account-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.account-order-top,
.account-order-summary,
.account-order-detail,
.account-order-items div {
  display: grid;
  gap: 12px;
}

.account-order-top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.account-order-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-order-summary div {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.account-order-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--black);
  word-break: break-word;
}

.account-order-detail {
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1.15fr);
}

.account-order-detail section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(12, 18, 32, 0.08);
  border-radius: 8px;
}

.account-order-detail h5 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1rem;
}

.account-order-items {
  display: grid;
  gap: 10px;
}

.account-order-items div {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(12, 18, 32, 0.08);
}

.account-order-items div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.account-order-items span {
  color: var(--black);
  font-weight: 900;
}

.account-order-items small {
  color: #64748b;
}

.account-order-items strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--red);
}

.admin-stats article {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-stats article span,
.admin-stats article strong {
  display: block;
}

.analytics-panel {
  display: grid;
  gap: 18px;
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.analytics-cards article,
.analytics-grid article,
.analytics-empty {
  border: 1px solid rgba(12, 18, 32, 0.1);
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px;
}

.analytics-cards span,
.analytics-list small {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analytics-cards strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 2rem;
  line-height: 1;
}

.analytics-cards p,
.analytics-cards small,
.analytics-empty p {
  margin: 6px 0 0;
  color: #4b5563;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-grid h3,
.analytics-empty strong {
  display: block;
  margin: 0 0 12px;
  color: #111827;
  font-size: 1rem;
}

.analytics-list {
  display: grid;
  gap: 10px;
}

.analytics-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  border-top: 1px solid rgba(12, 18, 32, 0.08);
  padding-top: 10px;
}

.analytics-list span {
  overflow: hidden;
  color: #111827;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-list strong {
  color: var(--red);
}

.analytics-list small {
  grid-column: 1 / -1;
  text-transform: none;
  letter-spacing: 0;
}

.analytics-empty {
  display: grid;
  gap: 10px;
}

.analytics-empty .btn-secondary {
  justify-self: start;
}

.admin-orders-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-latest-order .admin-order-card {
  border-color: rgba(255, 0, 0, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 0, 0, 0.07), transparent 30%),
    #ffffff;
}

.admin-order-card-compact .admin-order-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-order-card-compact > .btn-secondary {
  justify-self: start;
}

.admin-order-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.admin-order-top span,
.admin-order-summary span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-top h3 {
  margin: 4px 0;
  color: var(--black);
  font-size: 1.25rem;
}

.admin-order-top p,
.admin-order-grid p {
  margin: 0;
  color: #64748b;
}

.admin-order-status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(240, 229, 13, 0.3);
  color: #756c00;
  font-size: 0.8rem;
}

.admin-order-status.approved {
  background: rgba(34, 197, 94, 0.14);
  color: #12803a;
}

.admin-order-status.declined,
.admin-order-status.error,
.admin-order-status.voided {
  background: rgba(255, 0, 0, 0.09);
  color: var(--red);
}

.admin-order-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-order-summary div {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-order-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--black);
  word-break: break-word;
}

.admin-order-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-order-controls label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-controls select {
  min-height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--black);
  font: inherit;
  font-weight: 850;
  padding: 0 10px;
  text-transform: none;
}

.admin-order-controls > span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 12px;
}

.admin-order-grid section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
}

.admin-order-grid h4 {
  margin: 0 0 10px;
  color: var(--black);
}

.admin-order-grid p {
  margin: 5px 0;
}

.admin-order-items {
  display: grid;
  gap: 10px;
}

.admin-order-items div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-order-items div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-order-items span {
  color: var(--black);
  font-weight: 900;
}

.admin-order-items small {
  grid-column: 1;
  color: #64748b;
}

.admin-order-items strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--red);
}

@media (max-width: 820px) {
  .analytics-cards,
  .analytics-grid,
  .account-profile-grid,
  .account-order-summary,
  .account-order-detail,
  .admin-order-summary,
  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .account-order-top {
    grid-template-columns: 1fr;
  }

  .account-order-top .admin-order-status {
    justify-self: start;
  }
}

/* Ajustes finales de responsive para tienda y header movil. */
@media (max-width: 740px) {
  body {
    padding-top: var(--header-height);
  }

  .site-header {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .top-bar {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .brand-logo {
    width: clamp(86px, 24vw, 112px);
    height: 32px;
  }

  .header-actions {
    min-width: 0;
  }

  .user-menu-button,
  .auth-header-link {
    max-width: 96px;
    overflow: hidden;
    padding: 0 8px;
  }

  .user-name,
  .auth-header-link {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-icon,
  .mobile-menu-btn {
    flex: 0 0 auto;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    gap: 6px;
    border-radius: 12px;
  }

  .nav.open {
    display: grid;
  }

  .nav-link {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  main {
    width: min(100% - 18px, 1180px);
  }

  .shop-page {
    padding-top: 10px;
  }

  .categories-section {
    padding-top: 18px;
  }

  .categories-heading {
    margin-bottom: 14px;
  }

  .categories-heading h2 {
    font-size: clamp(1.45rem, 7.5vw, 2.05rem);
    line-height: 1.05;
  }

  .categories-heading p:last-child {
    font-size: 0.78rem;
    line-height: 1.35;
  }

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

  .feature-card,
  .category-printers {
    min-height: 118px;
    height: 118px;
    padding: 10px;
  }

  .feature-card .feature-copy,
  .category-printers .feature-copy {
    width: 60%;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(28px, auto) 24px;
    gap: 3px;
    align-content: center;
    padding-top: 0;
  }

  .feature-card .feature-label,
  .category-printers .feature-label {
    height: auto;
    font-size: 0.46rem;
    line-height: 1.15;
  }

  .feature-card h3,
  .category-printers h3 {
    height: auto;
    min-height: 0;
    font-size: clamp(0.68rem, 3.6vw, 0.86rem);
    line-height: 1.08;
  }

  .feature-card .feature-btn,
  .category-printers .feature-btn {
    width: max-content;
    min-width: 58px;
    height: 22px;
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.5rem;
  }

  .category-visual,
  .category-printers .category-visual {
    right: 4px;
    bottom: 4px;
    width: 48%;
    height: 58%;
  }

  .shop-hero {
    min-height: 0;
    margin-bottom: 18px;
    padding: 18px 16px;
    gap: 12px;
  }

  .shop-hero h1 {
    margin-bottom: 8px;
    font-size: clamp(2.35rem, 15vw, 3.8rem);
    line-height: 0.95;
  }

  .shop-hero-copy > p:not(.eyebrow) {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .shop-hero-products {
    min-height: 150px;
  }

  .shop-layout {
    gap: 16px;
    margin-bottom: 20px;
  }

  .shop-sidebar {
    gap: 8px;
    padding: 14px;
  }

  .shop-filter-disclosure {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 10px;
  }

  .shop-filter-disclosure summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 0, 0, 0.18);
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.05);
    padding: 0 12px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 950;
    cursor: pointer;
    list-style: none;
  }

  .shop-filter-disclosure summary::-webkit-details-marker {
    display: none;
  }

  .shop-filter-disclosure summary::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
  }

  .shop-filter-disclosure[open] summary::after {
    content: "-";
  }

  .shop-filter-disclosure:not([open]) .shop-filter-panel {
    display: none;
  }

  .shop-filter-panel {
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-bottom: 0;
  }

  .shop-filter-panel h2 {
    display: none;
  }

  .shop-sidebar > h2 {
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .shop-category {
    min-height: 44px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .shop-category:first-of-type {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shop-category img,
  .shop-category-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .shop-subcategory-nav {
    margin-left: 40px;
  }

  .shop-toolbar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .shop-controls {
    display: none;
  }

  .shop-category-section {
    margin-bottom: 16px;
    padding: 12px;
  }

  .shop-category-heading {
    gap: 6px;
    margin-bottom: 12px;
  }

  .shop-category-heading h2 {
    font-size: clamp(1.2rem, 6.8vw, 1.7rem);
  }

  .shop-category-heading > span,
  .shop-subcategory-heading span {
    min-height: 26px;
    font-size: 0.7rem;
  }

  .shop-subcategories,
  .shop-products {
    gap: 10px;
  }

  .shop-subcategory {
    padding: 10px;
  }

  .shop-subcategory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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

  .shop-product-card {
    min-height: 100%;
    padding: 9px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }

  .shop-product-card .shop-product-media {
    aspect-ratio: 1.08 / 0.82;
    margin-bottom: 8px;
  }

  .product-badge {
    top: 9px;
    left: 9px;
    padding: 4px 6px;
    font-size: 0.55rem;
  }

  .shop-product-card h3 {
    min-height: 34px;
    margin-bottom: 6px;
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .product-item-code {
    margin-bottom: 7px;
    padding: 4px 6px;
    font-size: 0.58rem;
  }

  .shop-product-card .price {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .shop-product-card .shop-buy-now {
    min-height: 32px;
    margin-top: 5px;
    font-size: 0.68rem;
  }

  .shop-info-strip {
    gap: 8px;
    margin-top: 14px;
  }

  .shop-info-strip .info-card {
    min-height: 62px;
    padding: 10px;
  }

  .shop-info-strip h4 {
    font-size: 0.78rem;
  }

  .shop-info-strip p {
    font-size: 0.68rem;
  }

  .whatsapp-float {
    right: 10px;
    bottom: 10px;
    min-height: 38px;
    padding: 0 9px 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .top-bar {
    width: min(calc(100% - 12px), 1180px);
  }

  .brand-logo {
    width: 78px;
  }

  .user-menu-button,
  .auth-header-link {
    max-width: 82px;
  }

  .btn-icon,
  .mobile-menu-btn {
    width: 31px;
    height: 31px;
  }

  .shop-hero-products {
    min-height: 126px;
  }

  .shop-products {
    gap: 8px;
  }

  .shop-product-card {
    padding: 8px;
  }
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f5f7fb;
}

.admin-body {
  padding-top: 0;
  background: #f5f7fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(12, 18, 32, 0.1);
  background: #ffffff;
  padding: 24px;
}

.admin-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-brand img {
  width: 176px;
}

.admin-menu-check,
.admin-menu-toggle {
  display: none;
}

.admin-menu-panel {
  display: contents;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-exit {
  border-radius: 12px;
  padding: 12px;
  color: #344054;
  font-weight: 900;
}

.admin-sidebar nav a:hover {
  background: #fff5f5;
  color: var(--red);
}

.admin-sidebar nav a.active {
  background: #fff5f5;
  color: var(--red);
}

.admin-exit {
  margin-top: auto;
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.admin-content {
  padding: 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-publish-header {
  align-items: flex-end;
  border-bottom: 1px solid rgba(12, 18, 32, 0.08);
  padding-bottom: 24px;
}

.admin-publish-header h1 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.admin-publish-header p {
  max-width: 680px;
  margin: 0;
  color: #475467;
  font-weight: 650;
  line-height: 1.6;
}

.admin-header,
.admin-section,
.admin-stats {
  margin-bottom: 22px;
}

.admin-publish-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.admin-product-form {
  display: grid;
  gap: 6px;
}

.admin-form-block {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(12, 18, 32, 0.08);
  border-radius: 14px;
  margin: 0;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(12, 18, 32, 0.07);
}

.admin-form-block:last-of-type {
  border-bottom: 1px solid rgba(12, 18, 32, 0.08);
}

.admin-form-block::before {
  display: none;
}

.admin-block-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  color: #111827;
  font-size: 1rem;
  font-weight: 950;
}

.admin-block-intro i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff0f2;
  color: var(--red);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-form-block:nth-of-type(2) .admin-block-intro i {
  background: #e8f7ef;
  color: #00a85a;
}

.admin-form-block:nth-of-type(3) .admin-block-intro i {
  background: #eef4ff;
  color: #2563eb;
}

.admin-form-block:nth-of-type(4) .admin-block-intro i {
  background: #fff5df;
  color: #f59e0b;
}

.admin-form-block:nth-of-type(5) .admin-block-intro i {
  background: #f1e8ff;
  color: #7c3aed;
}

.admin-block-intro span,
.admin-block-intro small {
  display: block;
}

.admin-block-intro small {
  margin-top: 4px;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.admin-form-grid,
.admin-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
  clear: both;
}

.publish-grid-basic .wide {
  grid-column: span 2;
}

.publish-grid-price {
  grid-template-columns: 230px 220px minmax(260px, 1fr) 160px;
}

.publish-grid-price .wide {
  grid-column: span 1;
}

.publish-grid-price .admin-field:nth-last-child(2),
.publish-grid-price .admin-field:last-child {
  grid-column: span 2;
}

.publish-grid-description {
  grid-template-columns: 1fr;
}

.publish-grid-description .wide {
  grid-column: span 1;
}

.admin-features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-field,
.admin-upload-field,
.admin-check-field,
.admin-toggle-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #111827;
  font-weight: 900;
}

.admin-field small {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-check-field,
.admin-toggle-field {
  flex-direction: row;
  align-items: center;
  align-self: end;
  min-height: 54px;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 850;
}

.admin-check-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.admin-toggle-field {
  justify-content: flex-end;
}

.admin-toggle-field input {
  width: 34px;
  min-height: 20px;
  accent-color: #c8d0dd;
}

.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(12, 18, 32, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfcff;
  color: #111827;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-product-form input:focus,
.admin-product-form select:focus,
.admin-product-form textarea:focus {
  border-color: rgba(255, 0, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.08);
}

.admin-product-form textarea {
  min-height: 54px;
  padding: 12px;
  line-height: 1.55;
  resize: vertical;
}

.admin-upload-field {
  align-items: center;
  justify-items: center;
  border: 2px dashed rgba(255, 0, 0, 0.28);
  border-radius: 10px;
  background: #fbfcff;
  padding: 18px;
  text-align: center;
}

.admin-upload-field strong {
  color: #111827;
  font-size: 1rem;
}

.admin-upload-field input {
  max-width: 520px;
  border: 0;
  background: transparent;
  padding: 10px 0 0;
}

.admin-product-form .admin-check-field input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.admin-product-form .admin-toggle-field input {
  width: 34px;
  min-height: 20px;
  padding: 0;
}

.admin-product-form small,
.admin-table td span {
  color: #667085;
  font-weight: 750;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border: 1px solid rgba(12, 18, 32, 0.08);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(12, 18, 32, 0.07);
}

.admin-form-actions .btn-primary,
.admin-form-actions .btn-secondary {
  min-width: 170px;
  text-align: center;
}

.admin-product-form > .admin-message {
  margin: 0;
  padding: 0 32px 24px;
}


.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-products-page .admin-table {
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(12, 18, 32, 0.1);
  padding: 14px 10px;
  text-align: left;
}

.admin-products-page .admin-table th:last-child,
.admin-products-page .admin-table td:last-child {
  width: 88px;
  min-width: 88px;
  padding-right: 8px;
}

.admin-messages-table {
  min-width: 760px;
}

.admin-message-cell {
  max-width: 460px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.admin-product-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(12, 18, 32, 0.1);
  border-radius: 10px;
  background: #f5f7fb;
  object-fit: cover;
}

.admin-products-toolbar {
  margin: 0 0 18px;
}

.admin-products-toolbar label {
  display: grid;
  gap: 8px;
  max-width: 420px;
  color: #111827;
  font-weight: 900;
}

.admin-products-toolbar input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(12, 18, 32, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
  font: inherit;
}

.admin-products-toolbar input:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.08);
}

.admin-products-page .admin-table-wrap {
  max-height: 985px;
  overflow-x: hidden;
  overflow-y: auto;
}

.admin-products-page .admin-table {
  min-width: 0;
  table-layout: fixed;
}

.admin-products-page .admin-table th,
.admin-products-page .admin-table td {
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.admin-products-page .admin-table th:nth-child(1),
.admin-products-page .admin-table td:nth-child(1) {
  width: 27%;
}

.admin-products-page .admin-table th:nth-child(2),
.admin-products-page .admin-table td:nth-child(2) {
  width: 13%;
}

.admin-products-page .admin-table th:nth-child(3),
.admin-products-page .admin-table td:nth-child(3) {
  width: 17%;
}

.admin-products-page .admin-table th:nth-child(4),
.admin-products-page .admin-table td:nth-child(4) {
  width: 15%;
}

.admin-products-page .admin-table th:nth-child(5),
.admin-products-page .admin-table td:nth-child(5),
.admin-products-page .admin-table th:nth-child(6),
.admin-products-page .admin-table td:nth-child(6) {
  width: 9%;
}

.admin-products-page .admin-table th:last-child,
.admin-products-page .admin-table td:last-child {
  width: 10%;
  min-width: 0;
}

.admin-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.admin-edit-product,
.admin-delete-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.admin-edit-product {
  background: #111827;
  color: #ffffff;
}

.admin-delete-product {
  background: #fff0f0;
  color: var(--red);
}

.admin-edit-product:hover,
.admin-edit-product:focus-visible,
.admin-delete-product:hover,
.admin-delete-product:focus-visible {
  background: var(--red);
  color: #ffffff;
}

.admin-delete-product:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 740px) {
  .admin-products-page .admin-table-wrap {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .admin-products-page .admin-table {
    min-width: 0;
  }
}

/* Overrides finales para que Productos publicados no tenga scroll horizontal. */
.admin-products-page .admin-table-wrap {
  overflow-x: hidden;
}

.admin-products-page .admin-table {
  min-width: 0;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100% - 36px));
  border: 1px solid rgba(12, 18, 32, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(12, 18, 32, 0.18);
  padding: 18px;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 1.05rem;
}

.cookie-banner p {
  margin: 0;
  color: #4b5563;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner .btn-primary,
  .cookie-banner .btn-secondary {
    width: 100%;
  }
}

.is-new-message td:first-child strong::after {
  content: "Nuevo";
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff0f0;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  vertical-align: middle;
}

@media (max-width: 1180px) {
  .admin-form-block,
  .admin-form-grid,
  .publish-grid-price,
  .admin-features-grid {
    grid-template-columns: 1fr;
  }

  .publish-grid-basic .wide,
  .publish-grid-price .admin-field:nth-last-child(2),
  .publish-grid-price .admin-field:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .admin-page,
  .admin-publish-layout,
  .account-layout,
  .admin-form-grid,
  .publish-grid-price,
  .admin-features-grid {
    grid-template-columns: 1fr;
  }

  .admin-page {
    grid-template-rows: auto 1fr;
    align-content: start;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    align-self: start;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-block {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .admin-header,
  .admin-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-content {
    min-width: 0;
    padding: 16px;
  }

  .admin-page {
    width: 100%;
    overflow-x: hidden;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    gap: 0;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 18, 32, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .admin-brand img {
    width: min(138px, 54vw);
  }

  .admin-menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(12, 18, 32, 0.12);
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.16);
  }

  .admin-menu-toggle span,
  .admin-menu-toggle::before,
  .admin-menu-toggle::after {
    content: "";
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: currentColor;
  }

  .admin-menu-toggle {
    flex-direction: column;
    gap: 4px;
  }

  .admin-menu-panel {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.24s ease, opacity 0.18s ease, margin-top 0.22s ease;
  }

  .admin-menu-check:checked ~ .admin-menu-panel {
    max-height: 360px;
    opacity: 1;
    margin-top: 14px;
  }

  .admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .admin-sidebar nav a,
  .admin-exit {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
  }

  .admin-exit {
    width: 100%;
    margin-top: 10px;
    min-height: 44px;
  }

  .admin-header,
  .admin-section,
  .admin-stats {
    margin-bottom: 16px;
  }

  .admin-message {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .admin-header,
  .admin-section,
  .admin-stats article {
    border-radius: 14px;
    padding: 16px;
  }

  .admin-header h1,
  .admin-publish-header h1 {
    margin: 6px 0 10px;
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .admin-header p,
  .admin-publish-header p {
    font-size: 0.95rem;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-stats article {
    min-width: 0;
  }

  .admin-stats article strong {
    font-size: clamp(1.25rem, 8vw, 2rem);
    overflow-wrap: anywhere;
  }

  .admin-stats article span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .admin-section-heading {
    gap: 10px;
  }

  .admin-section-heading h2 {
    font-size: clamp(1.35rem, 8vw, 2rem);
    line-height: 1.05;
  }

  .admin-table-wrap {
    margin: 0 -18px -18px;
    padding: 0 18px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table {
    min-width: 560px;
  }

  .admin-products-page .admin-table {
    min-width: 760px;
  }

  .admin-messages-table {
    min-width: 660px;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 8px;
    font-size: 0.86rem;
    vertical-align: top;
  }

  .admin-message-cell {
    max-width: 280px;
  }

  .admin-dashboard-body .admin-table-wrap {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .admin-dashboard-body .admin-table,
  .admin-dashboard-body .admin-messages-table {
    display: block;
    min-width: 0;
  }

  .admin-dashboard-body .admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .admin-dashboard-body .admin-table tbody,
  .admin-dashboard-body .admin-table tr,
  .admin-dashboard-body .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-dashboard-body .admin-table tbody {
    display: grid;
    gap: 12px;
  }

  .admin-dashboard-body .admin-table tr {
    overflow: hidden;
    border: 1px solid rgba(12, 18, 32, 0.1);
    border-radius: 12px;
    background: #ffffff;
  }

  .admin-dashboard-body .admin-table td {
    display: grid;
    grid-template-columns: minmax(78px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid rgba(12, 18, 32, 0.08);
    padding: 11px 12px;
    overflow-wrap: anywhere;
  }

  .admin-dashboard-body .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-dashboard-body .admin-table td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .admin-dashboard-body .admin-table td[colspan] {
    display: block;
    text-align: center;
  }

  .admin-dashboard-body .admin-table td[colspan]::before {
    display: none;
  }

  .admin-dashboard-body .admin-message-cell {
    max-width: none;
  }

  .admin-form-block {
    padding: 24px 18px 26px;
  }

  .admin-field.wide,
  .publish-grid-basic .wide {
    grid-column: span 1;
  }

  .admin-form-actions .btn-primary,
  .admin-form-actions .btn-secondary {
    width: 100%;
  }
}

/* Productos publicados: tabla vertical sin scroll lateral, incluso tras responsive. */
.admin-products-page .admin-table-wrap {
  overflow-x: hidden;
}

.admin-products-page .admin-table {
  min-width: 0;
}

/* Order search and pagination */
.admin-order-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 20px; align-items: end; }
.admin-order-filters label { display: grid; gap: 7px; font-size: 13px; color: #53657b; }
.admin-order-filters .order-search { grid-column: 1 / -1; }
.admin-order-filters input, .admin-order-filters select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #dce1e8; border-radius: 10px; font: inherit; color: #111827; background: #fff; }
.admin-order-pagination { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.admin-order-pagination button:disabled { opacity: .45; cursor: default; }
.admin-order-controls { flex-wrap: wrap; gap: 12px; }
[data-order-email-message]:empty { display: none; }
@media (max-width: 640px) { .admin-order-filters { grid-template-columns: 1fr; } }
.admin-order-filters .order-filter-actions { display: flex; gap: 10px; }
.admin-order-filters .order-filter-actions button { flex: 1; min-width: 0; }

/* Shared product slots keep catalog and home cards aligned. */
.product-card.shop-product-card { display: flex; flex-direction: column; padding: 12px; text-align: left; }
.product-card.shop-product-card .shop-product-media { height: 170px; min-height: 170px; flex: 0 0 170px; aspect-ratio: auto; margin: 0 0 12px; }
.product-card.shop-product-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; height: 3.75em; min-height: 3.75em; flex: 0 0 auto; font-size: 1rem; line-height: 1.25; margin: 0 0 8px; }
.product-card.shop-product-card .product-card-model { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; height: 2.5em; min-height: 2.5em; flex: 0 0 auto; font-size: .85rem; line-height: 1.25; margin: 0 0 8px; }
.product-card.shop-product-card .price { height: 48px; min-height: 48px; flex: 0 0 48px; margin: 0 0 12px; font-size: 1.12rem; line-height: 1.25; white-space: nowrap; }
.product-card.shop-product-card .price span { display: block; margin: 4px 0 0; font-size: .85rem; line-height: 1.2; }
.product-card.shop-product-card .add-cart, .product-card.shop-product-card .shop-buy-now { display: grid; place-items: center; width: 100%; height: 44px; min-height: 44px; flex: 0 0 44px; padding: 8px; margin: 0; font-size: .92rem; line-height: 1.2; }
.product-card.shop-product-card .shop-buy-now { margin-top: 8px; }
@media (max-width: 640px) {
  .product-card.shop-product-card { padding: 9px; }
  .product-card.shop-product-card .shop-product-media { height: 120px; min-height: 120px; flex-basis: 120px; }
  .product-card.shop-product-card h3 { font-size: .82rem; }
  .product-card.shop-product-card .product-card-model { font-size: .75rem; }
  .product-card.shop-product-card .price { font-size: 1rem; }
  .product-card.shop-product-card .add-cart, .product-card.shop-product-card .shop-buy-now { font-size: .8rem; }
}

/* Fotos completas en el carrusel de inicio, sin depender del tamano natural del archivo. */
@media (max-width: 740px) {
  .best-sellers .product-card.shop-product-card .shop-product-media {
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
  }

  .best-sellers .shop-product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    padding: 30px 8px 8px;
    object-fit: contain;
    object-position: center;
  }
}

/* Cuenta compacta y navegacion anclada al encabezado en telefonos. */
.auth-user-icon { display: none; }

@media (max-width: 740px) {
  :root { --header-height: 68px; }
  .top-bar {
    width: calc(100% - 24px);
    height: var(--header-height);
    padding: 12px 0;
    gap: 8px;
  }
  .brand { flex: 1 1 auto; }
  .brand-logo { width: clamp(88px, 25vw, 120px); height: 38px; max-width: 100%; }
  .header-actions { gap: 4px; flex: 0 0 auto; }
  .header-actions .btn-icon,
  .header-actions .mobile-menu-btn,
  .header-actions .user-menu-button,
  .header-actions .auth-header-link {
    width: 44px;
    height: 44px;
    min-height: 44px;
    max-width: none;
    padding: 0;
    flex: 0 0 44px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: none;
  }
  .header-actions .user-menu-button { border: 0; background: var(--red); }
  .user-menu-button .user-avatar { width: 100%; height: 100%; font-size: 18px; }
  .user-menu-button .user-name { display: none; }
  .auth-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .auth-user-icon { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .header-actions .btn-icon svg { width: 21px; height: 21px; }
  .header-actions .btn-icon img { width: 22px; height: 22px; }
  .header-actions .mobile-menu-btn { border-radius: 14px; background: #fff; }
  .mobile-menu-btn[aria-expanded="true"] { background: #fff0f0; border-color: var(--red); }
  .mobile-menu-btn[aria-expanded="true"] span { opacity: 0; }
  .mobile-menu-btn[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); background: var(--red); }
  .mobile-menu-btn[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); background: var(--red); }
  .site-header .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    width: min(300px, 100%);
    transform: none;
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 4px;
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
  }
  .site-header .nav-link {
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    justify-content: space-between;
  }
  .site-header .nav-link::after { content: '\203A'; font-size: 22px; color: #9298a2; }
  .site-header .nav-link.active { background: #fff0f0; color: var(--red); }
  .user-menu-panel { right: -96px; min-width: 220px; max-width: calc(100vw - 24px); border-radius: 16px; }
  .user-menu-panel a, .user-menu-panel button { min-height: 44px; }
  .site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
}
/* Customer order tracking and shipment editor */
.order-tracking { margin: 20px 0; padding: 20px; border: 1px solid #e1e5e8; border-radius: 12px; background: #f8fafb; }
.order-tracking h5 { margin: 0 0 10px; font-size: 17px; }
.order-cancellation-notice { margin: 16px 0; padding: 16px; border: 1px solid #efc6c6; border-left: 4px solid #ad3535; border-radius: 8px; background: #fff5f5; color: #812929; }
.order-tracking p { margin: 8px 0; }
.order-tracking small { color: #586574; }
.order-progress { display: flex; gap: 12px; list-style: none; padding: 0; margin: 22px 0; }
.order-progress li { flex: 1; border-top: 3px solid #dce2e7; padding-top: 12px; color: #586574; font-size: 13px; }
.order-progress li.is-complete { border-color: #16815d; color: #126147; }
.order-progress li[aria-current] { font-weight: 700; }
.order-progress li span { display: block; margin-bottom: 6px; font-weight: 700; }
.order-tracking-guide { padding: 12px 16px; background: white; border-radius: 8px; overflow-wrap: anywhere; }
.order-shipping-fields { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }
.order-shipping-fields[hidden] { display: none; }
.order-shipping-fields label { flex: 1; min-width: 180px; }
.order-shipping-fields input { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #d4d8dd; border-radius: 8px; background: white; font: inherit; }
@media (max-width: 600px) {
  .order-progress { flex-direction: column; gap: 0; }
  .order-progress li { border-top: 0; border-left: 3px solid #dce2e7; padding: 10px 14px; }
  .order-progress li span { display: inline-block; width: 24px; margin: 0; }
}

/* Redes sociales y propuesta de renta de impresoras. */
.social-follow { width: min(1180px, calc(100% - 32px)); margin: 24px auto 0; }
.social-follow p { margin: 0 0 20px; font-size: 14px; font-weight: 500; color: #111; }
.social-follow-links { display: flex; gap: 14px; align-items: center; }
.social-follow-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; color: #8b8d8f; border-radius: 5px; }
.social-follow-links svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
.social-follow-links .social-facebook-mark, .social-follow-links .social-instagram-dot { fill: currentColor; stroke: none; }
.social-follow-links a:hover { color: var(--red); }
.social-follow-links a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.contact-page .social-follow { width: 100%; margin: 20px 0; }
.rental-page { max-width: 1180px; margin: auto; padding: 24px 24px 72px; }
.rental-draft { display: inline-block; padding: 9px 14px; background: #fff9dc; color: #69551e; border-radius: 6px; font-size: 12px; }
.rental-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 52px 0 72px; }
.rental-hero h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -2px; margin: 18px 0 24px; }
.rental-hero h1 span { color: var(--red); }
.rental-page p { line-height: 1.75; }
.rental-hero > div > p:not(.eyebrow), .rental-section > p:not(.eyebrow) { color: #606066; max-width: 620px; }
.rental-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.rental-page .rental-caption { font-size: 12px; }
.rental-visual { min-width: 0; padding: 28px; background: #f6f6f6; border-radius: 24px; display: flex; flex-direction: column; align-items: center; position: relative; }
.rental-visual img { width: 100%; height: 300px; object-fit: contain; margin: 24px 0; filter: drop-shadow(0 18px 14px #0002); }
.rental-visual-label { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 9px 14px; border-radius: 30px; background: var(--yellow); }
.rental-visual-bottom { font-size: 12px; color: #666; }
.rental-section { padding: 48px 0; scroll-margin-top: 110px; }
.rental-page h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -1px; margin: 12px 0 18px; }
.rental-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.rental-grid article { padding: 30px; border: 1px solid #e6e6e6; border-radius: 14px; }
.rental-grid h3 { font-size: 23px; margin: 16px 0 12px; }
.rental-grid article > p:not(.eyebrow), .rental-grid li { color: #666; font-size: 14px; }
.rental-benefits article > span { font-size: 13px; font-weight: 800; color: var(--red); }
.rental-plans article { display: flex; flex-direction: column; align-items: flex-start; }
.rental-plans ul { padding-left: 20px; line-height: 2.2; margin: 8px 0 28px; }
.rental-plans strong { margin-top: auto; font-size: 15px; padding-bottom: 20px; }
.rental-plans a { width: 100%; text-align: center; }
.rental-plans .rental-plan-featured { border: 2px solid var(--red); background: #fffafa; }
.rental-process { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid #eee; margin-top: 30px; }
.rental-process ol { margin: 0; padding-left: 24px; }
.rental-process li { padding: 0 0 16px 12px; }
.rental-process li::marker { color: var(--red); font-weight: 800; }
.rental-process p { color: #666; font-size: 14px; }
.rental-faq { max-width: 800px; margin: auto; }
.rental-faq details { border-bottom: 1px solid #ddd; padding: 20px 0; }
.rental-faq summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.rental-faq details p { color: #666; font-size: 14px; }
.rental-cta { background: #f6f6f6; border-radius: 18px; padding: 40px; margin-top: 40px; display: flex; gap: 28px; align-items: center; justify-content: space-between; scroll-margin-top: 110px; }
.rental-cta p { color: #666; }
.rental-cta > a { flex-shrink: 0; text-align: center; }
@media (max-width: 900px) {
  .rental-hero { gap: 24px; }
  .rental-grid { gap: 14px; }
  .rental-grid article { padding: 22px; }
  .rental-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .rental-page { padding: 20px 18px 48px; }
  .rental-hero, .rental-grid, .rental-process { grid-template-columns: 1fr; }
  .rental-hero { padding: 32px 0; }
  .rental-hero h1 { letter-spacing: -1px; }
  .rental-visual img { height: 230px; }
  .rental-section { padding: 32px 0; }
  .rental-cta { padding: 26px; }
  .rental-cta > a { width: 100%; }
}
/* Cabecera del catálogo: título largo y composición de productos equilibrados. */
.shop-page .shop-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  min-height: 360px;
  background:
    radial-gradient(ellipse at 95% 0%, rgba(255, 0, 0, 0.08), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(240, 229, 13, 0.14), transparent 55%),
    #fcfcfc;
}
.shop-page .shop-hero-copy { min-width: 0; }
.shop-page .shop-hero-copy .eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: 0.06em; line-height: 1.5; }
.shop-page .shop-hero h1 {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.shop-page .shop-hero-copy > p:not(.eyebrow) {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: #5b5b63;
}
.shop-page .shop-hero-products { min-width: 0; min-height: 280px; }
.shop-page .shop-hero-products::before {
  inset: 12px 0;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.06);
  border-radius: 18px;
}
.shop-page .shop-hero-printer { width: 49%; height: 76%; left: 1%; bottom: 2%; }
.shop-page .shop-hero-computer { width: 43%; height: 68%; left: 32%; top: 4%; }
.shop-page .shop-hero-reader { width: 35%; height: 57%; right: 0; bottom: 4%; }
@media (max-width: 900px) {
  .shop-page .shop-hero { gap: 24px; padding: 30px; min-height: 320px; }
  .shop-page .shop-hero h1 { font-size: clamp(30px, 4.6vw, 40px); }
  .shop-page .shop-hero-products { min-height: 240px; }
}
@media (max-width: 640px) {
  .shop-page .shop-hero { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 20px; min-height: 0; }
  .shop-page .shop-hero h1 { max-width: 460px; font-size: clamp(30px, 8vw, 38px); margin-bottom: 16px; }
  .shop-page .shop-hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
  .shop-page .shop-hero-products { min-height: clamp(190px, 52vw, 280px); }
}
/* Redes dentro de la columna de contacto del pie de página. */
.footer-contact .social-follow { width: 100%; margin: 20px 0 0; }
.footer-contact .social-follow p { margin-bottom: 12px; }
.footer-contact .social-follow-links { gap: 10px; }
.footer-contact .social-follow-links a { padding: 0; }
/* Pantalla de lanzamiento y acceso a la propuesta de renta. */
.rental-coming-soon { max-width: 1180px; margin: 0 auto; padding: 52px 24px 72px; }
.rental-coming-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 52px; border: 1px solid #ececec; border-radius: 24px; background: radial-gradient(ellipse at 0 0, #fffce4, transparent 60%), #fff; }
.rental-coming-badge { display: inline-block; background: #f7ed94; color: #65551e; border-radius: 30px; padding: 8px 14px; font-size: 12px; margin-bottom: 36px; }
.rental-coming-copy h1 { font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -0.04em; line-height: 1.15; margin: 16px 0 24px; }
.rental-coming-copy h1 span { display: block; font-size: .6em; line-height: 1.3; letter-spacing: -0.025em; margin-top: 18px; color: #5d5d65; font-weight: 600; }
.rental-coming-copy > p:not(.eyebrow) { font-size: 15px; color: #666; line-height: 1.8; max-width: 410px; }
.rental-back-link { display: inline-block; margin-top: 22px; color: #111; font-size: 14px; font-weight: 700; }
.rental-back-link:hover { color: var(--red); }
.rental-access-panel { min-width: 0; background: #f7f7f7; padding: 28px; border-radius: 18px; }
.rental-access-panel > img { display: block; width: 100%; height: 210px; object-fit: contain; margin: 0 auto 24px; }
.rental-access-form h2 { font-size: 19px; margin: 0 0 10px; }
.rental-access-form > p { font-size: 13px; line-height: 1.6; color: #666; }
.rental-access-form label { display: block; font-size: 13px; font-weight: 700; margin: 22px 0 8px; }
.rental-access-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rental-access-row input { flex: 1 1 140px; min-width: 0; width: 100%; padding: 13px; border: 1px solid #d7d7d7; border-radius: 8px; font: inherit; font-size: 14px; }
.rental-access-row input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.rental-access-row input[aria-invalid="true"] { border-color: #bd1717; }
.rental-access-form .rental-access-error { color: #b11515; margin: 10px 0 0; min-height: 21px; }
@media (max-width: 900px) {
  .rental-coming-card { gap: 28px; padding: 30px; }
  .rental-access-panel { padding: 22px; }
}
@media (max-width: 640px) {
  .rental-coming-soon { padding: 26px 16px 40px; }
  .rental-coming-card { grid-template-columns: 1fr; padding: 24px; }
  .rental-coming-badge { margin-bottom: 20px; }
  .rental-coming-copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .rental-access-panel > img { height: 170px; }
  .rental-access-row { flex-direction: column; }
  .rental-access-row input { flex: auto; }
}
.rental-quote-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 40px; background: #f7f7f7; border-radius: 20px; margin-top: 40px; scroll-margin-top: 110px; }
.rental-quote-copy > p { color: #606066; font-size: 15px; }
.rental-quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rental-quote-form { min-width: 0; }
.rental-quote-form label { display: block; font-size: 13px; font-weight: 700; line-height: 1.6; margin-bottom: 18px; }
.rental-quote-form label span { font-weight: 400; color: #666; }
.rental-quote-form input, .rental-quote-form select, .rental-quote-form textarea { display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 12px; font: inherit; font-weight: 400; border: 1px solid #d5d5d5; border-radius: 8px; background: #fff; color: #222; }
.rental-quote-form textarea { resize: vertical; }
.rental-quote-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.rental-page .rental-quote-note { font-size: 12px; color: #666; line-height: 1.7; }
.rental-quote-note a { color: #333; text-decoration: underline; }
#rentalQuoteStatus { font-size: 13px; color: #b11515; }
@media (max-width: 900px) { .rental-quote-section { grid-template-columns: 1fr; gap: 24px; padding: 30px; } }
@media (max-width: 640px) { .rental-quote-section { padding: 24px 20px; } .rental-quote-fields { grid-template-columns: 1fr; gap: 0; } .rental-quote-form button { width: 100%; } }
