/* CC VIRTUEMART CART REDESIGN — v1.0.10 */

.cc-cart-page {
    padding-bottom: 70px;
    font-family: "Inter", "Lato", Helvetica, Arial, sans-serif;
}

.cc-cart-page .cc-cart-main {
    position: relative;
    z-index: 10;
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 44px 0 10px;
    background: #fff;
}

.cc-cart-page .cc-cart-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 26px;
}

.cc-cart-page .cc-cart-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #5d706c;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-heading-row h2 {
    margin: 0 !important;
    color: #052b29 !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em;
}

.cc-cart-page .cc-cart-continue a,
.cc-cart-page a.continue_link,
.cc-cart-page .vm-continue-shopping a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 19px !important;
    border: 1px solid #cfd9d6 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #062b29 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.cc-cart-page .cc-cart-continue a::before,
.cc-cart-page a.continue_link::before {
    content: "\f060";
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.cc-cart-page .cc-cart-login-panel,
.cc-cart-page .cc-cart-shopper-switch {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid #e3e9e7;
    border-radius: 14px;
    background: #f7f9f8;
    color: #344a47;
    font-size: 14px;
}

.cc-cart-page .cc-cart-login-panel form,
.cc-cart-page .cc-cart-shopper-switch form {
    margin: 0 !important;
}

.cc-cart-page .cc-cart-login-panel input[type="text"],
.cc-cart-page .cc-cart-login-panel input[type="password"],
.cc-cart-page .cc-cart-shopper-switch input,
.cc-cart-page .cc-cart-shopper-switch select {
    min-height: 42px;
    border: 1px solid #d8e1df !important;
    border-radius: 10px !important;
    background: #fff !important;
}

/* Address cards ------------------------------------------------------- */
.cc-cart-page .cc-cart-address-section {
    margin-bottom: 22px;
}

.cc-cart-page .cc-cart-address-grid,
.cc-cart-page .billto-shipto.cc-cart-address-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
}

.cc-cart-page .cc-cart-address-grid > .cc-cart-address-card {
    position: relative;
    width: auto !important;
    min-height: 182px;
    float: none !important;
    padding: 22px 22px 20px;
    border: 1px solid #e2e9e6;
    border-radius: 18px;
    background: #fff;
}

.cc-cart-page .cc-cart-address-card-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.cc-cart-page .cc-cart-address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #effbd9;
    color: #4b7500;
    font-size: 17px;
}

.cc-cart-page .cc-cart-address-kicker {
    display: block;
    margin-bottom: 2px;
    color: #81908d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-address-card h3 {
    margin: 0 !important;
    color: #062b29 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.cc-cart-page .cc-cart-address-content {
    min-height: 48px;
    margin: 0 0 16px;
    color: #536562;
    font-size: 14px;
    line-height: 1.65;
}

.cc-cart-page .cc-cart-address-content .values,
.cc-cart-page .cc-cart-address-content span[class*="values"] {
    color: #536562;
}

