.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 56px;
}

.cart-page-crumb {
    margin: 0 0 20px;
    padding: 0;
}

.cart-page-crumb .cd-breadcrumb {
    margin: 0;
    padding: 0;
    justify-content: flex-start !important;
    text-align: left;
}

.cart-page__title {
    margin: 0 0 28px;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    color: #232323;
}

.cart-page .shopping-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 32px;
    align-items: start;
    margin-bottom: 0;
}

.cart-page .shop-left,
.cart-page .shop-right {
    width: auto;
    padding: 0;
}

.cart-page .shop-right {
    position: sticky;
    top: 96px;
}

/* Column headers */
.cart-page .column-labels {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px 120px;
    gap: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 24px 10px;
    margin-bottom: 4px;
}

.cart-page .column-labels .cart-col {
    float: none;
    width: auto !important;
    padding: 0;
    border: none !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #626b77;
    text-align: left;
    white-space: nowrap;
}

.cart-page .column-labels .cart-col--price {
    text-align: right;
}

.cart-page .cart-summary__title {
    margin: 0 0 20px;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    color: #232323;
    line-height: 1.3;
}

/* Cart item card */
.cart-page .shopping-cart .product {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px 120px;
    gap: 16px;
    align-items: center;
    float: none;
    width: 100%;
    margin-bottom: 12px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
    position: relative;
}

.cart-page .shopping-cart .product::before,
.cart-page .shopping-cart .product::after {
    display: none;
}

.cart-page .product-image,
.cart-page .product-details,
.cart-page .product-quantity,
.cart-page .product-price {
    float: none;
    width: auto !important;
    min-height: auto;
    padding: 0;
    display: block;
}

.cart-page .product-image {
    text-align: center;
}

.cart-page .product-image img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    background: #f5f5f6;
    display: block;
    margin: 0 auto;
}

.cart-page .product-details {
    min-width: 0;
}

.cart-page .product-name .product-title {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding-right: 36px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #232323;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-page .product-name .product-title:hover {
    color: #111;
}

.cart-page .cart-item-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-page .cart-item-meta__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.cart-page .cart-label-left {
    color: #626b77;
    font-weight: 500;
    min-width: 0;
}

.cart-page .cart-label-right {
    color: #232323;
    font-weight: 400;
}

/* Remove button */
.cart-page .shopping-cart .product .remove {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f6;
    border: 1px solid #e8edf3;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #626b77;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.cart-page .shopping-cart .product .remove:hover {
    background: #fee;
    border-color: #fcc;
    color: #c0392b;
}

/* Quantity controls */
.cart-page .product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-page .quantitybox2 {
    width: auto;
    height: 44px;
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: none;
    position: relative;
}

