/* =========================================
   PRODUCT DETAIL PAGE
   ZAREEI STUDIO
========================================= */

.product-detail-page {
    padding: 70px 0 100px;
    background: var(--background);
}


/* =========================================
   PRODUCT MAIN
========================================= */

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 70px;
    align-items: start;
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.product-detail-image {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
}

.product-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    transition: transform .5s ease;
}

.product-detail-image:hover img {
    transform: scale(1.015);
}


/* =========================================
   PRODUCT INFORMATION
========================================= */

.product-detail-info {
    padding: 12px 0;
}

.product-category {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--secondary);
}

.product-detail-info h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -1px;
    color: var(--primary);
}

.product-short-description {
    max-width: 650px;
    margin: 0 0 25px;
    font-size: 19px;
    line-height: 1.75;
    color: #666;
}

.product-description {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.85;
    color: #555;
}

.product-description p {
    margin: 0 0 14px;
}

.product-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   SPECIFICATIONS
========================================= */

.product-specifications {
    margin: 32px 0;
    border-top: 1px solid #ddd;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    min-height: 55px;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.spec-row span {
    color: #777;
}

.spec-row strong {
    color: var(--primary);
    text-align: right;
    font-weight: 600;
}


/* =========================================
   PRICE
========================================= */

.product-price {
    margin: 32px 0;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--primary);
}


/* =========================================
   PRODUCT ACTIONS
========================================= */

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.product-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    min-height: 54px;
    padding: 14px 25px;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.product-actions .btn:hover {
    transform: translateY(-2px);
}

.product-quote-btn {
    background: var(--primary);
    color: #ffffff;
}

.product-quote-btn:hover {
    background: #2b2b2b;
}

.product-back-btn {
    background: transparent !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
}

.product-back-btn:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}


/* =========================================
   QUOTE SECTION
========================================= */

.product-quote-section {
    margin-top: 100px;
    padding: 70px 60px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .04);
}


/* =========================================
   QUOTE HEADER
========================================= */

.quote-header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.quote-label {
    display: block;
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--secondary);
}

.quote-header h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -.5px;
    color: var(--primary);
}

.quote-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #666;
}


/* =========================================
   QUOTE FORM
========================================= */

.quote-form {
    max-width: 850px;
    margin: 0 auto;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}


/* =========================================
   FORM LABELS
========================================= */

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}


/* =========================================
   FORM INPUTS
========================================= */

.quote-form input,
.quote-form textarea,
.quote-form select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    outline: none;
    background: #fafafa;
    color: var(--primary);
    font-family: inherit;
    font-size: 16px;
    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.quote-form input:hover,
.quote-form textarea:hover,
.quote-form select:hover {
    border-color: #bdbdbd;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(200, 169, 107, .15);
}

.quote-form textarea {
    min-height: 145px;
    resize: vertical;
}


/* =========================================
   SELECT
========================================= */

.quote-form select {
    cursor: pointer;
}


/* =========================================
   SELECTED PRODUCT
========================================= */

.quote-form-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 18px 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.quote-form-product span {
    color: #777;
    font-size: 14px;
}

.quote-form-product strong {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.quote-submit-btn {
    width: 100%;
    min-height: 58px;
    padding: 15px 24px;
    border: 0;
    cursor: pointer;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition:
        transform .25s ease,
        background .25s ease;
}

.quote-submit-btn:hover {
    background: #2b2b2b;
    transform: translateY(-2px);
}


/* =========================================
   FORM NOTE
========================================= */

.quote-form-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    color: #888;
}


/* =========================================
   FORM ERRORS
========================================= */

.form-errors,
.field-error {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
}

.form-errors {
    margin-bottom: 20px;
    padding: 12px 15px;
    border: 1px solid #f0b4b0;
    border-radius: 6px;
    background: #fff5f4;
}

.field-error ul,
.form-errors ul {
    margin: 0;
    padding-left: 18px;
}


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

