/* Forma superior personalizada */
.custom-shape-divider-top-1743032320 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1743032320 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 137px;
}

.custom-shape-divider-top-1743032320 .shape-fill {
    fill: #8BC34A;
}

/* Estilos generales */
body {
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    background-image: url(https://ficeda.com.mx/?precios_asset=aHR0cDovLzIwMS45OS4xMTQuNjM6ODEvY2VudHJhbC1hYmFzdG8vaW1hZ2VuZXMvZm9uZG8tZnJ1dGFzLmpwZw%3D%3D&ref=aHR0cDovLzIwMS45OS4xMTQuNjM6ODEvY2VudHJhbC1hYmFzdG8vcHJlY2lvcy5jc3M%3D);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.title {
    font-size: 2em;
    font-weight: bold;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.0);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #004d26;
    padding: 20px;
    color: white;
    gap: 20px;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}


.container {
    display: flex;
}

.gallery-item,
.gallery-i,
.gallery-v {
     text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img,
.gallery-i img,
.gallery-v img{
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 150px;
    height: 150px;
    
}

.gallery-i img {
    width: 80px;
    height: 80px;
   
    border: 3px solid #fc0606df;
    padding: 1px;
    display: block;
}

.gallery-v img {
    width: 80px;
    height: 80px;
    border: 3px solid #06b2fc;
    padding: 1px;
    display: block;
}

.gallery-item img:hover,
.gallery-i img:hover,
.gallery-v img:hover {
    transform: scale(1.1);
}


.description {
    margin-top: 10px;
    font-size: 1em;
}

.descriptio,
.descripti {
  margin-top: 10px;
  font-size: 1em;
}

.gallery-i {
  margin-right: 70px; /* aumenta o ajusta según separación deseada */
}

.gallery-v {
  margin-left: 70px;
}





/* Canasta básica */
.canasta-basica,
.frutas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.canasta-item {
    text-align: center;
    margin: 10px;
    width: 160px;
    border-radius: 12px;
    padding: 10px;
}

.canasta-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}


.canasta-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animacion suave */
}

/* Efecto al pasar el mouse */
.canasta-item img:hover {
    transform: scale(1.1); /* Se agranda un poco */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra bonita */
}



.canasta-item .product-description {
    margin-top: 10px;
    font-size: 1em;
}

.canasta-item .product-price {
    margin-top: 5px;
    font-size: 1.1em;
    color: #ff004c;
}

/* Logo izquierdo */
.logo-izquierdo {
    height: 100px;   
    margin-right: 15px;
  }
  
  /* Logo derecho */
  .logo-derecho {
    height: 100px;  
    margin-left: 20px;
  }
  
  

/* Botón */
button {
    padding: 0.8em 1.8em;
    border: 2px solid #17C3B2;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    transition: .3s;
    color: #17C3B2;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button::before {
    content: '';
    width: 0;
    height: 300%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #17C3B2;
    transition: .5s ease;
    display: block;
    z-index: -1;
}

button:hover::before {
    width: 105%;
}

button:hover {
    color: #111;
}


#zona-animacion {
    position: absolute; /* Absoluto, no se mueve con el scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Altura ajustable para la zona de frutas */
    pointer-events: none; /* Las frutas no afectan la interacción del usuario */
    overflow: hidden; /* Evita que las frutas se desborden */
    z-index: 9999; /* Siempre encima de otros elementos */
  }

/* Animación */
.fruit {
    position: absolute;
    width: 90px;
    height: 90px;
    opacity: 0.9;
    animation: fall 5s linear infinite;
}

@keyframes fall {
    from {
        transform: translateY(-100px);
        opacity: 3;
    }
    to {
        transform: translateY(300px);
        opacity: 3;
    }
}

/* Imagenes informativas */
.info-image img {
    display: block;
    margin: 10px auto;
}

.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

