@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #fe171d;
    --primary-color-10: rgba(254, 23, 29, 0.1);
    --secondary-color: #fcef00;
    --accent-color: #d96e30;
    --background-color: #faf7f2;
    --hover-color: #fdf6ef;

    --text-color: #332d28;
    --neutral-color: #ede0d4;
    --white-color: #ffffff;
    --black-color: #1f1f1f;

    --gray-100: #f5f5f5;
    --gray-200: #eaeaea;
    --gray-300: #d6d6d6;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #7a7a7a;
    --gray-700: #5f5f5f;

    --font-primary: "IBM Plex Sans", sans-serif;
    --font-secondary: "IBM Plex Sans", sans-serif;

    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.25rem; /* 20px */
    --font-size-xl: 1.5rem; /* 24px */
    --font-size-xxl: 2.5rem; /* px  */

    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */

    --radius-sm: 0.25rem; /* 4px */
    --radius-md: 0.5rem; /* 8px */
    --radius-lg: 0.875rem; /* 14px */
    --radius-xl: 1rem; /* 16px */

    --filter-primary: brightness(0) saturate(100%) invert(18%) sepia(96%)
        saturate(4236%) hue-rotate(348deg) brightness(99%) contrast(110%);
    --filter-white: brightness(0) saturate(100%) invert(100%) sepia(1%)
        saturate(2667%) hue-rotate(322deg) brightness(116%) contrast(100%);
}

* {
    font-family: "IBM Plex Sans", sans-serif;
    scroll-behavior: smooth;
}

::selection {
    background-color: #f3d3b5;
}

body {
    background-color: var(--white-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: var(--font-size-base);
}
.bodyPag.scrollnone {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* elimina flechitas del input tipo numero/cantidad */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
/* elimina la X del input tipo search */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.wrapper {
    border-top: 1px solid var(--primary-color);
}

.padding-page {
    padding-bottom: 8rem;
}

.padding-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.padding-last-section {
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.page-header {
    position: relative;
    padding: 4rem 1rem;
    text-align: center;
}
.page-title {
    color: var(--black-color);
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    line-height: 1.2;
    letter-spacing: 0.05rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.nav-breadcrumb {
    background-color: transparent;
    padding-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}
.breadcrumb-item,
.breadcrumb-item a {
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.3s;
}
.breadcrumb-item.active {
    color: var(--text-color);
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 45%;
    overflow: hidden;
}
.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/*= inicio header de la sección =*/
.product-carousel__top-row {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 1rem;
}
.product-carousel__header {
    margin-bottom: 2rem;
}
.product-carousel__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

/* Tabs */
.product-carousel__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.2rem;
    width: fit-content;
}

.product-carousel__tab {
    padding: 0.55rem 1.3rem;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.product-carousel__tab--active {
    color: var(--white-color);
    background-color: var(--primary-color);
}

.product-carousel__tab:hover {
    color: var(--white-color);
    background-color: var(--primary-color);
}

/* Controles de navegación */
.product-carousel__controls,
.product-carousel__controls-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-carousel__nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-400);
    background: var(--white-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-700);
}

.product-carousel__nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-carousel__nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-carousel__counter {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/*= fin header de la sección =*/

.terms-section h2 {
    color: var(--gray-700);
}

/* ==== Inicio Header ==== */

/*== inicio header middle ==*/

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-middle {
    background-color: var(--white-color);
}

.link-logo {
    display: inline-block;
    width: auto;
    height: auto;
}

.img-logo {
    filter: var(--filter-primary);
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-header-middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "menu logo carrito"
        "buscador buscador buscador";
    align-items: center;
    column-gap: 1rem;
    row-gap: 1rem;
    width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.item-nav-header:nth-child(1) {
    grid-area: menu;
}
.item-nav-header:nth-child(2) {
    grid-area: logo;
    margin: 0 auto;
}
.item-nav-header:nth-child(3) {
    grid-area: buscador;
}
.item-nav-header:nth-child(4) {
    grid-area: carrito;
}

/*= inicio form search =*/

.grid-search {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 1rem;
    column-gap: 1.6rem;
}

.form-search {
    position: relative;
    width: 100%;
}

.input-header-search {
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    border: 1px solid var(--gray-400);
    background: var(--white-color);
    outline: none;
    padding: 0.25rem 0.25rem 0.25rem 1.4rem;
    width: 100%;
    height: 48px;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: 0;
    border-radius: var(--radius-sm);
    padding: 0;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--accent-color);
}

.btn-search .icon-search {
    filter: var(--filter-white);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 18px;
}
/*= fin form search =*/

.btn-call {
    display: flex;
    align-items: center;
    column-gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--primary-color);
}
.btn-call img {
    filter: var(--filter-primary);
    height: 28px;
    width: 28px;
    object-fit: contain;
}
.btn-call-text {
    font-size: var(--font-size-sm);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
    margin-bottom: 0;
    position: relative;
    top: -2px;
}

/*= inicio list right menu =*/

.list-nav-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 0.7rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.btn-header {
    color: var(--text-color);
    font-size: 0.7rem;
    letter-spacing: 0.02rem;
    background: transparent;
    border: 0;
    padding: 0;
    outline: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    transition: all 0.3s;
}

.btn-header-wrapper {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 1px;
    transition: all 0.3s;
}

.icon-header {
    height: 24px;
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.btn-header:hover {
    color: var(--primary-color);
}

.btn-header:hover .icon-header {
    filter: brightness(0) saturate(100%) invert(37%) sepia(61%) saturate(3921%)
        hue-rotate(2deg) brightness(102%) contrast(103%);
}

.fav-count,
.cart-count {
    background: var(--primary-color);
    width: 18px;
    height: 18px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--white-color);
    line-height: 1;
    vertical-align: middle;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.item-login {
    display: none;
}

/*= fin list right menu =*/

/*== fin header middle ==*/

/*= inicio header bottom =*/

.header-bottom {
    background: var(--primary-color);
}

.nav-header-bottom {
    display: none;
    position: relative;
    align-items: center;
    justify-content: space-between;
    column-gap: 1rem;
    width: calc(100% - 50px);
    margin-left: auto;
    margin-right: auto;
}

.wrapper-header-bottom {
    padding-top: calc(1.4rem - 0.9rem);
    padding-bottom: calc(1.4rem - 0.9rem);
    transition: all 0.3s;
}

.scroll-wrapper {
    overflow-y: auto;
}

.btn-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    word-break: break-all;
    letter-spacing: 0.04rem;
    line-height: 1;
    width: 200px;
    background: var(--white-color);
    border: 0;
    color: var(--primary-color);
    border-radius: 30px;
    padding: 0.8rem 1rem;
    position: relative;
    transition: all 0.3s;
}

.btn-list-header:hover {
    color: var(--white-color);
    background-color: var(--hover-color);
}

.btn-list-header img {
    object-fit: contain;
}

.btn-list-header:hover img {
    filter: brightness(0) saturate(100%) invert(90%) sepia(97%) saturate(34%)
        hue-rotate(88deg) brightness(111%) contrast(96%);
}

.list-grid-header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1.6rem;
    list-style: none;
    width: 100%;
    margin-bottom: 0;
}

.list-grid-header-bottom.brand {
    width: fit-content;
}

.item-header {
    transition: all 0.3s;
}

.link-list-header {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    color: var(--white-color);
    font-size: var(--font-size-base);
    font-weight: 500;
    letter-spacing: 0.04rem;
    line-height: 1;
    padding: 1.4rem 1rem;
    text-align: center;
}

.item-header:hover .link-list-header {
    color: var(--white-color);
    background-color: var(--accent-color);
    transition: all 0.3s;
}

.item-header-brand {
    padding-top: calc(1.4rem - 0.5rem);
    padding-bottom: calc(1.4rem - 0.5rem);
}

.btn-header-brand {
    color: var(--white-color);
    font-size: 0.95rem;
    letter-spacing: 0.04rem;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: 30px;
    column-gap: 0.5rem;
    transition: all 0.3s;
}

.btn-header-brand:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

/* header bottom categorias submenu */

.visibility-submenu-categorias {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 92%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--white-color);
    max-height: 69vh;
    max-width: 100%;
    width: calc(99vw - 74px);
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    box-shadow: 0 17px 15px -11px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s;
}

