@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --white-clr: #fff;
    --black-clr: #000;
    --light-black: #333;
    --primary-clr: #eee3d6;
    --secundary-clr: #908f8b;
    --tag-clr: #7cc576;
}

/*Basic styling*/

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    color: var(--secundary-clr);
}

img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform .3s ease-in-out;
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
}

.flex {
    display: flex;
    align-items: center;
}

.container {
    max-width: 80%;
    margin: auto;
}

.section {
    padding-top: 4rem;
}

.wrap {
    flex-wrap: wrap;
}

/*Navbar Styling*/

header {
    background: var(--white-clr);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    box-shadow: 0px 5px 14.25px .75px rgba(36, 11, 12, .05);
}

.logo {
    display: flex;
    align-items: center;
    gap: .2rem;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--light-black);
}

.logo-text span {
    color: var(--secundary-clr);
}

.logo:hover .logo-text {
    color: var(--secundary-clr);
}

.link {
    font-size: .95rem;
    color: var(--light-black);
    text-transform: uppercase;
    font-weight: 500;
}

.icon {
    font-size: .9rem;
    color: var(--light-black);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

.icon:hover,
.icon-active {
    background: var(--primary-clr);
}

span,
.link-active {
    color: var(--secundary-clr);
}

.navbar {
    height: 12vh;
    justify-content: space-between;
}

.navlist {
    gap: 2.5rem;
    margin-left: auto;
    margin-right: 2rem;
}

/* Menú desplegable de categorías */

.category-menu {
    position: relative;
}

.category-menu>a {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.category-menu>a i {
    font-size: .7rem;
    transition: transform .3s ease;
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    min-width: 190px;
    background: var(--white-clr);
    padding: .7rem 0;

    box-shadow: 0px 5px 15px rgba(36, 11, 12, .12);
    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;
    z-index: 100;
}

.category-dropdown li a {
    display: block;
    padding: .7rem 1.2rem;
    color: var(--light-black);
    font-size: .85rem;
    white-space: nowrap;
}

.category-dropdown li a:hover {
    background: var(--primary-clr);
    color: var(--light-black);
}

/* Mostrar menú */

.category-menu:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.category-menu:hover>a i {
    transform: rotate(180deg);
}

.nav-icons {
    gap: .8rem;
}

.hamburger {
    font-size: 1.7rem;
    color: var(--secundary-clr);
    display: none;
}

/*Sections Styling*/

.hero {
    height: 85vh;
    background-image: url(img/upscalemedia-transformed\ \(23\).png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 5.5rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 3.7rem;
    color: var(--light-black);
}

h1 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 600;
    color: var(--light-black);
}

h4 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 3.5rem;
    margin-bottom: 1.5rem;
}

button {
    font-weight: 600;
    font-size: .9rem;
    padding: .8rem 2.2rem;
    text-transform: uppercase;
    color: var(--white-clr);
    border: none;
    background: var(--secundary-clr);
    transition: all .3s ease-in-out;
}

button:hover {
    background: var(--light-black);
}

.category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.17rem;
}

.category:nth-child(1),
.category:nth-child(4) {
    grid-row: 1 / 3;
}

.category:nth-child(2) {
    grid-row: 1 / 2;
}

.category {
    position: relative;
    overflow: hidden;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    background: var(--white-clr);
    color: var(--black-clr);
    z-index: 3;
}

.category button:hover {
    background: var(--primary-clr);
}

.category:hover img {
    transform: scale(1.1);
}

.category::before {
    content: '';
    position: absolute;
    background: var(--white-clr);
    width: 0;
    height: 100%;
    opacity: .2;
    z-index: 2;
    transition: all .3s ease-in-out;
}

.category:hover::before {
    width: 100%;
}

h2 {
    font-size: 2rem;
    line-height: 4rem;
    color: var(--black-clr);
    font-weight: 500;
    text-align: center;
}

.line {
    background: var(--secundary-clr);
    width: 115px;
    height: 2.5px;
    margin: auto;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2rem;
}

.card {
    border-right: 1px solid #efefef;
    flex: 1;
    padding-block: 2rem;
    margin-bottom: 2rem;
    transition: all .3s ease-in-out;
    position: relative;
}

.card:hover {
    box-shadow: 0px 5px 19px 1px rgba(36, 11, 12, .15);
    z-index: 3;
}

.card-content {
    padding: 0 1rem;
}

.title {
    font-size: 1rem;
    color: var(--light-black);
    line-height: 1.7rem;
    font-weight: 600;
}

.price {
    margin-top: 1rem;
}

del {
    color: #c5c5c5;
}

.amount {
    font-size: 1.1rem;
    font-weight: 600;
}

.add-to-cart {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}

