/* BestLinks storefront cart drawer and shared cart rows.
   Scope is #cart and .checkoutCartItems. cart.css stays loaded.
   Tokens come from .bl-storefront on those roots. Do not put them on :root. */

#cart.bl-storefront {
    width: min(640px, 100vw);
    left: -100%;
    background: #FCFBFE;
    box-shadow: 30px 0 70px -20px rgba(27, 22, 48, 0.32);
    transition: left 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

#cart.bl-storefront.open {
    left: 0;
}

#cart.open ~ #backdrop.open {
    background: rgba(27, 22, 48, 0.46);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#cart .cartContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #FCFBFE;
}

#cart .cartTop {
    order: 1;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#cart .cartSuggestPackages {
    order: 2;
    position: static;
    right: auto;
    bottom: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    background: #FCFBFE;
}

#cart .cartSuggestPackages:has(.suggestPackageDiv.show) {
    padding: 12px 20px 12px;
}

#cart .cartCheckout {
    order: 3;
    position: relative;
    flex: none;
    z-index: 3;
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
    background: #fff;
    color: var(--sfd-ink);
    border-top: 1px solid var(--sfd-line-purple);
    box-shadow: 0 -18px 40px -26px rgba(64, 42, 120, 0.75);
}

#cart .cartCheckout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(101, 53, 201, 0), var(--sfd-magenta) 32%, var(--sfd-pink) 58%, var(--sfd-orange) 84%, rgba(255, 122, 24, 0));
    opacity: 0.55;
    pointer-events: none;
}

/* Header */

#cart .cartTopHeader {
    position: relative;
    flex: none;
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 11px;
    row-gap: 11px;
    width: auto;
    padding: 16px 20px 14px;
    background: #fff;
    border-bottom: 1px solid var(--sfd-line-purple);
    box-shadow: 0 10px 26px -22px rgba(64, 42, 120, 0.7);
}

#cart .cartTopHeader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(101, 53, 201, 0), var(--sfd-magenta) 30%, var(--sfd-pink) 58%, var(--sfd-orange) 84%, rgba(255, 122, 24, 0));
    pointer-events: none;
}

#cart .cartTopHeader > .cartOptions:not(.column) {
    display: contents;
}

#cart .cartTopHeader .title {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: var(--sfd-ink);
}

#cart .sfc-title-ic {
    position: relative;
    flex: none;
    width: 35px;
    height: 35px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sfd-purple), var(--sfd-magenta));
    box-shadow: 0 14px 24px -12px rgba(101, 53, 201, 0.75), inset 0 2px 3px rgba(255, 255, 255, 0.55), inset 0 -6px 12px rgba(0, 0, 0, 0.16);
}

#cart .sfc-title-ic .sfc-icn {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    fill: #fff;
}

#cart .specialBanner {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: block;
    min-width: 0;
    margin: 0;
}

#cart #closeCart {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    right: auto;
    border-radius: 50%;
    border: 1.5px solid var(--sfd-line-purple);
    background: #fff;
    color: var(--sfd-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.18s;
}

#cart #closeCart:hover {
    color: #D93A5C;
    border-color: rgba(217, 58, 92, 0.4);
    background: rgba(217, 58, 92, 0.06);
    transform: rotate(90deg);
}

#cart .cartOptions.column {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
}

#cart .cartOptions.column > div {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    margin-inline-start: auto;
}

#cart .addContentToAllWebsitesPop {
    grid-column: 1 / -1;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 20px;
    right: 20px;
    left: 20px;
    z-index: 6;
    display: none;
    margin: 0;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 36px -22px rgba(64, 42, 120, 0.7);
}

#cart .addContentToAllWebsitesPop.open {
    display: block;
}

#cart .addContentToAllWebsitesPop::before,
#cart .addContentToAllWebsitesPop::after {
    display: none;
}

/* Installments banner, cart drawer only */

