@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,600italic);
@import url(menu.css);
@import url(banner.css);
@import url(nuestros.css);
@import url(noticias.css);

*	{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', sans-serif;
}

header {
	width: 100%;
	height: 90px;
	background: #000000;
	color: #fff;

	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}




/* ********* */ 
/* aca termina la session de index */
/* ********* */ 

.contenedor {
	width: 85%;
	margin: auto;
}

h1 {
	float: left;
}

header .contenedor {
	display: table;
}

section {
	width: 100%;
	margin-bottom: 25px;
}



#bienvenidos h2 {
	text-align: center;
	font-size: 16px;
	padding: 25px;
}

#bienvenidos .text-servicios {
	text-align: center;
	padding: 20px;
	
}


.btn-wsp {
	position: fixed;
	width: 55px;
	height: 55px;
	line-height: 55px;
	bottom: 30px;
	left: 30px;
	background: #0df053;
	color: #fff;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
	z-index: 100;
}

.btn-wsp:hover {
	text-decoration: none;
	color: #0df053;
	background: #fff;

}


/* ********* */ 
/* aca termina la session de index producto */
/* ********* */ 





/* ********* */ 
/* aca empiza la session de noticias */
/* ********* */ 


.noti-sect {
      padding: 50px 20px;
    }

    .noti-sect h2 {
      text-align: center;
      font-size: 32px;
      margin-bottom: 40px;
      color: #333;
    }

.noti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.noti {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.noti:hover {
  transform: translateY(-5px);
}

.noti img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.noti h3 {
  font-size: 20px;
  margin: 15px 20px 10px;
  color: #222;
}

.noti p {
  font-size: 15px;
  color: #555;
  margin: 0 20px 10px;
  line-height: 1.5;
}

.noti .fecha {
  margin: 10px 20px 20px;
  font-size: 13px;
  color: #999;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal .cerrar {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ********* */ 
/* aca empieza la session  de noticias */
/* ********* */ 









/* ********* */ 
/* aca empieza la session de nosotros */
/* ********* */ 

#nos {

	text-align: center;
}

#nos h2 {
	text-align: center;
	font-size: 25px;
	margin: 130px;
}

#nos h5 {
	text-align: center;
	font-size: 18px;
	padding: 15px;
}

#nos .text-servicios1 {
	text-align: center;
	padding: 20px;
}

/* ********* */ 
/* aca termina la session de nosotros */
/* ********* */ 


/* ********* */ 
/* aca epieza la session de productos */
/* ********* */ 



    .galeria-productos {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .producto {
      background: rgb(219, 215, 215);
      border-radius: 20px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 300px;
    }

    .container-img {
      width: 100%;
      max-width: 280px;
    }

    .main-img {
      width: 100%;
      border-radius: 20px;
      border: 5px solid #fff;
      object-fit: cover;
    }

    .mini-galeria {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .thumb {
      width: 60px;
      
      object-fit: cover;
      border: 2px solid #ccc;
      border-radius: 10px;
      cursor: pointer;
      transition: border-color 0.3s;
    }

  
    .thumb:hover {
      border-color: #76b28e;
    }

    .container-info-producto {
      margin-top: 15px;
      text-align: center;
    }

    @media screen and (max-width: 768px) {
      .galeria-productos {
        flex-direction: column;
        align-items: center;
      }

      .producto {
        width: 90%;
      }
    }
















#productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 180px auto;
    padding: 0 80px;

}

.producto {
    width: calc(33.33% - 20px);
    display: flex;
    padding: 20px;
    border: 2px solid #e4e4e4;
    border-radius: 8px;
    box-sizing: border-box;
}

.container-img {
        margin-right: 20px;
}

.container-img img {
    width: 100%;
    border-radius: 30PX;
    border: 7px solid #fff;
}





.container-info-producto {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container-price {
    padding-bottom: 20px;
    border-bottom: 1px solid #76b28e;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-price span {
    font-size: 24px;
    font-weight: 300;
}


.container-details-product {
    margin-bottom: 30px; 
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group label {
    width: 100%;
    color: #333;
    font-weight: 700;
}

.form-group select {
    width: 100%;
}

.btn-clean {
    border: none;
    background: none;
    color: #666;
    margin-left: 0;
    cursor: pointer;
}

.container-add-cart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
}

.container-quantity {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-quantity {
    width: 80px;
    text-align: center;
}

.input-quantity:focus {
    outline: none;
}

.input-quantity::-webkit-inner-spin-button,
.input-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.btn-increment-decrement {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.increment-decrement-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

.btn-add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-add-to-cart:hover {
    background-color: #218838;
}

.container-description,
.container-additional-information,
.container-share-social {
    margin-top: 20px;
}

.title-description,
.title-additional-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.title-description h4,
.title-additional-information h4 {
    margin: 0;
}

.text-description.active,
.text-additional-information.active {
    display: block;
}

.text-description,
.text-additional-information {
    display: none;
    margin-top: 10px;
}

.container-share-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.container-buttons-share-social a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
}

/* Media query para ajustar el diseño en pantallas más pequeñas */
@media screen and (max-width: 768px) {
    .producto {
        width: 100%;
        flex-direction: column;
    }
    
    .container-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .container-img img {
        max-width: 100%;
    }
}  











/* ********* */ 
/* aca termina la session de productos */
/* ********* */ 


/* ********* */ 
/* aca empieza la session  de contacto */
/* ********* */ 

.text-contacto {
	padding: 50px 55px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	
	width: 330px;
	margin-left: 30px;
}

#contacto h2 {
	text-align: center;
	font-size: 25px;
	margin: 125px;
}

#contacto h6 {
	text-align: center;
	font-size: 25px;
	padding: 50px;
}

#contacto h5 {
	text-align: center;
	font-size: 18px;
	padding: 10px;
}

.text-contacto {
	display: flex;
	flex-direction: column;
}

.labeltop {
	color: #333;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 15px;
	text-align: left;
}

input, textarea {
	padding: 17px 25px;
	border-radius: 15px;
	margin-bottom: 20px;
	background: #EDFFF0;
	border: 2px solid  #F0FAF1;
	color: #283629;
	outline: none;
}

input::placeholder, textarea::placeholder {
	color: #76b28e;
}

#contacto .form-txt {
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
	text-align: center;
}

.form-txt a {
	color: #76b28e;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.btn {
	font-size: 16px;
	color: #fff;
	border: 0;
	border-radius: 25px;
	background-color: #51D94C;
	box-shadow: 0 0 20px rgba(25, 254, 0, 0.4);
	cursor: pointer;
}

.btn::hover {
	background-color: #50E04B;
}

/* ********* */ 
/* aca termina la session de contacto */
/* ********* */ 







footer .contenedor {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 200px;
	padding: 10px;
}

.copy {
	font-size: 14px;
	text-align: center;

}

.sociales {
	width: 100%;
	text-align: center;
	font-size: 20px;
	padding: 15px;

}

.sociales a {
	color:  #333;
	text-decoration: none;
}




/* ********* */ 
/*  session de responsitive */
/* ********* */ 

@media (min-width: 1024px) {
	.contenedor {
		width: 1000px;
	}
}


	
