/* Desktop cart composition: products first on the left, decision summary on
   the right. The DOM order remains compatible with the legacy PrestaShop
   cart refresh; CSS controls the customer's reading order. */
@media (min-width: 992px) {
    #order-detail-content.cart-preview-v2 #cart_summary {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
        gap: 18px;
        align-items: start;
        border-spacing: 0;
    }
    #order-detail-content.cart-preview-v2 #cart_summary thead {
        display: none !important;
    }
    #order-detail-content.cart-preview-v2 #cart_summary tbody {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }
    #order-detail-content.cart-preview-v2 #cart_summary tfoot {
        grid-column: 2;
        grid-row: 1;
        position: sticky;
        top: 18px;
        min-width: 0;
        margin: 0;
        padding: 12px 18px 16px;
    }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item {
        grid-template-columns: 88px minmax(0, 1fr) 118px 112px;
        grid-template-rows: auto auto auto;
        min-height: 138px;
        padding: 12px;
    }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product { grid-column: 1; grid-row: 1 / span 3; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_description { grid-column: 2; grid-row: 1 / span 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_avail { grid-column: 3; grid-row: 1; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_unit { grid-column: 3; grid-row: 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_quantity { grid-column: 4; grid-row: 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_delete { grid-column: 3; grid-row: 3; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_total { grid-column: 4; grid-row: 1; }
}

@media (max-width: 991px) {
    #order-detail-content.cart-preview-v2 #cart_summary {
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }
    #order-detail-content.cart-preview-v2 #cart_summary thead { display: none !important; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody { order: 1; }
    #order-detail-content.cart-preview-v2 #cart_summary tfoot { order: 2; position: static; }
}

/* Private cart redesign v3: preserve the original hooks/IDs while rendering
   the cart as responsive product cards and a chronological summary. */
#order-detail-content.cart-preview-v2 {
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 28px;
    color: #202124;
}
#order-detail-content.cart-preview-v2 .cart-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin: 28px 0 12px;
    padding: 0 4px;
}
#order-detail-content.cart-preview-v2 .cart-section-kicker {
    display: block;
    margin-bottom: 5px;
    color: #a20b00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}
#order-detail-content.cart-preview-v2 .cart-products-heading h2 {
    margin: 0;
    color: #242424;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.15;
}
#order-detail-content.cart-preview-v2 .cart-products-count {
    color: #6b6b6b;
    font-size: 14px;
    font-weight: 800;
}
#order-detail-content.cart-preview-v2 #cart_summary {
    display: block;
    width: 100%;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 9px;
    background: transparent;
}
#order-detail-content.cart-preview-v2 #cart_summary thead,
#order-detail-content.cart-preview-v2 #cart_summary tbody,
#order-detail-content.cart-preview-v2 #cart_summary tfoot {
    display: block;
    width: 100%;
}
#order-detail-content.cart-preview-v2 #cart_summary thead tr {
    display: grid;
    grid-template-columns: minmax(285px, 2.2fr) minmax(180px, 1fr) 125px 125px 36px 130px;
    align-items: center;
    min-height: 46px;
    padding: 0 17px;
    border-radius: 10px;
    background: #292929;
}
#order-detail-content.cart-preview-v2 #cart_summary thead th {
    display: block;
    padding: 0 8px;
    border: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item {
    display: grid;
    grid-template-columns: 105px minmax(280px, 2.2fr) minmax(180px, 1fr) 125px 125px 36px 130px;
    align-items: center;
    min-height: 138px;
    margin: 0 0 9px;
    padding: 12px 17px;
    border: 1px solid #e3e3e3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(28, 31, 35, .07);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item:hover {
    border-color: #d2b93d;
    box-shadow: 0 8px 22px rgba(28, 31, 35, .11);
    transform: translateY(-1px);
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item > td {
    display: block;
    width: auto;
    padding: 0 8px;
    border: 0;
    background: transparent;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product {
    grid-column: 1;
    grid-row: 1;
    padding-left: 0;
    text-align: center;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 10px;
    background: #f7f7f7;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_description { grid-column: 2; grid-row: 1; min-width: 0; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .product-name {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .product-name a { color: #1d1d1d; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_ref,
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_description > small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
}
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_avail { grid-column: 3; grid-row: 1; text-align: center; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_unit { grid-column: 4; grid-row: 1; text-align: right; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_quantity { grid-column: 5; grid-row: 1; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_delete { grid-column: 6; grid-row: 1; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_total { grid-column: 7; grid-row: 1; text-align: right; }
#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_total .price { color: #a20b00; font-size: 19px; font-weight: 900; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot {
    margin-top: 16px;
    padding: 0 22px 18px;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(28, 31, 35, .06);
}
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid #eee;
}
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr > td {
    display: block;
    width: auto;
    padding: 12px 0;
    border: 0;
    background: transparent;
}
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr > td.text-right { grid-column: 1; color: #555; font-size: 14px; font-weight: 800; text-align: right; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr > td.price,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr > td.price-discount { grid-column: 2; color: #a20b00; font-size: 17px; font-weight: 900; text-align: right; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr > td.hmobil,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount > td:first-child,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .cart_discount_pricen,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .cart_discount_delete,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .price_discount_del { display: none; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .cart_discount_name { grid-column: 1; color: #a20b00; font-weight: 900; text-align: left; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .cart_discount_price { grid-column: 2; color: #a20b00; font-size: 17px; font-weight: 900; text-align: right; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping { min-height: 82px; border-top: 2px solid #a20b00; border-bottom: 0; background: #fffdf2; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping td { padding-top: 18px; padding-bottom: 18px; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping .total_price_container { color: #a20b00; font-size: 18px; font-weight: 900; }
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping #total_price_container { font-size: 27px; }
#order-detail-content.cart-preview-v2 .cart_navigation { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 12px; margin-top: 18px; }
#order-detail-content.cart-preview-v2 .cart_navigation .button-order-elz { min-width: 250px; padding: 15px 22px; border: 0; border-radius: 9px; background: #19820f; color: #fff; font-size: 17px; font-weight: 900; text-align: center; box-shadow: 0 6px 14px rgba(25, 130, 15, .24); }
#order-detail-content.cart-preview-v2 .cart_navigation .btn-cancel-elz { padding: 15px 18px; border: 0; color: #666; font-weight: 800; }
@media (max-width: 850px) {
    #order-detail-content.cart-preview-v2 #cart_summary thead { display: none; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item { grid-template-columns: 82px minmax(0, 1fr) 115px; grid-template-rows: auto auto; min-height: 0; padding: 12px; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product { grid-column: 1; grid-row: 1 / span 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_description { grid-column: 2 / span 2; grid-row: 1; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_avail { grid-column: 2; grid-row: 2; text-align: left; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_unit { grid-column: 3; grid-row: 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_quantity { grid-column: 2; grid-row: 3; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_delete { grid-column: 3; grid-row: 3; text-align: right; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_total { grid-column: 3; grid-row: 1; }
    #order-detail-content.cart-preview-v2 #cart_summary tfoot { padding: 0 13px 12px; }
}
@media (max-width: 520px) {
    #order-detail-content.cart-preview-v2 .cart-products-heading { align-items: start; flex-direction: column; }
    #order-detail-content.cart-preview-v2 .cart-products-heading h2 { font-size: 21px; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item { grid-template-columns: 70px minmax(0, 1fr); }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product { grid-column: 1; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_product img { width: 64px; height: 64px; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_description { grid-column: 2; }
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_avail,
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_unit,
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_quantity,
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_delete,
    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart_item .cart_total { grid-column: 2; text-align: left; }
    #order-detail-content.cart-preview-v2 #cart_summary tfoot tr { grid-template-columns: minmax(0, 1fr) auto; }
    #order-detail-content.cart-preview-v2 .cart_navigation { flex-direction: column; }
    #order-detail-content.cart-preview-v2 .cart_navigation .button-order-elz { width: 100%; }
}

/* Private cart preview: presentation only, business logic unchanged. */
.cart-modern-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: center;
    margin: 18px 0 22px;
    padding: 28px 30px;
    border-radius: 14px;
    background: #171717;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .14);
}

.cart-modern-copy { max-width: 600px; }

.cart-modern-eyebrow {
    color: #e7c800;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cart-modern-copy h2 {
    margin: 8px 0 9px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.02em;
}

.cart-modern-copy p {
    max-width: 520px;
    margin: 0;
    color: #d1d1d1;
    font-size: 15px;
    line-height: 1.45;
}

.cart-modern-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cart-modern-meta span:before {
    margin-right: 6px;
    color: #e7c800;
    content: '✓';
}

.cart-modern-total {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    color: #1a1a1a;
    text-align: center;
}

.cart-modern-total-label {
    display: block;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cart-modern-total strong {
    display: block;
    margin: 7px 0;
    color: #a20b00;
    font-size: 34px;
    line-height: 1;
}

.cart-modern-saving,
.cart-modern-delivery {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.cart-modern-saving { color: #a20b00; }
.cart-modern-delivery { margin-top: 6px; color: #237218; }

.cart-modern-cta {
    display: block;
    margin-top: 15px;
    padding: 13px 15px;
    border-radius: 6px;
    background: #a20b00;
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    transition: background .15s ease, transform .15s ease;
}

.cart-modern-cta:hover,
.cart-modern-cta:focus {
    background: #c31308;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.cart-modern-cta i { margin-left: 7px; }

.cart-reading-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 20px;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
}

.cart-reading-timeline > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.cart-reading-timeline b {
    color: #aaa;
    font-size: 11px;
}

.cart-reading-timeline strong { font-weight: 800; }

.cart-reading-timeline .cart-reading-current {
    color: #1f1f1f;
}

.cart-reading-timeline .cart-reading-current b {
    color: #a20b00;
}

.cart-reading-timeline i {
    color: #cfcfcf;
    font-size: 10px;
}

#order-detail-content.cart-preview-v2 > .message-order {
    margin: 0;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
    line-height: 1.35;
}

#order-detail-content.cart-preview-v2 > .message-order p {
    margin: 3px 0;
}

#order-detail-content.cart-preview-v2 .discount-flash {
    display: block;
    margin: 0 auto 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* The original discount rows are retained for AJAX/business logic but the
   preview presents one readable chronological summary. */
#order-detail-content.cart-preview-v2 #cart_summary tr.cart_total_products_preview {
    display: none !important;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_priceww,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_voucher1,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping {
    display: table-row !important;
}

/* The generic promotion total is kept in the DOM for the existing AJAX
   refresh, but the promotion is already shown by the original dynamic
   discount row just above the final total. */
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_promotion_preview {
    display: none !important;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_priceww td,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_voucher1 td,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping td {
    padding-top: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid #ededed;
    background: #fff;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_priceww td.text-right,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_voucher1 td.text-right,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount td.text-right {
    color: #383838;
    font-size: 15px;
    font-weight: 800;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_voucher1 .price,
#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .price {
    color: #a20b00;
    font-weight: 900;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount td {
    padding-top: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid #ededed;
    background: #fff;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_discount .cart_discount_name {
    color: #a20b00;
    font-weight: 800;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_with_shipping td {
    border-top: 2px solid #a20b00;
    border-bottom: 0;
    background: #fffdf4;
}

#order-detail-content.cart-preview-v2 #boosterRow td.qbooster {
    border: 1px solid #eadfce;
    border-radius: 10px;
    background: #fffaf4;
    color: #282828;
    font-size: 15px;
    text-align: center;
}

#order-detail-content.cart-preview-v2 #boosterRow #showBoosterOptions,
#order-detail-content.cart-preview-v2 #boosterRow #hideBoosterRow {
    display: inline-block;
    min-width: 58px;
    margin: 8px 2px 0;
    padding: 7px 12px;
    border-radius: 5px;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

#order-detail-content.cart-preview-v2 #boosterRow #showBoosterOptions { background: #1d6b08; }
#order-detail-content.cart-preview-v2 #boosterRow #hideBoosterRow { background: #a20b00; }

#order-detail-content.cart-preview-v2 #boosterOptions {
    padding: 12px;
}

#order-detail-content.cart-preview-v2 #boosterOptions > div {
    padding: 9px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

#HOOK_SHOPPING_CART {
    margin-top: 20px;
}

.cart-decision-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .9fr);
    gap: 24px;
    align-items: stretch;
    margin: 18px 0 20px;
    padding: 24px;
    border: 1px solid #eadf8a;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffef2 0%, #fff8bc 100%);
    box-shadow: 0 8px 24px rgba(92, 70, 0, .12);
}

.cart-decision-message {
    align-self: center;
    padding: 4px 8px;
}

.cart-decision-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #1d6b08;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cart-decision-message h2 {
    margin: 0 0 8px;
    color: #292929;
    font-size: 27px;
    line-height: 1.15;
}

.cart-decision-message p {
    max-width: 560px;
    margin: 0;
    color: #4c4c4c;
    font-size: 16px;
    line-height: 1.45;
}

.cart-decision-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
    color: #246218;
    font-size: 13px;
    font-weight: 800;
}

.cart-decision-summary {
    padding: 18px;
    border: 1px solid rgba(111, 84, 0, .18);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
}

.cart-decision-line,
.cart-decision-final {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.cart-decision-line {
    padding: 4px 0;
    color: #626262;
    font-size: 14px;
}

.cart-decision-old-price {
    color: #666;
    font-weight: 700;
    text-decoration: line-through;
}

.cart-decision-savings {
    color: #9b0900;
    font-weight: 800;
}

.cart-decision-savings strong {
    font-size: 17px;
}

.cart-decision-final {
    margin: 12px -4px 8px;
    padding: 13px 10px;
    border-top: 1px solid #eee2a4;
    border-bottom: 1px solid #eee2a4;
    color: #252525;
    font-size: 17px;
    font-weight: 800;
}

.cart-decision-final strong {
    color: #9b0900;
    font-size: 28px;
    line-height: 1;
}

.cart-decision-shipping {
    margin: 10px 0 13px;
    color: #1d6b08;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.cart-decision-cta {
    display: block;
    padding: 14px 18px;
    border-radius: 8px;
    background: #197b12;
    box-shadow: 0 5px 12px rgba(25, 123, 18, .25);
    color: #fff !important;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.cart-decision-cta:hover,
.cart-decision-cta:focus {
    background: #125b0d;
    box-shadow: 0 7px 16px rgba(25, 123, 18, .32);
    text-decoration: none;
    transform: translateY(-1px);
}

.cart-decision-cta i {
    margin-left: 7px;
    font-size: 16px;
}

.cart-decision-secure {
    display: block;
    margin-top: 9px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

#cart_title {
    letter-spacing: .01em;
}

#cart_title .heading-counter {
    color: #777;
    font-size: 14px;
    font-weight: 700;
}

#order_step {
    margin-bottom: 18px;
}

#order-detail-content.cart-preview-v2 {
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: #f7f7f7;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .09);
}

#order-detail-content.cart-preview-v2 #cart_summary {
    border-collapse: separate;
    border-spacing: 0 7px;
    background: transparent;
}

