.shoppyfit {
    display: none;
}


/******************************
 * Global colors and shadows
 */

:root {
    --base-font-size: 16px;
    --font: arial, helvetica, sans-serif;
    --shoppyfit-keyboard-focus: #1e90ff;
    --shoppyfit-background: #f5f5f5;
    --shoppyfit-background-2: #fff;
    --shoppyfit-border: #545454;
    --shoppyfit-button-shadow: #333;
    --shoppyfit-text: #333;
    --shoppyfit-text-2: #000;
    --shoppyfit-close-background: #545454;
    --shoppyfit-close-text: #b0b0b0;
    --shoppyfit-close-text-hover: #777;
    --shoppyfit-overlay-background: rgba(20 20 20 / 40%);
    --shoppyfit-modal-btn-background: #f5f5f5;
    --shoppyfit-modal-btn-background-2: #fff;
    --shoppyfit-modal-btn-border: #dfdfdf;
    --shoppyfit-modal-btn-border-2: #d2d2d2;
    --shoppyfit-modal-btn-text: #333;
    --shoppyfit-modal-btn-text-2: #161616;
    --shoppyfit-modal-btn-sec-text: #4f4f4f;
    --bg-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23777' width='16' height='16' viewBox='0 0 122.878 122.88'%3E%3Cpath d='M1.426 8.313a4.87 4.87 0 0 1 0-6.886 4.87 4.87 0 0 1 6.886 0l53.127 53.127 53.127-53.127a4.87 4.87 0 0 1 6.887 0 4.87 4.87 0 0 1 0 6.886L68.324 61.439l53.128 53.128a4.87 4.87 0 0 1-6.887 6.886L61.438 68.326 8.312 121.453a4.87 4.87 0 0 1-6.886 0 4.87 4.87 0 0 1 0-6.886l53.127-53.128L1.426 8.313h0z'/%3E%3C/svg%3E") 16 16, crosshair;
    --icon-ms365-color: #ea3e23;
    --icon-yahoo-color: #5f01d1;
    --icon-filter: none;
}


/* Dark mode */

.shoppyfit-button-wrapper.shoppyfit-dark,
body.shoppyfit-dark .shoppyfit-button-wrapper.shoppyfit-bodyScheme,
.shoppyfit-list.shoppyfit-dark,
body.shoppyfit-dark .shoppyfit-list.shoppyfit-bodyScheme,
.shoppyfit-modal-box.shoppyfit-dark,
body.shoppyfit-dark .shoppyfit-modal-box.shoppyfit-bodyScheme,
#shoppyfit-bgoverlay.shoppyfit-dark,
body.shoppyfit-dark #shoppyfit-bgoverlay.shoppyfit-bodyScheme {
    --shoppyfit-background: #222;
    --shoppyfit-background-2: #373737;
    --shoppyfit-border: #515151;
    --shoppyfit-button-shadow: #000;
    --shoppyfit-text: #dedede;
    --shoppyfit-text-2: #f1f1f1;
    --shoppyfit-close-background: #111;
    --shoppyfit-close-text: #777;
    --shoppyfit-close-text-hover: #f1f1f1;
    --shoppyfit-overlay-background: rgba(20 20 20 / 75%);
    --icon-ms365-color: #ea3e23;
    --icon-yahoo-color: #bebebe;
    --icon-filter: grayscale(0.2);
}


/******************************
 * The triggering button
 */

.shoppyfit-button-wrapper {
    display: inline-block;
    font-size: var(--base-font-size);
    padding: 5px;
    position: relative;
}

.shoppyfit-button {
    align-items: center;
    background-color: var(--shoppyfit-background);
    border: 0.2em solid var(--shoppyfit-border);
    color: var(--shoppyfit-text-2);
    cursor: pointer;
    display: flex;
    font-family: var(--font);
    font-size: var(--base-font-size);
    font-weight: 600;
    justify-content: center;
    line-height: 1.5em;
    margin: 10px;
    max-width: 350px;
    min-width: 160px;
    padding: 0.8em 1.2em;
    top: 0;
    right: 0;
    box-shadow: 0 0 0 0 var(--shoppyfit-button-shadow);
    position: relative;
    text-align: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: auto;
    z-index: 1;
}

.shoppyfit-button.shoppyfit-click {
    top: -3px;
    left: -3px;
    box-shadow: 3px 3px 0 0 var(--shoppyfit-button-shadow);
}

.shoppyfit-rtl .shoppyfit-button {
    direction: rtl;
    text-align: right;
}

.shoppyfit-button:focus,
.shoppyfit-button:hover {
    background-color: var(--shoppyfit-background-2);
    top: 0;
    left: 0;
    box-shadow: 0 0 0 0 var(--shoppyfit-button-shadow);
}

