@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans";
    src: url("../fonts/NotoSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans";
    src: url("../fonts/NotoSans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans";
    src: url("../fonts/NotoSans-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans";
    src: url("../fonts/NotoSans-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Primary & Accent Colors */
    --primary-color: #000000;
    --primary-light: #333333;

    --accent-color: #f20000;
    --accent-light: #ff4d4d;
    --accent-dark: #990000;

    /* Secondary Color */
    --secondary-color: #4d4d4d;
    --secondary-light: #6e6e6e;
    --secondary-dark: #2f2f2f;

    /* Text & Neutral Colors */
    --text-color: #1f1f1f;
    --neutral-color: #ede0d4;
    --white-color: #ffffff;
    --black-color: #000000;

    /* Grayscale */
    --gray-100: #f5f5f5;
    --gray-200: #eaeaea;
    --gray-300: #d6d6d6;
    --gray-400: #bdbdbd;
    --gray-500: #7a7a7a;
    --gray-600: #5f5f5f;
    --gray-700: #333333;

    /* Fonts */
    --font-primary: "Barlow", sans-serif;
    --font-secondary: "Noto Sans", sans-serif;

    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.5rem; /* 24px */
    --font-size-xl: 2rem; /* 32px */
    --font-size-xxl: 2.75rem; /* 48px */

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

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

    /* Filters */
    --filter-accent: invert(10%) sepia(76%) saturate(7171%) hue-rotate(360deg)
        brightness(105%) contrast(115%);
    --filter-secondary: ;
}

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

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

body {
    background-color: #ffffff;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: var(--font-size-base);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

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

.container-fluid {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.padding-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.page-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-head {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}
.section-head-content {
    position: relative;
    max-width: 600px;
}
.section-heading {
    color: var(--primary-color);
    font-size: var(--font-size-xxl);
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
}
.section-title {
    display: flex;
    background: var(--white-color);
    border-bottom: 2px solid var(--accent-color);
    border-top-left-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}
.section-title-content {
    position: relative;
    background-color: var(--accent-color);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    padding: 12px 26px 12px 30px;
    width: 100%;
}
.section-title-heading {
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

.hero-section {
    width: 100%;
    overflow: hidden;
    padding-top: 1rem;
}
.hero-section-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}
.hero-section-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}
.hero-section-img {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section-content {
    position: absolute;
    left: 50%;
    top: 50%;
    color: var(--white-color);
    font-weight: 600;
    letter-spacing: 0.05rem;
    line-height: 1.3;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}
.hero-section-title {
    font-size: 3rem;
    margin-bottom: 0;
}

.breadcrumb-container {
    margin-top: 1rem;
    background-color: transparent;
    border-bottom: 1px solid var(--gray-400);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item,
.breadcrumb-item a {
    color: var(--gray-500);
    font-size: 0.8rem;
}
.breadcrumb-item.active {
    color: var(--accent-color);
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 45%;
    overflow: hidden;
}
.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.hidden {
    display: none;
}
.show {
    display: block;
}

.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;
}
.bodyPag.scrollnone {
    overflow: hidden;
}

.terms-title {
    font-size: var(--font-size-xl);
}

/*==== INICIO HEADER ====*/
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white-color);
}

.top-nav {
    display: none;
}
.top-nav .container-fluid {
    display: flex;
    justify-content: center;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    background: var(--secondary-color);
}
.top-nav a {
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    font-size: 14px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s;
}
.top-nav a:hover {
    background-color: var(--accent-color);
    border-radius: var(--border-radius-md);
    color: var(--white-color);
}
.middle-nav {
    padding-top: 20px;
    padding-bottom: 10px;
}
.middle-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "menu logo carrito"
        "search search search"
        "channel channel channel";
    align-items: center;
}

.item-menu-mobile {
    grid-area: menu;
}
.logo-container {
    grid-area: logo;
    margin: 0 auto;
}
.search-container {
    grid-area: search;
    padding-top: 1rem;
}
.header-channel {
    grid-area: channel;
}
.header-actions {
    grid-area: carrito;
}

.logo-nav {
    display: inline-block;
}
.logo-nav-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    max-width: unset;
}

.search-form {
    position: relative;
    width: 100%;
}
.search-bar {
    width: 100%;
    padding: 0 1.4rem;
    padding-left: 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
    height: 52px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}
.search-bar::placeholder {
    font-size: var(--font-size-sm);
    line-height: 1.3;
}

.search-bar:focus {
    border-color: var(--accent-color);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius-sm);
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s;
}
.search-btn:hover {
    background: var(--primary-color);
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: end;
}

.header-channel {
    display: flex;
    align-items: center;
    justify-content: center;
}
.digital-channel,
.cart-link {
    border: 0;
    background-color: transparent;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.digital-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    column-gap: 0.5rem;
}
.cart-link {
    color: var(--primary-color);
}
.item-channel {
    display: flex;
    flex-direction: column;
}
.text-sucursal {
    font-size: var(--font-size-xs);
    color: var(--accent-color);
}
.item-channel svg {
    width: 28px;
    height: 28px;
}

.digital-channel:hover,
.cart-link:hover {
    color: var(--accent-color);
}

