@import url(https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap);

.header {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .8) 0, rgba(0, 0, 0, .2)), url(/static/img/fondo_diamantes.jpg);
    background-position: center;
    background-size: cover;
    padding: 4rem 2rem;
    position: relative;
    color: var(--blanco);
}

.header__contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.header__barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.header__logo h1 {
    color: var(--blanco);
    font-size: 3rem;
    margin: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .header__logo h1 {
        font-size: 4rem;
    }
}

/* Buscador centrado */
.search-form {
    flex-grow: 1;
    max-width: 400px;
    display: flex;
    background-color: rgba(255 255 255 / 0.15);
    border-radius: 50px;
    padding: 6px 12px;
    align-items: center;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255 255 255 / 0.3);
}

.search-form:hover,
.search-form:focus-within {
    background-color: rgba(255 255 255 / 0.3);
    border-color: var(--blanco);
}

.search-input {
    border: none;
    background: transparent;
    color: var(--blanco);
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 50px;
    flex-grow: 1;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255 255 255 / 0.7);
}

.search-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.search-button:hover {
    transform: scale(1.1);
}

.search-icon {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

/* Navegación */
.navegacion {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navegacion__enlace {
    color: var(--blanco);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0.5rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.navegacion__enlace::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--blanco);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.navegacion__enlace:hover::after {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .header__barra {
        flex-direction: column;
        gap: 1.5rem;
    }
    .search-form {
        max-width: 100%;
        width: 100%;
    }
    .navegacion {
        justify-content: center;
        gap: 1rem;
    }
}


.footer {
    background-color: var(--primary);
    color: var(--blanco);
    margin-top: 5rem;
    padding: 4rem 1rem
}

.footer__contenedor {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem
}

@media (min-width:768px) {
    .footer__contenido {
        align-items: center;
        display: flex;
        justify-content: space-between
    }
}

.footer__nav {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem
}

@media (min-width:768px) {
    .footer__nav {
        flex-direction: row;
        gap: 2rem
    }
}

.footer__enlace {
    color: var(--blanco);
    font-size: 1.6rem;
    font-weight: 700;
    margin: .5rem 0;
    text-decoration: none;
    transition: color .3s ease
}

.footer__enlace:hover {
    color: var(--secundario)
}

.footer__datos {
    margin-bottom: 2rem;
    text-align: center
}

.footer__ubicacion {
    color: var(--blanco);
    font-size: 1.4rem;
    margin-bottom: 1rem
}

.footer__social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem
}

.footer__copyright-container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    text-align: center
}

.footer__social-icon {
    color: var(--blanco);
    font-size: 2.4rem;
    text-decoration: none;
    transition: color .3s ease, transform .3s ease
}