.submenu-categorias {
    display: grid;
    grid-template-columns: 300px 1fr;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 69vh;
    transition: all 0.3s;
}

.wrapper-header-bottom:hover .visibility-submenu-categorias {
    display: block;
    opacity: 1;
    visibility: visible;
}

.list-categorias {
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.list-categorias-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.02rem;
    color: var(--text-color);
    text-align: left;
    padding: 0.5rem 1.6rem;
    border: 0;
    background: transparent;
    transition: all 0.3s;
}

.list-categorias-link:focus-visible {
    outline: none;
}

.list-categorias-link img {
    width: 8px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.submenu-categorias-right {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.child-categorias {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 69vh;
    overflow-y: auto;
    background: var(--white-color);
    z-index: 10;
    padding-left: 2rem;
    transition: top 0.3s;
}

.list-child-categorias {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1rem;
    list-style: none;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 0;
}

.list-child-categorias.active-menu {
    display: grid;
}

.list-categorias-link.active {
    background: var(--hover-color);
    color: var(--white-color);
}

.list-categorias-link:hover {
    background: var(--hover-color);
    color: var(--white-color);
}

.list-categorias-link.active img,
.list-categorias-link:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(5%) saturate(2%)
        hue-rotate(206deg) brightness(117%) contrast(100%);
}

.child-categorias-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.02rem;
    line-height: 1.4;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}

.icon-categorias {
    background-color: var(--hover-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

/* scrollbar submenu categorias*/
.list-item-header::-webkit-scrollbar {
    width: 10px;
}
.list-item-header::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 1rem;
}
.list-item-header::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid var(--gray-200);
}
.list-item-header::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

/* header bottom lista del medio submenu */

.submenu-item-header {
    display: none;
    position: absolute;
    top: 99%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--white-color);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    max-height: 69vh;
    max-width: 100%;
    width: calc(99vw - 74px);
    box-sizing: border-box;
    border: 1px solid var(--hover-color);
    border-radius: var(--radius-md);
    box-shadow: 0 17px 15px -11px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.list-item-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    overflow-y: auto;
    max-height: 69vh;
    margin-bottom: 0;
    padding: 2rem;
}

.title-submenu-item-header {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    border-bottom: 0.9px dashed var(--primary-color);
}

.item-header:hover .submenu-item-header {
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
}

.child-categorias-link:hover {
    color: var(--primary-color);
}

/*= fin header bottom =*/

/*= inicio megamenu vertical =*/

.wrapper-megamenu-vertical {
    position: relative;
}

.btn-megamenu-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    color: var(--primary-color);
    text-align: left;
    position: relative;
    width: 100%;
    background: var(--white-color);
    border: 0;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    margin-bottom: 0;
    cursor: pointer;
    width: 220px;
}

.btn-megamenu-vertical svg {
    width: 18px;
    height: 18px;
}

.container-megamenu-vertical {
    position: absolute;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    display: none;
    background-color: var(--white-color);
    border: 1px solid var(--neutral-color);
    border-radius: var(--radius-md);
    border-top: none;
    margin-bottom: 0;
    height: 72vh;
    width: 280px;
    z-index: 9999;
    padding: 0.2rem;
    transition: all 0.3s;
}

.list-megamenu-vertical {
    list-style: none;
    padding: 0;
    height: 70vh;
    overflow-y: auto;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--white-color);
}

.item-megamenu-vertical {
    transition: all 0.3s;
}

.link-megamenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
}

.link-megamenu svg {
    height: 16px;
    width: 16px;
}

.sub-megamenu-vertical {
    position: absolute;
    top: 0;
    left: 100%;
    padding: 0.2rem;
    margin-bottom: 0;
    height: 100%;
    background: var(--white-color);
    border: 1px solid var(--neutral-color);
    border-radius: var(--radius-md);
    display: none;
    z-index: 11;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--white-color);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    height: 72vh;
    width: 250px;
}

.list-sub-megamenu {
    padding: 0;
    list-style: none;
    height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--white-color);
}

.wrapper-megamenu-vertical:hover .container-megamenu-vertical {
    opacity: 1;
    visibility: visible;
    display: block;
}

.item-megamenu-vertical:hover .link-megamenu {
    background-color: var(--hover-color);
    color: var(--primary-color);
}

.sub-megamenu-vertical.is-active {
    display: block;
}

/*= fin megamenu vertical =*/