@media (max-width: 768px) {

    .product-detail-page {
        padding: 30px 0 60px;
    }


    /* Product */

    .product-detail {
        display: block;
    }

    .product-detail-image {
        margin-bottom: 32px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .product-detail-image img {
        width: 100%;
        max-height: 600px;
    }

    .product-detail-info {
        padding: 0 5px;
    }

    .product-category {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .product-detail-info h1 {
        margin-bottom: 18px;
        font-size: 42px;
        line-height: 1.05;
        letter-spacing: -.5px;
    }

    .product-short-description {
        font-size: 17px;
        line-height: 1.7;
    }

    .product-description {
        font-size: 15px;
        line-height: 1.75;
    }


    /* Specifications */

    .spec-row {
        min-height: 52px;
        padding: 14px 0;
        font-size: 14px;
    }

    .spec-row strong {
        max-width: 55%;
    }


    /* Price */

    .product-price {
        margin: 28px 0;
        font-size: 30px;
    }


    /* Buttons */

    .product-actions {
        flex-direction: column;
        gap: 12px;
    }

    .product-actions .btn {
        width: 100%;
        min-height: 54px;
    }


    /* Quote */

    .product-quote-section {
        margin-top: 60px;
        padding: 45px 20px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .quote-header {
        margin-bottom: 36px;
    }

    .quote-label {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .quote-header h2 {
        font-size: 36px;
        line-height: 1.1;
    }

    .quote-header p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* Form */

    .quote-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .quote-form input,
    .quote-form textarea,
    .quote-form select {
        font-size: 16px;
        padding: 14px;
    }

    .quote-form textarea {
        min-height: 130px;
    }


    /* Product name */

    .quote-form-product {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 18px 0;
    }

    .quote-form-product strong {
        text-align: left;
    }

    .quote-submit-btn {
        min-height: 56px;
    }

    .quote-form-note {
        font-size: 12px;
    }

}


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

@media (max-width: 420px) {

    .product-detail-info h1 {
        font-size: 36px;
    }

    .product-short-description {
        font-size: 16px;
    }

    .product-price {
        font-size: 28px;
    }

    .product-quote-section {
        padding: 40px 16px;
    }

    .quote-header h2 {
        font-size: 32px;
    }

}


/* =========================================
   PRODUCT GALLERY
========================================= */



/* =========================================
   PRODUCT GALLERY
========================================= */

.product-gallery {
    display: block;
    width: 100%;
    min-width: 0;
}

.product-gallery .product-detail-image {
    display: block;
    width: 100%;
    margin: 0;
}


/* =========================================
   GALLERY THUMBNAILS
========================================= */

.product-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}


/* Thumbnail Button */

.product-gallery-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;

    display: block;

    padding: 0;
    margin: 0;

    border: 1px solid #dddddd;
    border-radius: 8px;

    overflow: hidden;

    background: #ffffff;

    cursor: pointer;

    opacity: .72;

    font: inherit;
    line-height: 0;

    appearance: none;
    -webkit-appearance: none;

    box-shadow: none;

    transition:
        opacity .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


/* Thumbnail Image */

.product-gallery-thumb img {
    display: block;

    width: 96px;
    height: 96px;

    max-width: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
}


/* Hover */

.product-gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}


/* Active */

.product-gallery-thumb.active {
    opacity: 1;
    border-color: var(--secondary);
}


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

@media (max-width: 768px) {

    .product-gallery-thumbnails {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .product-gallery-thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        border-radius: 6px;
    }

    .product-gallery-thumb img {
        width: 72px;
        height: 72px;
    }

}


@media (max-width: 420px) {

    .product-gallery-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .product-gallery-thumb img {
        width: 64px;
        height: 64px;
    }

}




/* =========================================
   RTL — FARSI & ARABIC
   ========================================= */

html[lang="fa"] .product-detail-page,
html[lang="ar"] .product-detail-page {
    direction: rtl;
    text-align: right;
}

html[lang="fa"] .product-detail-info,
html[lang="ar"] .product-detail-info {
    direction: rtl;
    text-align: right;
}

html[lang="fa"] .product-detail-info h1,
html[lang="ar"] .product-detail-info h1,
html[lang="fa"] .product-short-description,
html[lang="ar"] .product-short-description,
html[lang="fa"] .product-description,
html[lang="ar"] .product-description {
    text-align: right;
    direction: rtl;
}

/* Specifications */
html[lang="fa"] .spec-row,
html[lang="ar"] .spec-row {
    direction: rtl;
}

html[lang="fa"] .spec-row strong,
html[lang="ar"] .spec-row strong {
    text-align: left;
}

/* Buttons */
html[lang="fa"] .product-actions,
html[lang="ar"] .product-actions {
    direction: rtl;
}

/* Quote section */
html[lang="fa"] .product-quote-section,
html[lang="ar"] .product-quote-section {
    direction: rtl;
}

html[lang="fa"] .quote-header,
html[lang="ar"] .quote-header {
    direction: rtl;
    text-align: center;
}

html[lang="fa"] .quote-form,
html[lang="ar"] .quote-form {
    direction: rtl;
}

html[lang="fa"] .form-group,
html[lang="ar"] .form-group {
    direction: rtl;
    text-align: right;
}

html[lang="fa"] .form-group label,
html[lang="ar"] .form-group label {
    text-align: right;
}

html[lang="fa"] .quote-form input,
html[lang="fa"] .quote-form textarea,
html[lang="fa"] .quote-form select,
html[lang="ar"] .quote-form input,
html[lang="ar"] .quote-form textarea,
html[lang="ar"] .quote-form select {
    direction: rtl;
    text-align: right;
}

/* Selected product */
html[lang="fa"] .quote-form-product,
html[lang="ar"] .quote-form-product {
    direction: rtl;
}

html[lang="fa"] .quote-form-product strong,
html[lang="ar"] .quote-form-product strong {
    text-align: left;
}

/* Form messages */
html[lang="fa"] .quote-form-note,
html[lang="ar"] .quote-form-note {
    direction: rtl;
    text-align: center;
}

/* Gallery */
html[lang="fa"] .product-gallery,
html[lang="ar"] .product-gallery {
    direction: rtl;
}

html[lang="fa"] .product-gallery-thumbnails,
html[lang="ar"] .product-gallery-thumbnails {
    direction: rtl;
}

/* Keep price and numbers visually natural */
html[lang="fa"] .product-price,
html[lang="ar"] .product-price {
    direction: ltr;
    text-align: right;
}

/* Mobile */
@media (max-width: 768px) {

    html[lang="fa"] .product-detail-info,
    html[lang="ar"] .product-detail-info {
        text-align: right;
    }

    html[lang="fa"] .quote-form-product strong,
    html[lang="ar"] .quote-form-product strong {
        text-align: right;
    }
}

/* =========================================
   DISCOUNT PRICE
========================================= */

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product-price-original {
    width: 100%;
    font-size: 0.95rem;
    opacity: 0.55;
}

.product-price-original del {
    text-decoration-thickness: 1px;
}

.product-price-final {
    font-size: 1.8rem;
    font-weight: 700;
}

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--secondary);
    color: #111;
    white-space: nowrap;
}

