/*
 Theme Name:   GeneratePress Child (Marketplace)
 Theme URI:    https://generatepress.com
 Description:  Tema hijo de GeneratePress configurado para un marketplace de software estilo ThemeForest.
 Author:       Antigravity
 Template:     generatepress
 Version:      1.0.7
*/

/* ==========================================================================
   CSS GRID: ESTRUCTURA SINGLE PRODUCT TIPO THEMEFOREST
   ========================================================================== */

.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Título 100% ancho */
.tf-title-wrapper {
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
}
.tf-title-wrapper h1.product_title {
    margin: 0;
    font-size: 28px;
    color: #333;
}

/* Columna Izquierda (Imagen + Descripción) */
.tf-main-content-wrapper {
    flex: 1 1 65%;
    min-width: 0;
    position: relative;
}

/* Badge de Oferta */
.woocommerce div.product span.onsale {
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    z-index: 10;
}
.tf-main-content-wrapper .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}
.tf-product-description {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Columna Derecha (Sidebar: Precio, Botones, Detalles) */
.woocommerce div.product .summary.entry-summary {
    flex: 1 1 30%;
    width: 100% !important;
    float: none !important;
    margin: 0;
    padding: 25px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

/* Precio en la sidebar */
.woocommerce div.product .summary .price {
    font-size: 32px !important;
    color: #82b440 !important; /* ThemeForest Green */
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Botones principales */
.tf-btn-buy,
.single_add_to_cart_button {
    background-color: #82b440 !important;
    color: #fff !important;
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}
.tf-btn-buy:hover,
.single_add_to_cart_button:hover {
    background-color: #739e38 !important;
}

.tf-live-preview-wrapper {
    margin-bottom: 20px;
}
.tf-btn-preview {
    background-color: #333 !important;
    color: #fff !important;
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px;
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
}
.tf-btn-preview:hover {
    background-color: #444 !important;
}

/* Caja de Detalles (Meta) */
.tf-product-meta-box {
    margin-top: 25px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}
.tf-product-meta-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tf-product-meta-box ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #555;
}
.tf-product-meta-box ul li:last-child {
    border-bottom: none;
}
.tf-product-meta-box ul li strong {
    color: #333;
}
.tf-product-meta-box ul li span {
    text-align: right;
    max-width: 60%;
}

/* ==========================================================================
   CSS: GRID DEL CATÁLOGO DE LA TIENDA (Shop)
   ========================================================================== */

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    transition: all 0.2s ease;
    overflow: hidden;
    padding-bottom: 15px;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.woocommerce ul.products li.product img {
    margin-bottom: 15px !important;
    border-bottom: 1px solid #e1e8ed;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    padding: 0 15px;
    margin-bottom: 10px;
    color: #333;
}
.woocommerce ul.products li.product .price {
    padding: 0 15px;
    font-size: 18px !important;
    font-weight: bold;
    color: #82b440 !important;
}
.woocommerce ul.products li.product .button {
    margin: 15px 15px 0 15px !important;
    display: block;
    text-align: center;
    border-radius: 4px;
}

/* ==========================================================================
   CSS: ELEMENTOS AVANZADOS DEL SIDEBAR
   ========================================================================== */

/* Banner VIP */
.tf-vip-banner {
    background: linear-gradient(135deg, #1e1e1e 0%, #000000 100%);
    padding: 25px;
    border-radius: 4px;
    margin-top: 25px;
    color: #555;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.tf-vip-banner h3 {
    color: #555;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}
.tf-vip-banner p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}
.tf-vip-btn {
    display: inline-block;
    background-color: #82b440;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}
.tf-vip-btn:hover {
    background-color: #739e38;
}

/* Caja de Autor (Author Box) */
.tf-author-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    margin-top: 25px;
    border-radius: 4px;
}
.tf-author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.tf-author-avatar img {
    border-radius: 4px;
    width: 60px;
    height: 60px;
}
.tf-author-details {
    margin-left: 15px;
}
.tf-author-details h4 {
    margin: 0 0 3px 0;
    font-size: 18px;
    color: #333;
}
.tf-author-details p {
    margin: 0;
    font-size: 13px;
    color: #777;
}
.tf-author-badges {
    display: flex;
    margin-bottom: 15px;
}
.tf-author-btn {
    display: block;
    background-color: #f1f1f1;
    color: #555 !important;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}
.tf-author-btn:hover {
    background-color: #e5e5e5;
}

/* Meta Table Values (Blue links style ThemeForest) */
.tf-product-meta-box ul li strong {
    width: 40%;
    color: #555;
}
.tf-product-meta-box ul li .tf-meta-value {
    width: 60%;
    text-align: left;
    color: #0073aa; /* Standard link blue */
}

/* ==========================================================================
   CSS: CHANGELOG & DASHBOARD
   ========================================================================== */

/* Caja de Changelog (Registro de cambios) */
.tf-changelog-box {
    margin-top: 30px;
    background: #1e1e1e;
    border-radius: 4px;
    padding: 20px;
    color: #e5e5e5;
    font-family: monospace;
}
.tf-changelog-box h3 {
    color: #555;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.tf-changelog-box pre {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    color: #a5d6a7; /* Verde estilo terminal para destacar los cambios */
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Ajuste de estrellas bajo el título */
.tf-title-wrapper .woocommerce-product-rating {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Responsividad */
@media (max-width: 768px) {
    .tf-main-content-wrapper,
    .woocommerce div.product .summary.entry-summary {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   CSS: HOME PAGE (PORTADA)
   ========================================================================== */

.tf-home-area {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.tf-hero-section {
    background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
    color: #555;
    padding: 100px 20px;
    text-align: center;
}
.tf-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.tf-hero-content h1 {
    font-size: 42px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.2;
}
.tf-hero-content p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 40px;
}

/* Búsqueda en el Hero */
.tf-hero-search .search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    padding: 5px;
}
.tf-hero-search .search-field {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    background: transparent;
    color: #333;
    outline: none;
}
.tf-hero-search .search-submit {
    background: #82b440;
    color: #555;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.tf-hero-search .search-submit:hover {
    background: #739e38;
}

/* Secciones de Productos */
.tf-home-products-section {
    padding: 60px 20px;
}
.tf-bg-light {
    background-color: #f9f9f9;
}
.tf-container {
    max-width: 1200px;
    margin: 0 auto;
}
.tf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.tf-section-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.tf-section-header p {
    margin: 5px 0 0;
    color: #777;
    font-size: 15px;
}
.tf-view-all {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}
.tf-view-all:hover {
    text-decoration: underline;
}

/* CTA VIP */
.tf-vip-cta-section {
    padding: 60px 20px;
    background-color: #555;
}
.tf-vip-cta-box {
    background: linear-gradient(135deg, #82b440 0%, #5c8427 100%);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
}
.tf-vip-cta-text h2 {
    color: #555;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
}
.tf-vip-cta-text p {
    margin: 0;
    font-size: 16px;
    max-width: 600px;
}
.tf-vip-cta-btn .button {
    background-color: #fff !important;
    color: #82b440 !important;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.tf-vip-cta-btn .button:hover {
    background-color: #f1f1f1 !important;
}

@media (max-width: 768px) {
    .tf-vip-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .tf-vip-cta-btn {
        margin-top: 20px;
    }
    .tf-hero-content h1 {
        font-size: 32px;
    }
}

/* ==========================================================================
   CSS: KOSARI LAYOUT & BANNER FLOTANTE
   ========================================================================== */

/* Hero adjustments for Kosari layout */
.kosari-hero {
    background: #1e293b; /* Un gris/azul muy oscuro pero elegante, o se puede mantener el #111 */
    padding: 80px 20px;
}

/* Header de Secciones (Elementos Destacados) */
.kosari-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}
.kosari-section-header h2 {
    margin: 0;
    font-size: 22px;
    color: #333;
}
.kosari-btn-all {
    background: #82b440;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.kosari-btn-all:hover {
    background: #739e38;
}

/* Estilo de la tarjeta de producto (Loop) */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;
    text-align: left;
    position: relative;
    box-shadow: none;
}
.woocommerce ul.products li.product img {
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px !important;
    width: 100%;
    border-bottom: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 600;
    padding: 0 15px;
    margin-bottom: 5px;
    color: #333;
}
.woocommerce ul.products li.product .star-rating {
    margin: 0 15px 10px 15px;
    font-size: 12px;
}
.woocommerce ul.products li.product .price {
    padding: 0 15px;
    font-size: 16px !important;
    color: #82b440 !important;
    margin-bottom: 15px;
}
.woocommerce ul.products li.product .button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin: 0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 4px;
}

/* Banner Flotante (Referidos) */
.kosari-floating-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #555;
    text-align: center;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.kosari-floating-banner p {
    margin: 0;
    font-size: 15px;
}
.kosari-btn-banner {
    background: #82b440;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.kosari-btn-banner:hover {
    background: #739e38;
}

@media (max-width: 768px) {
    .kosari-floating-banner {
        flex-direction: column;
        padding: 15px;
    }
}

/* ==========================================================================
   CSS: DUAL CTAs (WhatsApp & VIP)
   ========================================================================== */
.kosari-dual-cta-section {
    padding: 40px 20px 20px 20px;
}
.kosari-dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.kosari-cta-card {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-radius: 12px;
    gap: 20px;
}
.kosari-cta-card .cta-icon {
    flex-shrink: 0;
}
.kosari-cta-card .cta-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}
.kosari-cta-card .cta-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s;
}
.kosari-cta-card .cta-btn:hover {
    opacity: 0.8;
}

/* WhatsApp Theme */
.whatsapp-cta {
    background-color: #9df1a3;
    color: #0b5d1e;
}
.whatsapp-cta h3 {
    color: #0b5d1e;
}
.whatsapp-cta .btn-dark-green {
    background-color: #0b5d1e;
    color: #fff !important;
}

/* VIP Theme */
.vip-cta {
    background-color: #000;
    color: #555;
}
.vip-cta h3 {
    color: #555;
}
.vip-cta .btn-cyan {
    background-color: #00d2ff;
    color: #000 !important;
}
.vip-badge-icon {
    background: #00d2ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
}
.vip-badge-icon span {
    color: #555;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .kosari-dual-cta-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CSS: PRICING TABLE (Membresía VIP)
   ========================================================================== */
.pricing-hero {
    padding-bottom: 120px; /* Espacio extra para que las tarjetas suban */
}
.pricing-section {
    margin-top: -80px; /* Sube las tarjetas encima del hero oscuro */
    padding-bottom: 60px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center; /* Alinea al centro para destacar la del medio */
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 1px solid #eaeaea;
    transition: transform 0.3s;
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-header h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.pricing-header .price {
    margin: 20px 0;
    color: #111;
}
.pricing-header .currency {
    font-size: 24px;
    vertical-align: top;
    font-weight: bold;
}
.pricing-header .amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}
.pricing-header .period {
    font-size: 16px;
    color: #777;
}
.pricing-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}
.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    color: #555;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #82b440 !important;
    border: 2px solid #82b440;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}
.pricing-btn:hover {
    background: #82b440;
    color: #fff !important;
}

/* Tarjeta Destacada (Anual) */
.featured-card {
    border: 2px solid #82b440;
    padding: 50px 30px; /* Más alta */
    box-shadow: 0 15px 40px rgba(130, 180, 64, 0.2);
    z-index: 2;
}
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #82b440;
    color: #555;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.featured-card .pricing-btn {
    background: #82b440;
    color: #fff !important;
}
.featured-card .pricing-btn:hover {
    background: #6c9933;
    border-color: #6c9933;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .featured-card {
        padding: 40px 30px;
    }
    }
}