.cart-icon {
    position: relative;
}
.cart-icon svg {
    width: 28px;
    height: 28px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav {
    display: none;
}
.bottom-nav .container-fluid {
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
}

.categories-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.category-link {
    color: var(--white-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-link:hover {
    background: var(--accent-color);
    color: var(--white-color);
}

/*= inicio menu mobile =*/
.btn-menu-mobile {
    background-color: transparent;
    border: none;
    padding: 0;
}
.btn-menu-mobile img {
    width: 28px;
    height: 28px;
    max-width: unset;
}

.menu-mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    transform: translateX(-10000px);
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    background: var(--gray-100);
    padding: 1.6rem;
    margin: 0 auto;
    transition: all 0.6s;
    z-index: 999;
}

.list-menu-mobile {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.list-menu-mobile li {
    width: 100%;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.list-menu-mobile li:last-child {
    border-bottom: 0;
}
.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;
    color: var(--texto);
    padding: 1rem 0;
    transition: all 0.3s;
    background: transparent;
    outline: 0;
    border: 0;
}
.list-nav-submenu::before {
    content: "";
    position: absolute;
    top: 55%;
    right: 15px;
    transform: translateY(-50%);
    height: 1px;
    width: 12px;
    background: var(--texto);
    transition: all 0.3s;
}
.list-nav-submenu::after {
    content: "";
    position: absolute;
    top: 55%;
    right: 21px;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background: var(--texto);
    transition: all 0.3s;
}
.list-nav-submenu.open {
    color: var(--accent-color);
    background: var(--white-color);
    border-radius: 8px 8px 0 0;
}
.list-nav-submenu.open::before {
    background: var(--accent-color);
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
}
.list-nav-submenu.open::after {
    background: var(--accent-color);
    transform: translateY(-50%) rotate(90deg);
}
.list-menu-mobile li p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 1rem;
    font-family: "Inter-Regular";
    color: var(--text-color);
    cursor: pointer;
}
.list-menu-mobile li p img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    transition: all 0.3s;
}
.list-menu-mobile li.change p img {
    transform: rotate(-180deg);
    transition: all 0.3s;
}
.submenu-mobile {
    display: none;
}
.submenu-mobile.open {
    display: block;
}
.submenu-mobile li {
    border-bottom: 0;
}
.menu-mobile.open {
    transform: translateX(0);
    transition: all 0.6s;
}

.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(--texto);
    padding: 0.5rem 0;
    transition: all 0.3s;
}
.list-mobile-footer li a:hover {
    color: var(--accent-color);
}

/*= fin menu mobile =*/

/*= inicio carrito asidebar =*/

/* 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;
    border-bottom: 1px solid var(--accent-color);
    padding: 1.6rem 0;
}
.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: var(--border-radius-md);
    padding: 0.5rem;
}
.card-cart-images img {
    min-width: 90px;
    max-width: 90px;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}
.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 {
    font-size: var(--font-size-sm);
    color: var(--text-color);
    transition: all 0.3s;
}
.card-cart-title a:hover {
    color: var(--accent-color);
}
.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;
    border-top: 1px solid var(--accent-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(--primary-color);
    letter-spacing: 0.05rem;
    margin-bottom: 0;
}
.cart-footer-total {
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
    margin-bottom: 0;
    color: var(--primary-color);
}
.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-md);
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
    text-align: center;
    transition: all 0.3s;
}
.btn-checkout:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.cart-empty {
    padding: var(--spacing-lg);
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    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(--border-radius-md);
    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 asidebar =*/

/*==== FIN HEADER ====*/

/*==== INICIO INDEX ====*/

/*= inicio hero section =*/
.hero-main-section {
    margin-top: 1rem;
}

.img-banner {
    border-radius: var(--border-radius-md);
    object-fit: cover;
    width: 100%;
}

/*= fin hero section =*/

/*= inicio brands section =*/

.brands-container {
    background-color: var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 1rem;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white-color);
    aspect-ratio: 2/1;
    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 {
    border: 1px solid var(--white-color);
    background-color: transparent;
}
.brand-card:hover .brand-img {
    transform: scale(1.1);
    transition: all 1s;
}

/*= fin brands section =*/

/*= fin category section =*/

.card-category {
    display: grid;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 0.875rem;
    transition: all 0.3s;
}
.card-img-category {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 2s;
}
.img-category {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1.3;
    transition: all 1s;
}
.card-content-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
}
.card-title-category {
    font-size: 1.125rem;
    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 =*/

/*= fin products section =*/

.card-product {
    display: block;
    position: relative;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    background: var(--white-color);
    overflow: hidden;
}
.card-product-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    transition: all 1s;
}
.img-product {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    aspect-ratio: 1/1;
    transition: all 1s;
}

.card-product:hover .img-product {
    transform: scale(1.1);
    transition: all 1s;
}
.card-product-content {
    padding-left: 1.4rem;
    padding-top: 0.8rem;
    padding-right: 1.4rem;
    padding-bottom: 1.2rem;
}
.card-product-tag {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    letter-spacing: 0.04rem;
    margin-bottom: 0.5rem;
    text-align: left;
    transition: all 0.3s;
}
.card-product-title {
    padding: 1rem 0;
    border-top: 1px solid var(--gray-400);
    border-bottom: 1px solid var(--gray-400);
}
.card-product-title a {
    color: var(--primary-color);

    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.5;
    letter-spacing: 0.04rem;
    text-align: left;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: all 0.3s;
}
.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.add-to-cart-btn,
.btn-view-details {
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--border-radius-md);
    height: 48px;
    transition: all 0.3s;
}
.add-to-cart-btn {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
}
.btn-view-details {
    background-color: var(--gray-200);
    border: 1px solid var(--gray-300);
}
.btn-add-to-cart svg,
.btn-view-details svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s;
}

.card-product:hover .card-product-title a {
    color: var(--accent-color);
}
.card-product-tag:hover {
    color: var(--accent-color);
}

.add-to-cart-btn:hover,
.btn-view-details:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}
.add-to-cart-btn:hover svg,
.btn-view-details:hover svg {
    stroke: var(--accent-color);
}

/*= fin products section =*/

/*= inicio banner section =*/

/*= Banner Medio =*/

.middle-banner-row {
    row-gap: 2rem;
}
.middle-banner-card {
    position: relative;
}
.middle-banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

/*= fin banner section  =*/

/*= inicio dots banner section  =*/

