/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

body {
  margin: 0;
  padding: 0;
  background: #f1f1e9;
  color: #000; 
}

/* Nuevo estilo de header más compacto */
header {
  background-color: #f0efe0;
  color: #333;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5%; /* Reducido de 15px a 8px */
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px; /* Reducido de 50px a 40px */
}

.search-bar {
  flex-grow: 1;
  max-width: 500px;
  margin: 0 20px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 6px 12px; /* Reducido de 10px 15px a 6px 12px */
  border-radius: 20px;
  border: none;
  background-color: #b5c25a;
  color: #333;
  font-size: 0.9rem; /* Reducido de 1rem a 0.9rem */
}

.search-bar input::placeholder {
  color: #555;
}

.search-bar i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px; /* Reducido de 20px a 15px */
}

.user-icon, .cart-icon {
  font-size: 1.2rem; /* Reducido de 1.5rem a 1.2rem */
  color: #adba5e;
  cursor: pointer;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px; /* Reducido de -10px a -8px */
  right: -8px; /* Reducido de -10px a -8px */
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 16px; /* Reducido de 20px a 16px */
  height: 16px; /* Reducido de 20px a 16px */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem; /* Reducido de 0.8rem a 0.7rem */
}

/* Nuevo estilo de navegación más compacto */
.main-nav {
  background-color: #b5c25a;
  padding: 8px 0; /* Reducido de 15px a 8px */
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px; /* Reducido de 40px a 30px */
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem; /* Reducido de 1.1rem a 0.95rem */
  transition: color 0.3s;
  padding: 4px 8px; /* Reducido de 5px 10px a 4px 8px */
}

.nav-links a:hover {
  color: #f0efe0;
}

/* Resto de estilos */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.category-title {
  margin-bottom: 2rem;
  text-align: center;
  color: #2c3e50;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.add-to-cart {
  background-color: #b5c25a;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background-color: #9aaa3a;
}

/* Estilos del carrito */
.cart-modal {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.cart-modal.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #b5c25a;
  color: white;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  padding: 1rem;
}

.cart-item {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1rem;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: #2c3e50;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.quantity-btn {
  background-color: #eee;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  cursor: pointer;
}

.quantity-value {
  margin: 0 0.5rem;
}

.remove-item {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.cart-total {
  padding: 1rem;
  border-top: 1px solid #eee;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.checkout-btn {
  background-color: #b5c25a;
  color: white;
  border: none;
  padding: 1rem;
  width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #9aaa3a;
}

.empty-cart-message {
  text-align: center;
  padding: 2rem;
  color: #7f8c8d;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-modal {
    width: 100%;
    right: -100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .top-header {
    flex-direction: column;
    gap: 10px; /* Reducido de 15px a 10px */
  }
  
  .search-bar {
    max-width: 100%;
    margin: 8px 0; /* Reducido de 10px a 8px */
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 8px; /* Reducido de 10px a 8px */
  }
}
  
/*Marcas*/
.brands-section {
    max-width: 100%; /* Asegurar que no haya límites de ancho */
    display: flex;
    justify-content: space-evenly; /* Distribuir los logos uniformemente */
    align-items: center;
    padding: 20px;
    background: #fbfbfb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brands-section img {
    width: 15%; /* Ajuste del tamaño de los logos */
    max-width: 200px;
    transition: transform 0.3s ease-in-out;
}

.brands-section img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .brands-section {
        flex-wrap: wrap;
        justify-content: center; /* Centrar en pantallas pequeñas */
    }
    .brands-section img {
        width: 30%;
        margin: 5px;
    }
}

