/* =========================================================
   JOYD SHOWROOM PAGE
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.joyd-showroom-hero {
    min-height: 560px !important;
}

/* =========================================================
   HERO — DARK GRADIENT OVERLAY
   ========================================================= */

.joyd-showroom-hero {
    position: relative !important;
    min-height: 560px !important;
}

/* Dark fade on the LEFT only */
.joyd-showroom-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;

    background: linear-gradient(
        90deg,
        rgba(24, 18, 13, 0.78) 0%,
        rgba(24, 18, 13, 0.58) 25%,
        rgba(24, 18, 13, 0.18) 48%,
        rgba(24, 18, 13, 0) 68%
    ) !important;
}

/* Keep the hero content above the gradient */
.joyd-showroom-hero > .row_col_wrap_12 {
    position: relative !important;
    z-index: 2 !important;
}

/* =========================================================
   2. HERO — OVERLAY + CONTENT
   ========================================================= */

/* Hero itself */
.joyd-showroom-hero {
    position: relative !important;
    min-height: 560px !important;
    overflow: hidden !important;
}

/* Dark gradient */
.joyd-showroom-hero::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 65% !important;
    height: 100% !important;

    background: linear-gradient(
        90deg,
        rgba(25, 18, 12, 0.82) 0%,
        rgba(25, 18, 12, 0.66) 35%,
        rgba(25, 18, 12, 0.30) 68%,
        rgba(25, 18, 12, 0) 100%
    ) !important;

    z-index: 1 !important;
    pointer-events: none !important;
}

/* Keep WPBakery content above overlay */
.joyd-showroom-hero .row_col_wrap_12,
.joyd-showroom-hero .vc_column_container,
.joyd-showroom-hero .vc_column-inner,
.joyd-showroom-hero .wpb_wrapper {
    position: relative !important;
    z-index: 2 !important;
}


/* =========================================================
   HERO CONTENT POSITION
   ========================================================= */

.joyd-showroom-hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-height: 560px !important;

    max-width: 430px !important;

    padding: 55px 0 55px 55px !important;
    box-sizing: border-box !important;

    color: #FFFFFF !important;
}


/* =========================================================
   SMALL "VISIT OUR SHOWROOM"
   ========================================================= */

.joyd-showroom-eyebrow {
    margin-bottom: 14px !important;

    color: rgba(255,255,255,0.82) !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    letter-spacing: 2.2px !important;
    line-height: 1.2 !important;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.joyd-showroom-hero-content h1 {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;

    color: #FFFFFF !important;

    font-size: 48px !important;
    font-weight: 300 !important;

    line-height: 1.08 !important;
    letter-spacing: 3px !important;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.joyd-showroom-hero-content p {
    max-width: 330px !important;

    margin: 0 0 24px 0 !important;
    padding: 0 !important;

    color: rgba(255,255,255,0.88) !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    line-height: 1.6 !important;
}


/* =========================================================
   GET DIRECTIONS BUTTON
   ========================================================= */

.joyd-showroom-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 175px !important;

    padding: 13px 18px !important;
    box-sizing: border-box !important;

    background: rgba(126, 83, 53, 0.88) !important;

    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 2px !important;

    color: #FFFFFF !important;
    text-decoration: none !important;

    font-size: 10px !important;
    font-weight: 600 !important;

    letter-spacing: 1.2px !important;

    transition:
        background-color .2s ease,
        transform .2s ease !important;
}

.joyd-showroom-hero-btn:hover {
    background: #68442D !important;
    color: #FFFFFF !important;

    transform: translateY(-1px);
}

.joyd-showroom-hero-arrow {
    margin-left: 15px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}


/* =========================================================
   HERO — MOBILE
   ========================================================= */

@media only screen and (max-width: 690px) {

    .joyd-showroom-hero,
    .joyd-showroom-hero-content {
        min-height: 500px !important;
    }

    .joyd-showroom-hero::before {
        width: 100% !important;

        background: linear-gradient(
            90deg,
            rgba(25,18,12,0.78) 0%,
            rgba(25,18,12,0.50) 65%,
            rgba(25,18,12,0.20) 100%
        ) !important;
    }

    .joyd-showroom-hero-content {
        max-width: 330px !important;
        padding: 40px 25px !important;
    }

    .joyd-showroom-hero-content h1 {
        font-size: 38px !important;
        letter-spacing: 2px !important;
    }

    .joyd-showroom-hero-content p {
        font-size: 12px !important;
    }
}

html {
    scroll-behavior: smooth;
}

/* =========================================================
   3. SHOWROOM INTRO
   A BETTER WAY TO FIND FURNITURE
   ========================================================= */

.joyd-showroom-intro {
    position: relative !important;
    margin: 0 !important;
}

/* Make both columns equal height */
.joyd-showroom-intro > .row_col_wrap_12,
.joyd-showroom-intro > .row_col_wrap_12 > .vc_column_container {
    align-items: stretch !important;
}


/* =========================================================
   LEFT TEXT PANEL
   ========================================================= */

.joyd-showroom-intro-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    min-height: 500px !important;

    padding: 60px 70px !important;
    box-sizing: border-box !important;
}


