@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

main,
section:first-of-type {
    margin-top: 60px;
}

body {
    height: 100dvh;
    background-color: #121212;
    color: #e0e0e0;
}

li {
    list-style: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    background: #1f1f1f;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.7);
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.navbar a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all .42s ease;
}

.navbar a:hover {
    color: #ff4382;
}

.navbar .logo img {
    max-width: 130px;
    height: auto;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .right_menu {
    display: flex;
    align-items: center;
    gap: 1.05rem;
}

.navbar .user,
.navbar .search {
    font-size: 1.5rem;
    transition: all .42s;
}

.navbar .user:hover,
.navbar .search:hover {
    scale: 1.05;
}

.navbar .user:active,
.navbar .search:active {
    scale: 0.95;
}

.navbar .toggle_btn {
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

section {
    padding: 5% 5%;
}

.main_home {
    width: 100%;
    height: 100vh;
    background-image: url(../img/banner.jpg);
    background-position: center;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.main_text h5 {
    color: #ff4382;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
}

.main_text h1 {
    color: #e0e0e0;
    font-size: 65px;
    text-transform: capitalize;
    line-height: 1.1;
    font-weight: 600;
    margin: 6px 0 10px;
}

.main_text p {
    color: #b0b0b0;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.main_btn {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    border: 2px solid #fff;
    padding: 12px 15px;
    transition: all .42s ease;
    text-decoration: none;
    user-select: none;
}

.main_btn:hover {
    background-color: #fff;
    color: #121212;
}

.main_btn i {
    vertical-align: middle;
}

.down_arrow {
    position: absolute;
    top: 85%;
    right: 11%;
}

.down i {
    font-size: 30px;
    color: #e0e0e0;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 10px 15px;
}

.down i:hover {
    background-color: #e0e0e0;
    color: #121212;
    transition: all .42s ease;
}

header.sticky {
    background: #1f1f1f;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.7);
}

.center_text h2 {
    color: #e0e0e0;
    font-size: 28px;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 30px;
}

.center_text span {
    color: #ff4382;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
    gap: 2rem;
}

.row {
    position: relative;
    transition: all .40s;
}

.row img {
    width: 100%;
    height: auto;
    transition: all .40s;
    user-select: none;
}

.row img:hover {
    transform: scale(0.9);
}

.product_text h5 {
    position: absolute;
    top: 13px;
    left: 13px;
    color: #121212;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #ff4382;
    padding: 3px 10px;
    border-radius: 2px;
    user-select: none;
}

.price h4,
.price p {
    color: #e0e0e0;
}

.categories {
    padding: 5% 5%;
}

.categorias_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.categoria_card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: .3s ease;
    cursor: pointer;
}

.categoria_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.categoria_card h3 {
    padding: 15px 0;
    font-size: 18px;
    color: #e0e0e0;
}

.categoria_card:hover {
    transform: scale(1.03);
}

.offers {
    padding: 5% 5%;
    background-color: #1a1a1a;
}

.offers_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.offer_card {
    background: #1e1e1e;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    text-align: center;
    transition: .3s ease;
}

.offer_card h3 {
    font-size: 24px;
    color: #ff4382;
    margin-bottom: 10px;
}

.offer_card p {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.offer_card .btn {
    display: inline-block;
    background: #ff4382;
    color: #121212;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: .3s ease;
}

.offer_card .btn:hover {
    background: #e03570;
}

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

.testimonios {
    padding: 5% 5%;
}

.testimonios_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.testimonio_card {
    background: #1e1e1e;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: .3s ease;
}

.testimonio_card p {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonio_card h4 {
    text-align: right;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 600;
}

.testimonio_card:hover {
    transform: scale(1.03);
}

.contact {
    background-color: #1a1a1a;
}

.contact_info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, auto));
}

.firts_info img {
    width: 140px;
    height: auto;
}

.contact_info h4 {
    color: #e0e0e0;
    font-size: 14px;
    text-transform: uppercase;
}

.contact_info .firts_info p,
.contact_info .second_info p,
.contact_info .third_info p,
.contact_info .fourth_info p {
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all .42s;
}

.contact_info .second_info p:hover,
.contact_info .third_info p:hover,
.contact_info .fourth_info p:hover {
    color: #ff4382;
}

.contact_info .end_text p {
    text-align: center;
}

.social i {
    color: #b0b0b0;
    margin-right: 10px;
    font-size: 20px;
    transition: all .42s;
}

.social i:hover {
    transform: scale(1.3);
    color: #ff4382;
}

.end_text {
    background-color: #1a1a1a;
}

.end_text p {
    text-align: center;
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar .toggle_btn {
        display: flex;
    }

    .navbar .links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 300px;
        height: 130vh;
        background: #222;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 120px 30px;
        transition: all .42s;
    }

    .navbar .links a {
        display: block;
        margin: 18px 0;
    }

    .links.open {
        right: 0;
    }
}

/* CONTENEDOR DEL PRODUCTO */
.producto-container {
    width: 100%;
    max-width: 1100px;
    margin: 120px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 20px;
}

.producto-imagen img {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    user-select: none;
}

.producto-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.producto-titulo {
    font-size: 28px;
    font-weight: 600;
    color: #e0e0e0;
}

.producto-precio {
    color: #ff4382;
    font-size: 26px;
    font-weight: 700;
}

/* FORM */
.campo label {
    font-weight: 600;
    color: #e0e0e0;
}

