/* Raven's Roost — WooCommerce overrides */

:root {
	--rr-ink: #1a1714;
	--rr-paper: #f3ece0;
	--rr-paper-warm: #ece2cf;
	--rr-cherry: #b53a2b;
	--rr-mute: #807468;
	--rr-rule: rgba(26,23,20,0.13);
}

/* Page chrome on WC pages */
.woocommerce, .woocommerce-page { background: var(--rr-paper); color: var(--rr-ink); }

/* Page title */
.woocommerce .page-title,
.woocommerce-products-header__title,
.wc-block-store-notice { font-family: "IM Fell English", Georgia, serif; }

/* Breadcrumbs / order-by */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
	font-family: "JetBrains Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rr-mute);
}

/* Shop archive grid - classic loop */
.woocommerce ul.products li.product {
	background: var(--rr-paper-warm);
	border-radius: 6px;
	overflow: hidden;
	padding: 0 0 20px 0;
	transition: transform .35s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); }
.woocommerce ul.products li.product img { margin: 0 0 16px 0; aspect-ratio: 1/1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: "IM Fell English", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: 26px !important;
	line-height: 1 !important;
	padding: 0 22px !important;
	margin: 0 0 6px !important;
}
.woocommerce ul.products li.product .price {
	font-family: "IM Fell English", Georgia, serif;
	color: var(--rr-ink) !important;
	font-size: 22px;
	padding: 0 22px;
}

/* Add to cart button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-cart-order-summary-block + .wc-block-components-checkout-place-order-button {
	background: var(--rr-ink) !important;
	color: var(--rr-paper) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 14px 24px !important;
	font-size: 12px !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	transition: background .2s, transform .2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover {
	background: var(--rr-cherry) !important;
	transform: translateY(-1px);
}

/* Sale badge → corner tag style */
.woocommerce span.onsale {
	background: var(--rr-cherry) !important;
	color: #fff !important;
	border-radius: 3px !important;
	font-family: "JetBrains Mono", monospace !important;
	font-size: 10px !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	padding: 6px 10px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	line-height: 1 !important;
	top: 14px !important; left: 14px !important; right: auto !important;
}

/* Single product */
.woocommerce div.product .product_title {
	font-family: "IM Fell English", Georgia, serif;
	font-weight: 400;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.015em;
	color: var(--rr-ink);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: "IM Fell English", Georgia, serif;
	color: var(--rr-ink);
	font-size: 28px;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: #3a342e; max-width: 540px; line-height: 1.7; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--rr-paper-warm);
	border-color: var(--rr-rule);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--rr-paper); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: "JetBrains Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rr-ink);
}

/* Variation swatches / inputs */
.woocommerce table.variations select,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-cart input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	background: var(--rr-paper) !important;
	border: 1px solid var(--rr-rule) !important;
	border-radius: 4px !important;
	padding: 12px 14px !important;
	font-family: "Inter", sans-serif !important;
}

/* Cart and checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table,
.wc-block-cart, .wc-block-checkout {
	background: var(--rr-paper);
}
.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rr-mute);
	border-bottom: 1px solid var(--rr-rule);
}
.woocommerce-cart table.cart td,
.woocommerce-checkout table.shop_table td {
	border-bottom: 1px solid var(--rr-rule);
	background: transparent;
}
.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout h3 {
	font-family: "IM Fell English", Georgia, serif;
	font-weight: 400;
}
.woocommerce .cart-collaterals .cart_totals .order-total .woocommerce-Price-amount,
.wc-block-components-totals-footer-item-tax-value,
.wc-block-components-totals-item__value {
	color: var(--rr-cherry);
	font-family: "IM Fell English", Georgia, serif;
	font-size: 24px;
}

/* Account, login forms */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	font-family: "JetBrains Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--rr-cherry); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner {
	background: var(--rr-paper-warm) !important;
	border-top: 3px solid var(--rr-cherry) !important;
	color: var(--rr-ink) !important;
	font-family: "Inter", sans-serif;
}

/* Quantity input */
.woocommerce .quantity .qty {
	background: var(--rr-paper);
	border: 1px solid var(--rr-rule);
	border-radius: 4px;
	padding: 12px;
	font-family: "JetBrains Mono", monospace;
}

/* Block-based product cards (woocommerce/product-collection) */
.wc-block-grid__product, .wc-block-product, .wc-block-components-product-image img {
	border-radius: 6px;
}
.wc-block-components-product-name,
.wp-block-post-title.wc-block-components-product-name,
.wc-block-grid__product-title {
	font-family: "IM Fell English", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: 26px !important;
	line-height: 1 !important;
}
.wc-block-components-product-price,
.wc-block-grid__product-price {
	font-family: "IM Fell English", Georgia, serif !important;
	color: var(--rr-ink) !important;
	font-size: 22px !important;
}
