/**
 * home-design-detail.css — /home-designs-gallery/{slug}/ single page styles
 *
 * Compiled from React SCSS sources:
 *   - HomeDesignsDetailPage/Sections/DesignDetailBanner/_design-banner.scss
 *   - HomeDesignsDetailPage/Sections/DesignInfoBox/_designinfobox.scss
 *   - HomeDesignsDetailPage/Sections/CustomerReview/_customerreview.scss
 *
 * SCSS variables resolved:
 *   $primary          → #e78125
 *   $secondary        → #19263a
 *   $white            → #fff
 *   $color_shark      → #232528
 *   $color_raven      → #7b7c7e
 *   $color_wild_sand  → #f5f5f5
 *   $color_gray       → #e4e4e4
 *
 * Dependencies (already loaded): bootstrap, main, blog, homepage, home-designs
 */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.design-detail-banner-wrap {
    position: relative;
}

/* ── Banner / Gallery ────────────────────────────────────────────────────── */
.design-banner-wrap {
    position: relative;
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .design-banner-wrap {
        padding-bottom: 0;
    }
    .design-banner-wrap .container {
        padding-left: 0;
        padding-right: 0;
    }
}

.design-banner-wrap .slider-box {
    position: relative;
    margin-bottom: 6px;
    overflow: hidden;
}

.design-banner-wrap .slider-box .swiper {
    overflow: hidden;
}

.design-banner-wrap .slider-box .img {
    width: 100%;
    /* max-height: 500px; */
    /* overflow: hidden; */
}

.design-banner-wrap .slider-box .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrow buttons */
.design-banner-wrap .block-slider-arrow {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 50%;
    margin-top: -24px;
    font-size: 24px;
    background: #e78125;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 10px 16px #eed3b9;
    border-radius: 100%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

@media (max-width: 767px) {
    .design-banner-wrap .block-slider-arrow {
        display: none;
    }
}

.design-banner-wrap .block-slider-arrow:hover {
    background: #cf7320;
}

.design-banner-wrap .block-slider-arrow--left {
    left: 42px;
}

.design-banner-wrap .block-slider-arrow--right {
    right: 42px;
}

@media (max-width: 1440px) {
    .design-banner-wrap .block-slider-arrow--left { left: 10px; }
    .design-banner-wrap .block-slider-arrow--right { right: 10px; }
}

.design-banner-wrap .block-slider-arrow.swiper-button-disabled {
    opacity: 0;
}

/* Thumbnail slider */
.design-banner-wrap .slider-thumb-box {
    max-width: 400px;
}

@media (max-width: 767px) {
    .design-banner-wrap .slider-thumb-box {
        max-width: 100%;
        padding: 6px 20px 13px;
    }
}

.design-banner-wrap .slider-thumb-box .swiper-slide {
    padding-bottom: 10px;
    cursor: pointer;
}

.design-banner-wrap .slider-thumb-box .swiper-slide-thumb-active .img {
    border-color: #e78125;
    box-shadow: 0 5px 11px -4px rgba(231,129,37,0.5);
}

.design-banner-wrap .slider-thumb-box .img {
    padding-bottom: 80%;
    position: relative;
    overflow: hidden;
    background: #e4e4e4;
    border: 1px solid #7b7c7e;
    border-radius: 4px;
}

.design-banner-wrap .slider-thumb-box .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Info Box ────────────────────────────────────────────────────────────── */
.design-info-box-wrap .container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .design-info-box-wrap .container {
        padding-left: 0;
        padding-right: 0;
    }
}

.design-info-box {
    max-width: 732px;
    margin-left: auto;
    margin-right: 24px;
    background: #fff;
    margin-top: -194px;
    z-index: 12;
    position: relative;
    box-shadow: 0 -2px 107px rgba(0,0,0,0.15);
    border-radius: 8px;
}

@media (max-width: 1230px) {
    .design-info-box {
        max-width: 600px;
    }
}

