* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}



body {
    background: #ffffff;
    color: #1c1c1c;
    font-family: "Elms Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-size:20px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: #0e501c;
    color: #fff;
}

.logo {
    font-size: 26px;
    font-weight: bold;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin: 0 14px;
    font-size: 17px;
}

.login-btn {
    background: white;
    color: #0e501c;
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
}

/* CONTENEDOR DEL CARRUSEL */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    /* ALTURA DEFINIDA */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
    overflow: hidden;
}

/* CARRUSEL 3D */
.carousel-3d {
    position: relative;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ELEMENTOS */
.carousel-item {
    position: absolute;
    width: 55%;
    height: 85%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.75);
}

/* IMAGEN PRINCIPAL */
.carousel-item.active {
    opacity: 1;
    transform: scale(.99);
    z-index: 3;
}

/* LATERAL IZQUIERDA */
.carousel-item.left {
    transform: translateX(-220px) scale(0.6);
    opacity: 0.7;
    z-index: 2;
}

/* LATERAL DERECHA */
.carousel-item.right {
    transform: translateX(220px) scale(0.6);
    opacity: 0.7;
    z-index: 2;
}

/* BOTONES */
.carr-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 45px;
    cursor: pointer;
    color: white;
    background-color: #0e501c;
    z-index: 10;
    border-radius: 12px;
    padding: 20px;
}

.carr-btn.left {
    left: 40px;
}

.carr-btn.right {
    right: 40px;
}

/* CATEGORIAS */
.categories {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
}

.categories button {
    background: #0e501c;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-size: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 2px solid #0e501c;
    padding: 8px 15px;
    border-radius: 20px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 17px;
    width: 200px;
}

.search-icon {
    margin-left: 10px;
    font-size: 20px;
    color: #0e501c;
}

/* PRODUCTOS */
.product-section {
    display: flex;
    grid-template-columns: 1fr 1fr;
    width: 85%;
    margin: auto;
    margin-top: 40px;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.product-card {
    background: #fff;
    padding: 20px;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
}

.product-card h3 {
    margin: 15px 0 10px 0;
}

.buttons {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

.info-btn,
.buy-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-size: 16px;
}

.info-btn {
    background: #0e501c;
    color: white;
}

.buy-btn {
    background: #0e501c;
    color: white;
}

.promo-card {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 10;
    background: #0e501c;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
}

.promo-card img {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}

.sale{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 10;
}