.reels-slider-container {
    padding: 20px 10px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.reels-swiper .swiper-wrapper {
    overflow: visible;
}

.reels-swiper .swiper-slide {
    width: 220px;
    margin-right: 16px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* Efecto por defecto (zoom) */
.reels-swiper .swiper-slide.zoom:hover {
    transform: scale(1.05);
}

/* Efecto Shake */
.reels-slider-item.shake:hover {
    animation: shakeEffect 0.5s;
}

@keyframes shakeEffect {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Efecto Fade In */
.reels-slider-item.fade-in {
    opacity: 0;
    animation: fadeInEffect 0.8s forwards;
}
.reels-slider-item.fade-in:hover {
    animation: none;
    animation: fadeInEffect 0.8s forwards;
}
@keyframes fadeInEffect {
    to { opacity: 1; }
}

/* Efecto Fade In Up */
.reels-slider-item.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpEffect 0.8s forwards;
}
.reels-slider-item.fade-in-up:hover {
    animation: none;
    animation: fadeInUpEffect 0.8s forwards;
}
@keyframes fadeInUpEffect {
    to { opacity: 1; transform: translateY(0); }
}

/* Efecto Slide In */
.reels-slider-item.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInEffect 0.8s forwards;
}
.reels-slider-item.slide-in:hover {
    animation: none;
    animation: slideInEffect 0.8s forwards;
}
@keyframes slideInEffect {
    to { opacity: 1; transform: translateX(0); }
}

/* Efecto Blur */
.reels-swiper .swiper-slide.blur {
    filter: blur(4px);
    transition: filter 0.5s;
}
.reels-swiper .swiper-slide.blur:hover {
    filter: blur(0);
}

/* Efecto Brightness */
.reels-swiper .swiper-slide.brightness {
    filter: brightness(0.5);
    transition: filter 0.5s;
}
.reels-swiper .swiper-slide.brightness:hover {
    filter: brightness(1);
}

/* Efecto Saturate */
.reels-swiper .swiper-slide.saturate {
    filter: saturate(0.3);
    transition: filter 0.5s;
}
.reels-swiper .swiper-slide.saturate:hover {
    filter: saturate(1);
}

/* Efecto Scale + Rotate */
.reels-swiper .swiper-slide.scale-rotate:hover {
    transform: scale(1.05) rotate(5deg);
}
.reels-swiper video {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.reel-info {
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.reel-info h4 {
    font-size: 12px;
    margin-bottom: 4px;
    color: #333;
    font-weight: 600;
}

.reel-meta {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.reel-price {
    font-weight: bold;
    font-size: 14px;
    color: #e53935;
}

.reel-sku {
    font-weight: bold;
    font-size: 12px;
    color: #555;
}

.reel-add-to-cart {
    display: inline-block;
    background: var(--reels-btn-bg, #6cbdb6);
    color: var(--reels-btn-text-color, #fff) !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: var(--reels-btn-font-size, 11px);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
    cursor: pointer;
    width: fit-content;
    align-self: flex-start;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reel-add-to-cart:empty {
    display: none;
}

.reel-add-to-cart:hover {
    background: var(--reels-btn-hover-bg, #25D366);
    color: var(--reels-btn-hover-text-color, #fff) !important;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .reels-swiper .swiper-slide {
        width: 48% !important;
        margin-right: 10px;
    }

    .reel-info h4 {
        font-size: 12px;
    }

    .reel-price {
        font-size: 12px;
    }

    .reel-sku {
        font-size: 11px;
    }

    .reel-add-to-cart {
        font-size: var(--reels-btn-font-size-mobile, 10px);
        padding: 4px 8px;
        border-radius: 16px;
    }
}

/* MODAL ESTILOS */
.reel-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
}

.reel-modal-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.reel-modal video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.reel-modal-close {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.modal-product-info {
    margin-bottom: 8px;
}

.modal-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.modal-product-price {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
    margin-bottom: 10px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    gap: 12px;
}

.modal-buttons a,
.modal-buttons button {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-more-info {
    background: var(--modal-more-bg, #007bff);
    color: var(--modal-more-text-color, #fff);
}

.modal-more-info:hover {
    background: var(--modal-more-hover-bg, #0056b3);
    color: var(--modal-more-hover-text-color, #fff);
    transform: translateY(-2px);
}

.modal-add-to-cart {
    background: var(--modal-add-bg, #28a745);
    color: var(--modal-add-text-color, #fff);
}

.modal-add-to-cart:hover {
    background: var(--modal-add-hover-bg, #1e7e34);
    color: var(--modal-add-hover-text-color, #fff);
    transform: translateY(-2px);
}

.modal-like {
    background-color: #e83e8c;
}

.modal-like.liked {
    background-color: #c82368;
}

.modal-share {
    background-color: #17a2b8;
}

.modal-share:hover {
    background-color: #117a8b;
}

/* Botones flotantes estilo TikTok / Reels */
.reel-modal-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.reel-float-button {
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reel-float-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.reel-float-button i {
    font-size: 20px;
}

.reel-float-button span {
    font-size: 10px;
    margin-top: 2px;
    text-align: center;
    line-height: 1;
}

/* NUEVO MODAL COMPARTIR */
#share-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

#share-modal .share-modal-content {
    background: #fff;
    width: 90%;
    max-width: 300px;
    margin: 120px auto;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

#share-modal .share-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

#share-modal .share-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#share-modal .share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    color: #555;
    transition: transform 0.2s ease, color 0.2s ease;
}

#share-modal .share-button i {
    font-size: 32px;
    margin-bottom: 6px;
    transition: transform 0.3s ease, color 0.3s ease;
}

#share-modal .share-button.whatsapp i {
    color: #25D366;
}

#share-modal .share-button.twitter i {
    color: #1DA1F2;
}

#share-modal .share-button.copy i {
    color: #333;
}

#share-modal .share-button:hover {
    transform: translateY(-4px);
    color: #000;
}

#share-modal .share-button:hover i {
    transform: scale(1.2);
    color: #000;
}

#share-modal .share-button span {
    font-size: 13px;
    margin-top: 2px;
    color: #555;
    font-weight: bold;
}