.glow-on-hover-white {
    font-family: "Oswald", Arial, sans-serif;
    width: 220px;
    height: 50px;
    background: #fff;
    color: #000;          
    border: 2px solid #000;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}
.glow-on-hover-white:before {
    content: '';
    background: linear-gradient(
        45deg,
        #ff0000, #ff7300, #fffb00,
        #48ff00, #00ffd5, #002bff,
        #7a00ff, #ff00c8, #ff0000
    );
    position: absolute;
    top: -4px;
    left: -4px;
    background-size: 400%;
    z-index: -1;
    filter: blur(6px);
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 14px;
}
.glow-on-hover-white:hover {
    color: #000;
}
.glow-on-hover-white:hover:before {
    opacity: 1;
}
.glow-on-hover-white:active {
    color: #000;
}
.glow-on-hover-white:after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: -1;
    border-radius: 8px;
}
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}
/*Circulos de colores*/
.colores-titulo {
  font-size: 15px;
  font-weight: 700;
}

.colores {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.color {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid #000000;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.color:hover {
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.azul { background: #0E0E96; }
.rojo { background: #E10613; }
.blanco { background: #fff; }
.negro { background: #000; }
.amarillo { background: #ffef0b; }
.verde { background: #016202; }
.naranja {background: #ff6600;}
.cafe { background-color: #ffb300;}
/* Botón */
.medidas-boton {
  display: flex;
  justify-content: center;
  padding: 14px 16px 18px;
}

.medidas-boton .glow-on-hover {
  width: 100%;
  max-width: 220px;
}

/* Responsive */
@media (max-width: 1024px) {
  .layout-cajas {
    grid-template-columns: 1fr;
  }

  .medidas {
    margin: auto;
  }
}

@media (max-width: 600px) {
  .seccion-cajas {
    padding: 40px 20px;
  }

  .contenedor-cajas {
    grid-template-columns: 1fr;
  }
}
/*recuadro de imagen*/
.caja-seca-section{
  padding:60px 80px;
  font-family: "Oswald", Arial, sans-serif;
}

.caja-seca-grid{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:60px;
  align-items:center;
}

.caja-visual{
    text-align:center;
    min-height: 420px;
}
.caja-visual img{
    max-width:100%;
    cursor:pointer;
    width: 100%;
    height: 450px;
    object-fit: contain;
}
.hint{font-size:14px;color:#000000;}
.caja-visual h2{
  font-size: 22px;
  font-weight: 700;
  color:#871A1A;
}
.caja-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}

.tabla-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  text-align:center;
}

.tabla-grid > span,
.th-menu{
  padding:14px 10px;
  border-bottom:1px solid #e5e7eb;
  font-size:15px;
}

.tabla-grid > span:nth-child(-n+6),
.th-menu{
  background:#f9fafb;
  font-weight:700;
  color:#111827;
}

.tabla-grid > span{
  color:#374151;
}

.tabla-grid > span:hover{
  background:#f3f4f6;
}

.th-menu{
  position:relative;
  cursor:pointer;
}

.th-btn{
  background:none;
  border:none;
  font-weight:700;
  color:#111827;
  cursor:pointer;
}

.th-btn::after{
  content:"▾";
  margin-left:6px;
  font-size:16px;
}

.menu-opciones{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:120px;
  background:#fff;
  border:1px solid #871A1A;
  border-radius:10px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  z-index:20;
  overflow:hidden;
}

.menu-opciones span{
  display:block;
  padding:10px;
  font-size:14px;
  cursor:pointer;
  transition:.2s;
}

.menu-opciones span:hover{
  background:#871A1A;
  color:#fff;
}

.th-menu.active .menu-opciones{
  display:block;
}

.btn-cotizar{
  display:block;
  width:200px;
  margin:25px auto;
  background:#000;
  color:#fff;
  text-align:center;
  padding:12px;
  border-radius:8px;
  text-decoration:none;
}
/* zoom de imagen */
.modal-img{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.modal-img.activo{display:flex;}

.modal-img img{
  max-width:90%;
  max-height:90%;
}

.modal-img .cerrar{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:32px;
  cursor:pointer;
}
.pipa-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:visible;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.pipa-tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}
.pipa-tabla-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  text-align:center;
}
.pipa-tabla-grid > span,
.pipa-tabla-th-menu{
  padding:14px 10px;
  border-bottom:1px solid #e5e7eb;
  font-size:15px;
}
.pipa-tabla-grid > span:nth-child(-n+5),
.pipa-tabla-th-menu{
  background:#f9fafb;
  font-weight:700;
  color:#111827;
}

.pipa-tabla-grid > span{
  color:#374151;
}
.pipa-tabla-grid > span:hover{
  background:#f3f4f6;
}

.pipa-tabla-th-menu{
  position:relative;
  cursor:pointer;
}

.pipa-tabla-th-btn{
  background:none;
  border:none;
  font-weight:700;
  color:#111827;
  cursor:pointer;
}

.pipa-tabla-th-btn::after{
  content:"▾";
  margin-left:6px;
  font-size:16px;
}

.pipa-tabla-menu{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:140px;
  background:#fff;
  border:1px solid #871A1A;
  border-radius:10px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  z-index:20;
  overflow:hidden;
}
.pipa-tabla-menu span{
  display:block;
  padding:10px;
  font-size:14px;
  cursor:pointer;
  transition:.2s;
}
.pipa-tabla-menu span:hover{
  background:#871A1A;
  color:#fff;
}
.pipa-tabla-th-menu.active .pipa-tabla-menu,
.pipa-tabla-th-menu:hover .pipa-tabla-menu{
  display:block;
}
/**/
.opciones {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 24px;
  justify-content: center;
  margin-top: 12px;
}
.btn-opcion {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
.btn-opcion p {
  margin: 0;
  color: #871A1A;
}
.btn-opcion::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 5px;
  background: #871A1A;
  transition: width 0.25s ease;
}
.btn-opcion:hover::after,
.btn-opcion.activo::after {
  width: 100%;
}
/*estacas*/
.estaca-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:visible;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.estaca-tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}
.estaca-tabla-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  text-align:center;
}
.estaca-tabla-grid > span,
.estaca-th-menu{
  padding:14px 10px;
  border-bottom:1px solid #e5e7eb;
  font-size:15px;
}
.estaca-tabla-grid > span:nth-child(-n+8),
.estaca-th-menu{
  background:#f9fafb;
  font-weight:700;
  color:#111827;
}
.estaca-tabla-grid > span{
  color:#374151;
}

.estaca-tabla-grid > span:hover{
  background:#f3f4f6;
}

.estaca-th-menu{
  position:relative;
  cursor:pointer;
}

.estaca-th-btn{
  background:none;
  border:none;
  font-weight:700;
  color:#111827;
  cursor:pointer;
}

.estaca-th-btn::after{
  content:"▾";
  margin-left:6px;
  font-size:16px;
}

.estaca-menu-opciones{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:140px;
  background:#fff;
  border:1px solid #871A1A;
  border-radius:10px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  z-index:20;
  overflow:hidden;
}

.estaca-menu-opciones span{
  display:block;
  padding:10px;
  font-size:14px;
  cursor:pointer;
  transition:.2s;
}
.estaca-menu-opciones span:hover{
  background:#871A1A;
  color:#fff;
}
.estaca-th-menu.active .estaca-menu-opciones,
.estaca-th-menu:hover .estaca-menu-opciones{
  display:block;
}
.dollys-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  overflow:hidden;
}
.dollys-tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}
.dollys-tabla-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  text-align:center;
}
.dollys-tabla-grid > span{
  padding:14px 10px;
  border-bottom:1px solid #e5e7eb;
  font-size:15px;
  color:#374151;
}

.dollys-tabla-grid > span:nth-child(-n+5){
  background:#f9fafb;
  font-weight:700;
  color:#111827;
}
.dollys-tabla-grid > span:hover{
  background:#f3f4f6;
}
.dollys-tabla-grid > span:nth-child(3n+1){
  font-weight:600;
}
.volteo-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  overflow:hidden;
}
.volteo-tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}
.volteo-tabla-grid{
  display: grid;
  grid-template-columns: repeat(6,1fr);
  text-align: center;
}
.volteo-tabla-grid>span{
  padding: 14px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color: #374151;
}
.volteo-tabla-grid>span:nth-child(-n+6){
  background: #f9fafb;
  font-weight: 700;
  color: #111827;
}
.volteo-tabla-grid>span:nth-child(6n+1){
  font-weight: 600;
}
.volteo-tabla-grid>span:hover{
  background: #f3f4f6;
}
.caballos-tabla{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  overflow:hidden;
}
.caballos-tabla-header{
  background:#871A1A;
  color:#fff;
  padding:16px;
  text-align:center;
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
}
.caballos-tabla-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr) 1.2fr;
  text-align: center;
  align-items: stretch;
}
.caballos-tabla-grid>span{
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color:#374151;
  display: flex;
  align-items: center;
  justify-content: center;
}
.caballos-tabla-grid>span:nth-child(-n+3){
  background: #f9fafb;
  font-weight: 700;
  color:#111827
}
.caballos-tabla-grid>span:nth-child(4n+1){
  font-weight: 600;
  text-align: justify;
  justify-content: flex-start;
}
.caballos-info{
  grid-row: 1 / -1;
  grid-column: 4;
  padding: 18px;
  background: #fafafa;
  border-left: 1px solid #e5e7eb;
  text-align: justify;
  font-size: 14px;
  color:#374151;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.caballos-info h3{
  margin-bottom: 10px;
  font-size: 16px;
  color:#111827;
}
.caballos-tabla-grid>span:hover{
  background: #f3f4f6;
}
/*adaptacion de tablas para moviles*/
@media (max-width: 1024px) {

  .caja-seca-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .caja-seca-section {
    padding: 40px 30px;
  }

  .caja-visual img {
    height: 350px;
  }

}
@media (max-width: 768px) {

  .caja-seca-section {
    padding: 30px 20px;
  }

  .caja-visual img {
    height: 280px;
  }
  .tabla-grid,
  .pipa-tabla-grid,
  .estaca-tabla-grid,
  .dollys-tabla-grid,
  .volteo-tabla-grid,
  .caballos-tabla-grid {
    display: grid;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }
  .caja-tabla,
  .pipa-tabla,
  .estaca-tabla,
  .dollys-tabla,
  .volteo-tabla,
  .caballos-tabla {
    overflow-x: auto;
  }

}
@media (max-width:768px){

.caja-tabla::after,
.pipa-tabla::after,
.estaca-tabla::after,
.dollys-tabla::after,
.volteo-tabla::after,
.caballos-tabla::after{
  content: "← Desliza →";
  display:block;
  text-align:center;
  font-size:12px;
  color:#871A1A;
  margin-top:5px;
}

}

/**/