/**
 * Shopping cart (Your Basket) — Figma layout & KitUP tokens.
 * Loaded last on checkout/cart via kitup-cart-styles.phtml.
 */

:root {
    --kitup-cart-navy: #000471;
    --kitup-cart-mint: #00ffc2;
    --kitup-cart-mint-hover: #00e6b0;
    --kitup-cart-heading: #000471;
    --kitup-cart-text: #111827;
    --kitup-cart-muted: #6b7280;
    --kitup-cart-border: #e0e0e0;
    --kitup-cart-table-head: #f2f2f2;
    --kitup-cart-page-bg: #fcfaf5;
    --kitup-cart-table-bg: #ffffff;
    --kitup-cart-summary-width: 360px;
    --kitup-cart-mint-figma: #00ffcc;
    --kitup-cart-font: "Lexend", "Montserrat", ui-sans-serif, system-ui, sans-serif;
    --kitup-cart-max: 1250px;
    --kitup-cart-gutter: clamp(16px, 4vw, 40px);
}

/* ─── Page shell (Figma cream) ─── */
html body.checkout-cart-index,
html body.checkout-cart-index .page-wrapper,
html body.checkout-cart-index .page-main,
html body.checkout-cart-index #maincontent,
html body.checkout-cart-index .columns,
html body.checkout-cart-index .column.main {
    background: var(--kitup-cart-page-bg) !important;
    background-color: var(--kitup-cart-page-bg) !important;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .page-main,
html body.checkout-cart-index .column.main {
    background: transparent !important;
    background-color: transparent !important;
}

html body.checkout-cart-index .columns.top .page-title-wrapper,
html body.checkout-cart-index .page-title-wrapper {
    max-width: var(--kitup-cart-max) !important;
    margin: 0 auto !important;
    padding: 16px var(--kitup-cart-gutter) 24px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box;
}

html body.checkout-cart-index .columns.top .page-title-wrapper .page-title,
html body.checkout-cart-index .page-title-wrapper .page-title,
html body.checkout-cart-index .page-title-wrapper .page-title span {
    font-family: var(--kitup-cart-font) !important;
    font-size: clamp(28px, 4vw, 36px) !important;
    font-weight: 700 !important;
    color: var(--kitup-cart-heading) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    margin: 0 auto 8px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
}

/* Figma breadcrumbs above title */
html body.checkout-cart-index .kitup-cart-breadcrumbs {
    max-width: var(--kitup-cart-max);
    margin: 0 auto;
    padding: 20px var(--kitup-cart-gutter) 0;
    box-sizing: border-box;
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--kitup-cart-font);
    font-size: 13px;
    color: var(--kitup-cart-muted);
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: var(--kitup-cart-muted);
    font-weight: 400;
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__item a {
    color: var(--kitup-cart-muted);
    text-decoration: none;
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__item a:hover {
    color: var(--kitup-cart-navy);
}

html body.checkout-cart-index .kitup-cart-breadcrumbs__item--current {
    color: var(--kitup-cart-muted);
}

html body.checkout-cart-index .columns.top .page-title-wrapper {
    padding-top: 8px !important;
}

html body.checkout-cart-index .breadcrumbs {
    display: none !important;
}

/* ─── Two columns: table left | summary + coupon right (Figma) ─── */
html body.checkout-cart-index .column.main .cart-container,
html body.checkout-cart-index .cart-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--kitup-cart-summary-width) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "kitup-cart-main kitup-cart-side"
        "kitup-cart-main kitup-cart-coupon" !important;
    gap: 20px 48px !important;
    max-width: var(--kitup-cart-max) !important;
    margin: 0 auto 48px !important;
    padding: 0 var(--kitup-cart-gutter) 32px !important;
    width: 100% !important;
    max-width: var(--kitup-cart-max) !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

html body.checkout-cart-index .cart-container::before,
html body.checkout-cart-index .cart-container::after {
    display: none !important;
    content: none !important;
}

html body.checkout-cart-index .cart-container .form.form-cart,
html body.checkout-cart-index .cart-container form#form-validate {
    grid-area: kitup-cart-main !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    order: unset !important;
}

