/* Reglas propias del frontend que estaban al final de template/css/theme.min.css (desde la L17010).
   Se van migrando a vk-front.css por fase; lo migrado se borra de aca. El backoffice sigue usando template/css/theme.min.css sin cambios. */

.custom-box {
  position: relative;
  border-radius: 50px;   /* borde redondeado */
  background: #fff;      /* fondo interno blanco */
  padding: 2.0rem;       /* padding interno */
  z-index: 0;
}

/* Pseudo-elemento que hace el borde degradado */
.custom-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  padding: 2px; /* grosor del borde */
  background: linear-gradient(to right, #ac2cdc, #faa658);
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude; 
  pointer-events: none;
  z-index: -1;
}

.save-label {
  background-color: #eefbec;   /* color de fondo */
  color: #2ac813;              /* color de texto */
  border-radius: 10px;          /* bordes redondeados */
  padding: 8px;               /* opcional: resaltar texto */
  display: inline-block;       /* para que respete padding y border-radius */
	font-size: 0.85rem;
}

.hero-section {
  position: relative;
  overflow: hidden;        /* asegura que nada sobresalga */
}

/* imagen que actúa como "background" pero es <img> real */
.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;            /* preserva proporciones: diagonal siempre en su lugar */
}

/* contenido encima de la imagen: centrado vertical y horizontal */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 820px;
  padding: 0.5rem;
}

/* tipografías y tamaños (mismo formato que el hero-banner de home) */
.hero-title {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.1;
  margin-bottom: .6rem;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.48;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}

/* botón y link */
.hero-btn {
  min-width: 220px;
  border-radius: .5rem;
  background-color: #fff; /* mantenemos el fondo blanco */
  border: 1px solid #ddd; /* opcional, para que se vea el borde */
}