.cc-cart-page .cc-cart-same-address {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-cart-page .cc-cart-edit-link,
.cc-cart-page .cc-cart-address-card a.details {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: #0b563f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Price list / items -------------------------------------------------- */
.cc-cart-page .cc-cart-items-section {
    margin-bottom: 22px;
}

.cc-cart-page .cc-cart-pricelist,
.cc-cart-page .vm-fieldset-pricelist {
    display: block;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    border: 1px solid #e2e9e6 !important;
    border-radius: 18px;
    background: #fff;
}

.cc-cart-page .cc-cart-summary-table,
.cc-cart-page table.cart-summary {
    width: 100% !important;
    min-width: 900px;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff;
    color: #213735;
    font-size: 13px;
}

.cc-cart-page table.cart-summary th {
    padding: 15px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e9e6 !important;
    background: #f6f8f7 !important;
    color: #687975 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-align: left !important;
    text-transform: uppercase;
    vertical-align: middle !important;
}

.cc-cart-page table.cart-summary td {
    padding: 17px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f0 !important;
    background: #fff !important;
    color: #354a47 !important;
    vertical-align: middle !important;
}

.cc-cart-page table.cart-summary tr:last-child td {
    border-bottom: 0 !important;
}

.cc-cart-page table.cart-summary .cart-images {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-right: 14px;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f6f5;
    vertical-align: middle;
}

.cc-cart-page table.cart-summary .cart-images img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
}

.cc-cart-page table.cart-summary .vm-cart-item-name > a {
    display: inline-block;
    max-width: 260px;
    color: #052b29 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.35;
    text-decoration: none !important;
    vertical-align: middle;
}

.cc-cart-page table.cart-summary .vm-cart-item-sku {
    color: #7a8986 !important;
}

.cc-cart-page table.cart-summary .product-price,
.cc-cart-page table.cart-summary .PricebasePriceVariant,
.cc-cart-page table.cart-summary .PricediscountedPriceWithoutTax,
.cc-cart-page table.cart-summary .PricesalesPrice,
.cc-cart-page table.cart-summary strong {
    color: #052b29 !important;
    font-weight: 750 !important;
}

.cc-cart-page table.cart-summary .line-through {
    color: #9aa6a3 !important;
    font-size: 11px;
}

.cc-cart-page table.cart-summary .quantity-input {
    width: 52px !important;
    height: 38px !important;
    margin: 0 5px 0 0 !important;
    padding: 0 7px !important;
    border: 1px solid #d8e1df !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #052b29 !important;
    font-size: 13px !important;
    text-align: center !important;
    box-shadow: none !important;
}

.cc-cart-page table.cart-summary button.vmicon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    margin: 0 3px !important;
    padding: 0 !important;
    border: 1px solid #d8e1df !important;
    border-radius: 9px !important;
    background: #fff !important;
    background-image: none !important;
    color: #48605c !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    font-size: 0 !important;
}

.cc-cart-page table.cart-summary button.vmicon::before {
    font-family: "Font Awesome 6 Free";
    font-size: 13px;
    font-weight: 900;
}

.cc-cart-page table.cart-summary button.vm2-add_quantity_cart::before {
    content: "\f2f1";
}

.cc-cart-page table.cart-summary button.vm2-remove_from_cart::before {
    content: "\f2ed";
    color: #b24646;
}

.cc-cart-page table.cart-summary h3 {
    margin: 0 0 8px !important;
    color: #052b29 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}

.cc-cart-page table.cart-summary hr {
    border: 0 !important;
    border-top: 1px solid #e6ecea !important;
}

.cc-cart-page table.cart-summary .sectiontableentry2 td,
.cc-cart-page table.cart-summary tr.sectiontableentry2 td {
    background: #fbfcfb !important;
}

/* Coupon -------------------------------------------------------------- */
.cc-cart-page .cc-cart-coupon {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 520px;
    padding: 3px 0;
}

.cc-cart-page .cc-cart-coupon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    background: #effbd9;
    color: #4b7500;
}

.cc-cart-page .cc-cart-coupon-fields {
    flex: 1;
}

.cc-cart-page .cc-cart-coupon-fields label {
    display: block;
    margin-bottom: 6px;
    color: #657773;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-coupon-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.cc-cart-page .cc-cart-coupon input.coupon {
    min-width: 220px;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #d8e1df !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.cc-cart-page .cc-cart-coupon-button,
.cc-cart-page .cc-cart-coupon button {
    min-width: 84px;
    height: 40px !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #052b29 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    text-transform: none !important;
}

/* Final notes + checkout --------------------------------------------- */
.cc-cart-page .cc-cart-final-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
    margin-top: 22px;
}