#cart .creditInstallmentsBanner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 6px 12px 6px 6px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(165deg, #241442 0%, #2E1856 32%, #3C1B63 62%, #26143F 100%);
    background-image: linear-gradient(165deg, #241442 0%, #2E1856 32%, #3C1B63 62%, #26143F 100%);
    background-clip: border-box;
    color: #fff;
    box-shadow: 0 14px 26px -18px rgba(36, 20, 66, 0.95);
}

#cart .creditInstallmentsBanner .textDiv {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    min-width: 0;
    text-align: start;
}

#cart .creditInstallmentsBanner .title,
#cart .creditInstallmentsBanner .text {
    color: #fff;
    text-align: start;
    white-space: normal;
    line-height: 1.4;
}

#cart .creditInstallmentsBanner .title {
    font-size: 0.745rem;
    font-weight: 800;
}

#cart .creditInstallmentsBanner .text {
    font-size: 0.685rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

#cart .specialBannerImage {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--sfd-magenta), var(--sfd-orange));
    box-shadow: 0 12px 22px -10px rgba(182, 42, 230, 0.9);
}

#cart .specialBannerImage img {
    display: none;
}

#cart .sfc-banner-ic[hidden] {
    display: block;
    width: 16px;
    height: 16px;
    color: #fff;
}

/* Action buttons */

#cart .addContentToAllWebsites {
    display: none;
    position: relative;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 15px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--sfd-purple), var(--sfd-magenta) 46%, var(--sfd-orange)) border-box;
    color: var(--sfd-purple-deep);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 22px -16px rgba(101, 53, 201, 0.7);
}

#cart .addContentToAllWebsites.show {
    display: inline-flex;
}

#cart .addContentToAllWebsites .tooltipDiv {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#cart .addContentToAllWebsites .tooltipDiv img {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#cart .addContentToAllWebsites .tooltipDiv::before {
    content: "?";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(101, 53, 201, 0.12);
    color: var(--sfd-purple-deep);
    font-size: 0.68rem;
    font-weight: 800;
}

#cart .addContentToAllWebsites .tooltip {
    top: calc(100% + 10px);
    right: auto;
    left: auto;
    inset-inline-end: -7px;
    width: max-content;
    max-width: min(258px, calc(100vw - 48px));
    padding: 9px 13px;
    border: 0;
    border-radius: 12px;
    background: #241442;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: start;
    box-shadow: 0 18px 34px -16px rgba(36, 20, 66, 0.95);
}

#cart .addContentToAllWebsites .tooltip::after,
#cart .addContentToAllWebsites .tooltip::before {
    border-color: transparent;
}

#cart .cartOptionButton {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    margin: 0;
    padding: 0 13px;
    border: 1.5px solid var(--sfd-line-purple);
    border-right: 1.5px solid var(--sfd-line-purple);
    border-radius: 11px;
    background: #fff;
    color: var(--sfd-ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

#cart .cartOptionButton:hover {
    border-color: #DCCFF7;
    color: var(--sfd-purple-deep);
    background: #FBF9FE;
}

#cart .shareCartButton,
#cart .clearCartButton.show {
    width: 36px;
    padding: 0;
    justify-content: center;
}

#cart .clearCartButton {
    display: none;
    color: var(--sfd-ink-soft);
}

#cart .clearCartButton.show {
    display: inline-flex;
}

#cart .clearCartButton:hover {
    color: #D93A5C;
    border-color: rgba(217, 58, 92, 0.38);
    background: rgba(217, 58, 92, 0.05);
}

#cart .exportCartButton img,
#cart #closeCart .material-icons,
#cart .shareCartButton .material-icons,
#cart .clearCartButton .material-icons,
#cart .suggestPackageCloseButton .material-icons,
#cart .remove .material-icons,
.checkoutCartItems .remove .material-icons {
    display: none;
}

#cart .sfc-icn,
.checkoutCartItems .sfc-icn {
    width: 15px;
    height: 15px;
    flex: none;
    fill: currentColor;
}

#cart .sfc-icn-stroke,
.checkoutCartItems .sfc-icn-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Product list */

