
:root {
    /* Backgrounds */
    --background: #f5f5f5;
    --header-background: #ad7a65;

    --header-text: white;
    --header-text-hover: #2c2814;    
    
    /* Titles */
    --headings-color: #de6b1c;

    /* Buttons */
    --background-btn: #372736;
    --product-btn: #fb922f;
    --background-btn-portada: #ce6831;

    /* Filter */
    --active-filter-bg: #6fa6bd;
    --unactive-filter-bg: #bd6f7f;

    /* Text Colors */
    --text-dark: #2c2814;
    --text-light: white;
    --text-grey: #404040;

    /* Fonts */
    --primary-font: 'Cinzel', serif;
    --accent-font: 'Cinzel Decorative', serif;
    --basic-font: 'Belleza', serif;

    /* Others */
    --header-height: 70px;
}

body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    /* border: 1px solid red; */
}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}


.hidden {
    display: none;
}

.shown {
    display: flex;
}

.icon-line {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== SCREENS ===== */
.screen-home,
.screen-products {
    margin-top: 70px;
}


/* ===== HEADER + NAVBAR ===== */
header {
    color: var(--header-text);
    background: linear-gradient(to bottom, #e99a78, var(--header-background));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    height: var(--header-height);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.header-fade {
    position: fixed;
    height: 3px;
    width: 100%;
    top: var(--header-height);
    z-index: 100;
    background: linear-gradient(to bottom, var(--header-background), #ad7b6500);
}

.logo {
    height: 90%;
}

.logo img {
    height: 100%;
    width: auto;
}

.navbar,
.navbar-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    gap: 2rem;
}

.navbar-list {
    gap: 20px;
}

.navbar-list a {
    color: var(--header-text);
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 14px;
}

.navbar-list li:first-child a {
    font-weight: 800;
}


/* ===== MENÚ NAVBAR MOBILE ===== */

.mobile-navbar-icon {
    font-size: 22px;
}

.mobile-navbar-label,
#mobile-navbar-toggle {
    display: none;
}

/* ===== MENÚ CARRITO ===== */
.cart-icon {
    height: 30px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 18px;
    margin-right: 1rem;
    color: var(--text-white);
    cursor: pointer;
    position: relative;
}

.cart-bubble {
    position: absolute;
    top: -8px;
    right: -8px;
    text-align: center;
    background: #1d4bf1;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 500;
    height: 18px;
    width: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1px;
    border-radius: 50%;
  }

.cart-menu {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 20px;
    color: var(--text-light);
    font-family: var(--basic-font);
    position: absolute;
    right: 0;
    top: var(--header-height);
    background: linear-gradient(to bottom, var(--header-background), rgb(204, 99, 85));
    padding: 50px 30px;
    border-left: 1px solid rgb(196, 132, 96);
    height: calc(100vh - var(--header-height));
    min-width: 375px;
    transform: translateX(100%);
    transition: all 0.4s ease-out;
    z-index: 10000;
}

.open-cart {
    transform: translateX(0%);
    transition: all 0.4s ease-in;
}


.cart-menu h2 {
    font-family: var(--primary-font);
    font-size: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgb(219, 171, 152);
    border-radius: 9px;
    background-color: #404040da;
}

.cart-item img {
    width: 70px;
    border-radius: 5px;
}

.cart-item h4 {
    font-size: 14px;
    font-family: var(--basic-font);
    font-weight: 100;
}

.item-info {
    width: 250px;
}

.item-title {
    font-family: var(--primary-font);
    font-size: 15px;
}

.item-bid {
    padding-top: 5px;
}

.item-price {
    font-size: 18px;
}

.item-handler {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.quantity-handler {
    background-color: #703b3b;
    font-size: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(201, 86, 86);
}

.quantity-handler:hover {
    cursor: pointer;
}

.item-quantity {
    font-size: 18px;
}


.divider {
    margin-top: 20px;
    border: 0.5px solid rgb(83, 56, 56);
}

.checkout-info {
    display: flex;
    justify-content: space-between;
}

.checkout-info p {
    font-size: 22px;
}

.checkout-info span {
    font-size: 20px;
}

.btn-delete,
.btn-purchase {
    transition: all 0.2s ease-in;
    margin-top: 50px;
    padding: 10px 35px;
    border: 2px solid var(--background-btn);
    background-color: var(--background-btn);
    color: var(--text-light);
    font-family: var(--basic-font);
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
}

.btn-delete {
    margin-top: 0px;
}

.btn-delete:hover,
.btn-purchase:hover {
    transition: all 0.2s ease-in;
    background-color: transparent;
    color: var(--background-btn);
    cursor: pointer;
}


/* ===== MAIN ===== */
main {
    background-color: var(--background);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

main h2 {
    font-family: var(--accent-font);
    font-size: 25px;
    color: var(--headings-color);
    text-align: center;
    max-width: 100vw;
}

main h3 {
    font-family: var(--primary-font);
    font-size: 22px;
}

main p {
    font-family: var(--basic-font);
    color: var(--text-dark);
}


/* ===== SECTION 0 - PORTADA ===== */
.portada {
    overflow-x: hidden;
    top: var(--header-height);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.portada img {
    width: 100vw;   
    height: auto;
}

.portada-title {
    position: absolute;
    width: 100%;
    height: 7vw;
    background-color: rgba(250, 238, 248, 0.8);
}

.portada h1 {
    font-family: var(--accent-font);
    font-size: 5vw;
    color: var(--headings-color);
    background: linear-gradient(to top, rgb(187, 63, 63), var(--headings-color));
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    position: absolute;
    width: 100%;
}

.portada h2 {
    position: absolute;
    font-size: 2vw;
    top: 7vw;
    width: 100%;
    font-family: var(--accent-font);
    text-transform: capitalize;
    color: rgb(187, 63, 63);
    background-color: rgba(250, 238, 248, 0.8);
}

/* ===== SECTION 1 - CATEGORÍAS ===== */
#categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    max-width: 1200px;
}

#categories h2 {
    text-align: center;
    padding-bottom: 40px;
    font-family: var(--accent-font);
}

.categories-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 5px 25px;
    max-width: 800px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-card img {
    transition: transform 0.2s linear;
    width: 150px;
    height: auto;
    border-radius: 50%;
}

.category-card img:hover {
    transform: scale(1.10);
    transition: all 0.2s linear;
    cursor: pointer;
}

.category-card p {
    font-size: 20px;
}


.space {
    margin-top: 100px;
}


/* ===== SECTION A - CATÁLOGO ======*/
#catalogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

#catalogo .catalogo-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #bd8670;
    background-image: 
        radial-gradient(circle at 20% 30%, rgb(206, 149, 127) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgb(197, 139, 116) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgb(182, 88, 51) 0%, transparent 100%);
    background-repeat: no-repeat;
    background-size: cover;
    width: 75vw;
    max-width: 900px;
    border-radius: 50px 100px;
    transition: all 0.3s ease-in-out;
    padding: 40px 0;
    gap: 10px;
}

#catalogo .catalogo-div:hover {
    opacity: 0.85;
}