.card:hover .add-to-cart {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    flex: 1;
    text-align: center;
    padding: 2rem;
    border-right: 1px solid #efefef;
    transition: transform .3s ease-in-out;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature:last-child {
    border-right: none;
}

.feature i {
    font-size: 2.2rem;
    color: var(--secundary-clr);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 500;
    color: var(--light-black);
    margin-bottom: .7rem;
}

.feature p {
    font-size: .9rem;
    line-height: 1.6rem;
    color: var(--secundary-clr);
    max-width: 280px;
    margin: auto;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid #efefef;
}

.step:last-child {
    border-right: none;
}

.step span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secundary-clr);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.1rem;
    line-height: 1.6rem;
    font-weight: 500;
    color: var(--light-black);
    margin-bottom: .6rem;
}

.step p {
    font-size: .85rem;
    line-height: 1.5rem;
    color: var(--secundary-clr);
    max-width: 230px;
    margin: auto;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
    line-height: 2.5rem;
}

.about-content .line {
    margin: 1rem 0 1.5rem;
}

.about-content p {
    font-size: .95rem;
    line-height: 1.8rem;
    color: var(--secundary-clr);
    max-width: 550px;
}

.about-image {
    flex: 1;
    height: 350px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p+p {
    margin-top: 1rem;
}

.about-points {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .85rem;
    color: var(--light-black);
}

.about-points i {
    color: var(--secundary-clr);
    font-size: 1.2rem;
}

/* Footer */

.footer {
    background: var(--light-black);
    color: var(--white-clr);
    margin-top: 4rem;
    padding-top: 1.8rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-logo>span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-clr);
}

.footer-logo span span {
    color: var(--primary-clr);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white-clr);
    background: rgba(255, 255, 255, .08);
    transition: all .3s ease-in-out;
}

.social-icon:hover {
    background: var(--primary-clr);
    color: var(--light-black);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    padding: .9rem 1rem;
}

.footer-bottom p {
    color: #aaa;
    font-size: .7rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .8rem;
}

/* Carrito */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    z-index: 100;
}

.cart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: var(--white-clr);
    z-index: 101;
    display: flex;
    flex-direction: column;
    transition: right .3s ease-in-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, .1);
}

.cart.active {
    right: 0;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #efefef;
}

.cart-header h2 {
    font-size: 1.4rem;
    line-height: 1.5rem;
    font-weight: 500;
}

.cart-close {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--light-black);
}

.cart-close:hover {
    background: var(--primary-clr);
    color: var(--light-black);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: var(--secundary-clr);
    font-size: .9rem;
    margin-top: 3rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #efefef;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--light-black);
}

.cart-total span {
    color: var(--light-black);
    font-size: .95rem;
}

.cart-total strong {
    font-size: 1.2rem;
}

.checkout-button {
    width: 100%;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #efefef;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: .9rem;
    line-height: 1.3rem;
    font-weight: 500;
    margin-bottom: .3rem;
}

.cart-item-info p {
    font-size: .85rem;
    color: var(--secundary-clr);
    margin-bottom: .6rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-clr);
    color: var(--light-black);
    font-size: 1rem;
}

.quantity-btn:hover {
    background: var(--secundary-clr);
    color: var(--white-clr);
}

.cart-item-actions span {
    font-size: .85rem;
    min-width: 15px;
    text-align: center;
}

.remove-item {
    margin-left: auto;
    padding: .3rem;
    background: transparent;
    color: #999;
    font-size: .85rem;
}

.remove-item:hover {
    background: transparent;
    color: #d9534f;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secundary-clr);
    color: var(--white-clr);
    font-size: .65rem;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Buscador */

.search-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white-clr);
    padding: 1rem 0;
    box-shadow: 0px 5px 14px rgba(36, 11, 12, .08);
    display: none;
}

.search-box.active {
    display: block;
}

.search-container {
    width: 80%;
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: .8rem 0;
    font-size: .95rem;
    font-family: "Poppins", sans-serif;
}

.search-container input::placeholder {
    color: var(--secundary-clr);
}

.search-container button {
    background: transparent;
    color: var(--light-black);
    padding: .5rem;
    font-size: 1rem;
}

.search-container button:hover {
    background: transparent;
    color: var(--secundary-clr);
}


/* Resultados de búsqueda */

.search-results {
    display: none;
    margin-top: 7rem;
}

.search-results-products {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.search-results-products .card {
    flex: 0 1 220px;
}


/* Sin resultados */

.no-results {
    display: none;
    text-align: center;
    padding: 2rem 0 3rem;
}

.no-results-message {
    color: var(--secundary-clr);
    font-size: .95rem;
    margin-bottom: 2rem;
}

.no-results h3 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: var(--light-black);
    margin-bottom: 1.5rem;
}


/* Productos recomendados */

