﻿@charset "utf-8";

/* Modern product details — scoped to ProductRtl.aspx markup. */
.ContentBox.search-template {
    padding: 28px 0 52px;
    background: #f4f7f9;
}

#Info,
[id$="SimilarPrdc"],
#Comment {
    width: 100%;
    max-width: 1180px;
    min-height: 0;
    margin: 0 auto 12px;
    padding: 0 15px;
    border: 0;
    background: transparent;
}

#Info .sPrd7,
[id$="SimilarPrdc"] .sPrd7,
#Comment .sPrd7 {
    min-height: 0;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #e1e9ec;
    border-radius: 14px;
    background: #fff;
    color: #18343d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    box-shadow: 0 8px 24px rgba(30, 72, 84, .06);
}

#Info + .DivCompleteStyle.container,
[id$="SimilarPrdc"] + .DivCompleteStyle.container,
.DivCompleteStyle.container.comment-section {
    width: calc(100% - 30px);
    max-width: 1150px;
    margin: 0 auto 28px;
    padding: 26px;
    border: 1px solid #e1e9ec;
    border-radius: 18px;
    background: #fff;
    direction: rtl;
    box-shadow: 0 12px 34px rgba(31, 66, 77, .07);
}

#Info + .DivCompleteStyle.container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 26px 0;
}

#Info + .DivCompleteStyle.container > div {
    float: none;
}

#Info + .DivCompleteStyle.container > div:first-child {
    flex: 0 0 52%;
    width: 52% !important;
    padding-left: 28px;
    color: #4a6067;
    font-size: 14px;
    line-height: 2;
}

#Info + .DivCompleteStyle.container > div:first-child::before {
    display: block;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f4;
    color: #173842;
    content: "مشخصات و توضیحات محصول";
    font-size: 16px;
    font-weight: 700;
}

#Info + .DivCompleteStyle.container > div:first-child img,
#Info + .DivCompleteStyle.container > div:first-child table,
#Info + .DivCompleteStyle.container > div:first-child iframe {
    max-width: 100% !important;
}

#Info + .DivCompleteStyle.container .CodeClass {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 4px 0 12px;
    padding: 4px 11px;
    border: 1px solid #dce8eb;
    border-radius: 999px;
    background: #f4f9fa;
    color: #467079;
    font-size: 12px;
}

#Info + .DivCompleteStyle.container .DownloadLink {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 8px 0;
    padding: 7px 14px;
    border: 1px solid #b9d9dd;
    border-radius: 9px;
    background: #eff9fa;
    color: #16737c;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

#Info + .DivCompleteStyle.container .DownloadLink:hover {
    border-color: #2f9aa3;
    background: #e1f4f5;
}

#Info + .DivCompleteStyle.container .Product-Big-Pic {
    flex: 0 0 48%;
    width: 48% !important;
    padding: 16px;
    border: 1px solid #dfe8ec;
    border-radius: 18px;
    background: #fbfdfe;
    text-align: center;
    box-shadow: 0 10px 28px rgba(31, 66, 77, .055);
}

#Info + .DivCompleteStyle.container .Product-Big-Pic .sPrd2 {
    display: block;
    /*width: 100% !important;*/
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    max-height: 560px;
    margin: 0 auto;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

#Info + .DivCompleteStyle.container .PrdcRateBox {
    display: flex;
    float: none;
    width: 100%;
    min-height: 0;
    margin: 18px 0 0;
    padding-top: 16px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    border-top: 1px solid #e8eef1;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid #e1eaee;
    border-radius: 13px;
    background: #f7fafb;
    direction: ltr;
    table-layout: auto;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table > tbody,
