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

:root {
    --primary-color: #c89d68;
    --primary-dark: #a97843;
    --primary-light: #e4c8a3;
    --accent-color: #d96e30;
    --background-color: #faf7f2;
    --hover-color: #f8eae1;
    /* --background-color: #fcf5f0; */

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

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

    --font-primary: "Quicksand Regular", sans-serif;
    --font-secondary: "Lato Regular", 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: 3rem; /* 48px  */

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

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);

    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 1rem; /* 16px */
    --border-radius-xl: 2rem; /* 32px */

    --fill-accent: brightness(0) saturate(100%) invert(46%) sepia(12%)
        saturate(2728%) hue-rotate(338deg) brightness(107%) contrast(98%);
    --fill-primary: brightness(0) saturate(100%) invert(87%) sepia(5%)
        saturate(5556%) hue-rotate(326deg) brightness(88%) contrast(75%);
    --fill-dark: brightness(0) saturate(100%) invert(45%) sepia(71%)
        saturate(351%) hue-rotate(351deg) brightness(95%) contrast(86%);
    --fill-light: brightness(0) saturate(100%) invert(78%) sepia(6%)
        saturate(2870%) hue-rotate(330deg) brightness(121%) contrast(79%);
    --fill-white: brightness(0) saturate(100%) invert(100%) sepia(0%)
        saturate(7500%) hue-rotate(298deg) brightness(103%) contrast(102%);
}

* {
    font-family: "Lato Regular", sans-serif;
    scroll-behavior: smooth;
}

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

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;
}

/* 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: 4rem;
    padding-bottom: 4rem;
}

.page-header {
    position: relative;
    background-color: var(--primary-color);
    padding: 4rem 1rem;
    text-align: center;
}
.page-title {
    color: var(--black-color);
    font-family: var(--font-primary);
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.05rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}
.page-description {
    color: #000;
    font-size: var(--font-size-lg);
    line-height: 1.4;
    letter-spacing: 0.05rem;
    margin: 2rem auto;
    width: 96%;
    text-align: center;
}
.page-line {
    background-color: var(--text-color);
    border-radius: var(--border-radius-md);
    width: 0.25rem;
    height: 1.25rem;
    margin: 0 auto;
}
.page-header-banner {
    position: relative;
    height: 60vh;
}
.page-header-banner .overlay {
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: unset;
    bottom: unset;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.page-header-banner__image {
    object-fit: cover;
    width: 100%;
    height: 60vh;
}
.page-header-banner__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.nav-breadcrumb {
    background-color: transparent;
    border-bottom: 1px solid var(--border-gray);
    padding: 0.75rem 0rem;
    width: calc(100% - 50px);
    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-dark);
    text-decoration: none;
}

/**** incio header ****/

/* header top */
.topbar-announcement {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
}
.topbar-announcement {
    text-align: center;
}
.topbar-announcement .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}
.topbar-announcement__link {
    display: block;
    color: var(--black-color);
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* header main */
.navbar-main {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr minmax(300px, 1fr) auto;
    align-items: center;
    padding: 8px 4px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 50px);
}
.navbar-main__section {
    height: 100%;
}
.navbar-main__logo-img {
    fill: var(--fill-primary);
    height: 60px;
    object-fit: contain;
}
.navbar-main__menu-list {
    display: inline-flex;
    align-items: center;
    list-style: none;
    height: 100%;
    margin: 0;
    padding-left: 8%;
}
.navbar-main__menu-item {
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar-main__menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    padding: 16px 16px;
    transition: all 0.3s;
}
.navbar-main__menu-link:hover {
    color: var(--primary-dark);
}
.navbar-main__menu-link:hover img {
    filter: var(--fill-dark);
}
.navbar-main__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}
.navbar-main__user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}
.navbar-main__user-item {
    display: flex;
}
.navbar-main__user-button {
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.navbar-main__user-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.navbar-main__icon {
    height: 24px;
    width: 24px;
    object-fit: contain;
}
.navbar-main__label {
    color: var(--text-color);
    font-size: var(--font-size-sm);
}
.navbar-main__cart-button {
    position: relative;
    background-color: transparent;
    border: none;
}
.navbar-main__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 100%;
    font-size: var(--font-size-xs);
    height: 18px;
    width: 18px;
    margin-bottom: 0;
}
.navbar-main__user-button:hover .navbar-main__icon,
.navbar-main__cart-button:hover .navbar-main__icon {
    filter: var(--fill-dark);
}
.navbar-main__user-button:hover .navbar-main__label,
.navbar-main__cart-button:hover .navbar-main__label {
    color: var(--primary-dark);
}
.navbar-main__search-form {
    position: relative;
    margin-left: 2.5rem;
    margin-right: 1.5rem;
    max-width: 550px;
    width: 100%;
}
.navbar-main__search-input {
    border-radius: 30px;
    font-size: var(--font-size-base);
    border: 1px solid var(--gray-400);
    background: transparent;
    outline: none;
    padding: 0 1.4rem;
    width: 100%;
    height: 46px;
}