@media (max-width: 1100px) {
    .design-info-box {
        max-width: 750px;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .design-info-box {
        border-radius: 0;
        box-shadow: 0 -2px 32px rgba(0,0,0,0.08);
    }
}

/* Title header */
.design-info-box .title-header {
    padding: 49px 56px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .design-info-box .title-header {
        padding: 30px 20px 0;
    }
}

.design-info-box .title-header .left {
    width: 100%;
}

.design-info-box .title-header .left h2 {
    color: #19263a;
    padding-bottom: 13px;
    margin: 0;
}

@media (max-width: 767px) {
    .design-info-box .title-header .left h2 { padding-bottom: 6px; }
}

.design-info-box .title-header .left .star {
    display: flex;
    align-items: center;
}

.design-info-box .title-header .left .star .star-icon {
    font-size: 24px;
    color: #D2D2D2;
    line-height: 1;
}

.design-info-box .title-header .left .star .star-icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.design-info-box .title-header .left .star .star-icon.filled {
    color: #F4C059;
}

@media (max-width: 767px) {
    .design-info-box .title-header .left .star .star-icon {
        font-size: 18px;
    }
}

.design-info-box .title-header .left .star .count {
    padding-left: 20px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .design-info-box .title-header .left .star .count { font-size: 14px; }
}

.design-info-box .title-header .right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.design-info-box .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e78125;
    background: #fff;
    border: 0;
    font-size: 20px;
    width: 63px;
    height: 63px;
    border-radius: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    position: relative;
}

@media (max-width: 767px) {
    .design-info-box .share-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

.design-info-box .share-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 11px rgba(0,0,0,0.08);
    padding: 10px;
    z-index: 100;
}

.design-info-box .share-btn-wrap:hover .share-menu,
.design-info-box .share-btn-wrap.open .share-menu {
    display: flex;
    gap: 8px;
}

.design-info-box .share-btn-wrap {
    position: relative;
}

.design-info-box .share-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #19263a;
    font-size: 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.design-info-box .share-menu a svg {
    display: block;
}

.design-info-box .share-menu a:nth-child(1) svg {
    fill: #000;
    stroke: #fff;
}

.design-info-box .share-menu a:nth-child(2) svg {
    fill: #1877f2;
    stroke: #fff;
}

.design-info-box .share-menu a:nth-child(3) svg {
    fill: #0a66c2;
    stroke: #fff;
}

.design-info-box .share-menu a:hover {
    opacity: 0.85;
}

.design-info-box .bookmark-btn {
    border-left: 1px solid rgba(123, 124, 126, 0.2);
    padding-left: 14px;
}

.design-info-box .bookmark-btn .bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e78125;
    background: #fff;
    border: 0;
    font-size: 20px;
    width: 63px;
    height: 63px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    box-shadow: 0 3px 11px rgba(0, 0, 0, .08);
}

.design-info-box .bookmark-btn .bookmark:hover,
.design-info-box .bookmark-btn .bookmark.active {
    color: #e78125;
    opacity: 0.85;
}

.design-info-box .bookmark-btn .bookmark svg {
    display: block;
}

