:root {
    --color-hsl: 358;
    --width-product-gallery-m: 70%;
    --width-product-sidebar-m: 30%;
    --width-product-gallery-s: 65%;
    --width-product-sidebar-s: 35%
}

html#ecwid_html body#ecwid_body .ec-size.ec-size--s .ec-store .product-details--layout-sidebar-right .product-details__sidebar {
    position: sticky;
    top: 20px;
    margin-bottom: 68px !important
}

#sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s
}

#sheet[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

#sheet .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--overlay);
    opacity: .5
}

#sheet .contents {
    border-radius: 1rem 1rem 0 0;
    background: var(--background);
    position: relative;
    overflow-y: hidden;
    --default-transitions: transform 0.5s, border-radius 0.5s;
    transition: var(--default-transitions);
    transform: translateY(0);
    max-height: 100vh;
    height: 30vh;
    max-width: 70rem;
    box-sizing: border-box;
    padding: 1rem;
    padding-top: 3rem
}

#sheet .contents:not(.not-selectable) {
    transition: var(--default-transitions), height 0.5s
}

#sheet .contents.fullscreen {
    border-radius: 0
}

#sheet[aria-hidden="true"] .contents {
    transform: translateY(100%)
}

#sheet .draggable-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 3rem;
    margin: auto;
    padding: 1rem;
    cursor: grab
}

#sheet .draggable-thumb {
    width: inherit;
    height: .25rem;
    background: var(--divider);
    border-radius: .125rem
}

#sheet .close-sheet {
    position: absolute;
    right: 0;
    top: 0;
    border: none
}

#sheet .body {
    height: 100%;
    overflow-y: auto;
    gap: 1rem
}