/* Small heading */
.joyd-showroom-section-eyebrow {
    margin-bottom: 14px !important;

    color: #8A7465 !important;

    font-size: 10px !important;
    font-weight: 500 !important;

    letter-spacing: 2px !important;
    line-height: 1.2 !important;
}


/* Main heading */
.joyd-showroom-intro-content h2 {
    margin: 0 0 24px 0 !important;
    padding: 0 !important;

    color: #29231F !important;

    font-size: 37px !important;
    font-weight: 300 !important;

    line-height: 1.18 !important;
    letter-spacing: 2.5px !important;
}


/* Paragraph */
.joyd-showroom-intro-content p {
    max-width: 470px !important;

    margin: 0 0 28px 0 !important;

    color: #625B55 !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    line-height: 1.75 !important;
}


/* =========================================================
   LEARN MORE
   ========================================================= */

.joyd-showroom-text-link {
    display: inline-flex !important;
    align-items: center !important;

    gap: 10px !important;

    width: fit-content !important;

    padding-bottom: 4px !important;

    border-bottom: 1px solid #A58D7B !important;

    color: #72543E !important;
    text-decoration: none !important;

    font-size: 10px !important;
    font-weight: 600 !important;

    letter-spacing: 1.4px !important;
}

.joyd-showroom-text-link:hover {
    color: #3E2B1D !important;
    border-color: #3E2B1D !important;
}


/* =========================================================
   RIGHT IMAGE
   ========================================================= */

/* Remove default WPBakery image spacing */
.joyd-showroom-intro .wpb_single_image,
.joyd-showroom-intro .wpb_single_image .vc_single_image-wrapper {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Make image fill the panel */
.joyd-showroom-intro .wpb_single_image img {
    display: block !important;

    width: 100% !important;
    height: 500px !important;

    object-fit: cover !important;
    object-position: center !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 690px) {

    .joyd-showroom-intro-content {
        min-height: auto !important;
        padding: 50px 25px !important;
    }

    .joyd-showroom-intro-content h2 {
        font-size: 29px !important;
        letter-spacing: 1.8px !important;
    }

    .joyd-showroom-intro .wpb_single_image img {
        height: 360px !important;
    }

}

/* =========================================================
   JOYD SHOWROOM — BENEFITS STRIP
   ========================================================= */

.joyd-showroom-benefits {
    padding: 36px 0 34px !important;
    margin: 0 !important;
}

/* Each benefit column */
.joyd-showroom-benefits > .span_12 > .vc_col-sm-4,
.joyd-showroom-benefits .wpb_column {
    text-align: center;
    padding: 0 38px !important;
    position: relative;
}

/* Vertical separators */
.joyd-showroom-benefits .wpb_column:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 1px;
    background: #ddd7cf;
}

/* Heading */
.joyd-showroom-benefit h3 {
    margin: 0 0 10px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: 1.4px !important;
    color: #403a35 !important;
}

/* Description */
.joyd-showroom-benefit p {
    max-width: 270px;
    margin: 0 auto !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #6d665f !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 690px) {

    .joyd-showroom-benefits {
        padding: 25px 20px !important;
    }

    .joyd-showroom-benefits .wpb_column {
        padding: 25px 10px !important;
    }

    /* No vertical lines on mobile */
    .joyd-showroom-benefits .wpb_column::after {
        display: none !important;
    }

    /* Horizontal separators instead */
    .joyd-showroom-benefits .wpb_column:not(:last-child) {
        border-bottom: 1px solid #ddd7cf;
    }
}

/* =========================================================
   SHOWROOM — BENEFIT ICONS
   ========================================================= */