.card-float-banner-medio {
    position: absolute;
}
.btn-dot-image {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 30px;
    border: 0;
    color: var(--white-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}
.btn-dot-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radar-pulse 1.5s infinite ease-out;
    z-index: 1;
}
.btn-dot-image.active::before {
    display: none;
}
.btn-dot-image.active,
.btn-dot-image:hover {
    background: var(--hover-principal);
}

@keyframes radar-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.card-dot {
    display: none;
    align-items: center;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--white-color);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-md);
    margin-top: 0.5rem;
    max-width: 380px;
    width: 380px;
}
.card-dot.active {
    display: grid;
}
.img-dot {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.title-card-dot {
    font-size: var(--font-size-sm);
    letter-spacing: 0.02rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}
.precio-card-dot {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/*= fin dots banner section  =*/

/* ==== FIN INDEX ==== */

/* ==== INICIO CATALOGO ==== */

.catalogo {
    padding-top: 2rem;
    padding-bottom: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid-catalogo {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-gap: 1.6rem;
}

.item-catalogo {
    display: flex;
    flex-direction: column;
}

.item-catalogo:last-child {
    min-height: 100vh;
}

.container-promo-img.banner-catalogo {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-md);
}

.title-promo-catalogo {
    color: var(--accent-color);
    font-size: 1.8rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1rem 1rem;
}

/* filtro aside bar */
.aside-filtros {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius-md);
    padding: 1.6rem;
    /* position: sticky;
    top: 166px;
    z-index: 9; */
}
.title-toolbox-aside {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    line-height: 1;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1rem;
    padding-left: 0;
    margin-bottom: 1.4rem;
}
.aside-filtros .item-head {
    display: none;
}
.aside-filtros .item-head {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--accent-color);
}
.cart-head-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.cart-head-btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: #ededed;
    border: 0;
    outline: 0;
    border-radius: 1.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.cart-head-btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.card-filter {
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
}
.btn-aside {
    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: 600;
    color: var(--accent-color);
    letter-spacing: 0.02rem;
}
.btn-aside img,
.btn-subaside img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.card-content-aside {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.card-content-aside.active {
    height: 100%;
    transition: all 0.3s;
}
.list-aside {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 0;
    padding-left: 0;
}
.list-aside li {
    margin-bottom: 0.5rem;
}
.input-filtro {
    display: none;
}
.label-filtro {
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 1.6rem;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.label-filtro:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid var(--accent-color);
}
.label-filtro: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: 8px;
    background-repeat: no-repeat;
    background-color: var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.input-filtro[type="checkbox"]:checked ~ .label-filtro::after {
    opacity: 1;
    visibility: visible;
}

/* catalogo productos */
.title-tolbox {
    font-size: var(--font-size-xl);
    font-weight: 600;
    letter-spacing: 0.02rem;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 0;
}

/* filtro ordenar */
.toolbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
}
.toolbox-item {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.toolbox-item label {
    font-size: 0.94rem;
}
.select-custom .input-filter {
    display: block;
    height: 35px;
    width: 150px;
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    padding-left: 1rem;
    color: var(--text);
    font-size: 0.85rem;
}
.select-custom .input-filter:focus {
    outline-color: var(--color-principal-2);
}

.btn-filtro {
    display: none;
}

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

/*==== FIN CATALOGO ====*/

/*==== INICIO PRODDUCTO FICHA ====*/

/* inicio vistas producto */

/* inicio Slick Carousel */
.slider-single > .slide:not(:first-child) {
    display: none;
}
.slider-nav > .slide:not(:first-child) {
    display: none;
}
.position-product {
    position: sticky;
    top: 30px;
    z-index: 9;
    width: 90%;
}
.container-slider-product {
    margin-right: auto;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
}
.slider-single {
    overflow: hidden;
}
.product-main-image {
    padding: 1.6rem;
    margin-right: 0.5rem;
    margin-bottom: 0;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--accent-color);
    position: relative;
    background: var(--white-color);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
}
.btn-ampliar {
    background: var(--white-color);
    border-radius: 8px;
    border: 1px solid var(--gray-text);
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem;
    z-index: 9;
    transition: all 0.3s;
}
.btn-ampliar:hover {
    background: var(--accent-color);
}
.slick-slider .btn-ampliar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.slick-vertical.slider-nav .slick-slide {
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid #ededed;
    background: var(--white);
    margin-bottom: 1rem;
    cursor: pointer;
}
.slick-vertical.slider-nav .slick-slide.is-active {
    border: 1px solid var(--accent-color);
}
.slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.slider-nav .slick-slide img {
    border-radius: 0.5rem;
}
.slider-single .slick-slide img {
    border-radius: var(--border-radius);
}
.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: #888484 !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 #929292;
    border-bottom: 2px solid #929292;
}
.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 #929292;
    border-bottom: 2px solid #929292;
}
/* Fin Slick Carousel */

/* Inicio tabs ficha producto */
.seccion-description {
    padding-top: 3rem;
}
.content-tabs {
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--accent-color);
    margin-top: 2rem;
}
.nav.nav-tabs {
    border-bottom: 1px solid rgba(217, 217, 217, 0.7);
    margin-bottom: 2rem;
}
.nav-tabs .nav-link {
    font-size: 1.125rem;
    border: 0;
    color: var(--text);
    background: 0;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: var(--accent-color);
    border: 0;
    border-bottom: 2px solid var(--accent-color) !important;
    background: transparent;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    isolation: unset;
    border: 0;
}
.nav.nav-pills .nav-item .nav-link {
    font-size: 1.125rem;
    color: var(--text);
    border-bottom: 2px solid transparent;
    border-radius: 0;
}
.nav.nav-pills .nav-item.show .nav-link,
.nav.nav-pills .nav-item .nav-link.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    background: transparent;
}
.text-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Fin tabs ficha producto */

/*** inicio detalles producto ***/

