.cart-amount>li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 10px;
}

.cart-amount>li em {
    font-style: normal;
}

.cart-amount>li span {
    font-weight: bold;
}

.cart-amount__flex-end>li {
    justify-content: flex-end;
}

.cart-amount__flex-end>li span {
    margin-inline-start: 12px;
}

@media (max-width: 959px) {
    .cart-amount__flex-end>li {
        justify-content: space-between;
    }

    .cart-amount__flex-end>li span {
        margin-inline-start: 0;
    }
}

.cart-amount .cart-amount__discount-label {
    display: flex;
    gap: 4px;
    align-items: center;
    color: rgb(var(--color-light-text));
}

.cart-amount .cart-amount__discount-label svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.cart-amount .cart-amount__discount span {
    color: rgb(var(--color-discount));
    white-space: nowrap;
}

.cart-coupon--disabled {
    pointer-events: none;
}

.cart-coupon__form {
    display: flex;
    gap: 6px;
}

.cart-coupon__form .field {
    margin-block-end: 0;
}

.cart-coupon__error {
    margin-block: 8px 0;
}

.cart-coupon__dividing-line {
    height: 0;
    margin-block-start: -7px;
    overflow: hidden;
    border-block-start: 1px solid rgb(var(--color-entry-line));
}

.cart-coupon__list {
    display: flex;
    flex-wrap: wrap;
    margin-block-end: 15px;
}

.cart-coupon__list-warning {
    padding-block-start: 8px;
    margin-block-end: 0;
    color: #f04949;
}

.cart-coupon__list-item {
    display: flex;
    align-items: center;
    padding-block: 5px;
    padding-inline: 8px;
    margin-block-start: 8px;
    margin-inline-end: 6px;
    background-color: rgba(var(--color-text), 0.1);
    border-radius: 4px;
}

.cart-coupon__list theme-popover {
    align-items: center;
}

.cart-coupon__list-tag {
    display: flex;
    align-items: center;
    margin-inline-end: 6px;
    opacity: 0.3;
}

.cart-coupon__list-tag svg {
    width: 20px;
    height: 20px;
}

.cart-coupon__list-tag--wraning {
    opacity: 1;
}

.cart-coupon__list-close {
    display: flex;
    align-items: center;
    margin-inline-start: 15px;
    cursor: pointer;
}

.cart-empty {
    text-align: center;
}

.cart-empty__body {
    padding-block: 80px;
}

@media (max-width: 959px) {
    .cart-empty__body {
        padding-block: 130px;
    }
}

.cart-fixed-checkout {
    position: fixed;
    inset-block-end: 0;
    inset-inline-start: 0;
    z-index: var(--z-index-fixed);
    display: none;
    width: 100%;
    background-color: rgb(var(--color-background));
    opacity: 0;
    transition:
        transform 0.3s ease-out,
        opacity 0.3s ease-out;
    transform: translateY(100%);
}

@media (max-width: 959px) {
    .cart-fixed-checkout {
        display: block;
    }
}

.cart-fixed-checkout__container {
    box-shadow: 0 -4px 20px 0 rgba(var(--color-text), 0.05);
}

.cart-fixed-checkout__dropdown {
    text-align: center;
}

.cart-fixed-checkout__dropdown span {
    cursor: pointer;
}

.cart-fixed-checkout .cart-fixed-checkout__inner {
    max-height: 500px;
    overflow: hidden;
    opacity: 1;
    transition:
        max-height 0.2s ease-out,
        opacity 0.2s ease-out;
}

.cart-fixed-checkout__sub-info {
    padding-block: 0 12px;
    padding-inline: 12px;
}

.cart-fixed-checkout .cart-taxes {
    padding-block: 6px;
}

.cart-fixed-checkout__main-info {
    padding: 12px;
    border-block-start: 1px solid #ccc;
}