.hero-btn-text {
  font-weight: 700; /* negrita */
  background: linear-gradient(to right, #A82CDF, #E62FB5, #FBAC53);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* RESPONSIVE: ajustar en mobile */
@media (max-width: 767.98px) {
  .hero-inner {
    position: absolute; /* seguimos sobre la imagen */
    top: 50%;
	left: 0%;
    transform: translate(-0%, -50%);
    text-align: center;
    padding: 1rem;
	  
	  
  }
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: .95rem; }
  .hero-btn { min-width: 160px; font-size: .95rem; }
}

/* pantallas muy grandes: puedes aumentar el tamaño del texto si querés */
@media (min-width: 1400px) {
  .hero-title { font-size: 5.6rem; }
  .hero-sub { font-size: 1.4rem; }
}

@media (max-width: 767.98px) {
  .hero-section {
    position: relative;
    overflow: hidden;
  }

  .hero-bg-img {
    width: 100%;
    height: 60vh; /* hace la imagen más alta en mobile */
    object-fit: cover; /* rellena manteniendo proporciones */
    object-position: center top; /* centrada desde arriba */
  }

  
}

.hero-inner h1 {
  color: #fff;              /* color blanco */
  font-size: 93px;          /* tamaño grande en desktop */
  line-height: 1.1;
}

/* Ajuste para mobile */
@media (max-width: 767.98px) {
  .hero-inner h1 {
    font-size: 43px;        /* más chico en pantallas pequeñas */
  }
}

.hero-inner--left {
  position: absolute;
  top: 50%;
  left: 8%; /* separa el bloque del borde izquierdo */
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  color: #fff;
  max-width: 600px; /* evita que el texto se estire demasiado */
  padding: 1.5rem;
}

.hero-inner--left .hero-title,
.hero-inner--left .hero-sub {
  margin-left: 0;
  margin-right: 0;
}

/* En mobile volvemos a centrar (misma lógica que la otra sección) */
@media (max-width: 767.98px) {
  .hero-inner--left {
    text-align: center;
    max-width: 90%;
    padding: 1rem;
  }
}

.hero-bg-mobile {
  display: none;
}

/* Mostrar imagen mobile y ocultar desktop en pantallas pequeñas */
@media (max-width: 767.98px) {
  .hero-bg-desktop {
    display: none;
  }

  .hero-bg-mobile {
    display: block;
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center top;
  }
}

.hero-title-gradient {
  font-weight: 700;
  background: linear-gradient(to right, #A82CDF, #E62FB5, #FBAC53);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-inner.hero-inner--left.banner-mini-order {
  top: 35%; /* mover un poco más arriba */
  transform: translateY(-35%);
}

/* Responsive: Mobile */
@media (max-width: 767.98px) {
  /* Ajustar h1 y ocultar h2 */
  .hero-inner.hero-inner--left.banner-mini-order h1 {
    font-size: 1.8rem;
  }

  .hero-inner.hero-inner--left.banner-mini-order h2 {
    display: none;
  }
}

.hero-inner--right-left-align {
  left: 50%;           /* empieza en la mitad de la sección */
  right: auto;
  transform: translateX(0) translateY(-50%); /* mantiene vertical centrado, no lo centramos horizontalmente */
  max-width: 45%;      /* ocupa un ancho limitado en la mitad derecha */
  text-align: left;    /* el texto se alinea a la izquierda dentro del bloque */
}

/* Responsive: Mobile, centramos todo */
@media (max-width: 767.98px) {
  .hero-inner--right-left-align {
    left: 5%;
    transform: translate(-0%, -50%);
    text-align: center;
    max-width: 90%;
    padding: 1rem;
  }
}

	

.hero-inner.hero-inner--right-left-align.banner-mini-order h1 {
  font-size: 60px;
}

@media (max-width: 767.98px) {
	.hero-inner.hero-inner--right-left-align.banner-mini-order h1 {
  font-size: 34px;
}
	
	}
@media (max-width: 767.98px) {
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

.box-left a:hover img,
.box-right-top a:hover img,
.box-small a:hover img {
  filter: brightness(1.05); /* aclara un 10% */
  transition: filter 0.3s ease-in-out; /* transición suave */
}

/* Hacer que el carrusel ocupe todo el ancho */
.hero-section .tns-carousel{
  width: 100%;
  max-width: 100% !important;   /* pisa el max-width del tema */
  margin: 0;                    /* por si lo centran con margin auto */
}

/* Asegurar que el “inner” no limite el ancho */
.hero-section .tns-carousel .tns-carousel-inner{
  width: 100%;
  max-width: none !important;
}

/* Cada slide ocupa el 100% del contenedor */
.hero-section .tns-carousel .tns-item{
  width: 100% !important;
}

.hero-section{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Que nuestros radios de modificadores se vean como los checkboxes del tema */
.form-check-input.modifier-radio[type=radio] {
	border-radius: .3125em; /* igual que el checkbox */
}

.form-check-input.modifier-radio[type=radio]:checked {
	background-color: #fff;
	border-color: #a82cdf;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23a82cdf' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
	/* usamos exactamente el mismo SVG del checkbox */
}

/* Contenedor tipo “pill” para custom size */
.custom-size-box {
	background-color: #f4f6ff;          /* celeste muy claro */
	border: 1px solid #d5ddf5;
	border-radius: .75rem;
	padding: .75rem 1rem;
}

.custom-size-field {
	min-width: 110px;
}

.custom-size-field .form-control {
	padding-top: .25rem;
	padding-bottom: .25rem;
	height: 2.2rem;
}

.custom-size-multiply {
	font-size: 1.4rem;
	line-height: 1;
	color: #6b7280;
}

@media (max-width: 576px) {
	
	.custom-size-field {
		flex: 1 1 100px;
	}
}

 .custom-size-box {
    /* Violeta MUY claro basado en el primary de Vikings */
    background-color: rgba(var(--cz-primary-rgb), 0.10);
    border: 1px solid rgba(var(--cz-primary-rgb), 0.18);
    border-radius: .75rem;
    padding: .75rem 1rem;
  }

  .custom-size-multiply {
    font-size: 1.6rem;
    line-height: 1;
    color: #6b7280;
  }

.custom-size-multiply-col {
    margin-bottom: .35rem;
  }

@media (max-width: 576px) {
    .custom-size-box {
      padding: .75rem .75rem;
    }
  }

  .size-option {
    border-radius: .35rem;
    padding: .05rem .75rem;
    transition: background-color .20s ease, box-shadow .20s ease;
    display: flex;
    align-items: center;
  }

  .size-option--active {
    background-color: rgba(var(--cz-primary-rgb), 0.06);
    box-shadow: 0 0 0 1px rgba(var(--cz-primary-rgb), 0.35);
  }

  .size-option .form-check-input {
    position: static;
    margin: 0 .5rem 0 0;
    flex-shrink: 0;
  }

  .size-option .form-check-label {
    margin-bottom: 0;
  }

/* FILAS DE CANTIDAD (similar a SELECT A SIZE) */
.qty-option {
  border-radius: .35rem; 
  padding-inline: .75rem; 
  transition: background-color, box-shadow;
}

.qty-option--active {
  background-color: rgba(var(--cz-primary-rgb), 0.06);
  box-shadow: 0 0 0 1px rgba(var(--cz-primary-rgb), 0.25);
}

.qty-option .form-check-input {
  position: static;
  margin: 0 .5rem 0 0;
  flex-shrink: 0;
}

/* Píldoras de SIZE (incluido Custom) */
.size-option {
  display: block;                    /* ya no es flex */
  padding: .05rem .75rem;
  border-radius: .35rem;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.size-option--active {
  background-color: rgba(var(--cz-primary-rgb), 0.04); /* más suave */
  box-shadow: 0 0 0 1px rgba(var(--cz-primary-rgb), 0.20);
}

.size-option .form-check-input {
  position: static;
  margin: 0 .5rem 0 0;              /* radio pegado al texto */
  flex-shrink: 0;
}

.size-option .form-check-label {
  margin-bottom: 0;
}

/* Indentar el bloque interno para alinearlo con el texto "Custom Size" */
.custom-size-inner {
  margin-left: 1.7rem;              /* ajustá entre 1.7 y 2rem si hace falta */
}

/* Box de Width x Height, más chico tipo referencia celeste */
.custom-size-box {
  background-color: rgba(var(--cz-primary-rgb), 0.04);  /* celestito/violeta muy claro */
  border: 1px solid rgba(var(--cz-primary-rgb), 0.18);
  border-radius: .35rem;
  padding: .3rem .55rem; 
}

.custom-size-multiply {
  font-size: 1.3rem;
  line-height: 1;
  color: #6b7280;
}

.custom-size-multiply-col {
  margin-bottom: .1rem;
}

/* Inputs de Width / Height dentro del custom size */
.custom-size-box .form-control {
  font-size: 0.8rem;        /* texto más chico */
  padding: 0.25rem 0.4rem;  /* un poquito menos de padding para ganar espacio */
}

/* Placeholder más chico también */
.custom-size-box .form-control::placeholder {
  font-size: 0.8rem;
}

.brands-marquee{
  --gap: 24px;
  --item-width: 120px;
  overflow: hidden;
  width: 100%;
  padding-top: 40px;
}

.brands-track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brands-scroll 35s linear infinite;
}

.brands-track:hover{
  animation-play-state: paused;
}

.brands-set{
  display: flex;
  flex: 0 0 auto;          /* importante */
  gap: var(--gap);
  padding-right: var(--gap);
}

.brand-item{
  flex: 0 0 var(--item-width);
  min-width: var(--item-width); /* importante */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* evita solapes visuales */
}

.brand-item img{
  display: block;              /* evita comportamientos raros inline */
  width: 100%;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

@keyframes brands-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 767.98px){
  .brands-marquee{
    --gap: 14px;
    --item-width: 90px;
    padding-top: 24px;
  }

  .brand-item img{
    height: 36px;
  }
}

 /* Colores administrables (no tocamos tu layout existente) */
    .deals-hero .deals-title{
      color: var(--deals-title-color, #fff) !important;
    }
    .deals-hero .deals-desc{
      color: var(--deals-desc-color, #fff) !important;
    }
    .deals-hero .deals-btn{
      background: var(--deals-btn-bg, #3B82F6) !important;
      color: var(--deals-btn-text, #fff) !important;
      border: none;
    }
    .deals-hero .deals-btn:hover{
      background: var(--deals-btn-bg-hover, #2563EB) !important;
      color: var(--deals-btn-text-hover, #fff) !important;
    }

    /* Cuando no hay URL todavía */
    .deals-hero .deals-btn.disabled,
    .deals-hero .deals-btn[aria-disabled="true"]{
      opacity: .75;
      cursor: not-allowed;
      pointer-events: auto; /* dejamos hover off por onclick return false */
    }

/* Mobile */

.banner-color-input{
  width: 56px !important;
  min-width: 56px !important;
  height: 38px;
  padding: .25rem;
}

.hero-section{
  position: relative;
}

.hero-bg-img{
  width: 100%;
  height: clamp(260px, 28vw, 600px);
  object-fit: cover;
  display: block;
}

/* Overlay solo si hay texto */
.hero-section.has-text::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 70%);
  pointer-events:none;
}

/* Texto encima, alineado como en la referencia */
.hero-container{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
}

.hero-inner{
  max-width: 760px;
}

.hero-title{
  font-size: clamp(22px, 3.2vw, 44px);
  line-height: 1.05;
  margin: 0 0 .5rem 0;
}

.hero-sub{
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.4;
  margin: 0;
}

/* Mobile: baja el texto y lo centra (más legible) */
@media (max-width: 576px){
  .hero-section.has-text::before{
    background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.65) 75%);
  }
  .hero-container{
    align-items:flex-end;
    padding-bottom: 14px;
  }
  .hero-inner{
    max-width: 100%;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.30);
  }
}

/* Quitar cualquier “caja” detrás del texto (desktop + mobile) */
.hero-inner{
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-title,
.hero-sub{
  background: transparent !important;
}

/* Centrado SIEMPRE */
.hero-container{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
}

/* Legibilidad sin caja */
.hero-title,
.hero-sub{
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* =========================
   HERO / PRODUCT BANNER FIX
   - Sin caja en mobile
   - Centrado siempre
   ========================= */

/* La imagen */
.hero-bg-img{
  width: 100%;
  height: clamp(340px, 32vw, 720px);
  object-fit: cover;
  display: block;
}

/* Centrado SIEMPRE (desktop + mobile) */
.hero-container{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;     /* centra el texto */
  width:100%;
  padding: 0 14px;
}

/* Evita que Bootstrap “container” te des-centre con márgenes/anchos */
.hero-container.container{
  max-width: none !important;
}

/* Quita CUALQUIER caja / fondo / padding / blur que te haya quedado */
.hero-inner{
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;   /* centra el bloque */
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: 960px;
  width: 100%;
}

/* Por si algún estilo viejo le pone fondo a h1/p */
.hero-title,
.hero-sub{
  background: transparent !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* Tipos fluidos */
.hero-title{
  font-size: clamp(22px, 3.2vw, 44px);
  line-height: 1.05;
  margin: 0 0 .6rem 0;
}
.hero-sub{
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.4;
  margin: 0;
}

.how-to-order-module__heading {
	margin: 0 0 28px 0;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #13072d;
}

@media (max-width: 991.98px) {
	

	.how-to-order-module__heading {
		font-size: 24px;
	}

}

    .how-to-order-module__heading {
        margin: 0 0 28px 0;
        font-size: 28px;
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: .4px;
        text-transform: uppercase;
        color: #13072d;
    }

    @media (max-width: 991.98px) {
        

        .how-to-order-module__heading {
            font-size: 24px;
        }

    }

.price-final-card{
  min-height: 78px;
  padding: 14px 18px;
  background: #fbfbfb;
  border: 1px solid #d9d9d9;
  border-radius: .375rem;
}

.price-final-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-final-old{
  font-size: .78rem;
  color: #dc3545;
  text-decoration: line-through;
  line-height: 1.1;
  margin-bottom: 4px;
}

.price-final-value{
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #111;
}

.price-final-right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
}

.price-final-label{
  font-size: .72rem;
  font-weight: 600;
  color: #666;
  line-height: 1;
  text-transform: uppercase;
}

.price-final-unit{
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.1;
}

.qty-custom-input{
  height: 34px;
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
}

.qty-list{
  width: 100%;
}

.qty-line{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 5px 0;
  margin-bottom: 2px;
}

.qty-line__choice{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.qty-line__price{
  width: 90px;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 90px;
}

.qty-line__save{
  width: 150px;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 150px;
}

.qty-line--custom .qty-line__input{
  flex: 1 1 auto;
  min-width: 0;
}

.qty-line--custom .qty-custom-input{
  width: 100%;
}

.qty-line--custom.qty-option--active{
  background: #eef3ff;
  border-radius: 10px;
  padding: 8px 10px;
}

.qty-line__save.save-label{
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgb(42, 121, 62) !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}
.qty-line .save-label{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  color: rgb(42, 121, 62);
  box-shadow: none;
}

.qty-line--custom .form-check-label{
  font-size: 0.92rem;
}
.qty-line--custom .qty-custom-input{
  font-size: 0.95rem;
}

.deals-page{
    padding-top:2rem;
    padding-bottom:4rem;
    overflow-x:clip;
}

.deal-main-card {
    position:relative;
    overflow:hidden;
    border-radius:28px;
    min-height:360px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.deal-main-card::before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.10) 100%);
}

.deal-main-card .deal-content {
    position:relative;
    z-index:2;
    max-width:520px;
    padding:2.5rem;
}

.deal-main-card{
    min-height:420px;
}

.deal-main-title{
    font-size:clamp(2.2rem, 4vw, 3.7rem);
    line-height:.95;
    font-weight:900;
    margin-bottom:.5rem;
    text-transform:uppercase;
}

.deal-main-subtitle{
    font-size:1.35rem;
    font-weight:700;
    margin-bottom:.6rem;
}

.deal-main-description{
    font-size:1rem;
    margin-bottom:1rem;
}

.deal-countdown{
    font-size:.95rem;
    font-weight:600;
    margin-bottom:1rem;
}

.deal-actions{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    align-items:center;
    margin-bottom:.75rem;
}

.deal-actions.justify-center{
    justify-content:center;
}

.deal-shop-all{
    font-size:.95rem;
    font-weight:600;
    text-decoration:underline;
}

.deals-section-title{
    font-size:2rem;
    font-weight:800;
    margin-bottom:1.25rem;
}

.deals-empty{
    border-radius:24px;
    background:#f7f7f8;
    padding:3rem 2rem;
    text-align:center;
}

.why-viking-deals-section{
    padding-top:3rem;
    padding-bottom:2.5rem;
}

.why-viking-deals-row{
    max-width:1150px;
    margin:0 auto;
}

@media (max-width:767.98px){
    .deal-main-card::before {
        background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.20) 100%);
    }

    .deal-main-card .deal-content {
        padding:1.5rem;
    }

}

.deals-page{
    padding-top:0;
    padding-bottom:4rem;
    overflow-x:clip;
}

.deals-hero-fullwidth{
    position:relative;
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    margin-top:0;
    margin-bottom:2.5rem;
}

.deal-main-card{
    position:relative;
    overflow:hidden;
    border-radius:0;
    min-height:560px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    box-shadow:none;
}

.deal-main-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.70) 36%, rgba(255,255,255,.18) 72%, rgba(255,255,255,0) 100%);
}

.deal-main-card .deal-content{
    position:relative;
    z-index:2;
    max-width:700px;
    min-height:560px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:3.5rem 3rem 6.5rem;
}

.deal-main-title{
    font-size:clamp(3rem, 6vw, 5.5rem);
    font-family:"MegionBold", Helvetica, Arial, sans-serif;
    font-weight:900;
    letter-spacing:.07em;
    line-height:1.1;
    margin-bottom:.45rem;
    text-transform:uppercase;
}

.deal-main-subtitle{
    font-size:clamp(1.2rem, 2vw, 1.8rem);
    font-family:"NeueHelveticaPro55Roman", Helvetica, Arial, sans-serif;
    font-weight:400;
    margin-bottom:.6rem;
    text-transform:uppercase;
}

.deal-main-description{
    font-size:1.25rem;
    font-family:"NeueHelveticaPro55Roman", Helvetica, Arial, sans-serif;
    font-weight:400;
    line-height:1.48;
    margin-bottom:1.1rem;
    text-transform:uppercase;
    max-width:560px;
}

.deal-actions{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    align-items:center;
    margin-bottom:.8rem;
}

.deal-shop-all{
    font-size:.95rem;
    font-weight:600;
    text-decoration:underline;
}

.deal-countdown-bar{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;
    background:rgba(0,0,0,.88);
    color:#fff;
    text-align:center;
    padding:1rem 1.25rem;
    font-size:1rem;
    font-weight:700;
}

.deal-countdown{
    margin-bottom:0;
    font-size:inherit;
    font-weight:inherit;
    color:inherit !important;
}

@media (max-width: 991.98px){
    .deal-main-card,
    .deal-main-card .deal-content{
        min-height:480px;
    }

    .deal-main-card .deal-content{
        padding:2.5rem 2rem 5.5rem;
    }
}

@media (max-width: 767.98px){
    .deal-main-card{
        min-height:460px;
    }

    .deal-main-card::before{
        background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.20) 100%);
    }

    .deal-main-card .deal-content{
        min-height:460px;
        align-items:center;
        text-align:center;
        padding:2rem 1.25rem 5.5rem;
    }

    .deal-main-description{
        max-width:100%;
    }

    .deal-actions{
        justify-content:center;
    }

    .deal-countdown-bar{
        font-size:.92rem;
        padding:.9rem 1rem;
    }
}

