/* Cart page — Navid Figma node 3:1850 */
.navid-cart-page {
    --navid-cart-primary: #f3703a;
    --navid-cart-secondary: #003663;
    --navid-cart-gray: #6c7580;
    --navid-cart-gray-2: #a3a9b2;
    --navid-cart-border: #ededee;
    --navid-cart-success: #009294;
    --navid-cart-error: #f54848;
    font-family: var(--navid-font, Lahzeh, Tahoma, sans-serif);
    margin-top: 24px;
    margin-bottom: 104px;
}

.navid-cart-page .navid-cart-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.navid-cart-page .navid-cart-alert {
    margin-bottom: 24px;
}

.navid-cart-page .navid-cart-breadcrumb {
    margin-bottom: 56px;
    color: var(--navid-cart-gray-2);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    text-align: right;
}

.navid-cart-page .navid-cart-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.navid-cart-page .navid-cart-breadcrumb a:hover {
    color: var(--navid-cart-secondary);
}

.navid-cart-page .navid-cart-layout {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 56px;
}

.navid-cart-page .navid-cart-items {
    flex: 0 0 765px;
    width: 765px;
    max-width: 100%;
}

.navid-cart-page .navid-cart-item {
    display: flex;
    align-items: center;
    gap: 27px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--navid-cart-border);
}

.navid-cart-page .navid-cart-item + .navid-cart-item {
    margin-top: 24px;
}

.navid-cart-page .navid-cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.navid-cart-page .navid-cart-item__thumb {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f8;
}

.navid-cart-page .navid-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.navid-cart-page .navid-cart-item__info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 302px;
    margin-left: auto;
    text-align: right;
}

.navid-cart-page .navid-cart-item__title {
    display: block;
    margin: 0 0 8px;
    padding: 0 8px;
    color: var(--navid-cart-gray);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none !important;
}

.navid-cart-page .navid-cart-item__detail {
    margin: 0;
    padding: 0 8px;
    color: var(--navid-cart-gray);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.navid-cart-page .navid-cart-item__stock-error {
    display: block;
    margin-top: 8px;
    padding: 0 8px;
    color: #f54848;
    font-size: 12px;
}

.navid-cart-page .navid-cart-item__actions {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 56px;
}

.navid-cart-page .navid-cart-item__actions .blockUI.blockOverlay,
.navid-cart-page .navid-cart-item__mobile-qty .blockUI.blockOverlay,
.navid-cart-page
    .navid-pc--list-row
    .navid-pc__media-actions
    .blockUI.blockOverlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 4px;
}

.navid-cart-page .navid-cart-item__actions .blockUI.blockMsg,
.navid-cart-page .navid-cart-item__mobile-qty .blockUI.blockMsg,
.navid-cart-page
    .navid-pc--list-row
    .navid-pc__media-actions
    .blockUI.blockMsg {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    width: 24px !important;
    z-index: 1;
}

.navid-cart-page .navid-cart-item__price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    color: var(--navid-cart-secondary);
    white-space: nowrap;
}

.navid-cart-page .navid-cart-item__currency {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.navid-cart-page .navid-cart-item__amount {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.navid-cart-page .navid-cart-item__old-price {
    padding: 0 8px;
    color: var(--navid-cart-gray-2);
    font-size: 12px;
    font-weight: 500;
    text-decoration: line-through;
}

.navid-cart-page .navid-counter-box {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 56px;
    border: 1px solid var(--navid-cart-border);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.navid-cart-page .navid-counter-box .dec,
.navid-cart-page .navid-counter-box .inc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--navid-cart-secondary);
}

.navid-cart-page .navid-counter-box .dec:hover,
.navid-cart-page .navid-counter-box .inc:hover {
    background: #fff;
    color: var(--navid-cart-secondary);
}

.navid-cart-page .navid-counter-box .dec img,
.navid-cart-page .navid-counter-box .inc img {
    width: 24px;
    height: 24px;
    display: block;
}

.navid-cart-page .navid-counter-box .cart_quantity {
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--navid-cart-border);
    border-left: 1px solid var(--navid-cart-border);
    border-radius: 0;
    background: #fff;
    color: var(--navid-cart-secondary);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.navid-cart-page .navid-counter-box .cart_quantity::-webkit-outer-spin-button,
.navid-cart-page .navid-counter-box .cart_quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Sidebar — cart page layout only */
.navid-cart-page .navid-cart-sidebar {
    flex: 1 1 403px;
    max-width: 403px;
    border-right: 1px solid var(--navid-cart-border);
    padding-right: 56px;
}

.navid-cart-page .navid-cart-sidebar__inner,
.navid-checkout-page .navid-cart-sidebar__inner {
    display: flex;
    flex-direction: column;
    gap: 55px;
}

.navid-cart-page .navid-cart-summary,
.navid-checkout-page .navid-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.navid-cart-page .navid-cart-summary-row,
.navid-checkout-page .navid-cart-summary-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 16px;
}