.footer__social-icon img {
    border-radius: 50%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.footer__social-icon:hover {
    color: var(--secundario);
    transform: scale(1.1)
}

.footer__copyright {
    color: var(--blanco);
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center
}

@media (min-width:768px) {
    .footer__copyright {
        font-size: 1.6rem
    }

    .footer__social-icon {
        font-size: 2.2rem
    }
}

@media (max-width:480px) {
    .footer__social-icon {
        font-size: 2rem
    }

    .footer__copyright {
        font-size: 1.2rem
    }
}

:root {
    --primary: #e1d4c9;
    color-scheme: light;
    --negro: #262626;
    --blanco: #fff;
    --fuente-principal: "Lato", sans-serif
}

a {
    color: inherit;
    font-weight: 400;
    text-decoration: none
}

.imagenes {
    height: 300px;
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    width: 300px
}

html {
    box-sizing: border-box;
    font-size: 62.5%
}

*,
:after,
:before {
    box-sizing: inherit
}

body {
    flex: 1;
    font-family: var(--fuente-principal);
    font-size: 2rem;
    line-height: 1.5
}

.bg-pattern {
    animation: shift 15s linear infinite;
    background: radial-gradient(circle at 100% 50%, #fff 0 2%, #f0f0f0 3% 5%, transparent 6%), radial-gradient(circle at 0 50%, #fff 0 2%, #f0f0f0 3% 5%, transparent 6%), radial-gradient(ellipse at 50% 0, #e0e0e0 0 3%, transparent 4%) 10px 10px, radial-gradient(circle at 50% 50%, #f0f0f0 0 1%, #fff 2% 3%, #e0e0e0 4% 5%, transparent 6%) 20px 20px;
    background-size: 50px 50px, 50px 50px, 40px 40px, 60px 60px;
    height: 100%;
    width: 100%
}

@media (max-width:768px) {
    .bg-pattern {
        animation: none
    }
}

@keyframes shift {
    0% {
        background-position: 0 0, 0 0, 10px 10px, 20px 20px
    }

    to {
        background-position: 50px 50px, -50px -50px, 60px 60px, 80px 80px
    }
}

img {
    max-width: 100%
}

[class*=contenedor] {
    margin: 0 auto;
    max-width: 120rem;
    width: 95%
}

.separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0;
    width: 100%
}

.spinner {
    height: 9px;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 9px
}

.spinner div {
    animation: spinner-fzua35 1s calc(var(--delay)*1s) infinite ease;
    background: #000;
    height: 150%;
    position: absolute;
    transform: rotate(calc(var(--rotation)*1deg)) translateY(calc(var(--translation)*1%));
    width: 50%
}

.spinner div:first-child {
    --delay: 0.1;
    --rotation: 36;
    --translation: 150
}

.spinner div:nth-child(2) {
    --delay: 0.2;
    --rotation: 72;
    --translation: 150
}

.spinner div:nth-child(3) {
    --delay: 0.3;
    --rotation: 108;
    --translation: 150
}

.spinner div:nth-child(4) {
    --delay: 0.4;
    --rotation: 144;
    --translation: 150
}

.spinner div:nth-child(5) {
    --delay: 0.5;
    --rotation: 180;
    --translation: 150
}

.spinner div:nth-child(6) {
    --delay: 0.6;
    --rotation: 216;
    --translation: 150
}

.spinner div:nth-child(7) {
    --delay: 0.7;
    --rotation: 252;
    --translation: 150
}

.spinner div:nth-child(8) {
    --delay: 0.8;
    --rotation: 288;
    --translation: 150
}

.spinner div:nth-child(9) {
    --delay: 0.9;
    --rotation: 324;
    --translation: 150
}

.spinner div:nth-child(10) {
    --delay: 1;
    --rotation: 360;
    --translation: 150
}

@keyframes spinner-fzua35 {

    0%,
    10%,
    20%,
    30%,
    50%,
    60%,
    70%,
    80%,
    90%,
    to {
        transform: rotate(calc(var(--rotation)*1deg)) translateY(calc(var(--translation)*1%))
    }

    50% {
        transform: rotate(calc(var(--rotation)*1deg)) translateY(calc(var(--translation)*1.5%))
    }
}

.n_coleccion-label,
.oferta-label,
.u_unidades-label {
    background-color: red;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 5px;
    white-space: nowrap;
    z-index: 10
}

.oferta-label {
    background-color: red
}

.u_unidades-label {
    background-color: #ffa600
}

.n_coleccion-label {
    background-color: #000
}

.precio-tachado {
    color: gray;
    font-size: 16px;
    text-decoration: line-through
}

.precio-oferta {
    color: red;
    font-size: 16px;
    font-weight: 700
}

.producto__colores {
    display: flex;
    justify-content: center;
    margin-bottom: .5rem
}

.shop-layout {
    align-items: flex-start;
    justify-content: flex-start
}

.products-container {
    flex: 1
}

.producto__imagen-container {
    align-items: center;
    display: flex;
    height: 35rem;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%
}

@media (max-width:341px) {
    .producto__imagen-container {
        height: 22rem
    }
}

.producto__imagen {
    border-radius: .5rem .5rem 0 0;
    cursor: pointer;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
    transition: transform .2s ease;
    width: 100%
}

.productos__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr)
}