#cart .cartContent {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding: 15px 18px 10px;
    background:
        radial-gradient(rgba(101, 53, 201, 0.04) 1px, transparent 1.4px) 0 0 / 24px 24px,
        linear-gradient(180deg, #FFFFFF 0%, #FAF7FE 40%, #FCFBFE 100%);
}

#cart .cartContent::-webkit-scrollbar {
    width: 9px;
}

#cart .cartContent::-webkit-scrollbar-thumb {
    background: #DFD5F2;
    border-radius: 9px;
    border: 2px solid transparent;
    background-clip: content-box;
}

#cart .sfc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin: auto;
    padding: 56px 24px;
    color: var(--sfd-ink);
}

#cart .sfc-empty-ic {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    border-radius: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sfd-purple), var(--sfd-magenta));
    box-shadow: 0 22px 36px -16px rgba(101, 53, 201, 0.7);
}

#cart .sfc-empty-ic .sfc-icn {
    width: 32px;
    height: 32px;
    fill: #fff;
}

#cart .sfc-empty-tx {
    font-size: 1.06rem;
    font-weight: 800;
}

#cart .cartProduct,
.checkoutCartItems.cartContent .cartProduct {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px 15px;
    border: 1.5px solid var(--sfd-line-purple);
    border-bottom: 1.5px solid var(--sfd-line-purple);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px -24px rgba(64, 42, 120, 0.6);
    text-align: start;
    direction: rtl;
    transition: border-color 0.2s, box-shadow 0.2s, opacity 0.3s, transform 0.3s;
}

#cart .cartProduct:hover,
.checkoutCartItems.cartContent .cartProduct:hover {
    border-color: #DCCFF7;
    box-shadow: 0 18px 38px -26px rgba(101, 53, 201, 0.5);
}

#cart .cartProduct.hide,
.checkoutCartItems.cartContent .cartProduct.hide {
    opacity: 0;
    transform: translateX(-40px);
}

#cart .cartProduct .productData,
.checkoutCartItems.cartContent .cartProduct .productData {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 9px 12px;
    align-items: center;
    width: 100%;
}

#cart .productData > .imgColumn,
.checkoutCartItems .productData > .imgColumn {
    grid-column: 1;
    grid-row: 1;
    flex-basis: auto;
    margin: 0;
}

#cart .productData > .nameColumn,
.checkoutCartItems .productData > .nameColumn {
    grid-column: 2;
    grid-row: 1;
    flex-basis: auto;
    min-width: 0;
    margin: 0;
    align-items: flex-start;
}

#cart .productData > .qtyAndContent,
.checkoutCartItems .productData > .qtyAndContent {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    margin: 0;
    padding-inline-start: 62px;
}

#cart .priceAndRemove,
.checkoutCartItems .priceAndRemove {
    display: contents;
    width: auto;
}

#cart .productData .priceColumn,
.checkoutCartItems .productData .priceColumn {
    grid-column: 3;
    grid-row: 1;
    flex-basis: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    text-align: end;
    white-space: nowrap;
}

#cart .productData .removeColumn,
.checkoutCartItems .productData .removeColumn,
#cart .productData .couponProduct,
.checkoutCartItems .productData .couponProduct {
    grid-column: 4;
    grid-row: 1;
    flex-basis: auto;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#cart h3,
.checkoutCartItems.bl-storefront h3 {
    margin: 0;
    font-size: 0.925rem;
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -0.3px;
    color: var(--sfd-ink);
}

#cart .sfc-desc,
.checkoutCartItems .sfc-desc {
    margin-top: 3px;
    font-size: 0.775rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--sfd-muted);
    white-space: pre-line;
}

#cart .productImage,
.checkoutCartItems .productImage {
    width: 50px;
    height: 50px;
    padding: 6px;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 18px -14px rgba(64, 42, 120, 0.7);
}

#cart .productImage img,
.checkoutCartItems .productImage img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#cart .sfc-icon-tile,
.checkoutCartItems .sfc-icon-tile {
    color: var(--sfd-purple);
}

#cart .sfc-icon-tile .sfc-icn,
.checkoutCartItems .sfc-icon-tile .sfc-icn {
    width: 30px;
    height: 30px;
}