#catalogo .catalogo-div .catalogo-title {
    font-family: var(--accent-font);
    font-size: 5em;
    text-align: center;
    color: #ffffff;
}

#catalogo .catalogo-div .catalogo-line {
    font-family: var(--basic-font);
    font-weight: 200;
    font-size: 1em;
    text-align: center;
    color: #ffffff;
    padding: 5px 0;
}

#catalogo p {
    font-weight: 600;
    font-size: 25px;
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#catalogo .fa-file-pdf {
    width: 30px;
    color: #c51d1d;
}

#catalogo a {
    transition: all 0.4s ease-in-out;
    color: #c51d1d;
}

#catalogo p:hover a {
    color: #4f1dc5;
    text-decoration: underline;
}


/* ===== SECTION 1 - INICIO ===== */

#inicio {
    width: 100%;
    background-color: #faeef8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inicio-content {
    max-width: 1200px;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
}

.inicio-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 60%;
}

.inicio-info h2 {
    text-align: center;
    margin-bottom: 10px;
}

.inicio-info p {
    font-size: 16px;
    width: 90%;
}

.inicio-img {
    border-radius: 30px;
    max-width: 400px;
    width: 90vw;
}


/* ===== SECTION 2 - DESCUBRE ===== */
#descubre {
    padding: 30px 0 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #c56b67;
}


