/* ============================
   ARCHIVO: styleFlyers.css
   FLYERS ORDERING SYSTEM
============================ */




* {
  box-sizing: border-box;
}

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

/* ============================
   HEADER COMPLETO DE FLYERS - CSS FALTANTE
   ============================ */

/* Contenedor principal del header */
#flyersTopBar {
  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 === */
.flyers-promo-left {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.flyers-promo-track{
  display: inline-flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
  animation: flyers-promo-scroll var(--promo-duration, 25s) 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 flyers-promo-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(calc(-1 * var(--marquee-distance, 0px)),0,0); }
}

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

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

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

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

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

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

.flyers-nav-item > a,
.flyers-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;
}

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

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

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

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

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

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

/* Teléfono */
.flyers-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 */
.flyers-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: color .2s;
}

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

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

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

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

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

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

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

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

.flyers-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");
}

.flag-en {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23012169' d='M0 0h640v480H0z'/%3e%3cpath fill='%23C8102E' d='M75 0l244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z'/%3e%3cpath fill='%23fff' d='M424 281l216 159v40L369 281h55zm-184 20l6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z'/%3e%3cpath fill='%23C8102E' d='M241 0v480h160V0H241zM0 160v160h640V160H0z'/%3e%3c/svg%3e");
}

.flag-fr {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23fff' d='M0 0h640v480H0z'/%3e%3cpath fill='%23002653' d='M0 0h213.3v480H0z'/%3e%3cpath fill='%23ed2939' d='M426.7 0H640v480H426.7z'/%3e%3c/svg%3e");
}

.flag-de {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23ffce00' d='M0 320h640v160H0z'/%3e%3cpath d='M0 0h640v160H0z'/%3e%3cpath fill='%23d00' d='M0 160h640v160H0z'/%3e%3c/svg%3e");
}

.flag-pt {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23ff0000' d='M0 0h640v480H0z'/%3e%3cpath fill='%23006600' d='M0 0h256v480H0z'/%3e%3cpath fill='%23ffcc00' d='M106.3 186.7a26.7 26.7 0 1 0 0 106.7h43.4a26.7 26.7 0 0 0 0-106.7h-43.4z'/%3e%3c/svg%3e");
}

.flag-it {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3e%3cpath fill='%23fff' d='M0 0h640v480H0z'/%3e%3cpath fill='%23009234' d='M0 0h213.3v480H0z'/%3e%3cpath fill='%23CE2B37' d='M426.7 0H640v480H426.7z'/%3e%3c/svg%3e");
}

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

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

/* Mobile: [☰] [Promo animado] [🛒] [🇪🇸] */
@media (max-width: 992px) {
  #flyersTopBar {
    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 */
  .flyers-nav-wrap {
    display: flex !important;
    order: 1 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

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

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

  /* Promo animado - en el centro, ocupa espacio restante */
  .flyers-promo-left {
    flex: 1 !important;
    order: 2 !important;
    min-width: 0 !important;
    max-width: none !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) */
  .flyers-right-side {
    order: 3 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* OCULTAR TELÉFONO COMPLETO EN MOBILE */
  .flyers-phone,
  #flyersTopBar .flyers-phone,
  .flyers-right-side .flyers-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 */
  .flyers-lang-btn {
    width: 32px !important;
    height: 32px !important;
  }
}

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

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

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

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

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

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

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

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

/* ============================
   RIGHT COLUMN - OPTIONS BOX
============================ */
#stepsFlyer,
#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);
}

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

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

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

/* == PAPER / SIZE (COLUMNS) == */
.paper-list-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.paper-list-wrapper.column-4 {
  gap: 15px !important;
  flex-wrap: nowrap !important;
}

.paper-list-wrapper.column-4 li {
  flex: 1 1 0;
  min-width: 0;
  max-width: 25%;
}

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

/* Size boxes special styling */
.fo-size {
  border: 1px dotted #000 !important;
  padding: 20px 10px !important;
  transition: border 0.15s ease, padding 0.15s ease;
  min-height: 180px;
  width: 100% !important;
}

.fo-size.selected {
  border: 3px solid #00AEEF !important;
  padding: 18px 8px !important;
}

.fo-size img {
  width: 70px !important;
  height: 70px !important;
  margin-bottom: 10px !important;
  object-fit: contain !important;
}

.fo-size p {
  font-size: 15px !important;
  white-space: nowrap;
}

.fo-size span {
  font-size: 10px !important;
  white-space: nowrap;
}

.fo-paper.selected {
  border: 3px solid #00AEEF !important;
}

/* ============================
   AMOUNT (MULTI COLUMN)
============================ */
.amount-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amount-list-wrap li {
  padding: 0;
  margin: 0;
  break-inside: avoid; /* Por si acaso */
}

.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 - only show red when there's an error */
.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
============================ */
.fo-block-upload {
  background: #f3f3f3;
  border: 1px solid #dcdcdc;
  padding: 18px;
  margin-top: 15px;
  border-radius: 4px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .paper-list-wrapper.column-4 {
    gap: 8px !important;
  }

  .fo-size {
    min-height: 110px !important;
    padding: 8px 5px !important;
  }

  .fo-size img {
    width: 35px !important;
    height: 35px !important;
  }

  .fo-size p {
    font-size: 11px !important;
  }

  .fo-size span {
    font-size: 8px !important;
  }

  .amount-list-wrap {
    grid-template-columns: repeat(2, 1fr) !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) {
  #flyerMainBlock {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    padding: 15px !important;
    align-items: flex-start !important;
  }

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

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

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

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

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

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

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

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

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

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

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

  .paper-list-wrapper.column-4 {
    gap: 6px !important;
  }

  .fo-size {
    min-height: 90px !important;
    padding: 6px 4px !important;
  }

  .fo-size img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 4px !important;
  }

  .fo-size p {
    font-size: 10px !important;
  }

  .fo-size span {
    font-size: 7px !important;
  }

  .amount-list-wrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 5px 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;
  }

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

  #flyerMainBlock {
    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 */
  .flyer-right-wrapper {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

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

  /* IMAGEN Y TEXTO DESPUÉS */
  .flyer-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 */
  .flyer-left .slider,
  #flyerSlider {
    display: block !important;
    order: 1 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    overflow: hidden !important;
  }

  #flyerSlider 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;
  }

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

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

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

  /* TAMAÑOS: 2 POR FILA EN MOBILE */
  .fo-block h2 {
    font-size: 18px !important;
  }

  .paper-list-wrapper.column-4 {
    gap: 10px !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }

  .paper-list-wrapper.column-4 li {
    width: calc(50% - 5px) !important;
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }

  .fo-size {
    padding: 15px 8px !important;
    min-height: 140px !important;
    width: 100% !important;
  }

  .fo-size.selected {
    padding: 13px 6px !important;
  }

  .fo-size img {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 8px !important;
  }

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

  .fo-size span {
    font-size: 10px !important;
  }

 /* CANTIDADES */
.amount-list-wrap {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 5px 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.amount-list-wrap .single-price-box {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 5px 8px !important;
  font-size: 11px !important;
}

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

.amount-list-wrap .single-price-box span {
  font-size: 13px !important;
  margin: 0 !important;
  text-align: right !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,
  #stepsFlyer .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),
  #stepsFlyer .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) {
  .flyer-mobile-header {
    display: none !important;
  }
}

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

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

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

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

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

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

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

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

/* FORZAR VISIBILIDAD DEL MENÚ */
.FlyersPromo-nav-menu.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.FlyersPromo-nav-wrap {
  position: relative !important;
  z-index: 999998 !important;
}

.FlyersPromo-nav-btn {
  position: relative !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}