/* ============================================
   THEME 10 - GLOBAL COLOR OVERRIDES
   Se carga solo cuando theme10 está activo.
   Aplica verde SmartCell (#25d366) a TODAS las páginas.
   ============================================ */

/* ====================
   VARIABLES / ROOT
   ==================== */
:root {
    --t10-primary: #25d366;
    --t10-primary-dark: #128c7e;
    --t10-primary-darker: #075e54;
    --t10-primary-light: #dcf8c6;
    --t10-primary-10: rgba(37, 211, 102, 0.1);
    --t10-primary-20: rgba(37, 211, 102, 0.2);
}

/* ====================
   1. LOGO REDONDO
   ==================== */
.site-logo a img {
    border-radius: 50% !important;
    object-fit: cover;
    width: 60px !important;
    height: 60px !important;
    border: 2px solid var(--t10-primary);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: transform 0.3s;
}

.site-logo a img:hover {
    transform: scale(1.05);
}

/* Footer logo también redondo */
.widget-item-1 img {
    border-radius: 50% !important;
    object-fit: cover;
    width: 70px !important;
    height: 70px !important;
    border: 2px solid var(--t10-primary);
}

/* ====================
   2. HEADER / TOPBAR
   ==================== */
.header-topbar {
    background: #1a1a2e !important;
    border-bottom: none !important;
}

/* Inner pages header-two topbar border → eliminada */
.header-two .header-topbar {
    border-bottom: none !important;
}

/* Línea sutil verde (opcional, reemplaza la blanca) */
.header-navigation {
    border-bottom: 1px solid rgba(37, 211, 102, 0.15) !important;
}

/* Cuando el header está sobre el page-title (inner pages), sin gap */
.header-two {
    border-bottom: none !important;
}

.header-topbar .social-icon li a:hover {
    color: var(--t10-primary) !important;
}

.header-topbar .top-left-content .language-change .language-menu a:hover,
.header-topbar .top-right-wrapper .language-change .language-menu a:hover {
    color: var(--t10-primary) !important;
    background-color: var(--t10-primary-10) !important;
}

/* Dropdown de idioma/moneda → borde verde */
.header-topbar .top-left-content .language-change .language-menu,
.header-topbar .top-right-wrapper .language-change .language-menu {
    border-top: 2px solid var(--t10-primary) !important;
}

.header-topbar .contact-info li a:hover {
    color: var(--t10-primary) !important;
}