#Info + .DivCompleteStyle.container .PrdcRateBox > table > tbody > tr {
    display: block;
    width: 100%;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table > tbody > tr {
    display: grid;
    grid-template-columns: auto minmax(120px, auto) auto auto;
    grid-template-areas: "score stars label votes";
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table td {
    display: flex;
    min-width: 0;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    color: #526971;
    font-size: 13px;
    line-height: 1.6;
    white-space: nowrap;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(1) {
    grid-area: score;
    min-width: 34px;
    color: #6a7d84;
    font-weight: 700;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(2) {
    grid-area: stars;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(3) {
    grid-area: label;
    direction: rtl;
}

#Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(4) {
    grid-area: votes;
    min-width: 24px;
    color: #173842;
    font-weight: 700;
}

#Info + .DivCompleteStyle.container .PrdcRateBox [id^="rateDiv_"] {
    display: flex !important;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    gap: 1px;
    white-space: nowrap;
}

#Info + .DivCompleteStyle.container .PrdcRateBox [id^="rateDiv_"] img {
    display: block;
    width: 22px !important;
    height: 22px !important;
    margin: 0 1px !important;
    vertical-align: middle;
}

#Info + .DivCompleteStyle.container .sPrd16.ibAddToCart {
    display: inline-flex;
    width: auto;
    min-width: 190px;
    height: auto;
    min-height: 46px;
    margin: 0 auto;
    padding: 10px 22px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 11px;
    background-color: #168b94;
    background-position: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 139, 148, .22);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#Info + .DivCompleteStyle.container .sPrd16.ibAddToCart:hover {
    background-color: #11747c;
    box-shadow: 0 10px 24px rgba(22, 139, 148, .28);
    transform: translateY(-1px);
}

#Info + .DivCompleteStyle.container h2 {
    margin: 16px 0;
    color: #173842;
    font-size: 17px;
    line-height: 1.8;
}

#Info + .DivCompleteStyle.container #dlProductParameterGroup,
#Info + .DivCompleteStyle.container [id$="GridView1"],
#OtherPrice table {
    width: 100% !important;
    margin: 14px 0;
    border: 1px solid #e1e9ec !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

#Info + .DivCompleteStyle.container [id$="GridView1"] th,
#Info + .DivCompleteStyle.container [id$="GridView1"] td,
#OtherPrice table th,
#OtherPrice table td {
    padding: 10px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf2f4 !important;
    color: #425b63;
    line-height: 1.8;
}

#Info + .DivCompleteStyle.container [id$="GridView1"] tr:last-child td,
#OtherPrice table tr:last-child td {
    border-bottom: 0 !important;
}

#Info + .DivCompleteStyle.container [id$="GridView1"] th,
#OtherPrice table th,
#OtherPrice .TopCol1,
#OtherPrice .TopCol2 {
    background: #eef7f8 !important;
    color: #285b64;
    font-weight: 700;
}