@media (min-width:768px) {
    .productos__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (min-width:341px) and (max-width:767px) {
    .productos__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:341px) {
    .productos__grid {
        grid-template-columns: 1fr
    }

    .producto__imagen-container {
        height: auto;
        min-height: 22rem
    }
}

.producto {
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgb(0 0 0 / .1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-align: center
}

.producto__contenido {
    padding: 1.2rem 1rem
}

.producto__nombre {
    color: #333;
    font-size: 1.2rem;
    font-weight: 500
}

.producto__precio {
    color: #2c2e20;
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: .3rem
}

.labels-container {
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    left: 10px;
    padding: .5rem;
    position: absolute;
    top: 10px;
    z-index: 1
}

.filter-indicators {
    margin: 10px 0
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.filter-indicator {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #555;
    font-size: 12px;
    padding: 5px
}

.remove-filter {
    color: #d9534f;
    cursor: pointer;
    font-weight: 400;
    margin-left: 5px
}

.filter-line {
    border: none;
    border-top: 1px solid #ddd
}

.pagination-container {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.pagination a {
    border-radius: 5px;
    color: #c5999e;
    padding: 6px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .active {
    background-color: #c5999e;
    border-radius: 5px;
    color: #fff;
}

.pagination a:hover {
    background-color: #c5999e;
    color: #fff;
}

.pagination span {
    font-weight: 700;
}

/* Estilos para móviles */
@media (max-width: 600px) {
    .pagination {
        font-size: 12px;
        gap: 3px;
    }

    .pagination a, .pagination span {
        padding: 5px 8px;
    }

    .pagination .previous a::before {
        content: "«";
    }

    .pagination .next a::before {
        content: "»";
    }

    .pagination .previous a,
    .pagination .next a {
        text-indent: -9999px;
        display: inline-block;
        width: 20px;
        height: 20px;
        text-align: center;
    }

    .pagination .previous.disabled::before,
    .pagination .next.disabled::before {
        color: #ccc;
    }

    .pagination span, .pagination a {
        min-width: 28px;
        text-align: center;
    }
}


.order-container {
    margin-bottom: 2rem;
    text-align: right
}

.order-form {
    display: flex
}

.order-select {
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 1rem;
    padding: 1rem 1.5rem;
    transition: background-color .3s, color .3s
}

.order-select:hover {
    background-color: #e0e0e0;
    cursor: pointer
}

.order-select:focus {
    background-color: #fff;
    box-shadow: 0 0 5px rgb(0 0 0 / .2);
    outline: 0
}

.filter-container {
    width: 250px;
    min-width: 200px;
    margin-right: 2rem;
    overflow: visible
}

.filter-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: center
}

.toggle-icon {
    font-size: 20px;
    cursor: pointer
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 10px;
    overflow: hidden
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem
}

.filter-option input[type=checkbox] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 8px
}

.filter-option label {
    color: var(--negro);
    font-size: 1rem
}

.filter-container h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center
}

.scrollable {
    max-height: 220px;
    overflow-y: auto
}

@media (min-width:769px) {
    .scrollable {
        overflow-y: auto;
        max-height: 250px
    }
}

@media (max-width:768px) {
    .filter-container {
        width: 100%;
        max-width: 280px;
        margin: 0 auto
    }

    .filter-options {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        max-height: 250px;
        padding-bottom: 8px;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
        align-items: flex-start
    }

    .filter-option {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 10px
    }

    .filter-title {
        font-size: 1.4rem;
        text-align: center
    }

    .toggle-icon {
        font-size: 18px
    }
}

.filter-options::-webkit-scrollbar {
    width: 6px
}

.filter-options::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px
}

.filter-options::-webkit-scrollbar-track {
    background: #f1f1f1
}

.price-range {
    align-items: center;
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center
}

.price-range input[type=number] {
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1.2rem;
    padding: 10px;
    width: 100%;
    text-align: center;
    flex-grow: 1
}

.price-range span {
    font-size: 1.5rem;
    font-weight: 600
}

.filter-buttons {
    display: flex;
    gap: 16px;
    margin-top: 1rem;
    width: 100%;
    justify-content: center
}

.filter-buttons a,
.filter-buttons button {
    border-radius: 5px;
    color: #fff;
    font-size: 1.2rem;
    padding: 12px 24px;
    text-decoration: none;
    transition: background-color .3s ease, transform .2s;
    flex-grow: 1;
    text-align: center
}

.filter-buttons button {
    background-color: #c5999e;
    border: none;
    border-radius: 10rem;
    font-weight: 600;
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease
}

.filter-buttons button:hover {
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    transform: translateY(-2px)
}

.filter-buttons a {
    background-color: #d1baa6;
    border-radius: 10rem;
    font-weight: 600;
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease
}

.filter-buttons a:hover {
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    transform: translateY(-2px)
}

.filter-buttons a,
.filter-buttons button {
    box-shadow: 0 4px 6px rgb(0 0 0 / .1)
}

.sidebar {
    margin-right: 40px;
    width: 250px
}

.shop-layout {
    display: flex;
    flex-direction: row;
    gap: 20px
}

@media (max-width:1024px) {
    .shop-layout {
        flex-direction: column
    }

    .sidebar {
        margin-bottom: 20px;
        margin-right: 0
    }

    .products-container,
    .sidebar {
        width: 100%
    }
}

.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px
}

