/* Checkout Page Styles */
.checkout-section , .cart-section{
    padding: 60px 0;
    background-color: #f8f9fa;
}

.billing-details {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 50px;
}

.billing-details h3 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.billing-details h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--main-color);
}

.billing-details h3:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #eee;
}

.form-control,
.form-select {
    height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--main-color-rgb), 0.1);
}

textarea.form-control {
    height: auto;
    min-height: 100px;
}

/* Order Summary Table Styles */
.tbl-shopping-cart {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.tbl-shopping-cart thead th {
    background: var(--main-color);
    color: var(--white-color);
    font-weight: 500;
    padding: 15px;
    border: none;
}

.tbl-shopping-cart tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.product-name a {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: var(--main-color);
}

.amount {
    font-weight: 600;
    color: var(--main-color);
}

/* Payment Method Styles */
.payment-method {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.payment-method h3 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.payment-method h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--main-color);
}

.accordion-box {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.acc-btn {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: var(--deep-blue);
    transition: all 0.3s ease;
}

.acc-btn:hover {
    background: #f1f1f1;
}

.acc-btn.active {
    background: var(--main-color);
    color: var(--white-color);
}

.acc-content {
    padding: 20px;
    display: none;
}

.acc-content.current {
    display: block;
}

/* Payment Button Styles */
.theme-btn {
    background: var(--main-color);
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.theme-btn:hover {
    background: var(--main-color-dark);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {

    .billing-details,
    .payment-method {
        padding: 20px;
    }

    .tbl-shopping-cart {
        font-size: 14px;
    }

    .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
}

/* Form Label Styles */
label {
    color: var(--deep-blue);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Optional Label Style */
.optional {
    color: #6c757d;
    font-size: 0.9em;
}

/* Input Focus Effects */
.form-control:focus {
    transform: translateY(-1px);
}

/* Table Total Row Styles */
.tbl-shopping-cart tr:last-child td {
    font-weight: 600;
    background: #f8f9fa;
}

/* Payment Info Box Styles */
.payment-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Icon Styles */
.icon-outer {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.acc-btn.active .icon-outer {
    transform: translateY(-50%) rotate(180deg);
}

.input-content label {
    z-index: 20;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 13px;
    background: var(--white-color);
    padding: 0 0.5rem;
}

.input-content input[type="text"]:focus+label,
.input-content input[type="email"]:focus+label,
.input-content input[type="number"]:focus+label,
.input-content textarea:focus+label,
.input-content input[type="date"]:focus+label,
.input-content input[type="text"]:not(:placeholder-shown)+label,
.input-content textarea:valid+label,
.input-content input[type="date"]:valid+label .input-content input:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--main-color);
}

.input-content textarea:focus:not(:placeholder-shown)+label,
.input-content textarea:focus:not(:empty)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--main-color);
}

.checkout-action {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
}
.checkout-action a{
    font-size: 16px;
    font-weight: 600;
    color: var(--faux-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.remove-item{
    color: var(--faux-gold);
    font-size: 14px;
    text-transform: capitalize;
}
.accordion-button:focus{
background-color: var(--light-color);
border-bottom: 0;
color: var(--faux-gold);
box-shadow: none;
}
.accordion-button:not(.collapsed){
background-color: var(--light-color);
box-shadow: none;
}