/* Homepage Style */

.banner-content-block {
    gap: 30px;
    background-color: var(--bg-light-gray);
    padding: 45px 55px 65px;
}

.banner-content {
    flex: 0 0 46%;
}

.banner-image a {
    border: 6px solid var(--bg-light-gray);
}

section.unique-selling-point {
    padding: 2em 0;
}

.unique-selling-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 70px;
    margin-bottom: 55px;
}

.selling-point {
    width: calc(25% - 25px);
}

.selling-point p {
    min-height: 160px;
}

.selling-point-content {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 22px;
}

.selling-point-content img {
    margin-top: -55px;
    border-radius: 22px;
}

.selling-point-content h3 {
    color: #fff;
    margin-top: 14px;
    margin-bottom: 0;
    font-weight: 600;
}

.down-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff;
    border: 5px solid var(--bg-light-gray);
    position: absolute;
    left: calc(50% - 28px);
    bottom: -28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.down-arrow img {
    width: 16px;
    transform: rotate(135deg);
}

.crafting-needs {
    padding: 1em 0;
}

.crafting-needs .section-content {
    background-color: var(--bg-light-gray);
    padding: 140px 55px 65px;
    border-radius: 40px 40px 0 0;
}

.explore-beds-chairs {
    display: flex;
    justify-content: space-between;
}

.explore-content {
    flex: 1;
    margin: 0 22px;
    padding: 0 45px 45px;
    background-color: #fff;
    text-align: center;
    border-radius: 24px;
    box-shadow: rgb(50 50 93 / 14%) 0px 6px 8px -1px, rgb(0 0 0 / 0%) 0px 1px 8px -1px;
}

.explore-content>img {
    margin-top: -90px;
    border-radius: 24px;
}

.explore-content h3 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0;
}

.explore-content p {
    margin-bottom: 38px;
}

.crafting-needs-block {
    max-width: 980px;
    margin: 0 auto;
}

.crafting-needs-block .title-separator img {
    width: 500px;
    margin: 45px auto 0;
}

