/* Premium Homepage Design Custom CSS */

/* Custom global container adjustments */
body {
    background-color: #f6f8fb;
    color: #495057;
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Sections Heading modernizations */
.section-header {
    margin-bottom: 35px;
}

.section-header.left-style .title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    position: relative;
    padding-left: 16px;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.section-header.left-style .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 6px;
    background: hsl(var(--base));
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Banners / Hero sliders enhancements */
.hero-section {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #fff;
    padding: 10px;
}

.hero-slider {
    border-radius: 16px;
    overflow: hidden;
}

.hero-banner {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Product Card Complete Redesign */
.product-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.07) !important;
}

.product-card .product-thumb {
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f8fafc;
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.15, 1, 0.3, 1) !important;
}

.product-card:hover .product-thumb img {
    transform: scale(1.08) !important;
}

/* Floating Compare/Wishlist buttons */
.product-card-buttons {
    right: 12px !important;
    top: 12px !important;
    opacity: 0;
    transform: translateX(20px) !important;
    transition: all 0.3s cubic-bezier(0.15, 1, 0.3, 1) !important;
}

.product-card:hover .product-card-buttons {
    opacity: 1;
    transform: translateX(0) !important;
}

.product-card-buttons li button, 
.product-card-buttons li a {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

.product-card-buttons li button:hover, 
.product-card-buttons li a:hover {
    background: hsl(var(--base)) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.product-card-buttons li button.active {
    color: #ef4444 !important;
}

.product-card-buttons li button.active:hover {
    color: #fff !important;
}

/* Product Content & Typography */
.product-card .product-content {
    padding-top: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .product-content .title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    min-height: 40px;
}

.product-card .product-content .title a {
    color: #334155 !important;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .product-content .title a:hover {
    color: hsl(var(--base)) !important;
}

.product-card .ratings-area {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card .ratings-area span.ratings i {
    color: #f59e0b !important;
    font-size: 0.85rem !important;
}

.product-card .ratings-area .rating-count {
    color: #64748b !important;
    font-size: 0.78rem !important;
    font-weight: 500;
}

.product-card .price {
    font-size: 1.05rem !important;
    font-weight: 750 !important;
    color: hsl(var(--base)) !important;
    margin-bottom: 12px;
}

.product-card .price del {
    color: #94a3b8 !important;
    font-size: 0.82rem !important;
    margin-left: 6px;
    font-weight: 500 !important;
}

/* Premium Rounded Pill Add To Cart Button */
.product-card .add-to-cart-btn {
    width: 100% !important;
    border-radius: 30px !important;
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    background: hsl(var(--base)) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card .add-to-cart-btn:hover {
    background: hsl(var(--base)) !important;
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.product-card .add-to-cart-btn i {
    font-size: 1.05rem;
}

/* Services items customization */
.service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Grid system gaps modernizations */
.product-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

@media (max-width: 575px) {
    .product-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }
    
    .product-card .product-thumb {
        border-radius: 8px !important;
    }
    
    .product-card .add-to-cart-btn {
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
        border-radius: 20px !important;
    }
}

/* Homepage Hero Banner Auto Adjust Style */
.slider-wrapper {
    height: auto !important;
}

.banner-slider.owl-carousel .owl-stage-outer,
.banner-slider.owl-carousel .owl-stage,
.banner-slider.owl-carousel .owl-item,
.banner-slider.owl-carousel .owl-item a,
.banner-slider .slide-item {
    height: auto !important;
}

.banner-slider.owl-carousel .owl-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Premium Footer Styling Overrides */
.footer-bg {
    background-color: #0f172a !important; /* Deep Slate 900 */
    border-top: 4px solid hsl(var(--base));
    position: relative;
}

/* Subtle line accents below widget titles */
.footer-widget .title, 
.widget-contact .title {
    color: #f8fafc !important; /* Slate 50 */
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px !important;
}

.footer-widget .title::after, 
.widget-contact .title::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: hsl(var(--base));
    margin-top: 8px;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.footer-widget p {
    color: #94a3b8 !important; /* Slate 400 */
    line-height: 1.8;
}

/* Links hovering slide transition */
.footer-widget ul {
    gap: 10px !important;
}

.footer-widget ul li a {
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.footer-widget ul li a:hover {
    color: hsl(var(--base)) !important;
    transform: translateX(6px);
}

/* Contact Details Info Icons */
.widget-contact ul li {
    color: #94a3b8 !important;
    display: flex;
    align-items: flex-start;
}

.widget-contact ul li a {
    color: #94a3b8 !important;
}

.widget-contact ul li a:hover {
    color: hsl(var(--base)) !important;
}

.widget-contact li i, 
.footer-widget ul li i, 
.widget-contact ul li a i {
    color: hsl(var(--base)) !important;
    font-size: 1.2rem !important;
    margin-right: 12px !important;
    margin-top: 3px;
}

/* Glassmorphic Social Icons */
.footer-copyright .social-icons {
    display: flex;
    gap: 12px !important;
}

.footer-copyright .social-icons li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    color: #94a3b8 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.footer-copyright .social-icons li a:hover {
    background: hsl(var(--base)) !important;
    border-color: hsl(var(--base)) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Premium Rounded Newsletter Widget */
.newsletter-widget {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-widget .title {
    color: #f8fafc !important;
}

.newsletter-widget p {
    color: #94a3b8 !important;
}

.subscribe-form {
    display: flex;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.subscribe-form input {
    flex-grow: 1;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: 0.9rem;
    height: auto !important;
    outline: none !important;
}

.subscribe-form input::placeholder {
    color: #64748b;
}

.subscribe-form .subscribe-btn {
    background: hsl(var(--base)) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 24px !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.subscribe-form .subscribe-btn:hover {
    background: hsl(var(--base)) !important;
    opacity: 0.95;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Divider & Copyright area */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.footer-copyright p {
    color: #94a3b8 !important;
}

.footer-copyright p a {
    color: hsl(var(--base)) !important;
    font-weight: 600;
}