.cc-cart-page .cc-cart-fields-wrap,
.cc-cart-page .cc-cart-checkout-wrap {
    padding: 22px;
    border: 1px solid #e2e9e6;
    border-radius: 18px;
    background: #fff;
}

.cc-cart-page .cc-cart-fields-wrap fieldset {
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

.cc-cart-page .cc-cart-fields-wrap fieldset:last-child {
    margin-bottom: 0 !important;
}

.cc-cart-page .cc-cart-fields-wrap .cart > span.cart,
.cc-cart-page .cc-cart-fields-wrap label,
.cc-cart-page .cc-cart-fields-wrap .terms-of-service {
    display: block;
    margin: 0 0 8px;
    color: #203936;
    font-size: 13px;
    font-weight: 700;
}

.cc-cart-page .cc-cart-fields-wrap textarea,
.cc-cart-page .cc-cart-fields-wrap input[type="text"],
.cc-cart-page .cc-cart-fields-wrap input[type="email"],
.cc-cart-page .cc-cart-fields-wrap select {
    width: 100% !important;
    min-height: 44px;
    padding: 11px 12px !important;
    border: 1px solid #d8e1df !important;
    border-radius: 11px !important;
    background: #f9fbfa !important;
    color: #253c39 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.cc-cart-page .cc-cart-fields-wrap textarea {
    min-height: 130px;
    resize: vertical;
}

.cc-cart-page .cc-cart-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 12px;
    color: #7b8986;
    font-size: 12px;
}

.cc-cart-page .checkout-button-top {
    float: none !important;
    margin: 0 !important;
    text-align: center !important;
}

.cc-cart-page .checkout-button-top a,
.cc-cart-page .checkout-button-top button,
.cc-cart-page #checkoutFormSubmit,
.cc-cart-page .vm-button-correct {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #a6e319 !important;
    color: #052b29 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.cc-cart-page .checkout-button-top a::after,
.cc-cart-page #checkoutFormSubmit::after {
    content: "\f061";
    margin-left: 9px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.cc-cart-page .cc-cart-advertise {
    margin: 18px 0;
}

.cc-cart-page input[type="checkbox"],
.cc-cart-page input[type="radio"] {
    accent-color: #a6e319;
}

.cc-cart-page a {
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.cc-cart-page a:hover {
    opacity: .88;
}

/* Remove old float/layout leftovers from JA Charity ------------------ */
.cc-cart-page .width50,
.cc-cart-page .floatleft,
.cc-cart-page .floatright {
    float: none !important;
}

.cc-cart-page .clear {
    clear: both;
}

@media (max-width: 1199px) {
    .cc-cart-page .cc-cart-main {
        width: calc(100% - 40px);
    }
}

@media (max-width: 900px) {
    .cc-cart-page .cc-cart-address-grid,
    .cc-cart-page .billto-shipto.cc-cart-address-grid,
    .cc-cart-page .cc-cart-final-panel {
        grid-template-columns: 1fr;
    }

    .cc-cart-page .cc-cart-checkout-wrap {
        position: static;
    }
}

@media (max-width: 700px) {
    .cc-cart-page .cc-cart-main {
        width: calc(100% - 28px);
        padding-top: 28px;
    }

    .cc-cart-page .cc-cart-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .cc-cart-page .cc-cart-heading-row h2 {
        font-size: 30px !important;
    }

    .cc-cart-page .cc-cart-address-grid > .cc-cart-address-card,
    .cc-cart-page .cc-cart-fields-wrap,
    .cc-cart-page .cc-cart-checkout-wrap {
        padding: 18px;
        border-radius: 15px;
    }

    .cc-cart-page .cc-cart-coupon {
        align-items: flex-start;
    }

    .cc-cart-page .cc-cart-coupon-row {
        flex-direction: column;
    }

    .cc-cart-page .cc-cart-coupon input.coupon,
    .cc-cart-page .cc-cart-coupon-button {
        width: 100% !important;
        min-width: 0;
    }
}

/* ================================================================
   v1.0.10 — responsive cart cards + order summary
   ================================================================ */
.cc-cart-page .cc-cart-main {
    width: min(1400px, calc(100% - 64px)) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cc-cart-page .cc-cart-items-section {
    margin: 0 0 24px !important;
}

.cc-cart-page .cc-cart-pricelist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 15px;
    align-items: start;
    width: 100%;
}

.cc-cart-page .cc-cart-items-card,
.cc-cart-page .cc-cart-summary-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e8e5;
    border-radius: 18px;
    background: #fff;
}

.cc-cart-page .cc-cart-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 20px 22px;
    border-bottom: 1px solid #e8eeec;
    background: #fbfcfb;
}

