/* ============================
   ARCHIVO: styleTarjetas.css
   TARJETAS DE VISITA ORDERING SYSTEM
============================ */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}

/* ============================
   HEADER COMPLETO DE TARJETAS - CSS
   ============================ */

/* Contenedor principal del header */
#tarjetasTopBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 99999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === LADO IZQUIERDO: TEXTO ANIMADO === */
.tarjetas-promo-left {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.tarjetas-promo-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: tarjetas-promo-scroll 50s linear infinite;
  height: 100%;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
}

.promo-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #0066cc;
}

@keyframes tarjetas-promo-scroll {
  to { transform: translateX(-50%); }
}

/* === MENÚ HAMBURGUESA === */
.tarjetas-nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.tarjetas-nav-btn {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background .2s;
}

.tarjetas-nav-btn:hover {
  background: #f5f5f5;
}

.tarjetas-nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  padding: 10px;
  min-width: 260px;
  width: clamp(240px, 60vw, 340px);
  display: none;
  z-index: 100000;
}

.tarjetas-nav-menu.show {
  display: block;
}

.tarjetas-nav-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tarjetas-nav-item > a,
.tarjetas-nav-item-btn {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font: 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.tarjetas-nav-item > a:hover,
.tarjetas-nav-item-btn:hover {
  background: rgba(0,102,204,0.1);
}

.tarjetas-nav-sub {
  list-style: none;
  margin: 6px 0 8px 0;
  padding: 0 0 0 10px;
  display: none;
  border-left: 2px solid #eee;
}

.tarjetas-nav-sub.show {
  display: block;
}

.tarjetas-nav-sub a {
  display: block;
  padding: 8px 10px;
  margin: 2px 0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font: 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: background .2s, color .2s;
}

.tarjetas-nav-sub a:hover {
  background: rgba(0,102,204,0.1);
}

/* === LADO DERECHO === */
.tarjetas-right-side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Teléfono */
.tarjetas-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  width: 16px;
  height: 16px;
  color: #333;
}

.phone-link {
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color .2s;
}

.phone-link:hover {
  color: #0066cc;
}

.phone-hours {
  color: #999;
  font-size: 11px;
}

/* Carrito */
.tarjetas-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: color .2s;
}

.tarjetas-cart:hover {
  color: #0066cc;
}

.cart-icon {
  width: 20px;
  height: 20px;
}

/* Selector de idiomas */
.tarjetas-lang-selector {
  position: relative;
}

.tarjetas-lang-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .1s;
}

.tarjetas-lang-btn:hover {
  background: #f5f5f5;
}

.tarjetas-lang-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  min-width: 180px;
  padding: 6px;
  z-index: 100000;
}

.tarjetas-lang-options.show {
  display: flex;
}

.tarjetas-lang-option {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 8px;
  font: 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  border: 0;
  outline: none;
  color: inherit;
  transition: background .2s;
  width: 100%;
}

.tarjetas-lang-option:hover {
  background: #f5f5f5;
}

/* Banderas */
.flag {
  width: 20px;
  height: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
  flex-shrink: 0;
}

.flag-es {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23c60b1e' d='M0 0h640v480H0z'/%3e%3cpath fill='%23ffc400' d='M0 120h640v240H0z'/%3e%3c/svg%3e");
}

/* === RESPONSIVE MOBILE === */

/* Ocultar menú hamburguesa en desktop */
@media (min-width: 993px) {
  .tarjetas-nav-wrap {
    display: none !important;
  }
}

