button {
    font-family: inherit;
    line-height: 1.25;
    text-transform: uppercase;
}

.woocommerce-info {
    border-top-color: var(--accent) !important;
}

.woocommerce-info a {
    color: var(--dark-link) !important;
}

.woocommerce-form-coupon input {
    padding: 15px !important;
    border: 2px solid var(--accent) !important;
    background-color: var(--dark-bkgd) !important;
    color: var(--light-text) !important;
    font-size: 18px;
}

.woocommerce-form-coupon input::placeholder {
color: var(--light-text) !important;
opacity: 0.5 !important;
}

/* Order Confirmation Page Styles */
.order-confirmation-page {
    padding-top: 150px;
    background-color: var(--dark-bkgd);
    color: var(--light-text);
    min-height: 100vh;
}

.order-confirmation-page .content_div {
    justify-content: center;
    align-items: center !important;
}

.order-confirmation-page .content_div {
    justify-content: center;
    align-items: flex-start;
}

.confirmation-container {
    width: 100%;
    max-width: 800px;
    padding: 35px;
    background-color: var(--primary-rgb);
    border-radius: var(--button-radius);
}

.order-confirmation-content h2 {
    color: var(--light-text);
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.order-confirmation-page .additional-field span {
    color: var(--light-text);
}

.order-confirmation-content h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 20px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
}


.order-summary p {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--light-text);
}

.billing-shipping-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.billing-address, .shipping-address {
    background-color: var(--dark-bkgd);
    padding: 20px;
    border-radius: var(--button-radius);
}

.billing-address p, .shipping-address p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--light-text);
}

.order-items-table, .order-totals-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.order-items-table th, .order-items-table td,
.order-totals-table th, .order-totals-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-items-table th,
.order-totals-table th {
    background-color: var(--dark-bkgd);
    font-weight: 600;
    color: var(--light-text);
}

.order-items-table td:nth-child(2),
.order-items-table td:nth-child(3),
.order-items-table td:nth-child(4) {
    text-align: center;
}

.order-totals-table {
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
}

.order-totals-table th {
    text-align: right;
    width: 60%;
}

.order-totals-table td {
    text-align: right;
    font-weight: 500;
    color: var(--light-text);
}

.order-items-table span, .order-totals-table span {
     color: var(--light-text);
}

.order-totals-table tr.order-total th,
.order-totals-table tr.order-total td {
    font-weight: 700;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
}

.stock-status {
    margin-bottom: 35px;
    max-width: 100px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stock-status.in-stock {
    border: 1px solid rgb(0, 202, 0);
    padding: 5px 15px;
    border-radius: 25px;
    color: rgb(0, 202, 0);
}

.stock-status.back-order {
    border: 1px solid rgb(198, 119, 9);
    padding: 5px 15px;
    border-radius: 25px;
    color: rgb(198, 119, 9);
}

.stock-status.out-of-stock {
    border: 1px solid rgb(206, 10, 10);
    padding: 5px 15px;
    border-radius: 25px;
    color: rgb(206, 10, 10);
    max-width: 130px;
}

.out-of-stock-button {
    border: none;
    background-color: grey !important;
}

.out-of-stock-button:hover {
    cursor: not-allowed !important;
}

@media (max-width: 768px) {
    .order-confirmation-page {
        padding-top: 125px;
    }
    
    .confirmation-container {
        padding: 20px;
    }
    
    .billing-shipping-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .order-items-table {
        font-size: 14px;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 8px 10px;
    }
}