.tag-brand {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    transition: all 0.3s;
}
.tag-brand:hover {
    color: var(--gray-text);
}
.product-info-title {
    color: var(--color-principal);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.product-info-code {
    font-size: 1rem;
    color: var(--text);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.product-content {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 0.02rem;
    margin-top: 2rem;
}
.product-info-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.product-info-item {
    flex: 1 1 calc(50% - 0.5rem);
    border: 1px solid var(--color-secundario);
    border-radius: var(--border-radius);
    min-width: 230px;
    margin-top: 2rem;
}
.product-info-item.credito {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}
.title-precio-ficha {
    font-size: 1.2rem;
    letter-spacing: 0.02rem;
}
.ficha-precio-contado .old-price {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    justify-content: center;
    text-decoration: line-through;
}
.ficha-precio-contado .current-price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-wrap: nowrap;
}
.quantify-title {
    font-size: 1.25rem;
    color: var(--text-color);
    letter-spacing: 0.02rem;
    margin-bottom: 0.5rem;
}
.quantify-value {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.quantify-plus,
.quantify-minus {
    font-size: 1.3rem;
    fill: var(--primary-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-plus svg,
.quantify-minus svg {
    width: 14px;
    height: 14px;
}
.quantify-plus:hover,
.quantify-minus:hover {
    background-color: var(--gray-200);
}
.quantify-plus:hover svg,
.quantify-minus:hover svg {
    stroke: var(--accent-color);
}
.product-info-actions .quantify-input {
    height: 40px;
}
.quantify-input {
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: 0;
}
.btn-shop,
.btn-shop-whatsapp {
    width: 100%;
    height: 48px;
    border-radius: 0.8rem;
    outline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    transition: all 0.3s;
}
.btn-shop {
    background: var(--accent-color);
    color: var(--white-color);
    border: 0;
    margin-top: 2rem;
}
.btn-shop-whatsapp {
    background-color: var(--gray-200);
    border: 1px solid var(--gray-300);
    color: var(--primary-color);
    margin-top: 1.25rem;
}
.btn-shop:hover,
.btn-shop-whatsapp:hover {
    color: var(--accent-color);
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
}

.product-accordion {
    padding-top: 3rem;
    border-color: var(--accent-color);
}
.product-accordion .accordion-item:first-of-type {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.product-accordion .accordion-button {
    background-color: transparent;
    box-shadow: none;
    color: var(--accent-color);
    font-size: 1.125rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(10%) sepia(16%) saturate(5812%)
        hue-rotate(201deg) brightness(93%) contrast(99%);
}

/* fin detalles producto */

.related-title {
    font-size: var(--font-size-xl);
    color: var(--accent-color);
    margin-bottom: 0;
    text-align: center;
}

/*==== FIN PRODDUCTO FICHA ====*/

/*==== INICIO CONTACTO ====*/

.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-dark);
}
.select-control {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    height: 48px;
    width: 100%;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s;
}
.form-file-group {
    display: flex;
    flex-direction: column;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--gray-200);
    border: 1px dashed var(--gray-400);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-file-label:hover {
    background-color: var(--gray-300);
}

.form-file-input {
    display: none;
}

.file-name {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.grid-contacto {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2rem;
}
.item-contacto {
    background: var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}
.title-form {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--principal);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.04rem;
}
.form-control-contact {
    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(--border-radius-md);
    transition: all 0.3s;
}
.form-control-textarea {
    display: block;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    box-shadow: none;
    height: 80px;
}
.iframe {
    background: var(--white-color);
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    cursor: pointer;
    height: 48px;
    width: 200px;
    padding: 0 var(--spacing-xl);
    overflow: hidden;
    transition: all 0.3s;
}
.submit-button:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.lista-enlaces-contacto {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.lista-enlaces-contacto li a {
    font-size: var(--font-size-base);
    color: var(--text-color);
    letter-spacing: 0.02rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}
.lista-enlaces-contacto li a svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    transition: all 0.3s;
}
.lista-enlaces-contacto li a:hover {
    color: var(--accent-color);
}
.lista-enlaces-contacto li a:hover svg {
    fill: var(--accent-color);
}

/*==== FIN CONTACTO ====*/

/* Catalogo Digital */
.section-catalogo-digital {
    padding-top: 4rem;
    padding-bottom: 6rem;
}
.row-catalogo-digital {
    row-gap: 2rem;
}
.card-catalogo {
    background-color: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    padding: 1rem;
}
.card-catalogo-imagen {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 1s;
}
.card-catalogo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-catalogo-content {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 48px;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--gray-200);
    color: var(--primary-color);
    font-size: var(--font-size-base);
    text-align: center;
    transition: all 0.3s;
}
.btn-view-details:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}
.btn-view-details:hover span svg,
.btn-view-details:hover svg {
    stroke: var(--white-color);
}
.btn-descargar-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 48px;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-color);
    color: var(--white-color);
    font-size: var(--font-size-base);
    text-align: center;
    transition: all 0.3s;
}
.btn-descargar-details svg {
    width: 20px;
    height: 20px;
    fill: var(--white-color);
}
.btn-descargar-details:hover {
    background-color: var(--accent-light);
    color: var(--white-color);
}
/* Fin Catalogo Digital */

/**** INICIO CARRITO ****/

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

.wrapper-table {
    padding: 1.5rem;
    padding-top: 0;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
}
.table-cart {
    margin-bottom: 0;
}
.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: var(--border-radius-md);
    max-width: unset;
}
.product-col .product-title a {
    display: inline-block;
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.3;
    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-md);
    height: 48px;
    padding: 0.5rem;
}
.product-col .product-title a:hover {
    color: var(--primary-dark);
}

.product-col .product-title a:hover {
    color: var(--accent-color);
}

