/* Product gallery purchase bar, restored from 8fe35680. */
.fck-photo-buybar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8055;
    min-height: 68px;
    padding: 10px 104px 10px 24px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    font-family: Brutal Type, sans-serif;
    color: #fff;
    background: rgba(14, 14, 14, .94);
    border-bottom: 1px solid rgba(18, 208, 167, .35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.fck-photo-buybar__product,
.fck-photo-buybar__actions,
.fck-photo-buybar__sizes,
.fck-photo-buybar__qty {
    display: flex;
    align-items: center;
}

.fck-photo-buybar__product {
    min-width: 0;
    gap: 12px;
}

.fck-photo-buybar__thumb {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: block;
    overflow: hidden;
    background: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, .12);
}

.fck-photo-buybar__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fck-photo-buybar__copy {
    min-width: 0;
    display: block;
    text-transform: uppercase;
}

.fck-photo-buybar__name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .01em;
}

.fck-photo-buybar__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 13px;
    color: #9da0a5;
}

.fck-photo-buybar__meta [data-fck-photo-price] {
    color: #12d0a7;
    font-weight: 700;
}

.fck-photo-buybar__sizes {
    max-width: 340px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fck-photo-buybar__sizes:empty {
    display: none;
}

.fck-photo-buybar__sizes button,
.fck-photo-buybar__qty button,
.fck-photo-buybar__submit,
.fck-photo-buybar__cart {
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    font-family: Brutal Type, sans-serif;
    text-transform: uppercase;
}

.fck-photo-buybar__sizes button {
    min-width: 38px;
    padding: 0 9px;
    color: #dfe4e3;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.fck-photo-buybar__sizes button:hover,
.fck-photo-buybar__sizes button.is-current {
    color: #005e37;
    background: #12d0a7;
    border-color: #12d0a7;
}

.fck-photo-buybar__actions {
    gap: 8px;
}

.fck-photo-buybar__qty {
    flex: 0 0 auto;
}

.fck-photo-buybar__qty button {
    width: 34px;
    min-width: 34px;
    padding: 0;
    font-size: 18px;
    line-height: 32px;
    color: #dfe4e3;
    background: rgba(255, 255, 255, .04);
}

.fck-photo-buybar__qty button:hover {
    color: #005e37;
    background: #12d0a7;
}

.fck-photo-buybar__qty input {
    width: 38px;
    height: 34px;
    margin: 0 -1px;
    padding: 0;
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .18);
    font-family: Brutal Type, sans-serif;
}

.fck-photo-buybar__submit {
    min-width: 150px;
    padding: 0 22px;
    color: #005e37;
    background: #12d0a7;
    border-color: #12d0a7;
    font-weight: 700;
    cursor: pointer;
}

.fck-photo-buybar__submit:hover,
.fck-photo-buybar__submit.is-loading {
    color: #fff;
    background: #126d73;
    border-color: #126d73;
}

.fck-photo-buybar__cart {
    width: 40px;
    min-width: 40px;
    position: relative;
    display: block;
    background: rgba(255, 255, 255, .04);
}

.fck-photo-buybar__cart:before {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 20px;
    margin: -10px 0 0 -8px;
    /* Keep the original bag independent of changes to the shared sprite. */
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2020%22%3E%3Cpath%20fill%3D%22white%22%20fill-rule%3D%22evenodd%22%20d%3D%22m11.203094%203.17589v1.94725h3.3548042c.794801%200%201.4421018.64508%201.4421018%201.44456v11.9877c0%20.7995-.6473008%201.4446-1.4421018%201.4446h-13.1157664c-.79479099%200-1.4421318-.6451-1.4421318-1.4446v-11.9877c0-.79948.64734081-1.44456%201.4421318-1.44456h3.41556427v-1.94725c0-1.75566%201.42209178-3.17589%203.17269397-3.17589%201.75050219%200%203.17270396%201.42023%203.17270396%203.17589zm-1.0369013%204.33254.0957001-.07697v-1.36317h-4.46302555v1.39036l.08704011.07653c.20468025.17999.33798042.45361.33798042.76382%200%20.5602-.42819054.989-.92596116.989-.49778062%200-.92600116-.4288-.92600116-.989%200-.33382.1543602-.6251.38569049-.80306l.10008012-.07699v-1.35066h-3.41556427c-.27834035%200-.50095062.22526-.50095062.49941v11.9877c0%20.2742.22261027.4995.50095062.4995h13.1157664c.2783003%200%20.5009006-.2253.5009006-.4995v-11.9877c0-.27415-.2226003-.49941-.5009006-.49941h-3.3548042v1.37639l.0913001.07682c.2137003.17962.3539005.45928.3539005.7775%200%20.5602-.4282006.989-.9259012.989-.4978006%200-.92600115-.4288-.92600115-.989%200-.32608.14720018-.61163.36980045-.79057zm-4.36732545-4.33254v1.94725h4.46302555v-1.94725c0-1.23034-.99740122-2.23074-2.23150276-2.23074s-2.23152279%201.00041-2.23152279%202.23074z%22%2F%3E%3C%2Fsvg%3E") center / 16px 20px no-repeat;
    content: "";
}

.fck-photo-buybar__cart span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    padding: 2px 5px 1px;
    border-radius: 10px;
    color: #005e37;
    background: #12d0a7;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}


.fancybox-lock .fancybox-close {
    z-index: 8060;
}

@media (max-width:1199px) {
    .fck-photo-buybar {
        min-height: 112px;
        padding: 8px 46px 8px 10px;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .fck-photo-buybar__product {
        gap: 8px;
    }

    .fck-photo-buybar__thumb {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .fck-photo-buybar__name {
        font-size: 12px;
        line-height: 15px;
    }

    .fck-photo-buybar__meta {
        margin-top: 3px;
        font-size: 10px;
        line-height: 12px;
    }

    .fck-photo-buybar__sizes {
        max-width: none;
        justify-content: flex-start;
        overflow: auto;
        flex-wrap: nowrap;
    }

    .fck-photo-buybar__sizes::-webkit-scrollbar {
        display: none;
    }

    .fck-photo-buybar__sizes button {
        height: 28px;
        min-width: 38px;
        flex: 0 0 auto;
        padding: 0 8px;
        font-size: 11px;
    }

    .fck-photo-buybar__actions {
        width: 100%;
        gap: 6px;
    }

    .fck-photo-buybar__qty button,
    .fck-photo-buybar__qty input,
    .fck-photo-buybar__submit,
    .fck-photo-buybar__cart {
        height: 32px;
    }

    .fck-photo-buybar__qty button {
        width: 32px;
        min-width: 32px;
        line-height: 30px;
    }

    .fck-photo-buybar__qty input {
        width: 36px;
    }

    .fck-photo-buybar__submit {
        min-width: 0;
        flex: 1 1 auto;
        padding: 0 12px;
        font-size: 11px;
    }

    .fck-photo-buybar__cart {
        width: 36px;
        min-width: 36px;
    }

}


.fck-photo-buybar, .fck-photo-buybar * { box-sizing: border-box; }
.fck-photo-buybar button:disabled { opacity: .55; cursor: default; }
.fck-photo-buybar button:focus-visible, .fck-photo-buybar input:focus-visible,
.fck-photo-buybar a:focus-visible { outline: 2px solid #12d0a7; outline-offset: 3px; }
.fck-photo-buybar__message { grid-column: 1 / -1; font-size: 12px; line-height: 16px; }
.fck-photo-buybar__message:empty { display: none; }
@media (max-width: 1199px) {
    .fck-photo-buybar { max-height: 45vh; overflow-y: auto; }
    .fck-photo-buybar__sizes { padding: 2px 0; }
    .fck-photo-buybar__sizes button { min-height: 32px; }
}

/* Phone layout: product and cart, sizes, then quantity and purchase action. */
@media (max-width: 767px) {
    .fck-photo-buybar {
        min-height: 0;
        max-height: 50vh;
        max-height: 50dvh;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 14px;
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        grid-template-columns: 108px minmax(0, 1fr) 44px;
        column-gap: 10px;
        row-gap: 10px;
        align-items: center;
        background: #111;
        border-bottom-color: rgba(18, 208, 167, .22);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
    }

    .fck-photo-buybar__product {
        grid-column: 1 / 3;
        grid-row: 1;
        gap: 10px;
        min-height: 44px;
    }

    .fck-photo-buybar__thumb {
        width: 42px;
        height: 48px;
        flex-basis: 42px;
        border: 0;
    }

    .fck-photo-buybar__thumb img {
        object-fit: contain;
    }

    .fck-photo-buybar__copy {
        flex: 1;
    }

    .fck-photo-buybar__name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: .015em;
    }

    .fck-photo-buybar__meta {
        margin-top: 4px;
        gap: 4px 10px;
        font-size: 11px;
        line-height: 14px;
    }

    .fck-photo-buybar__sizes {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        max-width: 100%;
        gap: 6px;
        padding: 0;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .fck-photo-buybar__sizes button {
        flex: 0 0 auto;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 13px;
        line-height: 42px;
        font-weight: 500;
    }

    .fck-photo-buybar__actions {
        display: contents;
    }

    .fck-photo-buybar__qty {
        grid-column: 1;
        grid-row: 3;
        width: 108px;
    }

    .fck-photo-buybar__qty button {
        width: 36px;
        min-width: 36px;
        height: 44px;
        line-height: 42px;
        font-size: 20px;
    }

    .fck-photo-buybar__qty input {
        width: 38px;
        min-width: 0;
        height: 44px;
        font-size: 16px;
        font-variant-numeric: tabular-nums;
        border-radius: 0;
        -webkit-appearance: none;
    }

    .fck-photo-buybar__submit {
        grid-column: 2 / -1;
        grid-row: 3;
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 42px;
        letter-spacing: .025em;
        white-space: nowrap;
    }

    .fck-photo-buybar__submit:hover:not(.is-loading) {
        color: #005e37;
        background: #12d0a7;
        border-color: #12d0a7;
    }

    .fck-photo-buybar__sizes button:not(.is-current):hover,
    .fck-photo-buybar__qty button:hover {
        color: #dfe4e3;
        background: rgba(255, 255, 255, .04);
    }

    .fck-photo-buybar__submit:active:not(:disabled) {
        background: #10bc98;
    }

    .fck-photo-buybar__cart {
        grid-column: 3;
        grid-row: 1;
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .fck-photo-buybar__cart span {
        top: -5px;
        right: -5px;
        min-width: 18px;
        padding: 2px 4px;
        font-size: 10px;
        line-height: 14px;
        font-variant-numeric: tabular-nums;
    }

    .fck-photo-buybar__message {
        grid-column: 1 / -1;
        grid-row: 4;
        color: #b9c2bf;
        font-size: 11px;
        line-height: 15px;
    }
}