.recommended-products {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.recommended-products .card {
    flex: 0 1 220px;
    margin-bottom: 1rem;
}

/* Responsive */

@media (max-width: 768px) {

    .search-container {
        width: 90%;
    }

    .search-box {
        padding: .8rem 0;
    }

    .nav-right {
        gap: .3rem;
    }

    .nav-icons {
        display: flex;
        gap: .2rem;
    }

    .icon {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .hamburger {
        display: block;
        margin-left: .2rem;
    }

    .container {
        max-width: 90%;
    }

    .navbar {
        height: 10vh;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .navlist {
        display: none;
        margin: 0;
    }


    .hero {
        height: 55vh;
        margin-top: 5rem;
        background-position: center;
        background-size: cover;
    }

    /* Categorías */

    .category-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
        gap: .8rem;
    }

    .category:nth-child(1),
    .category:nth-child(4) {
        grid-row: auto;
    }

    .category:nth-child(2) {
        grid-row: auto;
    }

    .category button {
        font-size: .7rem;
        padding: .6rem 1rem;
    }

    /* Productos */

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }

    .card {
        width: 100%;
        padding: 1rem .5rem;
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .add-to-cart {
        margin-top: auto;
    }

    .card img {
        height: 180px;
        object-fit: contain;
    }

    .card-content {
        padding: 0 .5rem;
    }

    .title {
        font-size: .85rem;
        line-height: 1.4rem;
    }

    .price {
        margin-top: .5rem;
    }

    .amount {
        font-size: .95rem;
    }

    .add-to-cart {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: .7rem;
        padding: .6rem 1rem;
        font-size: .7rem;
    }

    /* Características */

    .features-container {
        flex-direction: column;
        gap: 0;
        margin-top: 2rem;
    }

    .feature {
        width: 100%;
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid #efefef;
    }

    .feature:last-child {
        border-bottom: none;
    }

    .feature i {
        font-size: 1.8rem;
        margin-bottom: .7rem;
    }

    .feature h3 {
        font-size: 1.1rem;
        line-height: 1.5rem;
        margin-bottom: .5rem;
    }

    .feature p {
        font-size: .8rem;
        line-height: 1.4rem;
    }

    /* Cómo comprar */

    .steps-container {
        flex-direction: column;
        gap: 0;
        margin-top: 2rem;
    }

    .step {
        width: 100%;
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid #efefef;
    }

    .step:last-child {
        border-bottom: none;
    }

    .step span {
        font-size: 1.3rem;
        margin-bottom: .7rem;
    }

    .step h3 {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: .5rem;
    }

    .step p {
        font-size: .8rem;
        line-height: 1.4rem;
    }

    /* Nosotros */

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-content {
        width: 100%;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-content .line {
        margin: 1rem auto 1.5rem;
    }

    .about-content p {
        font-size: .85rem;
        line-height: 1.6rem;
        text-align: center;
    }

    .about-points {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .about-points div {
        justify-content: center;
        font-size: .8rem;
    }

    .about-image {
        width: 100%;
        height: 280px;
    }

    /* Footer */

    .footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        gap: .7rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .footer-bottom {
        padding: .8rem 1rem;
    }

    .footer-bottom p {
        font-size: .65rem;
    }

    .navlist.active {
        display: flex;
        position: fixed;
        top: 10vh;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--white-clr);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        margin: 0;
        box-shadow: 0px 5px 14px rgba(36, 11, 12, .08);
        z-index: 98;
    }

    .cart {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart.active {
        right: 0;
    }

}

/* ==================== CATÁLOGO ==================== */

.catalog-page {
    margin-top: 5.5rem;
    padding-bottom: 4rem;
}

/* ==================== FILTROS DEL CATÁLOGO ==================== */

.catalog-filters {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: var(--light-black);
    text-align: center;
    margin-bottom: 1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.catalog-filter {
    background: transparent;
    color: var(--light-black);
    border: 1px solid #ddd;
    padding: .65rem 1.3rem;
    font-size: .8rem;
    font-weight: 500;
    text-transform: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.catalog-filter:hover,
.catalog-filter.active {
    background: var(--secundary-clr);
    color: var(--white-clr);
    border-color: var(--secundary-clr);
}

.catalog-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.catalog-products .card {
    width: 100%;
    flex: none;
}

.catalog-products .card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
}

.catalog-no-results {
    display: none;
    text-align: center;
    padding: 3rem 0;
    color: var(--secundary-clr);
}


/* ==================== CATÁLOGO RESPONSIVE ==================== */

@media (max-width: 768px) {

    .catalog-page {
        margin-top: 5rem;
    }

    /* ==================== FILTROS DEL CATÁLOGO ==================== */

    .catalog-filters {
        margin-top: 2.5rem;
        margin-bottom: 3rem;
    }

    .filter-group {
        margin-bottom: 2rem;
    }

    .filter-group:last-child {
        margin-bottom: 0;
    }

    .filter-group h3 {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 500;
        color: var(--light-black);
        text-align: center;
        margin-bottom: 1rem;
    }

    .filter-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .7rem;
        flex-wrap: wrap;
    }

    .catalog-filter {
        background: transparent;
        color: var(--light-black);
        border: 1px solid #ddd;
        padding: .65rem 1.3rem;
        font-size: .8rem;
        font-weight: 500;
        text-transform: none;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

    .catalog-filter:hover,
    .catalog-filter.active {
        background: var(--secundary-clr);
        color: var(--white-clr);
        border-color: var(--secundary-clr);
    }

    .catalog-products {
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }

    .catalog-products .card {
        padding-block: 1rem;
    }

    .catalog-products .card img {
        height: 180px;
    }

}

/* Alineación de los iconos del navbar */

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
}

/* ==================== MODAL PRODUCTO ==================== */

.product-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);

    width: min(900px, 90%);
    max-height: 90vh;

    background: white;
    border-radius: 16px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: auto;

    z-index: 1001;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

/* BOTÓN CERRAR */

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent !important;


    font-size: 26px;
    font-weight: 400;
    color: #333;

    cursor: pointer;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease,
        color 0.2s ease;
}

.product-modal-close:hover {
    transform: scale(1.15);
    color: #000;
    background: transparent;
    box-shadow: none;
}

/* ================================
   IMAGEN DEL MODAL - ESCRITORIO
================================ */

.product-modal-image {
    width: 100%;
    min-height: 450px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f7f7f7;
    padding: 25px;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 450px;

    object-fit: contain;
    object-position: center;

    display: block;
}

/* INFORMACIÓN */

.product-modal-content {
    padding: 50px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-technique {
    display: inline-block;

    width: fit-content;

    padding: 6px 12px;

    border-radius: 20px;

    background: #f1f1f1;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 15px;
}

.product-modal-content h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 25px;
    font-weight: 700;

    margin-bottom: 20px;
}

.modal-description {
    color: #666;
    line-height: 1.6;

    margin-bottom: 30px;
}

/* BOTÓN */

.modal-add-to-cart {
    width: 100%;

    padding: 14px 20px;

    border: none;
    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;
    font-weight: 600;

    transition: 0.2s ease;
}

.modal-add-to-cart:hover {
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 700px) {

    .product-modal {
        grid-template-columns: 1fr;

        width: 92%;
        max-height: 90vh;

        overflow-y: auto;
    }

    .product-modal-image {
        min-height: 280px;
        height: 280px;
    }

    .product-modal-content {
        padding: 30px 25px;
    }

    .product-modal-content h2 {
        font-size: 24px;
    }

}

html {
    scroll-behavior: smooth;
}

/* ==================== */
/* CANTIDAD DEL MODAL */
/* ==================== */

.modal-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.modal-quantity-label {
    font-size: .9rem;
    font-weight: 600;
    color: var(--light-black);
}

.modal-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.modal-quantity-controls button {
    width: 38px;
    height: 38px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: var(--light-black);

    font-size: 1.1rem;
    font-weight: 500;

    cursor: pointer;
}

.modal-quantity-controls button:hover {
    background: var(--primary-clr);
    color: var(--light-black);
}

.modal-quantity-controls span {
    width: 40px;
    text-align: center;
    font-size: .9rem;
    color: var(--light-black);
}

/* ==================== */
/* PERSONALIZACIÓN MODAL */
/* ==================== */

.modal-customization {
    margin-bottom: 20px;
}

.modal-customization label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--light-black);
    margin-bottom: .6rem;
}