#cart .itemprice,
.checkoutCartItems .itemprice {
    order: -1;
    color: #B3ABC7;
    font-size: 0.71rem;
    font-weight: 700;
    text-decoration: line-through;
    direction: ltr;
    unicode-bidi: isolate;
}

#cart .sfc-off,
.checkoutCartItems .sfc-off {
    font-size: 0.63rem;
    font-weight: 800;
    color: #2FA36C;
    direction: ltr;
    unicode-bidi: isolate;
    margin-top: 1px;
}

#cart .price,
.checkoutCartItems .cartProduct .price {
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.2;
    direction: ltr;
    unicode-bidi: isolate;
    background: var(--sfd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#cart .couponProduct,
.checkoutCartItems .couponProduct {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(101, 53, 201, 0.08);
    color: var(--sfd-purple-deep);
    font-size: 0.72rem;
    font-weight: 800;
}

#cart .remove,
.checkoutCartItems .remove {
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 9px;
    background: #fff;
    color: #C6BFD6;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: color 0.18s, border-color 0.18s, background-color 0.18s, transform 0.18s;
}

#cart .remove .sfc-icn,
.checkoutCartItems .remove .sfc-icn {
    width: 11px;
    height: 11px;
}

#cart .removeColumn .remove:hover,
.checkoutCartItems .removeColumn .remove:hover {
    color: #D93A5C;
    border-color: rgba(217, 58, 92, 0.4);
    background: rgba(217, 58, 92, 0.06);
    transform: rotate(90deg);
}

#cart .cartProduct:hover button,
.checkoutCartItems .cartProduct:hover button {
    opacity: 1;
}

/* Qty, addons, content picker */

#cart label,
.checkoutCartItems.bl-storefront label {
    width: auto;
    text-align: inherit;
}

#cart input,
#cart textarea,
#cart select,
.checkoutCartItems.bl-storefront input,
.checkoutCartItems.bl-storefront textarea,
.checkoutCartItems.bl-storefront select {
    margin: 0;
    width: auto;
    max-width: 100%;
    box-shadow: none;
}

#cart .qtyColumn,
.checkoutCartItems .qtyColumn {
    position: relative;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    margin: 0;
}

#cart .qtyColumn > label,
.checkoutCartItems .qtyColumn > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#cart .sfc-qty-box,
.checkoutCartItems .sfc-qty-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 10px;
    background: #FDFCFE;
    overflow: hidden;
    direction: ltr;
}

#cart .sfc-qty-step,
.checkoutCartItems .sfc-qty-step {
    width: 26px;
    height: 29px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--sfd-purple-deep);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
}

#cart .sfc-qty-step:hover,
.checkoutCartItems .sfc-qty-step:hover {
    background: rgba(101, 53, 201, 0.09);
}

#cart .sfc-qty-step:disabled,
.checkoutCartItems .sfc-qty-step:disabled {
    color: #CFC7E2;
    cursor: not-allowed;
    background: none;
}

#cart .sfc-qty-box input,
.checkoutCartItems .sfc-qty-box input {
    width: 34px;
    height: 29px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-inline: 1.5px solid var(--sfd-line-purple);
    background: none;
    box-shadow: none;
    color: var(--sfd-ink);
    font-weight: 800;
    font-size: 0.8rem;
    text-align: center;
    direction: ltr;
    -moz-appearance: textfield;
}

#cart .sfc-qty-box input::-webkit-outer-spin-button,
#cart .sfc-qty-box input::-webkit-inner-spin-button,
.checkoutCartItems .sfc-qty-box input::-webkit-outer-spin-button,
.checkoutCartItems .sfc-qty-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#cart .sfc-qty-box input:focus,
.checkoutCartItems .sfc-qty-box input:focus {
    outline: 0;
    background: #fff;
}

#cart .productData > .qtyAndContent > .contentColumn,
.checkoutCartItems.cartContent .cartProduct .productData > .qtyAndContent > .contentColumn {
    display: contents;
}

