/*
You can type here custom CSS code, which will be loaded both on your admin and front-end pages. Please make sure to not override layout properties (positions and sizes), as they can interfere with the sliders built-in responsive functionality. Here are few example targets to help you get started:
*/

.ls-container { /* Slider container */

}

.ls-layers { /* Layers wrapper */ 

}

.ls-3d-box div { /* Sides of 3D transition objects */ 

}


/* Pagina prodotto - Descrizione principale */
#product #product-description-short,
#product .product-information .product-description,
#product .product-description,
#main #product-description-short {
    color: #000000 ;
}

#product #product-description-short p,
#product .product-information .product-description p,
#product .product-description p,
#main #product-description-short p {
    color: #000000 ;
}

/* Pagina prodotto - Liste nella descrizione */
#product #product-description-short ul,
#product #product-description-short ol,
#product .product-information .product-description ul,
#product .product-information .product-description ol,
#product .product-description ul,
#product .product-description ol {
    color: #000000 ;
}

#product #product-description-short ul li,
#product #product-description-short ol li,
#product .product-information .product-description ul li,
#product .product-information .product-description ol li,
#product .product-description ul li,
#product .product-description ol li {
    color: #000000 ;
}

/* Pagina prodotto - Riepilogo caratteristiche */
#product .product-features > dl.data-sheet dd.value,
#product .product-features > dl.data-sheet dt.name,
#product .product-features,
#product .product-additional-info {
    color: #000000 ;
}

/* Pagina prodotto - Contenuto nei tab */
#product .tabs .tab-content,
#product .tabs .tab-content p,
#product .product-description-tab {
    color: #000000 ;
}

/* ============================================
   1. ICONE SOCIAL HEADER - Più visibili
   ============================================ */
#header .social-links a,
.header-top .social-links a {
    font-size: 18px ;
    margin: 0 8px ;
    transition: all 0.3s ease ;
    color: #253237 ;
}

#header .social-links a:hover,
.header-top .social-links a:hover {
    color: #e74c3c ;
    transform: scale(1.2) ;
}

/* WhatsApp più evidente */
#header .social-links a[href*="whatsapp"],
.header-top .social-links a[href*="whatsapp"] {
    color: #25D366 ;
    font-weight: bold ;
}

#header .social-links a[href*="whatsapp"]:hover {
    color: #128C7E ;
}



/* ============================================
   4. PREZZI - Più leggibili
   ============================================ */
.product-price-and-shipping .price,
.product-miniature .product-price-and-shipping .price,
.current-price .price {
    color: #e74c3c ;
    font-weight: 700 ;
    font-size: 22px ;
}

/* Prezzo scontato */
.product-discount .regular-price {
    text-decoration: line-through ;
    color: #95a5a6 ;
    font-size: 16px ;
    margin-right: 8px ;
}

/* ============================================
   5. CARD PRODOTTI - Migliore hover effect
   ============================================ */
.product-miniature,
.js-product-miniature {
    transition: all 0.3s ease ;
    border: 1px solid #ecf0f1 ;
    border-radius: 2px ;
    overflow: hidden ;
}

.product-miniature:hover,
.js-product-miniature:hover {
    transform: translateY(-5px) ;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) ;
    border-color: #ff6900 ;
}

/* Immagine prodotto */
.product-miniature .product-thumbnail img,
.js-product-miniature .product-thumbnail img {
    transition: all 0.4s ease ;
}

.product-miniature:hover .product-thumbnail img,
.js-product-miniature:hover .product-thumbnail img {
    transform: scale(1.08) ;
}

/* ============================================
   6. BREADCRUMB - Più leggibile
   ============================================ */
.breadcrumb {
    background: #f8f9fa 60% ;
    padding: 12px 20px ;
    border-radius: 6px ;
    font-size: 14px ;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #000000 ;
    text-decoration: none ;
    transition: color 0.3s ease ;
}

.breadcrumb a:hover {
    color: #ff6900 ;
    text-decoration: underline;
}


/* ============================================
   10. FOOTER - Migliore leggibilità
   ============================================ */
#footer {
    background: #2c3e50 ;
    color: #ecf0f1 ;
}

#footer a {
    color: #e67e22;
    transition: color 0.3s ease ;
}

#footer a:hover {
    color: #5dade2 ;
}

#footer h4 {
    color: #ffffff ;
    font-weight: 700 ;
    margin-bottom: 20px ;
    border-bottom: 2px solid #3498db ;
    padding-bottom: 10px ;
}

/* ============================================
   11. FORM - Input più chiari
   ============================================ */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 2px solid #bdc3c7 !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
    outline: none !important;
}

/* ============================================
   12. BADGE BRAND - Più visibili
   ============================================ */
.product-brand,
.brand-logo {
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
}

.product-brand:hover,
.brand-logo:hover {
    opacity: 1 !important;
}

/* ============================================
   13. LOADING IMAGES - Fix lazy loading visibility
   ============================================ */
img[data-src],
img[src*="data:image"] {
    background: #f8f9fa !important;
    min-height: 200px !important;
}

img.lazyloaded {
    animation: fadeIn 0.4s ease-in !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   14. MOBILE MENU - Miglioramenti responsiveness
   ============================================ */
@media (max-width: 991px) {
    /* Menu mobile più leggibile */
    .mobile-menu,
    .pos-menu-mobile {
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-menu a,
    .pos-menu-mobile a {
        padding: 14px 20px !important;
        border-bottom: 1px solid #ecf0f1 !important;
        font-size: 16px !important;
    }
    
    /* Pulsanti mobile più grandi */
    .mobile-menu .btn,
    button {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
}


/* ============================================
   16. SEARCH BAR - Più accessibile
   ============================================ */
.search-widget input[type="text"],
#search_widget input {
    border: 2px solid #bdc3c7 !important;
    padding: 10px 15px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.search-widget input[type="text"]:focus,
#search_widget input:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
}

.search-widget button,
#search_widget button {
    background: #3498db !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.search-widget button:hover,
#search_widget button:hover {
    background: #2980b9 !important;
    transform: scale(1.05) !important;
}

/* ============================================
   17. SCROLLBAR PERSONALIZZATA (Chrome/Edge)
   ============================================ */
::-webkit-scrollbar {
    width: 12px ;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #e67e22 ;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b84d02;
}

/* ============================================
   18. ANIMAZIONI SMOOTH per tutti i link
   ============================================ */
a {
    transition: all 0.3s ease ;
}

/* ============================================
   19. TOOLTIP - Più visibili
   ============================================ */
.tooltip,
[data-toggle="tooltip"] {
    z-index: 9999 ;
}

.tooltip-inner {
    background: #e67e22;
    color: #ffffff ;
    padding: 8px 14px ;
    border-radius: 4px ;
    font-size: 13px ;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) ;
}
.product-miniature .product-title,
.product-miniature .product-title a {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
}