.deal-main-card .deal-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
    min-height: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* antes: flex-start */
    text-align: center;    /* agregar */
    padding: 3.5rem 3rem 6.5rem;
}

.deal-actions{
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center; /* agregar */
    margin-bottom: .8rem;
}

.deal-main-card .deal-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
    min-height: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* antes: flex-start */
    text-align: center;    /* agregar */
    padding: 3.5rem 3rem 6.5rem;
}

.deal-actions{
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center; /* agregar */
    margin-bottom: .8rem;
}

.deal-cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:.85rem 1.5rem;
    border:none;
    border-radius:8px; /* cuadrado con leve borde */
    font-size:1rem;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    box-shadow:none;
    transition:background-color .2s ease, color .2s ease, transform .2s ease;
}

.deal-cta-btn:hover{
    background:#e9ecef !important; /* gris clarito fijo */
    color:#1f2937 !important;
    text-decoration:none;
    transform:translateY(-1px);
}

.deal-cta-btn:focus{
    color:#1f2937;
    box-shadow:none;
    text-decoration:none;
}

.deal-cta-btn:active{
    background:#dde2e6 !important;
    color:#1f2937 !important;
    transform:none;
}

.deal-upload-page{
    background:#fff;
    padding-bottom:0;
}

.deal-upload-hero{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    background:#2a0a5e;
}

