/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* Full Width Page Container for Homepage */
body.home .main-page-wrapper, body.page-id-1887 .main-page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.home .main-page-wrapper > .container, body.home .main-page-wrapper > .container-fluid, body.page-id-1887 .main-page-wrapper > .container, body.page-id-1887 .main-page-wrapper > .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.home .content-layout-wrapper, body.page-id-1887 .content-layout-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.home .site-content, body.page-id-1887 .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}
body.home .entry-content, body.page-id-1887 .entry-content {
    margin-bottom: 0 !important;
}


/* ==========================================================================
   LUXURY HERO SLIDER (ELEMENTOR PRO NATIVE - 100% FULL WIDTH & SIDE BY SIDE)
   ========================================================================== */

/* Woodmart Container full-width overrides */
body.home .main-page-wrapper, 
body.page-id-1887 .main-page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.home .main-page-wrapper > .container,
body.home .main-page-wrapper > .container-fluid,
body.page-id-1887 .main-page-wrapper > .container,
body.page-id-1887 .main-page-wrapper > .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.home .content-layout-wrapper,
body.page-id-1887 .content-layout-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.home .site-content,
body.page-id-1887 .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}
body.home .entry-content,
body.page-id-1887 .entry-content {
    margin-bottom: 0 !important;
}

/* Hero Fullwidth Container */
.ug-hero-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    position: relative;
    overflow: hidden;
}

/* Ambient lighting */
.ug-hero-fullwidth::before {
    content: '';
    position: absolute;
    top: -20%;
    right: 5%;
    width: 650px;
    height: 650px;
    background: none !important;
    pointer-events: none;
    z-index: 1;
}
.ug-hero-fullwidth::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: none !important;
    pointer-events: none;
    z-index: 1;
}

/* FORCE HORIZONTAL ROW (SIDE BY SIDE) ON DESKTOP */
.ug-slide-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    min-height: 580px !important;
    padding: 40px 50px !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    position: relative;
    z-index: 2;
}

/* Right Column: Content */
.ug-slide-wrapper > .e-con.e-child:first-child,
.ug-slide-wrapper > div:first-child {
    flex: 0 0 54% !important;
    width: 54% !important;
    max-width: 54% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: right !important;
    z-index: 3 !important;
}

/* Left Column: 3D Villa Image */
.ug-slide-wrapper > .e-con.e-child:last-child,
.ug-slide-wrapper > div:last-child {
    flex: 0 0 44% !important;
    width: 44% !important;
    max-width: 44% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
}

.ug-slide-wrapper .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* 3D Villa Image */
.ug-slide-wrapper .elementor-widget-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.ug-slide-wrapper .elementor-widget-image img {
    max-width: 100% !important;
    max-height: 480px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.85)) !important;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ug-slide-wrapper .elementor-widget-image:hover img {
    transform: scale(1.03) !important;
}

/* Eyebrow Badge */
.ug-eyebrow-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
}
.ug-pill-cyan {
    background: rgba(56, 189, 248, 0.14) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}
.ug-pill-emerald {
    background: rgba(16, 185, 129, 0.14) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #10b981 !important;
}
.ug-pill-amber {
    background: rgba(245, 158, 11, 0.14) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: #f59e0b !important;
}

/* Specs Card */
.ug-specs-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    margin: 16px 0 !important;
    box-sizing: border-box;
}
.ug-spec-unit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #cbd5e1;
}
.ug-spec-k {
    color: #94a3b8;
    font-weight: 500;
}
.ug-spec-v {
    color: #38bdf8;
    font-weight: 700;
}
.ug-spec-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
}

/* Color Swatches */
.ug-swatch-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 20px 0;
}
.ug-swatch-txt {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
}
.ug-swatch-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ug-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}
.ug-dot:hover {
    transform: scale(1.15);
    border-color: #ffffff;
}
.ug-dot.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5);
    transform: scale(1.18);
}

/* Action Row */
.ug-action-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    margin-top: 10px !important;
}
.ug-price-val {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #fbbf24 !important;
    line-height: 1 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 12px rgba(251, 191, 36, 0.3) !important;
}

/* Buttons */
.elementor-widget-button.ug-btn-red a,
.elementor-widget-button.ug-btn-red .elementor-button {
    background: linear-gradient(135deg, #e02424 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 34px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 22px rgba(224, 36, 36, 0.45) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}
.elementor-widget-button.ug-btn-red a:hover,
.elementor-widget-button.ug-btn-red .elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(224, 36, 36, 0.65) !important;
}

.elementor-widget-button.ug-btn-emerald a,
.elementor-widget-button.ug-btn-emerald .elementor-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 34px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-button.ug-btn-amber a,
.elementor-widget-button.ug-btn-amber .elementor-button {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 34px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

/* Swiper buttons */
.ug-hero-fullwidth .elementor-swiper-button {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease !important;
}
.ug-hero-fullwidth .elementor-swiper-button:hover {
    background: #e02424 !important;
    border-color: #e02424 !important;
    transform: scale(1.1) !important;
}

/* Swiper bullets */
.ug-hero-fullwidth .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}
.ug-hero-fullwidth .swiper-pagination-bullet-active {
    background: #e02424 !important;
    width: 32px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 12px rgba(224, 36, 36, 0.8) !important;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .ug-slide-wrapper {
        flex-direction: column-reverse !important;
        padding: 30px 20px !important;
        min-height: auto !important;
    }
    .ug-slide-wrapper > .e-con.e-child:first-child,
    .ug-slide-wrapper > div:first-child {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }
    .ug-slide-wrapper > .e-con.e-child:last-child,
    .ug-slide-wrapper > div:last-child {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    .ug-slide-wrapper .elementor-widget-image img {
        max-height: 260px !important;
    }
    .ug-specs-card {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .ug-swatch-row {
        justify-content: center !important;
    }
    .ug-action-bar {
        justify-content: center !important;
    }
}