html body.checkout-cart-index .cart-container .cart-summary,
html body.checkout-cart-index .cart-container .cart-summary.kitup-cart-summary {
    grid-area: kitup-cart-side !important;
    width: 100% !important;
    max-width: var(--kitup-cart-summary-width) !important;
    float: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 28px 28px 24px !important;
    margin: 0 !important;
    order: unset !important;
    align-self: start !important;
}

html body.checkout-cart-index .cart-container > .block.discount,
html body.checkout-cart-index .cart-container > #block-discount,
html body.checkout-cart-index .cart-container > .kitup-cart-discount {
    grid-area: kitup-cart-coupon !important;
    width: 100% !important;
    max-width: var(--kitup-cart-summary-width) !important;
    float: none !important;
    margin: 0 !important;
    align-self: start !important;
}

/* Recommended products — full width below basket (Figma) */
html body.checkout-cart-index .kitup-cart-recommended-wrap,
html body.checkout-cart-index .kitup-cart-recommended.block.crosssell {
    max-width: var(--kitup-cart-max);
    width: 100%;
    margin: 48px auto 0;
    padding: 0 var(--kitup-cart-gutter) 48px;
    border-top: 0;
    box-sizing: border-box;
    clear: both;
    float: none !important;
}

html body.checkout-cart-index .kitup-cart-recommended .rokan-product-heading,
html body.checkout-cart-index .block.crosssell .rokan-product-heading {
    display: none !important;
}

/* ─── Cart table (Figma: border on all four sides) ─── */
html body.checkout-cart-index .cart.table-wrapper.kitup-cart-table-wrap {
    border: 1px solid var(--kitup-cart-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
    background: #ffffff;
}

html body.checkout-cart-index .cart.table-wrapper {
    margin-bottom: 0;
}

html body.checkout-cart-index .kitup-cart-form-actions {
    margin-top: 20px;
}

html body.checkout-cart-index table.cart.items {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--kitup-cart-font);
}

html body.checkout-cart-index table.cart.items thead {
    background: var(--kitup-cart-table-head);
}

html body.checkout-cart-index table.cart.items thead th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 16px 20px !important;
    border: 0;
    text-align: left;
    font-family: var(--kitup-cart-font) !important;
    line-height: 1.3 !important;
}

