/**
 * AutoHoistPro WooCommerce styles.
 *
 * Scoped skins for native WooCommerce markup: notices, form-row inputs,
 * quantity stepper, buttons pushed to the tf-btn look (#AA1E1E), product
 * grid, cart/checkout tables, pagination, reviews, account. Storefront
 * components (cards, mini-cart, toolbar, modals) are styled by the
 * vendored styles.css. No !important spam: specificity via scoping.
 */

/* Buttons: tf-btn look. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 400;
	text-transform: uppercase;
	height: 48px;
	padding: 0 20px;
	background: var(--primary-theme-color, #aa1e1e);
	color: var(--white, #fff);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce a.checkout-button:hover { background: #000; color: #fff; }
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button.alt.disabled { color: #fff; opacity: 0.55; cursor: not-allowed; }

/* Notices. */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error { margin: 0 0 24px; padding: 14px 18px; border-radius: 8px; font-size: 15px; line-height: 1.5; list-style: none; }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before { display: none; }
.woocommerce .woocommerce-message { background: #ecf9f0; border-top: 3px solid #1c9737; color: #14582a; }
.woocommerce .woocommerce-info { background: #eef3fa; border-top: 3px solid #0a3a7c; color: #0a3a7c; }
.woocommerce .woocommerce-error { background: #fdeeee; border-top: 3px solid #aa1e1e; color: #7a1515; }
.woocommerce .woocommerce-message a.button { height: 34px; padding: 0 14px; margin-left: 8px; }

/* Product grid (archives + related). */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.woocommerce ul.products li.product { width: 100%; margin: 0; float: none; }
@media (max-width: 1199px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
}

/* Sale badge (sale flash renders "SALE" or "-20%"). */
.woocommerce span.onsale {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--primary-theme-color, #aa1e1e);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	z-index: 2;
}

/* Star ratings (WC core markup). */
.woocommerce .star-rating { display: inline-block; position: relative; overflow: hidden; width: 5.4em; height: 1em; font-size: 14px; line-height: 1; font-family: star, sans-serif; }
.woocommerce .star-rating::before { content: '\73\73\73\73\73'; color: #d9d9d9; position: absolute; top: 0; left: 0; }
.woocommerce .star-rating span { overflow: hidden; float: left; position: absolute; top: 0; left: 0; padding-top: 1.5em; color: #ffb703; }
.woocommerce .star-rating span::before { content: '\53\53\53\53\53'; position: absolute; top: 0; left: 0; }

/* Forms: form-row inputs, quantity stepper. */
.woocommerce form .form-row { padding: 6px 0; margin: 0 0 10px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce select,
.woocommerce input.input-text,
.woocommerce textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 16px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	color: #111;
	transition: border-color 0.2s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce select:focus,
.woocommerce input.input-text:focus,
.woocommerce textarea:focus { border-color: var(--primary-theme-color, #aa1e1e); outline: none; }
.woocommerce form .form-row .required { color: var(--primary-theme-color, #aa1e1e); text-decoration: none; }
.woocommerce .quantity .qty { width: 76px; height: 44px; padding: 0 10px; text-align: center; border: 1px solid #e2e2e2; border-radius: 8px; -moz-appearance: textfield; }
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Single product add-to-cart form. */
.woocommerce form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 14px 0 0; }
.woocommerce form.cart .variations { margin-bottom: 10px; }
.woocommerce form.cart .variations td,
.woocommerce form.cart .variations th { padding: 6px 10px 6px 0; border: 0; background: none; text-align: left; }
.woocommerce form.cart .variations select { width: auto; min-width: 180px; }
.woocommerce form.cart .single_variation_wrap { width: 100%; }
.woocommerce-variation-price { margin-bottom: 10px; }

/* Prices. */
.woocommerce .price del,
.woocommerce .price del .woocommerce-Price-amount { color: #999; opacity: 1; font-size: 0.85em; }
.woocommerce .price ins,
.woocommerce .price ins .woocommerce-Price-amount { text-decoration: none; font-weight: 700; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #111; font-size: 22px; }

/* Cart + checkout tables. */
.woocommerce table.shop_table { width: 100%; border: 1px solid #e8e8e8; border-collapse: collapse; border-radius: 8px; overflow: hidden; margin: 0 0 32px; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid #efefef; text-align: left; vertical-align: middle; font-size: 14px; }
.woocommerce table.shop_table th { background: #f7f7f7; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.woocommerce table.shop_table td.product-thumbnail img { width: 74px; height: 88px; object-fit: cover; border-radius: 6px; }
.woocommerce table.shop_table td.product-name a { color: #111; font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table td.actions { text-align: right; }
.woocommerce table.shop_table td.actions .coupon .input-text { width: 200px; height: 44px; padding: 0 14px; display: inline-block; }
.woocommerce table.shop_table td.actions .coupon .button { height: 44px; }
.woocommerce a.remove { color: #b00; font-size: 20px; line-height: 1; text-decoration: none; }
.woocommerce a.remove:hover { color: var(--primary-theme-color, #aa1e1e); background: transparent; }
.woocommerce .cart_totals table.shop_table { border: 0; margin-bottom: 0; }
.woocommerce .cart_totals h2 { font-size: 22px; margin-bottom: 14px; }
.woocommerce .wc-proceed-to-checkout { padding: 12px 0; }

/* Checkout. */
.woocommerce-checkout-review-order-table { margin-bottom: 24px; }
.woocommerce-checkout #payment { background: #f7f7f7; border: 1px solid #e8e8e8; border-radius: 8px; padding: 18px; margin-top: 20px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 0; border-bottom: 1px dashed #ddd; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid #e4e4e4; border-radius: 6px; padding: 12px; margin-top: 10px; font-size: 13px; }

/* Result count + ordering toolbar. */
.woocommerce .woocommerce-result-count { margin: 0; font-size: 13px; text-transform: uppercase; color: #555; }
.woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }

/* Pagination. */
.woocommerce nav.woocommerce-pagination { margin: 30px 0 10px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 8px; list-style: none; margin: 0; padding: 0; border: 0; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	color: #111;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s ease;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current { background: var(--primary-theme-color, #aa1e1e); border-color: var(--primary-theme-color, #aa1e1e); color: #fff; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots { border-color: transparent; }

/* Reviews. */
.woocommerce #reviews #comments ol.commentlist { list-style: none; margin: 16px 0 0; padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { border: 1px solid #efefef; border-radius: 8px; padding: 16px; margin-bottom: 14px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { width: 48px; height: 48px; border-radius: 50%; background: #f4f4f4; border: 1px solid #eee; float: left; margin: 0 12px 0 0; position: static; padding: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0; border: 0; padding: 0; }

/* Account, breadcrumb, gallery, helpers. */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 220px; float: left; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { padding: 10px 0; border-bottom: 1px solid #efefef; }
.woocommerce-account .woocommerce-MyAccount-content { width: calc(100% - 240px); float: right; }
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
}
.woocommerce nav.woocommerce-breadcrumb { font-size: 13px; color: var(--white, #fff); }
.woocommerce div.product div.images { margin-bottom: 20px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce::after,
.woocommerce ul.products::after { content: ''; display: table; clear: both; }
