/* Cart Controls Row - All in ONE line, aligned to the right */
.cart-controls-row {
    width:100%;display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 10px;
    padding: 10px 0;
}

/* Quantity Section */
.cart-qty-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.cart-qty-section .control-label {
    font-size: 15px;
    font-family: GoogleSans-Bold;
    color: #000;
    white-space: nowrap;
    margin: 0;
    font-weight: 600;
}

.cart-qty-section .number-spinner {
    display: inline-flex;
    align-items: center;
    margin: 0;
    width: auto;
    z-index: 0;
}

.cart-qty-section .number-spinner .form-control {
    width: 55px;
    height: 36px;
    padding: 6px;
    text-align: center;
    border-radius: 0;
    background: #be9732;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

.cart-qty-section .number-spinner .btn {
    height: 36px;
    width: 36px !important;
    padding: 0;
    border-radius: 0;
    background: #be9732;
    color: #fff;
    border: 1px solid #be9732;
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.cart-qty-section .input-group-btn {
    width: auto !important;
}

.cart-qty-section .number-spinner .btn:hover {
    background: #a88629;
    border-color: #a88629;
}

.cart-qty-section .number-spinner .btn:focus {
    outline: none;
    box-shadow: none;
}

.cart-qty-section .qty-display {
    display: inline-block;
    padding: 4px 8px;
    min-width: 50px;
    text-align: center;
    font-size: 14px;
    font-family: GoogleSans-Regular;
}

/* Remove spinner arrows from number input */
.cart-qty-section input[type="number"]::-webkit-inner-spin-button,
.cart-qty-section input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-qty-section input[type="number"] {
    -moz-appearance: textfield;
}

/* Price and Total Sections - Inline */
.cart-price-section,
.cart-total-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-price-section .control-label,
.cart-total-section .control-label {
    font-size: 15px;
    font-family: GoogleSans-Bold;
    color: #000;
    white-space: nowrap;
    margin: 10px;
    font-weight: 600;
}

.cart-price-section .control-value,
.cart-total-section .control-value {
    font-size: 16px;
    font-family: GoogleSans-Regular;
    color: #000;
}

/* Action Section - Inline with RED icon */
.cart-action-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-action-section .control-label {
    font-size: 15px;
    font-family: GoogleSans-Bold;
    color: #000;
    white-space: nowrap;
    margin: 0;
    font-weight: 600;
    padding: 10px;
}

.cart-action-section .btn {
    padding: 10px !important;
    font-size: 16px;
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
    border-radius: 3px;
}

.cart-action-section .btn:hover {
    background-color: #c9302c !important;
    border-color: #ac2925 !important;
}

.cart-action-section .fa-trash {
    color: #fff;
    font-size: 16px;
}

/* Product Page Quantity Section Styling */
.product-qty-section {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 15px;
}

.product-qty-section .qty-label-product {
    font-size: 16px;
    font-family: GoogleSans-Regular;
    color: #000;
    white-space: nowrap;
    margin: 0;
    font-weight: 500;
    padding-top: 18px;
}

.product-qty-section .qty-controls-product {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.product-qty-section .qty-controls-product .sub,
.product-qty-section .qty-controls-product .add {
    height: 35px;
    width: 35px;
    padding: 0;
    border: none;
    background: #dbdbdb;
    color: #000000;
    cursor: pointer;
    transition: 0.2s;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.product-qty-section .qty-controls-product .sub:hover,
.product-qty-section .qty-controls-product .add:hover {
    background: #dbdbdb;
    border-color: #dbdbdb;
}

.product-qty-section .qty-controls-product .form-control {
    width: 60px;
    height: 35px;
    padding: 6px;
    text-align: center;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    margin: 0;
}

.product-qty-section input[type="number"]::-webkit-inner-spin-button,
.product-qty-section input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-qty-section input[type="number"] {
    -moz-appearance: textfield;
}

/* Cart Layout - 80:20 columns */
.cart-products-column {
    float: left;
    padding-right: 15px;
}

/* Ensure cart items are visible */
.cart-div-cls {
    display: flex !important;
    flex-wrap: wrap;
    padding: 15px !important;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    background: #fff;
}

.cart-table {
    width: 100%;
    display: block !important;
}

.td-img-col {
    width: 100px;
    margin-right: 15px;
}

.td-img-col img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cart-name-sec-cls {
    flex: 1;
    min-width: 200px;
    display: block !important;
}

.cart-product-ul {
    display: block !important;
    margin: 0;
    padding: 0;
}

.cart-item-name-cls {
    display: block !important;
}

.cart-index-page-item-name {
    display: block !important;
    margin-bottom: 10px;
}

.cart-index-page-item-name a {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.bundleContainsList {
    display: block !important;
    margin-top: 10px;
}

.bundleContainsList p {
    font-weight: 600;
    margin-bottom: 5px;
}

.bundleContainsList ul {
    padding-left: 20px;
}

/* Hide the old duplicate price details section */
.apply-coupon-col {
    display: none !important;
}

.apply-coupon-col .product-details-text {
    font-size: 20px;
    font-family: GoogleSans-Bold;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
}

.apply-coupon-col .cart-styled {
    width: 100%;
    margin-bottom: 20px;
}

.apply-coupon-col .cart-styled td {
    padding: 8px 0;
    font-size: 15px;
    font-family: GoogleSans-Regular;
}

.apply-coupon-col .cart-styled td.gt-cart {
    font-size: 18px;
    font-family: GoogleSans-Bold;
    padding-top: 15px;
    border-top: 2px solid #d3d3d3;
}

.apply-coupon-col .cart-checkout-btn-wrapper {
    margin-top: 20px;
    display: flex;
    width: 100%;
}

.apply-coupon-col .cart-checkout-btn-wrapper .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-family: GoogleSans-Regular;
    text-transform: none;
    background: #5bc0de;
    color: #fff;
    border: 1px solid #46b8da;
    border-radius: 4px;
    text-shadow: none;
    text-decoration: none;
    margin-bottom: 10px;
}

.apply-coupon-col .cart-checkout-btn-wrapper .btn:hover {
    background: #31b0d5;
    border-color: #269abc;
    color: #fff;
    text-decoration: none;
}

.cart-summary-box {
    background: #f5f5f5;
    border: 1px solid #d3d3d3;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.cart-summary-box .product-details-text {
    font-size: 20px;
    font-family: GoogleSans-Bold;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
}

.cart-summary-box .cart-styled {
    width: 100%;
    margin-bottom: 20px;
}

.cart-summary-box .cart-styled td {
    padding: 8px 0;
    font-size: 15px;
    font-family: GoogleSans-Regular;
}

.cart-summary-box .cart-styled td.gt-cart {
    font-size: 18px;
    font-family: GoogleSans-Bold;
    padding-top: 15px;
    border-top: 2px solid #d3d3d3;
}

.cart-checkout-btn-wrapper {
    margin-top: 20px;
}

 .cart-checkout-btn-wrapper {
    display: flex;
    width: 100%;
    }
    
    .cart-checkout-btn-wrapper a {
        margin: 10px;
    }


.cart-checkout-btn-wrapper .checkout-btn-full {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-family: GoogleSans-Regular;
    text-transform: none;
    background: #000000;
    color: #fff;
    border: 1px solid #000000;
    border-radius: 4px;
    text-shadow: none;
    text-decoration: none;
}

.cart-checkout-btn-wrapper .checkout-btn-full:hover {
    background: #31b0d5;
    border-color: #269abc;
    color: #fff;
    text-decoration: none;
}

.btn-info.shop-btn {
    background: #000000;
    color: #fff;
    border: 1px solid #000000;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cart-products-column,
    .cart-summary-column {
        width: 100% !important;
        padding: 15px !important;
    }
    
    .cart-summary-column {
        margin-top: 0px;
    }
    
    .cart-summary-box {
        margin-top: 20px;
        position: static;
    }
    
    .cart-controls-row {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .cart-div-cls {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    /* Ensure proper padding on mobile */
    .checkout-table-main-col {
        padding: 0 !important;
    }
    
    .cart-products-column {
        padding: 10px !important;
    }
    
    .cart-products-column.padding-zero {
        padding: 10px !important;
    }
    
    /* Make controls stack vertically on very small screens */
    .cart-controls-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 100%;
        padding: 5px 0;
    }
    
    .cart-qty-section,
    .cart-price-section,
    .cart-total-section,
    .cart-action-section {
        width: 100%;
        justify-content: space-between;
        padding: 3px 0;
        margin: 0;
    }
    
    .cart-qty-section {
        gap: 5px;
    }
    
    .cart-qty-section .control-label,
    .cart-price-section .control-label,
    .cart-total-section .control-label,
    .cart-action-section .control-label {
        font-size: 14px;
        margin: 0;
        padding: 0;
    }
    
    .cart-action-section .control-label {
        padding: 0 !important;
    }
    
    .cart-price-section .control-label,
    .cart-total-section .control-label {
        margin: 0 !important;
    }
    
    .cart-qty-section .number-spinner .form-control {
        width: 50px;
        height: 32px;
        font-size: 14px;
    }
    
    .cart-qty-section .number-spinner .btn {
        height: 32px;
        width: 32px !important;
        font-size: 16px;
    }
    
    .cart-price-section .control-value,
    .cart-total-section .control-value {
        font-size: 14px;
    }
    
    .product-qty-section {
        gap: 5px;
    }
    
    .product-qty-section .qty-label-product {
        font-size: 14px;
    }
    
    .product-qty-section .qty-controls-product .form-control {
        width: 50px;
        height: 32px;
        font-size: 14px;
    }
    
    .product-qty-section .qty-controls-product .sub,
    .product-qty-section .qty-controls-product .add {
        height: 32px;
        width: 32px;
        font-size: 16px;
    }
    
    /* Ensure cart items are visible */
    .cart-div-cls {
        flex-direction: column;
        padding: 15px 10px !important;
        display: flex !important
    }

    .cart-checkout-btn-wrapper {
    display: flex;
    width: 100%;
    }
    
    .cart-checkout-btn-wrapper a {
        margin: 10px;
    }

    .cart-name-sec-cls {
        width: 100% !important;
        margin: 10px 0;
        display: block !important;
    }
    
    .cart-product-ul,
    .cart-item-name-cls {
        display: block !important;
        width: 100%;
    }
    
    .cart-index-page-item-name {
        display: block !important;
        font-size: 14px;
    }
    
    .cart-index-page-item-name a {
        font-size: 14px;
    }
    
    .td-img-col {
        width: 80px;
        margin: 0 auto 10px;
        display: block !important;
    }
    
    .cart-table {
        display: block !important;
    }
    
    .cart-summary-column {
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .cart-controls-row {
        padding: 3px 0;
        gap: 3px;
    }
    
    .cart-qty-section,
    .cart-price-section,
    .cart-total-section,
    .cart-action-section {
        padding: 2px 0;
    }
    
    .cart-qty-section .number-spinner .form-control {
        width: 45px;
        height: 30px;
        font-size: 13px;
    }
    
    .cart-qty-section .number-spinner .btn {
        height: 30px;
        width: 30px !important;
        font-size: 14px;
    }
    
    .cart-div-cls {
        padding: 10px 5px !important;
        display: flex !important;
    }
    
    .td-img-col {
        width: 60px;
        display: block !important;
    }
    
    .cart-name-sec-cls {
        display: block !important;
    }
    
    .cart-index-page-item-name a {
        font-size: 13px;
    }
}
