:root {
    --shop-ink: #191919;
    --shop-muted: #858585;
    --shop-line: #e9e9e9;
    --shop-soft: #f6f6f6;
    --shop-red: #d51616;
}

.shop-page {
    width: min(100% - 36px, 1200px);
    min-height: 62vh;
    margin: 0 auto;
    padding: 34px 0 95px;
    color: var(--shop-ink);
    font-family: "DM Sans", sans-serif;
}

.shop-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.shop-page-kicker {
    display: block;
    margin-bottom: 5px;
    color: #999999;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.shop-page-header h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: -.045em;
}

.shop-page-header h1 small {
    color: #9a9a9a;
    font-size: 13px;
    font-weight: 500;
}

.shop-page-header>a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 4px;
    color: #444444;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.shop-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr)350px;
    gap: 26px;
    align-items: start;
}

.shop-cart-products,
.shop-order-summary {
    border: 1px solid var(--shop-line);
    background: #ffffff;
}

.shop-cart-list {
    padding: 0 22px;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-cart-item:last-child {
    border-bottom: 0;
}

.shop-cart-item.is-unavailable .shop-cart-image img {
    filter: grayscale(.5);
    opacity: .62;
}

.shop-cart-image {
    aspect-ratio: .82 / 1;
    overflow: hidden;
    background: var(--shop-soft);
}

.shop-cart-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.shop-cart-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.shop-cart-info-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.shop-cart-info-top>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.shop-item-sku {
    color: #a0a0a0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.shop-item-name {
    margin-top: 5px;
    overflow: hidden;
    color: #242424;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-item-variant {
    margin-top: 7px;
    color: #888888;
    font-size: 13px;
}

.shop-item-total {
    flex: 0 0 auto;
    color: var(--shop-red);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}

.shop-item-warning {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    color: #bd2424;
    font-size: 11px;
}

.shop-cart-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 16px;
}

.shop-quantity {
    height: 34px;
    display: grid;
    grid-template-columns: 34px 34px 34px;
    border: 1px solid #dddddd;
}

.shop-quantity button {
    padding: 0;
    border: 0;
    color: #242424;
    background: #ffffff;
    font-size: 16px;
}

.shop-quantity button:disabled {
    opacity: .35;
}

.shop-quantity span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
    font-size: 12px;
}

.shop-control-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    color: #777777;
    background: transparent;
    font-size: 11px;
}

.shop-control-link:hover {
    color: #222222;
}

.shop-control-link.is-remove:hover {
    color: #c51e1e;
}

.shop-order-summary {
    position: sticky;
    top: 18px;
    padding: 24px;
}

.shop-summary-kicker {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.shop-order-summary h4 {
    margin: 4px 0 22px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.shop-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    color: #666666;
    font-size: 13px;
}

.shop-summary-row strong {
    color: #333333;
    font-size: 13px;
}

.shop-summary-divider {
    height: 1px;
    margin: 18px 0;
    background: var(--shop-line);
}

.shop-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.shop-summary-total strong {
    color: var(--shop-red);
    font-size: 20px;
}

.shop-delivery-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding: 10px;
    color: #666666;
    background: var(--shop-soft);
    font-size: 13px;
}

.shop-delivery-note i {
    color: #16824b;
    font-size: 15px;
}

.shop-checkout-button {
    width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    border: 0;
    color: #ffffff;
    background: #171717;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    text-decoration: none;
}

.shop-checkout-button.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.shop-checkout-button:visited {
    color: #ffffff !important;
}