.joyd-showroom-benefits .joyd-benefit-icon {
    height: 105px !important;
    margin: 0 0 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Keep Salient/WPBakery wrappers centered */
.joyd-showroom-benefits .joyd-benefit-icon .img-with-aniamtion-wrap,
.joyd-showroom-benefits .joyd-benefit-icon .inner,
.joyd-showroom-benefits .joyd-benefit-icon .hover-wrap,
.joyd-showroom-benefits .joyd-benefit-icon .hover-wrap-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Actual PNG icons */
.joyd-showroom-benefits .joyd-benefit-icon img {
    width: auto !important;
    height: 40px !important;
    max-width: 100px !important;
	

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 auto !important;
}

/* Text underneath icons */
.joyd-showroom-benefits .wpb_text_column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* =========================================================
   BENEFITS — FORCE PERFECT ALIGNMENT
   ========================================================= */

/* Make all 3 columns behave the same */
.joyd-showroom-benefits .wpb_column > .vc_column-inner > .wpb_wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Give every icon an identical area */
.joyd-showroom-benefits .joyd-benefit-icon {
    width: auto !important;
    height: 40px !important;
    min-height: 110px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}

/* Remove Salient's hidden image spacing */
.joyd-showroom-benefits .joyd-benefit-icon,
.joyd-showroom-benefits .joyd-benefit-icon .img-with-aniamtion-wrap,
.joyd-showroom-benefits .joyd-benefit-icon .inner,
.joyd-showroom-benefits .joyd-benefit-icon .hover-wrap,
.joyd-showroom-benefits .joyd-benefit-icon .hover-wrap-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Text block gets identical positioning */
.joyd-showroom-benefits .wpb_text_column {
    width: 100% !important;
    margin: 14px 0 0 !important;
    text-align: center !important;
}

/* =========================================================
   SHOWROOM — BENEFIT SEPARATORS
   ========================================================= */

.joyd-benefit-middle {
    position: relative !important;
}

/* LEFT separator */
.joyd-benefit-middle::before {
    content: "" !important;
    position: absolute !important;

    left: -45px !important;
    top: 0 !important;

    width: 1px !important;
    height: 100% !important;

    background-color: #DED7CD !important;

    display: block !important;
}

/* RIGHT separator */
.joyd-benefit-middle::after {
    content: "" !important;
    position: absolute !important;

    right: -45px !important;
    top: 0 !important;

    width: 1px !important;
    height: 100% !important;

    background-color: #DED7CD !important;

    display: block !important;
}

/* Hide separators on mobile */
@media only screen and (max-width: 690px) {

    .joyd-benefit-middle::before,
    .joyd-benefit-middle::after {
        display: none !important;
    }

}

/* =========================================================
   SHOWROOM — LOCATION SECTION
   ========================================================= */

.joyd-showroom-location {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}


/* Main information area */
.joyd-location-info {
    max-width: 470px;
    padding-right: 55px;
}


/* Small heading */
.joyd-location-eyebrow {
    margin-bottom: 8px;

    color: #8A6A55;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
}


/* OUR SHOWROOMS */
.joyd-location-info > h2 {
    margin: 0 0 38px 0 !important;

    color: #27211D;

    font-size: 35px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 2px;
}


/* Individual showroom */
.joyd-location-card {
    position: relative;

    margin-bottom: 30px;
    padding-bottom: 30px;

    border-bottom: 1px solid #DED7CD;
}


/* Remove line after last showroom */
.joyd-location-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}


/* Showroom name */
.joyd-location-card h3 {
    margin: 0 0 10px 0 !important;

    color: #332A24;

    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
}


/* Address */
.joyd-location-address {
    margin: 0 0 12px 0 !important;

    color: #6C625A;

    font-size: 13px;
    line-height: 1.65;
}


/* Telephone */
.joyd-location-phone {
    display: inline-block;

    margin-bottom: 16px;

    color: #6C625A !important;

    font-size: 13px;
    text-decoration: none !important;
}

.joyd-location-phone:hover {
    color: #A86132 !important;
}


/* Get Directions */
.joyd-location-directions {
    display: block;
    width: fit-content;

    color: #A86132 !important;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-decoration: none !important;
}

.joyd-location-directions span {
    display: inline-block;

    margin-left: 10px;

    transition: transform .2s ease;
}

.joyd-location-directions:hover span {
    transform: translateX(4px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 690px) {

    .joyd-showroom-location {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .joyd-location-info {
        max-width: none;
        padding-right: 0;
        margin-bottom: 35px;
    }

    .joyd-location-info > h2 {
        font-size: 29px !important;
        margin-bottom: 30px !important;
    }

}

/* =========================================================
   SHOWROOM — DYNAMIC MAP
   ========================================================= */

#joyd-dynamic-map {
    width: 100%;
    height: 420px;
    min-height: 420px;
}