#cart .addContentDiv,
#cart .chooseForMeDiv,
.checkoutCartItems .addContentDiv,
.checkoutCartItems .chooseForMeDiv {
    flex: 0 1 auto;
}

#cart .contentDataDiv,
#cart .clienDomain,
#cart .contentColumn > .contentType,
.checkoutCartItems .contentDataDiv,
.checkoutCartItems .clienDomain,
.checkoutCartItems .contentColumn > .contentType {
    flex: 1 1 100%;
}

#cart .contentColumn .qtyAndContent,
.checkoutCartItems .contentColumn .qtyAndContent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 0;
}

#cart .addContentDiv,
#cart .chooseForMeDiv,
.checkoutCartItems .addContentDiv,
.checkoutCartItems .chooseForMeDiv {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin: 0;
    padding: 6px 10px;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 10px;
    background: #FDFCFE;
    color: var(--sfd-ink-soft);
    font-size: 0.745rem;
    font-weight: 700;
    line-height: 1.5;
}

#cart .addContentDiv:has(input:checked),
.checkoutCartItems .addContentDiv:has(input:checked) {
    border-color: transparent;
    color: var(--sfd-purple-deep);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--sfd-magenta), var(--sfd-orange)) border-box;
}

#cart .chooseForMeDiv,
.checkoutCartItems .chooseForMeDiv {
    color: #C2570E;
    border-color: rgba(255, 122, 24, 0.32);
    background: rgba(255, 122, 24, 0.06);
}

#cart .chooseForMeDiv:has(input:checked),
.checkoutCartItems .chooseForMeDiv:has(input:checked) {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--sfd-orange), var(--sfd-pink)) border-box;
}

#cart .addContentDiv input,
#cart .chooseForMeDiv input,
.checkoutCartItems .addContentDiv input,
.checkoutCartItems .chooseForMeDiv input {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    flex: none;
    accent-color: var(--sfd-purple);
    border: 1.5px solid #D8CDEE;
    border-radius: 5px;
    box-shadow: none;
}

#cart .chooseForMeDiv input,
.checkoutCartItems .chooseForMeDiv input {
    accent-color: var(--sfd-orange);
}

#cart .addContentDiv label,
#cart .chooseForMeDiv label,
.checkoutCartItems .addContentDiv label,
.checkoutCartItems .chooseForMeDiv label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 0;
    cursor: pointer;
}

#cart .contentQtyButton,
.checkoutCartItems .contentQtyButton {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sfd-purple-deep);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: underline;
}