.product-detail {
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    max-width: 800px;
    padding: 20px;
    width: 100%
}

.titulo__detalle {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.5;
    margin: 20px 0;
    text-align: left;
    text-shadow: 1px 1px 2px rgb(0 0 0 / .1);
    text-transform: uppercase
}

@media (max-width:768px) {
    .product-detail {
        align-items: center;
        flex-direction: column
    }

    #product-image {
        height: auto;
        margin-bottom: 10px;
        margin-right: 0;
        width: 100%
    }
}

#product-image {
    border-radius: 5px;
    height: 30rem;
    margin-right: 20px;
    -o-object-fit: contain;
    object-fit: contain;
    width: 30rem
}

.variants-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 10px
}

.color-box {
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    display: flex;
    height: 50px;
    justify-content: center;
    overflow: hidden;
    transition: border-color .3s;
    width: 50px
}

.color-box:hover {
    border-color: #000
}

.color-box img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.whatsapp-container {
    margin-top: 20px;
    text-align: left
}

.whatsapp-button {
    align-items: center;
    background-color: #25d366;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    justify-content: center;
    padding: 2rem 3rem;
    text-decoration: none;
    transition: background-color .3s ease
}

.whatsapp-button:hover {
    background-color: #128c7e
}

.whatsapp-button i {
    font-size: 1.2rem;
    margin-right: 10px
}

@media (max-width:768px) {
    .whatsapp-button {
        width: 100%;
        padding: 1.5rem
    }
}

.related-products {
    background-color: #fff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center
}

.related-products__title {
    color: #222;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    position: relative;
    text-transform: uppercase
}

.related-products__title:after {
    background-color: #000;
    bottom: -10px;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 60px
}

.related-products__list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    width: 100%
}

.related-products__item {
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgb(0 0 0 / .1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease
}

.related-products__item:hover {
    box-shadow: 0 8px 24px rgb(0 0 0 / .2);
    transform: translateY(-10px)
}

.related-products__image-wrapper {
    align-items: center;
    display: flex;
    height: 200px;
    justify-content: center;
    overflow: hidden;
    width: 100%
}

.related-products__image {
    height: 100%;
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    transition: transform .3s ease;
    width: auto
}

.related-products__item:hover .related-products__image {
    transform: scale(1.05)
}

.related-products__name {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 .75rem;
    text-align: center
}

.related-products__price {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem
}

.related-products__link {
    background-color: #bd9f9f;
    border-radius: .75rem;
    color: #fff;
    font-size: .95rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    overflow: hidden;
    padding: .75rem 1.5rem;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .3s ease, transform .3s ease;
    z-index: 1
}

.related-products__link:before {
    background: linear-gradient(90deg, transparent, hsl(0 0 100% / .3), transparent);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left .5s ease;
    width: 100%;
    z-index: -1
}

.related-products__link:hover:before {
    left: 100%
}

.related-products__separator {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 1.5rem auto;
    width: 80%
}

@media (max-width:1200px) {
    .related-products__list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
    }
}

@media (max-width:768px) {
    .related-products__list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }
}

@media (max-width:480px) {
    .related-products__list {
        grid-template-columns: 1fr
    }

    .related-products__title {
        font-size: 1.5rem
    }
}

.section-title {
    color: #222;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    text-align: center
}

.section-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem 0
}

.categories-wrapper,
.section-wrapper {
    display: flex;
    justify-content: center;
    width: 100%
}

.categories-wrapper {
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    padding: 20px
}

.category-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: linear-gradient(hsl(0 0 100% / .2), hsl(0 0 100% / .1));
    border: 1px solid hsl(0 0% 100% / .2);
    border-radius: 15px;
    box-shadow: 0 25px 25px rgb(0 0 0 / .25);
    box-sizing: border-box;
    cursor: pointer;
    flex-direction: column;
    height: 400px;
    margin: 0 10px;
    max-width: 300px;
    overflow: hidden;
    position: relative;
    text-align: center;
    transform: rotate(0);
    transition: .5s
}