html body.checkout-cart-index table.cart.items thead th span {
    text-transform: none !important;
    color: #000000 !important;
    font-family: var(--kitup-cart-font) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

html body.checkout-cart-index table.cart.items thead th.col.price,
html body.checkout-cart-index table.cart.items thead th.col.qty {
    text-align: center;
}

html body.checkout-cart-index table.cart.items thead th.col.subtotal {
    text-align: right;
    padding-right: 20px;
}

/* Figma: horizontal rules only — no boxed cells */
html body.checkout-cart-index table.cart.items.data.table th,
html body.checkout-cart-index table.cart.items.data.table td {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td {
    vertical-align: middle;
    padding: 20px 16px;
    border-bottom: 1px solid var(--kitup-cart-border) !important;
    text-align: left;
}

html body.checkout-cart-index table.cart.items thead tr {
    border-bottom: 1px solid var(--kitup-cart-border);
}

html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td.col.price,
html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td.col.qty {
    text-align: center;
    vertical-align: middle;
}

html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td.col.subtotal {
    text-align: right;
    padding-right: 20px;
    vertical-align: middle;
    font-weight: 700;
}

html body.checkout-cart-index table.cart.items .col.item {
    min-width: 0;
    text-align: left !important;
}

html body.checkout-cart-index .kitup-cart-item-cell {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

html body.checkout-cart-index .product-item-photo {
    display: block;
    flex: 0 0 96px;
    max-width: 96px;
    padding: 0 !important;
    margin: 0 !important;
}

html body.checkout-cart-index .product-item-photo .product-image-photo {
    border-radius: 4px;
    max-width: 96px;
    height: auto;
}

html body.checkout-cart-index .product-item-details {
    flex: 1;
    min-width: 0;
    text-align: left !important;
    padding: 0 !important;
    float: none !important;
}

html body.checkout-cart-index .product-item-details .kitup-cart-item-actions {
    clear: both;
}

html body.checkout-cart-index .product-item-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .product-item-name a {
    color: var(--kitup-cart-text) !important;
    text-decoration: none;
}

html body.checkout-cart-index .product-item-name a:hover {
    color: var(--kitup-cart-navy) !important;
}

html body.checkout-cart-index .item-options {
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--kitup-cart-muted);
}

html body.checkout-cart-index .kitup-cart-item-options {
    margin: 4px 0 0;
}

html body.checkout-cart-index .kitup-cart-option-line {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #374151 !important;
    margin: 0 0 4px;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-option-label,
html body.checkout-cart-index .kitup-cart-option-value {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #374151 !important;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .cart-price .price,
html body.checkout-cart-index .col.price .price,
html body.checkout-cart-index .subtotal .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .subtotal .price {
    font-weight: 700;
}

/* Qty stepper (Figma: − | input | +) */
html body.checkout-cart-index .field.qty > .label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

html body.checkout-cart-index .field.qty .kitup-cart-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--kitup-cart-border);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    vertical-align: middle;
}

html body.checkout-cart-index .kitup-cart-qty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f2f2f2 !important;
    color: #111827 !important;
    font-family: var(--kitup-cart-font) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
    text-transform: none !important;
}

html body.checkout-cart-index .kitup-cart-qty-btn span {
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

html body.checkout-cart-index .kitup-cart-qty-btn--minus {
    border-right: 1px solid var(--kitup-cart-border) !important;
}

html body.checkout-cart-index .kitup-cart-qty-btn--plus {
    border-left: 1px solid var(--kitup-cart-border) !important;
}

html body.checkout-cart-index .kitup-cart-qty-btn:hover {
    background: #e8e8e8 !important;
    color: #111827 !important;
}

html body.checkout-cart-index .field.qty input.input-text.qty {
    width: 56px !important;
    min-width: 56px !important;
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: var(--kitup-cart-font) !important;
    padding: 8px 4px !important;
    margin: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
}

html body.checkout-cart-index .field.qty input.input-text.qty::-webkit-outer-spin-button,
html body.checkout-cart-index .field.qty input.input-text.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Item actions (edit / remove) — left under product name (Figma) */
html body.checkout-cart-index tr.item-actions {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-item-actions.actions-toolbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    float: none !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

html body.checkout-cart-index .kitup-cart-item-actions.actions-toolbar::before,
html body.checkout-cart-index .kitup-cart-item-actions.actions-toolbar::after {
    display: none !important;
    content: none !important;
}

html body.checkout-cart-index .cart.table-wrapper .kitup-cart-item-actions > .action,
html body.checkout-cart-index .cart.table-wrapper .kitup-cart-item-actions .action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: transparent !important;
}

html body.checkout-cart-index .kitup-cart-item-actions .action span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

html body.checkout-cart-index .kitup-cart-item-actions .action-edit::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931z'/%3E%3C/svg%3E");
}

html body.checkout-cart-index .kitup-cart-item-actions .action-delete::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0'/%3E%3C/svg%3E");
}

/* Table actions */
html body.checkout-cart-index .cart.main.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
}