.cc-cart-page .cc-cart-section-kicker {
    display: block;
    margin: 0 0 3px;
    color: #7d8e8a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-section-head h3 {
    margin: 0 !important;
    color: #052b29 !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
}

.cc-cart-page .cc-cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #effbd9;
    color: #3f6500;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.cc-cart-page .cc-cart-line-items {
    display: block;
}

.cc-cart-page .cc-cart-line-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e8eeec;
    background: #fff;
}

.cc-cart-page .cc-cart-line-item:last-child {
    border-bottom: 0;
}

.cc-cart-page .cc-cart-item-media {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    padding: 10px;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f5f4;
    text-decoration: none !important;
}

.cc-cart-page .cc-cart-item-media img,
.cc-cart-page .cc-cart-item-media .cc-cart-product-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.cc-cart-page .cc-cart-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9eaaa7;
    font-size: 30px;
}

.cc-cart-page .cc-cart-item-info {
    min-width: 0;
}

.cc-cart-page .cc-cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cc-cart-page .cc-cart-item-title {
    display: inline-block;
    margin: 0;
    color: #052b29 !important;
    font-size: 17px !important;
    font-weight: 750 !important;
    line-height: 1.35;
    text-decoration: none !important;
}

.cc-cart-page .cc-cart-item-title:hover {
    color: #4f7b00 !important;
}

.cc-cart-page .cc-cart-item-sku {
    margin-top: 5px;
    color: #87938f;
    font-size: 12px;
    line-height: 1.35;
}

.cc-cart-page .cc-cart-item-total-mobile {
    display: none;
    color: #052b29;
    font-weight: 800;
    white-space: nowrap;
}

.cc-cart-page .cc-cart-item-customfields {
    margin: 10px 0 16px;
    color: #64736f;
    font-size: 13px;
    line-height: 1.55;
}

.cc-cart-page .cc-cart-item-customfields:empty {
    display: none;
}

.cc-cart-page .cc-cart-item-bottom {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(190px, 1fr) minmax(120px, .8fr);
    gap: 12px;
    align-items: end;
    padding-top: 14px;
    border-top: 1px solid #eef2f1;
}

.cc-cart-page .cc-cart-item-unit-price,
.cc-cart-page .cc-cart-item-line-total,
.cc-cart-page .cc-cart-item-quantity-wrap {
    min-width: 0;
}