.navid-cart-page .navid-cart-summary-row__label,
.navid-checkout-page .navid-cart-summary-row__label {
    flex: 1 1 auto;
    padding: 0 8px;
    color: var(--navid-cart-gray);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: right;
}

.navid-cart-page .navid-cart-summary-row__value,
.navid-checkout-page .navid-cart-summary-row__value {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    color: var(--navid-cart-gray);
    white-space: nowrap;
}

.navid-cart-page .navid-cart-summary-row__currency,
.navid-checkout-page .navid-cart-summary-row__currency {
    font-size: 16px;
    font-weight: 500;
}

.navid-cart-page .navid-cart-summary-row__amount,
.navid-checkout-page .navid-cart-summary-row__amount {
    font-size: 18px;
    font-weight: 600;
}

.navid-cart-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__value,
.navid-cart-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__currency,
.navid-cart-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__amount,
.navid-checkout-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__value,
.navid-checkout-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__currency,
.navid-checkout-page
    .navid-cart-summary-row--savings
    .navid-cart-summary-row__amount {
    color: var(--navid-cart-success);
}

/* Coupon — Figma 138:17356 (idle), 176:8212 (success), 176:8315 (error) */
.navid-cart-page .navid-coupon,
.navid-checkout-page .navid-coupon {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.navid-cart-page .navid-coupon__field,
.navid-checkout-page .navid-coupon__field {
    position: relative;
    width: 100%;
    margin: 0;
}

.navid-cart-page .navid-coupon__field .blockUI.blockOverlay,
.navid-checkout-page .navid-coupon__field .blockUI.blockOverlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 4px;
}

.navid-cart-page .navid-coupon__field .blockUI.blockMsg,
.navid-checkout-page .navid-coupon__field .blockUI.blockMsg {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    width: 24px !important;
}

.navid-cart-page .navid-coupon__body,
.navid-checkout-page .navid-coupon__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding: 12px 16px;
    border: 1.5px solid var(--navid-cart-border);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.navid-cart-page .navid-coupon__field--success .navid-coupon__body,
.navid-checkout-page .navid-coupon__field--success .navid-coupon__body {
    border-color: var(--navid-cart-success);
}

.navid-cart-page .navid-coupon__field--error .navid-coupon__body,
.navid-checkout-page .navid-coupon__field--error .navid-coupon__body {
    border-color: var(--navid-cart-error, #f54848);
}

.navid-cart-page .navid-coupon__label,
.navid-checkout-page .navid-coupon__label {
    position: absolute;
    top: -10.5px;
    right: 14.5px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    color: var(--navid-cart-gray-2);
    font-size: 10px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    pointer-events: none;
}

.navid-cart-page .navid-coupon__apply,
.navid-checkout-page .navid-coupon__apply {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navid-cart-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
    cursor: pointer;
}

.navid-cart-page .navid-coupon__input,
.navid-checkout-page .navid-coupon__input {
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navid-cart-gray);
    font-size: 15px;
    font-weight: 400;
    text-align: right;
    box-shadow: none;
}

.navid-cart-page .navid-coupon__input::placeholder,
.navid-checkout-page .navid-coupon__input::placeholder {
    color: var(--navid-cart-gray-2);
}

.navid-cart-page .navid-coupon__input:focus,
.navid-checkout-page .navid-coupon__input:focus {
    outline: none;
}

.navid-cart-page .navid-coupon__field--error .navid-coupon__input,
.navid-checkout-page .navid-coupon__field--error .navid-coupon__input {
    color: var(--navid-cart-gray);
    font-size: 16px;
    font-weight: 500;
}