.deal-upload-promo{
    background:#6416b8;
    color:#fff;
    font-family:"NeueHelveticaPro55Roman", Helvetica, Arial, sans-serif;
    text-align:center;
    padding:.65rem 1rem;
    font-size:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
	padding-top: 20px;
	letter-spacing: 1px;
}

.deal-upload-promo-icon{
    font-size:1.45em;
    margin-right:.6rem;
	margin-bottom: 3px;
}

.deal-upload-promo-sep{
    margin:0 1.1rem;
}

.deal-upload-wrap{
    max-width:1320px;
    margin:0 auto;
    padding:3rem 1.25rem 3.5rem;
    text-align:center;
}

.deal-upload-title{
    font-family:"MegionBold", Helvetica, Arial, sans-serif;
    font-size:4rem;
    line-height:1.05;
    font-weight:800;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:.07em;
    margin:0 0 .9rem;
}

.deal-upload-subtitle{
    font-family:"NeueHelveticaPro55Roman", Helvetica, Arial, sans-serif;
    font-size:1.08rem;
    color:#d8cdef;
    margin:0 0 2rem;
    line-height:1.45;
}

.deal-upload-box{
    max-width:1240px;
    margin:0 auto;
}

.deal-upload-formats{
    margin:1.1rem 0 0;
    font-size:.95rem;
    color:#d8cdef;
}