#cart .qtyLabel,
.checkoutCartItems .qtyLabel {
    color: var(--sfd-muted);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

#cart .contentColumn input[type="number"],
.checkoutCartItems .contentColumn input[type="number"] {
    width: 96px;
    height: 32px;
    padding: 0 8px;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 10px;
    background: #fff;
    color: var(--sfd-ink);
    font-weight: 800;
    text-align: center;
    direction: ltr;
}

#cart .saveContetnQty,
.checkoutCartItems .saveContetnQty {
    position: static;
    top: auto;
    left: auto;
    margin: 0;
    color: #2FA36C;
}

#cart .contentDataDiv,
.checkoutCartItems .contentDataDiv {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--sfd-ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

#cart .cartGoogleDocsLink,
.checkoutCartItems .cartGoogleDocsLink {
    color: var(--sfd-purple-deep);
    font-weight: 800;
}

#cart .clienDomain,
#cart .contentType,
.checkoutCartItems .clienDomain,
.checkoutCartItems .contentType,
#cart .businessesNames,
.checkoutCartItems .businessesNames {
    color: var(--sfd-muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#cart .businessesNames div,
.checkoutCartItems .businessesNames div {
    max-width: none;
    font-size: 0.78rem;
}

#cart .contentTypeSelection,
.checkoutCartItems .contentTypeSelection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    overflow: visible;
}

#cart .contentTypeSelection.hide,
.checkoutCartItems.cartContent .cartProduct .contentTypeSelection.hide {
    display: none;
}

#cart .contentTypeDiv,
.checkoutCartItems .contentTypeDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 12px;
    background: #FDFCFE;
    box-shadow: none;
    overflow: visible;
    color: var(--sfd-ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

#cart .contentTypeDiv.selected,
.checkoutCartItems .contentTypeDiv.selected {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--sfd-purple), var(--sfd-magenta) 46%, var(--sfd-orange)) border-box;
    box-shadow: none;
    color: var(--sfd-purple-deep);
}

#cart .contentTypeDiv .inputAndText,
.checkoutCartItems .contentTypeDiv .inputAndText {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#cart .contentTypeDiv .inputAndText > div,
.checkoutCartItems .contentTypeDiv .inputAndText > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

#cart .contentTypeDiv .tootlipDiv,
.checkoutCartItems.cartContent .cartProduct .contentTypeSelection .contentTypeDiv .tootlipDiv {
    position: relative;
    flex: 0 0 auto;
    z-index: 4;
    overflow: visible;
}

#cart .contentTypeDiv .tootlipDiv .tooltip,
.checkoutCartItems.cartContent .cartProduct .contentTypeSelection .contentTypeDiv .tootlipDiv .tooltip {
    position: absolute;
    z-index: 5;
    display: none;
    box-sizing: border-box;
    width: min(220px, 70vw);
    top: calc(100% + 8px);
    right: auto;
    left: auto;
    inset-inline-end: 0;
    inset-inline-start: auto;
}

#cart .contentTypeDiv .tootlipDiv:hover .tooltip,
.checkoutCartItems.cartContent .cartProduct .contentTypeSelection .contentTypeDiv .tootlipDiv:hover .tooltip {
    display: block;
}

#cart .contentTypeDiv input,
.checkoutCartItems .contentTypeDiv input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--sfd-purple);
    box-shadow: none;
}

#cart .contentTypeDiv .tooltipImg,
#cart .homepageLink .tooltipImg,
.checkoutCartItems .contentTypeDiv .tooltipImg,
.checkoutCartItems .homepageLink .tooltipImg {
    width: 16px;
    height: 16px;
    margin: 0;
    filter: none;
}

#cart .imgColumn .explainButton,
.checkoutCartItems .imgColumn .explainButton {
    margin-top: 4px;
}

#cart .imgColumn button,
.checkoutCartItems .imgColumn button {
    padding: 0;
}

#cart .imgColumn p,
.checkoutCartItems .imgColumn p {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--sfd-purple-deep);
}

#cart .addContentOptions,
.checkoutCartItems .addContentOptions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

#cart .contentOption,
.checkoutCartItems .contentOption {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1.5px solid var(--sfd-line-purple);
    border-radius: 12px;
    background: #fff;
    color: var(--sfd-ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: start;
}

#cart .contentOption.selected,
.checkoutCartItems .contentOption.selected {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--sfd-purple), var(--sfd-magenta)) border-box;
    color: var(--sfd-purple-deep);
}

#cart .contentOption input,
.checkoutCartItems .contentOption input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--sfd-purple);
}

#cart .buttonsRow,
.checkoutCartItems .buttonsRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 12px 12px;
}

#cart .buttonsRow button,
.checkoutCartItems .buttonsRow button {
    margin: 0;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 800;
}

/* Suggest packages */

#cart .suggestPackageDiv {
    position: relative;
    display: none;
    align-items: center;
    gap: 12px;
    width: auto;
    margin: 0;
    padding: 18px 15px 13px;
    border: 1.5px solid transparent;
    border-radius: 17px;
    background:
        linear-gradient(#FFFDF9, #FFF9F3) padding-box,
        linear-gradient(120deg, var(--sfd-orange), var(--sfd-pink) 55%, var(--sfd-magenta)) border-box;
    box-shadow: 0 16px 30px -24px rgba(255, 122, 24, 0.9);
    color: var(--sfd-ink-soft);
}

#cart .suggestPackageDiv.show {
    display: flex;
}

#cart .suggestPackageFlag {
    position: absolute;
    top: -10px;
    inset-inline-start: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 3px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sfd-orange), var(--sfd-pink));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

#cart .suggestPackageFlag::after {
    display: none;
}