/* Footer */
footer {
    background-color: #2e8b57;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-cab {
    background-color: #207040;
    color: white;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-logo {
    height: 60px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-separator {
    height: 40px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

/* Botón especial del monitoreo */
.gallery-i {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
  .gallery-i,
  .gallery-v {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    margin: 0 auto;
  }

  .gallery-item {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gallery-i img,
  .gallery-v img {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto;
  }

  .descriptio,
  .descripti {
    font-size: 12px;
    text-align: center;
    margin-top: 6px;
  }
}




/* Canasta resumen */
.canasta-resumen {
    margin: 20px auto;
    text-align: center;
    max-width: 360px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.canasta-resumen table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.canasta-resumen thead td {
    background-color: #4CAF50;
    color: rgb(0, 0, 0);
    padding: 10px;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
}

.canasta-resumen tbody td {
    padding: 10px;
    border-top: 1px solid #cccccc;
    font-weight: bold;
    background-color: #f1f8e9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(to bottom right, #ffffff, #f7f7f7);
    margin: 5% auto;
    padding: 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(2, 218, 63, 0.7);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
    margin-top: 0;
    color: #444;
    text-align: center;
    font-size: 22px;
    font-family: 'Times New Roman', Times, serif;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff4444;
}

.modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
}

.modal-content th, .modal-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.modal-content th {
    background-color: #f1f1f1;
    color: #333;
}

.modal-content tr:nth-child(even) {
    background-color: #fafafa;
}

.modal-content tr:hover {
    background-color: #f0f0f0;
}




/* Redes sociales */
.social-icons {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    z-index: 999;
}

.social-icons.left { left: 0; }
.social-icons.right { right: 0; }

.social-icons a {
    display: flex;
    align-items: center;
    margin: 10px;
    gap: 10px;
    transition: transform 0.3s ease;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-text {
    font-family: 'Great Vibes', cursive;
    font-size: 16px;
    color: black;
    font-style: normal;
}

/* Ocultar redes sociales en móviles */
@media (max-width: 768px) {
    .social-icons {
        display: none;
    }
}




/* TEXTO EN MAYÚSCULAS */
body, h1, h2, h3, h4, h5, h6, p, div, span, td, th, button, a {
    text-transform: uppercase;
}


.contador-visitas {
    text-align: center;
    font-size: 14px;
    color: #444;
    margin-top: 10px;
    font-style: italic;
  }
  


/* 📱 ADAPTACIÓN MÓVIL RESPONSIVE */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    .title {
        font-size: 1.3em;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .logo {
        height: 60px;
    }

    .gallery-item img,
    .gallery-i img {
        width: 80px;
        height: 80px;
    }

    .description {
        font-size: 12px;
        margin-top: 5px;
    }

    .descriptio {
        margin-top: 10px;
        margin-left: 0px;
        font-size: 1em;
        text-align: left; /* en pantallas grandes */
    }

    .canasta-basica,
    .frutas {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .canasta-item {
        width: 120px;
        padding: 5px;
    }

    .canasta-item img {
        width: 70px;
        height: 70px;
    }

    .canasta-item .product-description,
    .canasta-item .product-price {
        font-size: 12px;
    }

    .canasta-resumen {
        width: 95%;
        font-size: 13px;
        padding: 8px;
    }

    button {
        font-size: 13px;
        padding: 8px 12px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
        font-size: 13px;
    }

    .modal-content table {
        font-size: 13px;
    }

    footer {
        padding: 12px 10px;
        font-size: 12px;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-text {
        font-size: 0.7rem;
    }

    .footer-separator {
        height: 25px;
    }

    .footer-logos {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links {
        font-size: 11px;
        margin-top: 8px;
        gap: 4px;
    }

    .footer-links a {
        margin: 0 4px;
    }

    .custom-shape-divider-top-1743032320 svg {
        height: 80px;
    }

    .social-icons {
        display: none;
    }
}


.btn-ubicacion-modal {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  .btn-ubicacion-modal:hover {
    background-color: #43a047;
  }
  

  #terminos {
    font-size: 12px; /* letra más chica */
    color: #666; /* gris elegante */
    text-align: center; /* centrado */
    margin-top: 20px; /* espacio arriba */
    margin-bottom: 20px; /* espacio abajo */
    font-style: italic; /* cursiva */
    max-width: 800px; /* ancho máximo */
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px; /* espacio interno */
  }
  


/* ======= PIE DE PÁGINA ESTILO “BARRA VERDE” ======= */
.ficeda-footer{
  width: 100%;
  background: #9cc31a;          /* verde como el de tu imagen (ajústalo si quieres) */
  color: #ffffff;
  padding: 22px 16px;
  box-sizing: border-box;
}

.ficeda-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px 20px;
}

/* Texto centrado (fila 1, col 1) */
.ficeda-footer__center{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  text-align: center;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

/* Redes centradas (fila 2, col 1) */
.ficeda-footer__social{
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* Botón circular */
.ficeda-social{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .15s ease;
  text-decoration: none;
}
.ficeda-social:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
}
.ficeda-social img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Menú a la derecha (ocupa 2 filas) */
.ficeda-footer__nav{
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-transform: uppercase;
}

.ficeda-footer__nav a{
  color: #173b8e;               /* azul como en tu imagen */
  font-weight: 900;
  letter-spacing: .4px;
  text-decoration: none;
  font-size: 16px;
}
.ficeda-footer__nav a:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px){
  .ficeda-footer__inner{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .ficeda-footer__center{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: 18px;
  }
  .ficeda-footer__social{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .ficeda-footer__nav{
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    align-items: center;
    text-align: center;
  }
}