/* total carrito */
.summary {
    padding: 1.6rem;
    background-color: var(--gray-100);
    border-radius: var(--border-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%;
    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-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: 0.05rem;
}
.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 {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}
.title-form {
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    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;
}

/* reCAPTCHA Styles */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: center;
    }
}
.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: var(--border-radius-md);
    transition: all 0.3s;
}
.btn-confirmation {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    border: 0;
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    font-size: 1.125rem;
    letter-spacing: 0.05rem;
    outline: 0;
    height: 48px;
    margin-top: 2rem;
    width: 100%;
    transition: all 0.3s;
}
.btn-confirmation:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/**** FIN CARRITO ****/

/**** INICIO NOSOTROS ****/

.about-hero {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}
.hero-image {
    width: 100%;
    height: 250px;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-text {
    flex: 1;
}
.hero-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    position: relative;
}
.hero-description {
    font-size: var(--font-size-base);
    color: var(--secondary-color);
    line-height: 1.7;
}
.about-info {
    display: grid;
    gap: 2rem;
}
.info-card {
    background: var(--white-color);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.info-subtitle {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.info-subtitle::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.info-text {
    font-size: var(--font-size-base);
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.values-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-left: 0;
}
.values-item {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    position: relative;
    padding-left: calc(var(--spacing-md) + 24px);
    transition: all 0.3s ease;
    cursor: default;
}
.values-item:hover {
    background: var(--gray-200);
    transform: translateX(4px);
}
.values-item::before {
    content: "✓";
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: bold;
}
.values-item-text {
    font-weight: 500;
    color: var(--text-color);
    margin-left: 0.5rem;
}

/* Animaciones de entrada */
@media (prefers-reduced-motion: no-preference) {
    .about-hero,
    .info-card {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    .info-card:nth-child(2) {
        animation-delay: 0.1s;
    }
    .info-card:nth-child(3) {
        animation-delay: 0.2s;
    }
    .values-card {
        animation-delay: 0.3s;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para navegación por teclado */
.values-item:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/**** FIN NOSOTROS ****/

/**** INICIO NOTICIAS ****/
.news-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.container-section-redes {
    background: var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 3rem 2.75rem;
}
.news-row {
    row-gap: 1.5rem;
}
.news-card {
    display: block;
    background: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    height: 100%;
    overflow: hidden;
    padding: 0.875rem;
    transition: all 1s;
}

.news-card-content {
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--gray-400);
    padding-top: 1rem;
}
.news-card-date {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.news-card-title {
    font-size: 1.25rem;
    letter-spacing: 0.02rem;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news-card:hover .news-card-title {
    color: var(--accent-color);
}
.news-button {
    font-size: 0.95rem;
    letter-spacing: 0.02rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-left: 0.2rem;
    margin-top: 1rem;
    margin-bottom: 0;
    width: fit-content;
    position: relative;
    transition: all 0.3s;
}
.news-card:hover .news-button {
    margin-top: 1rem;
    position: relative;
    color: var(--accent-color);
    text-decoration: underline;
}
.news-card-image {
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}
.news-card-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 2/1;
    object-fit: cover;
    transition: all 4s;
}
.news-card:hover .news-card-img {
    transform: scale(1.1);
    transition: all 2s;
}

/**** FIN NOTICIAS ****/

/**** INICIO FICHA NOTICIAS ****/

.article-container {
    padding: 2rem 1rem;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    font-family: var(--font-secondary);
    color: var(--text-color);
}

.main-article {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--white-color);
    border-radius: var(--border-radius-xxl);
    padding-top: var(--spacing-md);
}

.article-image-wrapper img {
    border-radius: var(--border-radius-md);
    width: 100%;
    min-height: 50vh;
    max-height: 50vh;
    object-fit: cover;
}
.article-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background-color: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -210px;
    padding: 2rem;
    z-index: 2;
}
.article-header h1 {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 0;
    color: var(--text-color);
    text-align: start;
    transition: all 0.3s;
}
.article-list {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}
.article-tag {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    height: 48px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.article-tag:hover {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}
.text-divider {
    background-color: var(--gray-400);
    width: 18px;
    height: 1px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.article-date {
    font-size: var(--font-size-base);
}
.article-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.article-body h2 {
    letter-spacing: 0.5px;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}
.article-body h3,
.article-body h4 {
    letter-spacing: 0.5px;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.article-body p,
.article-body li {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.article-body ul {
    padding-left: 1.5rem;
}

/**** FIN FICHA NOTICIAS ****/

/**** INICIO SUCURSALES ****/

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

.title-search {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.subtitle-search {
    font-size: var(--font-size-base);
    font-family: var(--font-secondary);
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}

.branch-form-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--gray-200);
    border-radius: var(--border-radius-md);
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.branch-label {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
}

.branch-form-group {
    position: relative;
    display: flex;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 480px;
    align-items: center;
}

.branch-input {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-secondary);
    height: 48px;
}

.branch-btn-search {
    position: absolute;
    right: 5px;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.result-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 4rem;
}

/* Cards grid */
.branch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.branch-card {
    background-color: var(--white-color);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.branch-card:hover {
    transform: translateY(-4px);
}
.branch-card-image {
    border-radius: 0.875rem;
    overflow: hidden;
    padding: 1rem 1rem 0;
}
.branch-card-image img {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.branch-card-content {
    padding: var(--spacing-md);
}

.branch-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.branch-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.branch-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.branch-list a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    text-decoration: none;
    width: 100%;
}
.branch-icon {
    width: 20px;
    height: 20px;
}
.branch-list a:hover {
    color: var(--accent-color);
}

/**** FIN SUCURSALES ****/

/*==== 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(--secondary-color);
}
.card-product-modal {
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 1rem;
}
.product-title-modal {
    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(--border-radius-md);
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white-color);
    transition: all 0.3s;
}
.btn-primary.w-fit {
    width: fit-content;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}
.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(--border-radius-md);
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-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 {
    padding-bottom: 1rem;
} */

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: var(--secondary-color);
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    margin-top: 0.5rem;
    padding: 2rem;
}
.footer-column {
    display: grid;
    gap: 2rem;
}
.footer-column:nth-child(1) {
    justify-content: start;
}
.footer-column-container {
    display: flex;
    flex-direction: column;
}
.footer-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: fit-content;
}
.footer-nav {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}
.footer-top {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}
.footer-item-logo {
    display: flex;
    height: auto;
}
.footer-item-logo svg {
    height: 40px;
    width: auto;
    max-width: 100%;
}

/* Social Media */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social-icon {
    width: 20px;
    height: 20px;
    fill: var(--white-color);
    transition: all 0.3s;
}
.footer-social-icon:hover {
    fill: var(--accent-color);
}
.footer-social-item:hover {
    color: var(--primary-color);
}
.footer-social-item:hover .footer-contact-icon {
    fill: var(--primary-color);
}

/* Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-color);
    font-size: var(--small-text-size);
}
.footer-contact-icon {
    width: 18px;
    height: 18px;
    fill: var(--white-color);
    flex-shrink: 0;
}
.footer-contact-item .details {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.btn-plusservice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    height: 48px;
    margin-top: 2rem;
    transition: all 0.3s;
}
.btn-plusservice svg {
    fill: var(--white-color);
}
.btn-plusservice:hover {
    background-color: var(--accent-color);
}

/* === inicio botones flotantes === */

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0.75rem;
    z-index: 999;
}

.btn-service,
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition-duration: 0.3s;
}
.btn-service {
    background-color: var(--accent-color);
}
.btn-whatsapp {
    background-color: #47c259;
}

.floating-sign {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
}

.floating-sign svg {
    width: 32px;
    height: 32px;
    transition-duration: 0.3s;
}

.floating-sign svg path {
    fill: var(--white-color);
}

.floating-text {
    position: absolute;
    right: 0%;
    width: 0%;
    opacity: 0;
    color: var(--white-color);
    font-size: var(--font-size-base);
    font-weight: 600;
    white-space: nowrap;
    transition-duration: 0.3s;
}

.btn-service:hover {
    width: 158px;
    border-radius: 2rem;
    transition-duration: 0.3s;
}

.btn-whatsapp:hover {
    width: 228px;
    border-radius: 2rem;
    transition-duration: 0.3s;
}

.btn-service:hover .floating-sign {
    width: 30%;
    padding-left: 20px;
    padding-right: 2px;
    transition-duration: 0.3s;
}

.btn-whatsapp:hover .floating-sign {
    width: 50px;
    padding-left: 12px;
    padding-right: 2px;
    transition-duration: 0.3s;
}

.btn-service:hover .floating-sign svg,
.btn-whatsapp:hover .floating-sign svg {
    width: 28px;
    height: 28px;
    transition-duration: 0.3s;
}

.btn-service:hover .floating-text {
    opacity: 1;
    width: 70%;
    padding-right: 20px;
    transition-duration: 0.3s;
}

.btn-whatsapp:hover .floating-text {
    opacity: 1;
    width: 160px;
    padding-right: 0;
    transform: translate(-18px, 1px);
    transition-duration: 0.3s;
}

.btn-service:active {
    transform: translate(2px, 2px);
}

/* === fin botones flotantes === */

/*==== FIN FOOTER ====*/

/*==== Inicio Swiper Customization ====*/
.swiper-button-next,
.swiper-button-prev {
    --swiper-navigation-size: 20px;
    --swiper-navigation-color: var(--accent-color);
    background-color: var(--gray-100);
    padding: var(--spacing-lg);
    border-radius: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: var(--swiper-navigation-size);
    color: var(--swiper-navigation-color);
    transition: none;
    display: inline-block;
    position: relative;
}

/* Animaciones para swiper navigation */
.swiper-button-next:hover::after {
    animation: swiper-loop-next 0.6s ease-in-out forwards;
}

.swiper-button-prev:hover::after {
    animation: swiper-loop-prev 0.6s ease-in-out forwards;
}

/* animacion para navigation next */
@keyframes swiper-loop-next {
    0% {
        left: 0;
        opacity: 1;
    }
    49% {
        left: 20px;
        opacity: 0;
    }
    50% {
        left: -20px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
/* animacion para navigation prev */
@keyframes swiper-loop-prev {
    0% {
        left: 0;
        opacity: 1;
    }
    49% {
        left: -20px;
        opacity: 0;
    }
    50% {
        left: 20px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
/* .eapps-instagram-feed-posts-grid-load-more-container.eapps-instagram-feed-posts-grid-load-more-enabled{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
} */
/*==== Fin Swiper Customization ====*/

.grid-redes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}
.wrapper-plugin {
    height: 510px;
    overflow: hidden;
    border-radius: 8px;
    overflow-y: auto;
}
.title-redes {
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Marcas */
.section-marcas {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.sticky-header {
    position: sticky;
    top: 160px;
    z-index: 99;
}
.card-marcas {
    padding-bottom: 6rem;
}
.grid-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 1.25rem;
    padding-top: 1rem;
}
.img-marcas {
    height: 120px;
    width: 100%;
    aspect-ratio: 2/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.img-marcas img {
    width: auto;
    height: 55px;
    object-fit: contain;
    aspect-ratio: 2/1;
}
.img-marcas:hover {
    border-color: var(--accent-color);
}
.img-marcas:hover img {
    filter: grayscale(0);
}

/* Fin Marcas */

@media screen and (min-width: 768px) {
    .page-section {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
    .padding-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .section-title {
        text-align: start;
    }
    .section-title-heading {
        max-width: 600px;
    }
    .section-title-content {
        border-top-right-radius: 0;
        width: unset;
    }
    .section-title-content:before {
        content: "";
        background: var(--accent-color);
        border-top-right-radius: 0.5rem;
        /* height: 101%; */
        height: 100%;
        left: calc(100% - 42px);
        position: absolute;
        top: 0;
        transform: skew(38deg);
        width: 92px;
        z-index: -1;
    }
    .news-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /*== INICIO HEADER ==*/
    .middle-nav {
        padding: 20px 0;
    }
    .middle-nav-grid {
        padding: 0 1rem;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "menu logo carrito"
            "search search search";
            gap: 1rem;
    }
    .header-channel {
        justify-content: end;
    }
    .logo-nav-img {
        height: 40px;
    }
    .search-container {
        padding-top: 0;
    }
    /*== FIN HEADER ==*/

    /*== INICIO INDEX ==*/
    /*= inicio hero =*/

    .img-banner {
        width: 100%;
        object-fit: cover;
        aspect-ratio: unset;
    }
    /*= fin hero =*/

    /*= inicio brands section =*/
    .brands-container {
        padding: 4rem 2.75rem;
        padding-top: 3rem;
    }
    /*= fin brands section =*/
    /*== FIN INDEX ==*/

    /*= inicio nosotros =*/
    .hero-content {
        padding: calc(var(--spacing-xl) * 1.5);
    }
    .hero-title {
        font-size: var(--font-size-xxl);
    }
    .about-info {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-card {
        grid-column: span 2;
    }
    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }
    /*= fin nosotros =*/

    /*== Inicio Noticia Ficha ==*/
    .article-header {
        width: calc(100% - 102px);
    }
    .article-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    .article-header h1 {
        font-size: var(--font-size-xl);
    }
    .article-section {
        padding: 12rem var(--spacing-lg) 4rem;
    }
    .main-article {
        gap: 3.5rem;
    }
    .article-header {
        padding: 4rem;
    }
    .article-container {
        padding: 4rem;
    }
    /*== Fin Noticia Ficha ==*/

    /*= inicio sucursal y talleres =*/
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .div_buscador label {
        display: block;
        font-size: var(--font-size-sm);
        color: var(--gray-600);
    }
    /*= fin sucursal y talleres =*/

    /*= INICIO footer =*/
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .footer-column {
        display: flex;
        justify-content: flex-start;
    }
    /*= FIN footer =*/
}

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

    /*== INICIO CONTACTO ==*/
    .grid-contacto {
        grid-template-columns: repeat(2, 1fr);
    }
    /*== FIN CONTACTO ==*/
}

@media (min-width: 1024px) {
    /*= inicio nosotros =*/
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: calc(var(--spacing-xl) * 1.5);
    }
    .hero-image {
        width: 40%;
        height: 300px;
        flex-shrink: 0;
    }
    .hero-text {
        flex: 1;
    }
    .values-list {
        grid-template-columns: repeat(4, 1fr);
    }
    /*= fin nosotros =*/

    /*= inicio sucursal y talleres =*/
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .title-search {
        font-size: var(--font-size-xxl);
    }
    /*= fin sucursal y talleres =*/
}
@media (min-width: 1200px) {
    /*= inicio footer =*/
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4rem;
    }
    /*= fin footer =*/
}

@media screen and (max-width: 1100px) {
    /*= Inicio Dot Banner =*/
    .card-float-banner-medio.active {
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    .card-float-banner-medio.active .btn-dot-image {
        display: none;
    }
    .card-dot {
        grid-template-columns: 0.5fr 1fr;
        max-width: 350px;
        min-width: 320px;
        margin: 0 auto;
    }
    .img-dot {
        width: 100px;
    }
    /*= Fin Dot Banner =*/

    /*= Inicio Catalogo =*/
    .title-catalogo {
        display: none;
    }
    .grid-catalogo {
        grid-template-columns: 1fr;
        gap: 0;
    }
    /* Filtro  Catalogo - ACTUALIZADO PARA RESPONSIVE */
    .toolbox-left {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .toolbox-left.promo-catalogo {
        justify-content: space-between;
    }
    .select-custom .input-filter {
        font-size: 0.85rem;
        width: 100%;
        min-width: 120px;
    }

    .btn-filtro {
        display: flex;
        align-items: center;
        column-gap: 0.5rem;
        background: var(--accent-color);
        border: 0;
        outline: 0;
        height: 35px;
        border-radius: 1.6rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: var(--white-color);
        transition: all 0.3s;
    }
    .btn-filtro img {
        filter: invert(96%) sepia(100%) saturate(0%) hue-rotate(92deg)
            brightness(105%) contrast(106%);
        height: 16px;
        width: auto;
        object-fit: contain;
        aspect-ratio: 1/1;
    }
    .aside-filtros .item-head {
        display: flex;
    }

    .aside-filtros {
        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;
        padding: 1.6rem;
        transition: all 0.3s;
    }
    .aside-filtros.visible {
        transform: translateX(0);
        transition: all 0.5s;
    }
    .title-toolbox-aside {
        display: none;
    }
    /*= Fin Catalogo =*/

    /*= Inicio Ficha =*/
    .row-product {
        row-gap: 2rem;
    }
    .product-info {
        width: 100%;
    }
    .product-info-title {
        font-size: 1.4rem;
    }
    .container-slider-product {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }
    .slider-nav .slick-track {
        display: flex !important;
        gap: 1rem;
    }
    .slider-nav .slick-slide {
        padding: 0.4rem;
        border-radius: var(--border-radius-md);
        border: 1px solid var(--border-gray);
        background: var(--white);
        margin-bottom: 1rem;
        cursor: pointer;
    }
    .slider-nav .slick-slide.is-active {
        border: 1px solid var(--color-principal);
    }
    /*= Fin Ficha =*/

    /**** 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 (max-width: 990px) {
    .section-heading {
        font-size: var(--font-size-xl);
    }
    .digital-channel {
        display: none;
    }
    .grid-redes {
        grid-template-columns: 100%;
    }
}
@media screen and (max-width: 768px) {
    .hero-section-img {
        height: 25dvh;
    }
    .hero-section-content {
        width: 100%;
    }
    .hero-section-title {
        font-size: 2rem;
    }

    /* ====== MEJORAS PARA CATÁLOGO MÓVIL ====== */
    .grid-catalogo {
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }

    /* ====== TOOLBOX RESPONSIVE ====== */
    .toolbox {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem 0;
    }

    .title-tolbox {
        order: -1;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

    .toolbox-left {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .toolbox-item {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .toolbox-item label {
        font-size: 0.85rem;
        text-align: center;
    }

    .select-custom {
        width: 100%;
    }

    .select-custom .input-filter {
        width: 100%;
        font-size: 0.85rem;
        height: 40px;
        min-width: 0;
    }

    .btn-filtro {
        flex-shrink: 0;
        width: auto;
        min-width: 120px;
    }
    /* ====== FIN TOOLBOX RESPONSIVE ====== */

    .grid-productos {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
        margin-top: 1rem;
    }

    /* ====== PAGINACIÓN RESPONSIVE ====== */
    .pagination-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        overflow-x: visible;
        padding: 0;
    }

    .pagination {
        gap: 0.25rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 44px;
        text-align: center;
        white-space: nowrap;
    }

    /* Utilities para mostrar/ocultar en móvil */
    .d-none {
        display: none !important;
    }

    .d-md-contents {
        display: contents;
    }

    @media (max-width: 767px) {
        .d-md-contents {
            display: none !important;
        }
    }
    /* ====== FIN PAGINACIÓN RESPONSIVE ====== */
    .card-product {
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .card-product-image {
        padding: 0.5rem;
        aspect-ratio: 1/1;
    }

    .card-product-content {
        padding: 0.75rem;
    }

    .card-product-tag {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .card-product-title {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }

    .card-product-title a {
        font-size: 1rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .product-card-actions {
        gap: 0.5rem;
    }

    .add-to-cart-btn,
    .btn-view-details {
        height: 40px;
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .add-to-cart-btn span:last-child {
        display: none;
    }

    .btn-view-details span:last-child {
        display: none;
    }

    .add-to-cart-btn svg,
    .btn-view-details svg {
        width: 18px;
        height: 18px;
    }
    /* ====== FIN MEJORAS CATÁLOGO MÓVIL ====== */

    .card-catalogo-content {
        grid-template-columns: 100%;
    }
    .footer-top {
        align-items: center;
    }
    .footer-item-logo {
        width: 100%;
        justify-content: center;
    }
    .footer-item-logo svg {
        margin: 0 auto;
    }
    .container-section-redes {
        padding: 2rem;
    }
    .img-marcas img {
        height: 65px;
    }
}
@media screen and (max-width: 500px) {
    .section-title-heading {
        color: var(--white-color);
        font-size: var(--font-size-lg);
    }

    /* ====== MEJORAS PARA MÓVILES PEQUEÑOS ====== */
    .grid-productos {
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }

    .card-product-image {
        padding: 1rem;
    }

    .card-product-content {
        padding: 1rem;
    }

    .card-product-title a {
        font-size: 1.1rem;
    }

    .add-to-cart-btn span:last-child,
    .btn-view-details span:last-child {
        display: inline;
    }

    .add-to-cart-btn,
    .btn-view-details {
        height: 44px;
        font-size: 0.85rem;
    }
    /* ====== FIN MEJORAS MÓVILES PEQUEÑOS ====== */

    .grid-marcas {
        width: 100%;
        gap: 1rem;
        grid-template-columns: 1fr 1fr;
    }
    .img-marcas {
        aspect-ratio: 1/1;
    }
    .img-marcas img {
        height: 50px;
    }
}
@media screen and (min-width: 1200px) {
    /*== INICIO HEADER ==*/
    .top-nav,
    .bottom-nav {
        display: block;
    }
    .top-nav .container-fluid {
        justify-content: flex-end;
    }
    .middle-nav-grid {
        grid-template-areas: unset;
        grid-template-columns: 1fr 600px 1fr;
        justify-content: space-between;
    }
    .menu-mobile,
    .logo-container,
    .search-container,
    .header-channel,
    .header-actions {
        grid-area: unset;
    }
    .item-menu-mobile {
        display: none;
    }
    .search-form {
        margin: 0 auto;
        width: 100%;
        margin-right: -1.25rem;
    }
    .logo-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    /*== FIN HEADER ==*/
}

/* ========== ESTILOS PARA SUBCATEGORÍAS EN FILTROS ========== */
.category-with-subcategories {
    display: flex;
    flex-direction: column;
}

.category-with-subcategories .btn-subaside {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.02rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-with-subcategories .btn-subaside:hover {
    color: var(--primary-color);
}

.category-with-subcategories .btn-subaside.active img {
    transform: rotate(180deg);
}

.category-with-subcategories .btn-subaside img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-with-subcategories .sublist-aside {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.category-with-subcategories .sublist-aside.active {
    max-height: 500px;
    opacity: 1;
    transition: all 0.3s ease-in;
}

.category-with-subcategories .sublist-aside li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.category-simple {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.25rem 0;
}

/* Ajuste específico para labels dentro de subcategorías */
.category-with-subcategories .sublist-aside .label-filtro {
    font-size: 0.9rem;
    padding-left: 1.4rem;
}

.category-with-subcategories .sublist-aside .label-filtro:before,
.category-with-subcategories .sublist-aside .label-filtro:after {
    width: 16px;
    height: 16px;
}

.category-with-subcategories .sublist-aside .label-filtro:after {
    background-size: 7px;
}
/* ========== FIN ESTILOS SUBCATEGORÍAS ========== */

/* ========== ESTILOS PAGINACIÓN ========== */
.productos-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pagination-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    clear: both;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0.375rem;
    gap: 0.25rem;
}

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

.pagination .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary-color);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover {
    z-index: 2;
    color: var(--primary-color);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.pagination .page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .pagination-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .pagination .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}
/* ========== FIN ESTILOS PAGINACIÓN ========== */