.modal-customization input {
    width: 100%;
    padding: .8rem 1rem;

    border: 1px solid #ddd;
    outline: none;

    font-family: "Poppins", sans-serif;
    font-size: .85rem;

    transition: border-color .2s ease;
}

.modal-customization input:focus {
    border-color: var(--secundary-clr);
}

/* Texto personalizado en carrito */

.cart-custom-text {
    font-size: .78rem !important;
    color: var(--light-black) !important;
    line-height: 1.3rem;
    margin-bottom: .5rem !important;
}

.cart-custom-image {
    margin-top: 10px;
}

.cart-custom-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    display: block;
}

.cart-custom-text {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}



/* ==================== */
/* BOTÓN FLOTANTE WHATSAPP */
/* ==================== */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: white;

    border-radius: 50%;

    font-size: 30px;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);

    z-index: 9999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:active {
    transform: scale(0.95);
}


/* ==================== */
/* CELULAR */
/* ==================== */

@media (max-width: 768px) {

    .whatsapp-float {
        width: 54px;
        height: 54px;

        right: 18px;
        bottom: 18px;

        font-size: 28px;
    }

}

/* =========================================
   PUNTO DE ENTREGA
   ========================================= */

#delivery-point {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;

    /* Flecha personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

#delivery-point:hover {
    border-color: #bbb;
}

#delivery-point:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

#delivery-point option {
    padding: 10px;
}

/* =========================================
   TARJETAS - LO MÁS DESTACADO
   ========================================= */