#cart .suggestPackageFlag .sfc-icn {
    width: 11px;
    height: 11px;
    fill: #fff;
}

#cart .suggestPackageCloseButton {
    position: absolute;
    z-index: 3;
    top: -9px;
    inset-inline-end: -7px;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(255, 122, 24, 0.32);
    border-radius: 50%;
    background: #fff;
    color: #B7A9C4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#cart .suggestPackageCloseButton .sfc-icn {
    width: 10px;
    height: 10px;
}

#cart .suggestPackageCloseButton:hover {
    background: rgba(217, 58, 92, 0.12);
    color: #D93A5C;
}

#cart .sfc-suggest-ic {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--sfd-orange), var(--sfd-pink));
    box-shadow: 0 14px 24px -12px rgba(229, 71, 154, 0.85);
}

#cart .sfc-suggest-ic .sfc-icn {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

#cart .sugeestPackageText {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 0.795rem;
    font-weight: 600;
    line-height: 1.65;
    text-align: start;
}

#cart .sugeestPackageText > div {
    flex: 1;
    min-width: 160px;
}

#cart .sugeestPackageText .boldText {
    font-weight: 800;
    color: #C2570E;
}

#cart .sugeestPackageText a {
    text-decoration: none;
}

#cart .sugeestPackageText .secondaryButton {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 9px 16px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--sfd-orange), var(--sfd-pink)) border-box;
    color: #C2570E;
    font-size: 0.79rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 20px -14px rgba(255, 122, 24, 0.8);
}

/* Drawer total */

#cart .checkoutError {
    display: none;
    margin: 0 0 10px;
    padding: 10px 13px;
    border-radius: 12px;
    background: rgba(217, 58, 92, 0.08);
    border: 1px solid rgba(217, 58, 92, 0.32);
    color: #D93A5C;
    font-size: 0.79rem;
    font-weight: 700;
    text-align: start;
}

#cart .checkoutError.show {
    display: block;
}

#cart .cartCheckoutRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 22px;
    flex-wrap: wrap;
    font-size: 0.79rem;
}

#cart .sfc-checkout-lines {
    flex: 0 1 auto;
    min-width: 0;
    align-self: flex-start;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    gap: 7px 18px;
    padding-top: 3px;
}

#cart .sfc-line-label {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--sfd-muted);
    white-space: nowrap;
}

#cart .sfc-line-items,
#cart .sfc-line-list,
#cart .sfc-line-save-value {
    font-size: 0.79rem;
    font-weight: 800;
    color: var(--sfd-ink-soft);
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    text-align: start;
}

#cart .sfc-line-save {
    color: #2FA36C;
}

#cart .sfc-checkout-total {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    min-width: 220px;
}

#cart .sfc-checkout-total .checkoutSumLine {
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--sfd-line-purple);
}

#cart .sfc-pay-note {
    margin-top: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sfd-muted);
    text-align: center;
}

#cart .sfc-pay-note .sfc-icn {
    width: 13px;
    height: 13px;
    color: #2FA36C;
}

#cart .checkoutSumLine {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 11px;
    margin: 0;
    color: var(--sfd-muted);
    font-size: 0.79rem;
    font-weight: 700;
}

#cart .checkoutSumLine span {
    font-size: 1.54rem;
    font-weight: 800;
    letter-spacing: -0.9px;
    line-height: 1.1;
    direction: ltr;
    unicode-bidi: isolate;
    background: var(--sfd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#cart #cartCheckoutButton {
    margin: 0;
    border: 0;
    border-radius: 15px;
    padding: 15px 32px;
    background-image: var(--sfd-grad-accent);
    background-size: 210% 100%;
    color: #fff;
    box-shadow: 0 16px 32px -14px rgba(182, 42, 230, 0.66), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

#cart #cartCheckoutButton:disabled,
#cart #cartCheckoutButton[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: transparent;
    background-image: var(--sfd-grad-accent);
    transform: none;
}

/* Checkout page rows only. The checkout header, form, and payment buttons stay on cart.css. */