/*= inicio carrito aside =*/
.cart-header.open {
    transform: translateX(0);
    transition: ease-in-out 0.6s;
}
.cart-header {
    background: var(--white-color);
    padding: 1.6rem;
    width: 450px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    transform: translateX(1000px);
    transition: ease-in-out 0.6s;
    z-index: 9999;
}
.item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--primary-color);
}
.wrapper-cart-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}
.wapper-cart {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}
.item-body {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    column-gap: 1rem;
}
.card-cart {
    width: 100%;
    display: flex;
    align-items: flex-start;
    column-gap: 1.4rem;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--gray-400);
}
.card-cart-images {
    display: inline-block;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    width: fit-content;
    height: fit-content;
    flex-shrink: 0;
}
.card-cart-images img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}
.card-cart-text {
    width: 100%;
}
.card-cart-title {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02rem;
    color: var(--text-color);
    text-transform: capitalize;
    width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-cart-title a:hover {
    color: var(--primary-color);
}
.card-cart-precio {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.02rem;
    width: 95%;
    margin-bottom: 0;
}
.card-cart-actions {
    display: flex;
    align-items: center;
    column-gap: 1.4rem;
    margin-top: 0.8rem;
    width: 95%;
}
.card-cart-contador {
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.card-cart-contador.carrito {
    width: 120px;
}
.card-btn-remove {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 0;
    text-decoration: underline;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.card-btn-remove:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.item-footer:last-child {
    display: flex;
    justify-content: center;
}
.cart-footer {
    position: sticky;
    bottom: 0;
    z-index: 99;
    padding-top: 1.6rem;
    border-top: 1px solid var(--primary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.grid-total-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-footer-title {
    font-size: 1.6rem;
    color: var(--text-color);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.cart-footer-total {
    font-size: 1.5rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
    color: var(--text-color);
}
.btn-checkout {
    height: 48px;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
    text-align: center;
    transition: all 0.3s;
}
.btn-checkout:hover {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
}

.cart-empty {
    padding: var(--spacing-lg);
    background-color: var(--gray-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.cart-empty__icon {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    width: 64px;
    height: 64px;
}

.cart-empty__content svg {
    width: 100px;
    height: 100px;
}

.cart-empty__title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--text-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.cart-empty__btn {
    display: block;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: 1px solid var(--accent-color);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 1.125rem;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.cart-empty__btn:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/*= fin carrito aside =*/

/*= inicio menu mobile =*/
.item-nav-mobile {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.btn-menu-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 50%;
}
.btn-menu-mobile img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.btn-menu-mobile .icon-close {
    display: none;
}
.button-menu {
    display: flex;
    position: relative;
    z-index: 99;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.overlay.open {
    opacity: 1;
    visibility: visible;
}
.menu-mobile.open {
    transform: translate(0);
    transition: all 0.6s;
}
.menu-mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: scroll;
    transform: translate(-10000px);
    width: 320px;
    height: 100vh;
    border-radius: 0;
    background: var(--white-color);
    padding: 1.6rem;
    transition: all 0.6s;
    z-index: 999;
}

.menu-mobile .item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.cart-head-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0;
}

.cart-head-btn {
    height: 40px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: var(--gray-100);
    border: 0;
    outline: 0;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.cart-head-btn:hover {
    color: var(--primary-color);
}

.cart-head-btn:hover img {
    filter: var(--filter-primary);
}

.cart-head-btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.list-menu-actions {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.item-mobbile-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-color);
    font-size: 1rem;
    padding: 1rem 0;
}

.item-mobbile-actions img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.list-menu-mobile {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.list-submenu {
    background: var(--white-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    list-style: none;
    padding: 1rem 0.6rem;
    margin-bottom: 0;
}

.list-menu-mobile li {
    width: 100%;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.list-menu-mobile li .list-nav-submenu {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    text-decoration: none;
    padding: 1rem 1.6rem;
    padding-left: 0;
    transition: all 0.3s;
    background: transparent;
    color: var(--text-color);
    outline: 0;
    border: 0;
}
.list-nav-submenu:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    height: 12px;
    width: 12px;
    background: url(../images/icons/caret-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s;
}
.list-nav-submenu.not-caret:before {
    content: none;
}

.list-menu-mobile li:hover .list-nav-submenu.open {
    color: var(--primary-color);
    transition: all 0.3s;
}

.list-menu-mobile li:hover .list-nav-submenu {
    color: var(--primary-color);
    transition: all 0.3s;
}

.list-submenu li:hover .menu-item {
    color: var(--primary-color);
    transition: all 0.3s;
}

.menu-item {
    font-size: 0.95rem;
    color: var(--text-color);
    display: block;
    padding-top: 0.4rem;
    padding-bottom: 1rem;
}

.submenu-nav-two.open {
    height: auto;
    overflow: hidden;
    margin-bottom: 1.6rem;
}

.submenu-nav-two {
    position: initial;
    width: 100%;
    padding: 0;
    background: var(--white-color);
    border-left: 0;
    height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s;
}

.list-mobile-footer {
    list-style: none;
    padding-left: 0;
    margin-top: 3rem;
    margin-bottom: 0;
}
.list-mobile-footer li a {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 0;
    transition: all 0.3s;
}
.list-mobile-footer li a:hover {
    color: var(--primary-color);
}

/* ==== Fin Header ==== */

/* ==== Inicio Index ==== */

/*= inicio hero section =*/

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

/* Carousel Section */
.carousel-section {
    flex: 1;
    min-height: 60vh;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-hero {
    width: 100%;
    height: 100%;
}

.swiper-hero .swiper-slide {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.swiper-hero .swiper-slide picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.swiper-hero .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Quitar overlay cuando no hay contenido de texto */
.swiper-hero .swiper-slide.no-overlay::before {
    display: none;
}

.slide-content {
    position: absolute;
    color: var(--white-color);
    padding: 2rem;
    width: 100%;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-title {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.slide-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Bloques estáticos */
.static-blocks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.static-block {
    position: relative;
    min-height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.static-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Quitar overlay cuando no hay contenido de texto */
.static-block.no-overlay::before {
    display: none;
}

.block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
}

.block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
}

.block-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white-color);
    height: 100%;
    width: 100%;
    padding: 1rem;
    z-index: 2;
}

.block-subtitle {
    color: var(--white-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.block-title {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.block-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.3s;
}

.block-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.block-btn::after {
    content: "→";
    transition: transform 0.3s ease;
}

.block-btn:hover::after {
    transform: translateX(3px);
}

/* Swiper customization */
.swiper-button-next,
.swiper-button-prev {
    display: none;
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.2);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
}

.swiper-pagination-bullet {
    background: transparent;
    border: 1px solid var(--white-color);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet {
    height: 0.65rem;
    width: 0.65rem;
}

.swiper-pagination-bullet-active {
    background: var(--white-color);
    width: 1.5rem;
    border-radius: 0.5rem;
}

/*= fin hero section =*/

/*= inicio category section =*/

.card-category {
    display: grid;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    transition: all 0.3s;
}
.card-img-category {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 2s;
}
.img-category {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    transition: all 1s;
}
.card-content-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--primary-color);
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
}
.card-title-category {
    font-size: 1.25rem;
    margin-bottom: 0;
}
.card-button-category {
    margin-bottom: 0;
}
.card-category svg {
    stroke: var(--primary-color);
}
.card-category:hover {
    background-color: var(--white-color);
}
.card-category:hover .img-category {
    transform: scale(1.1);
    transition: all 1s;
}
.card-category:hover .card-title-category {
    color: var(--accent-color);
}
.card-category:hover svg {
    stroke: var(--accent-color);
}

/*= fin category section =*/

/*= inicio products section =*/

/* Contenedor principal */
.product-carousel {
    width: 100%;
}

/* Contenido principal */
.product-carousel__content {
    display: none;
    flex-direction: column;
    gap: 2rem;
}
.product-carousel__content.is-active {
    display: flex;
}

.product-carousel__content-2 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Imagen de portada */
.product-carousel__cover {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-carousel__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenedor del carrusel */
.product-carousel__slider {
    overflow: hidden;
    border-radius: var(--radius-md);
}

/* Tarjetas de producto */
.product-card {
    position: relative;
    background: var(--white-color);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.product-card__tag a {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}

.product-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 1rem;
}

.product-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: all 1s;
}

.product-card__content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card__title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    height: 58px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 0;
    line-height: 1.4;
    transition: all 0.3s;
}

.product-card__title a {
    color: var(--text-color);
}

.product-card:hover .product-card__img {
    transform: scale(1.1);
    transition: all 1s;
}
.product-card:hover .product-card__title a {
    color: var(--primary-color);
}

.payment-method {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    line-height: 1.25;
}

.payment-method__cash {
    width: 100%;
    background: transparent;
    border: 0;
    display: grid;
    grid-template-columns: auto 40px;
    column-gap: 0.5rem;
    padding: 0;
}

.payment-method__cash .payment-method__prices {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: var(--font-size-sm);
    color: var(--text-color);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    width: 100%;
    min-height: 52px;
    padding: 0.2rem 0.5rem;
}
.payment-method__prices .price--wrapper {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.25rem;
    flex-wrap: wrap;
}
.payment-method__prices .price--wrapper:first-child {
    margin-bottom: 0.25rem;
}

.payment-method__prices .price--old,
.payment-method__prices .subtitle--old {
    color: var(--gray-700);
    font-size: var(--font-size-xs);
    line-height: 1;
    margin-right: 5px;
}
.payment-method__prices .price--old {
    text-decoration: line-through;
}

.payment-method__prices .price--new,
.payment-method__prices .subtitle--new {
    font-size: var(--font-size-base);
    line-height: 1;
    font-weight: bold;
}
.payment-method__prices .price--new {
    background-color: var(--primary-color);
    border-radius: var(--radius-sm);
    color: var(--white-color);
    padding: 0.25rem;
}
.payment-method__prices .subtitle--new {
    color: var(--primary-color);
}
.payment-method__prices .price--current {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-method__installments {
    display: grid;
    grid-template-columns: auto 40px;
    column-gap: 0.5rem;
    padding: 0;
    width: 100%;
}

.installments-dropdown {
    position: relative;
    width: 100%;
}
.installments-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 1rem;
    height: 1rem;
    background: url(../images/icons/caret-down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.installments-toggle-top::before {
    transform: translateY(-50%);
}
.installments-toggle-bottom::before {
    transform: translateY(-50%) rotate(180deg);
}

.installments-toggle {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--white-color);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    min-height: 52px;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    text-align: left;
    width: 100%;
}

.installments-menu {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    max-height: 155px;
    overflow: auto;
    z-index: 999;
}

.installments-menu-top {
    top: 100%;
}
.installments-menu-bottom {
    bottom: 100%;
}

.installments-menu.hidden {
    display: none;
}

.installments-option {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
}

.installments-option:hover {
    background-color: var(--gray-100);
}

.installment-price--old {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    text-decoration: line-through;
}

.installment-price--new {
    color: var(--text-color);
    font-weight: bold;
    font-size: var(--font-size-base);
}

.btn--add-to-cart {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.btn--add-to-cart img {
    position: relative;
    border-radius: var(--radius-sm);
    filter: var(--filter-white);
    object-fit: contain;
    height: 20px;
    width: 20px;
    z-index: 3;
}

.btn--add-to-cart:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    overflow: hidden;
    transition: 0.5s;
    z-index: 2;
}

.btn--add-to-cart:hover {
    border: 2px solid var(--white-color);
}

.btn--add-to-cart:hover:before {
    top: 0;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    /*= inicio general swiper controles =*/
    .product-carousel__title {
        font-size: 2rem;
    }
    .product-carousel__controls {
        margin-top: 0;
    }
    .product-carousel__content,
    .product-carousel__content-2 {
        flex-direction: row;
        gap: 2rem;
    }
    .product-carousel__cover {
        /* width: 300px;
        height: 400px; */
        flex-shrink: 0;
        width: calc(25% - 1rem);
    }
    .product-carousel__slider-container {
        flex: 1;
        width: calc(75% - 1rem);
    }
    /*= fin general swiper controles =*/

    /*= inicio hero =*/
    .swiper-button-next,
    .swiper-button-prev {
        display: flex;
    }
    .slide-content {
        padding: 2rem 2rem 2rem 5rem;
        width: 60%;
    }
    .block-content {
        padding: 2rem;
    }
    /*= fin hero =*/
}

@media (min-width: 1024px) {
    .product-carousel__top-row {
        justify-content: space-between;
        flex-direction: row;
        gap: 2rem;
        width: 100%;
    }

    /* .product-carousel__tabs {
        border-bottom: none;
    } */

    /* .product-carousel__controls {
        margin-left: auto;
    } */

    /* .product-carousel__cover {
        width: 350px;
        height: 450px;
    } */
}

/* Estilos específicos de Swiper */
.swiper-slide {
    height: auto;
}

.product-carousel__slider .swiper-wrapper {
    align-items: stretch;
}

/*= fin products section =*/

/*= inicio banners section =*/
.banners__image {
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
}
/*= fin banners section =*/

/*= inicio brands section =*/

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white-color);
    aspect-ratio: 2/1;
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.3s;
}
.brand-img {
    width: auto;
    height: 60px;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    transition: all 1s;
}
.brand-card:hover {
    background-color: transparent;
}
.brand-card:hover .brand-img {
    transform: scale(1.1);
    transition: all 1s;
}

/*= fin brands section =*/

/* ==== Fin Index ==== */

/* ==== inicio catalogo  ==== */

.catalog-section {
    padding-top: 2rem;
    padding-bottom: 8rem;
}
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/*= inicio catalogo sidebar =*/
.filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-1000px);
    z-index: 999;
    width: 320px;
    overflow-y: scroll;
    background: var(--white-color);
    border-radius: 0;
    transition: all 0.3s;
}
.filter-panel.visible {
    transform: translateX(0);
    transition: all 0.5s;
}
.filter-title {
    display: none;
    color: var(--black-color);
    font-size: var(--font-size-lg);
    font-weight: 500;
    letter-spacing: 0.05rem;
    line-height: 1;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 1rem;
    padding-left: 0;
    margin-bottom: 1.4rem;
}
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 1.6rem;
    margin-bottom: 1.6rem;
}
.filter-header__title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.filter-close-btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background-color: var(--primary-light);
    border: 0;
    outline: 0;
    border-radius: 1.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.cart-head-btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}
.filter-card {
    border-bottom: 1px solid var(--primary-color);
    padding: 1.6rem;
    margin-bottom: 1.4rem;
}
.filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    outline: 0;
    padding-left: 0;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
}
.filter-toggle span {
    font-size: var(--font-size-lg);
    letter-spacing: 0.05rem;
}
.filter-toggle img,
.filter-button img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.filter-content,
.filter-sublist {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.filter-content.active,
.filter-sublist.active {
    height: 100%;
    transition: all 0.3s;
}
.filter-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    font-size: 1.025rem;
    letter-spacing: 0.05rem;
    outline: 0;
    margin: 0.5rem 0;
    padding-left: 0;
    text-align: left;
}
.filter-list,
.filter-sublist {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 0;
    padding-left: 0.5rem;
}
.filter-sublist {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0.5rem;
}
.filter-list li {
    margin-bottom: 0.5rem;
}
.filter-input {
    display: none;
}
.filter-label {
    position: relative;
    letter-spacing: 0.05rem;
    line-height: 1.2;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding-left: 1.6rem;
}
.filter-label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
}
.filter-label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background-image: url(../images/icons/check.svg);
    background-position: center;
    background-size: 12px;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.filter-input[type="checkbox"]:checked ~ .filter-label::after {
    opacity: 1;
    visibility: visible;
}

/*= incio catalogo content =*/
.catalog-toolbar {
    border-bottom: 1px solid var(--primary-color);
    padding-top: 0.6rem;
    padding-bottom: 1rem;
}
.toolbar-title {
    font-size: 1.8rem;
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.05rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-align: center;
}
.toolbar-item:first-child {
    padding-bottom: 1rem;
}
.toolbar-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    background: var(--primary-color);
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--white-color);
    letter-spacing: 0.05rem;
    height: 40px;
    width: 100%;
    outline: 0;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}
.toolbar-filter-btn img {
    filter: var(--filter-white);
    height: 16px;
    width: auto;
    object-fit: contain;
    aspect-ratio: 1/1;
}
.select-custom {
    height: 100%;
    place-content: center;
}
.select-custom .input-filter {
    padding: 0.5rem;
    height: 38px;
    width: 100%;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-400);
    color: var(--text-color);

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;

    background: url("../images/icons/caret-down.svg");
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: right;
    background-origin: content-box;
}
.select-custom .input-filter:focus {
    outline-color: var(--black-color);
}
.filter-header__btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: var(--gray-100);
    border: 0;
    outline: 0;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.filter-header__btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.product-grid {
    display: grid;
    grid-gap: 1.25rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}

.pagination-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-container .pagination {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;
    gap: 0.45rem;
    margin: 0;
    padding: 0.75rem 1rem;
    list-style: none;
    border: 1px solid var(--primary-color-10);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--white-color) 0%, var(--background-color) 100%);
    box-shadow: 0 6px 18px rgba(51, 45, 40, 0.08);
}