/* ==========================================================================
   CSS: TABLA DE ACTUALIZACIONES (DataTables)
   ========================================================================== */
.updates-table-wrapper {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
table.dataTable.display tbody tr.odd>.sorting_1, 
table.dataTable.order-column.stripe tbody tr.odd>.sorting_1 {
    background-color: transparent !important;
}
table.dataTable.display tbody tr.even>.sorting_1, 
table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
    background-color: transparent !important;
}
table.dataTable tbody tr {
    background-color: #fff !important;
    border-bottom: 1px solid #f1f1f1;
}
table.dataTable tbody tr:hover {
    background-color: #f9f9f9 !important;
}
table.dataTable thead th {
    border-bottom: 2px solid #eaeaea;
    padding: 15px 10px;
    color: #444;
    font-size: 15px;
}
table.dataTable tbody td {
    padding: 15px 10px;
    vertical-align: middle;
    border-top: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #00d2ff !important;
    color: #000 !important;
    border: none;
    border-radius: 4px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #333 !important;
    color: #fff !important;
    border: none;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
}
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}

/* ==========================================================================
   CSS: ICONOS DE CABECERA (Buscador, Favoritos, Cuenta, Carrito)
   ========================================================================== */
.kosari-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}
.kosari-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: color 0.3s;
    text-decoration: none;
    position: relative;
}
.kosari-icon-link svg {
    width: 20px;
    height: 20px;
}
.kosari-icon-link:hover {
    color: #00d2ff;
}