.cart-fixed-checkout__total {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.cart-fixed-checkout__total-amount {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    column-gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.cart-fixed-checkout__total-saved {
    color: rgb(var(--color-discount));
}

.cart-fixed-checkout__arrow svg {
    transition: transform 0.2s ease-out;
    transform: rotate(180deg);
}

.cart-fixed-checkout__buttons {
    margin-block-start: 10px;
    text-align: center;
}

.cart-fixed-checkout--collapsed .cart-fixed-checkout__inner {
    max-height: 0;
    opacity: 0;
}

.cart-fixed-checkout--collapsed .cart-fixed-checkout__arrow svg {
    transform: rotate(0);
}

.cart-fixed-checkout--visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-item__amount-operator {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item__amount .cart-item__volume-pricing {
    margin-block-start: 10px;
}

.cart-item__remove {
    cursor: pointer;
}

.cart-item__fail {
    display: flex;
    align-items: center;
}

.cart-item__fail>* {
    margin-block-start: 20px;
}

.cart-item__fail-tip {
    order: 1;
    margin-inline-start: 8px;
    color: rgb(var(--color-error-message));
}

.cart-item__fail-tip:empty,
.cart-item__fail-tip:empty+svg {
    display: none;
}

.cart-item__total {
    position: relative;
}

.cart-item__total-loading {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    display: none;
}

.cart-item__total-loading.loading {
    display: flex;
    animation: animation-circling linear 1s infinite;
}

.cart-item__total-loading.loading~* {
    visibility: hidden;
}

.cart-item__total-final {
    display: inline-block;
    color: rgb(var(--color-text));
}

.cart-item__total-original {
    display: inline-block;
    color: rgb(var(--color-light-text));
    text-decoration: line-through;
}

.cart-item__volume-pricing theme-popover-content {
    z-index: 5;
    width: 245px;
    max-height: 240px;
    padding: 10px 0;
    overflow-y: scroll;
    background-color: rgb(var(--color-background));
    border: 1px solid #ddd;
}

.cart-item__volume-pricing-title {
    display: flex;
    align-items: center;
}

.cart-item__volume-pricing-title>span {
    margin-inline-start: 8px;
}

.cart-item__volume-pricing-rules {
    padding-block: 0 4px;
    padding-inline: 20px;
}

.cart-item__volume-pricing-list li {
    display: flex;
    justify-content: space-between;
    padding-block: 8px;
    padding-inline: 20px;
}

.cart-item__volume-pricing-list li:nth-child(odd) {
    background: rgba(var(--color-text), 0.03);
}

.cart-item__product {
    display: flex;
    column-gap: 30px;
    align-items: flex-start;
}

.cart-item__product-info {
    word-break: break-all;
}

.cart-item__picture {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    width: 140px;
}

@media (max-width: 959px) {
    .cart-item__picture {
        width: 80px;
    }
}

.cart-item__picture a {
    display: block;
    width: 100%;
}

.cart-item__picture img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.cart-item__picture .placeholder {
    flex-grow: 1;
    background-color: rgb(var(--color-image-background));
}

.cart-item__total {
    margin-block-start: 8px;
}

.cart-item__option {
    margin-block-start: 4px;
}

.cart-item__property {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-block-start: 4px;
}

.cart-item__property-name {
    margin-inline-end: 3px;
}

.cart-item__property-text {
    display: block;
    max-width: 100%;
    word-break: break-all;
}

.cart-item__property-images {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.cart-item__property-link {
    display: block;
}

.cart-item__property-image {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.cart-item__discount {
    margin-block: 4px;
    color: rgb(var(--color-discount));
}

.cart-item__discount>li {
    display: flex;
    align-items: center;
}

.cart-item__discount>li svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-inline-end: 4px;
    color: rgb(var(--color-tag-background));
}

.cart-item__amount {
    margin-block-start: 8px;
}

.cart-drawer__body {
    display: flex;
    flex-direction: column;
    width: 440px;
    color: rgb(var(--color-text));
}

@media (max-width: 959px) {
    .cart-drawer__body {
        width: 90%;
    }
}

.cart-drawer__header {
    position: relative;
    padding: 20px;
}

.cart-drawer__header::after {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 1px;
    content: "";
    background-color: rgb(var(--color-entry-line));
}

.cart-drawer__close {
    position: absolute;
    inset-block-start: 22px;
    inset-inline-end: 16px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: 0;
}

.cart-drawer__close svg {
    width: 12px;
    height: 12px;
}

.cart-drawer__loading {
    position: sticky;
    inset: 0;
    z-index: var(--z-index-popover);
    display: none;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgb(var(--color-background));
}

.cart-drawer__loading-inn {
    padding-block-start: 120px;
}

.cart-drawer__loading-inn .loading--rotator {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.cart-drawer__loading-inn .loading--rotator svg {
    width: 100%;
    height: 100%;
}

.cart-drawer__loading-inn p {
    margin-block-start: 12px;
}

.cart-drawer .cart-item {
    padding-block: 20px;
}

.cart-drawer .cart-item__disabled {
    pointer-events: none;
}

.cart-drawer__payment {
    position: relative;
    padding-block-start: 20px;
}

.cart-drawer__payment::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: -20px;
    width: calc(100% + 40px);
    height: 1px;
    content: "";
    background-color: rgb(var(--color-entry-line));
}

.cart-drawer__payment .cart-amount {
    margin-block-start: 15px;
}

.cart-drawer__inner {
    position: relative;
    flex: 1;
    padding-inline: 20px;
    overflow-y: scroll;
    background-color: rgb(var(--color-background));
}

.cart-drawer__inner--loading {
    overflow: hidden;
}

.cart-drawer__inner--loading .cart-drawer__payment::before {
    inset-inline-start: 0;
    width: 100%;
}

.cart-drawer__inner--loading .cart-coupon__form {
    overflow: hidden;
}

.cart-drawer__inner--loading .cart-drawer__loading {
    display: flex;
}

.cart-drawer .cart-fixed-checkout {
    position: static;
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Framilly conversion cart drawer */
.cart-drawer__body {
    width: min(580px, 100vw);
    max-width: 100vw;
    height: 100vh;
    background: rgb(var(--color-background));
}

.cart-drawer__title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer__count {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    background: #111;
    border-radius: 999px;
}

.cart-drawer__header {
    flex: 0 0 auto;
    padding: 24px 28px 20px;
}

.cart-drawer__header .title4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.cart-drawer__close {
    top: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

.cart-drawer__inner {
    padding: 0 28px;
    overscroll-behavior: contain;
}

.cart-drawer .cart-item {
    padding: 22px 0;
}

.cart-drawer .cart-item__product {
    gap: 18px;
}

.cart-drawer .cart-item__picture {
    width: 96px;
    min-width: 96px;
    padding: 8px;
    background: #f6f6f6;
    border-radius: 8px;
}

.cart-drawer .cart-item__product-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer .cart-item__amount-operator {
    gap: 12px;
}

.cart-drawer__recommendations {
    padding: 20px 0 24px;
    border-top: 1px solid rgb(var(--color-entry-line));
}

.cart-drawer__recommendations[hidden] {
    display: none !important;
}

.cart-drawer__recommendations-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cart-drawer__recommendations-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.cart-drawer__recommendations-nav {
    display: flex;
    gap: 8px;
}

.cart-drawer__recommendations-nav button {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #111;
    background: #f2f2f2;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.cart-drawer__recommendations-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.cart-drawer__recommendations-track::-webkit-scrollbar {
    display: none;
}

.cart-drawer__rec-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 8px;
    scroll-snap-align: start;
}

.cart-drawer__rec-image {
    width: 82px;
    height: 82px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}

.cart-drawer__rec-info {
    min-width: 0;
}

.cart-drawer__rec-title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-drawer__rec-bottom {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer__rec-price {
    color: #f04f3d;
    font-size: 14px;
    font-weight: 600;
}

.cart-drawer__rec-add {
    min-width: 64px;
    min-height: 34px;
    padding: 7px 12px;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    background: #e7e7e7;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.cart-drawer__rec-add:disabled {
    cursor: wait;
    opacity: .55;
}

.cart-drawer__payment {
    padding-bottom: 20px;
}

.cart-drawer .cart-fixed-checkout__container {
    padding: 8px 20px max(14px, env(safe-area-inset-bottom));
    background: rgb(var(--color-background));
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .08);
}

.cart-drawer .cart-fixed-checkout__main-info {
    padding: 12px 8px 0;
}

.cart-drawer .cart-checkout,
.cart-drawer .cart-fixed-checkout__buttons .button {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
}

@media (max-width: 767px) {
    .cart-drawer__body {
        width: 100vw;
    }

    .cart-drawer__header {
        padding: 18px 20px 16px;
    }

    .cart-drawer__header .title4 {
        font-size: 22px;
    }

    .cart-drawer__close {
        top: 13px;
        right: 12px;
        min-width: 44px;
        min-height: 44px;
    }

    .cart-drawer__inner {
        padding: 0 20px;
    }

    .cart-drawer .cart-item__product {
        gap: 14px;
    }

    .cart-drawer .cart-item__picture {
        width: 84px;
        min-width: 84px;
    }

    .cart-drawer__recommendations-track {
        grid-auto-columns: minmax(220px, 82vw);
    }

    .cart-drawer__rec-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-drawer__rec-image {
        width: 72px;
        height: 72px;
    }

    .cart-drawer .cart-fixed-checkout__container {
        padding-inline: 12px;
    }
}

.cart-drawer__recommendations-track {
    grid-auto-columns: minmax(280px, 1fr);
}

.cart-drawer__rec-card {
    grid-template-columns: 76px minmax(0, 1fr);
}

.cart-drawer__rec-image {
    width: 76px;
    height: 76px;
}

.cart-drawer__rec-price {
    font-size: 12px;
}

.cart-drawer__rec-add {
    min-width: 56px;
    padding-inline: 9px;
}

@media (max-width: 767px) {
    .cart-drawer__recommendations-track {
        grid-auto-columns: minmax(270px, 88vw);
    }
}

/* Framilly reference cart drawer */
.cart-drawer__body {
    width: min(582px, 100vw);
    height: 100dvh;
    background: #fff;
    border-radius: 8px 0 0 8px;
    overflow: hidden
}

.cart-drawer__header {
    height: 86px;
    padding: 0 36px;
    border: 0;
    display: flex;
    align-items: center
}

.cart-drawer__header::after {
    display: none
}

.cart-drawer__title-wrap {
    gap: 9px;
    align-items: center
}

.cart-drawer__title-wrap::after {
    content: 'Recently viewed';
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    color: #ddd
}

.cart-drawer__header .title4 {
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    color: #111
}

.cart-drawer__count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    font-size: 12px;
    background: #000;
    color: #fff
}

.cart-drawer__close {
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px
}

.cart-drawer__inner {
    padding: 0 36px;
    scrollbar-width: thin;
    background: #fff
}

.cart-drawer__items .cart-item {
    position: relative;
    min-height: 140px;
    padding: 8px 0 24px;
    border: 0
}

.cart-drawer .cart-item__product {
    align-items: flex-start;
    gap: 18px
}

.cart-drawer .cart-item__picture {
    width: 87px;
    min-width: 87px;
    height: 108px;
    padding: 9px;
    background: #f5f5f5;
    border-radius: 5px
}

.cart-drawer .cart-item__picture img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.cart-drawer .cart-item__product-infos {
    padding-right: 76px;
    min-width: 0
}

.cart-drawer .cart-item__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #111
}

.cart-drawer .cart-item__total {
    margin-top: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #555
}

.cart-drawer .cart-item__total b {
    font-weight: 400
}

.cart-drawer .cart-item__amount {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0
}

.cart-drawer .cart-item__amount-operator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 52px
}

.cart-drawer .cart-item__amount-operator .input-number {
    width: 44px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden
}

.cart-drawer .cart-item__amount-operator .input-number button {
    display: none !important
}

.cart-drawer .cart-item__amount-operator input {
    width: 42px !important;
    height: 34px !important;
    padding: 0 !important;
    text-align: center;
    border: 0;
    background: transparent
}

.cart-drawer .cart-item__remove {
    font-size: 0;
    text-decoration: underline;
    color: #555;
    white-space: nowrap
}

.cart-drawer .cart-item__remove svg {
    display: none
}

.cart-drawer .cart-item__remove::after {
    content: 'Remove';
    font-size: 12px
}

.cart-drawer__recommendations {
    margin-top: 0;
    padding: 18px 0 40px;
    border: 0
}

.cart-drawer__recommendations-head {
    margin-bottom: 16px
}

.cart-drawer__recommendations-head h3 {
    font-size: 14px;
    font-weight: 400;
    color: #222
}

.cart-drawer__recommendations-nav button {
    width: 22px;
    height: 22px;
    font-size: 16px;
    background: #f2f2f2
}

.cart-drawer__recommendations-track {
    grid-auto-columns: calc(68% - 8px);
    gap: 10px
}

.cart-drawer__rec-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 118px;
    padding: 10px 12px;
    background: #f6f7f7;
    border-radius: 4px
}

.cart-drawer__rec-image {
    width: 76px;
    height: 96px;
    background: #fff
}

.cart-drawer__rec-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111
}