.navbar-main__search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    border-radius: 50%;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
}
.navbar-main__search-button:hover {
    background: var(--hover-color);
}
.navbar-main__search-button img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 18px;
    transition: all 0.6s;
}

/* submenu */
.navbar-main__submenu-horizontal {
    display: none;
    position: absolute;
    top: 86%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--background-color);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    max-height: 69vh;
    max-width: 100%;
    width: calc(99vw - 74px);
    box-sizing: border-box;
    border-radius: 1rem;
    box-shadow: 0 17px 15px -11px rgba(0, 0, 0, 0.2);
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
    transition: all 0.3s;
}

.navbar-main__menu-item:hover .navbar-main__submenu-horizontal {
    display: grid;
    opacity: 1;
    visibility: visible;
}

.navbar-main__submenu-horizontal ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    overflow-y: auto;
    padding-left: 0;
    margin-bottom: 0;
}
.navbar-main__submenu-horizontal li {
    display: flex;
    width: 100%;
}
.navbar-main__submenu-horizontal a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    position: relative;
    margin-left: 0;
    width: 100%;
    transition: all 0.3s;
}
.navbar-main__submenu-horizontal a:hover {
    background-color: var(--hover-color);
    border-radius: 0.5rem;
    color: var(--primary-dark);
    margin-left: 10px;
}

.navbar-main__submenu-vertical {
    display: none;
    position: absolute;
    top: 92%;
    left: 0;
    z-index: 999;
    background: var(--background-color);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    max-height: 69vh;
    max-width: 250px;
    width: 250px;
    box-sizing: border-box;
    border-radius: 1rem;
    box-shadow: 0 17px 15px -11px rgba(0, 0, 0, 0.2);
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
    transition: all 0.3s;
}
.navbar-main__submenu-vertical ul {
    list-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 0;
    margin-bottom: 0;
}
.navbar-main__submenu-vertical a {
    display: flex;
    align-items: center;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    margin-left: -40px;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}
.nav-dropdown-link-line {
    background-color: var(--primary-dark);
    width: 16px;
    height: 2px;
    border-radius: 0.5rem;
    margin-right: 15px;
    display: inline-block;
}
.navbar-main__submenu-vertical a:hover {
    color: var(--primary-dark);
    background-color: var(--hover-color);
    border-radius: 0.5rem;
    margin-left: 0;
}
.navbar-main__menu-item:hover .navbar-main__submenu-vertical {
    display: grid;
    opacity: 1;
    visibility: visible;
}

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

/* inicio submenu horizontal */

.wrapper-header-bottom {
    transition: all 0.3s;
}

.btn-list-header {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
    line-height: 1;
    border-radius: 30px;
    padding: 22px 16px;
    position: relative;
    transition: all 0.3s;
}

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

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

.btn-list-header:hover img {
    filter: var(--fill-dark);
}

.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 {
    padding: 1.4rem 0;
    transition: all 0.3s;
}

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

.item-header:hover .link-list-header {
    color: var(--text-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);
    font-size: 0.95rem;
    letter-spacing: 0.04rem;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--text-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(--text-color);
}

/** inicio submenu horizontal **/

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

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

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

.list-categorias-item {
    display: flex;
    align-items: center;
}

.list-categorias-link {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 1rem;
    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;
}

@media screen and (max-width: 1439px) {
    .submenu-categorias-right {
        margin: auto 0;
        max-height: 69vh;
        padding-bottom: 1rem;
    }
}

.child-categorias {
    max-height: 69vh;
}

.list-child-categorias {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    max-height: 69vh;
    overflow-y: auto;
    column-gap: 1rem;
    list-style: none;
    max-height: 100%;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 0;
}

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

.list-categorias-link.active {
    background: var(--primary-light);
    color: var(--black-color);
}