.deal-upload-formats strong{
    color:#c9a6ff;
    font-weight:700;
}

.deal-upload-skip-wrap{
    margin-top:1.1rem;
    font-size:1rem;
    line-height:1.4;
    color:#d8cdef;
}

.deal-upload-skip{
    background:none;
    border:0;
    padding:0;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.deal-upload-skip:hover{
    text-decoration:underline;
}

.deal-upload-processing{
    margin-top:1rem;
    color:#8de89b;
    font-weight:600;
}

.filepond--root{
    margin-bottom:0 !important;
    height:250px;
}

.filepond--root .filepond--drop-label{
    position:absolute;
    inset:0;
    margin:0;
    padding:1.75rem 2.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
}

.filepond--root .filepond--drop-label label{
    width:100%;
    height:100%;
    margin:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.85rem;
    color:#fff;
    font-size:1rem;
}

.filepond--panel-root{
    background:transparent !important;
    border:2px dashed rgba(255,255,255,.55);
    border-radius:4px;
    height:250px !important;
    min-height:unset !important;
    margin:0 2.5rem;
}

.filepond--label-action{
    text-decoration:none !important;
}

.deal-upload-choose{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.6rem;
    min-width:220px;
    min-height:64px;
    padding:0 1.5rem;
    margin-top:50px;
    border-radius:15px;
    border:3px solid transparent;
    background:
        linear-gradient(#6418b6, #6418b6) padding-box,
        linear-gradient(to right, #fb7742, #c50ed9, #6b07ef) border-box;
    color:#fff !important;
    font-size:1rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.03em;
    box-shadow:none;
    transition:background .2s ease;
}

.deal-upload-choose:hover{
    background:
        linear-gradient(#7d3ac9, #7d3ac9) padding-box,
        linear-gradient(to right, #fb7742, #c50ed9, #6b07ef) border-box;
}

.deal-upload-choose__icon{
    font-size:1.1rem;
    line-height:1;
}

.deal-upload-or{
    display:block;
    color:#fff;
    font-size:1rem;
    font-weight:400;
    line-height:1.2;
}

.filepond--credits{
    display:none !important;
}

.deal-upload-tear{
    width:100%;
    overflow:hidden;
    line-height:0;
}

.deal-upload-tear img{
    display:block;
    height:auto;
    width:1920px;
    max-width:none;
}

@media (min-width: 1921px){
    .deal-upload-tear img{
        width:100%;
    }
}

.deal-upload-benefits{
    background:#fff;
    padding:3rem 1.25rem;
}

.deal-upload-benefits-inner{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:2rem 0;
}

.deal-upload-benefit{
    flex:1 1 340px;
    display:flex;
    align-items:center;
    gap:1rem;
    padding:0 1.25rem;
    text-align:left;
    position:relative;
}

.deal-upload-benefit + .deal-upload-benefit{
    border-left:1px solid #e3e3e3;
}

.deal-upload-benefit__icon{
    flex:0 0 auto;
    width:132px;
    height:160px;
    object-fit:contain;
}

.deal-upload-benefit__title{
    font-size:1.3rem;
    font-weight:800;
    color:#14233c;
    margin:0 0 .35rem;
    white-space:nowrap;
}

.deal-upload-benefit__desc{
    font-size:1rem;
    color:#687387;
    line-height:1.45;
    margin:0;
}

@media (max-width: 768px){
    .deal-upload-wrap{
        padding:2rem 1rem 2.5rem;
    }

    .deal-upload-title{
        font-size:1.95rem;
        line-height:1.08;
        margin:0 0 .85rem;
    }

    .deal-upload-subtitle{
        font-size:.95rem;
        line-height:1.5;
        max-width:320px;
        margin:0 auto 1.5rem;
        padding:0;
    }

    .deal-upload-box{
        max-width:100%;
    }

    .filepond--root{
        height:200px;
    }

    .filepond--panel-root{
        height:200px !important;
        margin:0;
    }

    .filepond--root .filepond--drop-label{
        padding:1.25rem 1rem;
    }

    .filepond--root .filepond--drop-label label{
        gap:.7rem;
        font-size:.95rem;
    }

    .deal-upload-choose{
        min-width:180px;
        min-height:56px;
        padding:0 1rem;
        margin-top:30px;
        font-size:.95rem;
    }

    .deal-upload-or{
        font-size:.95rem;
    }

    .deal-upload-skip-wrap{
        max-width:330px;
        margin:1rem auto 0;
        font-size:.95rem;
        line-height:1.45;
    }

    .deal-upload-benefit{
        flex:1 1 100%;
        padding:0;
    }

    .deal-upload-benefit + .deal-upload-benefit{
        border-left:0;
        border-top:1px solid #e3e3e3;
        padding-top:1.5rem;
    }

    .deal-upload-benefit__icon{
        width:92px;
        height:112px;
    }

    .deal-upload-benefit__title{
        font-size:1.2rem;
        white-space:normal;
    }
}

.drift-bounding-box{
    display: none !important;
}

.drift-zoom-pane{
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    background: #fff;
    z-index: 99999;
}

.cart-thumb-frame{
    width:100px;
    height:110px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:10px;
    background:#fff;
    position:relative;
    border:1px solid #ececec;
}

.cart-thumb-img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
    cursor:zoom-in;
}

.cart-hover-zoom-pane{
    position: fixed;
    width: 240px;
    height: 240px;
    border-radius: 14px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 100%;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    z-index: 99999;
    pointer-events: none;
    display: none;
}

@media (max-width: 991.98px){
    .cart-hover-zoom-pane{
        display:none !important;
    }
}

/* ── Frame contenedor ── */
.cart-thumb-frame {
    width: 100px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #fafafa;
    position: relative;
    border: 1.5px solid #ececec;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: zoom-in;
}

.cart-thumb-frame:hover {
    border-color: #c8c8c8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Frame vacío */
.cart-thumb-frame.cart-thumb-empty {
    cursor: default;
    background: #f5f5f5;
}

/* ── Imagen del producto ── */
.cart-thumb-img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    display: block;
    /* Evita pixelado en imágenes pequeñas */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    user-select: none;
}

/* ── Panel de zoom flotante ── */
.cart-hover-zoom-pane {
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    background-repeat: no-repeat;
    /* 350% = zoom ~3.5x. El JS lo ajusta dinámicamente si la imagen es grande */
    background-size: 150% 150%;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 12px 32px rgba(0,0,0,0.13),
        0 0 0 1px rgba(0,0,0,0.04);
    z-index: 99999;
    pointer-events: none;

    /* Estado oculto */
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s;
}

.cart-hover-zoom-pane.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Etiqueta "ZOOM" opcional — útil para UX */
.cart-hover-zoom-pane::after {
    content: 'ZOOM';
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #bbb;
    font-family: system-ui, sans-serif;
    pointer-events: none;
}

/* Checkered background para imágenes con transparencia (stickers!) */
.cart-hover-zoom-pane.has-transparency {
    background-image:
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 16px 16px, 16px 16px, 16px 16px, 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

/* El JS sobreescribe background-image inline, esto actúa de base */
.cart-hover-zoom-pane.has-transparency {
    background-color: transparent;
}

/* ── Responsive: deshabilitar en mobile ── */
@media (max-width: 991.98px) {
    .cart-hover-zoom-pane {
        display: none !important;
    }
    
}

/* ── Drift overrides (si lo usás en otro lado) ── */
.drift-bounding-box { display: none !important; }
.drift-zoom-pane {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    background: #fff;
    z-index: 99999;
}

/* ✅ CORRECTO — zoom 3.5× real */
.cart-hover-zoom-pane {
    background-size: 150% 150%;
}

#custom-apparel-arsenal.container { max-width: 1200px; }
@media (min-width: 1400px) { #custom-apparel-arsenal.container { max-width: 1260px; } }

#custom-apparel-arsenal .sticker-arsenal-grid { width: 100%; gap: 18px; align-items: stretch; }
#custom-apparel-arsenal .sticker-arsenal-grid .box-left  { flex: 0 0 46%; min-width: 0; }
#custom-apparel-arsenal .sticker-arsenal-grid .box-right { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
#custom-apparel-arsenal .box-right-bottom                { display: flex; justify-content: flex-start; gap: 18px; }
#custom-apparel-arsenal .box-right-bottom .box-small     { flex: 1 1 0; }

#custom-apparel-arsenal .box-left .sticker-card          { min-height: 460px; }
#custom-apparel-arsenal .box-right-top .sticker-card     { min-height: 210px; }
#custom-apparel-arsenal .box-small .sticker-card         { min-height: 210px; }

@media (max-width: 992px) {
    #custom-apparel-arsenal .sticker-arsenal-grid { flex-direction: column; }
    #custom-apparel-arsenal .sticker-arsenal-grid .box-left { flex: 1 1 auto; }

    #custom-apparel-arsenal .box-left .sticker-card,
    #custom-apparel-arsenal .box-right-top .sticker-card,
    #custom-apparel-arsenal .box-small .sticker-card {
        min-height: auto;
    }
}

.custom-apparel-hover-card{
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    border-radius: 25px;
    background:
        linear-gradient(#F3F4F6, #F3F4F6) padding-box,
        linear-gradient(#E5E7EB, #E5E7EB) border-box;
    border: 2px solid transparent;
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s ease, background .5s ease, border-width .25s ease;

    --rays-size: 520px;
    --rays-left: 50%;
    --rays-top: 100%;
    --rays-box-height: 60%;
    --rays-mask: radial-gradient(
        ellipse 88% 72% at 50% 100%,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 26%,
        rgba(0,0,0,.72) 48%,
        rgba(0,0,0,.16) 68%,
        transparent 84%
    );
}

.custom-apparel-hover-card:hover,
.custom-apparel-hover-card:focus-visible{
    transform: translateY(-2px);
    border-width: 8px;
    background:
        linear-gradient(#F3F4F6, #F3F4F6) padding-box,
        linear-gradient(to right, #fb7742, #c50ed9, #6b07ef) border-box;
}

/* overlay violeta arriba de la imagen. Atenua el destello (__rays, z-index 2)
   para que se vea sutil de fondo. Compartido con las cards de producto. */
.custom-apparel-hover-card__overlay,
.category-product-card__overlay{
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    background: linear-gradient(135deg, rgba(167, 46, 221, .82), rgba(124, 58, 237, .88));
}

.custom-apparel-hover-card:hover .custom-apparel-hover-card__overlay,
.custom-apparel-hover-card:focus-visible .custom-apparel-hover-card__overlay,
.category-product-card:hover .category-product-card__overlay,
.category-product-card:focus-visible .category-product-card__overlay{
    opacity: 1;
}

.custom-apparel-hover-card__icon{
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.custom-apparel-hover-card__icon img{
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    transition: transform .25s ease, filter .25s ease;
    border-radius: 16px;
}

.custom-apparel-hover-card:hover .custom-apparel-hover-card__icon img,
.custom-apparel-hover-card:focus-visible .custom-apparel-hover-card__icon img{
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.02);
}

/* destello */
.custom-apparel-hover-card__rays{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--rays-box-height);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    transition: opacity .28s ease;

    -webkit-mask-image: var(--rays-mask);
    mask-image: var(--rays-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.custom-apparel-hover-card__rays::before{
    content: "";
    position: absolute;
    left: var(--rays-left);
    top: var(--rays-top);
    width: var(--rays-size);
    height: var(--rays-size);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at center,
            rgba(255,255,255,.55) 0%,
            rgba(255,255,255,.28) 12%,
            rgba(255,255,255,.12) 22%,
            transparent 38%
        ),
        repeating-conic-gradient(
            from 0deg,
            rgba(255,255,255,.22) 0deg 4deg,
            transparent 4deg 22deg
        );
    filter: blur(1px);
}

.custom-apparel-hover-card:hover .custom-apparel-hover-card__rays,
.custom-apparel-hover-card:focus-visible .custom-apparel-hover-card__rays{
    opacity: 1;
}

/* ──────────────────────────────────────────
   COLOR SWATCHES T SHIRTS CUSTOM APPAREL
   ────────────────────────────────────────── */
.color-swatch-input {
    display: none;
}

.color-swatch-label {
    width: 30px;
    height: 30px;
    border-radius: 0.3rem;
    cursor: pointer;
    border: 1px solid #e3e9ef;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin: 0;
    display: block;
}

.color-swatch-input:checked + .color-swatch-label {
    transform: scale(1.15);
    border-color: #333;
    box-shadow: 0 0 0 3px #fff inset, 0 4px 10px rgba(0,0,0,0.15);
}

/* ──────────────────────────────────────────
   
   ────────────────────────────────────────── */

.qty-line{
    display: grid;
    grid-template-columns: 90px minmax(70px, 100px) minmax(90px, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
}

.qty-line__choice{
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-line__price{
    white-space: nowrap;
	text-align: center;
}

.qty-line__save{
    white-space: nowrap;
    text-align: right;
}
@media (max-width: 576px){

    .qty-list .qty-line:not(.qty-line--custom){
        display: grid !important;
        grid-template-columns: minmax(72px, 1fr) minmax(72px, .95fr) minmax(78px, 1fr) !important;
        align-items: center !important;
        column-gap: 8px !important;
        row-gap: 0 !important;
        min-height: 36px !important;
        overflow: visible !important;
    }

    .qty-list .qty-line.qty-line--custom{
        display: grid !important;
        grid-template-columns: max-content 1fr !important;
        align-items: center !important;
        column-gap: 10px !important;
    }

    .qty-list .qty-line__choice{
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .qty-list .qty-line__price{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        text-align: center !important;
        white-space: nowrap !important;
        margin: 0 !important;
        align-self: center !important;
    }

    .qty-list .qty-line__save{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
        margin: 0 !important;
        align-self: center !important;
        font-size: .86rem !important;
        line-height: 1.2 !important;
    }

    .qty-list .qty-line.qty-option{
        padding: .22rem .75rem !important;
    }
}

.color-swatch-input {
    display: none;
}
.color-swatch-label {
    width: 45px;
    height: 45px;
    border-radius: 0.375rem;
    cursor: pointer;
    border: 1px solid #e3e9ef;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin: 0;
    display: block;
}
.color-swatch-input:checked + .color-swatch-label {
    transform: scale(1.15);
    border-color: #333;
    box-shadow: 0 0 0 3px #fff inset, 0 4px 10px rgba(0,0,0,0.15);
}

.qty-size-input.is-invalid {
    border-color: #dc3545;
}

.file-drop-area {
    min-height: 140px;
    padding: 18px 16px;
    border: 2px dashed #c86bff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.file-drop-area.is-dragover,
.file-drop-area.dragover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.04);
}

.file-drop-icon {
    margin-bottom: 10px;
}

.file-drop-message {
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
}

/* FilePond invisible pero funcional */
#custom-file-drop .filepond--root {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
	pointer-events: none;

}

#custom-file-drop .filepond--drop-label,
#custom-file-drop .filepond--panel-root,
#custom-file-drop .filepond--list-scroller,
#custom-file-drop .filepond--credits {
    display: none !important;
}

#hats-qty-option-custom .form-check-label {
    white-space: nowrap;
}

#hats-qty-option-custom .qty-line__choice {
    min-width: 110px;
}

#hats-custom-qty-wrap {
    min-width: 110px;
}

#hats-qty-option-custom .form-check-label {
    white-space: nowrap;
}
#hats-custom-qty-label {
    white-space: nowrap;
}
#hats-qty-option-custom {
    align-items: center;
}

#hats-qty-option-custom .qty-line__choice {
    width: auto;
    min-width: 32px;
    flex: 0 0 32px;
}

#hats-qty-option-custom .qty-line__input {
    flex: 0 0 125px;
    margin-left: 6px;
}

#hats-qty-option-custom .qty-custom-input {
    width: 125px;
}

