
/* =====================================================
   SLIDER - ALTURA FIJA
   ===================================================== */

/* Slider Principal - Altura fija */
.tf-slideshow.slider-default {
    height: 600px; /* Altura fija - ajusta según necesites */
    overflow: hidden;
}

.tf-slideshow.slider-default .swiper,
.tf-slideshow.slider-default .swiper-wrapper,
.tf-slideshow.slider-default .swiper-slide {
    height: 100%;
}

.tf-slideshow.slider-default .wrap-slider {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tf-slideshow.slider-default .wrap-slider > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la imagen cubra todo el espacio sin deformarse */
    object-position: center center;
}

/* Contenido del slider centrado */
.tf-slideshow.slider-default .box-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

/* Responsive - Alturas diferentes por dispositivo */
@media (max-width: 1199px) {
    .tf-slideshow.slider-default {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .tf-slideshow.slider-default {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .tf-slideshow.slider-default {
        height: 400px;
    }
}

@media (max-width: 575px) {
    .tf-slideshow.slider-default {
        height: 350px;
    }

    .tf-slideshow.slider-default .title-display {
        font-size: 28px !important;
    }
}


/* =====================================================
   QUICKVIEW MODAL STYLES
   ===================================================== */

#quickViewModal .modal-content {
    border: none;
    border-radius: 12px;
}

#quickViewModal .header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

#quickViewModal .icon-close-popup {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#quickViewModal .icon-close-popup:hover {
    background: #e0e0e0;
}

#quickViewModal .modal-body {
    padding: 30px;
}

#quickViewModal .tf-product-media-main img {
    width: 100%;
    border-radius: 8px;
}

#quickViewModal .product-title {
    font-size: 24px;
    font-weight: 600;
}

#quickViewModal .product-title a {
    color: inherit;
    text-decoration: none;
}

#quickViewModal .product-title a:hover {
    color: var(--primary);
}

#quickViewModal .tf-product-info-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

#quickViewModal .price-on-sale {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

#quickViewModal .compare-at-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

#quickViewModal .badges-on-sale {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

#quickViewModal .tf-product-info-by-btn {
    display: flex;
    gap: 10px;
    align-items: center;
}

#quickViewModal .btn-style-2 {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#quickViewModal .btn-style-2:hover {
    background: #333;
}

/**
 * Toast Notifications
 */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-notification.toast-success {
    background: #4caf50;
}

.toast-notification.toast-error {
    background: #f44336;
}

.toast-notification.toast-warning {
    background: #ff9800;
}

/**
 * Search Results Dropdown
 */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.search-result-item .name {
    margin: 0 0 5px;
    font-weight: 500;
}

.search-result-item .price {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}

/**
 * Loading States
 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/**
 * Wishlist Active State
 */
.wishlist.active .icon-heart,
.btn-wishlist.active .icon-heart {
    color: #ff3b3b;
}

.wishlist.active,
.btn-wishlist.active {
    background: #fff0f0;
}

/**
 * Disabled Button
 */
.btn-add-to-cart.disabled,
.tf-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
/* Estilos para Categorías Circulares */
.collection-circle {
    text-align: center;
}

.collection-circle .img-style {
    display: block;
    width: 100%;
    max-width: 150px;
    margin: 0 auto 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.collection-circle .img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.collection-circle:hover .img-style {
    border-color: #e74c3c;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.collection-circle:hover .img-style img {
    transform: scale(1.05);
}

.collection-circle .cls-title .text {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.collection-circle:hover .cls-title .text {
    color: #e74c3c;
}

/* Placeholder para categorías sin imagen */
.category-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* Estilos para sección de títulos */
.heading-section {
    margin-bottom: 30px;
}

.heading-section .heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.heading-section .subheading {
    color: #666;
    font-size: 1rem;
}

/* Productos sin imagen */
.product-img img.img-product,
.product-img img.img-hover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f8f8f8;
}

/* Placeholder para productos sin imagen */
.product-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 4rem;
}
/**
 * Newsletter Message
 */
.newsletter-message {
    margin-top: 10px;
    font-size: 14px;
}