.list-categorias-link:hover {
    background: var(--primary-light);
    color: var(--black-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 {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    letter-spacing: 0.05rem;
    position: relative;
    transition: all 0.3s;
}

/* menu third level */

.menu__third-level {
    display: none;
    list-style: none;
    margin: 0.8rem;
    padding: 0 1rem;
    transition: all 0.3s;
}

.item__third-level {
    margin-bottom: 0.8rem;
}

.link__third-level {
    display: flex;
    align-items: start;
    line-height: 1.2;
    letter-spacing: 0.05rem;
    transition: all 0.3s;
}

.third-level-line {
    background-color: var(--primary-dark);
    width: 8px;
    height: 2px;
    border-radius: 0.5rem;
    margin-right: 10px;
    margin-top: 10px;
    display: inline-block;
}

.link__third-level:hover {
    color: var(--primary-dark);
}

.item-child-categorias:hover .child-categorias-link {
    background-color: var(--background-color);
    border-radius: 0.5rem;
}

.item-child-categorias:hover .menu__third-level {
    display: block;
}

/* menu third level */

/** fin submenu horizontal **/

/* inicio menu  mobile */
.navbar-main__mobile-item {
    display: none;
}
.btn-menu-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
}
.btn-menu-mobile img {
    height: 24px;
    width: 24px;
    object-fit: contain;
}

.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 {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: scroll;
    transform: translate(100%);
    width: 320px;
    height: 100vh;
    border-radius: 0;
    background: var(--white-color);
    transition: all 0.6s;
    z-index: 999;
}
.menu-mobile.open {
    transform: translate(0);
    transition: all 0.6s;
}
.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;
}
.item-body-mobile {
    padding: 1.6rem;
}
.cart-head-title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
}
.cart-head-btn {
    height: 40px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background-color: var(--primary-light);
    border: 0;
    outline: 0;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}
.cart-head-btn:hover {
    background-color: var(--hover-color);
}
.cart-head-btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}
.list-menu-actions {
    display: grid;
    grid-template-columns: 1fr;
    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-300);
    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 {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    list-style: none;
    padding: 1.6rem 0.6rem;
    margin-bottom: 0;
}

.list-menu-mobile li {
    position: relative;
    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;
    justify-content: start;
    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;
    outline: 0;
    border: 0;
    text-align: left;
}
.list-nav-submenu:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
    background: url(../images/icons/caret-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s;
}
.list-nav-submenu.inicio:before {
    content: none;
}

.list-menu-mobile li:hover .list-nav-submenu.open {
    transition: all 0.3s;
}

.list-menu-mobile li:hover .list-nav-submenu {
    transition: all 0.3s;
}

.list-submenu li:hover .menu-item {
    transition: all 0.3s;
}

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

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

.submenu-nav-two,
.submenu-nav-three {
    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;
}

.products-mobile {
    list-style: none;
    padding-left: 0.8rem;
}

.list-nav-submenu-three {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    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;
    outline: 0;
    border: 0;
    transition: all 0.3s;
}
.list-nav-submenu-three:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
    background: url(../images/icons/caret-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s;
}
.list-nav-submenu-three:hover {
    color: var(--primary-dark);
    transition: all 0.3s;
}

.list-submenu-nav-three {
    list-style: none;
    padding-left: 1rem;
}
.list-submenu-nav-three li {
    border: none;
    padding: 0.5rem;
}
.link-submenu-nav-three {
    color: var(--text);
}
.list-submenu-nav-three li:hover .link-submenu-nav-three {
    color: var(--primary-dark);
}

/* fin menu  mobile */

/* carrito list */
.cart-header.open {
    transform: translateX(0);
    transition: ease-in-out 0.6s;
}
.cart-header {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background: var(--white-color);
    width: 450px;
    transform: translateX(1000px);
    transition: ease-in-out 0.6s;
    z-index: 9999;
}
.item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 1.6rem;
}
.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;
    padding: 1.6rem;
}
.item-body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    column-gap: 1rem;
    width: 100%;
}
.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-300);
}
.card-cart-images {
    display: block;
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    padding: 0.5rem;
}
.card-cart-images img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 1rem;
}
.card-cart-text {
    width: 100%;
}
.card-cart-title {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02rem;
    text-transform: capitalize;
    width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0;
}
.card-cart-title a {
    color: var(--text);
    transition: all 0.3s;
}
.card-cart-title a:hover {
    color: var(--color-principal-2);
}
.card-cart-precio {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.1rem;
    width: 95%;
    margin-bottom: 0;
}
.card-cart-actions {
    display: flex;
    align-items: center;
    column-gap: 1.4rem;
    margin-top: 0.8rem;
    width: 95%;
}