#order-detail-content.cart-preview-v2 #cart_summary thead th {
    padding: 12px 10px;
    border: 0;
    background: #383838;
    color: #fff;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#order-detail-content.cart-preview-v2 #cart_summary thead th:first-child {
    border-radius: 9px 0 0 9px;
}

#order-detail-content.cart-preview-v2 #cart_summary thead th:last-child {
    border-radius: 0 9px 9px 0;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    background: #fff !important;
    vertical-align: middle;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td:first-child {
    border-left: 1px solid #e6e6e6;
    border-radius: 10px 0 0 10px;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td:last-child {
    border-right: 1px solid #e6e6e6;
    border-radius: 0 10px 10px 0;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview:hover td {
    background: #fffdf2 !important;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_product img {
    max-width: 82px;
    border-radius: 8px;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_description .product-name a {
    color: #252525;
    font-size: 15px;
    line-height: 1.3;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_description small {
    color: #666;
    font-size: 12px;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_avail span.label-success {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: #207a18;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_unit ul.price li.price {
    color: #9b0900;
    font-weight: 800;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_total .price {
    font-size: 19px;
    color: #9b0900;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_quantity .cart_quantity_input {
    min-height: 32px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
}

#order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_quantity .cart_quantity_button .btn {
    min-width: 27px;
    border-radius: 5px;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr td {
    background: #fff;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_price:last-child td {
    border-top: 2px solid #e8d75d;
    border-bottom: 2px solid #e8d75d;
    background: #fffbe0;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_price:last-child td:first-child {
    border-left: 2px solid #e8d75d;
    border-radius: 10px 0 0 10px;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_price:last-child td:last-child {
    border-right: 2px solid #e8d75d;
    border-radius: 0 10px 10px 0;
}

#order-detail-content.cart-preview-v2 #cart_summary tfoot tr.cart_total_price:last-child td#total_price_container {
    box-shadow: none;
    background: #fffbe0;
    font-size: 26px;
}

#order-detail-content.cart-preview-v2 .cart_navigation {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: center;
    padding: 8px 10px 12px;
}

#order-detail-content.cart-preview-v2 .cart_navigation a {
    width: auto !important;
    min-height: 44px;
    border-radius: 8px;
}

#order-detail-content.cart-preview-v2 .cart_navigation a.standard-checkout {
    flex: 1 1 auto;
    background: #177b13;
    box-shadow: 0 4px 10px rgba(23, 123, 19, .2);
}

#order-detail-content.cart-preview-v2 .cart_navigation a.btn-cancel-elz {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .cart-reading-timeline {
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        padding: 0 4px 3px;
        font-size: 9px;
    }

    .cart-reading-timeline > span { gap: 4px; }
    .cart-reading-timeline > span:nth-of-type(n+3),
    .cart-reading-timeline > i:nth-of-type(n+2) { display: none; }

    .cart-modern-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 12px;
        padding: 21px 18px;
    }

    .cart-modern-copy h2 { font-size: 29px; }
    .cart-modern-total strong { font-size: 31px; }

    .cart-decision-panel {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 12px;
        padding: 16px;
    }

    .cart-decision-message h2 {
        font-size: 22px;
    }

    .cart-decision-message p {
        font-size: 14px;
    }

    .cart-decision-trust {
        display: block;
        margin-top: 12px;
    }

    .cart-decision-trust span {
        display: block;
        margin-top: 4px;
    }

    #order-detail-content.cart-preview-v2 {
        margin-right: -5px;
        margin-left: -5px;
        border-radius: 10px;
    }

    #order-detail-content.cart-preview-v2 #cart_summary {
        border-spacing: 0 5px;
    }

    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td {
        border-top: 0;
        border-bottom: 0;
    }

    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td:first-child {
        border-left: 0;
    }

    #order-detail-content.cart-preview-v2 #cart_summary tbody tr.cart-item-preview td:last-child {
        border-right: 0;
    }

    #order-detail-content.cart-preview-v2 #cart_summary tbody td.cart_product img {
        max-width: 72px;
    }

    #order-detail-content.cart-preview-v2 .cart_navigation {
        flex-direction: column;
        align-items: stretch;
    }

    #order-detail-content.cart-preview-v2 .cart_navigation a {
        width: 100% !important;
        text-align: center;
    }
}
