*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
background-color: white ;
}

/*ANUNCIO */
.announcement-delivery{
    background-color: #000;
    color: white;
    text-align: center;
    padding: 10px;
    font-size:  0.85rem; ;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.envio{
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

.envio span{
    display: inline-block;
    padding-right: 50px;
}

@keyframes scroll-left{
    0% {
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}

/*BUSCADOR Y CARRITO*/
.search-overlay {
    position: fixed;
    top: -120px; /* Escondida arriba */
    left: 0;
    width: 100%;
    height: 100px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5000;
}

.search-overlay.active { 
    top: 0; 
}

.search-content {
    width: 90%;
    max-width: 800px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333; /* Línea elegante debajo del texto */
    padding: 5px 0;
}

#search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 20px;
    padding: 10px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-sidebar {
    position: fixed;
    right: -350px;
    top: 0;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 3000;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-sidebar.active { 
    right: 0; 
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 2500;
}

.overlay-bg.active { 
    display: block; 
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 15px;
    color: #888;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #e91e63; /* Color rosa de tu logo */
}

/*CARRITO INSIDE*/
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-family: sans-serif;
}

.cart-item-name {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.cart-item-price {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0 0;
}

.btn-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 18px;
}

/* Estilo del botón de añadir en la tienda */
.btn-add-cart {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-add-cart:hover {
    background-color: #e91e63; 
}

/*HEADER Y TITULO*/
header{
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 20px;
}

.header-logo{
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.logo-text {
    font-family: 'Arial Black', sans-serif; 
  font-size: 1.4rem;
  line-height: 0.9;
  text-align: center;
  color: #000;
  letter-spacing: -1px;
}

.logo-text span{
    color: #e91e63;
}

.header-left{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.header-left span{
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
    transition: 0.3s;
}

#nav-menu{
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    height: 100hv;
}

#nav-menu.active{
    display: block;
}

#nav-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav-menu ul li a{
    text-decoration: none;
    color: #333;
    display: block;
    padding: 20px;
    font-family: Arial;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    text-transform: uppercase;
}

#nav-menu ul li a:hover{
    background-color: #f9f9f9;
}

.header-icons{
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.icon-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative; /* Para posicionar el contador */
    color: #333;
    display: flex;
    align-items: center;
}

/* El círculo rosa del carrito */
.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #e91e63; 
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;  
    font-family: sans-serif;
}


.icon-btn:active {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    nav {
        display: none; /* Oculto por defecto */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block; /* Se muestra al activar */
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    /* Estilo igual a tu imagen */
    nav ul li a {
        font-size: 1rem;
        color: #333;
        text-transform: uppercase;
    }
    
    .highlight {
        font-weight: bold;
    }
}


/* Section1 */
.product-gallery{
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 0;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(1fr,1fr);
    grid-template-rows: auto auto;
    gap: 0px;
}

.product-card{
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-action{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.btn-buy{
    background-color: rgba(128,128,128,0.85);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .gallery-grid{
        grid-template-columns: repeat(4, 1fr);
    }
}

/*section2*/
.hero{
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url();
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.btn-main {
    background: #e91e63;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
}


.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 5%;
}

.category-card {
    background: #eee;
    padding: 20px 40px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.category-card:hover { background: #ddd; }

/* Grid de Productos */
.product-grid-container { padding: 40px 5%; }
.product-grid-container h3 { margin-bottom: 30px; text-align: center; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    transition: 0.3s;
    text-align: center;
}

.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.product-image { background-color: #f7f7f7; 
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px; }

.product-image img { width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease; }

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e91e63;
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
}

/**.product-info { padding: 15px; }
.price { color: #e91e63; font-weight: bold; font-size: 1.2rem; margin: 10px 0; } **/

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
}

/*footer*/
.footer {
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.footer-block {
  border-bottom: 1px solid #f2f2f2; /* Línea divisoria entre secciones */
}

/* Título con el signo + a la derecha */
.footer-block__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
}

.footer-block__heading::-webkit-details-marker {
  display: none;
}

.icon-plus {
  font-size:25px;
  font-weight: 300;
}

/* Contenido del acordeón */
.footer-block__details-content {
  padding: 0 20px 20px;
}

.footer-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  color: #000;
  text-decoration: underline;
}

.footer-block__list li {
  margin-bottom: 8px;
}

.footer-block__list a {
  text-decoration: none;
  color: inherit;
}

/* Formulario de suscripción */
.newsletter-form {
  display: flex;
  border: 1px solid #ddd;
  margin-top: 10px;
}

.field__input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.newsletter-form__button {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 15px;
  cursor: pointer;
}

/* Parte inferior */
.footer__content-bottom {
  text-align: center;
  padding: 30px 0;
}

.footer__wishlist-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer__copyright {
  font-size: 20px;
  color: #999;
  text-transform: uppercase;
}