.card-btn-remove {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 0;
    text-decoration: underline;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s;
}
.card-btn-remove:hover {
    color: var(--color-principal-2);
    text-decoration: none;
}
.item-footer:last-child {
    display: flex;
    justify-content: center;
    background-color: var(--background-color);
    border-top: 1px solid var(--primary-color);
    padding: 1.6rem;
}
.cart-footer {
    position: sticky;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.grid-total-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-footer-title {
    font-size: 1.6rem;
    color: var(--color-principal);
    letter-spacing: 0.05rem;
    margin-bottom: 0;
}
.cart-footer-total {
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
    margin-bottom: 0;
    color: var(--color-principal);
}
.btn-checkout {
    height: 48px;
    width: 100%;
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border: 0;
    border-radius: var(--border-radius-xl);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-align: center;
    transition: all 0.3s;
}
.btn-checkout:hover {
    background-color: var(--hover-color);
    border: 1px solid var(--primary-color);
    color: var(--black-color);
}

/**** fin header ****/

/**** inicio index ****/

/* hero section */

.swiper-pagination.hero-pagination .swiper-pagination-bullet {
    --swiper-pagination-bullet-width: 2rem;
    --swiper-pagination-bullet-height: 1rem;
    --swiper-pagination-bullet-border-radius: 2rem;
    --swiper-pagination-color: var(--text-color);
}

.hero-section {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hero-section__image {
    object-fit: cover;
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
}
.hero-video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.hero-video-container iframe {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    pointer-events: none;
}

/* benefits section */
.section-benefits {
    background-color: var(--background-color);
}

.swiper-benefits .swiper-slide {
    display: flex;
    height: auto;
}
.benefits__card {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-right: 1px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.swiper-slide:first-child .benefits__card {
    border-left: 1px solid var(--primary-color);
}
.benefits__icon img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
}
.benefits__title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* product section */

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}
.section-line {
    border-radius: 1rem;
    width: 100px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 0;
}
.section-title {
    color: var(--text-color);
    font-size: 2.2rem;
    font-family: var(--font-primary);
    line-height: 1.2;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    --swiper-navigation-size: 22px;
    --swiper-navigation-color: var(--black-color);
    background-color: var(--primary-light);
    padding: var(--spacing-lg);
    border-radius: 100%;
}

.product-card {
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s;
}
.product-card__image {
    background-color: var(--white-color);
    overflow: hidden;
    padding: 4rem 2rem 2rem;
    transition: all 1s;
}
.product-card__image img {
    object-fit: cover;
    width: 100%;
    transition: all 1s;
}
.product-card__content {
    border-top: 1px solid var(--primary-color);
    padding: 1rem 2rem 2rem 2rem;
}
.product-card__name {
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.05rem;
    overflow: hidden;
    height: 52px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 0.5rem;
    text-align: start;
    transition: all 0.3s;
}
.product-card__name a {
    color: var(--text-color);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s;
}
.product-card__footer {
    display: flex;
    justify-content: space-between;
}
.price-old,
.price-current {
    margin-bottom: 0;
}
.price-old {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    text-decoration: line-through;
}
.price-current {
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.02rem;
}
.product-card__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark);
    border: none;
    border-radius: 100%;
    height: 48px;
    width: 48px;
    transition: all 0.3s;
}
.product-card__btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background-color: var(--hover-color);
    height: 100%;
    width: 100%;
    -webkit-border-radius: inherit;
    border-radius: inherit;
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: inherit;
}
.product-card__btn:hover::before {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}
.product-card__btn img {
    position: relative;
    filter: var(--fill-white);
    height: 30px;
    width: 30px;
    z-index: 2;
}
.product-card__btn:hover img {
    filter: var(--fill-dark);
}
.product-card:hover .product-card__image img {
    transform: scale(1.05);
}
.product-card:hover .product-card__name a {
    color: var(--primary-dark);
}

/* banners secundarios */
.banners__item {
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s;
}
.banners__item:first-child {
    border-radius: 0 2rem 2rem 0;
}
.banners__item:last-child {
    border-radius: 2rem 0 0 2rem;
}
.banners__image {
    object-fit: cover;
    width: 100%;
    transition: all 1s;
}

.banners__item:hover .banners__image {
    transform: scale(1.05);
}

