 :root {
     --primary-purple: #41087e;
     --accent-orange: #FD5C37;
     --light-grey: #f8f9fa;
     --dark-text: #343a40;
 }

 .cart-header {

     color: #000;
     padding: 20px 0;
     margin-bottom: 30px;
 }

 .cart-header h1 {
     font-weight: 600;
 }

 .cart-item-card {
     background-color: white;
     border: 1px solid #dee2e6;
     border-radius: 8px;
     padding: 20px;
     margin-bottom: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
     position: relative;
 }

 .cart-item-img {
     max-width: 90%;
     border-radius: 4px;
     max-height: 100%;
     padding: 6px;
     border: 1px solid #ddd;
     height: 100%;
 }

 .item-details h5 {
     color: var(--dark-text);
     font-weight: 600;
     font-size: 26px;
 }

 .item-details p {
     font-size: 0.9rem;
     color: #6c757d;
     margin-bottom: 5px;
 }

 .product-actions a:hover {
     color: var(--accent-orange);
 }

 .quantity-input {
     width: 70px;
     text-align: center;
 }

 .order-summary-card {
     background-color: white;
     border: 1px solid #dee2e6;
     border-radius: 8px;
     padding: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
 }

 .order-summary-card h4 {
     color: var(--primary-purple);
     margin-bottom: 20px;
     font-weight: 600;
 }

 .promo-code-input-group .form-control {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
     border-color: var(--primary-purple);
 }

 .promo-code-input-group .btn-outline-secondary {
     background-color: var(--accent-orange);
     color: white;
     border-color: var(--accent-orange);
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
     transition: background-color 0.3s ease;
 }

 .promo-code-input-group .btn-outline-secondary:hover {
     background-color: #e04b2a;
     /* Slightly darker orange */
     border-color: #e04b2a;
 }

 .summary-row {
     display: flex;
     justify-content: space-between;
     margin-bottom: 10px;
     font-size: 1rem;
 }

 .summary-row.total {
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--primary-purple);
     border-top: 1px solid #eee;
     padding-top: 15px;
     margin-top: 15px;
 }

 .summary-row.discount-row {
     color: green;
     /* For positive discount */
     font-weight: 500;
 }

 .btn-checkout {
     background-color: var(--primary-purple);
     color: white;
     padding: 12px 0;
     font-size: 1.2rem;
     font-weight: 600;
     border: none;
     width: 100%;
     border-radius: 8px;
     transition: background-color 0.3s ease;
 }

 .apply-coupon-btn {
     background-color: var(--primary-purple);
     color: white;
     border: none;
 }

 .coupon_code_input:focus {
     box-shadow: none !important;

 }

 .btn-checkout:hover, .apply-coupon-btn:hover {
     background-color: #31065e;
     /* Slightly darker purple */
     color: white;
     /* Ensure text remains white on hover */
 }

 .afterpay-text {
     font-size: 0.9rem;
     color: #6c757d;
     text-align: center;
     margin-top: 15px;
 }

 .afterpay-text strong {
     color: var(--primary-purple);
 }

 .shipping-promo {
     color: var(--accent-orange);
     text-align: center;
     margin-top: 20px;
     font-weight: 600;
 }

 /* Responsive adjustments */
 @media (max-width: 767.98px) {
     .cart-item-card {
         text-align: center;
     }

     .cart-item-img {
         margin-bottom: 15px;
     }

     .item-details {
         margin-bottom: 15px;
     }

     .item-actions {
         margin-top: 15px;
     }

     .order-summary-card {
         margin-top: 30px;
     }
 }

 .order-detail-tab {
     font-size: 14px;
     color: gray
 }

 .product-title {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .order-detail-tab {
     display: flex;
     justify-content: space-between;
 }

 .product-size {
     font-size: 12px;
     color: rgb(151, 93, 213);
 }
 
 .cancelled-payment {
    font-size: 14px;
    background: #e68a8a;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
}

 .product-base-price {
     font-size: 18px;
     font-weight: 500;
 }

 .remove-add-on,
 .remove-personalisation, #remove-coupon {
     color: red;
     font-size: 12px;
     display: block;
     cursor: pointer;
 }

 .tab-title {
     font-size: 15px;
     margin-bottom: 8px;
     line-height: 1.2;
 }

 .product-total {
     display: flex;
     justify-content: flex-end;
 }

 .delete-product {
     position: absolute;
     width: 30px;
     height: 30px;
     background: red;
     color: #ffffff;
     border-radius: 50%;
     border: 1px solid #fff;
     display: flex;
     justify-content: center;
     align-items: center;
     top: -10px;
     right: -10px;
     cursor: pointer;
 }

 .cart-date {
     color: var(--accent-orange)
 }

 .add-attendent {
     background: #ffffff;
     background-color: white;
     border: 1px solid #dee2e6;
     border-radius: 8px;
     padding: 20px;
     margin-bottom: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
     position: relative;
 }

 .add-attendent-title {
     font-size: 16px;
     color: #41087e;
 }

 .add-attendent-checkbox {
     position: relative;
     padding-left: 25px;
     cursor: pointer;
     user-select: none;
     font-size: 14px;
     margin-top: 4px;
     color: gray;
 }

 .add-attendent-checkbox input {
     position: absolute;
     opacity: 0;
     cursor: pointer;
 }

 .add-attendent-checkbox .checkmark {
     position: absolute;
     top: 0;
     left: 0;
     height: 18px;
     width: 18px;
     border: 2px solid #41087e;
     border-radius: 4px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .add-attendent-checkbox input:checked~.checkmark {
     background-color: #41087e;
     border-color: #41087e;
 }

 .add-attendent-checkbox .checkmark i {
     display: none;
     color: #ffffff;
     font-size: 12px;
 }

 .add-attendent-checkbox input:checked~.checkmark i {
     display: block;
 }

 .extra-hour-select {
     width: 120px;
     height: 35px;
     margin-top: 12px;
     border: 1px solid #41087e;
     box-shadow: none;
 }

 .summary-package {
     font-weight: 600;
 }

 .remove-add-on:hover, .remove-personalisation:hover {
     color: var(--primary-purple);
 }

 .empty-cart {
     padding: 10px 24px;
     text-align: center;
     font-size: 30px;
     font-style: italic;
     color: #41087e;
     min-height: 550px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;

 }

 .empty-cart a {
     font-style: normal;
     text-decoration: none;
     background: var(--primary-purple);
     padding: 8px 16px;
     border-radius: 12px;
     color: #ffffff;
     margin: 12px auto;
     display: block;
     width: fit-content;
     font-size: 20px;
 }

 .empty-cart a:hover {
     background: var(--accent-orange);
 }

 @media (max-width: 768px) {
     .item-details {
         margin-bottom: 0 !important;
     }

     .item-details h5 {
         text-align: left;
         font-size: 22px;
     }

     .item-details .product-size {
         display: none;
     }

     .empty-cart{
        min-height: 450px;
     }
 }