.crafting-steps {
    margin-top: 50px;
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.crafting-step {
    width: calc(50% - 20px);
    display: flex;
}

.step-no p {
    background-color: var(--bold-blue);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    margin: 0px 20px 0 0 !important;
    font-weight: 600;
    font-size: 1.375rem;
}

.crafting-step h4 {
    margin-top: 6px;
    color: var(--light-blue);
    margin-bottom: 0;
    font-weight: 600;
}

.crafting-step p {
    margin-top: 12px;
    margin-bottom: 0;
}

.featured-products h3.section-heading {
    margin-top: 0;
}

.featured-products .section-content {
    padding-top: 2em;
    padding-bottom: 3em;
	background-color: var(--bold-blue);
}

.featured-products .section-content p.section-subtitle {
    margin-top: 40px;
    margin-bottom: 12px;
}

.featured-products .arrow-down {
    width: 15px;
    margin: 0 auto;
}

.featured-products .arrow-down img {
    transform: rotate(135deg);
}

/* Main toggle container */
.slide-toggle .toggle-container {
    position: relative;
    width: 460px;
    height: 46px;
    margin: 20px auto 0;
    background-color: #fff;
    border-radius: 34px;
    overflow: hidden;
}

/* Hide radio buttons */
input[type="radio"] {
    display: none;
}

/* Styling for the slider */
.slide-toggle .slider {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Label for each toggle option */
.slide-toggle .toggle-option {
    flex: 1;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    color: var(--theme-green);
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the sliding background */
.slide-toggle .toggle-slider {
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: var(--theme-green);
    ;
    border-radius: 20px;
    top: 0;
    left: 0;
    transition: 0.4s;
}

/* Move slider to the right when "Chairs" is selected */
.slide-toggle input#chairs:checked~.slider .toggle-slider {
    transform: translateX(100%);
}

/* Text color change based on selection */

.slide-toggle input#beds:checked~.slider label[for="beds"],
.slide-toggle input#chairs:checked~.slider label[for="chairs"] {
    color: #fff;
    border-radius: 20px;
}

.adjustable-beds {
    display: none;
}

.adjustable-beds.active {
    display: flex;
}

section.faq {
    padding-top: 1em;
    padding-bottom: 2em;
}

.faq-block {
    background-position: center !important;
    background-size: cover !important;
    margin-top: 35px;
    padding: 3em 4em;
    border-radius: 22px;
}

.faq-block-content {
    max-width: 60%;
}

.faq-block-content p.section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.faq-block-content h3 {
    margin: 5px 0 30px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.75rem;
}

.faq-block-content a.btn-theme {
    margin-top: 2.5em;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .banner-content-block {
        flex-direction: column;
        padding: 20px 40px 16px;
        gap: 0;
        border-radius: 0 0 18px 18px;
    }

    .main-banner>.container.full-width {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-content {
        text-align: center;
    }

    .banner-content h4 {
        font-size: 0.875rem;
        justify-content: center;
        margin-bottom: 0;
    }

    .banner-content h1 {
        font-size: 2.5rem;
        margin: 10px 0 0;
        line-height: 1.2em;
    }

    .banner-content img.review-rating {
        margin: 20px auto 20px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 13px;
    }

    .banner-buttons .btn-theme {
        width: 90%;
        justify-content: center;
    }

    .banner-image {
        left: -40px;
        width: calc(100% + 80px);
    }

    .banner-image img {
        border-radius: 0 0 35px 35px;
    }

    .banner-image a {
        border-bottom-right-radius: 0;
        border-top-left-radius: 25px;
    }

    .unique-selling-points {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .selling-point {
        width: 100%;
        margin-bottom: 60px;
        padding: 0 10px;
    }

    section.unique-selling-point {
        padding-top: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .selling-point:last-child {
        margin-bottom: 0;
    }

    .btn-theme-default span.btn-arrow-icon {
        display: none;
    }

    .crafting-needs {
        padding-top: 5px;
    }

    .crafting-needs>.container.full-width {
        padding-left: 0;
        padding-right: 0;
    }

    .crafting-needs .section-content {
        border-radius: 25px 25px 0 0;
    }

    .explore-beds-chairs {
        flex-direction: column;
    }

    .crafting-needs .section-content {
        padding: 130px 5px 50px;
    }

    .explore-content:not(:last-child) {
        margin-bottom: 125px;
    }

    .crafting-needs-block .title-separator img {
        width: 300px;
        margin-top: 40px;
    }

    h3.section-heading {
        font-size: 1.75rem;
        text-wrap: balance;
        margin-top: 15px;
    }

    .crafting-needs-block {
        padding-left: 10px;
        padding-right: 10px;
    }

    .crafting-steps {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .crafting-step {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .step-details {
        text-align: center;
    }

    .featured-products>.container.full-width {
        padding-left: 0;
        padding-right: 0;
    }

    .featured-products .section-content p.section-subtitle,
    .featured-products .arrow-down {
        display: none;
    }

    .featured-products .section-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .slide-toggle .toggle-option {
        font-size: 0.875rem;
    }

    .slide-toggle .toggle-container {
        width: 100%;
    }

    .adjustable-beds {
        margin-top: 35px;
    }

    .adjustable-beds {
        flex-direction: column;
        padding: 0;
    }

    .adjustable-beds .adjustable-bed {
        width: 100%;
    }

    .adjustable-beds .adjustable-bed:not(:last-child) {
        margin-bottom: 25px;
    }

    .faq-block {
        padding: 45px 15px;
        text-align: center;
        min-height: 785px;
        background: url('/wp-content/uploads/2024/10/faq_mobile_banner.jpg') !important;
        background-position: bottom !important;
        background-size: cover !important;
    }

    .faq-block-content {
        max-width: 100%;
    }

    .faq-block-content p.section-subtitle {
        text-align: center;
        margin-bottom: 15px;
    }

    .faq-block-content h3 {
        font-size: 1.5rem;
        line-height: 1.3em;
    }

    .faq-block-content a.btn-theme {
        margin-top: 20px;
    }

    section.faq {
        padding-left: 30px;
        padding-right: 30px;
    }
}