.navid-cart-page .navid-coupon__clear,
.navid-checkout-page .navid-coupon__clear {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--navid-cart-border);
    color: var(--navid-cart-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.navid-cart-page .navid-coupon__clear img,
.navid-checkout-page .navid-coupon__clear img {
    display: block;
    width: 24px;
    height: 24px;
}

.navid-cart-page .navid-coupon__value-wrap,
.navid-checkout-page .navid-coupon__value-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.navid-cart-page .navid-coupon__code,
.navid-checkout-page .navid-coupon__code {
    color: var(--navid-cart-success);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.navid-cart-page .navid-coupon__check,
.navid-checkout-page .navid-coupon__check {
    display: inline-flex;
    flex-shrink: 0;
}

.navid-cart-page .navid-coupon__meta,
.navid-checkout-page .navid-coupon__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    color: var(--navid-cart-gray);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.navid-cart-page .navid-coupon__meta-value,
.navid-checkout-page .navid-coupon__meta-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.navid-cart-page .navid-coupon__error,
.navid-checkout-page .navid-coupon__error {
    margin: 0;
    padding: 6px 8px;
    color: var(--navid-cart-error, #f54848);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    text-align: right;
}

.navid-cart-page .navid-cart-payable,
.navid-checkout-page .navid-cart-payable {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.navid-cart-page .navid-cart-payable__row,
.navid-checkout-page .navid-cart-payable__row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 16px;
    padding: 0 8px;
}

.navid-cart-page .navid-cart-payable__label,
.navid-checkout-page .navid-cart-payable__label {
    flex: 1 1 auto;
    color: var(--navid-cart-gray);
    font-size: 16px;
    font-weight: 400;
    text-align: right;
}

.navid-cart-page .navid-cart-payable__value,
.navid-checkout-page .navid-cart-payable__value {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    color: var(--navid-cart-secondary);
    white-space: nowrap;
}

.navid-cart-page .navid-cart-payable__currency,
.navid-checkout-page .navid-cart-payable__currency {
    font-size: 16px;
    font-weight: 500;
}

.navid-cart-page .navid-cart-payable__amount,
.navid-checkout-page .navid-cart-payable__amount {
    font-size: 24px;
    font-weight: 600;
}

.navid-cart-page .navid-cart-checkout-btn,
.navid-checkout-page .navid-cart-checkout-btn {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 9px 16px;
    border: 0;
    border-radius: 4px;
    background: var(--navid-cart-primary);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
}

.navid-cart-page .navid-cart-checkout-btn:hover,
.navid-cart-page .navid-cart-checkout-btn:focus,
.navid-checkout-page .navid-cart-checkout-btn:hover,
.navid-checkout-page .navid-cart-checkout-btn:focus {
    background: #e06533;
    color: #fff !important;
}

.navid-cart-page .navid-cart-checkout-btn__icon,
.navid-checkout-page .navid-cart-checkout-btn__icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    overflow: visible;
}

.navid-cart-page .navid-cart-checkout-btn__icon path,
.navid-checkout-page .navid-cart-checkout-btn__icon path {
    stroke: #fff;
    stroke-width: 2.5px;
}

.navid-cart-page .navid-cart-empty {
    padding: 80px 16px;
    text-align: center;
}

.navid-cart-page .navid-cart-empty__icon {
    font-size: 64px;
    color: var(--navid-cart-gray-2);
    margin-bottom: 16px;
}

.navid-cart-page .navid-cart-empty__title {
    margin-bottom: 8px;
    color: var(--navid-cart-gray);
    font-size: 20px;
    font-weight: 500;
}

.navid-cart-page .navid-cart-empty__text {
    margin-bottom: 24px;
    color: var(--navid-cart-gray-2);
    font-size: 15px;
}

.navid-cart-page .navid-cart-empty__btn {
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 1199px) {
    .navid-cart-page .navid-cart-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .navid-cart-page .navid-cart-items,
    .navid-cart-page .navid-cart-sidebar {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .navid-cart-page .navid-cart-sidebar {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid var(--navid-cart-border);
        padding-bottom: 32px;
    }

    .navid-cart-page .navid-cart-item__info {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .navid-cart-page {
        margin-bottom: 64px;
    }

    .navid-cart-page .navid-cart-breadcrumb {
        margin-bottom: 24px;
    }

    .navid-cart-page .navid-cart-item {
        flex-wrap: wrap;
        gap: 16px;
    }

    .navid-cart-page .navid-cart-item__thumb {
        flex: 0 0 88px;
        width: 88px;
        height: 88px;
    }

    .navid-cart-page .navid-cart-item__info {
        flex: 1 1 calc(100% - 104px);
        order: 2;
    }

    .navid-cart-page .navid-cart-item__actions {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        order: 3;
    }
}

/* ——— Mobile cart (Figma 240:15390) ——— */
.navid-cart-mobile-header,
.navid-cart-mobile-body,
.navid-cart-mobile-sticky {
    display: none;
}

@media (max-width: 1279px) {
    body.navid-cart-page-active .navid-header__desktop {
        display: none !important;
    }

    body.navid-cart-page-active.navid-mobile-chrome {
        padding-top: var(--navid-cart-mobile-header-h, 88px) !important;
        padding-bottom: var(--navid-mobile-bottom-nav-h, 88px) !important;
        overflow-anchor: none;
    }

    html.navid-cart-scroll-locked,
    body.navid-cart-scroll-locked {
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.navid-cart-page-active {
        --navid-cart-mobile-header-h: 88px;
        --navid-cart-mobile-sticky-h: 88px;
    }

    body.navid-cart-page-active .wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navid-cart-page.main-content {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .navid-cart-page .navid-cart-container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .navid-cart-page .navid-cart-layout,
    .navid-cart-page .navid-cart-main,
    .navid-cart-mobile-body {
        width: 100%;
        max-width: 100%;
    }

    body.navid-cart-page-active.navid-mobile-chrome:has(
            .navid-cart-mobile-sticky
        ) {
        padding-bottom: calc(
            var(--navid-mobile-bottom-nav-h, 88px) +
                var(--navid-cart-mobile-sticky-h, 88px)
        ) !important;
    }

    body.navid-cart-page-active header.navid-header {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        min-height: 0;
        background: transparent;
        box-shadow: none;
        pointer-events: none;
        z-index: 1000;
    }

    body.navid-cart-page-active header.navid-header .navid-header__mobile-wrap {
        background: transparent;
        pointer-events: none;
    }

    body.navid-cart-page-active header.navid-header .navid-header__mobile,
    body.navid-cart-page-active
        header.navid-header
        .navid-header__mobile-search,
    body.navid-cart-page-active .navid-drawer {
        display: none !important;
    }

    body.navid-cart-page-active .navid-bottom-nav {
        display: flex !important;
        pointer-events: auto;
    }

    body.navid-cart-page-active footer.navid-footer {
        display: none !important;
    }

    .navid-cart-page {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navid-cart-page .navid-cart-breadcrumb--desktop,
    .navid-cart-page .navid-cart-items--desktop,
    .navid-cart-page .navid-cart-sidebar {
        display: none !important;
    }

    .navid-cart-page .navid-cart-layout {
        flex-direction: column;
        gap: 0;
    }

    .navid-cart-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--navid-cart-mobile-header-h);
        padding: 16px 8px;
        background: #fff;
        border-bottom: 1px solid var(--navid-cart-border);
        box-sizing: border-box;
        direction: ltr;
    }

    .navid-cart-mobile-header__title-wrap {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        direction: rtl;
    }

    .navid-cart-mobile-header__back,
    .navid-cart-mobile-header__clear {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: var(--navid-cart-gray);
        text-decoration: none !important;
        cursor: pointer;
        flex-shrink: 0;
    }

    .navid-cart-mobile-header__back:hover,
    .navid-cart-mobile-header__back:focus,
    .navid-cart-mobile-header__back:active {
        color: var(--navid-cart-gray);
        text-decoration: none !important;
    }

    .navid-cart-mobile-header__back .navid-icon,
    .navid-cart-mobile-header__clear .navid-icon {
        width: 24px;
        height: 24px;
    }

    .navid-cart-mobile-header__back .navid-icon path {
        stroke: currentColor;
    }

    .navid-cart-mobile-header__title {
        margin: 0;
        padding: 4px 0;
        color: var(--navid-cart-gray);
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
        text-align: center;
        white-space: nowrap;
    }

    .navid-cart-mobile-body {
        display: block;
        width: 100%;
        overflow-anchor: none;
    }

    .navid-cart-mobile-section--items {
        padding: 24px 16px;
        border-bottom: 8px solid var(--navid-cart-border);
    }

    .navid-cart-mobile-section--coupon {
        padding: 8px 16px 24px;
        border-bottom: 8px solid var(--navid-cart-border);
    }

    .navid-cart-mobile-section--details {
        padding: 24px 0;
    }

    .navid-cart-mobile-items {
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    /* Cart list-row cards — Figma 240:15390 (self-contained, no navid-products.css) */
    .navid-cart-page .navid-cart-item--mobile.navid-pc {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        min-height: 136px;
        position: relative;
        padding-bottom: 0;
        border-bottom: 0;
        margin: 0;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__inline-rating {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        gap: 4px;
        height: 24px;
        color: var(--navid-cart-gray);
        font-size: 12px;
        font-weight: 500;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-pc__inline-rating
        .navid-pc__star {
        color: #f5b800;
        font-size: 16px;
        line-height: 1;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__content {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 16px;
        position: relative;
        width: 100%;
        min-height: 136px;
        direction: rtl;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__media {
        position: static;
        flex: 0 0 104px;
        width: 104px;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__thumb {
        display: block;
        width: 104px;
        height: 104px;
        border-radius: 4px;
        overflow: hidden;
        background: #f5f5f5;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__info {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
        padding: 0;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__title-row {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__title {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
        padding: 0;
        font-size: 12px;
        font-weight: 500;
        line-height: normal;
        text-align: justify;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__title a {
        color: var(--navid-cart-gray) !important;
        text-decoration: none;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__meta {
        margin: 0;
        padding: 0;
        font-size: 10px;
        font-weight: 500;
        line-height: normal;
        color: var(--navid-cart-gray);
        text-align: center;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__price-row {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__price-main {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 4px;
        color: var(--navid-cart-secondary);
        white-space: nowrap;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__currency {
        font-size: 10px;
        font-weight: 500;
        line-height: normal;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__price {
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__discount-group {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__old {
        font-size: 10px;
        font-weight: 500;
        line-height: normal;
        color: var(--navid-cart-gray);
        text-decoration: line-through;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__discount-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 24px;
        padding: 2px 4px;
        border-radius: 4px;
        background: var(--navid-cart-error);
        font-size: 10px;
        font-weight: 600;
        line-height: normal;
        color: #fff;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-pc__media-actions {
        position: absolute;
        top: 96px;
        right: 8px;
        left: auto;
        bottom: auto;
        z-index: 3;
        width: auto;
        min-height: 0;
        margin: 0;
        background: transparent;
        pointer-events: auto;
    }

    .navid-cart-page .navid-cart-item--mobile .navid-cart-qty--overlay {
        position: static;
        display: block;
        width: auto;
        background: transparent;
        border: 0;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty--overlay
        .navid-cart-qty__counter,
    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty--overlay
        .navid-counter-box {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 1px solid var(--navid-cart-border);
        border-radius: 4px;
        background: #fff;
        box-shadow: none;
        overflow: hidden;
        direction: ltr;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty--overlay
        .navid-cart-qty__btn,
    .navid-cart-page .navid-cart-item--mobile .navid-cart-qty--overlay .dec,
    .navid-cart-page .navid-cart-item--mobile .navid-cart-qty--overlay .inc {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 10px;
        border: 0;
        border-radius: 6px;
        background: transparent;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty--overlay
        .navid-cart-qty__btn
        img,
    .navid-cart-page .navid-cart-item--mobile .navid-cart-qty--overlay .dec img,
    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty--overlay
        .inc
        img {
        width: 24px;
        height: 24px;
        display: block;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty__count.cart_quantity {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        height: 40px;
        margin: 0;
        padding: 10px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--navid-cart-secondary);
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: normal;
        text-align: center;
        box-shadow: none;
        outline: none;
        -moz-appearance: textfield;
        appearance: textfield;
    }

    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty__count.cart_quantity::-webkit-outer-spin-button,
    .navid-cart-page
        .navid-cart-item--mobile
        .navid-cart-qty__count.cart_quantity::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .navid-cart-page .navid-cart-item__stock-error {
        display: block;
        margin: 0;
        color: var(--navid-cart-error);
        font-size: 10px;
        font-weight: 500;
        line-height: normal;
    }

    .navid-cart-mobile-section--coupon .navid-cart-mobile-coupon__hint {
        margin: 0 0 16px;
        padding: 8px 0;
        color: var(--navid-cart-gray);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
        text-align: right;
    }

    .navid-cart-mobile-section--coupon .navid-coupon__apply {
        font-size: 15px;
        font-weight: 600;
    }

    .navid-cart-mobile-section--coupon .navid-coupon__input {
        font-size: 15px;
        font-weight: 400;
    }

    .navid-cart-mobile-section--coupon .navid-coupon__input::placeholder {
        color: var(--navid-cart-gray-2);
    }

    .navid-cart-mobile-section--coupon .navid-coupon__body {
        gap: 24px;
        min-height: 56px;
        padding: 12px 16px;
        border-width: 1px;
    }

    .navid-cart-mobile-details {
        display: block;
        width: 100%;
        margin: 0;
    }

    .navid-cart-mobile-details__title {
        margin: 0;
        padding: 8px 16px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: var(--navid-cart-secondary);
        font-size: 20px;
        font-weight: 500;
        line-height: normal;
        text-align: right;
        box-sizing: border-box;
    }

    .navid-cart-mobile-details__panel {
        padding: 0 16px;
    }

    .navid-cart-mobile-details__list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--navid-cart-border);
    }

    .navid-cart-mobile-details__row,
    .navid-cart-mobile-details__payable {
        display: flex;
        align-items: center;
        gap: 16px;
        min-height: 32px;
    }

    .navid-cart-mobile-details__payable {
        min-height: 56px;
        padding: 16px 0;
    }

    .navid-cart-mobile-details__label {
        flex: 1 1 0;
        min-width: 0;
        color: var(--navid-cart-gray);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
        text-align: right;
    }

    .navid-cart-mobile-details__value {
        flex: 1 1 0;
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        color: var(--navid-cart-gray);
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

    .navid-cart-mobile-details__value span:first-child {
        font-weight: 400;
    }

    .navid-cart-mobile-details__row--savings .navid-cart-mobile-details__value {
        color: var(--navid-cart-success);
    }

    .navid-cart-mobile-details__payable .navid-cart-mobile-details__label,
    .navid-cart-mobile-details__payable .navid-cart-mobile-details__value {
        font-size: 14px;
        font-weight: 400;
    }

    .navid-cart-mobile-details__payable .navid-cart-mobile-details__value {
        font-weight: 500;
    }

    .navid-cart-mobile-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--navid-mobile-bottom-nav-h, 88px);
        z-index: 999;
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        background: #fff;
        border-top: 1px solid var(--navid-cart-border);
        box-sizing: border-box;
    }

    .navid-cart-mobile-sticky__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
        align-items: center;
        gap: 12px;
        min-height: var(--navid-cart-mobile-sticky-h);
        width: 100%;
        max-width: 100%;
        padding: 16px;
        box-sizing: border-box;
        overflow: hidden;
        direction: ltr;
    }

    .navid-cart-mobile-sticky__btn {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 8px;
        grid-column: 1;
        justify-self: start;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 56px;
        margin: 0;
        padding: 9px 12px;
        border: 0;
        border-radius: 4px;
        background: var(--navid-cart-primary);
        color: #fff !important;
        font-size: clamp(13px, 3.6vw, 16px);
        font-weight: 600;
        line-height: normal;
        cursor: pointer;
        box-shadow: none;
        overflow: hidden;
    }

    .navid-cart-mobile-sticky__btn > span:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    .navid-cart-mobile-sticky__btn-icon {
        display: block;
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        flex-shrink: 0;
        overflow: visible;
    }

    .navid-cart-mobile-sticky__btn-icon path {
        stroke: #fff;
        stroke-width: 2.5px;
    }

    .navid-cart-mobile-sticky__summary {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 4px;
        grid-column: 2;
        justify-self: end;
        min-width: 0;
        max-width: 100%;
        min-height: 56px;
        text-align: right;
        direction: rtl;
    }

    .navid-cart-mobile-sticky__summary-label {
        color: var(--navid-cart-gray);
        font-size: 10px;
        font-weight: 400;
        line-height: normal;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navid-cart-mobile-sticky__summary-value {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        max-width: 100%;
        min-width: 0;
        color: var(--navid-cart-secondary);
        font-size: clamp(12px, 3.8vw, 16px);
        font-weight: 600;
        line-height: normal;
        white-space: nowrap;
        direction: rtl;
    }

    .navid-cart-mobile-sticky__summary-value span:first-child {
        flex-shrink: 0;
        font-size: clamp(11px, 3.4vw, 14px);
        font-weight: 500;
    }

    .navid-cart-mobile-sticky__summary-value span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.navid-cart-page-active .navid-cart-empty {
        padding: 24px 16px;
    }
}

/* Tablet cart — same Figma layout, wider horizontal padding */
@media (min-width: 768px) and (max-width: 1279px) {
    body.navid-cart-page-active .navid-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1002;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 16px 24px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid var(--navid-cart-border);
        box-sizing: border-box;
        pointer-events: auto;
    }

    .navid-cart-mobile-section--items {
        padding: 24px;
    }

    .navid-cart-mobile-section--coupon {
        padding: 8px 24px 24px;
    }

    .navid-cart-mobile-details__title {
        padding-left: 24px;
        padding-right: 24px;
    }

    .navid-cart-mobile-details__panel {
        padding: 0 24px;
    }
}