.card-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.card-container .card {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin-bottom: 0;

    display: flex;
    flex-direction: column;
}

.card-container .card img {
    width: 100%;
    height: 260px;
    flex-shrink: 0;
    object-fit: contain;
}

.card-container .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-container .title {
    min-height: 2.8rem;
}

.card-container .price {
    margin-top: auto;
    padding-top: .7rem;
}

.card-container .add-to-cart {
    flex-shrink: 0;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

    .card-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 768px) {

    .card-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
        align-items: stretch;
    }

    .card-container .card {
        height: 100%;
        padding: 1rem .5rem;
        margin-bottom: 0;
    }

    .card-container .card img {
        height: 180px;
        flex-shrink: 0;
    }

    .card-container .card-content {
        min-height: 0;
    }

    .card-container .title {
        min-height: 2.8rem;
        font-size: .85rem;
        line-height: 1.4rem;
    }

    .card-container .price {
        margin-top: auto;
        padding-top: .5rem;
    }

    .card-container .add-to-cart {
        margin-top: .7rem;
        flex-shrink: 0;
    }

}

/* =========================================
   BLOQUEAR SCROLL DEL FONDO AL ABRIR CARRITO
   ========================================= */

body.cart-open {
    overflow: hidden;
}

.cart,
.cart-items {
    overscroll-behavior: contain;
}

.cart-items {
    -webkit-overflow-scrolling: touch;
}

/* =========================================
   TARJETAS DEL CATÁLOGO
   ========================================= */

.catalog-products {
    align-items: stretch;
}

.catalog-products .card {
    width: 100%;
    height: 100%;
    min-width: 0;
    margin-bottom: 0;

    display: flex;
    flex-direction: column;
}

.catalog-products .card img {
    flex-shrink: 0;
}

.catalog-products .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-products .title {
    min-height: 2.8rem;
}

.catalog-products .price {
    margin-top: auto;
    padding-top: .7rem;
}


/* CELULAR */

@media (max-width: 768px) {

    .catalog-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
        align-items: stretch;
    }

    .catalog-products .card {
        height: 100%;
        margin-bottom: 0;
    }

    .catalog-products .card img {
        height: 180px;
    }

    .catalog-products .title {
        min-height: 2.8rem;
    }

}

/* =========================================
   CATÁLOGO - BOTÓN AGREGAR AL CARRITO
   ESCRITORIO
   ========================================= */

@media (min-width: 769px) {

    .catalog-products .card-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .catalog-products .add-to-cart {
        position: static;
        width: 100%;

        margin-top: .8rem;

        transform: translateY(10px);
        opacity: 0;
        visibility: hidden;

        transition: all .3s ease-in-out;
    }

    .catalog-products .card:hover .add-to-cart {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

}

/* =========================================
   MODAL PRODUCTO - CORRECCIÓN ESCRITORIO
   ========================================= */

@media (min-width: 701px) {

    .product-modal {
        height: 700px;
        max-height: 90vh;
        overflow: hidden;
    }

    .product-modal-image {
        height: 100%;
        min-height: 0;
        padding: 30px;
        overflow: hidden;
    }

    .product-modal-image img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain !important;
        object-position: center center;
    }

    .product-modal-content {
        height: 100%;
        max-height: 100%;
        overflow-y: auto;

        /* Evita que el contenido se recorte arriba */
        justify-content: flex-start;
        padding-top: 50px;
    }

    .product-modal-content h2 {
        flex-shrink: 0;
        margin-top: 0;
        margin-bottom: 12px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

}




/* =========================================
   RESUMEN DE PRODUCTOS
   ========================================= */

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 20px;
}

.order-summary-item {
    padding: 14px 16px;

    background: #faf9f7;
    border: 1px solid #eee9e3;
    border-radius: 12px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 15px;

    font-size: .88rem;
}

.order-summary-item strong {
    color: var(--light-black);
}

.order-summary-item > span {
    color: #555;
    text-align: right;
    font-weight: 600;
}

.order-summary-item small {
    grid-column: 1 / -1;

    color: #888;
    font-size: .76rem;
    line-height: 1.5;
}


/* =========================================
   TOTAL
   ========================================= */

.order-total {
    margin: 18px 0;

    padding: 16px 18px;

    background: var(--primary-clr);
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 1rem;
}