/* =========================================
   PRODUCT LIST DISCOUNT
========================================= */

.product-card-bottom strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-card-bottom .product-price-original {
    width: auto;
    font-size: 0.85rem;
}

.product-card-bottom .product-price-final {
    font-size: 1.1rem;
}

.product-card-bottom .product-discount-badge {
    font-size: 0.7rem;
    padding: 4px 7px;
}

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

@media (max-width: 600px) {

    .product-price-final {
        font-size: 1.5rem;
    }

    .product-discount-badge {
        font-size: 0.72rem;
        padding: 4px 8px;
    }

}

/* =========================================
   PRODUCT AVAILABILITY
========================================= */

.product-availability-message {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 22px 0;
    padding: 14px 18px;

    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);

    font-size: 14px;
    line-height: 1.6;

    transition: all 0.25s ease;
}

.availability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    border-radius: 50%;

    font-weight: 700;
    font-size: 15px;
}

.availability-text {
    flex: 1;
}

/* IN STOCK */

.product-availability-message.in-stock {
    background: rgba(46, 125, 50, 0.08);
    border-color: rgba(46, 125, 50, 0.20);
}

.product-availability-message.in-stock .availability-icon {
    background: #2e7d32;
    color: #fff;
}

/* LOW STOCK */

.product-availability-message.low-stock {
    background: rgba(201, 151, 45, 0.10);
    border-color: rgba(201, 151, 45, 0.25);
}

.product-availability-message.low-stock .availability-icon {
    background: #c9972d;
    color: #fff;
}

/* OUT OF STOCK */

.product-availability-message.out-of-stock {
    background: rgba(170, 50, 50, 0.08);
    border-color: rgba(170, 50, 50, 0.20);
}

.product-availability-message.out-of-stock .availability-icon {
    background: #aa3232;
    color: #fff;
}

/* MOBILE */

@media (max-width: 768px) {

    .product-availability-message {
        margin: 18px 0;
        padding: 12px 14px;

        font-size: 13px;
    }

    .availability-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

}

/* =========================================
   PRODUCT AVAILABILITY - FINAL
========================================= */

.product-availability-message {
    display: flex !important;
    align-items: center;
    gap: 12px;

    width: 100%;
    box-sizing: border-box;

    margin: 22px 0;
    padding: 14px 18px;

    border-radius: 12px;

    font-size: 14px;
    line-height: 1.6;

    position: relative;
    z-index: 5;
}

.product-availability-message.low-stock {
    display: flex !important;
    background: rgba(201, 151, 45, 0.12);
    border: 1px solid rgba(201, 151, 45, 0.35);
}