/* Carrito Estilo Especial */
.kosari-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.kosari-cart-circle {
    background: #f4f5f7; /* Gris muy tenue como en la imagen */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.kosari-cart-icon:hover .kosari-cart-circle {
    background: #e2e4e8;
}
.kosari-cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #00d2ff;
    color: #555;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-sizing: border-box;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .kosari-header-icons {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   CSS: BARRA DE BÚSQUEDA DESPLEGABLE
   ========================================================================== */
.kosari-search-dropdown {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.kosari-search-form {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.kosari-search-field {
    width: 100%;
    padding: 15px 15px 15px 50px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #555;
    background: #fff;
    box-sizing: border-box;
}
.kosari-search-field:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.1);
}
.kosari-search-form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
}

/* ==========================================================================
   CSS: MENÚ DESPLEGABLE DE USUARIO (Logged In)
   ========================================================================== */
.kosari-user-profile-wrapper {
    position: relative;
    display: inline-block;
}
.kosari-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.kosari-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    background: #eee;
}
.kosari-user-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}
.kosari-user-name {
    font-weight: 500;
    color: #333;
}
.kosari-user-balance {
    display: flex;
    align-items: center;
    gap: 2px;
}
.dropdown-arrow {
    width: 12px;
    height: 12px;
}
.kosari-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #fff;
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid #eee;
}
.kosari-user-profile-wrapper:hover .kosari-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.kosari-user-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}
.kosari-user-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.kosari-user-dropdown li {
    margin: 0;
    padding: 0;
}
.kosari-user-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}
.kosari-user-dropdown li a svg {
    width: 16px;
    height: 16px;
    color: #888;
}
.kosari-user-dropdown li a:hover {
    background: #f9f9f9;
    color: #00d2ff;
}
.kosari-user-dropdown li a:hover svg {
    color: #00d2ff;
}
.kosari-logout-li {
    border-top: 1px solid #eee;
    margin-top: 5px !important;
    padding-top: 5px !important;
}

