* {
    -webkit-user-drag: none;
    user-select: none;
}
body {
    background-color: blueviolet;
    scroll-behavior: smooth;
}
main {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
h1 {
    text-align: center;
    padding: 20px;
}
.good {
    margin-top: 50px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    padding: 10px;
}
.photo {
    display: flex;
    gap: 20px;
    cursor: grab;
    padding: 50px 100px;
    margin: 0 auto;
    overflow-x: hidden;

}

.photo img {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 15px;
    user-select: none;
    transition: .3s ease;
}
.photo img:hover {
    transform: scale(1.05);
}
.buy_block {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    display: flex;
    align-items: center;
    padding: 50px;
}
.buy_left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    width: 50%;
}
label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: bold;
    padding: 20px;
    border-radius: 30px;
    color: #454545;
    cursor: pointer;
    box-shadow: inset 2px 2px 10px blueviolet;
    transition: .3s ease;
}
label:hover {
    transform: scale(1.03);
}
.buy_right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 100%;
}
.avail {
    color: green;
    font-weight: bold;
}
.gprice {
    font-size: 40px;
    font-weight: bold;
    color: blueviolet;
    text-align: center;
}
.buy_btn {
    padding: 20px 120px;
    background-color: blueviolet;
    color: #fff;
    border-radius: 100px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s ease;
}
.buy_btn:hover {
    transform: scale(1.03);
}
.params {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.param {
    display: flex;
    width: 100%;
    font-size: 20px;
}
.param_key {
    width: 50%;
    color: blueviolet;
}
.param_value {
    font-weight: bold;
    width: 50%;
}
.descr {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    padding: 50px;
}
.descr p {
    line-height: 2;
}
h2 {
    padding-bottom: 50px;
    color: blueviolet;
}
.adds {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    padding: 30px;
    font-size: 22px;
    font-weight: bold;
    color: blueviolet;
}
.adds_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
.adds_grid a {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),inset 2px 2px 10px cyan;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
    align-items: center;
    justify-content: space-between;
    transition: .3s ease;
}
.adds_grid a:hover {
    transform: scale(1.03);
}
.adds_grid a img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
}
.good_name {
    font-size: 20px;
    font-weight: bold;
    color: blueviolet;
}
.good_price {
    color: #606060;
    font-weight: bold;
    font-size: 20px;
    margin-top: auto;
}
.buy {
    padding: 15px;
    width: 100%;
    text-align: center;
    background-color: blueviolet;
    color: #fff;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s ease;
}
.buy:hover {
    transform: scale(1.03);
    color: blueviolet;
    background-color: #fff;
}
@media (max-width: 780px) {
    .good {
        margin: 10px;
    }
    main {
        gap: 10px;
    }
    h1 {
        font-size: 20px;
    }
    .photo {
        gap: 10px;
        padding: 10px;
    }
    .photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    .buy_block {
        padding: 20px;
        margin: 10px;
        flex-direction: column;
    }
    .buy_left {
        font-size: 12px;
        gap: 20px;
        width: 100%;
        margin-bottom: 20px;
    }
    .params {
        margin: 10px;
        padding: 20px;
    }
    h2 {
        padding-bottom: 30px;
        font-size: 18px;
    }
    .param_key {
        font-size: 12px;
    }
    .param_value {
        font-size: 12px;
    }
    .descr {
        padding: 20px;
        margin: 10px;
        font-size: 12px;
    }
    .adds {
        padding: 20px;
        margin: 10px;
        font-size: 18px;
    }
    .adds_grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        margin: 10px;
    }
    .adds_grid a {
        padding: 10px
    }
    .good_name {
        font-size: 12px;
        text-align: center;
    }
    .good_price {
        font-size: 18px;
    }
    .buy {
        padding: 10px;
        font-size: 15px;
    }
    .buy_right {
        width: auto;
    }
}