.product-availability-message.in-stock {
    display: flex !important;
    background: rgba(46, 125, 50, 0.10);
    border: 1px solid rgba(46, 125, 50, 0.30);
}

.product-availability-message.out-of-stock {
    display: flex !important;
    background: rgba(170, 50, 50, 0.10);
    border: 1px solid rgba(170, 50, 50, 0.30);
}

.availability-icon {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    min-width: 28px;

    border-radius: 50%;

    font-weight: 700;
    font-size: 15px;
}

.availability-text {
    display: block !important;
    flex: 1;
}

.product-availability-message.low-stock
.availability-icon {
    background: #c9972d;
    color: #fff;
}

.product-availability-message.in-stock
.availability-icon {
    background: #2e7d32;
    color: #fff;
}

.product-availability-message.out-of-stock
.availability-icon {
    background: #aa3232;
    color: #fff;
}

@media (max-width: 768px) {

    .product-availability-message {
        margin: 18px 0;
        padding: 12px 14px;
        font-size: 13px;
    }

    .availability-icon {
        width: 26px;
        min-width: 26px;
        height: 26px;
    }
}


/* =========================================
   PRODUCT DETAIL META
========================================= */

.product-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 28px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.product-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

.product-meta-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.product-meta-label {
    color: #777;
    font-size: 13px;
}

.product-meta-item strong {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {

    .product-detail-meta {
        grid-template-columns: 1fr;
        margin: 24px 0;
    }

    .product-meta-item {
        min-height: 52px;
    }

    .product-meta-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid #eee;
    }

    .product-meta-item:last-child {
        border-bottom: 0;
    }

    .product-meta-label {
        font-size: 13px;
    }

    .product-meta-item strong {
        font-size: 13px;
    }
}

html[lang="fa"] .product-detail-meta,
html[lang="ar"] .product-detail-meta {
    direction: rtl;
}

html[lang="fa"] .product-meta-item,
html[lang="ar"] .product-meta-item {
    direction: rtl;
}

html[lang="fa"] .product-meta-item strong,
html[lang="ar"] .product-meta-item strong {
    text-align: left;
}

/* =========================================
   PRODUCT REVIEWS
========================================= */

.product-reviews-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(80, 60, 40, .12);
}

.product-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.product-reviews-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .65;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-rating-average {
    font-size: 28px;
    line-height: 1;
}

.product-rating-stars,
.product-review-stars {
    display: flex;
    gap: 2px;
}

.product-rating-stars .rating-star,
.product-review-stars .rating-star {
    font-size: 18px;
}

.product-review-count {
    font-size: 14px;
    opacity: .65;
}

.product-like-summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid rgba(80, 60, 40, .12);
    border-radius: 999px;
    font-size: 14px;
}

.product-like-summary-heart {
    font-size: 19px;
    color: #c62828;
}

.product-reviews-list {
    display: grid;
    gap: 16px;
    margin-bottom: 45px;
}

.product-review-card {
    padding: 24px;
    border: 1px solid rgba(80, 60, 40, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .55);
}

.product-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-review-author {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-review-author time {
    font-size: 12px;
    opacity: .55;
}

.product-review-title {
    margin: 14px 0 8px;
    font-size: 17px;
}

.product-review-body {
    margin: 0;
    line-height: 1.8;
    opacity: .82;
}

.product-reviews-empty {
    margin-bottom: 45px;
    padding: 28px;
    text-align: center;
    border: 1px dashed rgba(80, 60, 40, .18);
    border-radius: 12px;
    opacity: .7;
}

.product-review-form-wrap {
    max-width: 900px;
}

.product-review-form-heading {
    margin-bottom: 24px;
}

.product-review-form-heading h2 {
    margin: 0 0 7px;
    font-size: 24px;
}

.product-review-form-heading p {
    margin: 0;
    opacity: .65;
}

.review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.review-form-field-full {
    grid-column: 1 / -1;
}

.review-form-field label {
    font-size: 13px;
    font-weight: 600;
}

.review-form-field input,
.review-form-field select,
.review-form-field textarea {
    width: 100%;
    box-sizing: border-box;
}

.product-review-submit {
    margin-top: 22px;
}

.product-review-note {
    margin-top: 12px;
    font-size: 12px;
    opacity: .6;
}

@media (max-width: 767px) {

    .product-reviews-section {
        margin-top: 45px;
        padding-top: 35px;
    }

    .product-reviews-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .product-rating-average {
        font-size: 24px;
    }

    .product-review-card {
        padding: 18px;
    }

    .product-review-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .product-review-author {
        flex-wrap: wrap;
    }

    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-form-field-full {
        grid-column: auto;
    }

}