@media (max-width: 767px) {
    .design-info-box .title-header .right {
        gap: 10px;
    }

    .design-info-box .bookmark-btn {
        padding-left: 10px;
    }

    .design-info-box .bookmark-btn .bookmark {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Description box */
.design-info-box .desc-box {
    padding: 38px 56px;
    border-bottom: 4px solid #f5f5f5;
}

@media (max-width: 767px) {
    .design-info-box .desc-box {
        padding: 32px 20px 24px;
    }
}

.design-info-box .desc-box:last-child {
    border-bottom: 0;
}

@media (max-width: 767px) {
    .design-info-box .desc-box:last-child {
        padding-top: 20px;
    }
}

.design-info-box .desc-box .desc-txt {
    font-size: 18px;
    line-height: 30px;
    padding-bottom: 21px;
}

@media (max-width: 767px) {
    .design-info-box .desc-box .desc-txt {
        font-size: 14px;
        line-height: 166%;
    }
}

.design-info-box .desc-box .desc-txt h6 {
    font-size: 20px;
    font-weight: 500;
    color: #19263a;
    padding-bottom: 12px;
}

@media (max-width: 767px) {
    .design-info-box .desc-box .desc-txt h6 { font-size: 16px; }
}

.design-info-box .desc-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.design-info-box .desc-box ul li {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    line-height: 21px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(123,124,126,0.1);
}

.design-info-box .desc-box ul li:last-child {
    border-bottom: 0;
}

@media (max-width: 767px) {
    .design-info-box .desc-box ul li { font-size: 14px; }
}

.design-info-box .desc-box ul li a {
    color: #232528;
    transition: color 0.3s ease;
}

.design-info-box .desc-box ul li a:hover {
    color: #e78125;
}

.design-info-box .desc-box .info-label {
    color: #19263a;
    flex-shrink: 0;
}

/* ── Customer Review ─────────────────────────────────────────────────────── */
.customer-review-wrap {
    padding: 58px 0 65px;
}

.customer-review-wrap h5 {
    font-size: 28px;
    font-weight: 400;
    font-family: "DM Serif Display", serif;
    color: #19263a;
    padding-bottom: 21px;
    margin: 0;
}

@media (max-width: 767px) {
    .customer-review-wrap h5 { font-size: 20px; }
}

/* Rating summary */
.customer-review-wrap .review-rating {
    max-width: 324px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .customer-review-wrap .review-rating { padding-bottom: 20px; }
}

.customer-review-wrap .rating-no {
    padding-bottom: 38px;
}

.customer-review-wrap .rating-no .no {
    font-size: 28px;
    color: #19263a;
    display: block;
    padding-bottom: 9px;
}

.customer-review-wrap .rating-no .no strong {
    font-weight: 700;
}

@media (max-width: 767px) {
    .customer-review-wrap .rating-no .no { font-size: 22px; }
}

.customer-review-wrap .rating-no p {
    margin-bottom: 0;
    font-size: 16px;
    color: #7b7c7e;
}

@media (max-width: 767px) {
    .customer-review-wrap .rating-no p { font-size: 12px; }
}

/* Star breakdown bars */
.customer-review-wrap .star-breakdown {
    list-style: none;
    margin: 0;
    padding: 0;
}

.customer-review-wrap .star-breakdown li {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.customer-review-wrap .star-label {
    width: 58px;
    flex-shrink: 0;
    font-size: 16px;
    color: #232528;
}

@media (max-width: 767px) {
    .customer-review-wrap .star-label { font-size: 14px; }
}

.customer-review-wrap .star-progress {
    flex: 1;
}

.customer-review-wrap .star-bar {
    width: 100%;
    height: 3px;
    background: #ecebeb;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.customer-review-wrap .star-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    background: #f4c059;
    border-radius: 4px;
}

.customer-review-wrap .star-percentage {
    width: 45px;
    flex-shrink: 0;
    text-align: right;
    font-size: 16px;
    color: #7b7c7e;
}

@media (max-width: 767px) {
    .customer-review-wrap .star-percentage { font-size: 14px; }
}

/* Review form */
.customer-review-wrap .add-review-form {
    display: flex;
    align-items: flex-end;
    padding-bottom: 28px;
}

@media (max-width: 767px) {
    .customer-review-wrap .add-review-form { flex-wrap: wrap; }
}

.customer-review-wrap .add-review-form .review-form-item {
    width: 100%;
}

.customer-review-wrap .add-review-form .form-group {
    margin-bottom: 12px;
    width: 100%;
}
.customer-review-wrap .add-review-form .form-group .form-control{
        height: 45px;
    font-size: 15px;
    line-height: 1.3;
    color: #19263a;
}
.customer-review-wrap .add-review-form .formSubmitGroup{
display: flex;
align-items: center;
gap: 10px;
}
.customer-review-wrap .add-review-form .form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #19263a;
}

.customer-review-wrap .add-review-form .cta {
    width: 114px;
    flex-shrink: 0;
    margin-left: 20px;
}

@media (max-width: 767px) {
    .customer-review-wrap .add-review-form .cta {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }
    .customer-review-wrap .add-review-form .cta .btn {
        width: 100%;
        display: block;
    }
}

/* Interactive star rating */
.star-rating-input {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.star-rating-input .star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 24px;
    color: #D2D2D2;
    line-height: 1;
    transition: color 0.15s ease;
}

.star-rating-input .star-btn svg {
    display: block;
    width: 1em;
    height: 1em;
}

.star-rating-input .star-btn.active,
.star-rating-input .star-btn.hover {
    color: #F4C059;
}

/* Review list */
.customer-review-wrap .review-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1200px) {
    .customer-review-wrap .review-list {
        max-width: calc(100% - 120px);
    }
}

.customer-review-wrap .review-list li {
    padding-bottom: 46px;
}

.customer-review-wrap .review-list li:last-child {
    padding-bottom: 26px;
}

.customer-review-wrap .review-meta {
    display: flex;
    justify-content: space-between;
    padding-bottom: 19px;
}

@media (max-width: 767px) {
    .customer-review-wrap .review-meta { padding-bottom: 12px; }
}

.customer-review-wrap .review-meta .name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.customer-review-wrap .review-meta .name h4 {
    font-size: 18px;
    font-weight: 500;
    color: #19263a;
    margin-right: 17px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .customer-review-wrap .review-meta .name h4 { font-size: 14px; }
}

.customer-review-wrap .review-meta .name .star {
    display: inline-flex;
    align-items: center;
}

.customer-review-wrap .review-meta .name .star-icon {
    display: inline-block;
    font-size: 17px;
    color: #D2D2D2;
}

.customer-review-wrap .review-meta .name .star-icon svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.customer-review-wrap .review-meta .name .star-icon.filled {
    color: #F4C059;
}

.customer-review-wrap .review-meta .date {
    font-size: 14px;
    color: #232528;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .customer-review-wrap .review-meta .date { font-size: 12px; }
    .customer-review-wrap .review-meta .name .star-icon svg { display: block; }
}

.customer-review-wrap .review-content {
    font-size: 14px;
    line-height: 150%;
    color: #7b7c7e;
}

.customer-review-wrap .review-content p {
    margin-bottom: 0;
}

/* ── Related Home Designs ────────────────────────────────────────────────── */
.related-home-designs-wrap {
    background: #f9f5f2;
    padding: 60px 0 80px;
}

@media (max-width: 767px) {
    .related-home-designs-wrap {
        padding: 40px 0;
    }
}

.related-home-designs-wrap .slider-block-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 12px;
}