.discover-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 25px;
}

.discover-card {
    background-color: #f5fafa;
    -webkit-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    -moz-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    width: 90vw;
    max-width: 350px;
    padding: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}


.info-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.discover-img {
    width: 250px;
    height: auto;
}


.info-card-container:nth-child(1) {
    gap: 25px;
    padding-bottom: 75px;
}

.info-card-container:nth-child(1) i {
    font-size: 30px;
    color: var(--headings-color);
}

.info-card-container:nth-child(3) {
    gap: 50px;
    padding-top: 25px;
}

.info-card-container:nth-child(3) i {
    font-size: 50px;
    color: #c56b67;
}


.discover-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.discover-card img {
    padding: 10px;
    height: 80px;
    width: auto;
}

.discover-card p {
    text-align: center;
    font-size: 15px;
}


/* ===== SECTION 3 - PRODUCTOS ===== */

/* MODAL DE PRODUCTOS */
.product-modal {
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 90px;
    z-index: 1000;
    width: 90vw;
    max-width: 1200px;
    height: 85vh;
    border-radius: 5px;
    background-color: rgb(245, 250, 250);
    -webkit-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    -moz-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    box-shadow: 10px 10px 20px -10px rgba(228, 139, 56, 0.3);
}

.product-modal button {
    transition: all 0.2s ease-in-out;
    position: absolute;
    right: 0px;
    top: 0px;
    color: rgb(48, 44, 44);
    background-color: transparent;
    border-radius: 5px;
    font-size: 25px;
    width: 8%;
    height: 6%;
    border: none;
}

.product-modal button:hover {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    color: var(--headings-color);
    color: black;
    background-color: var(--headings-color);
    border: 1px solid var(--headings-color);
}

.product-modal img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    border-radius: 10px;
}


/* PRODUCTOS */
#productos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    max-width: 1200px;
}

#productos h2 {
    margin-bottom: 50px;
}

.filter-container {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    gap: 15px;
}

.category {
    transition: all 0.2s ease-in-out;
    background-color: var(--unactive-filter-bg);
    font-family: var(--primary-font);
    font-weight: 600;
    color: var(--background);
    border: 1px solid var(--background);
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.category:hover {
    transition: all 0.2s ease-in-out;
    background-color: white;
    border: 1px solid var(--unactive-filter-bg);
    color: var(--unactive-filter-bg);
}

.category span {
    font-size: 20px;
    line-height: 10px;
}

.active {
    transition: all 0.2s ease-in-out;
    background-color: var(--active-filter-bg);
}

.active:hover {
    transition: all 0.2s ease-in-out;
    background-color: white;
    border: 1px solid var(--active-filter-bg);
    color: var(--active-filter-bg);
}

.fav-products-container,
.products-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(245, 250, 250);
    -webkit-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    -moz-box-shadow: 10px 10px 30px -10px rgba(179, 132, 155, 0.3);
    box-shadow: 10px 10px 20px -10px rgba(228, 139, 56, 0.3);
    width: 350px;
    padding: 30px 0 0 0;
    border-radius: 5px 5px 0px 0px;
}

.product img {
    transition: all 0.2s linear;
    width: 80%;
    border-radius: 10px;
    cursor: pointer;
}

.product img:hover {
    transform: scale(1.02);
    transition: all 0.2s linear;
}

.product h3, 
.product p, 
.product span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
}

.option-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product label {
    font-family: var(--basic-font);
    font-size: 16px;
}

.product select {
    min-width: 50%;
    text-align: center;
    padding: 5px;
    font-family: var(--basic-font);
    font-size: 15px;
}

.product h3 {
    font-size: 18px;
    text-transform: capitalize;
    padding: 15px 0;
}

.product p {
    font-family: var(--basic-font);
    font-size: 14px;
}

.product span {
    font-family: var(--basic-font);
    color: var(--product-btn);
    font-size: 22px;
    padding: 15px 0;
}