/* marcas section */
.section-brands {
    background-color: var(--background-color);
}
.section-header__image {
    display: none;
}
.card-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    color: var(--text-color);
    padding: var(--spacing-xl);
    margin-bottom: 2rem;
    transition: all 0.3s;
}
.card-brand__image {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.card-brand__image img {
    object-fit: cover;
    width: 100%;
    max-width: 180px;
}
.card-brand__description {
    font-size: var(--font-size-lg);
}
.card-brand__button {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 2rem;
    font-size: 18px;
    min-width: 150px;
    padding: var(--spacing-md);
    transition: all 0.3s;
}
.card-brand:hover {
    background-color: var(--hover-color);
    transform: scale(1.01);
}
.card-brand__button:hover {
    background-color: var(--primary-color);
    color: var(--black-color);
}

/* courses section */
.card-courses {
    position: relative;
    display: block;
    /* display: flex;
    flex-direction: column;
    gap: 1rem; */
    overflow: hidden;
    transition: all 0.3s;
}
.card-courses__tag {
    position: absolute;
    top: 0;
    right: 0;
    width: fit-content;
    height: fit-content;
    z-index: 1;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 1rem;
    font-size: var(--font-size-base);
    line-height: 1.1;
    margin: 1.5rem;
    padding: 0.5rem 1rem;
    text-align: center;
}
.card-courses__image {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all 1s;
}
.card-courses__image img {
    width: 100%;
    object-fit: cover;
    transition: all 1s;
}
.card-courses__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff9;
    border-radius: var(--border-radius-lg);
    margin: 0 1rem 1rem 1rem;
    padding: var(--spacing-lg);
}
.card-courses__description {
    color: var(--black-color);
    margin-bottom: 1rem;
}
.card-courses__title {
    color: var(--black-color);
    font-size: var(--font-size-xl);
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.02rem;
    line-height: 1.2;
    height: 52px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.card-courses__button {
    background-color: var(--background-color);
    border: none;
    border-radius: 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s;
}
.card-courses:hover .card-courses__image img {
    transform: scale(1.05);
}
.card-courses:hover .card-courses__title {
    color: var(--primary-dark);
}
.card-courses__button:hover {
    margin-left: 10px;
    color: var(--primary-dark);
}
.card-courses__button:hover svg {
    fill: var(--primary-dark);
}

/**** fin index ****/

/**** inicio nosotros page ****/

.about-section {
    position: relative;
    padding: 4rem 0;
    margin-top: 4rem;
}
.about-background {
    position: absolute;
    background-color: var(--background-color);
    inset: auto 0% 0%;
    height: 80%;
    width: 100%;
    z-index: -1;
}
.about-item {
    overflow: hidden;
}
.about-img {
    border-top-right-radius: 48%;
    border-top-left-radius: 48%;
    width: 100%;
    max-width: 470px;
    object-fit: cover;
}
.about-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    line-height: 1.2;
    letter-spacing: 0.02rem;
    padding-top: var(--spacing-xl);
}
.about-description {
    font-size: var(--font-size-lg);
    letter-spacing: 0.02rem;
}

.feature-number {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-xxl);
    letter-spacing: 0.05rem;
}
.feature-name {
    font-size: var(--font-size-lg);
    letter-spacing: 0.02rem;
    line-height: 1.2;
}
.feature-item {
    border-bottom: 1px solid var(--text-color);
    padding: 2rem;
    text-align: center;
}
.feature-item:last-child {
    border-bottom: 0;
}

/**** fin nosotros page ****/

/**** inicio cursos page ****/

.benefits-courses {
    background-color: var(--primary-color);
}
.benefits-courses__item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0px 30px 0px;
}
.benefits-courses__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background-color: #ffffff1a;
    border-radius: 50%;
}
.benefits-courses__image img {
    width: 38px;
    height: 38px;
}
.benefits-courses__content {
    margin-left: 20px;
}
.benefits-courses__content h3 {
    color: var(--black-color);
    line-height: 1.4;
    letter-spacing: 0.05rem;
    margin-bottom: 0;
}
.course-sidebar__information {
    list-style: none;
    padding-left: 0;
}

.courses-section {
    padding-top: 6rem;
}

.courses-section__header {
    font-size: var(--font-size-lg);
    padding-bottom: 4rem;
    text-align: center;
}
.courses-section__header h2 {
    letter-spacing: 0.05rem;
    line-height: 1.2;
}
.courses-section__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
    margin-top: 2.5rem;
    margin-bottom: 0;
}
.courses-section__tab.active {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.courses-section__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 2rem;
    cursor: pointer;
    height: 44px;
    min-width: 120px;
    transition: all 0.3s;
}
.courses-section__tab:hover {
    background-color: var(--primary-color);
}
.courses-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 400px));
    gap: 2rem;
    justify-content: flex-start;
}

/**** fin cursos page ****/

/**** inicio ficha curso page ****/

.courses-details__image {
    overflow: hidden;
}
.courses-details__image img {
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius-lg);
}
.courses-details__title {
    font-size: 2rem;
    letter-spacing: 0.05rem;
    margin-top: 2rem;
}
.courses-details__description p {
    font-size: 1.125rem;
}
.courses-details__description h2 {
    font-size: var(--font-size-lg);
    letter-spacing: 0.05rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}