.order-total strong {
    font-size: 1.35rem;
    color: var(--light-black);
}


/* =========================================
   ANTICIPO Y SALDO
   ========================================= */

.order-payment-summary {
    margin: 0 0 24px;
    padding: 15px 17px;

    background: #fafafa;

    border: 1px solid #eee;
    border-radius: 14px;
}

.order-payment-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    font-size: .86rem;
}

.order-payment-summary div:last-child {
    margin-bottom: 0;
}

.order-payment-summary span {
    color: #777;
}

.order-payment-summary strong {
    color: var(--light-black);
}

.order-payment-summary div:first-child strong {
    font-size: 1rem;
}


/* =========================================
   DATOS DEL CLIENTE
   ========================================= */

.order-customer {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 18px;
}

.order-customer label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--light-black);
}

.order-customer input,
.order-customer textarea,
.order-customer select {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #ddd;
    border-radius: 10px;

    background: #fff;

    font-family: "Poppins", sans-serif;
    font-size: .88rem;

    outline: none;

    transition: border-color .2s ease,
                box-shadow .2s ease;
}

.order-customer input:focus,
.order-customer textarea:focus,
.order-customer select:focus {
    border-color: var(--secundary-clr);

    box-shadow: 0 0 0 3px rgba(144, 143, 139, .12);
}

.order-customer textarea {
    min-height: 90px;
    resize: vertical;
}


/* =========================================
   BOTÓN WHATSAPP
   ========================================= */

.whatsapp-order-button {
    width: 100%;

    padding: 14px 20px;

    border: none;
    border-radius: 12px;

    background: #25D366;
    color: #fff;

    font-family: "Poppins", sans-serif;
    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 7px 18px rgba(37, 211, 102, .18);

    transition: all .2s ease;
}

.whatsapp-order-button:hover {
    transform: translateY(-2px);

    background: #20bd5a;

    box-shadow: 0 10px 22px rgba(37, 211, 102, .25);
}


/* =========================================
   CHECKOUT - CELULAR
   ========================================= */

@media (max-width: 700px) {

    .order-modal {
        width: 92%;
        max-height: 90vh;

        border-radius: 17px;
    }

    .order-modal-content {
        padding: 26px 20px;
    }

    .order-modal-content h2 {
        font-size: 1.3rem;
    }

    .order-summary-item {
        padding: 12px;
    }

    .order-total {
        padding: 14px;
    }

    .order-total strong {
        font-size: 1.2rem;
    }

}

/* =========================================
   CHECKOUT - ENCABEZADO
   ========================================= */

.order-modal-content .modal-technique {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 11px;

    background: var(--primary-clr);
    color: var(--light-black);

    border-radius: 20px;

    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.order-modal-content h2 {
    margin: 0 0 6px;
    font-size: 1.55rem;
    line-height: 1.3;
    color: var(--light-black);
}

.order-modal-content .order-description {
    margin: 0 0 22px;
    color: #777;
    font-size: .85rem;
    line-height: 1.6;
}

/* =========================================
   CHECKOUT / CONFIRMAR PEDIDO
   JBM MAKERS - ESTILO PROFESIONAL
   ========================================= */

.order-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;

    background: rgba(30, 27, 24, 0.58);

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease,
                visibility .25s ease;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.order-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   VENTANA PRINCIPAL
   ========================================= */

.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;

    width: min(92%, 560px);
    max-width: 560px;
    max-height: 88vh;

    padding: 0;

    background: #fff;

    border-radius: 18px;

    overflow-y: auto;
    overflow-x: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .18),
        0 4px 15px rgba(0, 0, 0, .08);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, -48%) scale(.97);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 9999;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, -50%) scale(1);
}


/* =========================================
   CONTENIDO
   ========================================= */

.order-modal-content {
    padding: 32px;
}


/* =========================================
   ETIQUETA "CONFIRMAR PEDIDO"
   ========================================= */

.order-modal-content .modal-technique {
    display: inline-block;

    margin-bottom: 9px;
    padding: 5px 11px;

    background: var(--primary-clr);
    color: var(--light-black);

    border-radius: 20px;

    font-size: .7rem;
    font-weight: 600;

    letter-spacing: .5px;
    text-transform: uppercase;
}


/* =========================================
   TÍTULO
   ========================================= */

.order-modal-content h2 {
    margin: 0 0 6px;

    color: var(--light-black);

    font-size: 1.55rem;
    font-weight: 600;

    line-height: 1.3;
}

.order-description {
    margin: 0 0 24px;

    color: #777;

    font-size: .84rem;
    line-height: 1.6;
}


/* =========================================
   BOTÓN CERRAR
   ========================================= */

