.product-img {
    width: 400px;
    padding: 32px;
    flex-shrink: 0;
}

.product-img img {
    width: 100%;
}

.product-cnt {
    display: flex;
    border-bottom: 1px solid var(--border-cl);
}

.product-cnt,
.product-name,
.price-cnt {
    border-bottom: 1px solid var(--border-cl);
}

.product-details {
    width: 100%;
    padding: 16px;
    border-right: 1px solid var(--border-cl);
}

.product-cnt .product-name {
    font-weight: normal;
    font-size: 18px;
}

.product-cnt .price {
    font-size: 32px;
    font-weight: bold;
    color: green;
}

.price-cnt ul {
    margin-top: 16px;
    width: fit-content;
    display: flex;
    gap: 32px;
}

.price-cnt li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-cnt li span {
    max-width: 64px;
    font-size: 10px;
    text-align: center;
    user-select: none;
}

.feature {
    display: flex;
}

.feature-name {
    font-weight: bold;
    width: 200px;
    flex-shrink: 0;
    color: var(--main-cl);
}

.cards-cnt {
    border-bottom: 1px solid var(--border-cl);
}

.reviews {
    display: flex;
    gap: 32px;
}

.rate-precentages li {
    width: fit-content;
    display: flex;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    margin: 4px;
}

.rate-precentages li span {
    flex-shrink: 0;
}

.precentage-cnt {
    width: 200px;
    height: 20px;
    margin-inline: 16px;
    border: 1px solid var(--border-cl);
    border-radius: 6px;
    overflow: hidden;
}

.rate-precentage {
    height: 100%;
    background-color: var(--main-cl);
}

.profile {
    display: flex;
    gap: 8px;
}

.reviews-cnt {
    flex-grow: 1;
}

.review-cnt {
    width: 100%;
    padding: 16px;
    width: 100%;
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--main-cl);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-cl);
}

.purchase-cnt {
    width: fit-content;
    border: 1px solid var(--border-cl);
    padding: 32px;
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.purchase-cnt .product-price {
    font-size: 32px;
}

.purchase-cnt .product-states {
    color: green;
}

.purchase-cnt .location {
    font-size: 12px;
    color: var(--main-cl);
    fill: var(--font-cl);
}

.purchase-cnt ul {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.quantity-cnt {
    width: 100%;
    height: 42px;
    border: 1px solid var(--border-cl);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--font-cl);
}

.quantity-cnt button {
    width: 30%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: var(--font-cl);
}

.quantity-cnt .add-btn {
    border-left: 1px solid var(--border-cl);
}

.quantity-cnt .remove-btn {
    border-right: 1px solid var(--border-cl);
}

.post-review {
    padding: 32px;
    border-bottom: 1px solid var(--border-cl);
}

.post-review textarea {
    width: 100%;
    background-color: var(--background-primary);
    border: 1px solid var(--border-cl);
    border-radius: 12px;
    min-width: 100%;
    max-width: 100%;
    min-height: 180px;
    max-height: 180px;
    padding: 16px;
    font-family: "Cairo", sans-serif;
    color: var(--font-cl);
}

.post-review button {
    background-color: var(--main-cl);
    border-radius: 8px;
    padding: 4px 32px;
    font-weight: bold;
    font-size: 18px;
    display: block;
    margin-right: auto;
}

.post-review input {
    width: 48px;
    background-color: var(--background-primary);
    border: 1px solid var(--border-cl);
    border-radius: 12px;
    height: 48px;
    margin: 16px 0;
    text-align: center;
    color: var(--font-cl);
}

label {
    font-weight: bold;
    color: orange;
    margin-left: 16px;
}

.free-shipping {
    font-size: 12px;
}

.location {
    flex-grow: 1;
}

.purchase-cnt ul button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
}

.addtocart-btn {
    background-color: var(--main-cl);
}

.addtocart-btn:hover {
    color: var(--font-cl);
}

.puynow-btn {
    background-color: transparent;
    border: 1px solid var(--border-cl);
}

.quantity {
    width: 40%;
    height: 100%;
    background-color: var(--background-primary);
    text-align: center;
    color: var(--font-cl);
}

.alert {
    background-color: #ff0000;
    text-align: center;
    padding: 16px;
}

.add-to-invoice-btn {
    width: 100%;
    height: 48px;
    background-color: var(--main-cl);
}

.more-btn-cnt {
    border-top: 1px solid var(--border-cl);
    display: flex;
    justify-content: center;
}

.more-btn {
    background-color: transparent;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--sub-font-cl);
    fill: var(--sub-font-cl);
}

.more-btn:hover {
    color: var(--main-cl);
    fill: var(--main-cl);
}

.profile-time-cnt {
    display: flex;
    justify-content: space-between;
}

.time {
    color: var(--sub-font-cl)
}

.reviews-cnt .post-review .stars-cnt {
    display: flex;
    justify-content: flex-end;
    direction: ltr;
}

.reviews-cnt .post-review .stars-cnt .rating-radio {
    display: none;
}

.reviews-cnt .post-review .stars-cnt label:hover svg,
.reviews-cnt .post-review .stars-cnt label:hover~label svg {
    fill: orange;
}

.reviews-cnt .post-review .stars-cnt .rating-radio:checked+label svg,
.reviews-cnt .post-review .stars-cnt .rating-radio:checked~label svg {
    fill: orange;
}

@media (max-width: 1200px) {
    .product-cnt {
        flex-direction: column;
        align-items: center;
    }

    .purchase-cnt {
        width: 100%;
        margin-top: 16px;
    }

    .purchase-cnt .product-name {
        width: 100%;
    }

    .purchase-cnt ul button[type="submit"] {
        width: 100%;
    }

    .reviews {
        flex-direction: column;
    }

    .post-review {
        padding: 16px 0;
    }
}