#hats-qty-option-custom {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px;
}

#hats-qty-option-custom .qty-line__choice {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
}

#hats-qty-option-custom .qty-line__input {
    display: flex;
    flex: 0 0 120px !important;
    width: 120px !important;
    margin-left: 0 !important;
}

#hats-qty-option-custom .qty-custom-input {
    width: 120px !important;
    min-width: 120px !important;
}

  .drift-zoom-pane {
      border-radius: 0 !important;
      width: 250px !important;
      height: 250px !important;    
  }

  .pdf-preview-container {
      max-width: 100%;
      overflow: hidden;
  }
  .pdf-canvas-container canvas {
      width: 100% !important;
      height: auto !important;
  }
  .pdf-controls button {
      background: #007bff;
      color: white;
      border: none;
      padding: 2px 6px;
      cursor: pointer;
  }
  .pdf-controls button:hover {
      background: #0056b3;
  }
  .pdf-controls .scale-display {
      font-weight: bold;
  }

.color-swatch-input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.color-swatch-label{
    display:block;
    width:34px;
    height:34px;
    border-radius:50%;
    border:2px solid rgba(0,0,0,.45); /* borde más oscuro */
    cursor:pointer;
    transition:all .2s ease;
}

.color-swatch-label:hover{
    transform:scale(1.05);
    border-color:rgba(0,0,0,.65);
}