/* Header sticky / scroll */
.header-one.sticky-header.sticky {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.sticky-header.sticky-on .header-navigation {
    background-color: #fff !important;
    border-bottom: 1px solid rgba(37, 211, 102, 0.15) !important;
}

/* ====================
   3. NAVIGATION MENU
   ==================== */
/* Botón "Solicitar Cotización" → verde */
.header-navigation .navbar-btn a {
    background-color: var(--t10-primary) !important;
    border-color: var(--t10-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.header-navigation .navbar-btn a:hover {
    background-color: transparent !important;
    color: var(--t10-primary) !important;
    border-color: var(--t10-primary) !important;
}
/* Menu items hover/active → verde */
.header-navigation .primary-menu li.current > a,
.header-navigation .primary-menu li.current > .dd-trigger,
.header-navigation .primary-menu li a:hover,
.header-navigation .primary-menu li a:hover ~ .dd-trigger {
    color: var(--t10-primary) !important;
}

/* Innerpage menu items color fix */
.innerpage .header-navigation .primary-menu li.current > a,
.innerpage .header-navigation .primary-menu li a:hover {
    color: var(--t10-primary) !important;
}

/* Submenu border top → verde */
.header-navigation .primary-menu li .submenu {
    border-top: 3px solid var(--t10-primary) !important;
}

/* Submenu item hover */
.header-navigation .primary-menu li .submenu li a:hover {
    color: var(--t10-primary) !important;
    padding-left: 18px;
}

/* Megamenu border */
.header-navigation .primary-menu .megamenu-item .megamenu {
    border-top: 3px solid var(--t10-primary) !important;
}

/* Mobile menu background */
.header-navigation.breakpoint-on .site-nav-menu {
    background-color: #1a1a2e !important;
}

.header-navigation.breakpoint-on .primary-menu li a {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.header-navigation.breakpoint-on .primary-menu li a:hover {
    color: var(--t10-primary) !important;
}

/* Nav toggler */
.nav-toggler span {
    background-color: var(--t10-primary) !important;
}

/* Header extra icons (cart, user) */
.header-navigation .header-extra .login-btn:hover,
.header-navigation .header-extra .cart-btn:hover,
.header-navigation .header-extra a:hover {
    color: var(--t10-primary) !important;
}

/* Cart badge */
.header-navigation .header-extra .my-dropdown .item-count {
    background: var(--t10-primary) !important;
    color: #fff !important;
}

/* Cart remove button hover */
.cart-remove:hover {
    background: var(--t10-primary) !important;
}

/* ====================
   4. BUTTONS
   ==================== */
/* Main button → verde */
.main-btn {
    background-color: var(--t10-primary) !important;
    border-radius: 8px;
}

.main-btn::before {
    background-color: var(--t10-primary-dark) !important;
    border-radius: 8px;
}

.main-btn:hover {
    color: #fff !important;
}

.main-btn.main-btn-3 {
    background-color: #fff !important;
    color: var(--t10-primary) !important;
}

.main-btn.main-btn-3:hover {
    color: #fff !important;
}

.main-btn.transparent-border-btn::before {
    background-color: var(--t10-primary) !important;
}

.main-btn.transparent-border-btn:hover {
    border-color: var(--t10-primary) !important;
}

/* Quote button */
.get-quote-btn {
    background: var(--t10-primary) !important;
}

.get-quote-btn:hover {
    background: var(--t10-primary-dark) !important;
}

/* ====================
   5. PAGE TITLE / BREADCRUMB
   ==================== */
.page-title-area {
    background: linear-gradient(135deg, var(--t10-primary-darker), var(--t10-primary-dark), var(--t10-primary)) !important;
    position: relative;
}

.page-title-area::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.3), transparent) !important;
    background-image: none !important;
}

.page-title-area .breadcrumb-nav li a:hover {
    color: var(--t10-primary-light) !important;
}

/* ====================
   6. PRODUCTS (shared views)
   ==================== */
/* Product overlay buttons hover */
.product-item .product-thumb .product-overlay ul li a:hover,
.product-item .product-thumb .product-overlay ul li button:hover {
    background: var(--t10-primary) !important;
    color: #fff !important;
}

/* Product tag */
.product-item .product-thumb .tag {
    background: var(--t10-primary) !important;
}

/* Product price */
.product-item .product-content .price,
.product-details-area .product-info .price .current-price,
.product-item .product-content .price .current-price {
    color: var(--t10-primary) !important;
}

/* Product title hover */
.product-item .product-content .title a:hover {
    color: var(--t10-primary) !important;
}

/* Product details page add to cart / buy now */
.product-details-area .cart-area .main-btn,
.product-details-area .cart-area button {
    background: var(--t10-primary) !important;
    border-radius: 8px;
}

.product-details-area .cart-area .main-btn:hover,
.product-details-area .cart-area button:hover {
    background: var(--t10-primary-dark) !important;
}

/* Quantity buttons */
.product-details-area .quantity-wrapper .btn {
    border-color: var(--t10-primary) !important;
    color: var(--t10-primary) !important;
}

/* Product sidebar filters */
.blog-sidebar .widget-title::before,
.blog-sidebar .widget-title::after {
    background: var(--t10-primary) !important;
}

/* Price range slider */
.ui-slider-range {
    background: var(--t10-primary) !important;
}

.ui-slider-handle {
    border-color: var(--t10-primary) !important;
}

/* Rating stars */
.rating {
    background-image: linear-gradient(to right, var(--t10-primary) 0%, var(--t10-primary) 100%) !important;
    -webkit-background-clip: text;
    background-clip: text;
}

/* ====================
   7. CART PAGE
   ==================== */
.cart-table .cart-update-btn {
    background: var(--t10-primary) !important;
}

.cart-table .cart-update-btn:hover {
    background: var(--t10-primary-dark) !important;
}

/* Checkout button */
.cart-total .checkout-btn,
.cart-total .main-btn {
    background: var(--t10-primary) !important;
}

/* ====================
   8. USER DASHBOARD
   ==================== */
.dashboard-inner .card {
    border-top: 3px solid var(--t10-primary) !important;
}

.dashboard-inner .card .card-header {
    background: transparent;
}

.dashboard-inner .nav-pills .nav-link.active {
    background: var(--t10-primary) !important;
}

.dashboard-inner .nav-pills .nav-link:hover {
    color: var(--t10-primary) !important;
}

.dashboard-inner .btn-primary,
.dashboard-inner .btn-success {
    background: var(--t10-primary) !important;
    border-color: var(--t10-primary) !important;
}

/* ====================
   9. FOOTER
   ==================== */
.footer-area {
    background-color: #1a1a2e !important;
}

.footer-area .footer-overlay {
    background: rgba(26, 26, 46, 0.95) !important;
}

.footer-area .widget-item-2 .title,
.footer-area .widget-item-3 .title {
    color: #fff;
}

.footer-area .widget-item-2 .title::after,
.footer-area .widget-item-3 .title::after {
    background: var(--t10-primary) !important;
}

.footer-area .widget-item-2 ul li a:hover {
    color: var(--t10-primary) !important;
}

.footer-area .widget-item-2 ul li i {
    color: var(--t10-primary) !important;
}

.footer-area .widget-item-3 .features-sub .input-box button {
    background: var(--t10-primary) !important;
}

.footer-area .widget-item-3 .features-sub .input-box button:hover {
    background: var(--t10-primary-dark) !important;
}

.footer-area .footer-list ul li a:hover {
    color: var(--t10-primary) !important;
}

.footer-area .footer-list ul li a i {
    color: var(--t10-primary) !important;
}

.footer-area .footer-copyright {
    border-top: 1px solid rgba(37, 211, 102, 0.15);
}

/* ====================
   10. BACK TO TOP
   ==================== */
.back-to-top a {
    background: var(--t10-primary) !important;
    color: #fff;
}

.back-to-top a:hover {
    background: var(--t10-primary-dark) !important;
}

/* ====================
   11. QUICK CALL AREA (WhatsApp/Phone floats)
   ==================== */
.quick_call_area .wp {
    background: var(--t10-primary) !important;
}

.quick_call_area .ph {
    background: var(--t10-primary-dark) !important;
}

/* ====================
   12. FORMS & INPUTS
   ==================== */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--t10-primary) !important;
    box-shadow: 0 0 0 0.15rem var(--t10-primary-20) !important;
}