/* ==========================================================================
   CSS: MODAL DE LOGIN
   ========================================================================== */
.kosari-login-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.kosari-login-modal-overlay.active {
    display: flex;
}
.kosari-login-modal {
    background: #fff;
    border-radius: 12px;
    width: 420px;
    max-width: 90vw;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    animation: kosariModalIn 0.3s ease;
}
@keyframes kosariModalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.kosari-login-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.kosari-login-modal-close:hover {
    color: #333;
}
.kosari-login-modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.kosari-login-avatar-icon {
    width: 50px;
    height: 50px;
    color: #00bcd4;
    margin-bottom: 15px;
    background: #f0fbfc;
    border-radius: 50%;
    padding: 12px;
}
.kosari-login-modal-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2e4a;
    margin: 0 0 6px 0;
}
.kosari-login-modal-header p {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.kosari-login-field {
    margin-bottom: 18px;
}
.kosari-login-field label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}
.kosari-login-field input[type="text"],
.kosari-login-field input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #fafafa;
}
.kosari-login-field input:focus {
    border-color: #00bcd4;
    outline: none;
    background: #fff;
}
.kosari-password-wrapper {
    position: relative;
}
.kosari-password-wrapper input {
    padding-right: 45px !important;
}
.kosari-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #bbb;
    transition: color 0.2s;
}
.kosari-toggle-password:hover {
    color: #555;
}
.kosari-toggle-password svg {
    width: 18px;
    height: 18px;
}
.kosari-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}
.kosari-remember-me {
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.kosari-remember-me input[type="checkbox"] {
    accent-color: #00bcd4;
}
.kosari-forgot-password {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
}
.kosari-forgot-password:hover {
    text-decoration: underline;
}
.kosari-login-submit {
    width: 100%;
    padding: 14px;
    background: #00bcd4;
    color: #555;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.kosari-login-submit:hover {
    background: #0097a7;
}
.kosari-login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}
.kosari-login-footer p {
    font-size: 14px;
    color: #777;
    margin: 0;
}
.kosari-login-footer a {
    color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
}
.kosari-login-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CSS: MI PERFIL WOOCOMMERCE (Premium Dashboard - Kosari Style)
   ========================================================================== */