/* Mobile: [☰] [Promo animado] [🛒] [🇪🇸] */
@media (max-width: 992px) {
  #tarjetasTopBar {
    height: 50px !important;
    padding: 0 8px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Menú hamburguesa visible en mobile - a la izquierda */
  .tarjetas-nav-wrap {
    display: flex !important;
    order: 1 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

  .tarjetas-nav-btn {
    padding: 6px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .tarjetas-nav-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Promo animado - en el centro, ocupa espacio restante */
  .tarjetas-promo-left {
    flex: 1 !important;
    order: 2 !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  /* Animación más rápida */
  .tarjetas-promo-track {
    animation: tarjetas-promo-scroll 20s linear infinite !important;
    font-size: 11px !important;
    gap: 30px !important;
  }

  /* Reducir iconos del promo */
  .promo-icon {
    width: 14px !important;
    height: 14px !important;
  }

  .promo-item {
    font-size: 11px !important;
    gap: 6px !important;
  }

  /* Lado derecho - compacto (sin teléfono) */
  .tarjetas-right-side {
    order: 3 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* OCULTAR TELÉFONO COMPLETO EN MOBILE */
  .tarjetas-phone,
  #tarjetasTopBar .tarjetas-phone,
  .tarjetas-right-side .tarjetas-phone {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Carrito más pequeño */
  .cart-icon {
    width: 20px !important;
    height: 20px !important;
  }

  /* Selector de idioma más pequeño */
  .tarjetas-lang-btn {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Reducción de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .tarjetas-promo-track {
    animation: none !important;
  }
}

/* ============================
   LEFT COLUMN - TEXT CONTENT
============================ */
.tarjetas-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #222;
}

.tarjetas-lead {
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
}

.tarjetas-lead a {
  color: #0066cc;
  text-decoration: none;
}

.tarjetas-lead a:hover {
  text-decoration: underline;
}

.tarjetas-divider {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

.tarjetas-tech {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.tarjetas-tech p {
  margin: 8px 0;
}

/* ============================
   RIGHT COLUMN - OPTIONS BOX
============================ */
#stepsTarjetas,
#checkoutForm {
  width: 100%;
  max-width: 500px;
  font-family: 'Open Sans', sans-serif;
  border: 1px solid #dcdcdc;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tc-block {
  margin-bottom: 30px;
}

.tc-block h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

/* Tamaño fijo box */
.tamano-fijo {
  border: 1px dotted #000;
  padding: 15px;
  text-align: center;
}

.tamano-nombre {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.tamano-desc {
  font-size: 12px;
  margin-top: 6px;
  display: block;
  color: #000;
}

/* ============================
   LIST WRAPPERS
============================ */
.paper-list-wrapper,
.amount-list-wrap {
  padding: 0;
  list-style: none;
  margin: 0;
}

/* == PLASTIFICADO == */
.paper-list-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.paper-list-wrapper.column-2 li {
  width: calc(50% - 10px);
}

.paper-list-wrapper.column-3 li {
  width: 100%;
}

.single-price-box {
  border: 1px dotted #000;
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  transition: border 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto;
  width: 100%;
}

.single-price-box p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.single-price-box span {
  font-size: 12px;
  margin-top: 6px;
  display: block;
  line-height: 1.4;
  color: #000;
  font-weight: 400;
}

.tc-plastificado.selected,
.tc-papel.selected {
  border: 3px solid #00AEEF !important;
}

/* ============================
   AMOUNT (MULTI COLUMN)
============================ */
/* Desktop: mantener column-count */
@media (min-width: 601px) {
  .amount-list-wrap {
    column-count: 3;
    column-gap: 10px;
    margin: -5px 0;
  }
}

/* ============================
   FIX GRID CANTIDADES - SOLO MOBILE
============================ */
@media (max-width: 600px) {
  .amount-list-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    column-count: unset !important; /* Desactivar column-count */
  }

  .amount-list-wrap li {
    padding: 0 !important;
    margin: 0 !important;
    break-inside: avoid !important;
  }

  .amount-list-wrap .single-price-box {
    border: 3px solid transparent !important;
    padding: 5px 10px !important;
  }

  .amount-list-wrap .single-price-box:has(input[type="radio"]:checked) {
    border-color: #00AEEF !important;
    padding: 5px 10px !important; /* Mantener mismo padding */
  }
}

.amount-list-wrap li {
  padding: 2px 0;
  break-inside: avoid;
}

.amount-list-wrap .single-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  min-height: auto;
  box-sizing: border-box;
}

.amount-list-wrap .single-price-box p {
  font-size: 9.99px;
  font-weight: 400;
}

.amount-list-wrap .single-price-box span {
  font-size: 16.06px;
  font-weight: 600;
  color: #00AEEF;
  line-height: 17px;
  margin-top: 0;
}

.amount-list-wrap .single-price-box:has(input[type="radio"]:checked) {
  border: 3px solid #00AEEF;
  padding: 3px 8px;
}

.single-price-box input[type="radio"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  left: 0;
  top: 0;
  cursor: pointer;
  margin: 0;
}

.single-price-box:has(input[type="radio"]:checked) {
  border: 3px solid #00AEEF;
}

/* ============================
   DELIVERY OPTIONS
============================ */
.multiple-radio {
  display: flex;
  gap: 20px;
  font-size: 12px;
  margin-top: 10px;
  flex-direction: column;
}

.multiple-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* ============================
   UPLOAD FILE
============================ */
.upload-file-wrap {
  border: 1px dotted #000;
  padding: 12px;
  background: #fff;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.upload-file-wrap p {
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-file-wrap p img {
  flex-shrink: 0;
}

.upload-file-wrap a {
  color: #00AEEF;
  text-decoration: none;
  font-weight: 600;
}

.upload-file-wrap input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  left: 0;
  top: 0;
}

/* ============================
   BUTTON
============================ */
.comprar-btn {
  margin-top: 20px;
  padding: 10px 25px;
  background: #00AEEF;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.comprar-btn:hover {
  background: #008CC1;
}

/* ============================
   CHECKOUT FORM STYLES
============================ */
.checkout-summary {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.summary-details {
  margin-bottom: 20px;
}

.summary-details p {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.5;
}

.summary-prices {
  margin: 20px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 16px;
}

.price-row.total-row {
  font-weight: 700;
  font-size: 18px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.price-value {
  color: #00AEEF;
  font-weight: 600;
}

.change-link {
  color: #333;
  text-decoration: underline;
  font-size: 14px;
  display: inline-block;
  margin-top: 10px;
}

.change-link:hover {
  color: #00AEEF;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #00AEEF;
  margin-bottom: 5px;
}

.form-field input,
.form-field select {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #00AEEF;
}

/* Error states */
.form-field input.error,
.form-field select.error {
  border-color: #e91e63;
  border-width: 2px;
}

.form-field input.error:focus,
.form-field select.error:focus {
  border-color: #e91e63;
}

.form-checkbox.error label {
  color: #e91e63;
}

/* Phone input wrapper */
.phone-input-wrapper {
  display: flex;
  gap: 10px;
}

.country-select {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
  width: 120px;
  transition: border-color 0.3s ease;
}

.country-select:focus {
  outline: none;
  border-color: #00AEEF;
}

.country-select.error {
  border-color: #e91e63;
  border-width: 2px;
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 13px;
  cursor: pointer;
}

.form-checkbox a {
  color: #00AEEF;
  text-decoration: none;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.payment-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  background: #f9f9f9;
}

.payment-icons img {
  height: 25px;
  object-fit: contain;
}

.cart-btn {
  background: #e91e63;
  font-size: 16px;
  padding: 15px;
  font-weight: 700;
}

.cart-btn:hover {
  background: #c2185b;
}

/* ============================
   UPLOAD SECTION BACKGROUND
============================ */
.tc-block-upload {
  background: #f3f3f3;
  border: 1px solid #dcdcdc;
  padding: 18px;
  margin-top: 15px;
  border-radius: 4px;
}

/* ============================
   IMAGE SLIDER - RESPONSIVE
============================ */
#tarjetasSlider {
  width: 100%;
  overflow: hidden;
}

#tarjetasSlider img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 400px;
}

/* Asegurar que la imagen siempre sea visible */
.tarjetas-left .slider {
  display: block;
  width: 100%;
}

/* ============================
   RESPONSIVE FIXES
============================ */

/* ============================
   BASE - Contenedor principal con padding
============================ */
#tarjetasMainBlock {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  padding: 30px !important;
}

/* Wrapper para la tabla y formulario */
.tarjetas-right-wrapper {
  display: flex;
  flex-direction: column;
}

/* ============================
   DESKTOP/TABLET GRANDE (> 850px)
   2 COLUMNAS - IZQUIERDA: imagen+texto, DERECHA: tabla
============================ */
@media (min-width: 851px) {
  #tarjetasMainBlock {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    padding: 30px !important;
    gap: 40px !important;
  }

  .tarjetas-left {
    flex: 1 1 400px !important;
    min-width: 300px !important;
    max-width: none !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tarjetas-right-wrapper {
    flex: 0 0 auto !important;
    width: 450px !important;
    max-width: 500px !important;
    order: 2 !important;
  }

  #stepsTarjetas,
  #checkoutForm {
    width: 100% !important;
  }
}

/* ============================
   TABLET (701px - 850px)
   2 COLUMNAS MÁS ESTRECHAS
============================ */
@media (max-width: 850px) and (min-width: 701px) {
  #tarjetasMainBlock {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 20px !important;
    align-items: flex-start !important;
  }

  .tarjetas-left {
    flex: 1 1 250px !important;
    min-width: 220px !important;
    max-width: 45% !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tarjetas-right-wrapper {
    flex: 0 0 auto !important;
    width: 340px !important;
    min-width: 300px !important;
    max-width: 55% !important;
    order: 2 !important;
  }

  #stepsTarjetas,
  #checkoutForm {
    width: 100% !important;
    padding: 15px !important;
  }

  #tarjetasSlider img {
    max-height: 200px !important;
  }

  .tarjetas-title {
    font-size: 18px !important;
  }

  .tarjetas-lead {
    font-size: 13px !important;
  }

  .tarjetas-tech {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  .tarjetas-tech p {
    margin: 5px 0 !important;
  }

  .tc-block h2 {
    font-size: 16px !important;
  }

  .amount-list-wrap {
    column-count: 2 !important;
  }

  .amount-list-wrap .single-price-box p {
    font-size: 8px !important;
  }

  .amount-list-wrap .single-price-box span {
    font-size: 11px !important;
  }
}

/* ============================
   TABLET ESTRECHO (601px - 700px)
   2 COLUMNAS MUY COMPACTAS
============================ */
@media (max-width: 700px) and (min-width: 601px) {
  #tarjetasMainBlock {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    padding: 15px !important;
    align-items: flex-start !important;
  }

  .tarjetas-left {
    flex: 1 1 180px !important;
    min-width: 160px !important;
    max-width: 40% !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tarjetas-right-wrapper {
    flex: 0 0 auto !important;
    width: 280px !important;
    min-width: 260px !important;
    max-width: 60% !important;
    order: 2 !important;
  }

  #stepsTarjetas,
  #checkoutForm {
    width: 100% !important;
    padding: 12px !important;
  }

  #tarjetasSlider img {
    max-height: 150px !important;
  }

  .tarjetas-title {
    font-size: 16px !important;
  }

  .tarjetas-lead {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }

  .tarjetas-divider {
    margin: 10px 0 !important;
  }

  .tarjetas-tech {
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  .tarjetas-tech p {
    margin: 4px 0 !important;
  }

  .tc-block {
    margin-bottom: 15px !important;
  }

  .tc-block h2 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  .amount-list-wrap {
    column-count: 2 !important;
    column-gap: 6px !important;
  }

  .amount-list-wrap .single-price-box {
    padding: 4px 6px !important;
  }

  .amount-list-wrap .single-price-box p {
    font-size: 7px !important;
  }

  .amount-list-wrap .single-price-box span {
    font-size: 10px !important;
  }

  .tc-block-upload {
    padding: 10px !important;
  }

  .upload-file-wrap {
    padding: 8px !important;
  }

  .upload-file-wrap p {
    font-size: 11px !important;
  }

  .multiple-radio {
    font-size: 10px !important;
    gap: 10px !important;
  }

  .comprar-btn {
    font-size: 12px !important;
    padding: 8px 12px !important;
    margin-top: 12px !important;
  }
}

/* ============================
   MOBILE (< 600px)
   1 COLUMNA - TABLA ARRIBA
============================ */
@media (max-width: 600px) {
  * {
    max-width: 100%;
    box-sizing: border-box !important;
  }

  body {
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #tarjetasMainBlock {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    padding: 15px 10px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    gap: 20px !important;
  }

  /* TABLA PRIMERO */
  .tarjetas-right-wrapper {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #stepsTarjetas,
  #checkoutForm {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }

  /* IMAGEN Y TEXTO DESPUÉS */
  .tarjetas-left {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* IMAGEN CROPEADA EN MOBILE */
  .tarjetas-left .slider,
  #tarjetasSlider {
    display: block !important;
    order: 1 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    overflow: hidden !important;
  }

  #tarjetasSlider img {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .tarjetas-intro-text {
    order: 2 !important;
    width: 100% !important;
  }

  .tarjetas-title {
    font-size: 20px !important;
  }

  .tarjetas-tech {
    display: block !important;
    font-size: 12px !important;
  }

  /* RESPONSIVE */
  .tc-block h2 {
    font-size: 18px !important;
  }

  /* CANTIDADES */
  .amount-list-wrap {
    column-count: 3 !important;
    column-gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .amount-list-wrap .single-price-box {
    font-size: 11px !important;
  }

  .amount-list-wrap .single-price-box p {
    font-size: 9px !important;
  }

  .amount-list-wrap .single-price-box span {
    font-size: 13px !important;
  }

  /* CHECKOUT FORM EN MOBILE */
  .checkout-summary h2 {
    font-size: 18px !important;
  }

  .summary-details p {
    font-size: 14px !important;
  }

  .price-row {
    font-size: 14px !important;
  }

  .price-row.total-row {
    font-size: 16px !important;
  }

  .form-field label {
    font-size: 13px !important;
  }

  .form-field input,
  .form-field select {
    font-size: 14px !important;
    padding: 8px !important;
  }

  .payment-icons {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .payment-icons img {
    height: 20px !important;
  }

  .cart-btn {
    font-size: 14px !important;
    padding: 12px !important;
  }

  .phone-input-wrapper {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .country-select {
    width: 100% !important;
    min-width: 100% !important;
  }

  /* SUPER FORZAR BORDES */
  #cantidadList .single-price-box,
  .amount-list-wrap li .single-price-box,
  #stepsTarjetas .amount-list-wrap .single-price-box {
    border: 1px dotted #000 !important;
    outline: 1px dotted #000 !important;
  }

  #cantidadList .single-price-box:has(input:checked),
  .amount-list-wrap li .single-price-box:has(input:checked),
  #stepsTarjetas .amount-list-wrap .single-price-box:has(input:checked) {
    border: 3px solid #00AEEF !important;
    outline: none !important;
  }
}

/* ============================
   TÍTULO Y DESCRIPCIÓN MOBILE
============================ */
/* Desktop: Ocultar el header mobile */
@media (min-width: 851px) {
  .tarjetas-mobile-header {
    display: none !important;
  }
}

/* Mobile: Mostrar el header mobile */
@media (max-width: 850px) {
  .tarjetas-mobile-header {
    display: block !important;
    margin-bottom: 20px !important;
    padding: 0 15px !important;
  }

  .tarjetas-main-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
    text-align: center !important;
  }

  .tarjetas-mobile-intro {
    margin-bottom: 20px !important;
  }

  .tarjetas-mobile-intro .tarjetas-lead {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
  }

  .tarjetas-mobile-intro .tarjetas-lead a {
    color: #00AEEF !important;
    text-decoration: none !important;
  }

  .tarjetas-mobile-intro .tarjetas-lead a:hover {
    text-decoration: underline !important;
  }

  /* Ocultar solo el título y la descripción corta en mobile para no repetir */
  .tarjetas-intro-text .tarjetas-title,
  .tarjetas-intro-text .tarjetas-lead,
  .tarjetas-intro-text .tarjetas-divider {
    display: none !important;
  }

  /* Mantener visible el texto técnico */
  .tarjetas-intro-text .tarjetas-tech {
    display: block !important;
  }
}

/* ============================
   TAMAÑO FIJO (85×55)
============================ */
.tamano-fijo {
  border: 1px dotted #000;
  padding: 15px;
  text-align: center;
  background: #fff;
}

.tamano-nombre {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.tamano-desc {
  font-size: 12px;
  margin-top: 6px;
  display: block;
  color: #000;
  font-weight: 400;
}
