/* Checkout Page Custom Styles */

/* Enhanced Checkout Title Styling */
.checkout-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.checkout-title h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
}

.checkout-item-details {
    flex: 1;
    padding-left: 15px;
}

.checkout-attributes {
    border-left: 2px solid #e9ecef;
    padding-left: 10px;
    margin-left: 5px;
}

.checkout-attributes .attribute-option {
    display: block;
}

.checkout-attributes .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    font-weight: normal;
}

.summery-contain li {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.summery-contain li:last-child {
    border-bottom: none;
}

.checkout-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-total {
    text-align: right;
}

.item-total .price {
    color: var(--theme-color, #000000);
    font-weight: 600;
}

/* Enhanced Delivery Address Styling */
.delivery-address-box {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
}

.delivery-address-box:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(180, 135, 79, 0.1);
    transform: translateY(-2px);
}

.delivery-address-box input[type="radio"]:checked + .address-content-wrapper,
.delivery-address-box:has(input[type="radio"]:checked),
.delivery-address-box.selected {
    border-color: #000000;
    background: linear-gradient(135deg, #faf8f5 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(180, 135, 79, 0.15);
}

.delivery-address-box .form-check {
    position: absolute;
    top: 20px;
    right: 20px;
}

.delivery-address-box .form-check-input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.delivery-address-box .form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

.delivery-address-box .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(180, 135, 79, 0.25);
}

.delivery-address-box .label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.delivery-address-box .label label {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

.delivery-address-box .label .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.delivery-address-detail {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-address-detail li {
    margin-bottom: 8px;
    padding: 0;
}

.delivery-address-detail li:last-child {
    margin-bottom: 0;
}

.delivery-address-detail h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.delivery-address-detail .text-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.delivery-address-detail .text-title {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    display: inline-block;
}

.delivery-address-detail i {
    color: #000000;
}

/* Compact payment option rows */
.payment-option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-option-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
}

.payment-option-card:hover {
    border-color: #111;
}

.payment-option-card:has(input[type="radio"]:checked),
.payment-option-card.selected {
    border-color: #0baf9a;
    background: #fff;
    box-shadow: 0 0 0 1px #0baf9a;
}

.payment-option-amount {
    flex: 0 0 auto;
    min-width: 88px;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.15;
}

.payment-option-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
}

.payment-option-price--prepaid {
    color: #15803d;
}

.payment-option-mrp {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-decoration: line-through;
}

.payment-option-save {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    line-height: 1.2;
    margin-top: 2px;
}

.payment-option-meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.payment-option-card .form-check {
    position: static;
    margin: 0;
    flex: 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
}

.payment-option-card .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    border: 2px solid #d1d5db;
    transition: all 0.2s ease;
}

.payment-option-card .form-check-input:checked {
    background-color: #0baf9a;
    border-color: #0baf9a;
}

.payment-option-card .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(11, 175, 154, 0.2);
}

.payment-option-card .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #222;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1.25;
}

.payment-option-card .form-check-label i {
    font-size: 0.95rem;
    color: #374151;
    margin: 0;
    width: auto;
}

.payment-option-note {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
}

.payment-description {
    display: none;
}

/* Remove old payment-option styles */
.payment-option {
    margin: 0;
}

.payment-option .form-check {
    margin-bottom: 0;
}

