* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: black;
    min-height: 100vh;
}

button,
a,
input,
textarea,
select,
.menu-toggle,
.scroll-down-arrow,
.scroll-down,
.filter-toggle {
    -webkit-tap-highlight-color: transparent;
}

.container,
.products-section {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    color: aliceblue;
}

.products-section {
    padding-bottom: 2rem;
    background: linear-gradient(0deg, #121115 0%, #11111575 8%, #9c27b000 10%, #9c27b000 100%);
}

.footer {
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: #d9d9d9;
    font-size: 0.7rem;
}

.Box-Master {
    width: 100%;
    background: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(272deg, #1a21518a 0%, #070a16 50%, #3d0e3496 100%);
    flex-direction: column;
}

/* Header */
header {
    background: rgb(0 0 0 / 95%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    max-width: 1100px;
}

.header-content {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 2rem;
    margin-bottom: 4rem;
    gap: 5px;
}

.logo img {
    height: 95px;
}

.tex-background {
    padding: 0px 10px 3px 10px;
    border-radius: 30px;
}

#titleanim {
    background: linear-gradient(90deg, #af0984, #af0984, #af0984, #af0984, #5185fb, #7c10cd, #7c10cd, #7c10cd, #7c10cd, #5185fb, #af0984, #af0984, #af0984, #af0984);
    background-size: 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove linear 7s infinite;
    margin: 0px;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Hero Section */
.hero {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    align-items: center;
    color: #e1e1e1;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
}

.content-master {
    position: relative;
    background: #1a1a21b4;
    margin-top: 170px;
    border-radius: 24px 24px 0px 0px;
    backdrop-filter: blur(34px);
    width: 100%;
    max-width: 1100px;
}

/* Botón de filtro fijo */
.filter-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #e91e63;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    background: #ad1457;
    transform: translateY(-50%) scale(1.1);
}

/* Panel lateral de categorías */
.categories-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1500;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px;
}

.categories-panel.open {
    right: 0;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categories-header h3 {
    color: #333;
    margin: 0;
}

.close-categories {
    background: #f34a4a;
    border-radius: 7px;
    padding: 0.2rem 0.7rem;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}



.categories-list {
    list-style: none;
}

.category-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item:hover {
    background: #f5f5f5;
}

.category-item.active {
    background: #e91e63;
    color: white;
}

.product-count {
    background: #eee;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.category-item.active .product-count {
    background: rgba(255, 255, 255, 0.3);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    display: none;
}

/* Títulos de sección */
.section-title,
.featured-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
}

.section-title::before,
.featured-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    top: -7px;
}

.featured-title::after {
    bottom: -10px;
}

/* Botones de vista */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.view-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 0px solid #e91e63;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #e91e63;
    color: white;
}

.view-btn:hover {
    transform: scale(1.05);
}

.view-btn img {
    height: 100%;
}

/* Grid de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.products-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
}

/* Tarjetas de producto */
.product-card {
    flex: 0 0 auto;
    width: 280px;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
}

.product-info {
    padding: 0rem 1rem 0.3rem 1rem;
    background: white;
}

.product-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.product-info h3 {
    color: #666;
    font-size: 0.8rem;
}