.color-swatch-input:checked + .color-swatch-label{
    border-color:#111;
    box-shadow:0 0 0 2px rgba(0,0,0,.18);
}

@media (max-width: 575.98px){
    

    .color-swatch-label{
        width:30px;
        height:30px;
    }
}

.color-swatch-input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.color-swatch-label{
    display:block;
    width:34px;
    height:34px;
    border-radius:6px; /* cuadrado con leve redondeo */
    border:2px solid rgba(0,0,0,.55); /* borde oscuro */
    cursor:pointer;
    transition:all .2s ease;
}

.color-swatch-label:hover{
    transform:scale(1.04);
    border-color:rgba(0,0,0,.75);
}

.color-swatch-input:checked + .color-swatch-label{
    border-color:#111;
    box-shadow:0 0 0 2px rgba(0,0,0,.15);
}

@media (max-width: 575.98px){
    

    .color-swatch-label{
        width:30px;
        height:30px;
    }
}

.product-gallery-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.product-gallery-stage {
    position: relative;
}

.product-gallery-slide {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

/* width:auto + height:100% hace que la caja del <img> mida exactamente lo mismo
   que la imagen visible. Con width:100% + object-fit:contain la caja era mas
   ancha que la imagen (franjas transparentes a los costados) y el border-radius
   se dibujaba en esas franjas invisibles, no en las esquinas de la imagen. */
.product-gallery-image {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Tiny Slider fuerza display:inline-block en el slide (.tns-item) con mayor
       especificidad, asi que el justify-content del slide no aplica: se centra
       la imagen con margin auto, que no depende del display del padre. */
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

.product-gallery-carousel .tns-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(0,0,0,.15);
    font-size: 22px;
    line-height: 1;
    padding: 0;
}

.product-gallery-carousel .tns-controls button:first-child {
    left: 1rem;
}

.product-gallery-carousel .tns-controls button:last-child {
    right: 1rem;
}

.product-gallery-carousel .tns-controls button:hover {
    background: #fff;
}

.product-gallery-dots {
    display: flex;
    justify-content: center;
    margin-top: .85rem;
    min-height: 12px;
}

.product-gallery-dots .tns-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

.product-gallery-dots .tns-nav button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 60%;
    opacity: .5;
}

