/*
 * Custom Modern Styles for Leomax
 * Design moderno para cards de produtos
 */

/* ===================================
   PRODUCT CARDS - Páginas de Listagem
   =================================== */

.modern-product-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.modern-product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.modern-product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    padding: 20px;
}

.modern-product-card .product-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.modern-product-card .product-info {
    padding: 20px;
}

.modern-product-card .product-category span {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.modern-product-card h4 {
    margin: 0 0 15px 0;
    min-height: 45px;
}

.modern-product-card h4 a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.modern-product-card h4 a:hover {
    color: #A90506;
}

.btn-view-product {
    display: block;
    width: 100%;
    text-align: center;
    background: #A90506;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-view-product:hover {
    background: #8a0405;
    color: #fff;
    box-shadow: 0 4px 12px rgba(169, 5, 6, 0.3);
}

/* ===================================
   PRODUCT CARDS - Home Page (Carousel)
   =================================== */

.modern-product-card-home {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 10px;
}

.modern-product-card-home:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.modern-product-card-home .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    padding: 30px;
}

.modern-product-card-home .product-image-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modern-product-card-home:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.modern-product-card-home .product-info {
    padding: 25px;
}

.modern-product-card-home h4 {
    margin: 0 0 20px 0;
    min-height: 50px;
}

.modern-product-card-home h4 a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    display: block;
}

.modern-product-card-home h4 a:hover {
    color: #A90506;
}

.btn-view-product-home {
    display: block;
    width: 100%;
    text-align: center;
    background: #A90506;
    color: #fff;
    padding: 14px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-view-product-home:hover {
    background: #8a0405;
    color: #fff;
    box-shadow: 0 4px 12px rgba(169, 5, 6, 0.3);
}

/* ===================================
   SLIDER & BANNERS - Home Page
   =================================== */

.single-slide-modern {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.single-slide-modern a:hover img {
    transform: scale(1.05);
}

.single-slide-modern a:hover {
    transform: scale(1.02);
}

.side-banner-modern {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.side-banner-modern:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.side-banner-modern:hover img {
    transform: scale(1.08);
}

/* ===================================
   OWL CAROUSEL NAVIGATION
   =================================== */

.product-active .owl-nav button.owl-prev,
.product-active .owl-nav button.owl-next {
    background: #A90506 !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.product-active .owl-nav button.owl-prev:hover,
.product-active .owl-nav button.owl-next:hover {
    background: #8a0405 !important;
    box-shadow: 0 4px 12px rgba(169, 5, 6, 0.3);
}

.slider-active .owl-nav button.owl-prev,
.slider-active .owl-nav button.owl-next {
    background: rgba(169, 5, 6, 0.9) !important;
    color: #fff !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: all 0.3s ease;
}

.slider-active .owl-nav button.owl-prev {
    left: 20px;
}

.slider-active .owl-nav button.owl-next {
    right: 20px;
}

.slider-active .owl-nav button:hover {
    background: rgba(138, 4, 5, 1) !important;
    box-shadow: 0 4px 15px rgba(169, 5, 6, 0.4);
}

.slider-active .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-active .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(169, 5, 6, 0.3);
    margin: 0 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-active .owl-dots .owl-dot.active span,
.slider-active .owl-dots .owl-dot:hover span {
    background: #A90506;
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   SECTION TITLES
   =================================== */

.li-section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.li-section-title h2 span {
    position: relative;
    display: inline-block;
}

.li-section-title h2 span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #A90506;
}

/* ===================================
   BREADCRUMB
   =================================== */

.breadcrumb-area {
    background: #f9f9f9;
    padding: 20px 0;
    margin-bottom: 30px;
}

.breadcrumb-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-content ul li {
    display: inline-block;
    color: #666;
    font-size: 14px;
}

.breadcrumb-content ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-content ul li a:hover {
    color: #A90506;
}

.breadcrumb-content ul li.active {
    color: #A90506;
    font-weight: 500;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 991px) {
    .modern-product-card .product-image-wrapper img,
    .modern-product-card-home .product-image-wrapper img {
        height: 200px;
    }
    
    .single-slide-modern {
        min-height: 400px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .modern-product-card h4,
    .modern-product-card-home h4 {
        min-height: auto;
    }
    
    .li-section-title h2 {
        font-size: 24px;
    }
    
    .slider-active .owl-nav button.owl-prev,
    .slider-active .owl-nav button.owl-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .slider-active .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .slider-active .owl-nav button.owl-next {
        right: 10px;
    }
}

@media (max-width: 575px) {
    .modern-product-card .product-info,
    .modern-product-card-home .product-info {
        padding: 15px;
    }
    
    .btn-view-product,
    .btn-view-product-home {
        padding: 10px 15px;
        font-size: 12px;
    }
}