.product-description {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

.product-description p {
    color: #292929;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e91e63;
}

/* Estilos para vista compacta */
.products-grid.compact .product-card {
    border-radius: 14px;
}

.products-grid.compact .product-image {
    height: 140px;
    font-size: 3rem;
}

.products-grid.compact .product-info {
    padding: 0.2rem 0.4rem 0.4rem 0.4rem;
}

.products-grid.compact .product-name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.products-grid.compact .product-price {
    font-size: 1.2rem;
}

.products-grid.compact .product-description {
    font-size: 0.6rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    border-radius: 15px;
    text-align: center;
    max-height: 90%;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-content.closing {
    animation: slideDown 0.3s ease-in forwards;
}



@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
}

.modal-title {
    width: 100%;
    min-height: 50px;
    border-bottom: 1px solid rgb(157 157 157);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(83deg, #e91e63, #5c27b0);
        /*background: gray;*/
    color: white;
    padding: 0.5rem 1rem;
}

.modal-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0 55px;
}

.modal-close {
    position: absolute;
    right: 0px;
    margin: 7px;
    font-family: math;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ff2a2a;
    color: #ffd8d8;
    padding: 0px 12px;
    border-radius: 7px;
    pointer-events: auto;
    border: none;
}

.modal-body {
    background: rgb(255 255 255);
    overflow: auto;
    flex: 1;
    padding: 1.5rem;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Estilos para la galería de imágenes */
.modal-product-gallery {
    position: relative;
    margin-bottom: 1.5rem;
}

.gallery-main {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    background: #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.gallery-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    flex-shrink: 0;
    border: 2px solid transparent;
    filter: brightness(0.9);
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: #e91e63;
    filter: brightness(1);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Estilos para la galería de imágenes FIN */


.modal-product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0.5rem;
}

#modalProductName2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

#modalProductPrice {
    font-size: 2rem;
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 1.5rem;
    text-align: center;
    background: #f9f9f9;
    padding: 0.5rem;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

#modalProductDescription {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff3fe;
    border-radius: 8px;
    border-left: 4px solid #e91e63;
}

.product-name-header,
.product-description-header {
    font-size: 1.1rem;
    color: #666;
}

.product-description-header {
    margin-bottom: 0.5rem;
}

.modal-footer {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgb(201 213 243);
    display: flex;
    justify-content: center;
}

/* Botón de WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover,
.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 10px;
    z-index: 1000;
    justify-content: center;
    padding: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #666;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Divisiones */
.division {
    position: relative;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    border-radius: 2px;
    margin: 1rem 0rem;
}

.division2 {
    position: relative;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    border-radius: 2px;
}

/* Secciones inferiores */
.prev-info-down {
    position: relative;
    background: #121115;
    padding: 1rem;
    padding-bottom: 3rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    /*background: linear-gradient(0deg, #000000 0%, #121115 100%);*/
    background: linear-gradient(0deg, #101016 0%, #121115 100%);
}

.prev-info-down p {
    color: #d9d9d9;
    font-size: 0.8rem;
    text-align: center;
}

.info-down {
    position: relative;
    background: #121216;
    /*background: #000000;*/
    background: #101016;
}

.background-down {
    background-image: url(../img/background_footer_1.png);
    background-size: contain;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: 100%;
    max-width: 1100px;
}

.info-general {
    text-align: center;
    background: #ededed;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    margin: 2rem 1rem 1rem 1rem;
}

.background-down img {
    width: 100%;
    height: 30%;
    object-fit: contain;
    transform: translate(0%, 85%);
    animation: neon1 10s linear infinite;
}

@keyframes neon1 {
    0% {
        filter: brightness(0.8);
    }

    20% {
        filter: brightness(0.8);
    }

    21% {
        filter: brightness(0.4);
    }

    22% {
        filter: brightness(0.8);
    }

    23% {
        filter: brightness(0.4);
    }

    24% {
        filter: brightness(0.8);
    }

    25% {
        filter: brightness(0.4);
    }

    26% {
        filter: brightness(0.8);
    }

    27% {
        filter: brightness(0.8);
    }

    50% {
        filter: brightness(0.8);
    }

    78% {
        filter: brightness(0.8);
    }

    79% {
        filter: brightness(0.8);
    }

    80% {
        filter: brightness(0.4);
    }

    81% {
        filter: brightness(0.8);
    }

    82% {
        filter: brightness(0.4);
    }

    83% {
        filter: brightness(0.8);
    }

    100% {
        filter: brightness(0.8);
    }
}

.info-mini-redes {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    top: -50px;
}

.info-mini-redes h6 {
    font-family: sans-serif;
    font-weight: 100;
    color: #b9b9b9;
    margin-block-start: 25px;
    margin-block-end: 5px;
    font-size: 14px;
    padding: 4px;
    border-radius: 7px;
    width: 100%;
    text-align: center;
    display: flow;
}

.info-mini-redes div {
    display: flex;
}

.info-mini-redes img {
    height: 32px;
    margin: 0px 10px;
    display: inline-flex;
    justify-content: center;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #121217;
    color: white;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    max-width: 1100px;
    /*background: #000000;*/
    background: #0f0f15;
}

/* Botón "Mostrar Todo" */
.show-all-btn {
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    color: white;
    border: none;
    padding: 0.2rem 0.4rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 400;
}

.category-products.expanded {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    overflow-x: visible;
}

.category-products.expanded .product-card {
    width: 100%;
}

.category-products.expanded~.category-nav {
    display: none !important;
}

.category-header {
    display: flex;
    margin-bottom: 0.7rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Productos destacados */
.featured-section {
    width: 100%;
    margin-bottom: 2rem;
}

.featured-products-container {
    width: 100%;
    overflow-x: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-products-container::-webkit-scrollbar {
    display: none;
}

.featured-products {
    display: inline-flex;
    gap: 1rem;
    padding: 0 20px;
}

.featured-products-track {
    display: flex;
    animation: scrollFeatured 30s linear infinite;
    width: max-content;
}

.featured-product-card {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 1rem;
}

.featured-product-card:hover {
    transform: scale(0.98);
}

.featured-products-container:hover .featured-products-track {
    animation-play-state: paused;
}

@keyframes scrollFeatured {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.featured-product-image {
    width: 100%;
    height: 180px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-product-info {
    padding: 0.2rem 0.4rem 0.4rem 0.4rem;
}

.featured-product-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: #333;
    text-align: center;
}

.featured-product-info h3 {
    font-size: 0.7rem;
    color: #333;
}

.featured-product-description {
    color: #666;
    font-size: 0.6rem;
    font-weight: 400;
    text-align: center;
}

.featured-product-description p,
#text-card-description p {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.featured-product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e91e63;
    text-align: center;
    margin-top: 0.2rem;
}

.no-featured {
    text-align: center;
    padding: 2rem;
    color: #aaa;
    font-style: italic;
}

/* Textos dinámicos */
.dynamic-text-section {
    width: 100%;
    text-align: center;
    padding: 0.2rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: #e1e1e1;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.dynamic-text-container {
    position: relative;
    height: 60px;
    overflow: hidden;
    width: 100%;
}

.dynamic-texts-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.dynamic-text {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-indicators {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    gap: 8px;
}

.indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Categorías y productos */
.category-section {
    margin-bottom: 0.5rem;
}

.category-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    position: relative;
}

.category-products-container {
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

.category-products {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 0.7rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-products::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(45deg, #e91e6340, #9c27b059);
    border-radius: 2px;
}

.category-products::-webkit-scrollbar {
    display: none;
}

.category-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(233 30 99);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.category-nav:hover {
    opacity: 1;
    background: rgb(173, 18, 70);
}

.category-nav.prev {
    left: 0;
}

.category-nav.next {
    right: 0;
}

.category-nav.hidden {
    display: none;
}

/* Elementos varios */
.line01 {
    height: 3px;
    width: 85px;
    border-radius: 15px;
    background: #d72fc1;
    position: relative;
    top: -7px;
}

.shadow-img {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #ff000000;
    box-shadow: inset 0px -17px 33px -22px rgb(0 0 0 / 27%);
}

.social-icon {
    position: absolute;
    right: 0;
    top: 0;
}

.social-icon button {
    background: #00000000;
    border: none;
    height: 36px;
    margin: 0.7rem;
}

.social-icon img {
    height: 100%;
}

.social-icon a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.video-fondo {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.meta-preview {
    display: none;
}

/* Age verification */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.age-btn {
    background: #e91e63;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.age-btn:hover {
    background: #ad1457;
}

.age-btn.secondary {
    background: #666;
}

.age-btn.secondary:hover {
    background: #555;
}











/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-grid.compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .modal-content {
        height: 100%;
        max-height: 100%;
        border-radius: 0px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .modal-title h3 {
        font-size: 1.2rem;
        padding: 0 40px;
    }

    #modalProductName2 {
        font-size: 1.4rem;
    }

    .product-description {
        font-size: 0.8rem;
        display: none;
    }

    #modalProductPrice {
        font-size: 1.6rem;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbnail {
        width: 50px;
        height: 50px;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        padding: 10px;
    }

    .categories-panel {
        width: 74%;
        right: -85%;
    }

    .filter-toggle {
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .category-products-container {
        padding: 0px;
    }

    .category-nav {
        display: none;
    }

    .product-card {
        width: 200px;
    }

    .product-image {
        height: 150px;
    }

    .featured-product-image {
        height: 140px;
    }

    .dynamic-text {
        font-size: 0.95rem;
    }

    .dynamic-text-container {
        height: 70px;
    }

    .category-products.expanded {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 1fr;
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 0.7rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 160px;
    }

    .product-info {
        padding: 0rem 0.5rem 0.2rem 0.5rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1rem;
    }
}































/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    border-radius: 15px;
    text-align: center;
    max-height: 90%;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-body {
    background: rgb(255 255 255);
    overflow: auto;
    flex: 1;
    padding: 1.5rem;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* MEJORA: Asegurar que el contenido se ajuste correctamente */
.modal-product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0.5rem;
    min-width: 0; /* Importante para evitar desbordamiento */
}

#modalProductName2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word; /* Permitir que palabras largas se dividan */
    overflow-wrap: break-word; /* Compatibilidad adicional */
}

#modalProductDescription {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff3fe;
    border-radius: 8px;
    border-left: 4px solid #e91e63;
    word-wrap: break-word; /* Permitir que palabras largas se dividan */
    overflow-wrap: break-word; /* Compatibilidad adicional */
    max-width: 100%; /* Asegurar que no exceda el ancho del contenedor */
    overflow: hidden; /* Ocultar contenido que se desborde */
}

/* MEJORA: Para contenido HTML dentro de la descripción */
.html-content {
    width: 100%;
    max-width: 100%;
}

.html-content * {
    max-width: 100%; /* Asegurar que todos los elementos hijos respeten el ancho */
}

/* MEJORA: Para pantallas móviles */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    #modalProductName2 {
        font-size: 1.4rem;
    }
    
    #modalProductDescription {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .modal-product-info {
        margin-top: 0;
    }

        .modal-content {
        height: 100%;
        max-height: 100%;
        border-radius: 0px;
    }


}

@media (max-width: 480px) {
    #modalProductName2 {
        font-size: 1.2rem;
    }
    
    #modalProductDescription {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}