.data-url{
    display: none;
}
.product {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.product-container {
    width: 70%;
}

.product-title {
    width: 100%;
}

.product-info {
    width: 100%;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.product-img {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: .3px solid #aeaeae;
    border-radius: 20px;
    overflow: hidden;
    align-items: center;
    /* box-shadow: inset -2px -2px 4px hsla(0, 0%, 100%, .1), inset 2px 2px 4px rgba(0, 0, 0, .35); */
}

.product-left-section {
    width: 35%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.product-min-info {
    width: 30%;
}

.product-img-top-container {
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-img-top-container p {
    margin: 0;
    color: #aeaeae;
}

.product-img-top-container>div {
    width: 30%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.fav-heart {
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 1px solid #aeaeae;
}

.product-img-container {
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}
.product-img-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-img-bottom-container{
    width: 100%;
    height: 90px;
    overflow-x: overlay;
    padding: 10px 0;
}
.product-img-bottom-scroll{
    width: min-content;
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.product-img-bottom{
    width: 60px;
    height: 100%;
    cursor: pointer;
    padding: 2px;
}
.product-img-bottom img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.img-active{
    border-radius: 10px;
    border: 1px solid green;
}
.product-min-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 400px;
    justify-content: space-between;
}
.product-min-info-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.price {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 23px;
}
.product-top-info-title{
    font-size: 23px;
}
.quantity-of-goods {
    font-size: 13px;
    margin: auto 0;
    color: green;
}

.cart {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}
.product-title h1{
    font-size: 2rem;
}
.cart-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
}

.cart-quantity button {
    border: none;
    background-color: #ececec;
    padding: 20px;
    cursor: pointer;
}
.product-right-section{
    display: flex;
    justify-content: space-between;
}
.quantity-add-but {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.quantity-remove-but {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.quantity {
    padding: 0 30px;
    background-color: #ececec;
    height: 100%;
    display: flex;
    align-items: center;
}

.add-cart {
    border: none;
    background-color: #ececec;
    cursor: pointer;
    border-radius: 15px;
    padding: 20px 0;
    width: 100%;
}

.buy-but {
    width: 100%;
    border-radius: 15px;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    background-color: #ececec;
}

.product-max-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product_parameters {
    padding: 20px;
    border-bottom: 3px solid #aeaeae;
    width: min-content;
}

.parametr-item {
    display: flex;
    gap: 10px;
}

.parametr-item p {
    color: #6f6f6f;
}

.fav-heart .fas {
    color: red;
}

.other-products {
    flex: 1;
    width: 100%;
    display: flex;
    border: 1px solid #aeaeae;
    border-radius: 25px;
    flex-direction: column;
    overflow: hidden;
    padding: 5px;
    gap: 10px;
    max-height: min-content
}

.other-product-item {
    display: flex;
    height: 120px;
    gap: 5px;
    background-color: #f5f5f5;
    padding: 5px;
    border-radius: 20px;
    overflow: hidden;
}

.other-product-img {
    display: flex;
    width: 30%;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.other-product-img img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bottom-line{
    border-bottom: 1px solid silver;
    justify-content: space-between;
}
.order-product-title-and-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 1
}

.order-product-title {
    color: #6f6f6f;
}

.order-product-title-and-price p {
    margin: 0;
}
.order-product-title-and-price p a{
    color: black;
}

.hide {
    display: none;
}

/* ---------------------------------------------  media ------------------------------------------ */
@media (max-width: 2250px) {
    .product-container {
        width: 80%;
    }
}

@media (max-width: 1750px) {
    .product-container {
        width: 95%;
    }
}


@media (max-width: 1450px) {
    .product-left-section {
        width: 40%;
    }
}


@media (max-width: 1160px) {
    .product-info {
        flex-wrap: wrap;
    }

    .product-max-info {
        display: none;
    }

    .hide {
        display: flex;
    }

    .product-min-info {
        width: 100% !important;
    }

    .product-left-section {
        width: 100%;
    }

    .product-title h1 {
        font-size: 25px;
    }
    .cart,.buy-but{
        width: 500px;
    }
    .other-products{
        display: none;
    }
    .product-max-info{
        align-items: center;
    }
    .product-top-info{
        display: none;
    }
}

@media (max-width: 550px) {
    .buy-but,.cart {
        width: 100%;
    }

    .product-img-container {
        width: 100%;
    }
}
@media (max-width: 500px) {

    .product-img-container {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .product-title h1 {
        font-size: 20px;
    }

    .product-img-top-container {
        font-size: 10px;
    }

    .fav-heart {
        border: none;
    }

    .price {
        font-size: 20px;
    }

    .cart {
        flex-wrap: wrap;
    }

    .add-cart,
    .cart-quantity {
        width: 100%;
    }

    .add-cart {
        padding: 20px 15px;
    }
}

@media (max-width: 350px) {
    .product-title h1 {
        font-size: 17px;
    }
}

.cart-title a {
    color: black;
    list-style: none;
}

.prod_params2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prod_param2 {
    display: flex;
}

.prod_param2 span {
    color: rgb(109, 109, 109);
}

.prod_param2 span::after {
    content: '-';
    padding: 0 5px;
}
.bottom-line span::after{
    content: none;
}
.cart-buttons button {
    cursor: pointer;
    height: 100%;
    width: 70px;
    border: none;
    font-weight: 700;
}
.cart-buttons input {
    height: 100%;
    border: none;
    text-align: center;
    background-color: #f0f0f0;
    flex: 1;
}
.cart-quantity-remove-but {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.cart-quantity-add-but {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.cart-buttons {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}