/*
 * Veil & Verdure — WooCommerce Overrides
 * Harmonises WooCommerce default styles with the bridal theme aesthetic.
 */

/* === Product Grid === */
.wc-block-grid__products,
ul.products {
    gap: 2rem;
}

.wc-block-grid__product,
ul.products li.product {
    border: 1px solid rgba(196, 163, 90, 0.12);
    background-color: #FFFFFF;
    padding: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wc-block-grid__product:hover,
ul.products li.product:hover {
    border-color: #C4A35A;
    box-shadow: 0 4px 24px rgba(196, 163, 90, 0.12);
}

.wc-block-grid__product-image,
ul.products li.product a img {
    border-radius: 0;
}

/* === Product Title === */
.wc-block-grid__product-title,
ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E1C19;
    margin-top: 1rem;
    padding: 0 1rem;
}

/* === Product Price === */
.wc-block-grid__product-price,
ul.products li.product .price {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    color: #A89888;
    padding: 0 1rem;
}

/* === Add to Cart Button === */
.wc-block-grid__product .wp-block-button__link,
ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background-color: transparent;
    color: #1E1C19;
    border: 1px solid #C4A35A;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    transition: all 0.4s ease;
}

.wc-block-grid__product .wp-block-button__link:hover,
ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #C4A35A;
    color: #FAFAF7;
    border-color: #C4A35A;
}

/* === Alt Button === */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #C4A35A;
    color: #FAFAF7;
    border-color: #C4A35A;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #1E1C19;
    color: #FAFAF7;
    border-color: #1E1C19;
}

/* === Cart & Checkout Tables === */
.woocommerce table.shop_table {
    border: 1px solid rgba(196, 163, 90, 0.15);
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1E1C19;
    background-color: #F5F0E8;
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.woocommerce table.shop_table td {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    color: #1E1C19;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
}

/* === Notices === */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #C4A35A;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #C4A35A;
}

/* === Single Product === */
.single-product div.product .product_title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E1C19;
}

.single-product div.product .price {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    color: #C4A35A;
}

.single-product div.product .woocommerce-product-details__short-description {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #A89888;
}

/* === Star Rating === */
.woocommerce .star-rating span::before {
    color: #C4A35A;
}

/* === Tabs === */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A89888;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #1E1C19;
}

/* === Breadcrumbs === */
.woocommerce .woocommerce-breadcrumb {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.8rem;
    color: #A89888;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #C4A35A;
}

/* === Quantity Input === */
.woocommerce .quantity .qty {
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 0;
    font-family: 'Lora', Georgia, serif;
}

/* === Sale Badge === */
.woocommerce span.onsale {
    background-color: #C4A35A;
    color: #FAFAF7;
    border-radius: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* === Pagination === */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #1E1C19;
    border-color: rgba(196, 163, 90, 0.2);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #C4A35A;
    color: #FAFAF7;
    border-color: #C4A35A;
}