/* Contact form, login form buttons */
.contact-form .main-btn,
.user-login-form .main-btn,
.user-register-form .main-btn,
.login-form .main-btn {
    background: var(--t10-primary) !important;
    border-radius: 8px;
}

/* ====================
   13. BLOG / SERVICES (shared views)
   ==================== */
.blog-item .blog-meta a:hover,
.blog-item .blog-title a:hover {
    color: var(--t10-primary) !important;
}

.service-item:hover {
    background: var(--t10-primary) !important;
}

/* Pagination */
.page-pagination .pagination li a:hover,
.page-pagination .pagination li.active a {
    background: var(--t10-primary) !important;
    border-color: var(--t10-primary) !important;
    color: #fff !important;
}

/* ====================
   14. LINKS GENERALES
   ==================== */
a:hover {
    color: var(--t10-primary);
}

/* Tabs activos */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    background-color: var(--t10-primary) !important;
    border-color: var(--t10-primary) !important;
}

/* Alerts / badges */
.badge-primary {
    background: var(--t10-primary) !important;
}

/* ====================
   15. PRELOADER OVERRIDE
   ==================== */
#preloader {
    background-color: #1a1a2e !important;
}

/* ====================
   16. SCROLLBAR (webkit)
   ==================== */
::-webkit-scrollbar-thumb {
    background: var(--t10-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--t10-primary-dark);
}

::-webkit-scrollbar {
    width: 8px;
}

/* ====================
   17. SELECTION COLOR
   ==================== */
::selection {
    background: var(--t10-primary);
    color: #fff;
}

::-moz-selection {
    background: var(--t10-primary);
    color: #fff;
}

/* ====================
   18. COOKIE CONSENT BAR
   ==================== */
.js-cookie-consent .cookie-consent__agree {
    background: var(--t10-primary) !important;
}

/* ====================
   RESPONSIVE FIXES
   ==================== */
@media (max-width: 991px) {
    .site-logo a img {
        width: 50px !important;
        height: 50px !important;
    }
}

@media (max-width: 575px) {
    .site-logo a img {
        width: 44px !important;
        height: 44px !important;
    }

    .widget-item-1 img {
        width: 55px !important;
        height: 55px !important;
    }
}