#OtherPrice .TopCol1,
#OtherPrice .TopCol2,
#OtherPrice .TopRow1,
#OtherPrice .TopRow2 {
    float: none !important;
    width: auto !important;
    min-height: 0;
    display: table-cell;
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-wrapper-outer {
    padding: 8px 2px 14px;
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item {
    min-height: 280px;
    margin: 5px 8px;
    padding: 16px;
    border: 1px solid #e3ebee;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 7px 18px rgba(31, 66, 77, .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item:hover {
    border-color: #c5dfe2;
    box-shadow: 0 11px 24px rgba(31, 66, 77, .1);
    transform: translateY(-3px);
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item img {
    width: 150px !important;
    height: 150px !important;
    max-width: 100%;
    border-radius: 11px;
    object-fit: contain;
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item a {
    color: #284c55;
    line-height: 1.8;
    text-decoration: none;
}

[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item .sPrd15,
[id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item .sPrd16 {
    color: #168b94;
    font-weight: 700;
}

.DivCompleteStyle.container.comment-section .sRER3,
.DivCompleteStyle.container.comment-section .sRER31 {
    margin-bottom: 12px;
    padding: 16px 18px;
    border: 1px solid #e3ebee;
    border-radius: 13px;
    background: #fafcfd;
    color: #4b6269;
    line-height: 2;
}

.DivCompleteStyle.container.comment-section .sRER31 {
    background: #f2f9fa;
}

.DivCompleteStyle.container.comment-section .sComment1,
.DivCompleteStyle.container.comment-section .sComment2 {
    float: none;
    width: 100%;
    text-align: right;
}

.DivCompleteStyle.container.comment-section .sComment1 {
    display: block;
    margin: 0 0 6px;
    color: #344f57;
    font-weight: 600;
}

.DivCompleteStyle.container.comment-section .sComment2 {
    display: block;
    min-height: 0;
    margin: 0 0 14px;
}

.DivCompleteStyle.container.comment-section .sComment2 input[type="text"],
.DivCompleteStyle.container.comment-section .sComment2 textarea {
    display: block;
    width: 100% !important;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #d9e4e7;
    border-radius: 9px;
    background: #fff;
    color: #2f4850;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.DivCompleteStyle.container.comment-section .sComment2 textarea {
    min-height: 120px;
    resize: vertical;
}

.DivCompleteStyle.container.comment-section .sComment2 input[type="text"]:focus,
.DivCompleteStyle.container.comment-section .sComment2 textarea:focus {
    border-color: #54abb2;
    box-shadow: 0 0 0 3px rgba(22, 139, 148, .1);
}

.DivCompleteStyle.container.comment-section .captcha {
    display: flex;
    min-height: 44px;
    margin: 2px 0 16px;
    align-items: center;
    gap: 10px;
}

.DivCompleteStyle.container.comment-section .Cmnt_ImageButtonSend {
    border: 0;
    border-radius: 9px;
    background-color: #168b94;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(22, 139, 148, .2);
}

@media (max-width: 991px) {
    #Info + .DivCompleteStyle.container > div:first-child,
    #Info + .DivCompleteStyle.container .Product-Big-Pic {
        flex: 0 0 100%;
        width: 100% !important;
    }

    #Info + .DivCompleteStyle.container > div:first-child {
        padding-left: 15px;
    }

    #Info + .DivCompleteStyle.container .Product-Big-Pic {
        order: -1;
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
    }

    #Info + .DivCompleteStyle.container .Product-Big-Pic .sPrd2 {
        max-height: 620px;
    }
}

@media (max-width: 767px) {
    .ContentBox.search-template {
        padding-top: 18px;
    }

    #Info + .DivCompleteStyle.container,
    [id$="SimilarPrdc"] + .DivCompleteStyle.container,
    .DivCompleteStyle.container.comment-section {
        width: calc(100% - 20px);
        padding: 17px;
        border-radius: 14px;
    }

    #Info,
    [id$="SimilarPrdc"],
    #Comment {
        padding: 0 10px;
    }

    #Info + .DivCompleteStyle.container > div {
        width: 100% !important;
    }

    #Info + .DivCompleteStyle.container .Product-Big-Pic {
        order: -1;
        padding: 10px;
        border-radius: 14px;
    }

    #Info + .DivCompleteStyle.container .Product-Big-Pic .sPrd2 {
        max-height: none;
        padding: 8px;
        border-radius: 11px;
    }

    #Info + .DivCompleteStyle.container .PrdcRateBox > table {
        padding: 11px 10px;
    }

    #Info + .DivCompleteStyle.container .PrdcRateBox > table > tbody > tr {
        grid-template-columns: auto minmax(110px, auto);
        grid-template-areas:
            "score stars"
            "votes label";
        row-gap: 9px;
    }

    #Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(3),
    #Info + .DivCompleteStyle.container .PrdcRateBox > table td:nth-child(4) {
        justify-content: center;
    }

    #Info + .DivCompleteStyle.container .sPrd16.ibAddToCart {
        width: 100%;
        min-width: 0;
    }

    #Info + .DivCompleteStyle.container [id$="GridView1"],
    #OtherPrice {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    #Info + .DivCompleteStyle.container .DownloadLink,
    #Info + .DivCompleteStyle.container .sPrd16.ibAddToCart,
    [id$="SimilarPrdc"] + .DivCompleteStyle.container .owl-item .item,
    .DivCompleteStyle.container.comment-section .sComment2 {
        transition: none;
    }
}

