body {
    margin: 0;
    font-family: 'Roots', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
    background-color: #F7F3F0;
}
  

/* ============== */
/* Main Content */
/* ============== */


main {
    flex: 1;
    text-align: center;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #000;
}

.content-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-section {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    overflow: hidden;
}


.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* controla el tamaño del difuminado */
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25));
  z-index: 2;
}

.hero-section img {
    width: 100%;
    height: 620px;
    box-shadow: 0 11px 12px rgba(0,0,0,5.1);
    object-fit: cover;
    transform: scaleX(-1);
}

.hero-text {
    position: absolute;
    top: 0%;       /* ajusta la altura del texto */
    left: 8%;       /* pegado al lado izquierdo */
    color: #fff;
    max-width: 40%;
    text-align: left;
}


.hero-text h1 {
    font-size: 6.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.4);
    font-family: "Story Script", sans-serif;
}

.hero-text h1 span {
    display: block; /* cada palabra en línea propia */
}

.hero-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #D4AF37, #f9e076);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: all 0.5s ease;
}

.hero-btn:hover::after {
  left: 100%;
}


/* =============== */
/* Info Banner */
/* =============== */


.info-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px 7%; /* espacio entre cada bloque */
  background-color: #F7F3F0;
  padding: 35px 20px;
  flex-wrap: wrap; /* se acomoda si la pantalla es pequeña */
}

.info-item {
  display: flex;
  align-items: center;     /* centra icono y texto verticalmente */
  gap: 15px;               /* espacio entre icono y texto */
  max-width: 350px;        /* ajusta ancho máximo */
  text-align: left;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #f9e076);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0; /* evita que el círculo se deforme */
}

.icon-circle i {
  font-size: 34px;
  color: white;
}

.info-item p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}


/* =============== */
/* Product Slider */
/* =============== */


.product {
  position: relative;
  overflow-y: hidden;
}

.product-category {
  padding: 0 20vw;
  font-size: 40px;
  font-weight: 600;
  text-transform: capitalize;
  font-family: "Story Script", sans-serif;
}

.product-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  align-items: flex-start;
  scrollbar-width: none;

  /* NUEVO */
  max-width: 1150px; /* límite visual del carrusel */
  margin: 0 auto; /* centra horizontalmente */
  padding: 0; /* quita padding lateral que empujaba el carrusel */
}

.product-container::-webkit-scrollbar {
  display: none;
}



.product-card {
  flex: 0 0 calc(25% - 30px); /* 4 tarjetas visibles, con espacio entre ellas */
  height: 550px;
  width: 300px;
  margin-right: 30px;
}

.product-image {
  position: relative;
  width: 260px;
  height: 350px;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* ADD TO CART BUTTON (VISIBLE SOLO EN HOVER) */
.card-btn {
  position: absolute;
  bottom: 10px;
  left: 5%;
  width: 90%;
  padding: 10px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #D4AF37, #f9e076);
  border: none;
  border-radius: 8px;
  text-transform: capitalize;
  cursor: pointer;
  opacity: 0;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .card-btn {
  opacity: 1;
}

.card-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: all 0.5s ease;
}

.card-btn:hover::after {
  left: 100%;
}


.card-btn:hover {
  transform: scale(1.05);
}




.product-info {
  width: 100%;
  height: 100px;
  padding-top: 5px;
}

.product-brand {
  text-transform: uppercase;
  font-size: 20px;
}

.price {
  font-weight: 900;
  font-size: 20px;
}


.pre-btn,
.nxt-btn {
  border: none;
  width: 10vw;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 550%);
  transition: transform .2s ease, opacity .2s ease;
  cursor: pointer;
  z-index: 8;
}

.pre-btn {
  left: 0;
}

.nxt-btn {
  right: 0;
}

.pre-btn svg,
.nxt-btn svg {
    width: 50px;
    height: 50px;
    color: #1c1c1c; /* o blanco si el fondo es oscuro */
    transition: transform .2s ease, opacity .2s ease;
}

.pre-btn:hover svg {
    transform: translateX(-3px);
}

.nxt-btn:hover svg {
    transform: translateX(3px);
}

.collection-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.collection {
  position: relative;
}

.collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 50px;
  text-transform: capitalize;
}

.collection:nth-child(3) {
  grid-column: span 2;
  margin-bottom: 10px;
}

.see-more-wrapper {
  text-align: center;
  margin-top: -35px;
  margin-bottom: 10px;
}

.see-more-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #D4AF37, #f9e076);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}

.see-more-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* ===================== */
/* Newsletter Section */
/* ===================== */