/* --- PAGE LAYOUT: Blue Hero Banner + Gray Background --- */
body.woocommerce-account.logged-in .site-content {
    background-color: #f4f6f8;
    padding-top: 0;
    padding-bottom: 60px;
    position: relative;
}
body.woocommerce-account.logged-in .site-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: #1a2e4a;
    z-index: 0;
}

/* --- PAGE TITLE: "Mi perfil" in white over blue banner --- */
body.woocommerce-account.logged-in .entry-header {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 15px 25px 15px;
    box-sizing: border-box;
}
body.woocommerce-account.logged-in .entry-title {
    color: #555;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

/* --- MAIN FLEX CONTAINER --- */
.kosari-premium-account .woocommerce {
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: nowrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 15px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}
.kosari-premium-account .woocommerce::before,
.kosari-premium-account .woocommerce::after {
    display: none !important;
}

/* --- SIDEBAR (Navigation Column) --- */
.kosari-premium-account .woocommerce-MyAccount-navigation {
    flex: 0 0 300px !important;
    width: 300px !important;
    float: none !important;
}

/* Master Wrapper: One unified white card for sidebar */
.kosari-sidebar-master-wrapper {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* --- PROFILE CARD (Top of Sidebar) --- */
.kosari-profile-card {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    padding: 25px 20px;
    text-align: left !important;
    background: transparent;
    margin: 0;
}
.kosari-profile-card-avatar {
    flex-shrink: 0;
}
.kosari-profile-card-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #e9ecef;
    margin: 0;
}
.kosari-profile-card-info {
    flex-grow: 1;
    min-width: 0;
}
.kosari-profile-card-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
    line-height: 1.3;
}
.kosari-profile-card-info p {
    font-size: 12px;
    color: #00bcd4;
    margin: 0 0 8px 0;
    word-break: break-all;
}
.kosari-vip-badge {
    display: inline-block;
    background: #2196F3;
    color: #555;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 500;
}