.order-modal .order-modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #f5f3f0;
    color: #555;

    font-size: 17px;

    cursor: pointer;

    transition: background .2s ease,
                color .2s ease,
                transform .2s ease;

    z-index: 10;
}

.order-modal .order-modal-close:hover {
    background: var(--primary-clr);
    color: #222;

    transform: rotate(90deg);
}

.order-modal .order-modal-close:focus {
    outline: none;
}


/* =========================================
   RESUMEN DE PRODUCTOS
   ========================================= */

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 18px;
}


/* Cada producto */

.order-summary-item {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 5px 15px;

    padding: 14px 16px;

    background: #faf9f7;

    border: 1px solid #eee9e3;

    border-radius: 12px;

    font-size: .84rem;

    line-height: 1.5;
}

.order-summary-item strong {
    color: var(--light-black);

    font-weight: 600;
}

.order-summary-item > span {
    color: #444;

    text-align: right;

    font-weight: 600;
}

.order-summary-item small {
    grid-column: 1 / -1;

    margin-top: 2px;

    color: #888;

    font-size: .74rem;
    line-height: 1.5;
}


/* =========================================
   TOTAL
   ========================================= */

.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 18px 0;

    padding: 16px 18px;

    background: var(--primary-clr);

    border-radius: 13px;

    color: var(--light-black);

    font-size: .95rem;
    font-weight: 500;
}

.order-total strong {
    font-size: 1.3rem;
    font-weight: 600;
}


/* =========================================
   ANTICIPO / SALDO
   ========================================= */

.order-payment-summary {
    margin: 0 0 24px;

    padding: 14px 16px;

    background: #fff;

    border: 1px solid #eee9e3;

    border-radius: 13px;
}

.order-payment-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;

    font-size: .82rem;
}

.order-payment-summary div:last-child {
    margin-bottom: 0;
}

.order-payment-summary span {
    color: #777;
}

.order-payment-summary strong {
    color: var(--light-black);

    font-weight: 600;
}

.order-payment-summary div:first-child strong {
    font-size: .92rem;
}


/* =========================================
   DATOS DEL CLIENTE
   ========================================= */

.order-customer {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 16px;
}

.order-customer label {
    color: var(--light-black);

    font-size: .78rem;
    font-weight: 600;
}

.order-customer input,
.order-customer textarea,
.order-customer select {
    width: 100%;

    padding: 11px 12px;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 9px;

    color: #333;

    font-family: "Poppins", sans-serif;

    font-size: .83rem;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.order-customer input::placeholder,
.order-customer textarea::placeholder {
    color: #aaa;
}

.order-customer input:focus,
.order-customer textarea:focus,
.order-customer select:focus {
    border-color: var(--secundary-clr);

    box-shadow:
        0 0 0 3px rgba(144, 143, 139, .10);
}


/* Notas */

.order-customer textarea {
    min-height: 85px;

    resize: vertical;

    line-height: 1.5;
}


/* =========================================
   BOTÓN WHATSAPP
   ========================================= */

.whatsapp-order-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 6px;

    padding: 14px 20px;

    border: none;
    border-radius: 11px;

    background: #25D366;
    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: .9rem;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(37, 211, 102, .16);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.whatsapp-order-button:hover {
    background: #20bd5a;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(37, 211, 102, .22);
}

.whatsapp-order-button i {
    font-size: 1.15rem;
}


/* =========================================
   CHECKOUT - CELULAR
   ========================================= */

@media (max-width: 700px) {

    .order-modal {
        width: 92%;
        max-height: 90vh;

        border-radius: 16px;
    }

    .order-modal-content {
        padding: 27px 19px 22px;
    }

    .order-modal-content h2 {
        font-size: 1.3rem;
    }

    .order-description {
        margin-bottom: 20px;

        font-size: .8rem;
    }

    .order-summary-item {
        padding: 12px 13px;

        font-size: .8rem;
    }

    .order-total {
        padding: 14px 15px;
    }

    .order-total strong {
        font-size: 1.15rem;
    }

    .order-payment-summary {
        padding: 13px 14px;
    }

    .order-customer input,
    .order-customer textarea,
    .order-customer select {
        padding: 11px;

        font-size: .82rem;
    }

    .whatsapp-order-button {
        padding: 13px 16px;

        font-size: .86rem;
    }
}

/* =========================================
   EXTRAS / COMPLEMENTOS
   ========================================= */

#modal-extras-container {
    display: block;
    margin-top: 20px;
}

#modal-extras-container > label {
    display: block;
    margin-bottom: 10px;

    color: var(--light-black);
    font-size: .82rem;
    font-weight: 600;
}


/* Lista de extras */

#modal-extras-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}


/* Contenedor */

#modal-extras-list .modal-extra-item {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* Tarjeta */

