:root {
  --wc-blue: #004a9f;
  --wc-blue-2: #0057d9;
  --wc-blue-light: #eef3ff;
  --wc-blue-dark: #061832;
  --wc-red: #ff1625;
  --wc-red-dark: #c90011;
  --wc-bg: #f6f8fc;
  --wc-white: #ffffff;
  --wc-text: #07142d;
  --wc-muted: #667085;
  --wc-border: #e7ecf4;
  --wc-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* ================= RESET ================= */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--wc-bg);
  color: var(--wc-text);
}

a,
button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
}

/* ================= TOPBAR ================= */

.topbar {
  background: var(--wc-blue-dark);
  color: #fff;
  min-height: 34px;
  padding: 8px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
}

.topbar-left {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.topbar span,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar i {
  font-size: 13px;
}

.topbar-distributor,
.topbar-billing,
.topbar-branches,
.topbar-warranty {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.topbar-distributor:hover,
.topbar-billing:hover,
.topbar-branches:hover,
.topbar-warranty:hover {
  color: #ff5b65;
  transform: translateY(-1px);
}

/* ================= HEADER ================= */

.header-main {
  background: #fff;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-bottom: 1px solid var(--wc-border);
}

.logo {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* ================= BUSCADOR ================= */

.search {
  flex: 1;
  max-width: 660px;
  height: 48px;
  display: flex;
  border: 1px solid #d8deea;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search:focus-within {
  transform: scale(1.01);
  box-shadow: 0 8px 22px rgba(0, 74, 159, 0.14);
}

.search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 22px;
  font-size: 14px;
  color: var(--wc-text);
  text-transform: none;
}

.search input::placeholder {
  color: #8a94a6;
}

.search button {
  width: 72px;
  background: var(--wc-blue);
  color: #fff;
  font-size: 20px;
  border-radius: 0 30px 30px 0;
  transition: background 0.25s ease;
}

.search button:hover {
  background: #003c82;
}

/* ================= ACCIONES HEADER ================= */

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.actions button {
  position: relative;
  background: transparent;
  color: var(--wc-text);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.actions button i {
  font-size: 20px;
}

.actions button:hover {
  transform: translateY(-2px);
  color: var(--wc-blue);
}

.actions b {
  position: absolute;
  top: -2px;
  right: -13px;
  background: var(--wc-red);
  color: #fff;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
}

/* ================= MENÚ ================= */

.menu {
  background: linear-gradient(90deg, #061832, #004a9f, #061832);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 4%;
  overflow-x: auto;
  border-bottom: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.menu a {
  position: relative;
  color: #fff;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: none;
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wc-red), #ff5b65);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
  z-index: -1;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(255, 22, 37, 0.28);
}

.menu a:hover::before {
  transform: scaleX(1);
}

.menu a:hover::after {
  transform: translateX(-50%) scale(1);
}

.menu a.active {
  background: #fff;
  color: var(--wc-blue);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.18);
}

.menu a.active::before {
  transform: scaleX(0);
}

.menu a.active::after {
  background: var(--wc-red);
  transform: translateX(-50%) scale(1);
}

/* ================= LAYOUT GENERAL ================= */

main {
  width: min(1360px, 92%);
  margin: 20px auto;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: fadeUp 0.35s ease both;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  width: 100%;
  height: 410px;
  overflow: hidden;
  background: #030713;
  border-radius: 16px;
  margin-bottom: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.promo-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.promo-slide.active {
  display: block;
}

.promo-slide.active img {
  animation: softZoom 0.8s ease both;
}

.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wc-blue);
  font-size: 32px;
  font-weight: bold;
  transition: all 0.25s ease;
}

.promo-arrow:hover {
  background: var(--wc-red);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.promo-arrow.left {
  left: 18px;
}

.promo-arrow.right {
  right: 18px;
}

.promo-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.promo-dot.active {
  background: var(--wc-red);
  transform: scale(1.3);
}

/* ================= TARJETAS DESTACADAS ================= */

.featured-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.feat-card {
  min-height: 180px;
  border-radius: 18px;
  padding: 26px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feat-card.security {
  background: linear-gradient(135deg, var(--wc-blue), #00336f);
}

.feat-card.tech {
  background: linear-gradient(135deg, var(--wc-red), #74000a);
}

.feat-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.feat-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13px;
  margin-bottom: 18px;
}

.feat-card span {
  background: #fff;
  color: var(--wc-blue);
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 13px;
}

.feat-card i {
  font-size: 82px;
  opacity: 0.28;
  animation: floatIcon 3s ease-in-out infinite;
}

/* ================= SECCIONES ================= */

.products-section,
.category-header,
#categoryView .products-grid {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wc-shadow);
}

.products-section {
  padding: 22px;
  margin-bottom: 28px;
}

.category-header,
#categoryView .products-grid {
  padding: 22px;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title i {
  background: var(--wc-blue);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.section-title h2 {
  color: var(--wc-blue);
  font-size: 22px;
}

.section-title p {
  color: var(--wc-muted);
  font-size: 13px;
  margin-top: 3px;
}

.see-more-btn,
.primary {
  background: var(--wc-red);
  color: #fff;
  padding: 11px 16px;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.see-more-btn:hover,
.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
}

/* ================= GRID PRODUCTOS ================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* ================= CARD PRODUCTO ================= */

.product-card {
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  animation: fadeUp 0.35s ease both;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 74, 159, 0.28);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.10);
}

.image-space,
.product-card-img-box {
  background: #fff;
  color: var(--wc-blue);
  height: 210px;
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  padding: 12px;
  border-bottom: 1px solid var(--wc-border);
}

.card-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .card-product-img {
  transform: scale(1.04);
}

.product-card-content {
  padding: 13px 14px 15px;
}

.product-card h3,
.product-title {
  font-size: 14px;
  color: var(--wc-text);
  line-height: 1.28;
  min-height: 54px;
  max-height: 54px;
  margin-bottom: 9px;
  text-transform: uppercase;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price,
.product-card p {
  color: var(--wc-red);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 9px;
  padding: 0;
}

.simple-card-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--wc-muted);
  font-size: 11px;
  border-top: 1px solid var(--wc-border);
  padding-top: 9px;
  margin-top: 6px;
}

.simple-card-info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.simple-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.simple-card-actions button {
  height: 34px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-card-btn {
  flex: 1;
  background: var(--wc-blue-light);
  color: var(--wc-blue);
}

.cart-card-btn {
  width: 42px;
  background: var(--wc-red);
  color: #fff;
}

.fav-card-btn {
  width: 42px;
  background: #fff;
  color: var(--wc-blue);
  border: 1px solid var(--wc-border);
}

.quick-card-btn:hover {
  background: var(--wc-blue);
  color: #fff;
  transform: translateY(-2px);
}

.cart-card-btn:hover {
  background: var(--wc-red-dark);
  transform: translateY(-2px);
}

.fav-card-btn:hover {
  color: var(--wc-red);
  transform: translateY(-2px);
}

/* ================= SIN RESULTADOS ================= */

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  background: #f5f7fb;
  border-radius: 12px;
  font-weight: bold;
  color: #666;
}

/* ================= BREADCRUMB ================= */

.breadcrumb,
.modern-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0 4px;
  color: #6b7280;
  text-transform: none;
  flex-wrap: wrap;
}

.back-product-btn,
.breadcrumb button {
  background: var(--wc-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 6px 14px rgba(0, 74, 159, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-product-btn:hover,
.breadcrumb button:hover {
  background: #003c82;
  transform: translateY(-2px);
}

.breadcrumb span {
  color: #667085;
  font-size: 13px;
}

/* ================= DETALLE PRODUCTO ================= */

.product-detail,
.product-detail-modern {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  box-shadow: var(--wc-shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 104px minmax(430px, 1.15fr) minmax(360px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.thumb {
  width: 88px;
  min-height: 88px;
  height: 88px;
  border: 1px solid var(--wc-border);
  background: #fff;
  border-radius: 10px;
  padding: 7px;
  overflow: hidden;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.thumb.active {
  border-color: var(--wc-blue);
  box-shadow: 0 0 0 2px rgba(0, 74, 159, 0.12);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-product-image {
  width: 100%;
  position: relative;
  animation: fadeUp 0.4s ease both;
}

.big {
  height: 470px;
  min-height: 470px;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: #fff;
  color: var(--wc-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-main-img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #fff;
  animation: fadeProduct 0.25s ease;
  transform: none !important;
}

.main-product-image:hover .product-main-img {
  transform: none !important;
}

.product-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--wc-blue);
  border: 1px solid var(--wc-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 24px;
  transition: background 0.2s ease;
}

.product-arrow:hover {
  background: var(--wc-blue-light);
}

.product-arrow.left {
  left: 14px;
}

.product-arrow.right {
  right: 14px;
}

/* ================= INFO DETALLE ================= */

.product-info {
  padding: 14px 6px 0;
}

.product-info h1 {
  color: var(--wc-text);
  font-size: 21px;
  line-height: 1.18;
  margin: 13px 0 16px;
  text-transform: none;
  letter-spacing: 0.1px;
}

.product-info>#productPrice {
  display: none;
}

.status-pill {
  width: fit-content;
  background: var(--wc-blue-light);
  color: var(--wc-blue);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.status-pill span {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.product-meta {
  margin: 0 0 14px;
  color: #111827;
}

.product-meta p {
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.4;
  text-transform: none;
}

.product-meta strong {
  font-weight: 500;
}

/* ================= PRECIO DETALLE ================= */

.price-card-info {
  width: 100%;
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  overflow: hidden;
}

.price-block {
  padding: 15px 18px;
  border-right: 1px solid var(--wc-border);
}

.price-block:last-child {
  border-right: none;
}

.price-label {
  display: block;
  color: var(--wc-muted);
  font-size: 11px;
  text-transform: none;
  margin-bottom: 5px;
}

.old-price {
  color: #4b5563;
  font-size: 15px;
  text-decoration: line-through;
  margin: 0;
}

.wholesale-link {
  color: var(--wc-blue);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

.mx-price {
  background: transparent;
  color: var(--wc-red);
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.iva-text {
  color: #6b7280;
  font-size: 11px;
  margin-top: 7px;
  text-transform: none;
}

/* ================= COMPRA ================= */

.buy-row {
  display: grid;
  grid-template-columns: auto 124px 1fr;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}

.qty-label {
  color: #111827;
  font-size: 14px;
  text-transform: none;
}

.qty {
  margin: 0;
  height: 42px;
  border: 1px solid var(--wc-border);
  border-radius: 9px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.qty button {
  width: 100%;
  height: 100%;
  background: transparent;
  color: var(--wc-blue);
  border-radius: 0;
  font-size: 19px;
  transition: background 0.2s ease;
}

.qty button:hover {
  background: #f2f6ff;
}

.qty span {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: var(--wc-text);
}

.buy-row .primary {
  height: 42px;
  margin: 0;
  border-radius: 8px;
  background: var(--wc-red);
  font-size: 13px;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.primary,
.secondary {
  width: 100%;
  padding: 13px;
  font-weight: bold;
}

.secondary {
  width: 100%;
  max-width: 295px;
  height: 42px;
  margin-top: 17px;
  background: #fff;
  color: var(--wc-blue);
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.secondary:hover {
  transform: translateY(-2px);
  background: #f8fbff;
}

.secondary.active {
  background: #fff5f6;
  color: var(--wc-red);
  border-color: rgba(255, 22, 37, 0.35);
}

.secondary.active i {
  font-weight: 900;
}

.fav-pop {
  animation: favPop 0.45s ease;
}

/* ================= BARRA CONFIANZA ================= */

.trust-bar {
  background: #fff;
  border: 1px solid var(--wc-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.detail-trust-bar {
  margin-top: 16px;
}

.trust-bar div {
  background: #fff;
  padding: 17px 24px;
  border-right: 1px solid var(--wc-border);
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-bar div:last-child {
  border-right: none;
}

.trust-bar div:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.09);
}

.trust-bar i {
  grid-row: 1 / 3;
  color: var(--wc-blue);
  font-size: 28px;
  margin: 0;
}

.trust-bar strong {
  color: var(--wc-text);
  font-size: 12px;
  text-transform: none;
  margin: 0;
}

.trust-bar span {
  color: var(--wc-muted);
  font-size: 11px;
  text-transform: none;
}

/* ================= CARRITO ================= */

.cart-summary {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #e5e5e5;
  text-align: right;
}

.cart-summary h2 {
  color: var(--wc-blue);
  margin-bottom: 15px;
  font-size: 24px;
}

.cart-summary span {
  color: var(--wc-red);
}

.cart-summary .primary {
  max-width: 250px;
  margin-left: auto;
  background: var(--wc-red);
  border-radius: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--wc-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  animation: cartItemEnter 0.35s ease;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.cart-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: #f5f7fb;
  border-radius: 10px;
  padding: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  color: var(--wc-text);
  font-size: 15px;
  margin-bottom: 6px;
  text-transform: none;
}

.cart-item-info p {
  color: #555;
  font-size: 13px;
}

.cart-item-price {
  font-weight: bold;
  color: var(--wc-red);
  font-size: 19px;
  min-width: 115px;
  text-align: right;
}

.remove-cart {
  background: var(--wc-red);
  color: white;
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.2s ease;
}

.remove-cart:hover {
  transform: scale(1.08);
  background: var(--wc-red-dark);
}

/* ================= SUCURSALES ================= */

.branches-page {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wc-shadow);
  padding: 34px;
  animation: fadeUp 0.35s ease both;
}

.branches-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.branches-hero {
  position: relative;
  padding: 20px 0 32px;
  margin-bottom: 18px;
  overflow: hidden;
}

.branches-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  top: -170px;
  background: radial-gradient(circle, rgba(0, 74, 159, 0.16), transparent 65%);
  pointer-events: none;
}

.branches-main-title {
  width: fit-content;
  margin: 0 auto 22px;
  color: #294a9b;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 5px solid var(--wc-red);
  padding: 0 8px 7px;
}

.branches-subtitle {
  color: #000;
  font-size: 24px;
  text-align: center;
  margin-bottom: 34px;
}

.branches-top-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 38px;
  align-items: center;
}

.branches-hours-card {
  position: relative;
}

.branches-badge {
  display: inline-flex;
  background: #294a9b;
  color: #fff;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 12px;
}

.branches-hours-box {
  border: 2px solid var(--wc-red);
  border-radius: 10px;
  background: #fff;
  padding: 18px 20px;
}

.branches-hours-box p,
.branch-mini-hours p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #000;
  font-size: 18px;
  line-height: 1.25;
}

.branches-hours-box strong,
.branch-mini-hours strong {
  color: var(--wc-red);
  font-weight: 900;
}

.branches-hours-box span,
.branch-mini-hours span {
  color: #000;
  font-weight: 900;
}

.branches-hours-box hr,
.branch-mini-hours hr {
  border: none;
  border-top: 1px solid #111;
  margin: 12px 0;
}

.branches-social-card {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  border: 1px solid var(--wc-border);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.branches-social-card p {
  color: #000;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 24px;
}

.branches-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.branches-social-icons a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wc-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 12px 25px rgba(255, 22, 37, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branches-social-icons a:hover {
  transform: translateY(-5px) rotate(6deg);
  box-shadow: 0 16px 34px rgba(255, 22, 37, 0.34);
}

.branch-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 30px;
  margin: 26px 0;
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.78), rgba(255, 255, 255, 1));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border 0.28s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 74, 159, 0.24);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}

.branch-info {
  text-align: center;
}

.branch-info h2 {
  width: fit-content;
  margin: 0 auto 26px;
  color: #294a9b;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  border-bottom: 5px solid var(--wc-red);
  padding: 0 3px 5px;
}

.branch-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}

.branch-contact i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 4px solid #2bb84a;
  color: #2bb84a;
  display: grid;
  place-items: center;
  font-size: 34px;
  flex: 0 0 auto;
}

.branch-contact h3 {
  color: #222;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 6px;
}

.branch-contact a {
  color: #123f9c;
  font-size: 18px;
  font-weight: 700;
}

.branch-address {
  color: #000;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 28px;
}

.branch-mini-hours {
  width: min(360px, 100%);
  margin: 0 auto 24px;
}

.branch-mini-hours p {
  font-size: 17px;
}

.branch-complaints {
  color: #000;
  font-size: 17px;
  line-height: 1.4;
}

.branch-complaints strong {
  color: #294a9b;
}

.branch-image-box,
.branch-map-box {
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--wc-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.branch-image-box img,
.branch-map-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.branch-image-box:hover img,
.branch-map-box:hover img {
  transform: scale(1.04);
}

.branch-map-box {
  position: relative;
}

.branch-map-box::after {
  content: "Ver ubicación";
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 74, 159, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
}

/* ================= FACTURACIÓN ================= */

.billing-page {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wc-shadow);
  padding: 34px;
  animation: fadeUp 0.35s ease both;
}

.billing-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.billing-main-title {
  color: #294a9b;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 26px;
  text-transform: uppercase;
}

.billing-intro-box {
  max-width: 1000px;
  margin: 0 auto 48px;
}

.billing-intro-box p {
  color: #000;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 25px;
  text-align: justify;
}

.billing-section-title {
  width: fit-content;
  color: #294a9b;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 5px solid var(--wc-red);
  margin: 30px 0 48px;
  padding: 0 28px 4px;
}

.billing-section-title.small-title {
  margin-top: 42px;
  margin-bottom: 18px;
  padding-left: 0;
  padding-right: 0;
}

.billing-data-card {
  width: min(700px, 100%);
  margin: 0 auto 42px;
  border: 2px solid #294a9b;
  border-radius: 9px;
  padding: 40px 44px 28px;
  background: #fff;
}

.billing-data-card ul {
  list-style: none;
}

.billing-data-card li {
  position: relative;
  color: #000;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 26px;
  padding-left: 46px;
}

.billing-data-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: #294a9b;
  border-radius: 50%;
}

.billing-warning {
  width: 100%;
  border: 2px solid red;
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 55px;
  background: #fff;
}

.billing-warning i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 2px solid red;
  border-radius: 50%;
  color: red;
  display: grid;
  place-items: center;
  font-size: 33px;
  font-weight: 900;
}

.billing-warning p {
  color: #000;
  font-size: 24px;
  line-height: 1.2;
}

.billing-info-text {
  max-width: 950px;
  margin: 0 auto 34px;
}

.billing-info-text p {
  color: #000;
  font-size: 24px;
  line-height: 1.25;
}

.billing-contact-box {
  width: fit-content;
  min-width: 450px;
  margin: 0 auto 42px;
  border: 2px solid red;
  border-radius: 8px;
  padding: 8px 12px;
  color: #000;
  font-size: 24px;
  background: #fff;
}

.billing-schedule-label {
  width: fit-content;
  margin: 0 auto 30px;
  background: #294a9b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 19px;
  font-weight: 900;
}

.billing-schedule-box {
  width: min(500px, 100%);
  margin: 0 auto 26px;
  border: 2px solid red;
  border-radius: 8px;
  padding: 12px 8px 10px;
  background: #fff;
}

.billing-schedule-box p {
  color: #000;
  font-size: 20px;
  line-height: 1.3;
  padding: 0 0 8px;
}

.billing-schedule-box strong {
  color: red;
  font-weight: 900;
}

.billing-schedule-box hr {
  border: none;
  border-top: 1px solid #111;
  margin: 5px 0 12px;
}

.billing-thanks {
  color: #000;
  font-size: 24px;
  line-height: 1.25;
  margin: 28px auto 8px;
  max-width: 1000px;
}

/* ================= FORMULARIO DISTRIBUIDOR ================= */

.distributor-page {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wc-shadow);
  padding: 34px;
  animation: fadeUp 0.35s ease both;
}

.distributor-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.distributor-main-title {
  color: #294a9b;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.distributor-intro {
  color: #000;
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.required-note {
  color: red;
  font-size: 16px;
  font-weight: 800;
  margin: 20px 0;
}

.distributor-section-title {
  width: fit-content;
  color: #294a9b;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 5px solid var(--wc-red);
  margin: 30px 0 34px;
  padding: 0 18px 4px;
}

.distributor-form {
  width: 100%;
}

.dist-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

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

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

.dist-grid-3 {
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
}

.dist-field {
  min-height: 58px;
  border: 3px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.dist-field:focus-within {
  border-color: var(--wc-blue);
  box-shadow: 0 6px 18px rgba(0, 74, 159, 0.12);
}

.dist-field i {
  color: #777;
  font-size: 30px;
  min-width: 32px;
  text-align: center;
}

.dist-field input,
.dist-field select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 19px;
  color: #333;
  background: transparent;
}

.dist-field input::placeholder {
  color: #6f7780;
}

.dist-field select {
  color: #6f7780;
}

.legal-box {
  min-height: 58px;
  border: 3px solid #cfcfcf;
  border-radius: 8px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #000;
  font-weight: 800;
}

.legal-box legend {
  padding: 0 4px;
  font-size: 16px;
  font-weight: 900;
}

.legal-box label {
  font-size: 16px;
  cursor: pointer;
}

.legal-box input[type="radio"] {
  margin-right: 4px;
}

.volume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 56px;
  margin-bottom: 36px;
}

.volume-box {
  border: none;
  padding: 0;
}

.volume-box legend {
  color: #000;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.volume-box label {
  display: block;
  color: #000;
  font-size: 19px;
  margin-bottom: 18px;
  cursor: pointer;
}

.volume-box input[type="radio"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid red;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
  position: relative;
}

.volume-box input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: red;
  border-radius: 50%;
}

.doc-upload {
  border: 1px solid #d1d1d1;
  margin-bottom: 30px;
  background: #fff;
}

.doc-header {
  width: 100%;
  min-height: 78px;
  background: #294a9b;
  color: #fff;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 19px;
  font-weight: 700;
}

.doc-header b {
  width: 34px;
  height: 34px;
  background: #fff;
  color: #294a9b;
  display: grid;
  place-items: center;
  font-size: 35px;
  line-height: 1;
}

.doc-body {
  display: none;
  padding: 18px;
  background: #fff;
  color: #000;
  font-size: 17px;
}

.doc-upload.active .doc-body {
  display: block;
}

.doc-body input {
  display: block;
  width: 100%;
  margin-top: 14px;
  font-size: 15px;
}

.send-box {
  text-align: center;
  padding: 6px 0 20px;
}

.send-box h3 {
  color: #294a9b;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
}

.send-distributor-btn {
  background: var(--wc-red);
  color: #fff;
  border-radius: 8px;
  padding: 14px 34px;
  font-size: 19px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.send-distributor-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 22, 37, 0.25);
}

/* ================= MI CUENTA ================= */

.account-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.account-card {
  width: 100%;
  max-width: 650px;
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--wc-shadow);
  animation: fadeAccount 0.4s ease;
}

.account-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.account-tab {
  flex: 1;
  background: var(--wc-blue-light);
  color: var(--wc-blue);
  padding: 14px;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.25s ease;
}

.account-tab:hover {
  transform: translateY(-2px);
}

.account-tab.active {
  background: var(--wc-blue);
  color: white;
}

.account-form {
  display: none;
}

.account-form.active {
  display: block;
}

.account-form h2 {
  color: var(--wc-blue);
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.input-group label {
  margin-bottom: 8px;
  font-weight: bold;
}

.input-group input {
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--wc-blue);
  box-shadow: 0 0 12px rgba(0, 91, 200, 0.15);
}

/* ================= FOOTER ================= */

.footer {
  background: var(--wc-blue-dark);
  color: #fff;
  padding: 34px 4% 20px;
  margin-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer h3 {
  margin-bottom: 14px;
  text-transform: none;
}

.footer p,
.footer li {
  color: #c7d2e5;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

#footerLinks {
  columns: 2;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--wc-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-5px) rotate(8deg);
  background: var(--wc-red);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
}

/* ================= MENSAJE ================= */

.message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #030713;
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 999;
}

.message.show {
  transform: translateY(0);
  opacity: 1;
  animation: bounceMessage 0.4s ease;
}

/* ================= ANIMACIONES SCROLL ================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= KEYFRAMES ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softZoom {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1);
  }
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-7px) rotate(4deg);
  }
}

@keyframes fadeProduct {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes favPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bounceMessage {
  0% {
    transform: translateY(30px);
  }

  60% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes cartItemEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeAccount {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE TABLET ================= */

@media (max-width: 1100px) {
  .header-main {
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    justify-content: center;
  }

  .search {
    max-width: none;
  }

  .actions {
    justify-content: center;
  }

  .featured-cards,
  .trust-bar,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail,
  .product-detail-modern {
    grid-template-columns: 90px 1fr;
  }

  .product-info {
    grid-column: 1 / -1;
  }

  .buy-row {
    grid-template-columns: auto 124px 1fr;
  }

  .big {
    height: 430px;
    min-height: 430px;
  }

  .dist-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .dist-grid-3 .dist-field:first-child {
    grid-column: 1 / -1;
  }

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

  .branch-card {
    grid-template-columns: 1fr;
  }

  .branch-image-box,
  .branch-map-box {
    height: 320px;
  }
}

/* ================= RESPONSIVE CELULAR ================= */

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-left {
    gap: 12px;
  }

  .header-main {
    padding: 16px 5%;
  }

  .logo-img {
    height: 72px;
  }

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

  .actions button {
    justify-content: center;
    width: 100%;
  }

  .menu {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 5%;
  }

  .menu a {
    padding: 11px 16px;
    font-size: 12px;
  }

  main {
    width: 92%;
  }

  .hero {
    height: 260px;
  }

  .featured-cards,
  .trust-bar,
  .footer-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-space,
  .product-card-img-box {
    height: 230px;
    min-height: 230px;
  }

  .product-card h3,
  .product-title {
    min-height: 54px;
    max-height: 54px;
    -webkit-line-clamp: 3;
  }

  .product-detail,
  .product-detail-modern {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
  }

  .thumb {
    min-width: 82px;
    width: 82px;
    height: 82px;
  }

  .main-product-image {
    order: 1;
  }

  .product-info {
    order: 3;
    padding: 10px 0 0;
  }

  .product-info h1 {
    font-size: 20px;
  }

  .big {
    height: 360px;
    min-height: 360px;
    padding: 8px;
  }

  .price-card-info {
    grid-template-columns: 1fr;
  }

  .price-block {
    border-right: none;
    border-bottom: 1px solid var(--wc-border);
  }

  .price-block:last-child {
    border-bottom: none;
  }

  .mx-price {
    font-size: 24px;
  }

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

  .secondary {
    max-width: none;
  }

  .trust-bar div {
    border-right: none;
    border-bottom: 1px solid var(--wc-border);
  }

  .trust-bar div:last-child {
    border-bottom: none;
  }

  #footerLinks {
    columns: 1;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item img {
    width: 100%;
    height: 160px;
  }

  .cart-item-price {
    text-align: left;
    min-width: auto;
  }

  .cart-summary {
    text-align: left;
  }

  .cart-summary .primary {
    max-width: none;
  }

  .branches-page,
  .billing-page,
  .distributor-page {
    padding: 22px;
  }

  .branches-head,
  .billing-head,
  .distributor-head {
    justify-content: flex-start;
  }

  .branches-main-title {
    font-size: 36px;
  }

  .branches-subtitle {
    font-size: 19px;
  }

  .branches-social-card p {
    font-size: 18px;
  }

  .branches-social-icons a {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .branches-hours-box p,
  .branch-mini-hours p {
    flex-direction: column;
    gap: 4px;
  }

  .branch-card {
    padding: 20px;
  }

  .branch-info h2 {
    font-size: 24px;
  }

  .branch-contact {
    flex-direction: column;
  }

  .branch-contact h3 {
    font-size: 19px;
  }

  .branch-address {
    font-size: 16px;
  }

  .branch-image-box,
  .branch-map-box {
    height: 240px;
  }

  .billing-main-title,
  .distributor-main-title {
    font-size: 34px;
    text-align: left;
  }

  .billing-intro-box p,
  .billing-warning p,
  .billing-info-text p,
  .billing-thanks,
  .distributor-intro {
    font-size: 19px;
    text-align: left;
  }

  .billing-section-title,
  .distributor-section-title {
    font-size: 25px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 34px;
  }

  .billing-data-card {
    padding: 28px 22px 18px;
  }

  .billing-data-card li {
    font-size: 19px;
    padding-left: 34px;
    margin-bottom: 20px;
  }

  .billing-contact-box {
    min-width: auto;
    width: 100%;
    font-size: 20px;
  }

  .billing-warning {
    align-items: flex-start;
  }

  .billing-schedule-box p {
    font-size: 18px;
  }

  .dist-grid-1,
  .dist-grid-2,
  .dist-grid-3,
  .volume-grid {
    grid-template-columns: 1fr;
  }

  .dist-grid-3 .dist-field:first-child {
    grid-column: auto;
  }

  .dist-field {
    padding: 0 16px;
  }

  .dist-field input,
  .dist-field select {
    font-size: 16px;
  }

  .legal-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .volume-box legend {
    font-size: 16px;
  }

  .volume-box label {
    font-size: 17px;
  }

  .doc-header {
    min-height: 68px;
    font-size: 16px;
  }

  .send-box h3 {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .branches-main-title {
    font-size: 31px;
  }

  .branches-top-grid {
    gap: 22px;
  }

  .branches-hours-box {
    padding: 14px;
  }

  .branch-image-box,
  .branch-map-box {
    height: 205px;
  }

  .billing-main-title {
    font-size: 28px;
  }

  .billing-section-title {
    font-size: 22px;
  }

  .billing-warning {
    flex-direction: column;
  }

  .billing-data-card li::before {
    top: 6px;
  }
}

/* ================= REDUCIR ANIMACIONES ================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= DEVOLUCIÓN Y GARANTÍA ================= */

.topbar-warranty {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.topbar-warranty:hover {
  color: #ff5b65;
  transform: translateY(-1px);
}

.warranty-page {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wc-shadow);
  padding: 34px;
  animation: fadeUp 0.35s ease both;
}

.warranty-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.warranty-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 42px 28px;
  margin-bottom: 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 74, 159, 0.96), rgba(6, 24, 50, 0.96)),
    radial-gradient(circle at top right, rgba(255, 22, 37, 0.35), transparent 35%);
  color: #fff;
}