@media (max-width: 991.98px) {
    .product-gallery-slide {
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    .product-gallery-slide {
        height: 280px;
    }

    .product-gallery-carousel .tns-controls button:first-child {
        left: .5rem;
    }

    .product-gallery-carousel .tns-controls button:last-child {
        right: .5rem;
    }
}

.product-gallery-dots .tns-nav button.tns-nav-active {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

/* Opción A: solo los small de leyenda */
.form-group > small {
    font-style: normal;
}

/* Opción B: más amplio, resetea todo lo que herede italic de ese contenedor */
.d-flex small,
.form-check ~ small {
    font-style: normal;
}

/* ──────────────────────────────────────────
   COLOR SWATCHES - SQUARE SELECTOR STYLE
   ────────────────────────────────────────── */

.color-swatch-input {
    display: none;
}

.color-swatch-label {
    width: 38px;
    height: 38px;
    border-radius: 0.3rem; /* cuadrado con puntas suaves */
    cursor: pointer;
    margin: 0;
    display: block;

    border: 1px solid #d8dde3;
    box-shadow: inset 0 0 0 3px #ffffff;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.color-swatch-label:hover {
    border-color: #8f98a3;
    transform: scale(1.03);
}

.color-swatch-input:checked + .color-swatch-label {
    transform: none;
    border-color: #1f7ae0;
    box-shadow:
        inset 0 0 0 3px #ffffff,
        0 0 0 2px #1f7ae0;
}

.color-swatch-input:focus + .color-swatch-label {
    outline: none;
    box-shadow:
        inset 0 0 0 3px #ffffff,
        0 0 0 2px #1f7ae0,
        0 0 0 5px rgba(31, 122, 224, .18);
}

.qty-size-input:disabled,
.qty-size-input.is-disabled-size {
    background-color: #f3f4f6;
    border-color: #d7d7d7;
    color: #999 !important;
    cursor: not-allowed;
    opacity: 1;
}

.qty-size-input:disabled::placeholder {
    color: #aaa;
}

.expected-delivery-card {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
}

.expected-delivery-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #eef4ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.expected-delivery-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.expected-delivery-text {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
}

.expected-delivery-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
}