#modal-extras-list .modal-extra-item > label {
    box-sizing: border-box;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 72px;

    margin: 0 !important;
    padding: 8px 12px !important;

    background: #faf9f7 !important;

    border: 1px solid #e5e1dc !important;
    border-radius: 12px !important;

    color: var(--light-black);

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


/* Checkbox */

#modal-extras-list .modal-extra-checkbox {
    flex: 0 0 19px;

    width: 19px !important;
    height: 19px !important;

    margin: 0 10px 0 0 !important;
    padding: 0 !important;

    appearance: none;
    -webkit-appearance: none;

    background: #fff !important;

    border: 1.5px solid #c9c4be !important;
    border-radius: 5px !important;

    position: relative;

    cursor: pointer;
}


/* Checkbox seleccionado */

#modal-extras-list .modal-extra-checkbox:checked {
    background: var(--light-black) !important;
    border-color: var(--light-black) !important;
}

#modal-extras-list .modal-extra-checkbox:checked::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 5px;
    height: 9px;

    border: solid white;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* Imagen */

#modal-extras-list .modal-extra-item img {
    display: block !important;

    width: 54px !important;
    min-width: 54px !important;

    height: 54px !important;
    min-height: 54px !important;

    flex: 0 0 54px;

    margin: 0 12px 0 0 !important;
    padding: 0 !important;

    object-fit: cover !important;

    border-radius: 9px !important;

    vertical-align: middle;
}


/* Nombre */

#modal-extras-list .modal-extra-item label span {
    display: block;

    flex: 1;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--light-black) !important;

    font-size: .82rem;
    font-weight: 500;

    line-height: 1.35;
}


/* Precio */

#modal-extras-list .modal-extra-item label strong {
    display: block;

    flex: 0 0 auto;

    margin: 0 0 0 10px !important;
    padding: 0 !important;

    color: var(--light-black) !important;

    font-size: .82rem;
    font-weight: 600;

    white-space: nowrap;
}


/* Extra seleccionado */

#modal-extras-list .modal-extra-item > label:has(
    .modal-extra-checkbox:checked
) {
    background: #f5eee6 !important;

    border-color: var(--secundary-clr) !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
}


/* Hover */

#modal-extras-list .modal-extra-item > label:hover {
    border-color: #c5beb6 !important;
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 700px) {

    #modal-extras-list .modal-extra-item > label {
        min-height: 66px;

        padding: 7px 10px !important;
    }

    #modal-extras-list .modal-extra-item img {
        width: 48px !important;
        min-width: 48px !important;

        height: 48px !important;
        min-height: 48px !important;

        flex-basis: 48px;

        margin-right: 10px !important;
    }

    #modal-extras-list .modal-extra-item label span {
        font-size: .78rem;
    }

    #modal-extras-list .modal-extra-item label strong {
        font-size: .78rem;
    }
}

/* =========================================
   PRECIOS DE MAYOREO
   ========================================= */

.wholesale {
    padding-top: 60px;
    padding-bottom: 60px;
}

.wholesale-content {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 35px 40px;

    background: var(--primary-clr);
    border-radius: 18px;

    border: 1px solid #e3d8ca;
}


/* Icono */

.wholesale-icon {
    width: 65px;
    height: 65px;

    flex: 0 0 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border-radius: 50%;

    color: var(--light-black);
    font-size: 1.5rem;
}


/* Texto */

.wholesale-text {
    flex: 1;
}

.wholesale-tag {
    display: block;

    margin-bottom: 5px;

    color: var(--secundary-clr);

    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wholesale-text h2 {
    margin-bottom: 10px;

    color: var(--light-black);

    font-size: 1.7rem;
}

.wholesale-text p {
    max-width: 700px;

    margin-bottom: 7px;

    color: var(--light-black);

    font-size: .9rem;
    line-height: 1.6;
}

.wholesale-text .wholesale-note {
    margin-bottom: 0;

    font-size: .78rem;
    opacity: .75;
}


/* Botón */

.wholesale-action {
    flex-shrink: 0;
}

.wholesale-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 13px 20px;

    background: var(--light-black);
    color: #fff;

    border-radius: 10px;

    font-size: .85rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.wholesale-button:hover {
    transform: translateY(-2px);

    background: #222;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.wholesale-button i {
    font-size: 1rem;
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 700px) {

    .wholesale {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .wholesale-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding: 25px 20px;

        border-radius: 15px;
    }

    .wholesale-icon {
        width: 52px;
        height: 52px;

        flex-basis: 52px;

        font-size: 1.2rem;
    }

    .wholesale-text h2 {
        font-size: 1.4rem;
    }

    .wholesale-text p {
        font-size: .82rem;
    }

    .wholesale-action {
        width: 100%;
    }

    .wholesale-button {
        width: 100%;
        box-sizing: border-box;
    }

}