.cart-drawer__rec-price {
    font-size: 14px;
    color: #ff4a36
}

.cart-drawer__rec-add {
    min-width: 62px;
    min-height: 36px;
    color: #111;
    background: #e2e4e4;
    font-weight: 700;
    border-radius: 999px
}

.cart-drawer__payment {
    padding: 0;
    border: 0
}

.cart-drawer__payment::before {
    display: none
}

.cart-drawer__protection-slot {
    display: none !important
}

.cart-drawer .cart-fixed-checkout__container {
    padding: 24px 36px max(22px, env(safe-area-inset-bottom));
    border-top: 1px solid #ddd;
    background: #fff;
    box-shadow: none
}

.cart-drawer .cart-fixed-checkout__main-info {
    padding: 0
}

.cart-drawer .cart-fixed-checkout__main-info>*:first-child {
    margin-top: 0
}

.cart-drawer .cart-amount {
    font-size: 14px;
    color: #666
}

.cart-drawer .cart-amount__row:last-child {
    font-size: 22px;
    font-weight: 700;
    color: #111
}

.cart-drawer .cart-fixed-checkout__buttons {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.cart-drawer .cart-fixed-checkout__buttons::before {
    content: 'Shipping Protection for Loss, Damage & Theft                         $12.25';
    display: block;
    font-size: 14px;
    line-height: 36px;
    color: #333;
    white-space: pre;
    border: 0
}

.cart-drawer .cart-fixed-checkout__buttons::after {
    content: 'or Checkout without protection';
    display: grid;
    place-items: center;
    min-height: 48px;
    color: #111;
    background: #fff;
    border: 1px solid #111;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700
}

.cart-drawer .cart-checkout,
.cart-drawer .cart-fixed-checkout__buttons .button {
    order: 1;
    min-height: 56px;
    color: #fff !important;
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700
}

.cart-drawer .cart-fixed-checkout__buttons::after {
    order: 2
}

@media(max-width:767px) {
    .cart-drawer__body {
        border-radius: 0
    }

    .cart-drawer__header {
        height: 72px;
        padding: 0 20px
    }

    .cart-drawer__title-wrap::after {
        font-size: 16px
    }

    .cart-drawer__inner {
        padding: 0 20px
    }

    .cart-drawer .cart-item__product-infos {
        padding-right: 58px
    }

    .cart-drawer .cart-item__picture {
        width: 78px;
        min-width: 78px;
        height: 96px
    }

    .cart-drawer__recommendations-track {
        grid-auto-columns: 82%
    }

    .cart-drawer .cart-fixed-checkout__container {
        padding: 18px 16px max(16px, env(safe-area-inset-bottom))
    }

    .cart-drawer .cart-fixed-checkout__buttons::before {
        font-size: 12px;
        white-space: normal;
        line-height: 1.4
    }
}

/* Fixed checkout is rendered outside the details element */
.cart-fixed-checkout {
    flex: 0 0 auto;
    background: #fff;
    z-index: 2
}

.cart-fixed-checkout__container {
    padding: 22px 36px max(20px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #ddd !important;
    background: #fff !important;
    box-shadow: none !important
}

.cart-fixed-checkout__buttons {
    margin-top: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important
}

.cart-fixed-checkout__buttons::before {
    content: 'Shipping Protection for Loss, Damage & Theft                                      $12.25';
    display: block;
    font-size: 14px;
    line-height: 30px;
    color: #333;
    white-space: pre
}

.cart-fixed-checkout__buttons::after {
    content: 'or Checkout without protection';
    display: grid;
    place-items: center;
    min-height: 46px;
    color: #111;
    background: #fff;
    border: 1px solid #111;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    order: 2
}

.cart-fixed-checkout__buttons .button {
    order: 1;
    min-height: 56px !important;
    color: #fff !important;
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 700 !important
}

@media(max-width:767px) {
    .cart-fixed-checkout__container {
        padding: 16px !important
    }

    .cart-fixed-checkout__buttons::before {
        font-size: 12px;
        white-space: normal;
        line-height: 1.4
    }

    .cart-fixed-checkout__buttons::after {
        min-height: 44px
    }
}

.cart-checkout button[name="checkout"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: none !important;
    outline: 0 !important
}

.fr-checkout-lock {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    flex: 0 0 auto
}

.fr-checkout-lock::before {
    content: '';
    position: absolute;
    left: 2px;
    top: -7px;
    width: 6px;
    height: 7px;
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0
}

/* Framilly: remove checkout button border ring */
.cart-checkout button[name="checkout"],
.cart-checkout button[name="checkout"]:hover,
.cart-checkout button[name="checkout"]:focus,
.cart-checkout button[name="checkout"]:focus-visible,
.cart-checkout button[name="checkout"]:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.cart-checkout button[name="checkout"]::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Framilly: Apolosign cart drawer fidelity pass 2026-10-15 */
@media (min-width: 768px) {
    .cart-drawer__body {
        width: min(680px, 100vw) !important;
        border-radius: 0 !important;
    }
}

.cart-drawer__body {
    height: 100dvh !important;
    overflow: hidden !important;
    background: #fff !important;
}

.cart-drawer__header {
    box-sizing: border-box !important;
    height: 106.6px !important;
    min-height: 106.6px !important;
    padding: 48px 56px 32px !important;
    align-items: flex-start !important;
    border: 0 !important;
}

.cart-drawer__title-wrap {
    align-items: center !important;
    gap: 10px !important;
}

.cart-drawer__header .title4 {
    margin: 0 !important;
    font-size: 19px !important;
    line-height: 26.6px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

.cart-drawer__count {
    display: grid !important;
    place-items: center !important;
    min-width: 24px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 13px !important;
    font-weight: 700 !important;
    background: #000 !important;
    color: #fff !important;
}

.cart-drawer__title-wrap::after {
    content: 'Recently viewed' !important;
    margin-left: 0 !important;
    color: #e0e0e0 !important;
    font-size: 16px !important;
    line-height: 22.4px !important;
    font-weight: 600 !important;
}

.cart-drawer__close {
    top: 48px !important;
    right: 56px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
}

.cart-drawer__close svg {
    width: 24px !important;
    height: 24px !important;
}

.cart-drawer__inner {
    padding: 0 56px !important;
    background: #fff !important;
    scrollbar-width: thin !important;
}

.cart-drawer__items .cart-item {
    position: relative !important;
    box-sizing: border-box !important;
    min-height: 127.6px !important;
    padding: 0 !important;
    border: 0 !important;
}

.cart-drawer .cart-item__product {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
}

.cart-drawer .cart-item__picture {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 120px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: #f5f5f5 !important;
}

.cart-drawer .cart-item__picture img {
    width: 96px !important;
    height: 120px !important;
    object-fit: contain !important;
}

.cart-drawer .cart-item__product-infos {
    position: static !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 69px 0 0 !important;
}

.cart-drawer .cart-item__product-infos-text {
    display: grid !important;
    gap: 4px !important;
}

.cart-drawer .cart-item__title,
.cart-drawer .cart-item__title a {
    color: #111 !important;
    font-size: 17px !important;
    line-height: 27.2px !important;
    font-weight: 700 !important;
}

.cart-drawer .cart-item__total {
    margin: 0 !important;
    color: #555 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
}

.cart-drawer .cart-item__total b {
    font-weight: 400 !important;
}

.cart-drawer .cart-item__options {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 24px !important;
}

.cart-drawer .cart-item__product-infos-text::after {
    content: 'Add Accident Protection From $19.99';
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 3px 8px;
    color: #555;
    border: 1px solid #555;
    border-radius: 7px;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
}

.cart-drawer .cart-item__amount {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
}

.cart-drawer .cart-item__amount-operator {
    height: 127.6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
}

.cart-drawer .cart-item__amount-operator theme-input-number {
    width: 48px !important;
    height: 39px !important;
    border: 1px solid rgba(0, 0, 0, .12) !important;
    border-radius: 8px !important;
}

.cart-drawer .cart-item__amount-operator theme-input-number button {
    display: none !important;
}

.cart-drawer .cart-item__amount-operator input {
    width: 46px !important;
    height: 37px !important;
    padding: 8px 0 !important;
    text-align: center !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
}

.cart-drawer .cart-item__remove {
    color: #555 !important;
    font-size: 0 !important;
    line-height: 22px !important;
    text-decoration: underline !important;
    white-space: nowrap !important;
}

.cart-drawer .cart-item__remove svg {
    display: none !important;
}

.cart-drawer .cart-item__remove::after {
    content: 'Remove';
    font-size: 13px !important;
}

.cart-drawer__recommendations {
    display: block !important;
    box-sizing: border-box !important;
    margin: 32px 0 0 !important;
    padding: 0 0 32px !important;
    border: 0 !important;
}

.cart-drawer__recommendations-head {
    height: 24px !important;
    margin: 0 0 16px !important;
}

.cart-drawer__recommendations-head h3 {
    margin: 0 !important;
    color: #222 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
}

.cart-drawer__recommendations-nav {
    gap: 8px !important;
}

.cart-drawer__recommendations-nav button {
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .1) !important;
    color: #222 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.cart-drawer__recommendations-track {
    display: flex !important;
    gap: 8px !important;
    width: calc(100% + 56px) !important;
    margin: 0 -56px 0 0 !important;
    padding: 0 56px 0 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
}

.fr-cart-rec {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 0 0 390px !important;
    width: 390px !important;
    min-width: 390px !important;
    height: 130px !important;
    padding: 16px !important;
    border-radius: 4px !important;
    background: rgb(243, 246, 245) !important;
    overflow: hidden !important;
}

.fr-cart-rec>a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 98px !important;
    background: transparent !important;
}

.fr-cart-rec img {
    display: block !important;
    width: 70px !important;
    height: 98px !important;
    object-fit: contain !important;
    background: transparent !important;
    border-radius: 4px !important;
}

.fr-cart-rec__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 16px !important;
    row-gap: 2px !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

.fr-cart-rec__title {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: 178px !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    -webkit-line-clamp: 2 !important;
}

.fr-cart-rec__bottom {
    display: contents !important;
}

.fr-cart-rec__bottom>span {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.fr-cart-rec__price {
    color: #ff4935 !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 400 !important;
}

.fr-cart-rec__compare {
    margin: 0 !important;
    color: #666 !important;
    font-size: 13px !important;
    line-height: 22px !important;
}

.fr-cart-rec__add {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    min-width: 79px !important;
    height: 38px !important;
    padding: 8px 20px !important;
    border: 0 !important;
    border-radius: 60px !important;
    background: rgba(0, 0, 0, .1) !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
}

.cart-drawer__payment {
    display: none !important;
}

.cart-fixed-checkout {
    flex: 0 0 auto !important;
    z-index: 3 !important;
    background: #fff !important;
}

.cart-fixed-checkout__container {
    box-sizing: border-box !important;
    padding: 24px 56px 56px !important;
    border-top: 1px solid #ddd !important;
    background: #fff !important;
    box-shadow: none !important;
}

.cart-fixed-checkout__main-info {
    padding: 0 !important;
}

.cart-fixed-checkout__total {
    min-height: 28px !important;
    align-items: center !important;
}

.cart-fixed-checkout__total-text,
.cart-fixed-checkout__total-price .body2 {
    color: #111 !important;
    font-size: 21px !important;
    line-height: 28px !important;
    font-weight: 700 !important;
}

.cart-fixed-checkout .cart-taxes {
    margin-top: 4px !important;
    color: #666 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    text-align: left !important;
}

.fr-cart-protection-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-top: 24px !important;
    min-height: 28px !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 24px !important;
}

.fr-cart-protection-row strong {
    color: #666 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.fr-cart-protection-row i {
    display: inline-grid !important;
    place-items: center !important;
    width: 12px !important;
    height: 12px !important;
    margin-left: 3px !important;
    border-radius: 50% !important;
    background: #bbb !important;
    color: #fff !important;
    font-size: 8px !important;
    font-style: normal !important;
    vertical-align: 1px !important;
}

.cart-fixed-checkout__buttons {
    margin-top: 24px !important;
    display: block !important;
}

.cart-fixed-checkout__buttons::before,
.cart-fixed-checkout__buttons::after {
    content: none !important;
    display: none !important;
}

.cart-checkout form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.cart-checkout button[name='checkout'] {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 17px 40px !important;
    border: 0 !important;
    border-radius: 60px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 27px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.cart-checkout button.fr-checkout-without {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 16px 0 !important;
    border: 1px solid #111 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 17px !important;
    line-height: 20px !important;
    font-weight: 700 !important;
}

.fr-checkout-lock {
    width: 14px !important;
    height: 11px !important;
    border-width: 1.5px !important;
}

@media (max-width: 767px) {
    .cart-drawer__body {
        width: 100vw !important;
    }

    .cart-drawer__header {
        height: 84px !important;
        min-height: 84px !important;
        padding: 30px 24px 24px !important;
    }

    .cart-drawer__close {
        top: 30px !important;
        right: 24px !important;
    }

    .cart-drawer__inner {
        padding: 0 24px !important;
    }

    .cart-drawer .cart-item__picture {
        flex-basis: 80px !important;
        width: 80px !important;
        min-width: 80px !important;
        height: 100px !important;
    }

    .cart-drawer .cart-item__picture img {
        width: 80px !important;
        height: 100px !important;
    }

    .cart-drawer .cart-item__product {
        gap: 16px !important;
    }

    .cart-drawer .cart-item__product-infos {
        padding-right: 54px !important;
    }

    .cart-drawer .cart-item__title,
    .cart-drawer .cart-item__title a {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    .cart-drawer .cart-item__product-infos-text::after {
        font-size: 10px;
        white-space: normal;
    }

    .cart-drawer__recommendations-track {
        width: calc(100% + 24px) !important;
        margin-right: -24px !important;
        padding-right: 24px !important;
    }

    .fr-cart-rec {
        flex-basis: 330px !important;
        width: 330px !important;
        min-width: 330px !important;
    }

    .cart-fixed-checkout__container {
        padding: 22px 24px 30px !important;
    }

    .fr-cart-protection-row {
        font-size: 12px !important;
    }

    .cart-checkout button[name='checkout'] {
        min-height: 56px !important;
        font-size: 16px !important;
    }

    .cart-checkout button.fr-checkout-without {
        min-height: 48px !important;
        font-size: 15px !important;
    }
}


/* Apolosign cart final alignment */
.cart-drawer__inner {
    padding-right: 46px !important
}

.cart-drawer__recommendations {
    padding-bottom: 0 !important
}

.cart-fixed-checkout__total {
    transform: translateY(12px)
}

.cart-fixed-checkout .cart-taxes {
    transform: translateY(9px)
}

.fr-cart-protection-row {
    transform: translateY(-2px)
}

.cart-fixed-checkout__buttons {
    transform: translateY(-8px)
}

.cart-checkout form {
    gap: 18px !important
}

.cart-checkout .button[name='checkout'] {
    order: 1 !important;
    height: 62px !important;
    min-height: 62px !important
}

.cart-checkout button.fr-checkout-without {
    order: 2 !important;
    height: 54px !important;
    min-height: 54px !important;
    border: 1px solid #111 !important;
    background: #fff !important;
    color: #111 !important
}


/* Apolosign cart overflow and button surface fix */
.cart-drawer__inner {
    overflow-x: hidden !important
}

.cart-drawer__recommendations-track {
    box-sizing: border-box !important
}

.cart-fixed-checkout .cart-taxes {
    transform: translateY(3px)
}

.cart-checkout {
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important
}

.cart-checkout form {
    width: 100% !important
}


/* Keep only the primary button black; the wrapper must stay transparent */
.cart-drawer__body .cart-fixed-checkout .cart-fixed-checkout__buttons .cart-checkout {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Apolosign desktop cart geometry — calibrated 2026-10-16 */
@media (min-width: 700px) {
    .cart-drawer__body {
        width: 584px !important;
        max-width: calc(100vw - 30px) !important;
        height: calc(100vh - 30px) !important;
        top: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .cart-drawer__header {
        height: 86px !important;
        min-height: 86px !important;
        padding: 0 36px !important;
    }

    .cart-drawer__close {
        right: 22px !important;
        top: 22px !important;
    }

    .cart-drawer__inner {
        padding: 0 36px !important;
    }

    .cart-drawer__items {
        width: 512px !important;
    }

    .cart-item {
        width: 512px !important;
        height: 140px !important;
        min-height: 140px !important;
        padding: 8px 0 24px !important;
    }

    .cart-item__product {
        height: 108px !important;
        gap: 18px !important;
    }

    .cart-item__picture {
        width: 87px !important;
        height: 108px !important;
        padding: 9px !important;
    }

    .cart-item__product-infos {
        padding-right: 76px !important;
    }

    .cart-drawer__recommendations {
        width: 512px !important;
        height: 203px !important;
        padding: 18px 0 24px !important;
    }

    .cart-drawer__recommendations-head {
        width: 512px !important;
        height: 22px !important;
    }

    .cart-drawer__recommendations-track {
        width: 548px !important;
        height: 124px !important;
        margin-top: 14px !important;
        padding: 0 36px 0 0 !important;
        gap: 10px !important;
    }

    .fr-cart-rec {
        flex: 0 0 350px !important;
        width: 350px !important;
        height: 124px !important;
        padding: 10px !important;
        gap: 10px !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
    }

    .fr-cart-rec__body {
        height: 104px !important;
    }

    .cart-fixed-checkout {
        width: 584px !important;
        height: 304px !important;
        flex: 0 0 304px !important;
    }

    .cart-fixed-checkout__container {
        width: 584px !important;
        height: 304px !important;
        padding: 24px 36px 42px !important;
    }

    .cart-fixed-checkout__main-info {
        width: 512px !important;
        height: 238px !important;
    }

    .cart-fixed-checkout__total {
        width: 512px !important;
        min-height: 28px !important;
        transform: translateY(4px) !important;
    }

    .cart-taxes {
        width: 512px !important;
        height: 36px !important;
        margin-top: 4px !important;
        padding: 6px 0 !important;
    }

    .fr-cart-protection-row {
        width: 512px !important;
        height: 24px !important;
        margin-top: 10px !important;
    }

    .cart-fixed-checkout__buttons {
        width: 512px !important;
        height: 121px !important;
        margin-top: 13px !important;
    }

    .cart-checkout,
    #cart-form-drawer-fixed {
        width: 512px !important;
        height: 121px !important;
    }

    #cart-form-drawer-fixed {
        gap: 16px !important;
    }

    #cart-form-drawer-fixed .button {
        width: 512px !important;
        height: 56px !important;
        min-height: 56px !important;
        padding: 14px 36px !important;
    }

    #cart-form-drawer-fixed .fr-checkout-without {
        width: 512px !important;
        height: 49px !important;
        min-height: 49px !important;
    }
}

/* Framilly: keep recommendation loading text inside the Apolosign-size button */
.fr-cart-rec__add.loading {
    padding-inline: 8px !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

/* Framilly: remove secondary checkout without protection control */
.cart-drawer .cart-fixed-checkout__buttons::after,
.cart-fixed-checkout__buttons::after {
    content: none !important;
    display: none !important;
}

#cart-form-drawer-fixed .fr-checkout-without {
    display: none !important;
}


/* Apolosign pixel alignment pass */
@media (min-width: 700px) {

    .cart-drawer__body,
    .cart-fixed-checkout,
    .cart-fixed-checkout__container {
        width: 583px !important;
    }

    .cart-drawer__items,
    .cart-drawer__recommendations,
    .cart-drawer__recommendations-head,
    .cart-fixed-checkout__main-info,
    .cart-fixed-checkout__total,
    .cart-taxes,
    .fr-cart-protection-row,
    .cart-fixed-checkout__buttons,
    .cart-checkout,
    #cart-form-drawer-fixed,
    #cart-form-drawer-fixed .button,
    #cart-form-drawer-fixed .fr-checkout-without {
        width: 511px !important;
    }

    .cart-drawer__recommendations-track {
        width: 547px !important;
    }

    .cart-drawer__body .cart-item {
        width: 511px !important;
        padding: 8px 0 24px !important;
    }

    .cart-drawer__body .cart-item__product {
        height: 108px !important;
    }

    .cart-drawer__body .cart-item__picture {
        width: 87px !important;
        min-width: 87px !important;
        max-width: 87px !important;
        height: 108px !important;
        min-height: 108px !important;
        max-height: 108px !important;
        padding: 9px !important;
    }

    .cart-drawer__body .fr-cart-rec {
        flex: 0 0 350px !important;
        width: 350px !important;
        min-width: 350px !important;
        max-width: 350px !important;
    }

    .cart-fixed-checkout__buttons {
        margin-top: 15px !important;
    }
}

