﻿#fs-cart-root,
#fs-cart-root * {
    box-sizing: border-box;
}

.fs-cart-trigger {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99990;

    min-height: 48px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(255,255,255,.18);
    background: #080808;
    color: #fff;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.8px;

    box-shadow: 0 12px 40px rgba(0,0,0,.45);

    transition: .2s ease;
}

.fs-cart-trigger:hover {
    background: #ff4d00;
    color: #080808;
    border-color: #ff4d00;
}

.fs-cart-icon {
    font-size: 15px;
    line-height: 1;
}

.fs-cart-count {
    display: none;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff4d00;
    color: #080808;

    font-size: 8px;
    font-weight: 1000;
}

.fs-cart-count.show {
    display: flex;
}

.fs-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 99991;

    background: rgba(0,0,0,.68);

    opacity: 0;
    visibility: hidden;

    transition: .25s ease;
}

.fs-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.fs-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99992;

    width: min(460px, 94vw);
    height: 100vh;

    display: flex;
    flex-direction: column;

    background: #080808;
    color: #fff;

    border-left: 1px solid rgba(255,255,255,.12);

    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.16,1,.3,1);

    font-family: Arial, Helvetica, sans-serif;
}

.fs-cart-drawer.open {
    transform: translateX(0);
}

.fs-cart-header {
    min-height: 88px;

    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,.1);
}

.fs-cart-kicker {
    color: #ff4d00;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: 3px;
}

.fs-cart-header h2 {
    margin-top: 6px;

    font-size: 24px;
    line-height: 1;
    letter-spacing: -1.5px;
}

.fs-cart-close {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: transparent;
    color: #888;

    border: 1px solid rgba(255,255,255,.12);

    cursor: pointer;

    font-size: 23px;
}

.fs-cart-close:hover {
    color: #ff4d00;
    border-color: #ff4d00;
}

.fs-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px 18px;
}

.fs-cart-item {
    position: relative;

    display: grid;
    grid-template-columns: 72px minmax(0,1fr) 24px;
    gap: 13px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.fs-cart-item-image {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: #101010;
    border: 1px solid rgba(255,255,255,.08);
}

.fs-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fs-cart-image-placeholder {
    color: #444;
    font-size: 9px;
    font-weight: 900;
}

.fs-cart-item-brand {
    color: #666;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: 2px;
}

.fs-cart-item-name {
    margin-top: 5px;

    color: #eee;

    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}

.fs-cart-item-category {
    margin-top: 4px;

    color: #555;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.fs-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 10px;
}

.fs-cart-item-controls button {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    background: #111;
    color: #aaa;

    border: 1px solid rgba(255,255,255,.1);

    cursor: pointer;
}

.fs-cart-item-controls button:hover {
    color: #ff4d00;
    border-color: #ff4d00;
}

.fs-cart-item-controls span {
    min-width: 12px;

    text-align: center;

    color: #fff;

    font-size: 9px;
    font-weight: 900;
}

.fs-cart-remove {
    align-self: start;

    background: transparent;
    border: 0;

    color: #555;

    cursor: pointer;

    font-size: 18px;
}

.fs-cart-remove:hover {
    color: #ff4d00;
}

.fs-cart-empty {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;
}

.fs-cart-empty-number {
    color: #222;

    font-size: 90px;
    font-weight: 1000;
    line-height: .8;
}

.fs-cart-empty strong {
    margin-top: 25px;

    font-size: 13px;
    letter-spacing: 1.5px;
}

.fs-cart-empty span {
    margin-top: 10px;

    color: #666;

    font-size: 9px;
    line-height: 1.5;
}

.fs-cart-footer {
    padding: 18px;

    border-top: 1px solid rgba(255,255,255,.1);
}

.fs-cart-summary {
    display: flex;
    justify-content: space-between;

    color: #777;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 2px;
}

.fs-cart-summary strong {
    color: #fff;
}

.fs-cart-note {
    margin-top: 12px;

    color: #555;

    font-size: 8px;
    line-height: 1.5;
}

.fs-order-button {
    width: 100%;
    min-height: 50px;

    margin-top: 15px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ff4d00;
    color: #080808;

    border: 0;

    cursor: pointer;

    font-size: 8px;
    font-weight: 1000;
    letter-spacing: 1.5px;

    transition: .2s ease;
}

.fs-order-button:hover {
    background: #fff;
}

.fs-copy-button {
    width: 100%;
    min-height: 40px;

    margin-top: 8px;

    background: transparent;
    color: #777;

    border: 1px solid rgba(255,255,255,.12);

    cursor: pointer;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.fs-copy-button:hover {
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.fs-add-cart-button,
.fs-product-add {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 13px;

    background: #ff4d00;
    color: #080808;

    border: 0;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 7px;
    font-weight: 1000;
    letter-spacing: 1.2px;

    transition: .2s ease;
}

.fs-add-cart-button:hover,
.fs-product-add:hover {
    background: #fff;
}

.fs-add-cart-button {
    position: relative;
    z-index: 10;

    margin: 0;
}

.fs-product-add {
    margin-top: 14px;
}

.fs-cart-toast {
    position: fixed;
    left: 50%;
    bottom: 85px;
    z-index: 100000;

    transform: translate(-50%, 15px);

    padding: 12px 17px;

    background: #fff;
    color: #080808;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 8px;
    font-weight: 1000;
    letter-spacing: 1.2px;

    opacity: 0;
    visibility: hidden;

    transition: .2s ease;
}

.fs-cart-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

body.fs-cart-lock {
    overflow: hidden;
}

@media (max-width: 600px) {
    .fs-cart-trigger {
        right: 12px;
        bottom: 12px;
        min-height: 44px;
        padding: 0 12px;
    }

    .fs-cart-label {
        font-size: 7px;
    }

    .fs-cart-drawer {
        width: 100vw;
    }

    .fs-cart-header {
        min-height: 78px;
        padding: 18px;
    }

    .fs-cart-header h2 {
        font-size: 21px;
    }

    .fs-cart-items {
        padding: 10px 15px;
    }

    .fs-cart-footer {
        padding: 15px;
    }

    .fs-add-cart-button {
        min-height: 39px;
        font-size: 6.5px;
    }
}