/* --- "Cuenta" Separator --- */
.kosari-nav-title {
    font-size: 12px;
    color: #aaa;
    margin: 0;
    padding: 12px 20px;
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- NAVIGATION LINKS (Sidebar) --- */
.kosari-premium-account .woocommerce-MyAccount-navigation ul {
    background: transparent;
    list-style: none;
    margin: 0;
    padding: 0;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f5f5f5;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li a svg {
    width: 18px;
    height: 18px;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s ease;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li a:hover,
.kosari-premium-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #00bcd4;
    background: #fafafa;
}
.kosari-premium-account .woocommerce-MyAccount-navigation ul li a:hover svg,
.kosari-premium-account .woocommerce-MyAccount-navigation ul li.is-active a svg {
    color: #00bcd4;
}

/* --- MAIN CONTENT AREA (Right Side) --- */
.kosari-premium-account .woocommerce-MyAccount-content {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
}

/* --- HEADER: "Actualice los detalles..." + Cerrar sesión Button --- */
.kosari-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0;
    margin-top: -30px;
}
.kosari-account-header h2 {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin: 0;
}
.kosari-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00bcd4;
    color: #555;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}
.kosari-logout-btn svg {
    width: 16px;
    height: 16px;
}
.kosari-logout-btn:hover {
    background: #0097a7;
    color: #555;
}

/* --- VIP MEMBERSHIP CARDS --- */
.kosari-vip-dashboard {
    background: #fff;
    padding: 30px 35px;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 0;
}
.kosari-vip-dashboard h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 400;
}
.kosari-vip-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.kosari-vip-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #eee;
}
.kosari-vip-card-title {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.kosari-vip-card-value {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: #333;
}

/* --- EDIT ACCOUNT FORM --- */
.kosari-premium-account .woocommerce-EditAccountForm {
    background: #fff;
    padding: 25px 35px 35px 35px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.kosari-premium-account .woocommerce-EditAccountForm .clear {
    display: none !important;
}
.kosari-premium-account .woocommerce-EditAccountForm > p {
    margin: 0;
}
.kosari-premium-account .woocommerce-EditAccountForm > p:last-of-type,
.kosari-premium-account .woocommerce-EditAccountForm .bua-form-wrapper {
    grid-column: 1 / -1;
}
.kosari-premium-account .woocommerce-EditAccountForm fieldset {
    grid-column: 1 / -1;
    border: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.kosari-premium-account .woocommerce-EditAccountForm fieldset legend {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}
.kosari-premium-account .woocommerce-EditAccountForm label {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
    display: block;
    font-weight: normal;
}
.kosari-premium-account .woocommerce-EditAccountForm label .required {
    display: none;
}
.kosari-premium-account .woocommerce-EditAccountForm input[type="text"],
.kosari-premium-account .woocommerce-EditAccountForm input[type="email"],
.kosari-premium-account .woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    background-color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.kosari-premium-account .woocommerce-EditAccountForm input:focus {
    border-color: #00bcd4;
    outline: none;
}

/* Submit Button */
.kosari-premium-account .woocommerce-EditAccountForm button[type="submit"],
.kosari-premium-account .woocommerce-Button[name="save_account_details"] {
    background: #00bcd4;
    color: #555;
    border: none;
    border-radius: 4px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}
.kosari-premium-account .woocommerce-EditAccountForm button[type="submit"]:hover,
.kosari-premium-account .woocommerce-Button[name="save_account_details"]:hover {
    background: #0097a7;
}

/* --- BASIC USER AVATAR Plugin --- */
.kosari-premium-account #basic-user-avatar {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.kosari-premium-account #basic-user-avatar h3 {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}
.kosari-premium-account #basic-user-avatar input[type="file"] {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    background: #fcfcfc;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .kosari-premium-account .woocommerce {
        flex-direction: column !important;
        flex-wrap: wrap;
    }
    .kosari-premium-account .woocommerce-MyAccount-navigation {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    .kosari-premium-account .woocommerce-EditAccountForm {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .kosari-vip-cards-wrapper {
        grid-template-columns: 1fr;
    }
    .kosari-vip-dashboard {
        padding: 20px;
    }
}

/* ==========================================================================
   CSS: TIENDA WOOCOMMERCE (Estilo Kosari)
   ========================================================================== */

/* Fondo general de la tienda */
.cloudlatino-shop-page {
    background-color: #f4f6f8 !important;
}

/* --- HERO BANNER TIENDA (inyectado via PHP) --- */
.kosari-shop-hero {
    background: linear-gradient(135deg, #1a2e4a 0%, #2a4a7f 100%);
    padding: 30px 20px;
    margin-bottom: 30px;
}
.kosari-shop-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kosari-shop-title {
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    margin: 0 !important;
    padding: 0 !important;
}
.kosari-shop-breadcrumb {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.kosari-shop-breadcrumb a {
    color: #555;
    text-decoration: none;
}
.kosari-shop-breadcrumb a:hover {
    text-decoration: underline;
}

/* Ocultar elementos duplicados de WooCommerce/GeneratePress en tienda */
.cloudlatino-shop-page .page-header {
    display: none !important;
}
.cloudlatino-shop-page .woocommerce-products-header {
    display: none !important;
}
.cloudlatino-shop-page > .site-content .woocommerce-breadcrumb {
    display: none !important;
}
.cloudlatino-shop-page .site-main > .woocommerce-breadcrumb {
    display: none !important;
}
.cloudlatino-shop-page .entry-content > .woocommerce-breadcrumb {
    display: none !important;
}

/* --- CONTENEDOR PRINCIPAL y SIDEBAR --- */
.cloudlatino-shop-page .site-content {
    position: relative;
}
.cloudlatino-shop-page .site-main,
.cloudlatino-shop-page #left-sidebar,
.cloudlatino-shop-page #right-sidebar {
    position: relative;
}

/* --- SIDEBAR WIDGETS --- */
.cloudlatino-shop-page .widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
}
.cloudlatino-shop-page .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2e4a;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}
.cloudlatino-shop-page .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cloudlatino-shop-page .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13.5px;
    color: #555;
}
.cloudlatino-shop-page .widget ul li:last-child {
    border-bottom: none;
}
.cloudlatino-shop-page .widget ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.cloudlatino-shop-page .widget ul li a:hover {
    color: #00bcd4;
}

/* Selector "Ordenar por" */
.cloudlatino-shop-page .woocommerce-ordering select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
    appearance: auto;
}

