/*
 * Theme WooCommerce's own generated markup (classic shortcodes: My Account,
 * notices; and the Cart/Checkout blocks) with the Atlas Relics design
 * tokens. Deliberately CSS-only, not forked block templates: WooCommerce
 * ships and maintains its own default block templates for Cart and
 * Checkout, and their inner-block structure changes between WooCommerce
 * releases. Re-theming via CSS selectors here means an upstream WooCommerce
 * update can't silently break checkout the way a stale forked template
 * could.
 *
 * The site is dark (ink page, ivory text, gold accents). Literal hex values
 * below mirror theme.json: ink #101018, ink raised #2a1536, ivory #f7f3e9,
 * gold #c9b6f7, mist #a9a7b8. Keep them in sync if the palette changes.
 */

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
	border-top-color: #c9b6f7;
	background-color: #2a1536;
	color: #f7f3e9;
}

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

/* Buttons (classic templates: My Account, order-pay, coupon form) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
	background-color: #7a3fd6;
	color: #f7f3e9;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	border: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover {
	background-color: #6330b8;
	color: #f7f3e9;
}

.woocommerce a.button.alt,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background-color: #f7f3e9;
	color: #110812;
}

.woocommerce a.button.alt:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: #efe8d6;
	color: #110812;
}

/* Price emphasis */
.woocommerce .price,
.wc-block-components-product-price,
.wc-block-components-totals-item__value {
	color: #c9b6f7;
}

/* Cart & Checkout blocks */
.wc-block-cart,
.wc-block-checkout {
	color: #f7f3e9;
}

.wc-block-components-panel,
.wc-block-components-totals-wrapper,
.wc-block-cart-items,
.wc-block-components-order-summary {
	border-color: rgba(169, 167, 184, 0.35);
}

.wc-block-components-totals-footer-item,
.wc-block-components-totals-item {
	border-top-color: rgba(169, 167, 184, 0.35);
}

.wc-block-components-radio-control__option[aria-checked="true"],
.wc-block-components-checkbox input[type="checkbox"]:checked {
	border-color: #7a3fd6;
	background-color: #7a3fd6;
}

/* My Account */
.woocommerce-MyAccount-navigation ul {
	border-color: rgba(169, 167, 184, 0.35);
}

.woocommerce-MyAccount-navigation-link.is-active a {
	color: #c9b6f7;
	font-weight: 600;
}

table.shop_table th {
	background-color: #1c0e24;
	color: #f7f3e9;
}

table.shop_table tr:nth-child(even) td {
	background-color: #2a1536;
}

/* Product loop badges */
.woocommerce span.onsale {
	background-color: #7a3fd6;
	color: #f7f3e9;
}

/* Bundles */
.atlas-relics-bundle-contents {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(169, 167, 184, 0.35);
}

.atlas-relics-bundle-included-label {
	color: #a9a7b8;
	font-size: 0.85em;
	font-style: italic;
}