.courses-details__description ul {
    font-size: 1.125rem;
}
.courses-details__description li {
    padding-bottom: 0.5rem;
}
.accordion-item {
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.accordion-button {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1.125rem;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: none;
    transition: all 0.3s;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
.accordion-body {
    background-color: var(--white-color);
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: var(--font-size-base);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}
.accordion-button::after {
    filter: var(--fill-primary);
}
.accordion-button:not(.collapsed)::after {
    filter: var(--fill-white);
}

.courses-details__instructor {
    padding-top: 4rem;
}
.courses-details__instructor-image {
    min-width: 170px;
    max-width: 170px;
    max-height: 170px;
    margin-right: 30px;
}
.courses-details__instructor-image img {
    border-radius: var(--border-radius-lg);
    width: 100%;
}
.courses-details__instructor-bio h4 {
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

.course-sidebar__widget {
    background-color: var(--background-color);
    border-radius: 1rem;
    padding: 30px;
    margin-bottom: 2rem;
}
.course-sidebar__title {
    font-size: var(--font-size-lg);
    letter-spacing: 0.05rem;
}
.course-sidebar__information li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05rem;
}
.course-sidebar__option {
    font-weight: 500;
}
.course-sidebar__price {
    font-size: 1.12rem;
    color: var(--primary-dark);
    letter-spacing: 0.05rem;
}
.course-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 2rem;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05rem;
    width: 100%;
    padding: var(--spacing-md);
    margin-top: 2rem;
    transition: all 0.3s;
}
.course-sidebar-btn:hover {
    background-color: var(--hover-color);
}
.course-sidebar__contact {
    display: flex;
    align-items: start;
    gap: 1rem;
    transition: all 0.3s;
}
.course-sidebar__contact:not(:last-child) {
    margin-bottom: 1rem;
}
.course-sidebar__contact-image img {
    filter: var(--fill-primary);
    object-fit: cover;
    width: 32px;
    height: 32px;
}
.course-sidebar__contact__info span {
    color: var(--gray-700);
}
.course-sidebar__contact__info a {
    font-size: 1.125rem;
    line-height: 1.2;
}
.course-sidebar__contact:hover .course-sidebar__contact__info a {
    color: var(--primary-dark);
}

/**** fin ficha curso page ****/

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

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

/* 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;
    font-size: var(--font-size-xl);
    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(--background-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-top: 0;
    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;
}

/* catalogo content */
.catalog-toolbar {
    border-bottom: 1px solid var(--primary-color);
    padding-top: 0.6rem;
    padding-bottom: 1rem;
}
.toolbar-title {
    font-size: 2.5rem;
    font-family: var(--font-primary);
    font-weight: 500;
    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: 1.6rem;
    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(--fill-white);
    height: 16px;
    width: auto;
    object-fit: contain;
    aspect-ratio: 1/1;
}
.filter-select {
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    font-size: 0.85rem;
    height: 40px;
    width: calc(100% - 84px);
    margin-left: 1rem;
    padding-left: 1rem;
}
.filter-header__btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: var(--primary-light);
    border: 0;
    outline: 0;
    border-radius: 1.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
    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.4rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

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

/**** inicio ficha producto ****/
.product-section {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--primary-color);
    padding-top: 4rem;
    padding-bottom: 8rem;
}
.product-info {
    padding-top: 2rem;
}
.product-info h1 {
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    letter-spacing: 0.05rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.discounted-price {
    color: var(--gray-600);
    font-size: 1rem;
    text-decoration: line-through;
}
.product-price {
    padding: 1rem 0;
}
.old-price {
    color: var(--primary-color);
    font-size: 2rem;
}
.product-description {
    color: var(--gray-700);
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.quantify-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--gray-500);
    border-radius: 1rem;
    height: 55px;
    padding: 0 1rem;
}
.quantify-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding-left: 0.5rem;
}
.quantify-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;
}
.quantify-minus,
.quantify-plus {
    font-size: 1.3rem;
    color: var(--accent-color);
    border: 0;
    outline: 0;
    background: transparent;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.quantify-minus:hover,
.quantify-plus:hover {
    background-color: var(--primary-color);
}
.quantify-minus svg,
.quantify-plus svg {
    width: 14px;
    height: 14px;
}
.quantify-minus:hover svg,
.quantify-plus:hover svg {
    fill: var(--white-color);
}
.btn-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    height: 55px;
    width: 100%;
    transition: all 0.3s;
}
.btn-shop:hover {
    background-color: var(--hover-color);
    border: 1px solid var(--primary-color);
}
.btn-zoom {
    display: none;
}

/* 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: 1rem;
    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: 1rem;
    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: 2px solid var(--primary-color);
}
.slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .slider-single {
    width: 660px;
    height: 100%;
    border-radius: 1rem;
    margin-left: auto;
    margin-right: auto;
} */
.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;
}

.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 */

/* productos relacionados */
.related-section {
    padding-top: 4rem;
}

/**** fin ficha producto ****/

/**** inico carrito ****/

.cart-section {
    padding-top: 4rem;
}

.wrapper-table {
    padding: 1.5rem;
    padding-top: 0;
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
}
.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(--border-radius-xl);
    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: 0.75rem;
    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);
}