.category-card,
.category-card:before {
    align-items: center;
    display: flex;
    width: 100%
}

.category-card:before {
    background: hsl(0 0% 100% / .1);
    bottom: 0;
    color: #fff;
    content: attr(data-text);
    font-weight: 700;
    height: 40px;
    justify-content: center;
    position: absolute
}

.category-link {
    align-items: center;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    width: 100%
}

.category-image {
    background-color: #f4f4f4;
    border-bottom: 1px solid #dcdcdc;
    height: 75%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.category-text {
    color: #555;
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
    transition: color .3s ease
}

.central {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 150rem;
    padding: 2rem
}

@media (min-width:1400px) {
    .category-card {
        margin: 0 -45px;
        transform: rotate(calc(var(--r, 10)*1deg))
    }

    .categories-wrapper:hover .category-card {
        margin: 0 10px;
        transform: rotate(0)
    }
}

@media (max-width:768px) {
    .categories-wrapper {
        gap: 20px;
        padding: 10px
    }

    .category-card {
        height: auto;
        margin: 0;
        max-width: 100%;
        width: 100%;
        min-height: 35rem
    }

    .category-image {
        height: 25rem;
        object-fit: cover
    }

    .category-text {
        font-size: 16px;
        margin-top: 10px
    }
}

.custom-slider {
    margin: 0 auto;
    max-width: 80%;
    overflow: hidden;
    position: relative;
    width: 80%
}

.custom-slider-container {
    display: flex;
    transition: transform .5s ease-in-out
}

.custom-slider-item {
    align-items: center;
    display: flex;
    flex: 0 0 25%;
    justify-content: center
}

.custom-slider-item img {
    height: auto;
    max-height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 80%
}

.custom-left-arrow,
.custom-right-arrow {
    background-color: rgb(0 0 0 / .5);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10
}

.custom-left-arrow {
    left: 10px
}

.custom-right-arrow {
    right: 10px
}

.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%
}

.product-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 4rem;
    scroll-behavior: smooth;
    width: 100%
}

.product-track::-webkit-scrollbar {
    display: none
}

.product-card {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: hsl(0 0% 100% / .15);
    border: 1px solid rgb(144 161 255 / .171);
    border-radius: 16px;
    box-shadow: 0 6px 12px rgb(0 0 0 / .1);
    cursor: pointer;
    flex: 0 0 300px;
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
    text-align: center;
    transition: .4s
}

.product-card:hover {
    transform: scale(1.1)
}

.product-track:hover>.product-card:not(:hover) {
    filter: blur(5px);
    transform: scale(.9)
}

.product-card img {
    border-radius: 16px;
    height: 280px;
    -o-object-fit: contain;
    object-fit: contain;
    transition: transform .3s ease;
    width: 100%
}

.product-card h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1.5rem 0 .5rem
}

.product-card .producto__precio {
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem
}

@media (max-width:768px) {

    .product-info .precio-oferta,
    .product-info .precio-tachado,
    .product-info .producto__precio {
        font-size: 2rem;
        text-align: center;
        width: 100%;
        margin: 0 auto
    }
}

.product-card .producto__btn {
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: .75rem 1.5rem;
    transition: background-color .3s ease, transform .3s ease
}

.product-card .producto__btn:hover {
    background-color: #218838;
    transform: scale(1.05)
}

.slider-arrow {
    align-items: center;
    background-color: hsl(0 0% 100% / .9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgb(0 0 0 / .2);
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    height: 60px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s ease, transform .3s ease;
    width: 60px;
    z-index: 10
}

.slider-arrow:hover {
    opacity: .9;
    transform: translateY(-50%)
}

.left-arrow {
    left: 20px
}

.right-arrow {
    right: 20px
}

.slider-arrow.disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: translateY(-50%) scale(1)
}

@media (max-width:768px) {
    .product-card {
        flex: 0 0 90%;
        margin: 0 5px
    }

    .slider-arrow {
        display: none
    }

    .product-track {
        gap: 1rem
    }

    .product-card .producto__precio,
    .product-card h3 {
        font-size: 1.2rem
    }

    .product-card img {
        height: 220px
    }
}