.cc-cart-page .cc-cart-item-unit-price > span,
.cc-cart-page .cc-cart-item-line-total > span,
.cc-cart-page .cc-cart-item-control-label {
    display: block;
    margin-bottom: 6px;
    color: #87938f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-item-unit-price strong,
.cc-cart-page .cc-cart-item-line-total strong {
    display: block;
    color: #052b29 !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.cc-cart-page .cc-cart-item-line-total {
    text-align: right;
}

.cc-cart-page .cc-cart-quantity-controls {
    display: grid;
    grid-template-columns: 62px 40px 40px;
    gap: 7px;
    align-items: center;
}

.cc-cart-page .cc-cart-quantity-controls .quantity-input {
    width: 62px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #d5dfdc !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #052b29 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    text-align: center !important;
    box-shadow: none !important;
}

.cc-cart-page .cc-cart-icon-button,
.cc-cart-page button.cc-cart-icon-button.vmicon {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid #d5dfdc !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-image: none !important;
    color: #31504b !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.cc-cart-page .cc-cart-icon-button::before {
    content: none !important;
}

.cc-cart-page .cc-cart-icon-button i {
    display: inline-block !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.cc-cart-page .cc-cart-remove,
.cc-cart-page button.cc-cart-remove.vmicon {
    color: #b23f3f !important;
}

.cc-cart-page .cc-cart-icon-button:hover {
    background: #f7f9f8 !important;
}

/* Order summary ------------------------------------------------------ */
.cc-cart-page .cc-cart-order-summary {
    position: relative;
    min-width: 0;
}

.cc-cart-page .cc-cart-summary-card {
    position: sticky;
    top: 24px;
}

.cc-cart-page .cc-cart-summary-rows {
    padding: 10px 22px 5px;
}

.cc-cart-page .cc-cart-summary-row,
.cc-cart-page .cc-cart-payment-currency {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    color: #5d6f6b;
    font-size: 13px;
    line-height: 1.4;
}

.cc-cart-page .cc-cart-summary-row strong,
.cc-cart-page .cc-cart-payment-currency strong {
    color: #052b29 !important;
    font-weight: 800 !important;
    text-align: right;
}

.cc-cart-page .cc-cart-summary-discount strong {
    color: #4d7900 !important;
}

.cc-cart-page .cc-cart-summary-block {
    margin: 0 22px;
    padding: 17px 0;
    border-top: 1px solid #e8eeec;
}

.cc-cart-page .cc-cart-summary-coupon .cc-cart-coupon {
    display: block;
    max-width: none;
    padding: 0;
}

.cc-cart-page .cc-cart-summary-coupon .cc-cart-coupon-icon {
    display: none;
}

.cc-cart-page .cc-cart-summary-coupon .cc-cart-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.cc-cart-page .cc-cart-summary-coupon input.coupon {
    width: 100% !important;
    min-width: 0 !important;
}

.cc-cart-page .cc-cart-applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    background: #f2fadf;
    color: #466900;
    font-size: 12px;
    font-weight: 700;
}

.cc-cart-page .cc-cart-method-block {
    position: relative;
    padding-right: 20px;
}

.cc-cart-page .cc-cart-method-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
}

.cc-cart-page .cc-cart-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: #effbd9;
    color: #4f7800;
    font-size: 14px;
}

.cc-cart-page .cc-cart-method-title small {
    display: block;
    margin-bottom: 2px;
    color: #86948f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cc-cart-page .cc-cart-method-title strong {
    display: block;
    color: #052b29 !important;
    font-size: 13px;
    font-weight: 800;
}

.cc-cart-page .cc-cart-method-content h3 {
    color: #5c6e6a;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.cc-cart-method-content h1 {
    font-size: 16px !important;
    line-height: 1.4;
    margin: 0 !important;
}

.cc-cart-page .cc-cart-method-content label,
.cc-cart-page .cc-cart-method-content .vmshipment_name,
.cc-cart-page .cc-cart-method-content .vmpayment_name {
    color: #314a46 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.cc-cart-page .cc-cart-method-content input[type="radio"] {
    margin-right: 7px;
    accent-color: #9fdf10;
}

.cc-cart-page .cc-cart-method-link,
.cc-cart-page .cc-cart-method-content a {
    display: inline-flex;
    margin-top: 7px;
    color: #0c5c42 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
}

.cc-cart-page .cc-cart-method-price {
    position: absolute;
    top: 18px;
    right: 0;
    color: #052b29;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.cc-cart-page .cc-cart-muted {
    color: #8b9794;
}

.cc-cart-page .cc-cart-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-top: 5px;
    padding: 20px 22px;
    border-top: 1px solid #dfe7e4;
    background: #f8faf9;
    color: #052b29;
    font-size: 15px;
    font-weight: 800;
}