/* Filtro de precio */
.cloudlatino-shop-page .widget_price_filter .price_slider_wrapper {
    margin-top: 15px;
}
.cloudlatino-shop-page .widget_price_filter .ui-slider-horizontal {
    height: 4px;
    background: #eee;
    border-radius: 4px;
}
.cloudlatino-shop-page .widget_price_filter .ui-slider-range {
    background: #00bcd4;
}
.cloudlatino-shop-page .widget_price_filter .ui-slider-handle {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #00bcd4;
    border-radius: 50%;
    top: -5px;
}
.cloudlatino-shop-page .widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.cloudlatino-shop-page .widget_price_filter .price_label {
    font-size: 13px;
    color: #777;
}
.cloudlatino-shop-page .widget_price_filter .button {
    background: #00bcd4;
    color: #555;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.cloudlatino-shop-page .widget_price_filter .button:hover {
    background: #0097a7;
}

/* --- WOOCOMMERCE RESULTS COUNT + ORDERING BAR --- */
.cloudlatino-shop-page .woocommerce-result-count {
    font-size: 13px;
    color: #777;
}

/* --- CUADRÍCULA DE PRODUCTOS --- */
.cloudlatino-shop-page .products,
.cloudlatino-shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.cloudlatino-shop-page ul.products::before,
.cloudlatino-shop-page ul.products::after {
    display: none !important;
    content: none !important;
}

/* --- TARJETA DE PRODUCTO --- */
.cloudlatino-shop-page ul.products li.product,
.cloudlatino-shop-page .products .product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    float: none !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cloudlatino-shop-page ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Link principal del producto */
.cloudlatino-shop-page ul.products li.product > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Imagen del producto */
.cloudlatino-shop-page ul.products li.product img,
.cloudlatino-shop-page ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* Etiqueta de oferta */
.cloudlatino-shop-page ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    background: #ff5722;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
}