html body.checkout-cart-index .cart.main.actions .action.continue,
html body.checkout-cart-index .cart.main.actions a.action.continue {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-item-actions .action-towishlist,
html body.checkout-cart-index .kitup-cart-item-actions a[href*="wishlist"] {
    display: none !important;
}

html body.checkout-cart-index .cart.main.actions .action::before,
html body.checkout-cart-index .cart.main.actions .action::after {
    display: none !important;
    content: none !important;
}

html body.checkout-cart-index .cart.main.actions .action.clear,
html body.checkout-cart-index .cart.main.actions .action.update {
    font-family: var(--kitup-cart-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    min-height: 44px;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

html body.checkout-cart-index .cart.table-wrapper .cart.items .col {
    text-transform: none !important;
}

html body.checkout-cart-index .cart.main.actions .action.clear {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

html body.checkout-cart-index .cart.main.actions .action.clear:hover {
    background: #f9fafb !important;
    border-color: var(--kitup-cart-muted) !important;
}

html body.checkout-cart-index .cart.main.actions .action.update,
html body.checkout-cart-index .cart.main.actions .action.update span {
    background: var(--kitup-cart-mint-figma) !important;
    color: #ffffff !important;
    border: 0 !important;
}

html body.checkout-cart-index .cart.main.actions .action.update:hover {
    background: var(--kitup-cart-mint-hover) !important;
}

/* ─── Summary (navy panel) ─── */
html body.checkout-cart-index .column.main .cart-summary,
html body.checkout-cart-index .cart-summary.kitup-cart-summary,
html body.checkout-cart-index .cart-summary {
    background: var(--kitup-cart-navy) !important;
    border-radius: 12px;
    color: #ffffff !important;
    padding: 28px 28px 24px !important;
    box-sizing: border-box;
}

/* Beat kitup-brand .column.main { color: #000 } on all summary copy */
html body.checkout-cart-index .cart-summary .summary.title,
html body.checkout-cart-index .cart-summary .summary.title strong {
    display: block;
    font-size: 22px !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 16px;
    padding: 0;
    font-family: var(--kitup-cart-font) !important;
    text-align: left;
    text-transform: none !important;
}

/* Summary line items (Figma product rows) */
html body.checkout-cart-index .cart-summary .kitup-cart-summary-items {
    margin: 0 0 4px;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: 16px !important;
    line-height: 1.45;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__name,
html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__price,
html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__row,
html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__list,
html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__list li {
    color: #ffffff !important;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__name {
    flex: 1;
    min-width: 0;
    text-align: left;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__price {
    flex-shrink: 0;
    text-align: right;
    font-size: 16px !important;
    font-weight: 400 !important;
    white-space: nowrap;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__price .price {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* Figma summary totals (Sub Total, VAT, Grand Total) */
html body.checkout-cart-index .kitup-cart-summary-totals {
    margin: 0 0 8px;
}

html body.checkout-cart-index .kitup-cart-summary-totals__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.45;
}

html body.checkout-cart-index .kitup-cart-summary-totals__label,
html body.checkout-cart-index .kitup-cart-summary-totals__value {
    color: #ffffff !important;
    font-family: var(--kitup-cart-font) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

html body.checkout-cart-index .kitup-cart-summary-totals__label {
    text-align: left;
}

html body.checkout-cart-index .kitup-cart-summary-totals__value {
    text-align: right;
    white-space: nowrap;
}

html body.checkout-cart-index .kitup-cart-summary-totals__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 8px 0 10px;
    border: 0;
}

html body.checkout-cart-index .kitup-cart-summary-totals__row--grand {
    padding-top: 4px;
}

html body.checkout-cart-index .kitup-cart-summary-totals__row--grand .kitup-cart-summary-totals__label,
html body.checkout-cart-index .kitup-cart-summary-totals__row--grand .kitup-cart-summary-totals__value {
    font-size: 20px !important;
    font-weight: 700 !important;
}

html body.checkout-cart-index .cart-summary .kitup-cart-summary-items__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 6px 0 16px;
    border: 0;
}

html body.checkout-cart-index .cart-summary #block-shipping,
html body.checkout-cart-index .cart-summary .block.shipping {
    display: none !important;
}

html body.checkout-cart-index .cart-summary .cart-totals {
    padding: 0;
    border: 0;
}

html body.checkout-cart-index .cart-summary .cart-totals .table-wrapper {
    padding: 0;
    margin: 0;
}

html body.checkout-cart-index .cart-summary .table.totals {
    width: 100%;
    display: block;
}

html body.checkout-cart-index .cart-summary .table.totals tbody {
    display: block;
    width: 100%;
}

html body.checkout-cart-index .cart-summary .table.totals .table-caption,
html body.checkout-cart-index .cart-summary .cart-totals .table-caption {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

html body.checkout-cart-index .cart-summary .table.totals,
html body.checkout-cart-index .cart-summary .totals tbody > tr > th,
html body.checkout-cart-index .cart-summary .totals tbody > tr > td,
html body.checkout-cart-index .cart-summary .totals .amount,
html body.checkout-cart-index .cart-summary .totals .amount .price,
html body.checkout-cart-index .cart-summary .totals .amount strong,
html body.checkout-cart-index .cart-summary .totals .amount strong span,
html body.checkout-cart-index .cart-summary .totals .mark,
html body.checkout-cart-index .cart-summary .totals .mark strong,
html body.checkout-cart-index .cart-summary .cart-totals .price {
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    font-family: var(--kitup-cart-font) !important;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
}

html body.checkout-cart-index .cart-summary .totals tbody > tr {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 8px 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

html body.checkout-cart-index .cart-summary .totals tbody > tr.grand {
    border-bottom: 0;
}

html body.checkout-cart-index .cart-summary .totals tbody > tr > th.mark {
    flex: 1;
    min-width: 0;
    font-weight: 400;
    text-align: left !important;
    padding: 0 !important;
    display: block;
}

html body.checkout-cart-index .cart-summary .totals tbody > tr > td.amount {
    flex-shrink: 0;
    text-align: right !important;
    white-space: nowrap;
    padding: 0 !important;
    display: block;
}

html body.checkout-cart-index .cart-summary .totals .grand .mark,
html body.checkout-cart-index .cart-summary .totals .grand .amount,
html body.checkout-cart-index .cart-summary .totals .grand .amount .price,
html body.checkout-cart-index .cart-summary .totals .grand .amount strong,
html body.checkout-cart-index .cart-summary .totals .grand .amount strong span {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding-top: 12px;
}

html body.checkout-cart-index .cart-summary .totals .grand {
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    margin-top: 10px;
    padding-top: 4px;
}

html body.checkout-cart-index .cart-summary .totals .grand strong {
    font-weight: 700 !important;
    color: #ffffff !important;
}

html body.checkout-cart-index .cart-summary .checkout-methods-items {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

html body.checkout-cart-index .cart-summary .checkout-methods-items .item {
    margin: 0;
}

html body.checkout-cart-index .cart-summary .action.primary.checkout {
    width: 100%;
    display: block;
    font-family: var(--kitup-cart-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: var(--kitup-cart-mint-figma) !important;
    color: #000000 !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    min-height: 48px;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    margin-top: 16px;
}

html body.checkout-cart-index .cart-summary .action.primary.checkout span {
    color: #000000 !important;
}

html body.checkout-cart-index .cart-summary .action.primary.checkout:hover {
    background: var(--kitup-cart-mint-hover) !important;
    color: #000000 !important;
}

html body.checkout-cart-index .kitup-cart-payments {
    margin-top: 14px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
}

html body.checkout-cart-index #cart-totals {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-payments__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

html body.checkout-cart-index .kitup-cart-payments__item svg {
    display: block;
    height: 22px;
    width: auto;
}

/* Hide duplicate coupon inside summary if still present */
html body.checkout-cart-index .cart-summary .block.discount,
html body.checkout-cart-index .cart-summary #block-discount {
    display: none !important;
}

/* ─── Discount code (below summary, right column) ─── */
html body.checkout-cart-index .cart-container > .kitup-cart-discount,
html body.checkout-cart-index .cart-container > #block-discount {
    background: transparent;
    border: 0;
    margin: 0 !important;
    padding: 0;
}

html body.checkout-cart-index .kitup-cart-discount .title,
html body.checkout-cart-index .cart-container > #block-discount .title {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-discount .content,
html body.checkout-cart-index .cart-container > #block-discount .content {
    display: block !important;
    padding: 0;
}

html body.checkout-cart-index .kitup-cart-discount .fieldset.coupon,
html body.checkout-cart-index .cart-container > #block-discount .fieldset.coupon {
    display: block;
    margin: 0;
    padding: 0;
}

html body.checkout-cart-index .kitup-cart-discount-control {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--kitup-cart-border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

html body.checkout-cart-index .kitup-cart-discount-control .field {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

html body.checkout-cart-index .kitup-cart-discount-control .field .control {
    margin: 0;
    padding: 0;
}

html body.checkout-cart-index .kitup-cart-discount .fieldset.coupon .field .label,
html body.checkout-cart-index .cart-container > #block-discount .fieldset.coupon .field .label {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-discount-control .actions-toolbar {
    margin: 0 !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: stretch !important;
    float: none !important;
    width: auto !important;
}

html body.checkout-cart-index .kitup-cart-discount-control .actions-toolbar::before,
html body.checkout-cart-index .kitup-cart-discount-control .actions-toolbar::after {
    display: none !important;
    content: none !important;
}

html body.checkout-cart-index .cart-container > #block-discount #coupon_code,
html body.checkout-cart-index .kitup-cart-discount-control #coupon_code {
    width: 100% !important;
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-family: var(--kitup-cart-font) !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

html body.checkout-cart-index .cart-container > #block-discount .actions-toolbar {
    margin: 0;
    flex-shrink: 0;
}

html body.checkout-cart-index .cart-container > #block-discount .actions-toolbar .primary {
    margin: 0;
}

html body.checkout-cart-index .kitup-cart-discount-control .action.apply.primary,
html body.checkout-cart-index .kitup-cart-discount-control .action.cancel.primary,
html body.checkout-cart-index .cart-container > #block-discount .action.apply.primary,
html body.checkout-cart-index .kitup-cart-discount .action.apply.primary {
    min-height: 48px !important;
    height: 100% !important;
    border-radius: 0 !important;
    padding: 12px 24px !important;
    font-family: var(--kitup-cart-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: var(--kitup-cart-mint-figma) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-left: 1px solid var(--kitup-cart-border) !important;
    text-transform: none !important;
}

html body.checkout-cart-index .kitup-cart-discount-control .action.apply.primary span,
html body.checkout-cart-index .cart-container > #block-discount .action.apply.primary span,
html body.checkout-cart-index .kitup-cart-discount .action.apply.primary span {
    color: #ffffff !important;
}

html body.checkout-cart-index .cart-container > #block-discount .action.apply.primary:hover {
    background: var(--kitup-cart-mint-hover) !important;
}

/* ─── Recommended Products (Figma carousel) ─── */
html body.checkout-cart-index .kitup-cart-recommended {
    font-family: var(--kitup-cart-font);
    background: transparent;
}

html body.checkout-cart-index .kitup-cart-recommended__container {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

html body.checkout-cart-index .kitup-cart-recommended__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 28px;
}

html body.checkout-cart-index .kitup-cart-recommended__header-text {
    flex: 1 1 280px;
    min-width: 0;
}

html body.checkout-cart-index .kitup-cart-recommended__title {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--kitup-cart-heading);
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__description {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--kitup-cart-muted);
    max-width: 52ch;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__view-all {
    color: #000000;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--kitup-cart-font) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
}

html body.checkout-cart-index .kitup-cart-recommended__view-all:hover {
    background: #f9fafb;
    color: #000000;
    text-decoration: none;
}

html body.checkout-cart-index .kitup-cart-recommended__carousel-outer {
    width: 100%;
    box-sizing: border-box;
    direction: ltr;
}

html body.checkout-cart-index .kitup-cart-recommended__owl.owl-carousel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
    overflow: visible !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-item {
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    float: left !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .item {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

html body.checkout-cart-index .kitup-cart-recommended__card {
    background: #ffffff;
    border: 1px solid var(--kitup-cart-border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

html body.checkout-cart-index .kitup-cart-recommended__image-link {
    display: block;
    background: #ffffff;
    padding: 16px;
    text-align: center;
    box-sizing: border-box;
}

html body.checkout-cart-index .kitup-cart-recommended__image {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 200px;
    margin: 0 auto;
    object-fit: contain;
    vertical-align: middle;
}

html body.checkout-cart-index .kitup-cart-recommended__body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
    text-align: left;
}

html body.checkout-cart-index .kitup-cart-recommended__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__name:hover {
    color: var(--kitup-cart-navy);
}

html body.checkout-cart-index .kitup-cart-recommended__sku {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.3;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__price,
html body.checkout-cart-index .kitup-cart-recommended__price .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-top: 4px;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__price .price-label {
    display: none !important;
}

html body.checkout-cart-index .kitup-cart-recommended__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 10px !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-view {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    background: var(--kitup-cart-mint-figma) !important;
    color: #000000 !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
    font-family: var(--kitup-cart-font) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-view:hover {
    background: var(--kitup-cart-mint-hover) !important;
    color: #000000 !important;
    text-decoration: none !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-icon-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--kitup-cart-mint-figma) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-icon-cart:hover {
    background: var(--kitup-cart-mint-hover) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-icon-cart svg {
    display: block !important;
}

html body.checkout-cart-index .kitup-cart-recommended__btn-icon-cart::before,
html body.checkout-cart-index .kitup-cart-recommended__btn-icon-cart::after {
    display: none !important;
    content: none !important;
}

/* Owl: progress segments + nav arrows */
html body.checkout-cart-index .kitup-cart-recommended__owl .owl-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding-top: 4px !important;
    clear: both !important;
    position: relative !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-pagination {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-page span {
    display: block !important;
    width: 40px !important;
    min-width: 24px !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 2px !important;
    background: #d1d5db !important;
    opacity: 1 !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-page.active span {
    background: var(--kitup-cart-mint-figma) !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-buttons {
    position: static !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 0 auto !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-buttons .owl-prev,
html body.checkout-cart-index .kitup-cart-recommended__owl .owl-buttons .owl-next {
    width: 44px !important;
    height: 44px !important;
    background: #e8eae8 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    cursor: pointer !important;
}

html body.checkout-cart-index .kitup-cart-recommended__owl .owl-buttons .owl-prev:before,
html body.checkout-cart-index .kitup-cart-recommended__owl .owl-buttons .owl-next:before {
    display: none !important;
    content: none !important;
}

html body.checkout-cart-index .kitup-cart-recommended__nav {
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: #374151 !important;
}

/* RTL */
html[dir="rtl"] body.checkout-cart-index .kitup-cart-item-cell {
    flex-direction: row-reverse;
}

html[dir="rtl"] body.checkout-cart-index .kitup-cart-discount-control {
    flex-direction: row-reverse;
}

html[dir="rtl"] body.checkout-cart-index .kitup-cart-qty-stepper {
    flex-direction: row-reverse;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
    html body.checkout-cart-index .cart-container {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "kitup-cart-main"
            "kitup-cart-side"
            "kitup-cart-coupon" !important;
        gap: 24px !important;
    }

    html body.checkout-cart-index .cart-container .cart-summary,
    html body.checkout-cart-index .cart-container > #block-discount {
        max-width: 100% !important;
    }

    html body.checkout-cart-index table.cart.items thead {
        display: none;
    }

    html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info {
        display: block;
        border-bottom: 1px solid var(--kitup-cart-border);
        padding-bottom: 8px;
    }

    html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td {
        display: block;
        text-align: left !important;
        padding: 8px 0;
        border: 0;
    }

    html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td::before {
        content: attr(data-th) ": ";
        font-weight: 600;
        color: var(--kitup-cart-muted);
    }

    html body.checkout-cart-index table.cart.items tbody.cart.item tr.item-info td.col.item::before {
        display: none;
    }

    html body.checkout-cart-index .kitup-cart-item-cell {
        flex-direction: column;
    }

    html body.checkout-cart-index .product-item-photo {
        margin-bottom: 0;
    }
}