/* aside carrito */
.wrapper-form-carrito {
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    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-300);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.6rem;
    transition: all 0.3s;
}
.btn-confirmation {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border: 0;
    border-radius: var(--border-radius-xl);
    font-size: 1.125rem;
    outline: 0;
    height: 48px;
    margin-top: 2rem;
    width: 100%;
    transition: all 0.3s;
}
.btn-confirmation:hover {
    background-color: var(--hover-color);
    border: 1px solid var(--primary-color);
}

/**** fin carrito ****/

/*** 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(--primary-color);
    border-radius: 1rem;
    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: 1.6rem;
    background: var(--primary-color);
    border: 1px solid var(--primary-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: 1.6rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: var(--hover-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}
.btn-outline-primary-2:hover {
    color: var(--text-color);
    background: var(--hover-color);
    border: 1px solid var(--primary-color);
}

/*** fin modal carrito ***/

/**** 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/banner-cursos.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: 1rem;
}
.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: #cc3333;
    border-radius: var(--border-radius-xl);
    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 #cc3333;
    color: #cc3333;
}
.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;
}

/* Botón de Google */
.btn-google {
    background-color: #fff;
    border: 2px solid #dadce0;
    border-radius: 8px;
    color: #3c4043;
    font-family: "Google Sans", Roboto, arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    letter-spacing: 0.25px;
    outline: none;
    padding: 0 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #3c4043;
    text-decoration: none;
}

.btn-google:focus,
.btn-google:active {
    background-color: #f1f3f4;
    border-color: #4285f4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #3c4043;
    outline: none;
    text-decoration: none;
}

/**** fin login ****/