/* Compact comment card with its heading inside the panel. */
.DivCompleteStyle.container.comment-section {
    max-width: 980px;
    padding: 0 24px 24px;
    overflow: hidden;
}

.DivCompleteStyle.container.comment-section #Comment {
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0 -24px 20px;
    padding: 0;
    border-bottom: 1px solid #e4ecef;
    background: #f7fafb;
}

.DivCompleteStyle.container.comment-section #Comment .sPrd7 {
    padding: 15px 22px;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
}

.DivCompleteStyle.container.comment-section .sRER3,
.DivCompleteStyle.container.comment-section .sRER31 {
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
    padding: 12px 15px;
    border-radius: 10px;
    line-height: 1.9;
}

.DivCompleteStyle.container.comment-section .comment-form {
    display: grid;
    max-width: 840px;
    margin: 18px auto 0;
    padding: 18px 20px;
    grid-template-columns: 135px minmax(0, 1fr);
    align-items: start;
    gap: 12px 16px;
    border: 1px solid #e3ebee;
    border-radius: 13px;
    background: #fafcfd;
}

.DivCompleteStyle.container.comment-section .comment-form .sComment1 {
    margin: 0;
    padding: 10px 0 0;
    align-self: start;
    color: #344f57;
    line-height: 1.8;
    text-align: right;
}

.DivCompleteStyle.container.comment-section .comment-form .sComment2 {
    min-width: 0;
    margin: 0;
}

.DivCompleteStyle.container.comment-section .comment-form .sComment2 input[type="text"],
.DivCompleteStyle.container.comment-section .comment-form .sComment2 textarea {
    max-width: 100%;
}

.DivCompleteStyle.container.comment-section .comment-form .sComment2 textarea {
    height: 120px !important;
    min-height: 120px;
}

.DivCompleteStyle.container.comment-section .comment-form .sComment2:last-child {
    display: flex;
    min-height: 46px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.DivCompleteStyle.container.comment-section .comment-form .captcha {
    display: flex;
    min-height: 46px;
    margin: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.DivCompleteStyle.container.comment-section .comment-form .captcha .image-container,
.DivCompleteStyle.container.comment-section .comment-form .captcha .control-container {
    margin: 0;
    float: none;
}

.DivCompleteStyle.container.comment-section .comment-form .captcha .image {
    width: 150px !important;
    height: 44px !important;
    margin: 0 !important;
    border: 1px solid #d8e3e6;
    border-radius: 8px;
    object-fit: contain;
}

.DivCompleteStyle.container.comment-section .comment-form .captcha .txtCaptcha {
    width: 150px !important;
    height: 44px !important;
    margin: 0 !important;
    text-align: center;
}

.DivCompleteStyle.container.comment-section .comment-form .Cmnt_ImageButtonSend {
    flex: 0 0 93px;
    height: 38px;
    margin: 0;
}

@media (max-width: 767px) {
    .DivCompleteStyle.container.comment-section {
        width: calc(100% - 20px);
        padding: 0 14px 18px;
    }

    .DivCompleteStyle.container.comment-section #Comment {
        margin-right: -14px;
        margin-left: -14px;
        margin-bottom: 15px;
    }

    .DivCompleteStyle.container.comment-section .comment-form {
        padding: 15px;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .DivCompleteStyle.container.comment-section .comment-form .sComment1 {
        padding-top: 4px;
    }

    .DivCompleteStyle.container.comment-section .comment-form .sComment2 {
        margin-bottom: 8px;
    }

    .DivCompleteStyle.container.comment-section .comment-form .sComment2:last-child {
        margin-bottom: 0;
    }
}