.shoppyfit-button:focus-visible {
    outline: 2px solid var(--shoppyfit-keyboard-focus);
}

.shoppyfit-button.shoppyfit-active:not(.shoppyfit-modal-style,
.shoppyfit-dropoverlay),
.shoppyfit-button.shoppyfit-single:focus,
.shoppyfit-button.shoppyfit-single:hover {
    background-color: var(--shoppyfit-background-2);
    top: -5px;
    left: -5px;
    box-shadow: 5px 5px 0 0 var(--shoppyfit-button-shadow);
    z-index: 15000000;
}

.shoppyfit-button.shoppyfit-active.shoppyfit-dropoverlay {
    z-index: 14000090;
}


/******************************
 * Button Icon (also base for list icons) & Text
 */

.shoppyfit-icon {
    height: var(--base-font-size);
    margin-right: 1em;
    line-height: 1em;
}

.shoppyfit-rtl .shoppyfit-icon {
    margin-right: 0;
    margin-left: 1em;
}

.shoppyfit-icon svg {
    height: 100%;
    fill: currentcolor;
    width: auto;
}

.shoppyfit-icon-trigger svg {
    display: none;
}

.shoppyfit-button .shoppyfit-icon-trigger::after {
    content: "+";
    font-size: 1.5em;
}

.shoppyfit-text {
    overflow-wrap: anywhere;
}


/******************************
 * Options List
 */

.shoppyfit-dropdown-anchor {
    bottom: -0.2em;
    height: 0;
    width: 100%;
    opacity: 0;
    position: absolute;
}

.shoppyfit-list-wrapper {
    box-sizing: border-box;
    padding: 0 2px 0 6px;
    position: absolute;
    z-index: 16000090;
}

.shoppyfit-list-wrapper.shoppyfit-dropoverlay {
    z-index: 15000000;
}

.shoppyfit-list {
    box-sizing: border-box;
    color: var(--shoppyfit-text);
    display: block;
    font-family: var(--font);
    font-size: var(--base-font-size);
    max-width: 100%;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
}