/* Apolosign detail fidelity pass — calibrated against live reference */
@media (min-width: 700px) {
    .cart-drawer__body {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        color: #000 !important;
    }

    .cart-drawer__header {
        height: 86px !important;
        min-height: 86px !important;
        padding: 0 36px !important;
        position: relative !important;
    }

    .cart-drawer__title-wrap {
        position: absolute !important;
        top: 28px !important;
        left: 36px !important;
        height: 29px !important;
        gap: 9px !important;
        align-items: center !important;
    }

    #CartDrawerTitle {
        font-family: Poppins, sans-serif !important;
        font-size: 21px !important;
        line-height: 29px !important;
        font-weight: 600 !important;
    }

    .cart-drawer__title-wrap::after {
        font-family: Poppins, sans-serif !important;
        font-size: 18px !important;
        line-height: 25px !important;
        font-weight: 600 !important;
        color: #e0e0e0 !important;
    }

    .cart-drawer__count {
        width: 18px !important;
        min-width: 18px !important;
        height: 18px !important;
        min-height: 18px !important;
        padding: 0 3px !important;
        font-family: Poppins, sans-serif !important;
        font-size: 10px !important;
        line-height: 10px !important;
    }

    .cart-drawer__close {
        top: 32px !important;
        right: 34px !important;
        width: 22px !important;
        height: 22px !important;
    }

    .cart-drawer__close .icon {
        width: 22px !important;
        height: 22px !important;
    }

    .cart-drawer__items,
    .cart-drawer__body .cart-item {
        height: 115px !important;
        min-height: 115px !important;
    }

    .cart-drawer__body .cart-item {
        padding: 0 !important;
    }

    .cart-drawer__body .cart-item__product {
        height: 115px !important;
        min-height: 115px !important;
        gap: 18px !important;
        align-items: flex-start !important;
    }

    .cart-drawer__body .cart-item__picture {
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        height: 108px !important;
        min-height: 108px !important;
        max-height: 108px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .cart-drawer__body .cart-item__picture>a,
    .cart-drawer__body .cart-item__picture img {
        display: block !important;
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        height: 108px !important;
        min-height: 108px !important;
        max-height: 108px !important;
        object-fit: contain !important;
    }

    .cart-item__product-infos {
        padding-right: 69px !important;
    }

    .cart-item__product-infos-text {
        gap: 2px !important;
    }

    .cart-item__title {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 24px !important;
        font-weight: 700 !important;
    }

    .cart-item__total,
    .cart-item__total-final {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 24px !important;
        font-weight: 400 !important;
    }

    .cart-item__amount,
    .cart-item__amount-operator,
    .cart-item__remove {
        width: 43px !important;
    }

    .cart-item__amount {
        right: 0 !important;
    }

    .cart-item__amount-operator {
        height: 115px !important;
        min-height: 115px !important;
    }

    .cart-item__amount theme-input-number {
        width: 43px !important;
        height: 35px !important;
        min-height: 35px !important;
    }

    .cart-item__amount theme-input-number input {
        width: 41px !important;
        height: 33px !important;
        padding: 7px 0 !important;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 12px !important;
        line-height: 19px !important;
    }

    .cart-item__remove {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 12px !important;
        line-height: 20px !important;
    }

    .cart-drawer__recommendations {
        height: 153px !important;
        margin: 29px 0 0 !important;
        padding: 0 !important;
    }

    .cart-drawer__recommendations-head {
        height: 22px !important;
        margin: 0 0 14px !important;
    }

    .cart-drawer__recommendations-head h3 {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 14px !important;
        line-height: 22px !important;
        font-weight: 400 !important;
    }

    .cart-drawer__recommendations-track {
        height: 117px !important;
        margin-top: 14px !important;
        gap: 8px !important;
    }

    .cart-drawer__body .fr-cart-rec {
        flex: 0 0 351px !important;
        width: 351px !important;
        min-width: 351px !important;
        max-width: 351px !important;
        height: 117px !important;
        padding: 14px !important;
        gap: 18px !important;
        grid-template-columns: 63px minmax(0, 1fr) !important;
    }

    .fr-cart-rec>a,
    .fr-cart-rec>a img {
        width: 63px !important;
        min-width: 63px !important;
        max-width: 63px !important;
        height: 79px !important;
        min-height: 79px !important;
        max-height: 79px !important;
        align-self: center !important;
        object-fit: contain !important;
    }

    .fr-cart-rec__body {
        height: 88px !important;
        align-self: center !important;
        grid-template-columns: minmax(0, 1fr) 71px !important;
        column-gap: 14px !important;
    }

    .fr-cart-rec__title {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 14px !important;
        line-height: 22px !important;
        font-weight: 700 !important;
    }

    .fr-cart-rec__price,
    .fr-cart-rec__compare {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 13px !important;
        line-height: 22px !important;
    }

    .fr-cart-rec__add {
        width: 71px !important;
        height: 34px !important;
        padding: 7px 18px !important;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 12px !important;
        line-height: 20px !important;
    }

    .cart-taxes,
    .fr-cart-protection-row,
    #cart-form-drawer-fixed .button,
    #cart-form-drawer-fixed .fr-checkout-without {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    }

    .fr-cart-protection-row i {
        width: 12px !important;
        height: 12px !important;
        font-size: 0 !important;
        line-height: 12px !important;
        text-align: center !important;
    }

    .fr-cart-protection-row i::before {
        content: "i" !important;
        display: block !important;
        color: #fff !important;
        font-family: Arial, sans-serif !important;
        font-size: 8px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 12px !important;
    }

    #cart-form-drawer-fixed .button {
        height: 55px !important;
        min-height: 55px !important;
    }

    #cart-form-drawer-fixed .fr-checkout-without {
        height: 48px !important;
        min-height: 48px !important;
    }
}


