body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }

  
  .category h2 {
    margin-bottom: 10px;
    color: #555;
  }
  
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .product {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .product:hover {
    transform: scale(1.05);
  }
  
  .product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: -0.4vh;
  }
  
  .info {
    padding: 10px;
    border-top: 1px solid #ddd;
  }
  
  .info h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }
  
  .info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .overlay button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .overlay button:hover {
    background-color: #0056b3;
  }
  
  .product:hover .overlay {
    opacity: 1;
  }
  
main{
    margin: 0 auto;
    padding-top: 10%;
    width: 100%;
    height: auto;
}


.space-s{
    width: 100%;
    border: #e0e0e0 0.7vh solid;
    margin-top: 3vh;
    
}









body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #333;
}

.container-main{
    width: 100%;
    margin-top: 25vh;
}


.header {
    background-color: #f9f9f9;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contacto-top {
    position: fixed;
    z-index: 1000;
    background-color: white; 
    transition: top 0.3s; 
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    background-color: #F5F5F5;
    box-shadow: 0 2px 5px #ccc;
    width: 100%;
}

.container-h {
    position: fixed;
    margin-top: 5vh;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.cotizacion{
    grid-column: 2/6;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    align-items: center;
    justify-content: center;
}

.cotizacion div:nth-child(1){
    grid-column: 1;
}
.cotizacion div:nth-child(1) p{
    font-size: 0.8em;
}

.cotizacion div:nth-child(2){
    grid-column: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cotizacion div:nth-child(2) a{
    font-size: 0.8em;
    text-decoration: none;
    color: #000;
    transition: font-size 0.3s ease;
}


.cotizacion div:nth-child(2) a:hover{
    font-size: 1em;
    color: #F88311;
}

.contacto-links {
    grid-column: 10;
    display: flex;
    justify-content: right;
    padding: 0.3em 20% 0.3em 0;
    gap: 0.7rem;
    margin: 0 auto;
}
    
.contacto-links a {
    text-decoration: none;
}

.contacto-links img {
    width: 1.5em;
    height: auto;
    transition: transform 0.3s ease;
}

.contacto-links a:hover img {
    transform: scale(1.2);
}

.contacto-top img{
    width: 1.5em;
}


.header-top {
    padding: 1.5vh 0 1vh;
}



.header nav {
    background-color: #1A3668;
}

.nav-list {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: space-around;
    padding: 0;
    position: relative;
    width: 100%;
}

.nav-list li {
    margin: 0 1rem;
    position: relative;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-list a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F88311;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.nav-list a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.nav-list a:hover {
    color: #F88311;
}

.nav-list .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e9e9e9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 200px;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
}

.nav-list .dropdown li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list .dropdown a {
    padding: 1rem;
    color: #1A3668;
    display: block;
    text-align: left;
}

.nav-list li:hover .dropdown {
    display: block;
}


.space {
    background-color: #F88311;
    height: 1em;

}

.footer {
    background-color: #313131;
    color: white;
    padding: 2rem 0;
    text-align: left;
}

.container-f {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin: 1rem;
    min-width: 250px;
}

.footer-section h2 {
    margin-bottom: 15px;
    color: #f8f8f8;
}

.footer-section p, .footer-section a {
    color: #bbb;
    line-height: 1.6;
}

.footer-section a {
    text-decoration: none;
    color: #bbb;
}

.footer-section a:hover {
    color: #F88311;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.2);
}

.ubi-frame iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: #222;
    color: #bbb;
}

.footer-bottom p {
    margin: 0;
}

main{
    padding: 20%, 2em,5em;
    margin: 0 auto;
}

.header-title {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0;
    margin: 0;
    align-items: center;
    text-align: center;
}

.logo {
    grid-column: 1/3;
    width: 24vh;
    height: auto;
    margin: 0 auto;
}

.header-title h1 {
    font-family: 'Arial', sans-serif;
    grid-column: 3/5;
    font-size: 2em;
    margin: 0;
}


#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.space-w{
    height: 2vh;
}

.negritas{
    font-weight: bold;
}