.cc-cart-page .cc-cart-summary-total strong {
    color: #052b29 !important;
    font-size: 21px;
    font-weight: 850 !important;
    text-align: right;
}

.cc-cart-page .cc-cart-payment-currency {
    padding: 12px 22px 18px;
    border-top: 1px solid #e8eeec;
}

.cc-cart-page .cc-cart-empty {
    padding: 38px 22px;
    color: #6c7d79;
    font-size: 14px;
    text-align: center;
}

/* Make final notes / checkout panel line up with summary width. */
.cc-cart-page .cc-cart-final-panel {
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 24px !important;
    margin-top: 24px !important;
}

.cc-cart-page .cc-cart-fields-wrap,
.cc-cart-page .cc-cart-checkout-wrap {
    border-radius: 18px !important;
}

.cc-cart-page .cc-cart-checkout-wrap {
    align-self: start;
    padding: 22px !important;
    background: #052b29 !important;
    border-color: #052b29 !important;
}

.cc-cart-page .cc-cart-secure-note {
    color: rgba(255,255,255,.72) !important;
}

.cc-cart-page .cc-cart-checkout-wrap .vm-button-correct,
.cc-cart-page .cc-cart-checkout-wrap #checkoutFormSubmit,
.cc-cart-page .cc-cart-checkout-wrap .checkout-button-top a,
.cc-cart-page .cc-cart-checkout-wrap .checkout-button-top button {
    min-height: 52px !important;
    background: #a6e319 !important;
    color: #052b29 !important;
    font-size: 14px !important;
}

/* Normalize old VirtueMart/T3 floats that can leak into the custom layout. */
.cc-cart-page .cc-cart-pricelist-layout .floatleft,
.cc-cart-page .cc-cart-pricelist-layout .floatright,
.cc-cart-page .cc-cart-pricelist-layout .width50,
.cc-cart-page .cc-cart-pricelist-layout .width100 {
    float: none !important;
    width: auto !important;
}

@media (max-width: 1100px) {
    .cc-cart-page .cc-cart-main {
        width: calc(100% - 40px) !important;
    }

    .cc-cart-page .cc-cart-pricelist-layout,
    .cc-cart-page .cc-cart-final-panel {
        grid-template-columns: minmax(0, 1fr) 360px !important;
    }

    .cc-cart-page .cc-cart-item-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-cart-page .cc-cart-item-line-total {
        display: none;
    }

    .cc-cart-page .cc-cart-item-total-mobile {
        display: block;
    }
}

@media (max-width: 860px) {
    .cc-cart-page .cc-cart-pricelist-layout,
    .cc-cart-page .cc-cart-final-panel {
        grid-template-columns: 1fr !important;
    }

    .cc-cart-page .cc-cart-summary-card {
        position: static;
    }

    .cc-cart-page .cc-cart-address-grid,
    .cc-cart-page .billto-shipto.cc-cart-address-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .cc-cart-page .cc-cart-main {
        width: calc(100% - 30px) !important;
        padding-top: 28px !important;
    }

    .cc-cart-page .cc-cart-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .cc-cart-page .cc-cart-line-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .cc-cart-page .cc-cart-item-media {
        width: 92px;
        height: 92px;
    }

    .cc-cart-page .cc-cart-item-title {
        font-size: 15px !important;
    }

    .cc-cart-page .cc-cart-item-bottom {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cc-cart-page .cc-cart-item-unit-price {
        display: none;
    }

    .cc-cart-page .cc-cart-quantity-controls {
        grid-template-columns: 58px 40px 40px;
    }

    .cc-cart-page .cc-cart-section-head,
    .cc-cart-page .cc-cart-summary-total {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cc-cart-page .cc-cart-summary-rows,
    .cc-cart-page .cc-cart-summary-block {
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
    }
}