/*Rebajas*/

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .heading {
    color: #adba5e;
  }
  
  .collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .collection-card {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
  }
  
  .large {
    grid-row: span 2;
    height: 460px;
  }
  
  .card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
  }
  
  .collection-card h2 {
    font-size: 24px;
    color: #333;
    font-weight: 400;
    margin-bottom: 5px;
  }
  
  .collection-card p {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .discount {
    color: #e74c3c !important;
  }

  .product-image {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
  }
  
  .large .product-image {
    max-width: 90%;
    max-height: 80%;
  }
  
  .more-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    z-index: 2;
  }
  
  .more-link:hover {
    color: #666;
  }
  
  .catalog-banner {
    background-color: #adba5e;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
  }
  
  .catalog-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .large {
        grid-column: span 2;
        height: 300px;
    }
  }
  
  @media (max-width: 480px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .large {
        grid-column: span 1;
        height: 250px;
    }
    
    .collection-card {
        height: 180px;
    }
  }

  /*Sobre nosotros*/

  .containerr {
    background-color: #ffffff; /* Cambia este color por el que desees */
    width: 100%;
    padding: 20px;
    box-sizing: border-box; /* Asegura que el padding no exceda el ancho total */
}
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .about-title {
    color: #adba5e;
  }
  
  .since-title {
    color: #f0f0f0;
    font-weight: 700;
  }
  
  .content {
    display: flex;
    gap: 20px;
  }
  
  .left-section {
    flex: 2;
    height: 480px;
    background-image: url('imgINDEX/isn.png');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
  }
  
  .story-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #e7e5d8;
    width: 100%;
    padding: 0 20px;
  }
  
  .story-box h2 {
    margin-bottom: 20px;
  }
  
  .story-box p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .learn-more-btn {
    background-color: #e7e5d8;
    color: #adba5e;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .learn-more-btn:hover {
    background-color: #adba5e;
    color: #e7e5d8;
  }
  
  .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .newsletter-box, .community-box {
    height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .newsletter-box {
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8cmVzdGF1cmFudHxlbnwwfHwwfHx8MA%3D%3D&w=1000&q=80');
  }
  
  .community-box {
    background-image: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8Y3ljbGluZ3xlbnwwfHwwfHx8MA%3D%3D&w=1000&q=80');
  }
  
  .newsletter-box::before, .community-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  
  .newsletter-box h3, .community-box h3 {
    color: #e7e5d8;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  
  .newsletter-form {
    display: flex;
    position: relative;
    z-index: 1;
  }
  
  .newsletter-form input {
    padding: 12px 15px;
    width: 200px;
    border: none;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgb(73, 155, 169);
  }
  
  .newsletter-form input::placeholder {
    color: #aaa;
  }
  
  .sign-me-btn {
    background-color: #e7e5d8;
    color: #adba5e;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .social-icons {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
  }
  
  .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #e7e5d8;
    color: #adba5e;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: #adba5e;
    transform: translateY(-3px);
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .left-section, .right-section {
        flex: 1;
    }
    
    .left-section {
        height: 400px;
    }
  }


  /*Comentarios*/
  .title-link {
    font-size: 32px;
    font-weight: bold;
    color: #adba5e;
    text-decoration: none;
    transition: color 0.3s;
    margin-bottom: 20px;
}

.title-link:hover {
    color: #8a9548;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #adba5e;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.username {
    font-weight: 500;
}

.post-options {
    cursor: pointer;
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-caption {
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.post-stats {
    display: flex;
    padding: 0 15px 15px;
    color: #adba5e;
}

.likes, .comments {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.like-button, .comment-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #adba5e;
    margin-right: 5px;
}

.like-count, .comment-count {
    font-size: 14px;
}

.hidden {
    display: none;
}

.comment-section {
    padding: 15px;
    border-top: 1px solid #eee;
}

.comments-container {
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.comment {
    margin-bottom: 10px;
    font-size: 14px;
}

.comment-username {
    font-weight: bold;
    margin-right: 5px;
}

.add-comment {
    display: flex;
}

.add-comment input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.send-comment {
    padding: 8px 15px;
    background-color: #adba5e;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.new-post-section {
    margin-bottom: 30px;
}

.new-post-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.new-post-container textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    justify-content: space-between;
}

.custom-file-upload {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

#post-button {
    padding: 8px 20px;
    background-color: #adba5e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.all-posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.all-posts-container .post-card {
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    .title-link {
        font-size: 24px;
    }
}

/*Nuestra Historia*/
.hero {
    color: #64aac2;
    text-align: center;
    margin-top: 0;
    padding: 3px 0 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #adba5e;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    width: 300px; /* Ancho de la imagen */
    height: 300px; /* Altura de la imagen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

/* Timeline Section */
.timeline {
    background-color: #e7e5d8;
    text-align: center;
}

.timeline h2 {
    color: #adba5e;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color:  #adba5e;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #869145;
    border-radius: 50%;
    top: 15px;
    left: 50%;
    margin-left: -10px;
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    color:  #adba5e;
    margin-bottom: 10px;
}
/* Values Section */
.values {
    background-color:  #ffffff;
    text-align: center;
}

.values h2 {
    color: #adba5e;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas iguales */
    gap: 30px;
}


.value-card {
    background-color: #e7e5d8;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-bottom: 20px;
    color:#adba5e;
}

.value-card h3 {
    color:  #1c313a;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background: #adba5e;
    background-size: cover;
    background-position: center;
    color:  #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/*CycleTip*/

.heroo {
    color: #64aac2;
    text-align: center;
    margin-top: 0;
    padding: 3px 0 50px;
}

.heroo h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.heroo p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Tips Section */


.btn-primary {
    display: inline-block;
    background-color: #64aac2;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition:  all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #adba5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-more {
    display: inline-block;
    color: #64aac4;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.btn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color:  #64aac4;
    transition: all 0.3s ease;
}

.btn-more:hover::after {
    width: 100%;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px; /* Más espacio entre los cuadros */
    padding-bottom: 40px; /* Separa los cuadros del borde inferior */
}

.tip-card {
    background-color: #e7e5d8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0; /* Asegúrate de que los márgenes entre las tarjetas no causen el problema */
}

.tips-section {
    background-color: #ffffff;
    padding: 80px 20px; /* Espacio superior e inferior amplio */
}
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 36px;
    color:  #adba5e;
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #64aac4;
}

.tip-card p {
    color: #000;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Featured Tip Section */
.featured-tip {
    background-color: #adba5e;
    color: white;
    padding: 80px 0;
}

.featured-tip .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-content h2 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.featured-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.featured-content p {
    margin-bottom: 20px;
}

.featured-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.featured-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.featured-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}

.featured-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 550px; /* Ancho de la imagen */
    height: 400px; /* Altura de la imagen */
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #64aac4;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid #64aac2;
    border-radius: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

.newsletter input:focus {
    outline: none;
    border-color:  #adba5e;
}


/*Pie de pagina*/
footer {
    background-color: #e7e5d8;
    color: #333;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #adba5e;
}

.footer-logo span {
    color: #adba5e;
}

.footer-logo p {
    color: #333;
    font-size: 14px;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #333;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #adba5e;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #333;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #64aac3;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.footer-contact i {
    color: #adba5e;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #adba5e;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #e7e5d8;
}

.social-icons a:hover {
    background-color: #64aac3;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
}

/*video*/

.video-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.user-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e74c3c;
}

.user-profile .username {
  font-weight: 500;
}

.user-menu {
  position: absolute;
  top: 50px;
  right: 0;
  background: #e7e5d8;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 200px;
  z-index: 100;
  display: none;
}

.user-profile:hover .user-menu {
  display: block;
}

.user-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #64aac2;
  transition: background-color 0.3s;
}

.user-menu a:hover {
  background-color: #f5f5f5;
}

.user-menu .logout {
  border-top: 1px solid #ddd;
  color: #e74c3c;
}

.user-icon i, .cart-icon i {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}



/*PERFIL*/




.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #64aac2;
}

.user-profile .username {
    font-weight: 500;
}

.user-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    z-index: 100;
    display: none;
}

.user-profile:hover .user-menu {
    display: block;
}

.user-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.user-menu a:hover {
    background-color: #f5f5f5;
}

.user-menu .logout {
    border-top: 1px solid #ddd;
    color: #64aac2;
}

.user-icon i, .cart-icon i {
    font-size: 20px;
    color: #333;
    cursor: pointer;
}



.profile-container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.profile-pic {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #64aac2;
}

.change-pic {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #64aac2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.profile-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.profile-info p {
    color: #777;
    margin-bottom: 5px;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    background-color: #64aac2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #8a9548;
}

.error-message {
    color: #e74c3c;
    margin-bottom: 15px;
}

.success-message {
    color: #27ae60;
    margin-bottom: 15px;
}

.upload-form {
    display: none;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
}