.pagination-container .page-item {
    display: inline-flex;
}

.pagination-container .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    color: var(--text-color);
    background: var(--white-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.pagination-container .page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--hover-color);
    transform: translateY(-1px);
}

.pagination-container .page-item.active .page-link {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 6px 16px rgba(254, 23, 29, 0.25);
}

.pagination-container .page-item.disabled .page-link {
    border-color: var(--gray-200);
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: not-allowed;
    opacity: 0.8;
}

.pagination-container .page-link:focus {
    box-shadow: 0 0 0 0.2rem var(--primary-color-10);
}

/* ====  fin catalogo ==== */

/* ==== Inicio Ficha Producto ==== */

.product-section {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--gray-400);
    padding-top: 2rem;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}
.product-details {
    padding-top: 2rem;
}

/* inicio producto detalles */
.product-brand {
    display: inline-block;
    background: var(--gray-100);
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}
.product-brand img {
    width: auto;
    height: 30px;
    aspect-ratio: 2 / 1;
}

.product-name {
    font-size: var(--font-size-xxl);
    font-weight: 600;
    color: var(--principal);
    letter-spacing: 0.02rem;
    line-height: 1.3;
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
}

.product-sku {
    font-size: var(--font-size-sm);
    color: var(--gray-text);
    letter-spacing: 0.02rem;
}
.product-content {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
}