.product button {
    transition: all 0.2s ease-in;
    background-color: var(--product-btn);
    color: rgb(240, 240, 240);
    border: 0;
    width: 100%;
    height: 50px;
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.product button:hover {
    transition: all 0.2s ease-in;
    background-color: white;
    border: solid 2px var(--product-btn);
    color: var(--product-btn);
    cursor: pointer;
}

.btn-ver-todos {
    transition: all 0.2s ease-in;
    margin-top: 50px;
    padding: 10px 35px;
    border: 2px solid var(--background-btn);
    color: var(--background-btn);
    font-family: var(--basic-font);
    font-size: 16px;
    font-weight: 500;
    background-color: none;
    border-radius: 5px;
}

.btn-ver-todos:hover {
    transition: all 0.2s ease-in;
    background-color: var(--background-btn);
    color: var(--text-light);
    cursor: pointer;
}

/* ===== SECTION 4 - CONTACTO ===== */

/* General */
#contacto {
    width: 100vw;
    background-color: #faeef8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0;
    gap: 15px;
}

/* Redes y Contacto  */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 20px;
    font-size: 18px;
}

.contact-info i {
    padding-right: 10px;
    color: var(--headings-color);
}

.contact-info a {
    font-weight: 600;
    transition: all 0.4s ease-in-out;
    color: var(--headings-color);
}

.contact-info a:hover {
    color: #4f1dc5;
    text-decoration: underline;
}


/* Columna 2 - Formulario de Contacto  */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 350px;
    font-family: var(--basic-font);
    color: var(--text-dark);
}

.contact-form form input {
    width: 100%;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: #ffbfca;
    /* background-color: #fdb1be; */
    /* background-color: #ffc1b9; */
    font-family: var(--basic-font);
    font-size: 16px;
}

.contact-form form input[type=submit] {
    transition: all 0.2s ease-in;
    padding: 10px 0;
    border: 2px solid var(--background-btn-portada);
    color: var(--background-btn-portada);
    font-family: var(--basic-font);
    font-size: 16px;
    font-weight: 500;
    background-color: var(--background-portada);
    border-radius: 3px;
    margin: 20px 0;
}

.contact-form form input[type=submit]:hover {
    transition: all 0.2s ease-in;
    background-color: var(--background-btn-portada);
    color: var(--text-light);
    cursor: pointer;
}


/* ===== SCREEN 2 - ALL PRODUCTS ===== */
#all-products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

#all-products h2 {
    margin-top: 25px;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
    width: 100%;
    background: linear-gradient(to bottom, #c47f62, var(--header-background));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 10px;
    font-family: var(--basic-font);
    font-size: 15px;
    font-weight: 400;
    color: var(--header-text);
}

footer a {
    color: var(--header-text);
}

footer nav {
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
}

.footer-nav-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-nav-container .fa-solid {
    padding-right: 5px;
}

.footer-redes {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 25px;
}

.footer-redes i {
    font-size: 18px;
}

.footer-redes i:hover {
    transition: all 0.2s ease-in-out;
    color: var(--header-text-hover);
    cursor: pointer;
}

/* ===== ADD MODAL ===== */
.add-modal {
    padding: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: var(--basic-font);
    background-color: green;
    position: fixed;
    bottom: 0;
    width: 100%;
    transition: all 0.5s ease-out;
    transform: translateY(200%);
    z-index: 10000;
}

.active-modal {
    transform: translateY(0);
    transition: all 0.5s ease-in;
}


/* ===== WHATSAPP ===== */
.wapp-btn {
    position: fixed;
    z-index: 10;
    bottom: 15px;
    right: 15px;
    background-color: #50c253;
    color: #ffffff;
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}



/* ===== CUSTOM TITLE ATTRIBUTE ===== */
[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    background-color: #36301d;
    color: #c2beb4;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    font-size: 12px;
    position: absolute;
    padding: 5px;
    top: -175%;
    transform: translate(-50%);
    white-space: nowrap;
    box-shadow: 1px 1px 3px #222222;
    opacity: 0;
    border: 1px solid #404040;
    z-index: 99999;
    visibility: hidden;
}

[data-title] {
    position: relative;
}