.cart-page .quantitybox2 .quantity2 {
    float: none;
    width: 52px;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.cart-page .quantity2 .qty {
    width: 100%;
    height: 42px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #232323;
    text-align: center;
    -moz-appearance: textfield;
}

.cart-page .quantity2 .qty::-webkit-outer-spin-button,
.cart-page .quantity2 .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-page .value-button2 {
    position: static;
    float: none;
    width: 36px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: #f5f5f6;
    color: #232323;
    border-left: 1px solid #e8edf3;
    font-size: 14px;
    transition: background 0.2s ease;
}

.cart-page .value-button2:hover {
    background: #ececef;
}

.cart-page .value-button2.increase {
    border-left: 1px solid #e8edf3;
    border-right: none;
    padding: 0;
}

.cart-page .value-button2.decrease {
    border-left: 1px solid #e8edf3;
    padding: 0;
}

.cart-page .quantity-referesh {
    width: 44px;
    height: 44px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: none;
    color: #232323;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-page .quantity-referesh:hover {
    background: #f5f5f6;
    border-color: #d5dbe3;
}

.cart-page .quantity-referesh img {
    display: none;
}

.cart-page .quantity-referesh::before {
    content: '\f021';
    font-family: 'FontAwesome';
    font-size: 14px;
}

/* Line total */
.cart-page .product-price {
    text-align: right;
}

.cart-page .product-price-amount.amount {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin: 0 !important;
}

/* Continue shopping */
.cart-page .cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #232323;
    text-decoration: none;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-page .cart-continue-link:hover {
    background: #f5f5f6;
    border-color: #d5dbe3;
    color: #111;
}

/* Order summary sidebar */
.cart-page .summary-detail {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 0;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.cart-page .shipping-summary {
    padding: 0;
}

.cart-page .summary-detail .heading-md {
    margin: 0 0 20px;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    color: #232323;
    border: none;
}

.cart-page .summary-detail .heading-md::before,
.cart-page .cart-summary__title::before {
    display: none !important;
}

.cart-page .shipping-accordion .acc_head {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.cart-page .shipping-accordion .acc_head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #626b77;
}

.cart-page .shipping-accordion .acc_content {
    padding: 16px 0 0;
}

.cart-page .coupon_input {
    display: flex;
    gap: 10px;
    padding: 0;
    flex-wrap: wrap;
}

.cart-page .coupon_input .form-control {
    flex: 1 1 140px;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    font-size: 15px;
    color: #232323;
    background: #f5f5f6;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: none;
}

.cart-page .coupon_input .form-control:focus {
    background: #fff;
    border-color: #232323;
    box-shadow: 0 0 0 3px rgba(35, 35, 35, 0.08);
}

.cart-page .cart-apply-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #232323;
    border: 1px solid #232323;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-page .cart-apply-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.cart-page .summary-total {
    border-top: 1px solid #eef2f6;
    margin-top: 20px;
    padding-top: 8px;
}

.cart-page .summary-total li {
    padding: 0;
    list-style: none;
}

.cart-page .total-box {
    padding: 10px 0;
}

.cart-page .summary-title,
.cart-page .summary-price {
    font-size: 15px;
    line-height: 1.4;
    color: #626b77;
    font-weight: 500;
}

.cart-page .summary-price {
    color: #232323;
    font-weight: 600;
}

.cart-page .discount-box .summary-title,
.cart-page .discount-box .summary-price {
    color: #e05252;
}

.cart-page .grand-total .summary-title,
.cart-page .grand-total .summary-price {
    font-size: 20px;
    font-weight: 700;
    color: #232323;
}

.cart-page .summary-massage {
    padding: 0;
    margin-top: 16px;
}

.cart-page .discount-message {
    margin-bottom: 14px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1a7f37;
    background: #e8f5ec;
    border-radius: 8px;
}

.cart-page .cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    background: #232323;
    border: 1px solid #232323;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cart-page .cart-checkout-btn::before {
    display: none !important;
}

.cart-page .cart-checkout-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Empty cart */
.cart-page .cart-empty {
    max-width: 420px;
    margin: 48px auto 64px;
    padding: 40px 24px;
    text-align: center;
}

.cart-page .cart-empty img {
    max-width: 180px;
    height: auto;
    opacity: 0.85;
}

.cart-page .cart-empty__title {
    margin: 24px 0 8px;
    font-size: 22px;
    font-weight: 600;
    color: #232323;
}

.cart-page .cart-empty__text {
    margin: 0 0 24px;
    font-size: 15px;
    color: #626b77;
}

.cart-page .cart-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
    background: #232323;
    border: 1px solid #232323;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.cart-page .cart-shop-btn::before {
    display: none !important;
}

.cart-page .cart-shop-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff !important;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .cart-page .shopping-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-page .shop-right {
        position: static;
    }
}

@media screen and (max-width: 767px) {
    .cart-page .column-labels {
        display: none;
    }

    .cart-page .shopping-cart .product {
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 12px 14px;
        padding: 16px;
    }

    .cart-page .product-image {
        grid-row: 1 / span 2;
    }

    .cart-page .product-image img {
        width: 80px;
        height: 80px;
    }

    .cart-page .product-details {
        grid-column: 2;
    }

    .cart-page .product-quantity {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .cart-page .product-price {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        align-self: end;
    }

    .cart-page .product-name .product-title {
        font-size: 16px;
        padding-right: 28px;
    }

    .cart-page .shopping-cart .product .remove {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}
