/* ============================================
   THEME 10 - SmartCell E-commerce
   Diseño limpio, moderno, orientado a conversión
   ============================================ */

/* ---------- HERO ---------- */
.t10-carousel {
    position: relative;
    overflow: hidden;
}

.t10-hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    transition: background-image 0.6s ease-in-out;
}

.t10-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%);
}

.t10-hero-bg .container {
    position: relative;
    z-index: 2;
}

/* Transiciones suaves en contenido rotativo */
.t10-hero-title,
.t10-hero-subtitle,
.t10-hero-img img {
    transition: opacity 0.4s ease-in-out;
}

/* --- Carousel Controls --- */
.t10-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.t10-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.t10-dot-active,
.t10-dot:hover {
    background: #25d366;
    border-color: #25d366;
}

.t10-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.t10-carousel-arrow:hover {
    background: #25d366;
    border-color: #25d366;
}

.t10-arrow-prev { left: 20px; }
.t10-arrow-next { right: 20px; }

.min-vh-50 {
    min-height: 50vh;
}

.t10-hero-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.t10-hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.t10-search-box {
    max-width: 500px;
}

.t10-search-input {
    height: 52px;
    border: none;
    border-radius: 8px 0 0 8px !important;
    font-size: 15px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.t10-search-input:focus {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    outline: none;
}

.t10-search-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0 !important;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 15px;
    height: 52px;
    transition: background 0.3s;
}

.t10-search-btn:hover {
    background: #1da851;
    color: #fff;
}

.t10-hero-img img {
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: t10Float 3s ease-in-out infinite;
}

@keyframes t10Float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- BENEFITS BAR ---------- */
.t10-benefits {
    background: #f8f9fa;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.t10-benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.t10-benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t10-benefit-icon i {
    color: #fff;
    font-size: 20px;
}

.t10-benefit-text h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.t10-benefit-text p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* ---------- SECTION HEADER ---------- */
.t10-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.t10-section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.t10-view-all {
    color: #25d366;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.t10-view-all:hover {
    color: #128c7e;
    text-decoration: none;
}

.t10-view-all i {
    margin-left: 4px;
    transition: transform 0.3s;
}

.t10-view-all:hover i {
    transform: translateX(4px);
}

/* ---------- CATEGORIES ---------- */
.t10-categories {
    background: #fff;
}

.t10-category-card {
    display: block;
    text-align: center;
    padding: 20px 10px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    text-decoration: none;
    margin-bottom: 20px;
}

.t10-category-card:hover {
    border-color: #25d366;
    box-shadow: 0 5px 20px rgba(37,211,102,0.1);
    transform: translateY(-3px);
    text-decoration: none;
}

.t10-category-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
}

.t10-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t10-category-card h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.t10-category-card:hover h5 {
    color: #25d366;
}

/* ---------- PRODUCT CARDS ---------- */
.t10-product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.t10-product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.t10-product-img {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
}

.t10-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.t10-product-card:hover .t10-product-img img {
    transform: scale(1.05);
}

.t10-product-img .product-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.t10-product-card:hover .t10-product-img .product-overlay {
    opacity: 1;
}

.t10-product-img .product-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.t10-product-img .product-overlay ul li a,
.t10-product-img .product-overlay ul li button {
    width: 42px;
    height: 42px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.t10-product-img .product-overlay ul li a:hover,
.t10-product-img .product-overlay ul li button:hover {
    background: #25d366;
    color: #fff;
}

.t10-badge-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.t10-product-info {
    padding: 15px;
}

.t10-product-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.t10-product-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.t10-product-info h5 a:hover {
    color: #25d366;
}

.t10-product-info .rate {
    margin-bottom: 8px;
}

.t10-price {
    margin: 0;
}

.t10-current {
    font-size: 18px;
    font-weight: 700;
    color: #25d366;
}

.t10-old {
    font-size: 14px;
    color: #999;
    margin-left: 8px;
}

/* ---------- FEATURED SECTION ---------- */
.t10-featured {
    background: #f8f9fa;
    padding-top: 40px;
}

/* ---------- CTA REGISTER ---------- */
.t10-cta {
    padding: 0;
    margin: 40px 0;
}

.t10-cta-box {
    background: linear-gradient(135deg, #128c7e, #25d366);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
}

.t10-cta-box h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.t10-cta-box h3 i {
    margin-right: 10px;
}

.t10-cta-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 15px;
}

.t10-cta-btn {
    background: #fff;
    color: #128c7e;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.t10-cta-btn:hover {
    background: #f0f0f0;
    color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ---------- PROMO BANNERS ---------- */
.t10-promo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.t10-promo-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 16px;
}

.t10-promo-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    width: 100%;
}

.t10-promo-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.t10-promo-price {
    color: #25d366;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.t10-promo-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.t10-promo-btn:hover {
    background: #1da851;
    color: #fff;
}

/* ---------- WHATSAPP FLOAT ---------- */
.t10-whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: all 0.3s;
    text-decoration: none;
}

.t10-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.6);
    color: #fff;
    text-decoration: none;
}

.t10-whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: t10Pulse 2s infinite;
    z-index: -1;
}

@keyframes t10Pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .t10-hero-title {
        font-size: 2rem;
    }
    .t10-hero-bg {
        padding: 50px 0;
    }
    .t10-search-box {
        max-width: 100%;
    }
    .t10-cta-box {
        text-align: center;
    }
    .text-lg-right {
        text-align: center !important;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .t10-hero-title {
        font-size: 1.5rem;
    }
    .t10-hero-subtitle {
        font-size: 1rem;
    }
    .t10-benefit-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    .t10-section-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .t10-section-header h2 {
        font-size: 1.3rem;
    }
    .t10-cta-box {
        padding: 25px;
    }
    .t10-cta-box h3 {
        font-size: 1.2rem;
    }
    .t10-whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* ---------- SECTION GAP ---------- */
.section-gap {
    padding: 50px 0;
}

.section-gap-bottom {
    padding-bottom: 50px;
}

/* ---------- PRODUCT OVERLAY HIDDEN (for theme10) ---------- */
.t10-product-img.product-overlay-hidden .product-overlay {
    display: none !important;
}