.shop-checkout-later {
    display: block;
    margin-top: 7px;
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.shop-safe-payment {
    margin-top: 15px;
    color: #8d8d8d;
    font-size: 12px;
    text-align: center;
}

.shop-empty-state {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px solid var(--shop-line);
    background: #fafafa;
    text-align: center;
}

.shop-empty-state>span {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #777777;
    background: #eeeeee;
    font-size: 29px;
}

.shop-empty-state h2 {
    margin: 15px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.shop-empty-state p {
    margin: 6px 0 18px;
    color: #898989;
    font-size: 13px;
}

.shop-empty-state>a {
    padding: 11px 21px;
    color: #ffffff;
    background: #171717;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    text-transform: uppercase;
}

.shop-mobile-total {
    display: none;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 14px;
}

.favorite-card {
    min-width: 0;
    background: #ffffff;
}

.favorite-card-image {
    position: relative;
    aspect-ratio: .82 / 1;
    overflow: hidden;
    background: var(--shop-soft);
}

.favorite-card-image>a,
.favorite-card-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.favorite-card-image img {
    object-fit: cover;
    transition: transform .3s ease;
}

.favorite-card:hover .favorite-card-image img {
    transform: scale(1.025);
}

.favorite-card-image>button {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #e01c1c;
    background: rgba(255, 255, 255, .94);
    font-size: 15px;
}

.favorite-card-image>span {
    position: absolute;
    bottom: 9px;
    left: 9px;
    padding: 5px 8px;
    color: #ffffff;
    background: rgba(20, 20, 20, .84);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.favorite-card-body {
    padding: 10px 1px 0;
}

.favorite-card-body>span {
    display: block;
    color: #a0a0a0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.favorite-card-body>a {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #282828;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-card-body>div {
    min-height: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
}

.favorite-card-body strong {
    color: var(--shop-red);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}

.favorite-card-body del {
    color: #a0a0a0;
    font-size: 11px;
}

.favorite-card-body>button {
    width: 100%;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
    border: 1px solid #202020;
    color: #ffffff;
    background: #202020;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.favorite-card-body>button:disabled {
    opacity: .45;
}

.shop-toast {
    position: fixed;
    z-index: 100500;
    bottom: 105px;
    left: 50%;
    max-width: calc(100% - 28px);
    padding: 11px 16px;
    border-radius: 4px;
    color: #ffffff;
    background: #171717;
    box-shadow: 0 9px 30px rgba(0, 0, 0, .2);
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media(max-width:899px) {
    body {
        background: #f4f4f4;
    }

    .shop-page {
        width: 100%;
        min-height: calc(100dvh - 140px);
        padding: 20px 12px 150px;
    }

    .shop-page-header {
        margin-bottom: 14px;
        padding: 0 2px;
    }

    .shop-page-header h1 {
        font-size: 23px;
    }

    .shop-page-header>a {
        font-size: 0;
    }

    .shop-page-header>a i {
        font-size: 18px;
    }

    .shop-cart-layout {
        display: block;
    }

    .shop-cart-products {
        border: 0;
        background: transparent;
    }

    .shop-cart-list {
        padding: 0;
    }

    .shop-cart-item {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 8px;
        padding: 12px;
        border: 0;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .035);
    }

    .shop-item-name {
        font-size: 13px;
    }

    .shop-item-total {
        position: absolute;
        right: 12px;
        bottom: 50px;
        font-size: 12px;
    }

    .shop-cart-info {
        position: relative;
    }

    .shop-cart-info-top {
        display: block;
    }

    .shop-cart-controls {
        gap: 10px;
        margin-top: auto;
    }

    .shop-control-link {
        font-size: 0;
    }

    .shop-control-link i {
        font-size: 13px;
    }

    .shop-quantity {
        height: 30px;
        grid-template-columns: 29px 29px 29px;
    }

    .shop-order-summary {
        position: static;
        margin-top: 9px;
        padding: 18px;
        border: 0;
        border-radius: 12px;
    }


    .shop-mobile-total {
        position: fixed;
        z-index: 6000;
        right: 0;
        bottom: calc(72px+env(safe-area-inset-bottom));
        left: 0;
        grid-template-columns: 1fr minmax(150px, 46%);
        align-items: center;
        gap: 12px;
        padding: 10px 13px;
        border-top: 1px solid #e6e6e6;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -7px 25px rgba(0, 0, 0, .08);
        backdrop-filter: blur(13px);
    }

    .shop-mobile-total:not([hidden]) {
        display: grid;
    }

    .shop-mobile-total>div {
        display: flex;
        flex-direction: column;
    }

    .shop-mobile-total small {
        color: #888888;
        font-size: 10px;
    }

    .shop-mobile-total strong {
        color: var(--shop-red);
        font-family: "Manrope", sans-serif;
        font-size: 16px;
    }

    .shop-mobile-total a {
        height: 43px;
        border: 0;
        color: #ffffff;
        background: #171717;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .shop-mobile-total a.is-disabled {
        opacity: .5;
        pointer-events: none;
    }

    .shop-empty-state {
        min-height: 58vh;
        border: 0;
        border-radius: 13px;
        background: #ffffff;
    }

    .favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 8px;
    }

    .favorite-card {
        overflow: hidden;
        border-radius: 8px;
    }

    .favorite-card-body {
        padding: 9px 9px 10px;
    }

    .favorite-card-body>a {
        font-size: 12px;
    }

    .favorite-card-body>button {
        height: 36px;
    }
}

@media(min-width:600px)and(max-width:899px) {
    .favorites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width:390px) {
    .shop-cart-item {
        grid-template-columns: 94px minmax(0, 1fr);
        padding: 10px;
    }

    .shop-quantity {
        grid-template-columns: 27px 27px 27px;
    }

    .shop-mobile-total {
        grid-template-columns: 1fr minmax(142px, 48%);
    }
}

.shop-promo {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #e5e7ea;
    border-radius: 10px;
    background: #fafbfc
}

.shop-promo>label {
    display: block;
    margin-bottom: 6px;
    color: #6e7680;
    font-size: 11px;
    font-weight: 700
}

.shop-promo>div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 8px
}

.shop-promo input {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8dde2;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase
}

.shop-promo [data-promo-state] {
    font-size: 11px
}

.shop-promo .is-valid {
    color: #16814c
}

.shop-promo .is-invalid {
    color: #c33b43
}

.shop-promo .is-checking {
    color: #727b85
}

.shop-promo-discount strong {
    color: #16814c !important
}

@media(max-width:575px) {
    .shop-promo>div {
        grid-template-columns: 1fr
    }

    .shop-promo input {
        height: 42px
    }

    .shop-summary-row {
        font-size: 15px;
        margin-top: 6px;
    }
    .shop-summary-row strong {
        font-size: 16px;
    }
}

.favorite-card-meta {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.favorite-card-rating {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto
}

.favorite-card-rating i {
    color: #f0a500;
    font-size: 1em
}