@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;
}

.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,
.device-card .product-image-4 {
  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-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%),
    radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%),
    linear-gradient(135deg, #fff9b8, #ffffff);
  background-repeat: no-repeat;
  background-position: center, center, center, center;
  background-size: 84% auto, 100% 100%, 100% 100%, 100% 100%;
  margin-bottom: 18px;
  transform: translateZ(0);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.product-image::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 229, 13, 0.18), transparent 62%);
  opacity: 0.72;
  transform: scale(0.92);
  animation: productImageGlow 5.5s ease-in-out infinite;
  pointer-events: none;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.34) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.product-card:hover .product-image {
  transform: translateY(-3px);
  filter: saturate(1.06);
}

.product-card:hover .product-image::after {
  transform: translateX(120%);
}

.product-image-1 { background-image: url("Img/AudioVideo_Cat.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-2 {
  background-image:
    linear-gradient(90deg, transparent 38%, #111827 39% 61%, transparent 62%),
    linear-gradient(90deg, transparent 38%, #111827 39% 61%, transparent 62%),
    radial-gradient(circle at 50% 50%, #0f172a 0 21%, transparent 22%),
    radial-gradient(circle at 50% 50%, #ffffff 0 29%, #111827 30% 38%, transparent 39%),
    radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%),
    radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%),
    linear-gradient(135deg, #fffbe0, #ffffff);
  background-position: center 22%, center 78%, center, center, center, center, center;
  background-size: 20% 36%, 20% 36%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}
.product-image-3 { background-image: url("Img/computoHogar.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-4 {
  background-image:
    radial-gradient(circle at 36% 48%, #ffffff 0 5%, transparent 6%),
    radial-gradient(circle at 65% 43%, #ff0000 0 5%, transparent 6%),
    radial-gradient(circle at 73% 52%, #f0e50d 0 4%, transparent 5%),
    linear-gradient(90deg, transparent 30%, #ffffff 31% 47%, transparent 48%),
    radial-gradient(ellipse at 50% 52%, #111827 0 35%, transparent 36%),
    radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%),
    radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%),
    linear-gradient(135deg, #fffbe0, #ffffff);
  background-position: center, center, center, center, center, center, center, center;
  background-size: 100% 100%;
}
.product-image-5 { background-image: url("Img/AudioVideo_Cat.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-6 { background-image: url("Img/impresorasOficina.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-7 { background-image: url("Img/Suministros.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-8 { background-image: url("Img/lectores.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-9 { background-image: url("Img/Cables_Cat.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }
.product-image-10 { background-image: url("Img/Herramienas_Cat.png"), radial-gradient(circle at 24% 82%, rgba(240, 229, 13, 0.24), transparent 34%), radial-gradient(circle at 82% 32%, rgba(255, 0, 0, 0.11), transparent 32%), linear-gradient(135deg, #fffbe0, #ffffff); }

@keyframes productImageGlow {
  0%,
  100% {
    opacity: 0.44;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-image::before {
    animation: none;
  }

  .product-image::after {
    transition: none;
  }
}


.product-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.product-card p {
  margin: 0 0 10px;
  color: var(--gray);
}

.rating {
  color: var(--red);
  letter-spacing: 0.08em;
}

.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;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%),
    radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%),
    #f8fafc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.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-checkout,
.cart-clear {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 950;
  cursor: pointer;
}

.cart-checkout {
  background: var(--red);
  color: #ffffff;
}

.cart-checkout.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-clear {
  background: transparent;
  color: var(--gray);
}

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

/* Enlaces del menu lateral. Cambia href en tienda.html 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;
}

/* La paginacion antigua se oculta porque ahora la tienda esta separada por categorias. */
.shop-content > .shop-pagination {
  display: none;
}

/* 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: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.78rem;
  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 {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%),
    radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%),
    #f8fafc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Imagenes/ilustraciones de producto. Para agregar una imagen nueva, crea otra clase similar. */
.shop-product-printer-office { background-image: url("Img/impresorasOficina.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.shop-product-printer-home { background-image: url("Img/impresorasHogar.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.shop-product-laptop { background-image: url("Img/computoHogar.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.shop-product-reader { background-image: url("Img/lectores.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.shop-product-label { background-image: url("Img/impresorasEtiquetas.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.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%), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }
.shop-product-rent { background-image: url("Img/impresorasOficina.png"), radial-gradient(circle at 25% 82%, rgba(240, 229, 13, 0.22), transparent 38%), radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.12), transparent 34%); }

.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 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.shop-product-card .rating span {
  color: var(--gray);
  letter-spacing: 0;
}

.shop-product-card .add-cart {
  margin-top: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

/* Boton directo de compra por WhatsApp. Lo crea app.js en cada producto de la tienda. */
.shop-product-card .buy-whatsapp {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.18);
}

.shop-product-card .buy-whatsapp: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 .buy-whatsapp {
  cursor: pointer;
}

.product-detail-page {
  padding-top: 24px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin-bottom: 28px;
  padding: clamp(22px, 3.6vw, 42px);
  border-radius: var(--radius);
  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: 430px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #f8fafc;
  overflow: hidden;
}

.product-detail-main-image .shop-product-media {
  width: 100%;
  min-height: 430px;
  margin: 0;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-detail-thumb {
  min-height: 116px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.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 {
  height: 100%;
  margin: 0;
}

.product-detail-info {
  display: grid;
  gap: 18px;
}

.product-detail-category {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
}

.product-detail-item {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 950;
}

.product-detail-info h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
}

.product-detail-summary {
  margin: 0;
  color: var(--gray);
  font-size: 1.08rem;
  line-height: 1.65;
  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: 7px 10px;
  background: #f8fafc;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 850;
}

.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.product-detail-price strong {
  color: var(--black);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  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;
}

.product-detail-actions .btn-secondary {
  border: 0;
  color: #ffffff;
}

.product-detail-extra {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-bottom: 42px;
}

.product-detail-extra article,
.product-detail-empty {
  padding: clamp(22px, 3vw, 32px);
  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.06);
}

.product-detail-extra h2,
.product-detail-empty h1 {
  margin: 0 0 14px;
  color: var(--black);
}

.product-detail-extra p,
.product-detail-extra li,
.product-detail-empty p {
  color: var(--gray);
  line-height: 1.7;
  font-weight: 650;
}

.product-detail-extra ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
}

.shop-pagination a {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--black);
  font-weight: 850;
}

.shop-pagination a.active,
.shop-pagination a:hover {
  background: var(--red);
  color: #ffffff;
}

.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(3, minmax(0, 1fr));
  gap: 18px;
}

.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) {
  .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 {
    min-height: 136px;
  }

  .feature-copy {
    width: 100%;
    min-height: 106px;
    padding-top: 46px;
  }

  .category-visual {
    right: 8px;
    bottom: 8px;
    width: 52%;
    height: 48%;
  }

  .feature-label {
    max-width: 88%;
    font-size: 0.46rem;
  }

  .feature-card h3 {
    max-width: 90%;
    font-size: clamp(0.72rem, 3.7vw, 0.95rem);
  }

  .feature-btn {
    min-width: 46px;
    padding: 3px 7px;
    font-size: 0.5rem;
  }

  .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-card .product-image-4,
  .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 {
    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-image {
    height: 118px;
    margin-bottom: 12px;
    border-radius: 8px;
    background-size: 90% auto, 100% 100%, 100% 100%, 100% 100%;
  }

  .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 .rating {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .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-main-image,
  .product-detail-main-image .shop-product-media {
    min-height: 340px;
  }

  .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-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) {
  .product-detail-page {
    padding-top: 14px;
  }

  .product-detail-layout {
    padding: 20px;
  }

  .product-detail-info h1 {
    font-size: clamp(2rem, 11vw, 3.7rem);
  }

  .product-detail-actions {
    grid-template-columns: 1fr;
  }

  .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: 260px;
  }

  .product-detail-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-thumb {
    min-height: 82px;
  }

  .shop-sidebar,
  .shop-products,
  .shop-info-strip,
  .shop-newsletter form {
    grid-template-columns: 1fr;
  }

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

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

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

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

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  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-brand img {
  width: 176px;
}

.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-table th,
.admin-table td {
  border-bottom: 1px solid rgba(12, 18, 32, 0.1);
  padding: 14px 10px;
  text-align: left;
}

.admin-messages-table {
  min-width: 760px;
}

.admin-message-cell {
  max-width: 460px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.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-sidebar {
    position: static;
    height: auto;
  }

  .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 {
    padding: 20px;
  }

  .admin-page {
    width: 100%;
    overflow-x: hidden;
  }

  .admin-sidebar {
    gap: 12px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 18, 32, 0.08);
  }

  .admin-brand img {
    width: min(150px, 58vw);
  }

  .admin-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .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: 0;
    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: 18px;
  }

  .admin-header h1,
  .admin-publish-header h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
    line-height: 0.98;
    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-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-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%;
  }
}