.shoppyfit-iframe {
    align-items: center;
    background-color: var(--shoppyfit-background);
    border: 0.15em solid var(--shoppyfit-border);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    font-size: var(--base-font-size);
    left: 50%;
    line-height: 1.75em;
    padding: 0.8em;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.shoppyfit-rtl .shoppyfit-iframe {
    direction: rtl;
    text-align: right;
}

.shoppyfit-iframe:hover {
    background-color: var(--shoppyfit-background-2);
    color: var(--shoppyfit-text-2);
}

.shoppyfit-iframe:focus-visible {
    background-color: var(--shoppyfit-background-2);
    color: var(--shoppyfit-keyboard-focus);
    font-size: 0.95em;
    font-weight: 600;
    outline: none;
}

.shoppyfit-list .shoppyfit-iframe:not(:first-child) {
    border-top-style: none;
}

.shoppyfit-dropup .shoppyfit-iframe:last-child {
    border-bottom-width: 0;
}

.shoppyfit-list.shoppyfit-generated-button:not(.shoppyfit-modal) .shoppyfit-iframe:first-child {
    border-top-width: 0;
}

.shoppyfit-dropup .shoppyfit-list.shoppyfit-generated-button:not(.shoppyfit-modal) .shoppyfit-iframe:first-child,
.shoppyfit-dropoverlay .shoppyfit-list.shoppyfit-generated-button:not(.shoppyfit-modal) .shoppyfit-iframe:first-child {
    border-top-width: 0.15em;
}

.shoppyfit-iframe .shoppyfit-icon {
    margin-bottom: 0.5em;
    margin-right: 0.6em;
    width: 1.125em;
}

.shoppyfit-rtl .shoppyfit-iframe .shoppyfit-icon {
    margin-right: 0;
    margin-left: 0.6em;
}

.shoppyfit-iframe-close {
    background-color: var(--shoppyfit-close-background);
}

.shoppyfit-iframe.shoppyfit-iframe-close {
    color: var(--shoppyfit-close-text);
}

.shoppyfit-iframe.shoppyfit-iframe-close:hover {
    color: var(--shoppyfit-close-text-hover);
}

.shoppyfit-iframe-close svg {
    fill: currentcolor;
}


/******************************
 * Modal
 */


/* we disable scrolling only on small screens - only there, the case is relevant and at the same time, they have no scrollbars and therefore no "jumping" */

@media only screen and (max-width: 575px) {
    .shoppyfit-modal-no-scroll {
        overflow-y: hidden;
    }
}

.shoppyfit-modal {
    display: block;
    min-width: 25em;
    min-height: 80%;
    width: auto;
    right: 0;
    position: fixed;
    z-index: 14000090;
}

.shoppyfit-modal-box {
    background-color: var(--shoppyfit-background-2);
    color: var(--shoppyfit-text-2);
    cursor: default;
    border: 1px solid var(--shoppyfit-border);
    box-sizing: border-box;
    font-family: var(--font);
    font-size: var(--base-font-size);
    line-height: 1.5em;
    padding: 1.25em 1.5em;
    text-align: left;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    max-width: 32em;
    -webkit-tap-highlight-color: transparent;
}

.shoppyfit-modal-box.shoppyfit-rtl {
    text-align: right;
    direction: rtl;
}

.shoppyfit-modal-close {
    cursor: pointer;
    display: inline-block;
    height: 1.125em;
    position: absolute;
    right: 1.25em;
}

.shoppyfit-rtl .shoppyfit-modal-close {
    left: 1.25em;
    right: auto;
}

.shoppyfit-modal-close svg {
    height: 100%;
    fill: var(--shoppyfit-close-text);
    width: auto;
}

.shoppyfit-modal-close:hover {
    opacity: 0.6;
}

.shoppyfit-modal-close:focus-visible {
    outline: 2px solid var(--shoppyfit-keyboard-focus);
}

.shoppyfit-modal-headline {
    align-items: center;
    display: flex;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.5em;
    margin: 1em 0.9em 1.25em;
    text-transform: uppercase;
}

.shoppyfit-rtl .shoppyfit-modal-headline {
    direction: rtl;
    text-align: right;
}

.shoppyfit-modal-headline-icon {
    height: 1.625em;
    margin-top: 0.125em;
    margin-right: 0.9em;
}

.shoppyfit-rtl .shoppyfit-modal-headline-icon {
    margin-right: 0;
    margin-left: 0.9em;
}

.shoppyfit-modal-headline-icon svg {
    height: 100%;
    fill: currentcolor;
    width: auto;
}

.shoppyfit-modal-content {
    margin: 30px 15px;
}

.shoppyfit-modal-buttons {
    padding: 0.9em 0;
    text-align: center;
    width: 100%;
}

button.shoppyfit-modal-btn,
a.shoppyfit-modal-btn {
    background-color: var(--shoppyfit-modal-btn-background);
    border: 1px solid var(--shoppyfit-modal-btn-border);
    color: var(--shoppyfit-modal-btn-sec-text);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font);
    font-size: 1em;
    font-weight: 600;
    line-height: 1.5em;
    margin: 0.625em;
    padding: 0.625em 1.25em;
    position: relative;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

button.shoppyfit-modal-btn.shoppyfit-modal-btn-primary,
a.shoppyfit-modal-btn.shoppyfit-modal-btn-primary {
    border: 1px solid var(--shoppyfit-modal-btn-border-2);
    color: var(--shoppyfit-modal-btn-text);
}

button.shoppyfit-modal-btn:hover,
a.shoppyfit-modal-btn:hover {
    background-color: var(--shoppyfit-modal-btn-background-2);
    color: var(--shoppyfit-modal-btn-text-2);
    text-decoration: none;
}

button.shoppyfit-modal-btn:focus-visible,
a.shoppyfit-modal-btn:focus-visible {
    background-color: var(--shoppyfit-modal-btn-background-2);
    outline: 2px solid var(--shoppyfit-keyboard-focus);
}


/******************************
 * Background Overlay
 */

#shoppyfit-bgoverlay {
    display: flex;
    height: calc(100vh + 100px);
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    overflow-y: auto;
    padding: 30px 20px 130px;
    position: fixed;
    width: 100vw;
    transition: 0.5s;
    z-index: 14000000;
}

#shoppyfit-bgoverlay.shoppyfit-no-bg {
    animation: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
}

@keyframes shoppyfit-bgoverlay-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#shoppyfit-bgoverlay.shoppyfit-click:hover {
    cursor: var(--bg-cursor);
}


/******************************
 * Icon specifics
 */

.shoppyfit-icon .shoppyfit-icon-apple svg {
    fill: currentcolor;
}

.shoppyfit-icon .shoppyfit-icon-ical svg {
    fill: currentcolor;
}

.shoppyfit-icon .shoppyfit-icon-ms365 svg {
    fill: var(--icon-ms365-color);
}

.shoppyfit-icon .shoppyfit-icon-yahoo svg {
    fill: var(--icon-yahoo-color);
}

.shoppyfit-icon .shoppyfit-icon-google svg,
.shoppyfit-icon .shoppyfit-icon-msteams svg,
.shoppyfit-icon .shoppyfit-icon-outlookcom svg {
    filter: var(--icon-filter);
}