#main-img{
    max-width: 550px;
}

.modal {
    z-index: 100000;
}

ul.certificados{
    margin: 0 auto; padding: 0; list-style: none; text-align: left;
}
ul.certificados li{
    display: inline-block; vertical-align: middle;
}

.categories{
    padding: 60px 0;
}
.category-list {
    margin-bottom: 48px;
}
.category-list .title{
    margin-bottom: 16px;
    font-weight: 500;
}
.category-list ul{
    margin:0;
    padding:0;
    gap: 16px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
@media(max-width:1199px){
    .category-list ul{
        grid-template-columns: repeat(4, 1fr);
    }
}
@media(max-width:991px){
    .category-list ul{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width:767px){
     .category-list ul{
        grid-template-columns: repeat(2, 1fr);
    }
    .category-list ul li{
        width: 100%;
    }
}
.category-list ul li a{
    background-color: #e2e2e2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border: 4px solid transparent;
    transition: all .2s ease-in-out;
}
.category-list ul li a:hover{
    border-color: #003DA8;
}
.category-list ul li a img{
    height: 120px;
    margin-bottom: 16px;
}
.category-list ul li a p{
    font-family: 'Roboto Condensed', sans-serif;
    color: #000;
    font-weight: 400;
    font-size: 20px;
    margin:0;
    transition: all .2s ease-in-out;
}
.category-list ul li a:hover p{
    color: #003DA8;
}
@media(max-width:767px){
    .category-list ul li a img{
        height: auto;
        width: 100%;
    }
    .category-list ul li a p{
       font-size: 18px;
    }
}

.product-hero{
    height: 90vh;
    position: relative;
}
@media(max-width:991px){
    .product-hero{
        height: 75vh;
        padding-top: 120px;
    }
}
@media(max-width:767px){
     .product-hero{
        padding-top: 80px;
        height: auto;
    }   
}
.product-hero .bg-product-hero{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}
.product-hero .container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}
.product-hero .container h2{
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 62px;
    margin:0;
    bottom: -16px;
}
@media(max-width:1199px){
    .product-hero .container h2{
        font-size: 54px;
        bottom: -12px;
    }
}
@media(max-width:991px){
   .product-hero .container h2{
    text-align: center;
   }
}
@media(max-width:767px){
    .product-hero .container h2{
        font-size: 42px;
        bottom: -10px;
    }
}
.product-hero .da-link{
    position: absolute;
    bottom: -16px;
    right: 0;
    background-color: #003DA8;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    padding: 24px 32px;
    align-items: center;
    width: 100%;
    max-width: 450px;
}
@media(max-width:1199px){
    .product-hero .da-link{
        max-width: 350px;
        padding:16px 32px;
    }
}
@media(max-width:991px){
    .product-hero .da-link{
        bottom: -56px;
        max-width: inherit;
        z-index: 3;
        padding:12px 24px;
        align-items: center;
        justify-content: center;
    }
}
.product-hero .da-link:hover{
    background-color: #123d61;
}
.product-hero .da-link img{
    height: 32px;
}
.product-hero .da-link p{
    color: #fff;
    font-size: 22px;
    margin:0;
}
.product-hero .da-link svg{
    height: 20px;
    width: auto;
}
.product-hero .da-link svg path{
    fill: #fff;
}

.summary-grid{
   display: flex;
   gap: 8px;
   justify-content: space-between;
   margin-bottom: 32px;
}
.summary-grid ul{
    margin:0;
    padding:0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
} 
.summary-grid  ul li{
    padding: 12px 4px;
    text-align: center;
    background-color: #e2e2e2;
}
.summary-grid  ul li span{
    font-size: 16px;
    font-weight: bold;
    color: #333;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
}
.summary-grid  ul li.head {
    background-color: #003399;
}
.summary-grid  ul li.head span{
    color: #fff;
}
.product-table {
  overflow-x: auto;
}
.product-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #001a66;
  color: white;
  font-size: 14px;
  font-weight: 400;
}
.product-table table td {
  padding: 12px 16px;
  border-bottom: 1px solid #003399;
  vertical-align: top;
}
.product-table table tr:nth-child(even) {
  background-color: #003399;
}
.product-table table td:first-child {
  font-weight: bold;
  width: 45%;
}

.variables {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding:32px;
}
@media(max-width:767px){
   .variables {
    flex-direction: column;
    padding: 0;
    gap: 0;
    height: auto;
    margin-bottom: 48px;
   }
}
.product-images {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 2 / 1;
  margin-bottom: 1rem;
}

.product-img-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.product-img-list li {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  background-color: transparent!important;
}

.product-img-list li.active {
  opacity: 1;
  z-index: 1;
}

.product-img-list img {
  width: 100%;
  height: auto;
  display: block;
}

.color-select {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}
@media(max-width:767px){
    .color-select{
        flex-direction: column;
        width: 100%;
    }
}
.color-select p{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 22px;
    text-align: right;
    line-height: 110%;
    margin-bottom: 0;
}
@media(max-width:767px){
    .color-select p{
        text-align: center;
    }
}
.color-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media(max-width:767px){
    .color-list {
        flex-direction: row;
    }
}
.color-list li {
  position: relative;
  overflow: hidden;
}

.color-list a {
  display: block;
  width: 40px;
  height: 30px;
  border-radius: 4px!important;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.color-list a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid black;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.color-list a.active {
  border-color: black;
}

.color-list a.active::after {
  transform: translate(-50%, -50%) scale(1);
}

.color-azul       { background: #111e95; }
.color-celeste    { background: #4f96f6; }
.color-rojo       { background: #cc0000; }
.color-blanco     { background: #ffffff; }
.color-naranja    { background: #ff5b00; }
.color-amarillo   { background: #ffc233; }
.color-negro      { background: #2e2e2e; }
.color-gris        { background: #565656; }

@media (max-width:991px){
    header .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .h-social {
        position: relative;
        right: auto; 
        top: auto;
    }
    header .lang {
        position: absolute;
        top: 5px;
        right: 20px;
    }
}
@media (max-width: 767px) {
     header .lang {
        position: relative;
        top: auto;
        right: auto;
     }
}
@media (max-width: 1199px) {
    .h-social>a {
        padding: 0;
    }
}

.mensaje-inicial {
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px dashed #999;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}