/* Categoría del producto */
.kosari-loop-category {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px 0 15px;
    margin-bottom: 4px;
}
.kosari-loop-category a {
    color: #999 !important;
    text-decoration: none;
}
.kosari-loop-category a:hover {
    color: #00bcd4 !important;
}

/* Estrellas del rating */
.kosari-loop-rating {
    padding: 0 15px;
    margin-bottom: 4px;
}
.kosari-loop-rating .star-rating {
    display: inline-block !important;
    font-size: 12px;
    color: #ffb400;
}

/* Título del producto */
h2.woocommerce-loop-product__title.kosari-loop-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a2e4a !important;
    padding: 4px 15px 0 15px !important;
    margin: 0 0 auto 0 !important;
    line-height: 1.45;
}

/* --- PIE DE LA TARJETA (Ventas + Precio) --- */
.kosari-loop-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}
.kosari-loop-sales {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 12px;
}
.kosari-loop-sales svg {
    width: 13px;
    height: 13px;
    stroke: #bbb;
}
.kosari-no-sales {
    min-width: 10px;
}

/* Botón píldora de precio */
.kosari-loop-footer {
    text-align: right;
}
.kosari-loop-footer .button,
.kosari-loop-footer a {
    background: #e0f7fa !important;
    color: #00bcd4 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.2s;
    border: none !important;
    display: inline-block;
    line-height: 1.4;
}
.kosari-loop-footer .button:hover,
.kosari-loop-footer a:hover {
    background: #00bcd4 !important;
    color: #fff !important;
}

/* Ocultar elementos originales de WooCommerce que ya reemplazamos */
.cloudlatino-shop-page ul.products li.product .price,
.cloudlatino-shop-page ul.products li.product > .button,
.cloudlatino-shop-page ul.products li.product > .add_to_cart_button {
    display: none !important;
}

/* --- PAGINACIÓN --- */
.cloudlatino-shop-page .woocommerce-pagination {
    margin-top: 40px;
}
.cloudlatino-shop-page .woocommerce-pagination ul {
    border: none !important;
}
.cloudlatino-shop-page .woocommerce-pagination ul li {
    border: none !important;
}
.cloudlatino-shop-page .woocommerce-pagination ul li a,
.cloudlatino-shop-page .woocommerce-pagination ul li span.current {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    background: #fff;
    color: #555;
    border: 1px solid #eee;
    font-weight: 600;
    transition: all 0.2s;
}
.cloudlatino-shop-page .woocommerce-pagination ul li span.current {
    background: #00bcd4;
    color: #555;
    border-color: #00bcd4;
}
.cloudlatino-shop-page .woocommerce-pagination ul li a:hover {
    background: #f5f5f5;
}

/* --- RESPONSIVE TIENDA --- */
@media (max-width: 992px) {
    .cloudlatino-shop-page .products,
    .cloudlatino-shop-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 768px) {
    .cloudlatino-shop-page .page-header,
    .cloudlatino-shop-page .woocommerce-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 576px) {
    .cloudlatino-shop-page .products,
    .cloudlatino-shop-page ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Footer Menu */
.kosari-footer-menu-container {
    text-align: center;
    padding: 15px 0;
}
.kosari-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.kosari-footer-menu li {
    margin: 0;
}
.kosari-footer-menu li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}
.kosari-footer-menu li a:hover {
    text-decoration: underline;
}
/* Centrar menu y copyright en el footer */
.inside-site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}
.kosari-footer-menu-container {
    padding: 0;
}
/* Titulo del sitio en blanco */
.main-title a, .site-branding .main-title {
    color: #ffffff !important;
}
/* Letras blancas sobre fondos oscuros (Hero y VIP Box) */
.tf-hero-content h1,
.tf-hero-content p,
.cta-text h3,
.cta-text p {
    color: #ffffff !important;
}