.newsletter {
  background-color: #f2e9e4;
  background-image: url("../images/elegant_marble_background_with_gold_glitter_2605.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  height: 600px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
  margin-top: 70px;
}

.newsletter-logo {
  position: static;
}

.newsletter-logo img {
  height: 150px;
  width: auto;
  margin-bottom: -25px;
}

.newsletter-content {
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 40px 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.newsletter h2 {
  font-family: "Story Script", sans-serif;
  font-size: 2.8rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.newsletter p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 16px;
  width: 60%;
  max-width: 350px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: #d4af37;
}

.newsletter-form button {
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37, #f9e076);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.newsletter-form button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.5s ease;
}


.newsletter-form button:hover::after {
  left: 100%;
}

/* ===================== */
/* Discount Code Input */
/* ===================== */

.newsletter-code-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.newsletter-code-input {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.newsletter-code-input input {
  padding: 12px 24px 12px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 22px;
  background: #fff;
  color: #333;
  box-sizing: border-box;

  cursor: default;
}

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

.copy-code-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-code-btn svg {
  width: 18px;
  height: 18px;
  stroke: #999;
  fill: none;
  stroke-width: 1.8;
  transition: stroke 0.2s ease;
}

.copy-code-btn:hover svg {
  stroke: #d4af37;
}

.copy-feedback {
  font-size: 0.85rem;
  color: #d4af37;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.newsletter-code-wrapper.copied .copy-feedback {
  opacity: 1;
}

/* Responsive */

@media (max-width: 768px) {
    
    .hero-section {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between; /* texto arriba, botón abajo */
      align-items: center;
  }
  
  .hero-section img {
    transform: scaleX(1);
    }  
    
    
   .hero-text {
      left: 50%;
      transform: translateX(-50%);
      max-width: 90%;
      text-align: center;
      
  }

  .hero-text h1 {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 3.6rem;
  }

  /* FUERZA Creating + Special en la misma línea */
  .hero-text h1 .line1 {
      display: inline-flex !important;
      gap: 8px;
      white-space: nowrap;
  }

  .hero-text h1 .line1 span {
      display: inline !important;
  }

  /* Memories abajo */
  .hero-text h1 .hero-memories {
      display: block !important;
      margin-top: 4px;
  }
    
    .hero-btn {
      position: absolute;
      left: 50%;
      bottom: -170%;
      transform: translateX(-50%);
  }
    
    
      
    .info-banner {
         display: flex;
        flex-wrap: nowrap;          /* siempre en una fila */
        justify-content: space-between;
        gap: 0;
        padding: 20px 12px;
      }
    
      .info-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        flex-direction: column;      /* icono arriba, texto debajo */
        align-items: center;         /* centra ambos elementos */
        text-align: center;          /* centra el texto */
        gap: 8px;
        
      }
    
      .icon-circle {
        width: 70px;
        height: 70px;
      }
    
      .icon-circle i {
        font-size: 30px;
      }
    
    .info-item p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin: 0;
        height: calc(2 * 2.4em);
        overflow: hidden;
    }
    
    
    
    /* BEST SELLING */
    /* ===== Section ===== */
    .product {
        padding-bottom: 40px;
    }
    
    .product-category {
        padding: 0 16px;
        font-size: 2.2rem;
        text-align: center;
    }
    
      /* ===== Slider ===== */
    .product-container {
        max-width: 85%;
        padding: 0 36px;
        gap: 16px;
    }
    
    .product-card {
        flex: 0 0 70%; /* 1 card grande visible */
        height: auto;
        margin-right: 0;
    }
    
    .product-image {
        width: 100%;
        height: 380px;
    }
    
    /* ===== Add to cart (SIEMPRE visible en mobile) ===== */
    .card-btn {
        opacity: 1;
        bottom: 12px;
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .product-card:hover .card-btn {
        opacity: 1; /* evita dependencias de hover */
    }
    
    /* ===== Product info ===== */
    .product-info {
        height: auto;
        padding-top: 10px;
        text-align: center;
    }
    
    .product-brand {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    /* ===== Wishlist ===== */
    .pd-wishlist {
        top: 10px;
        right: 10px;
    }
    
    /* ===== Navigation arrows ===== */
    .pre-btn,
    .nxt-btn {
        display: none;
    }
    
    .see-more-wrapper {
      margin-top: 30px;
      margin-bottom: 0;
    }

  
    
    /* NEWSLETTER */
    .newsletter {
        padding: 60px 16px;
        height: auto; /* quitar altura fija */
        margin-top: 0;
    }
    
    .newsletter-content {
        max-width: 100%;
        padding: 32px 20px;
        border-radius: 14px;
    }
    
    .newsletter-logo img {
        height: 100px;
        margin-bottom: -15px;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .newsletter p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    /* Discount code */
    .newsletter-code-input {
        max-width: 100%;
    }
    
    .newsletter-code-input input {
        font-size: 1rem;
        padding: 12px 40px 12px 16px;
    }
    
    .copy-code-btn {
        right: 12px;
    }
    
    .copy-code-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .copy-feedback {
        font-size: 0.8rem;
    }
  
}