.related-home-designs-wrap .block-title {
    margin: 0;
    color: #173055;
}

/* ── Related Products static image ──────────────────────────────────────── */
.related-products-wrap {
    background: #19263a;
}

.related-products-wrap a {
    display: block;
}
/* 
.related-products-wrap img {
    width: 100%;
    display: block;
} */

/* ── Gharpedia Exclusive — spacing below need-help slider ───────────────── */
/* .blog-cta-box has margin-top:-88px by default (homepage overlap effect).   */
/* Reset it here so it doesn't pull up over the need-help slider.             */
#home-design-detail-page .blog-cta-box {
    margin-top: 0;
}

#home-design-detail-page .blog-cta-wrap {
    margin-top: 60px;
}

@media (max-width: 767px) {
    #home-design-detail-page .blog-cta-wrap {
        margin-top: 40px;
    }
}

/* ── Quick link + blog CTA wrapper ──────────────────────────────────────── */
.quick-link-cta-wrap {
    padding-bottom: 80px;
    background: #fff;
}

@media (max-width: 767px) {
    .quick-link-cta-wrap { padding-bottom: 40px; }
}

/* ── Review success modal ────────────────────────────────────────────────── */
#gp-hd-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}
#gp-hd-success-modal.show {
    display: flex;
}
#gp-hd-success-modal .gp-success-modal-inner {
    max-width: 453px;
}
#gp-hd-success-modal .success-modal-content {
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 26px 40px;
}
#gp-hd-success-modal .success-modal-content .img {
    max-width: 148px;
    margin: 0 auto;
    padding-bottom: 14px;
}
#gp-hd-success-modal .success-modal-content .img img {
    width: 100%;
    height: auto;
}
#gp-hd-success-modal .success-modal-content .txt p {
    font-size: 22px;
    line-height: 116%;
    color: #19263a;
    font-weight: 500;
    margin-bottom: 6px;
}
#gp-hd-success-modal .success-modal-content .txt h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    font-family: "DM Serif Display", serif;
    color: #19263a;
    padding-bottom: 32px;
}
#gp-hd-success-modal .success-modal-content .cta {
    margin-top: 0;
}
