/* Bootstrap Custom Overrides for WooCommerce */

/* Ensure WooCommerce forms and buttons use Bootstrap styling */
.woocommerce form .form-row, .woocommerce form .form-row .form-row, .woocommerce form .form-row .form-row-wide {
    margin-bottom: 1rem;
}

.woocommerce input.button, .woocommerce button.button, .woocommerce a.button, .woocommerce #respond input#submit {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.35rem;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    transition: background-color 0.2s ease;
}

.woocommerce input.button, .woocommerce button.button, .woocommerce a.button {
    background-color: var(--color-primary);
    color: #fff;
}

.woocommerce input.button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover {
    background-color: #0056b3;
    color: #fff;
}

.woocommerce .woocommerce-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-widget-layered-nav select,
.woocommerce .shop_table thead th,
.woocommerce table.shop_table td,
.woocommerce table.cart td,
.woocommerce table.cart th,
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    border-radius: 0.375rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-widget-layered-nav select,
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce .woocommerce-product-attributes-item,
.woocommerce .woocommerce-product-details__short-description {
    width: 100%;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--color-secondary);
}

.woocommerce nav.woocommerce-pagination ul.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.woocommerce .woocommerce-message {
    background-color: #e9f7ef;
    color: #1b5e20;
}

.woocommerce .woocommerce-error {
    background-color: #f8d7da;
    color: #721c24;
}

.woocommerce .woocommerce-info {
    background-color: #d1ecf1;
    color: #0c5460;
}
.header-actions .nav-link {
    color: var(--color-dark);
    text-decoration: none;
}

.header-actions .nav-link:hover,
.header-actions .btn:hover {
    color: #0056b3;
}

.header-actions .badge {
    min-width: 1.8rem;
    text-align: center;
}

