/* ==========================================================================
   WooCommerce Custom Styles
   ========================================================================== */

/* --- All WooCommerce Buttons --- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.checkout,
.woocommerce button.button.checkout,
.wc-block-components-button {
    background-color: var(--footer-bg);
    color: white !important;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button.checkout:hover,
.woocommerce button.button.checkout:hover,
.wc-block-components-button:hover {
    background-color: var(--footer-bg-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Disabled state */
.woocommerce #respond input#submit:disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading state */
.woocommerce a.button.loading,
.woocommerce button.button.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* View Cart link */
.woocommerce a.added_to_cart {
    font-family: var(--font-body);
    color: var(--footer-bg);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.woocommerce a.added_to_cart:hover {
    color: var(--footer-bg-dark);
}

/* --- Typography --- */
.woocommerce div.product .product_title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-top: 10px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--font-body);
    color: var(--wc-price);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Descriptions and General Text */
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel,
.woocommerce table.shop_table td,
.woocommerce .cart-collaterals,
.woocommerce-checkout {
    font-family: var(--font-body);
    line-height: 1.6;
}

/* --- Badges (Sale) --- */
.woocommerce span.onsale {
    background-color: var(--wc-secondary);
    font-family: var(--font-body);
    font-weight: 700;
    min-height: 32px;
    min-width: 32px;
    line-height: 32px;
    border-radius: 50%;
}

/* --- Notices / Messages --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--wc-primary);
    background-color: #fbf8f5;
    font-family: var(--font-body);
}


.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--wc-primary);
}

/* --- Cart & Checkout --- */
.woocommerce table.shop_table {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce table.shop_table th {
    font-family: var(--font-heading);
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.woocommerce-form-coupon,
.woocommerce-form-login {
    border: 2px dashed var(--wc-secondary);
    padding: 20px;
    border-radius: 10px;
}

/* Quantity input */
.woocommerce .quantity .qty {
    font-family: var(--font-body);
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 8px 12px;
    width: 70px;
    text-align: center;
}

/* Star ratings */
.woocommerce .star-rating {
    color: var(--wc-primary);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: var(--font-body);
    color: var(--primary-color);
    border-color: #eee;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--footer-bg);
    color: white;
    border-color: var(--footer-bg);
}