/* Apolosign micro alignment pass */
@media (min-width: 700px) {
    .cart-drawer__close {
        right: 22px !important;
    }

    .cart-item__amount theme-input-number {
        width: 43px !important;
        min-width: 43px !important;
        max-width: 43px !important;
        height: 35px !important;
        min-height: 35px !important;
        max-height: 35px !important;
    }

    .cart-item__remove {
        transform: translateY(-10px) !important;
    }

    .fr-cart-rec__add {
        width: 71px !important;
        min-width: 71px !important;
        max-width: 71px !important;
    }

    .cart-fixed-checkout__buttons {
        margin-top: 17px !important;
    }
}

/* Framilly: keep multi-item carts in normal document flow */
@media (min-width: 700px) {
    .cart-drawer__items {
        height: auto !important;
        min-height: 0 !important;
    }
}

/* Framilly: reserve vertical clearance for protection label */
@media (min-width: 700px) {
    .cart-drawer__body .cart-item {
        height: 140px !important;
        min-height: 140px !important;
    }
}

/* Framilly: grow cart items when titles, options, and protection labels need more room */
@media (min-width: 700px) {
    .cart-drawer__body .cart-item {
        height: auto !important;
        min-height: 140px !important;
        padding-bottom: 24px !important;
    }

    .cart-drawer__body .cart-item__product {
        height: auto !important;
        min-height: 115px !important;
    }

    .cart-drawer__body .cart-item__amount {
        top: 0 !important;
        bottom: auto !important;
        height: 115px !important;
    }
}