.checkoutContainer .cartAndForm .checkoutCartItems.bl-storefront {
    border: 1.5px solid var(--sfd-line-purple);
    border-top: 1.5px solid var(--sfd-line-purple);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px -24px rgba(64, 42, 120, 0.45);
}

.checkoutCartItems.cartContent {
    max-height: none;
    overflow: visible;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 16px;
}

.checkoutContainer .cartAndForm .checkoutCartItems.bl-storefront .cartProduct:last-child {
    border-bottom: 1.5px solid var(--sfd-line-purple);
}

.checkoutContainer .cartAndForm .checkoutCartItems.bl-storefront .checkoutSumLine {
    width: 100%;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed var(--sfd-line-purple);
    color: var(--sfd-muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: start;
}

.checkoutCartItems.cartContent .cartProduct .productImage {
    width: 50px;
    height: 50px;
}

.checkoutCartItems.cartContent .cartProduct .productImage img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

.checkoutCartItems.cartContent .cartProduct .removeColumn .remove {
    opacity: 1;
}

.checkoutCartItems.cartContent .cartProduct .contentTypeSelection {
    width: 100%;
}

.checkoutContainer .cartAndForm .checkoutCartItems.bl-storefront .checkoutSumLine span {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    direction: ltr;
    unicode-bidi: isolate;
    background: var(--sfd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 560px) {
    #cart.bl-storefront {
        width: 100vw;
    }

    #cart .cartTopHeader {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 13px 15px 12px;
    }

    #cart .cartTopHeader .title {
        grid-column: 1;
        grid-row: 1;
        font-size: 1.06rem;
    }

    #cart .sfc-title-ic {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    #cart #closeCart {
        grid-column: 2;
        grid-row: 1;
    }

    #cart .specialBanner {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
    }

    #cart .cartOptions.column {
        grid-row: 3;
    }

    #cart .addContentToAllWebsites.show {
        width: 100%;
        justify-content: center;
    }

    #cart .cartOptions.column > div {
        width: 100%;
        margin-inline-start: 0;
    }

    #cart .exportCartButton {
        flex: 1;
        justify-content: center;
    }

    #cart .cartContent {
        padding: 13px 15px 6px;
    }

    #cart .cartSuggestPackages:has(.suggestPackageDiv.show) {
        padding: 12px 15px 10px;
    }

    #cart .cartCheckout {
        padding: 13px 15px calc(13px + env(safe-area-inset-bottom));
    }

    #cart .cartProduct .productData,
    .checkoutCartItems.cartContent .cartProduct .productData {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    #cart .productImage,
    .checkoutCartItems .productImage,
    .checkoutCartItems.cartContent .cartProduct .productImage {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    #cart .productData > .nameColumn,
    .checkoutCartItems .productData > .nameColumn {
        grid-column: 2;
        padding-inline-end: 36px;
    }

    #cart .productData .removeColumn,
    .checkoutCartItems .productData .removeColumn,
    #cart .productData .couponProduct,
    .checkoutCartItems .productData .couponProduct {
        grid-column: 3;
        grid-row: 1;
    }

    #cart .productData > .qtyAndContent,
    .checkoutCartItems .productData > .qtyAndContent {
        grid-row: 2;
        margin-top: 7px;
        padding-inline-start: 0;
    }

    #cart .productData .priceColumn,
    .checkoutCartItems .productData .priceColumn {
        grid-column: 1 / -1;
        grid-row: 3;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 7px;
        padding-top: 8px;
        border-top: 1px dashed var(--sfd-line-purple);
        white-space: normal;
    }

    #cart .cartCheckoutRow {
        flex-direction: column;
        align-items: stretch;
    }

    #cart #cartCheckoutButton {
        width: 100%;
    }

    #cart .sugeestPackageText {
        flex-direction: column;
        align-items: stretch;
    }

    #cart .sugeestPackageText .secondaryButton {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cart.bl-storefront,
    #cart .cartProduct,
    #cart #closeCart,
    #cart .remove,
    .checkoutCartItems .cartProduct,
    .checkoutCartItems .remove {
        transition: none;
    }
}