.warranty-hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.warranty-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -90px;
  background: rgba(255, 22, 37, 0.22);
  border-radius: 50%;
}

.warranty-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  background: #fff;
  color: var(--wc-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.warranty-main-title {
  position: relative;
  z-index: 1;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.warranty-subtitle {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto 22px;
  background: var(--wc-red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.warranty-intro {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  color: #e9f1ff;
  font-size: 18px;
  line-height: 1.55;
}

.warranty-alert {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  background: #fff7f7;
  border: 2px solid rgba(255, 22, 37, 0.35);
  border-left: 8px solid var(--wc-red);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 28px;
}

.warranty-alert>i {
  width: 58px;
  height: 58px;
  background: var(--wc-red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 12px 22px rgba(255, 22, 37, 0.22);
}

.warranty-alert h2 {
  color: var(--wc-blue);
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.warranty-alert p {
  color: #111;
  font-size: 16px;
  line-height: 1.45;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.warranty-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border 0.28s ease;
}

.warranty-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 74, 159, 0.26);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

.warranty-card-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--wc-red);
}

.warranty-card-title i {
  width: 46px;
  height: 46px;
  background: var(--wc-blue);
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.warranty-card-title h2 {
  color: var(--wc-blue);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.warranty-card ol {
  counter-reset: warrantyCounter;
  list-style: none;
}

.warranty-card li {
  counter-increment: warrantyCounter;
  position: relative;
  color: #111;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
  padding-left: 42px;
}

.warranty-card li::before {
  content: counter(warrantyCounter);
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 27px;
  background: var(--wc-blue-light);
  color: var(--wc-blue);
  border: 1px solid rgba(0, 74, 159, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.warranty-mini-list {
  margin-top: 18px;
  padding: 16px;
  background: #fff8f8;
  border-radius: 14px;
  border: 1px dashed rgba(255, 22, 37, 0.45);
}

.warranty-mini-list p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #111;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.warranty-mini-list p:last-child {
  margin-bottom: 0;
}

.warranty-mini-list i {
  color: var(--wc-red);
  margin-top: 3px;
}

.warranty-manufacturer {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, #eef3ff, #ffffff);
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.warranty-manufacturer>div {
  width: 70px;
  height: 70px;
  background: var(--wc-blue);
  color: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.warranty-manufacturer h2 {
  color: var(--wc-blue);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.warranty-manufacturer p {
  color: #111;
  font-size: 16px;
  line-height: 1.5;
}

.warranty-footer-note {
  text-align: center;
  background: linear-gradient(135deg, var(--wc-blue), #061832);
  color: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  margin-top: 28px;
  box-shadow: 0 14px 35px rgba(0, 74, 159, 0.18);
}

.warranty-footer-note h2 {
  font-size: 27px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.warranty-footer-note p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #e9f1ff;
  font-size: 16px;
  line-height: 1.5;
}

.warranty-call-btn {
  width: fit-content;
  margin: 0 auto;
  background: var(--wc-red);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.warranty-call-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 22, 37, 0.3);
}

/* ================= RESPONSIVE GARANTÍA ================= */

@media (max-width: 1000px) {
  .warranty-grid {
    grid-template-columns: 1fr;
  }

  .warranty-main-title {
    font-size: 34px;
  }
}

@media (max-width: 760px) {
  .warranty-page {
    padding: 22px;
  }

  .warranty-head {
    justify-content: flex-start;
  }

  .warranty-hero {
    padding: 32px 18px;
  }

  .warranty-main-title {
    font-size: 28px;
  }

  .warranty-intro {
    font-size: 16px;
  }

  .warranty-alert {
    grid-template-columns: 1fr;
  }

  .warranty-alert>i {
    margin: 0 auto;
  }

  .warranty-alert h2,
  .warranty-alert p {
    text-align: center;
  }

  .warranty-card {
    padding: 20px;
  }

  .warranty-card-title {
    align-items: flex-start;
  }

  .warranty-card-title h2 {
    font-size: 20px;
  }

  .warranty-card li {
    font-size: 14px;
    padding-left: 38px;
  }

  .warranty-manufacturer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .warranty-manufacturer>div {
    margin: 0 auto;
  }

  .warranty-footer-note h2 {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .warranty-main-title {
    font-size: 24px;
  }

  .warranty-subtitle {
    font-size: 13px;
  }

  .warranty-card-title {
    flex-direction: column;
  }

  .warranty-card-title i {
    margin: 0 auto;
  }

  .warranty-card-title h2 {
    text-align: center;
    width: 100%;
  }

  .warranty-call-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================= ASESORES / ¿NECESITAS AYUDA? ================= */

.help-advisors-section {
  width: 100%;
  margin: 34px 0;
  background: #ffffff;
  border-top: 5px solid var(--wc-blue);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
  padding: 34px 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}

.help-advisors-info {
  text-align: center;
}

.help-advisors-info h2 {
  color: #244a9b;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.help-advisors-info p {
  color: #000000;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 540px;
  margin: 0 auto;
}

.advisors-carousel-wrap {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.advisors-carousel {
  width: 100%;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 14px;
}

.advisors-carousel::-webkit-scrollbar {
  height: 8px;
}

.advisors-carousel::-webkit-scrollbar-track {
  background: #eef3ff;
  border-radius: 999px;
}

.advisors-carousel::-webkit-scrollbar-thumb {
  background: var(--wc-blue);
  border-radius: 999px;
}

.advisor-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  text-align: center;
  color: #000000;
  min-width: 190px;
}

.advisor-card img {
  width: 145px;
  height: 145px;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto 14px;
  background: #ffffff;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advisor-card:hover img {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 74, 159, 0.20);
}

.advisor-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  line-height: 1.05;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.advisor-card p {
  font-size: 15px;
  color: #000000;
  line-height: 1.08;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.advisor-phone {
  color: #000000;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.advisor-phone i {
  color: #25d366;
  font-size: 23px;
}

.advisor-phone:hover {
  color: var(--wc-blue);
  transform: scale(1.04);
}

.advisor-email {
  display: block;
  color: #0070c9;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
  margin: 2px auto 4px;
  max-width: 180px;
}

.advisor-email:hover {
  text-decoration: underline;
}

.advisor-card span {
  display: block;
  font-size: 11px;
  color: #000000;
  line-height: 1.2;
}

.advisor-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wc-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(0, 74, 159, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.advisor-arrow:hover {
  background: var(--wc-red);
  transform: scale(1.08);
}

/* ================= RESPONSIVE ASESORES ================= */

@media (max-width: 1100px) {
  .help-advisors-section {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }

  .help-advisors-info h2 {
    font-size: 31px;
  }

  .help-advisors-info p {
    font-size: 17px;
  }
}

@media (max-width: 650px) {
  .help-advisors-section {
    padding: 26px 16px;
  }

  .advisors-carousel-wrap {
    gap: 6px;
  }

  .advisor-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .advisor-card {
    flex-basis: 170px;
    min-width: 170px;
  }

  .advisor-card img {
    width: 135px;
    height: 135px;
  }

  .help-advisors-info h2 {
    font-size: 26px;
  }

  .help-advisors-info p {
    font-size: 15px;
  }
}

/* ================= FOOTER TEXTO CON MAYÚSCULA INICIAL ================= */

.footer h3,
.footer p,
.footer li,
.footer a,
.footer-bottom p {
  text-transform: none !important;
}

.footer h3 {
  font-weight: 800;
}

.footer-brand h3 {
  text-transform: none !important;
}

#footerLinks a {
  text-transform: none !important;
}

/* ================= SEGURO FINAL: HEADER Y MENÚ CON MAYÚSCULA INICIAL ================= */

header .topbar,
header .topbar *,
header .header-main,
header .header-main *,
header .menu,
header .menu *,
header .search input,
header .search input::placeholder {
  text-transform: none !important;
}

/* Evita que enlaces del menú se amontonen o se corten feo */
header .menu {
  flex-wrap: nowrap;
  overflow-x: auto;
}

header .menu a {
  white-space: nowrap;
}