/* Framilly: remove the real secondary checkout button */
#cart-form-drawer-fixed button.fr-checkout-without {
    display: none !important;
}


/* Framilly: collapse checkout footer after removing the secondary button */
.cart-drawer .cart-fixed-checkout {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
}

.cart-drawer .cart-fixed-checkout__container {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
}

#cart-form-drawer-fixed {
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
}

.cart-checkout {
    height: auto !important;
    min-height: 0 !important;
}


/* Framilly: compact checkout footer */
.cart-drawer .cart-fixed-checkout,
.cart-drawer .cart-fixed-checkout__container {
    height: auto !important;
    min-height: 0 !important;
}

.cart-drawer .cart-fixed-checkout {
    flex: 0 0 auto !important;
}

.cart-drawer .cart-fixed-checkout__container {
    padding-bottom: 20px !important;
}

#cart-form-drawer-fixed,
.cart-checkout {
    height: auto !important;
    min-height: 0 !important;
}

#cart-form-drawer-fixed {
    gap: 0 !important;
}


/* Framilly: collapse checkout inner containers */
.cart-drawer .cart-fixed-checkout__main-info,
.cart-drawer .cart-fixed-checkout__buttons {
    height: auto !important;
    min-height: 0 !important;
}



/* Framilly: mobile cart stabilization */
@media (max-width: 699px) {
    .cart-drawer__header {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .cart-drawer__inner {
        padding: 0 20px !important;
        scrollbar-width: none !important;
    }

    .cart-drawer__inner::-webkit-scrollbar {
        display: none !important;
    }

    .cart-drawer__items .cart-item {
        height: auto !important;
        min-height: 112px !important;
        margin: 0 0 12px !important;
        padding: 0 0 12px !important;
        overflow: visible !important;
    }

    .cart-drawer .cart-item__product {
        height: auto !important;
        min-height: 100px !important;
        gap: 14px !important;
        align-items: flex-start !important;
    }

    .cart-drawer .cart-item__picture,
    .cart-drawer .cart-item__picture img {
        flex-basis: 76px !important;
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
    }

    .cart-drawer .cart-item__product-infos {
        min-width: 0 !important;
        padding-right: 52px !important;
    }

    .cart-drawer .cart-item__product-infos-text {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cart-drawer .cart-item__title,
    .cart-drawer .cart-item__title a,
    .cart-drawer .cart-item__total,
    .cart-drawer .cart-item__options {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .cart-drawer .cart-item__product-infos-text::after {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-top: 4px !important;
        padding: 4px 6px !important;
        font-size: 10px !important;
        line-height: 14px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .cart-drawer .cart-item__amount {
        top: 0 !important;
        right: 0 !important;
        bottom: 12px !important;
        width: 48px !important;
        height: auto !important;
    }

    .cart-drawer .cart-item__amount-operator {
        width: 48px !important;
        height: 100% !important;
        min-height: 100px !important;
        justify-content: space-between !important;
    }

    .cart-drawer .cart-item__remove {
        width: 48px !important;
        transform: none !important;
        text-align: right !important;
    }

    .cart-drawer__recommendations-track {
        width: calc(100% + 20px) !important;
        margin-right: -20px !important;
        padding-right: 20px !important;
    }

    .fr-cart-rec {
        flex: 0 0 calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
        min-width: 0 !important;
        max-width: 330px !important;
    }
}

/* Framilly: remove per-item accident protection upsell */
.cart-drawer .cart-item__product-infos-text::after {
    content: none !important;
    display: none !important;
}