/* Premium Checkout Styling */
.cart-item-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cart-item-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cart-item-main {
    display: flex;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-item-main:hover {
    opacity: 0.85;
}

.cart-item-icon-box {
    width: 56px;
    height: 56px;
    background: #fdf6f0;
    border: 1px solid #fee8d6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.cart-item-icon-box i {
    font-size: 20px;
    color: #fe9923;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    line-height: 1.3;
}

.cart-item-base-price {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.cart-item-price-col {
    text-align: right;
    margin-left: 15px;
    flex-shrink: 0;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #fe9923;
}

.cart-item-meta-list {
    margin: 6px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.cart-item-meta-section-title {
    font-weight: 600;
    color: #444;
    margin-top: 8px;
    font-size: 13px;
}

.cart-item-meta-sublist {
    margin: 2px 0 0 10px;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #666;
}

.cart-item-meta-sublist li {
    margin-bottom: 2px;
}

.cart-item-meta-sublist li span {
    color: #28a745;
    font-weight: 600;
    font-size: 11px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
    width: 100%;
}

/* Qty Controls */
.qty-controls {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid #e9ecef;
}

.qty-controls button {
    border: none;
    background: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 6px;
}

.qty-controls button:hover:not(:disabled) {
    background-color: #fee8d6;
    color: #fe9923;
}

.qty-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-controls span {
    width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #212529;
}

.cart-delete-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
}

.cart-delete-btn:hover {
    color: #bd2130;
    transform: scale(1.1);
}

.cart-edit-btn {
    background: none;
    border: none;
    color: #fe9923;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
    margin-left: 10px;
    margin-right: 5px;
}

.cart-edit-btn:hover {
    color: #e08215;
    transform: scale(1.1);
}

.btn-add-more {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border: 2px dashed #fe9923;
    border-radius: 12px;
    color: #fe9923;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    background: #fff;
}

.btn-add-more:hover {
    background: #fff5eb;
    border-color: #e08215;
    color: #e08215;
}

/* Right column get-it-card */
.get-it-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
}

.get-it-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.get-it-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.get-it-edit-btn {
    font-size: 13px;
    font-weight: 700;
    color: #fe9923;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s;
}

.get-it-edit-btn:hover {
    color: #e08215;
}

.get-it-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #495057;
}

.get-it-detail-item i {
    width: 22px;
    margin-right: 12px;
    color: #fe9923;
    font-size: 15px;
    text-align: center;
}

.get-it-detail-item:last-child {
    margin-bottom: 0;
}

/* Tip box layout overrides */
.tip-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.tip-btn {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 5px !important;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.tip-btn:hover {
    border-color: #fe9923;
    background: #fff5eb;
}

.tip-btn.active {
    background: #fe9923 !important;
    border-color: #fe9923 !important;
    color: #fff !important;
}

.tip-btn.active .tip-amt-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.tip-btn .tip-amt-label {
    font-size: 11px;
    margin-top: 2px;
    font-weight: normal;
    display: block;
}

/* Coupon wrapping */
.coupon-wrapper {
    margin-bottom: 20px;
}

.coupon-input-container {
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.coupon-input-icon {
    padding: 10px 12px;
    background: #f8f9fa;
    color: #6c757d;
    border-right: 1px solid #dee2e6;
    display: flex;
    align-items: center;
}

.coupon-input-container input {
    border: none;
    flex-grow: 1;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.coupon-input-container button {
    border: none;
    background: #fe9923;
    color: #fff;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.coupon-input-container button:hover {
    background: #e08215;
}

/* Steps */
.step-hidden {
    display: none !important;
}

.back-to-step1-btn {
    display: inline-flex;
    align-items: center;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 15px;
}

.back-to-step1-btn:hover {
    color: #fe9923;
}

.back-to-step1-btn i {
    margin-right: 8px;
    font-size: 12px;
}

/* General forms elements inside step 2 */
.box_order_form {
    margin-bottom: 20px;
}

/* Adjust sidebar spacing */
.box_order {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    background: #fff;
}