.select-color,
.input-cantidad {
    width: 100%;
    max-width: 150px;
    padding: 10px;
    border: 1.5px solid #555;
    border-radius: 5px;
    font-size: 15px;
    background: #1e1e1e;
    color: #e0e0e0;
}

.tallas label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.btn-agregar {
    background-color: #ff4382;
    color: #121212;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
    transition: .3s;
}

.btn-agregar:hover {
    background-color: #e03570;
}

/* DESCRIPCIÓN */
.producto-descripcion h3,
.producto-devoluciones h3 {
    font-size: 20px;
    margin: 20px 0 5px;
    color: #e0e0e0;
}

.descripcion-lista .desc-item {
    margin-bottom: 5px;
    color: #b0b0b0;
}

.dev-text {
    color: #b0b0b0;
}

/* RESPONSIVE */
@media(max-width: 850px) {
    .producto-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .producto-imagen {
        display: flex;
        justify-content: center;
    }
}

/* LOGIN */
.login-container {
    width: 100%;
    max-width: 420px;
    margin: 120px auto 80px auto;
    padding: 20px;
    border-radius: 12px;
    background: #1e1e1e;
}

.login-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #e0e0e0;
}

.login-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #555;
    border-radius: 8px;
    font-size: 15px;
    background: #121212;
    color: #e0e0e0;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #ff4382;
    color: #121212;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #e03570;
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.login-tab {
    font-size: 17px;
    padding-bottom: 6px;
    cursor: pointer;
    color: #b0b0b0;
}

.login-tab.active {
    border-bottom: 2px solid #ff4382;
    font-weight: 600;
    color: #ff4382;
}

.login-form {
    display: none;
}

.login-form.login-active {
    display: block;
}

/* PERFIL DE USUARIO */
.user-profile {
    width: 100%;
    max-width: 500px;
    margin: 120px auto;
    padding: 30px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
    display: none;
}

.user-profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.user-profile-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #ff4382;
    margin-bottom: 10px;
    object-fit: cover;
}

.user-profile-title {
    font-size: 22px;
    font-weight: 600;
    color: #e0e0e0;
}

.user-profile-info {
    background: #121212;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333;
    margin-bottom: 25px;
}

.user-profile-info p {
    font-size: 16px;
    color: #e0e0e0;
    margin: 10px 0;
}

.user-profile-info span {
    color: #b0b0b0;
}

.user-profile-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.edit-profile-btn {
    padding: 10px 20px;
    background: #333;
    color: #e0e0e0;
    border-radius: 8px;
    border: 1px solid #555;
    cursor: pointer;
    transition: .3s ease;
}

.edit-profile-btn:hover {
    background: #444;
}

.logout-btn {
    padding: 10px 20px;
    background: #ff4382;
    color: #121212;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: .3s ease;
}

.logout-btn:hover {
    background: #e03570;
}


/* Carrito */
.btn-carrito {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #ff4382;
    color: #121212;
    padding: 15px 17px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    z-index: 9999;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e03570;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 50%;
    font-weight: bold;
}

.carrito-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.carrito-modal.activo {
    display: flex;
}

.carrito-contenido {
    background: #1e1e1e;
    padding: 25px;
    width: 420px;
    max-height: 450px;
    overflow-y: auto;
    border-radius: 10px;
}

.cerrar {
    font-size: 25px;
    cursor: pointer;
    float: right;
    color: #e0e0e0;
}

.item-carrito {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.img-carrito {
    width: 100px;
}

.btn-eliminar {
    background: #e03570;
    border: none;
    padding: 5px;
    color: white;
    cursor: pointer;
}

.btn-comprar-final {
    width: 100%;
    background: #ff4382;
    color: #121212;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.btn-comprar-final:hover {
    background: #e03570;
}

/* Tallas */
.tallas {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.talla {
    padding: 8px 14px;
    border: 1.5px solid #555;
    border-radius: 6px;
    background-color: #1e1e1e;
    cursor: pointer;
    font-size: 15px;
    transition: .3s;
    color: #e0e0e0;
}

.talla:hover,
.talla.activa {
    background-color: #ff4382;
    color: #121212;
    border-color: #ff4382;
}


.pedido-container {
    width: 100%;
    max-width: 550px;
    margin: 130px auto 60px auto;
    padding: 25px 25px 35px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.4);
}

.pedido-container h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.pedido-container h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #ff4382;
}

.input-pedido,
.select-pedido {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #121212;
    color: #e0e0e0;
    font-size: 15px;
}

.btn-confirmar {
    width: 100%;
    padding: 14px;
    background: #ff4382;
    color: #121212;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    margin-top: 10px;
}

.btn-confirmar:hover {
    background: #e03570;
}

.mensaje-final {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #121212;
    border-radius: 10px;
    border: 1px solid #333;
}

.mensaje-final h2 {
    color: #ff4382;
}

.mensaje-final p {
    color: #b0b0b0;
}
.resumen-pedido {
    margin-bottom: 20px;
    background: #121212;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #222;
}

.resumen-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255,67,130,0.06);
}

.resumen-item:last-child {
    border-bottom: none;
}

.resumen-item .mini-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

.resumen-item .info {
    flex: 1;
    display:flex;
    flex-direction: column;
    gap: 4px;
}

.resumen-item .info .titulo {
    font-weight: 600;
    color: #e0e0e0;
}

.resumen-item .info .detalle {
    color: #b0b0b0;
    font-size: 14px;
}

.resumen-item .precio-cantidad {
    text-align: right;
    min-width: 110px;
    color: #e0e0e0;
}