.price-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}
.price-item {
    flex: 1 1 calc(50% - 0.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    min-width: 230px;
    padding: 1rem;
}
.price-title {
    font-size: 1.25rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.price-cash .price-current {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    text-wrap: nowrap;
}
.price-cash .price-old {
    color: var(--gray-700);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 0;
    outline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    transition: all 0.3s;
}

.btn-add-cart.cash {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-add-cart.credit {
    background: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-add-cart.cash:hover,
.btn-add-cart.credit:hover {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
}

.quantity-label,
.installment-label {
    display: block;
    margin-bottom: 0.5rem;
}
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    height: 42px;
    overflow: hidden;
    padding: 0.35rem;
    width: 140px;
}
.quantity-input {
    font-size: 1rem;
    color: var(--text-color);
    background-color: transparent;
    text-align: center;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: 0;
}
.quantity-decrease,
.quantity-increase {
    font-size: 1.3rem;
    color: var(--accent-color);
    border: 0;
    outline: 0;
    background: transparent;
    height: 30px;
    width: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.quantity-decrease:hover,
.quantity-increase:hover {
    background-color: var(--primary-color);
}
.quantity-decrease svg,
.quantity-increase svg {
    width: 14px;
    height: 14px;
}
.quantity-decrease:hover svg,
.quantity-increase:hover svg {
    fill: var(--white-color);
}

/* Estilos para controles de cantidad específicos de la ficha del producto */
.product-quantity-input {
    font-size: 1rem;
    color: var(--text-color);
    background-color: transparent;
    text-align: center;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: 0;
}
.product-quantity-decrease,
.product-quantity-increase {
    font-size: 1.3rem;
    color: var(--accent-color);
    border: 0;
    outline: 0;
    background: transparent;
    height: 30px;
    width: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.product-quantity-decrease:hover,
.product-quantity-increase:hover {
    background-color: var(--primary-color);
}
.product-quantity-decrease svg,
.product-quantity-increase svg {
    width: 14px;
    height: 14px;
}
.product-quantity-decrease:hover svg,
.product-quantity-increase:hover svg {
    fill: var(--white-color);
}

.finance-cards-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.finance-card-img {
    flex: 0 0 calc(50% - 0.5rem);
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
}

.product-accordion {
    margin-top: 2rem;
}
.product-accordion .accordion-item {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s;
}
.product-accordion .accordion-button {
    background-color: var(--white-color);
    color: var(--black-color);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-lg);
    transition: all 0.3s;
    border: none;
}
.product-accordion .accordion-button:not(.collapsed) {
    background-color: var(--gray-100);
    color: var(--primary-color);
    box-shadow: none;
}
.product-accordion .accordion-button:not(.collapsed)::after {
    filter: var(--filter-primary);
}
.product-accordion .accordion-button:focus {
    outline: none;
    box-shadow: none;
}
.product-accordion .accordion-body {
    background-color: var(--gray-100);
    color: var(--text-color);
    font-size: var(--font-size-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-secondary);
    line-height: 1.6;
}
.product-accordion ul {
    padding-left: 1.25rem;
    margin: 0;
}
.product-accordion li {
    margin-bottom: 0.5rem;
}

/* fin producto detalles */

/*= inicio Slick Carousel =*/
.slider-single > .slide:not(:first-child) {
    display: none;
}
.slider-nav > .slide:not(:first-child) {
    display: none;
}

.slider-product-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    width: 100%;
}
.slider-single-image {
    position: relative;
    display: flex;
    aspect-ratio: 1/1;
    background: var(--white-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    overflow: hidden;
    margin-bottom: 0;
    padding: 1.6rem;
}

.slick-vertical.slider-nav .slick-slide {
    cursor: pointer;
    padding: 0.5rem;
}
.slider-nav .slick-slide {
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: var(--white-color);
    margin-bottom: 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
}
.slider-nav .slick-slide.is-active {
    border: 1px solid var(--primary-color);
}
.slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.slider-nav {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.slider-nav img {
    width: 96%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    background: var(--white-color);
    margin: 0 auto;
    cursor: pointer;
}

.btn-zoom {
    display: none;
}
.fancybox-is-open .fancybox-bg {
    background: var(--white-color);
    opacity: 0.6;
}
.fancybox-slide--image {
    background: transparent;
}
.fancybox-navigation .fancybox-button {
    opacity: 1;
    visibility: visible !important;
}
.fancybox-button--zoom {
    display: none !important;
}
.fancybox-button--play {
    display: none !important;
}
.fancybox-button--thumbs {
    display: none !important;
}
.fancybox-button,
.fancybox-button:link,
.fancybox-button:visited {
    color: var(--gray-400) !important;
}

.fancybox-button {
    background: transparent !important;
}
.fancybox-navigation .fancybox-button {
    opacity: 1 !important;
}
.fancybox-button--arrow_right {
    position: relative;
}
.fancybox-button--arrow_right svg {
    opacity: 0;
    visibility: hidden;
}
.fancybox-button--arrow_right::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
}
.fancybox-button--arrow_left svg {
    opacity: 0 !important;
    visibility: visible;
}
.fancybox-button--arrow_left::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
}
/* Fin Slick Carousel */

/* ==== Fin ficha Producto ==== */

/* ==== Inicio Nosotros ==== */

.about-tag {
    display: inline-block;
    background-color: var(--gray-100);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.about-title {
    color: var(--text-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.description {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-content,
.history-content {
    display: flex;
    flex-direction: column;
    column-gap: 4rem;
    row-gap: 2rem;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
}

.culture-section {
    background-color: var(--background-color);
    padding-top: 6rem;
    padding-bottom: 8rem;
}

.culture-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.culture-title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-color);
    text-align: center;
}

.culture-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.culture-card {
    background-color: var(--white-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    text-align: center;
}

.culture-card-icon {
    background: var(--background-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
}

.culture-card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.culture-card-description {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--gray-700);
}

@media (min-width: 768px) {
    .about-title {
        font-size: var(--font-size-xxl);
    }

    .about-image {
        height: 400px;
    }
    .about-content {
        flex-direction: row;
    }

    .history-content {
        flex-direction: row-reverse;
    }
    .culture-cards {
        flex-direction: row;
        gap: var(--spacing-xl);
    }

    .culture-card {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .about-image {
        height: 500px;
    }

    .culture-card {
        padding: 2.5rem;
    }
}

/* ==== Fin Nosotros ==== */

/* ==== Inicio Sucursales ==== */

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    width: 100%;
}

.branch-card {
    background-color: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: var(--spacing-lg);
    transition: all 0.3s;
    max-width: 400px;
    margin: 0 auto;
}

.branch-image {
    overflow: hidden;
    position: relative;
}

.branch-image img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.branch-info {
    padding-top: 1rem;
}

.branch-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.branch-detail {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

.branch-detail:last-child {
    margin-bottom: 0;
}

.branch-icon {
    color: var(--gray-700);
    margin-top: 2px;
}

.branch-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.4;
    transition: all 0.2s;
}

.branch-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.branch-text {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    font-weight: 500;
}

/* ==== Fin Sucursales ==== */

/* ==== Inicio Preguntas Frecuentes ==== */
.questions-section {
    padding-bottom: 8rem;
}

details {
    position: relative;
    max-inline-size: 100%;
    padding: 1rem;
    margin-block: 1rem 0;
    margin-inline: auto;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-md);
}

summary {
    position: relative;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::marker {
    content: none;
}

summary img {
    transition: rotate 0.2s;
}

.details__content p {
    margin-block: 0.5rem;
}

.details::details-content {
    display: block;
    margin-inline: 1rem;
    block-size: 0;
    overflow: hidden;
    transition-property: block-size, content-visibility;
    transition-duration: 0.5s;
    transition-behavior: allow-discrete;
}

.details[open]::details-content {
    /* Fallback for browsers that don't support calc-size() function */
    block-size: auto;

    /* calc-size() function allows transition to height: auto; */
    block-size: calc-size(auto, size);
}
.details[open] summary img {
    rotate: 180deg;
}

/* ==== Fin Preguntas Frecuentes ==== */

/* ==== Inicio Login ==== */

.seccion-login {
    padding-top: 6rem;
    padding-bottom: 8rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/bg-login.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.row-login {
    justify-content: center;
    gap: 1rem;
}
.form-box {
    max-width: 575px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--white-color);
    padding: 3rem 4rem 3rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}
.title-login {
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.05rem;
    padding-top: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
.form-login {
    margin-top: 2rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.form-group .form-control {
    height: 46px;
    border-radius: var(--radius-sm);
}
.form-group .form-control:focus {
    box-shadow: 0 0 0 0.25rem var(--shadow-sm);
    border-color: var(--primary-color);
}
.forgot-link {
    display: block;
    text-align: center;
    color: var(--gray-700);
    text-decoration: underline;
    margin-top: 2rem;
    transition: all 0.3s;
}
.forgot-link:hover {
    color: var(--gray-600);
    text-decoration: none;
}
.nav.nav-pills.nav-login {
    column-gap: 0;
    justify-content: center;
    border: 0;
    margin-bottom: 2rem;
}
.nav.nav-pills.nav-login .nav-item .nav-link {
    border-bottom: 2px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1.2;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}
.nav.nav-pills.nav-login .nav-item .nav-link.active {
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.05rem;
}
.form-choice {
    color: var(--text);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: -0.025em;
}
.text-login {
    font-size: 1.1rem;
}
.btn-login.btn-g {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: var(--radius-sm);
    color: var(--white-color);
    font-size: 1.125rem;
    letter-spacing: 0.02rem;
    text-align: center;
    margin: 0 auto;
    height: 48px;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}
.btn-login.btn-g:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.rm-divider-or {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: bold;
    text-transform: uppercase;
}
.rm-divider-or div {
    flex: 1;
    height: 1px;
    background: var(--gray-400);
    margin: 0 10px;
}
.toggle-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.eye-open-icon {
    display: none;
    width: 24px;
    height: 24px;
}
.eye-closed-icon {
    display: inline;
    width: 24px;
    height: 24px;
}

/* ==== Fin Login ==== */

/* ==== Inicio Mi Cuenta ==== */

.seccion-mi-cuenta {
    padding-top: 2rem;
    padding-bottom: 8rem;
}
.row-cuenta {
    row-gap: 1.6rem;
}
.nav-cuenta {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--background-color);
    list-style: none;
    margin-bottom: 0;
    position: sticky;
    top: 12px;
}
.nav-cuenta li:last-child .nav-link {
    border-bottom: 0;
}
.nav-cuenta li .nav-link {
    font-size: 1rem;
    letter-spacing: 0.04rem;
    color: var(--text-color);
    line-height: 1.5;
    text-align: left;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--text-color);
    padding: 0.8rem 0.5rem;
    outline: 0;
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    transition: all 0.3s;
}
.nav-cuenta li .nav-link.active {
    padding-left: 1.2rem;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--primary-color);
}
.nav-cuenta li .nav-link:hover {
    padding-left: 1.2rem;
    background: var(--accent-color);
    color: var(--white-color);
    border-radius: var(--radius-sm);
    border-bottom: 0;
}
.tab-cuenta {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--background-color);
}
.title-tab-cuenta {
    font-size: 1.8rem;
    font-family: var(--font-primary);
    letter-spacing: 0.04rem;
    color: var(--text-color);
    margin-bottom: 1.6rem;
}
.subtitle-tab-cuenta {
    font-size: 1.4rem;
    font-family: var(--font-primary);
    letter-spacing: 0.04rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.form-group {
    position: relative;
    margin-bottom: 1rem;
}
.form-group label {
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0.5rem;
}
.form-map {
    border-radius: 1rem;
    overflow: hidden;
}
.grid-btn-cuenta {
    width: 420px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    margin-top: 1.6rem;
}
.grid-compras {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.4rem;
    margin-bottom: 2rem;
}
.grid-compras:last-child {
    margin-top: 2rem;
}
.card-compras {
    padding: 1.6rem;
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-600);
    transition: all 0.3s;
}
.list-card-compras {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.card-actions-compras {
    width: fit-content;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    flex-wrap: wrap;
}
.text-sin-datos {
    padding: 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    text-align: center;
}
.btn-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    width: 190px;
    margin-top: 1rem;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    color: var(--white-color);
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}
.btn-principal:hover {
    background: var(--accent-color);
    color: var(--white-color);
}
.btn-principal:hover img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(58%) saturate(5718%)
        hue-rotate(264deg) brightness(80%) contrast(122%);
}
.btn-principal.mx-auto {
    margin: 0 auto;
}
.btn-principal.mt-0 {
    margin-top: 0;
}
.btn-outline-principal {
    display: block;
    width: 190px;
    margin-left: auto;
    margin-left: auto;
    margin-top: 1rem;
    background: var(--white-color);
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    color: var(--primary-color);
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s;
}
.btn-outline-principal.mx-auto {
    justify-content: center;
}

.btn-outline-principal:hover {
    border: 1px solid var(--hover-color);
    background: var(--hover-color);
    color: var(--white-color);
}
.btn-delete {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    width: fit-content;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    color: var(--primary-color);
    min-width: 127px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-delete img {
    filter: invert(55%) sepia(72%) saturate(7082%) hue-rotate(356deg)
        brightness(98%) contrast(85%);
}
.btn-delete:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border: none;
}
.btn-delete:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7499%)
        hue-rotate(223deg) brightness(117%) contrast(96%);
}
.table.table-tarjetas td {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

textarea.form-control-textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 0.6rem;
    padding: 0.375rem 0.75rem;
    background: transparent;
    font-size: 16px;
    box-shadow: none;
    height: 80px;
}

.btn-cargar-tarjeta {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==== Fin Mi Cuenta ==== */

/* ==== Inicio Restablece contraseña ==== */

.card-reset {
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem;
}
.card-header-reset {
    font-size: 1.25rem;
    letter-spacing: 0.05rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-color);
}
.btn-submit {
    margin-top: 2rem;
}

/* ==== Fin Restablece contraseña ==== */

/* ==== inicio carrito page ==== */
.cart-section {
    padding-bottom: 8rem;
}

.wrapper-table {
    padding: 1.5rem;
    padding-top: 0;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
}
.table th,
.table td {
    border-top: none;
}
.table tbody {
    border-bottom: 2px solid var(--neutral-color);
}
.table thead th {
    border-bottom: 2px solid var(--neutral-color);
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    vertical-align: bottom;
}
.table td {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    padding-left: 0;
    padding-right: 2rem;
    vertical-align: middle;
}
.product-col .product {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin: 0;
    padding-right: 2rem;
    box-shadow: none;
}
.product-col .product-media {
    margin-bottom: 0;
}
.product-col .product-media img {
    display: block;
    width: 80px;
    border-radius: 1rem;
}
.product-col .product-title a {
    display: inline-block;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
    transition: all 0.3s;
}
.table .price-col {
    font-weight: 400;
    font-size: 1rem;
}
.table .total-col {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 400;
}
.quantify-value-cart {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    height: 48px;
    padding: 0.5rem;
}
.product-col .product-title a:hover {
    color: var(--primary-dark);
}

/* total carrito */
.summary {
    padding: 1.6rem;
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    margin-top: 2rem;
}
.table-summary {
    width: 100%;
}
.summary-title {
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0;
    padding-bottom: 1rem;
    border-bottom: 0.1rem solid var(--neutral-color);
    margin-bottom: 1.4rem;
}
.summary-subtotal {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid var(--neutral-color);
}
.summary-envio {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid var(--neutral-color);
}
.summary-total {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.summary-subtotal td {
    letter-spacing: 0.05rem;
    padding-bottom: 0.75rem;
}
.summary-envio td {
    letter-spacing: 0.05rem;
    padding: 0.75rem 0;
}
.summary-total td {
    font-weight: 600;
    letter-spacing: 0.05rem;
    padding-top: 0.75rem;
}
.summary-subtotal td:nth-child(1) {
    text-align: left;
}
.summary-subtotal td:nth-child(2) {
    text-align: right;
}
.summary-envio td:nth-child(1) {
    text-align: left;
    color: var(--gray-700);
    font-size: 0.9rem;
}
.summary-envio td:nth-child(2) {
    text-align: right;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
}
.summary-total td:nth-child(1) {
    text-align: left;
    color: var(--primary-dark);
    font-size: var(--font-size-lg);
}
.summary-total td:nth-child(2) {
    text-align: right;
    color: var(--primary-dark);
    font-size: var(--font-size-lg);
}

/*= inicio aside carrito =*/
.wrapper-form-carrito {
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.title-form {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.05rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    margin-bottom: 0.5rem;
}
.input-control-cart {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white-color);
    background-clip: padding-box;
    border: 1px solid var(--gray-400);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}
.btn-confirmation {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--white-color);
    font-size: 1.125rem;
    outline: 0;
    height: 48px;
    margin-top: 2rem;
    width: 100%;
    transition: all 0.3s;
}
.btn-confirmation:hover {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
}
/*= fin aside carrito =*/

/* ==== fin carrito page ==== */

/* ==== inicio modal carrito ==== */
.title-modal {
    font-size: 1.5rem;
    letter-spacing: 0.02rem;
    text-align: center;
    margin-bottom: 1.2rem;
}
.modal-header {
    border-bottom: 0;
}
.btn-close:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-color);
}
.card-product-modal {
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    padding: 1rem;
}
.product-title-modal {
    font-size: 1.25rem;
    letter-spacing: 0.02rem;
    line-height: 1.3;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 0.5rem;
}
.details-product-modal {
    display: flex;
    flex-wrap: wrap;
    align-items: self-end;
    justify-content: center;
    gap: 0.8rem;
}
.product-cantidad-modal {
    letter-spacing: 0.02rem;
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 0;
}
.precio-producto-modal {
    font-size: 1.125rem;
}
.precio-total-modal {
    font-size: 1.125rem;
}
.grid-buttons-modal {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.btn-primary {
    height: 48px;
    width: 100%;
    letter-spacing: 0.02rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
    transition: all 0.3s;
}
.btn-outline-primary-2 {
    height: 48px;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
}
.btn-outline-primary-2:hover {
    color: var(--white-color);
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* ==== fin modal carrito ==== */

/* ====  inicio footer ==== */

.footer {
    background-color: var(--white-color);
    border-top: 1px solid var(--gray-400);
    color: var(--text-color);
    padding-top: 2rem;
}
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer-column:nth-child(2),
.footer-column:nth-child(3),
.footer-column:nth-child(4) {
    display: flex;
    gap: 1rem;
}
.footer-logo {
    filter: brightness(1) invert(1);
    width: auto;
    height: 60px;
}
.footer-description {
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0;
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-title {
    color: var(--text-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
}
.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}
.footer-links a,
.footer-contact a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02rem;
    line-height: 1.2;
    transition: all 0.3s;
}

.footer-social img {
    width: 18px;
    height: 18px;
    transition: all 0.3s;
}

.footer-contact img,
.footer-links img {
    width: 16px;
    height: 16px;
    transition: all 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: var(--primary-color);
}

.footer-contact a:hover img,
.footer-info a:hover img {
    filter: var(--filter-primary);
}

.footer-span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.container-porta {
    border-top: 1px solid var(--gray-400);
    margin-top: 2rem;
}
.text-footer {
    font-size: 0.9rem;
    color: var(--gray-700);
    padding-top: 1.2rem;
    padding-bottom: 1rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.text-footer a {
    color: var(--gray-700);
    text-decoration: none;
    opacity: 0.8;
    letter-spacing: 0.05rem;
}

/* ==== fin footer ==== */

.container-btn-contact {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}
.btn-whatsapp {
    width: 60px;
    height: 60px;
    background: #47c259;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    transition: all 0.3s;
}
.btn-whatsapp img {
    filter: var(--filter-white);
    width: 45px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.btn-whatsapp:hover {
    animation: shake 1s;
    animation-iteration-count: infinite;
    transition: all 1s;
}
@keyframes shake {
    0% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.1) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    75% {
        transform: scale(1.1) rotate(-10deg);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 1100px) {
    /*= inicio carrito page =*/
    .table {
        margin-bottom: 0;
    }
    .wrapper-table {
        padding: 1.5rem;
    }
    .table thead {
        display: none;
    }
    .table tr .product-col {
        padding-bottom: 0.6rem;
    }
    .product-col {
        margin: 0 auto;
    }
    .table tr td {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: center;
        padding: 0.1rem 0;
        border-bottom: none;
    }
    .table .product-col .product {
        padding-right: 0;
        justify-content: center;
    }
    .table .product-col .product-title {
        text-align: left;
    }
    .table,
    .table tbody,
    .table tr,
    .table td {
        width: 100%;
        display: block;
    }
    .table .remove-col {
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--secundario);
    }
    .table .remove-col .card-btn-remove {
        color: var(--primary-color);
    }
    .table .quantity-col {
        margin: 1rem 0;
    }
    td[data-title]::before {
        content: attr(data-title);
    }
    .wrapper-form-carrito {
        margin-top: 2rem;
    }
    /*= fin carrito page =*/
}

@media screen and (min-width: 475px) {
    /*= inico header =*/
    .grid-search {
        flex-direction: row;
    }
    /*= fin header =*/
    /*== inicio catalogo ==*/
    .toolbar-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        width: 100%;
        padding-top: 1rem;
    }
    .toolbar-item:first-child {
        padding-bottom: 0;
    }
    /*== fin catalogo ==*/

    /*== inicio sucursales ==*/
    .branches-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        max-width: 1200px;
        margin: 0 auto;
    }
    /*== fin sucursales ==*/
}

@media screen and (min-width: 768px) {
    .padding-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .padding-last-section {
        padding-top: 3rem;
        padding-bottom: 8rem;
    }

    /*= inicio hero =*/
    .hero {
        padding: 2rem;
    }
    .hero-container {
        flex-direction: row;
        gap: 2rem;
        align-items: stretch;
    }
    .carousel-section {
        width: 70%;
        min-height: 80vh;
    }
    .slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .static-blocks {
        width: 30%;
        gap: 1.5rem;
    }
    .static-block {
        flex: 1;
        min-height: 0;
    }
    .slide-title {
        font-size: 3.5rem;
    }
    .slide-description {
        font-size: 1.4rem;
    }
    .block-title {
        font-size: 1.8rem;
    }
    .block-subtitle {
        font-size: var(--font-size-lg);
    }
    /*= fin hero =*/

    /*= inicio catalogo =*/
    .catalog-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .toolbar-controls {
        justify-content: end;
        padding: 0;
        border: none;
    }
    /*= fin catalogo =*/

    /*= inicio mi cuenta =*/
    .grid-compras {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    /*= fin mi cuenta =*/

    /*= inicio footer =*/
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 2rem;
    }
    /*= fin footer =*/
}

@media screen and (min-width: 992px) {
    /*= configuracion generales */
    .container-fluid {
        width: calc(100% - 60px);
        margin: 0 auto;
    }

    .terms-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (min-width: 1100px) {
    /*= inico header =*/
    .nav-header-middle {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        grid-template-areas: unset;
        grid-template-columns: 1fr minmax(500px, 800px) 1fr;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        width: calc(100% - 50px);
        margin-left: auto;
        margin-right: auto;
    }
    .item-nav-header:nth-child(1),
    .item-nav-header:nth-child(2),
    .item-nav-header:nth-child(3),
    .item-nav-header:nth-child(4) {
        grid-area: unset;
    }
    .item-nav-header:nth-child(2) {
        margin: 0;
    }
    .item-login {
        display: block;
    }
    .grid-search {
        margin-left: 2.4rem;
    }
    .img-logo {
        height: 50px;
        width: auto;
    }
    /* header bottom */
    .nav-header-bottom {
        display: flex;
    }

    /* menu mobile */
    .item-nav-mobile {
        display: none;
    }
    /*= fin header =*/

    /*= inicio hero =*/
    .slide-title {
        font-size: 4rem;
    }
    .block-title {
        font-size: 2rem;
    }
    /*= fin hero =*/
    /*== inicio catalogo ==*/
    .catalog-grid {
        grid-template-columns: 320px 1fr;
        grid-gap: 1.6rem;
    }
    .filter-panel {
        position: sticky;
        top: 14px;
        bottom: unset;
        background-color: transparent;
        border-radius: 1rem;
        padding: 1.6rem;
        overflow-y: unset;
        transform: unset;
        width: 100%;
        z-index: 9;
    }
    .filter-card {
        padding: 0 0 1.4rem;
    }
    .filter-title {
        display: block;
    }
    .filter-header {
        display: none;
    }
    .toolbar-title {
        text-align: start;
        margin-bottom: 0;
    }
    .toolbar-item:first-child {
        display: none;
    }

    /*== fin catalogo ==*/

    /*== inicio ficha producto ==*/
    .product-container {
        display: flex;
    }
    .product-images {
        width: 50%;
    }
    .product-details {
        width: 50%;
        padding: 0.5rem 1rem 0 2rem;
    }

    .slider-product-container {
        width: 90%;
    }
    .slider-single {
        overflow: hidden;
    }
    .slider-single-image {
        margin-right: 0.5rem;
    }
    .slider-nav {
        width: 440px;
        height: 100px;
        margin-left: auto;
        margin-right: auto;
    }
    .slick-vertical.slider-nav .slick-slide.is-active {
        border: 1px solid var(--primary-color);
    }
    .slick-slide img {
        border-radius: var(--radius-sm);
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .slider-nav .slick-slide img {
        border-radius: var(--radius-sm);
        aspect-ratio: 1 / 1;
    }
    /*== fin ficha producto ==*/
    /*= inicio footer =*/
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 0.8fr 0.8fr;
        grid-column-gap: 2rem;
    }
    .footer-column {
        justify-content: center;
        flex-direction: row;
    }
    .footer-column:nth-child(2) {
        padding-left: 2rem;
    }
    /*= fin footer =*/
}

@media screen and (min-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .static-block,
    .block-bg,
    .block-btn,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination-bullet {
        transition: none;
    }
    .static-block:hover {
        transform: none;
    }
    .static-block:hover .block-bg {
        transform: none;
    }
    .block-btn:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.block-btn:focus,
.swiper-button-next:focus,
.swiper-button-prev:focus {
    outline: 2px solid var(--white-color);
    outline-offset: 2px;
}

/* Estilos para las secciones del carrito */
.cart-section {
    margin-bottom: 1.5rem;
}

.cart-section:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
}

.cart-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--gray-50);
    border-radius: var(--radius-sm);
}

.cart-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.cart-section-count {
    font-size: 0.8rem;
    color: var(--gray-600);
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.cart-section-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Estilos para información de cuotas en items del carrito */
.cart-item-payment-info {
    margin-top: 0.25rem;
}

.installment-info {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--primary-color-10);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-xs);
    display: inline-block;
}

/* Estilos para información de cuotas en el modal */
.modal-payment-info {
    text-align: center;
}

.modal-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.modal-installments {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--primary-color-10);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.modal-installments-available {
    font-size: 0.85rem;
    color: var(--text-color-light);
    font-style: italic;
    margin-top: 0.25rem;
}

/* Estilos para totales separados en el footer del carrito */
.separated-totals {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.total-section.total-final {
    border-top: 1px solid var(--gray-300);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.total-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.total-final .total-label,
.total-final .total-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.total-amount {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}