/**** Mi Cuenta ****/
.seccion-mi-cuenta {
    padding-top: 2rem;
    padding-bottom: 8rem;
}
.row-cuenta {
    row-gap: 1.6rem;
}
.nav-cuenta {
    padding: 1rem;
    border-radius: 1rem;
    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(--primary-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(--text-color);
    border-radius: 1rem;
}
.nav-cuenta li .nav-link:hover {
    padding-left: 1.2rem;
    background: var(--hover-color);
    color: var(--color-text);
    border-radius: 1rem;
    border-bottom: 0;
}
.tab-cuenta {
    padding: 2rem;
    border-radius: 1rem;
    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: 1.125rem;
    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: repeat(auto-fit, minmax(380px, 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: 1rem;
    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(--color-text);
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s;
}
.btn-principal:hover {
    background: var(--hover-color);
    color: var(--color-text);
}
.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 reestablecer contrasenha *****/
.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 reestablecer contrasenha *****/

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

.footer {
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 2rem;
}
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-logo {
    max-width: 150px;
    height: auto;
}
.footer-description {
    margin-top: 1rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-social img {
    width: 24px;
    height: 24px;
}
.footer-info h3 {
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    margin-bottom: 0.5rem;
}
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}
.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-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

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

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

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

.container-porta {
    border-top: 1px solid var(--gray-700);
    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(--fill-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 queries ****/

@media screen and (max-width: 1100px) {
    /* header main */
    .navbar-main {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "logo menu_right"
            "search search";
        gap: 1rem;
    }
    .navbar-main__section:nth-child(1) {
        grid-area: logo;
    }
    .navbar-main__section:nth-child(2) {
        display: none;
    }
    .navbar-main__section:nth-child(3) {
        grid-area: search;
    }
    .navbar-main__section:nth-child(4) {
        grid-area: menu_right;
    }
    .navbar-main__search-form {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    .navbar-main__mobile-item {
        display: flex;
    }
    .user-item {
        display: none;
    }

    /**** inicio carrito ****/
    .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: red;
    }
    .table .quantity-col {
        margin: 1rem 0;
    }
    td[data-title]::before {
        content: attr(data-title);
    }
    .wrapper-form-carrito {
        margin-top: 2rem;
    }
    /**** fin carrito ****/
}

@media screen and (min-width: 475px) {
    /**** 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;
    }
    .filter-select {
        width: 150px;
    }
    /**** fin catalogo ****/

    /**** inicio ficha producto ****/
    .product-actions {
        flex-direction: row;
    }
    /**** fin ficha producto ****/

    /***** inicio reestablecer contrasenha *****/
    .card-reset {
        padding: 4rem 4rem;
    }
    /***** fin reestablecer contrasenha *****/
}

@media screen and (min-width: 768px) {
    .padding-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    .section-title {
        font-size: var(--font-size-xxl);
    }
    /**** inicio index ****/
    /* hero section */
    .swiper-pagination.hero-pagination {
        --swiper-pagination-top: 50%;
        --swiper-pagination-bottom: unset;
        left: unset;
        right: 2rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: end;
    }
    .swiper-pagination.hero-pagination .swiper-pagination-bullet {
        --swiper-pagination-bullet-width: 1rem;
        --swiper-pagination-bullet-height: 2rem;
    }

    .hero-section {
        height: 100vh;
        width: 100%;
        overflow: hidden;
        position: relative;
    }
    .hero-section__image {
        object-fit: cover;
        height: 100vh;
        width: 100%;
    }
    .hero-video-container {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .hero-video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: calc(100vw * 0.5625);
        min-height: 100vh; /* Asegura que no quede más corto que la pantalla */
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    /**** fin index ****/

    /**** inicio cursos ****/
    .benefits-courses-grid {
        display: flex;
        flex-wrap: wrap;
    }
    .benefits-courses__item {
        border-right: 1px solid #ffffff26;
        width: 50%;
    }
    .benefits-courses__item:nth-child(2),
    .benefits-courses__item:last-child {
        border: none;
    }
    /**** fin cursos ****/

    /**** inicio ficha curso page ****/
    .courses-details__instructor {
        display: flex;
    }
    /**** fin ficha curso page ****/

    /**** 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 footer ****/
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 2rem;
    }
    .footer-column {
        justify-content: center;
        flex-direction: row;
        padding-top: 2rem;
    }
    /**** fin footer ****/
}

@media screen and (min-width: 992px) {
    /**** inicio index ****/
    /* banners secundarios */
    .banners__grid {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .banners__item {
        margin-bottom: 0;
    }
    .banners__item:first-child {
        width: calc(40% - 1rem);
    }
    .banners__item:last-child {
        width: calc(60% - 1rem);
    }
    .banners__image {
        height: 100vh;
    }
    /* marcas section */
    .brands-carousel {
        position: relative;
    }
    .swiper-brands {
        padding: 0 60px; /* Aumentado de 50px a 60px para mejor espaciado con tarjetas más grandes */
    }
    .brands-button-next,
    .brands-button-prev {
        color: var(--primary-color);
        background: white;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    .brands-button-next:hover,
    .brands-button-prev:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.1);
    }
    .brands-button-next:after,
    .brands-button-prev:after {
        font-size: 16px;
        font-weight: bold;
    }
    .brands__grid {
        display: flex;
        gap: 2rem;
    }
    .card-brand {
        margin-bottom: 0;
    }
    .brand__item {
        display: flex;
        height: 100%;
    }
    .card-brand {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .card-brand__image img {
        width: 100%;
        min-width: 150px;
    }
    .card-brand__content {
        flex: 1;
    }

    /* Responsive adjustments for brands */
    @media (max-width: 768px) {
        .swiper-brands {
            padding: 0 20px;
        }
        .brands-button-next,
        .brands-button-prev {
            width: 35px;
            height: 35px;
            margin-top: -17.5px;
        }
        .brands-button-next:after,
        .brands-button-prev:after {
            font-size: 14px;
        }
    }
    /**** fin index ****/

    /**** inicio nosotros ****/
    .about-background {
        inset: 0% 0% 0% auto;
        height: 100%;
        width: 80%;
    }
    .about-grid {
        display: grid;
        grid-column-gap: 6rem;
        grid-template-rows: auto;
        grid-template-columns: auto 1fr;
        width: 100%;
    }
    .about-description {
        width: 100%;
        text-align: left;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-item {
        border-right: 2px solid var(--primary-color);
        border-bottom: 0;
    }
    .feature-item:last-child {
        border-right: 0;
    }
    /**** fin nosotros ****/

    /**** inicio cursos ****/
    .benefits-courses-grid {
        display: flex;
        flex-wrap: nowrap;
    }
    .benefits-courses__item {
        width: 25%;
    }
    .benefits-courses__item:nth-child(2) {
        border-right: 1px solid #ffffff26;
    }
    /**** fin cursos ****/
}

@media screen and (min-width: 1100px) {
    /**** inicio catalogo ****/
    .catalog-grid {
        grid-template-columns: 280px 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: 56%;
    }
    .product-info {
        width: 44%;
        padding: 0.5rem 1rem 0 2rem;
    }

    .slider-product-container {
        display: grid;
        grid-template-columns: 120px minmax(400px, 600px);
        margin-right: auto;
        position: sticky;
        top: 170px;
        z-index: 9;
    }
    .slider-single {
        overflow: hidden;
    }
    .slider-single-image {
        margin-right: 0.5rem;
    }
    .slick-vertical.slider-nav .slick-slide {
        background: var(--white-color);
        border: 1px solid var(--gray-300);
        border-radius: 1rem;
        cursor: pointer;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    .slick-vertical.slider-nav .slick-slide.is-active {
        border: 2px solid var(--primary-color);
    }
    .slick-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .slider-nav .slick-slide img {
        border-radius: 0.5rem;
        aspect-ratio: 1 / 1;
    }
    .slider-single .slick-slide img {
        border-radius: var(--border-radius);
    }
    /**** fin ficha producto ****/
}
