.details {
    flex: 1;
    padding: 1rem;
    flex-direction: row;

    .wrapper {
        margin: 0 auto 2rem auto;
        width: min(600px, 100%);

        img {
            width: 100%;
        }
    }

    ul {
        margin-left: 1rem;
        list-style: disc;
    }
}

.price-sidebar {
    width: 360px;

    .sticky-block {
        position: sticky;
        top: 1rem;
    }

    .buy-wrapper {
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 2px 16px var(--shadow);
        background-color: var(--bg-card);
        display: flex;
        flex-direction: column;

        .subheader {
            margin-bottom: .5rem;
            font-size: .9rem;
            color: var(--text-secondary);
        }

        .header {
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .price-block {
            margin-bottom: 1rem;
            display: flex;
            gap: 1rem;
            justify-content: flex-start;
            align-items: center;

            .price {
                display: flex;
                justify-content: center;
                align-items: center;
                font-weight: 500;
                font-size: 1.5rem;
            }

            .discount-badge {
                padding: .1rem .5rem;
                border-radius: 1rem;
                background-color: var(--bg-badge);
                font-weight: 600;
                font-size: .8rem;
                color: #fff;
            }

            .old-price {

            }
        }

        .format {
            margin-bottom: 1.5rem;
            width: 100%;
            background-color: var(--bg-filter);
            border-radius: 10px;
            padding: 1rem;
            display: flex;
            /*gap: .5rem;*/
            flex-direction: column;
            /*justify-content: space-between;*/

            .header {
                margin-bottom: .5rem;
                font-weight: 400;
                font-size: .8rem;
                color: var(--text-secondary);
            }

            .content {
                display: flex;
                gap: 1rem;

                svg {
                    width: 1rem;
                    fill: var(--bg-badge);
                }
            }
        }

        button {
            width: 100%;
            height: 3rem;
            background-color: var(--primary);
            border-radius: 8px;
            border: none;
            outline: none;
            font-size: 1rem;
            /*color: var(--text);*/
            cursor: pointer;
            transition: background-color .3s ease-out;

            &:hover {
                background-color: var(--primary-hover);
            }
        }
    }

    @media (max-width: 1100px) {
        display: none;
    }
}

.price-bottom {
    width: 100%;
    flex: 1;
    position: sticky;
    bottom: 0;
    /*margin: 1rem 0;*/
    display: flex;
    padding: 2rem 0;
    gap: 1rem;
    background-color: var(--bg);
    /*border: 1px solid var(--bg-main-menu);*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 2px 8px var(--shadow);*/


    .button-block {
        flex: 1;
        display: flex;
        /*padding: 1rem;*/

        form {
            width: 100%;
        }

        button {
            margin: auto;
            width: 100%;
            height: 3rem;
            cursor: pointer;
            background-color: var(--primary);
            outline: none;
            border: none;
            border-radius: 6px;
            font-size: 1rem;

            &:hover {
                background-color: var(--primary-hover);
            }

            .discount-badge {
                margin: 0 .8rem;
                padding: .1rem .5rem;
                border-radius: 1rem;
                background-color: yellow;
                font-weight: 600;
                font-size: .8rem;
                color: black;
            }
        }
    }

    .buy-wrapper {
        width: 100%;
        margin: 1rem;
        border: 1px solid var(--bg-main-menu);
        box-shadow: 0 2px 8px var(--shadow);
        background-color: var(--bg-card);
        display: flex;
        gap: 1rem;
    }


    @media (min-width: 1100px) {
        display: none;
    }
}