/* Aether WooCommerce — product grids, cards, single product, quick view */

.woocommerce .aether-products-grid,
.woocommerce ul.products.aether-products-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aether-products-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

.woocommerce ul.products.aether-products-grid::before,
.woocommerce ul.products.aether-products-grid::after {
	display: none !important;
}

.woocommerce ul.products.aether-products-grid li.product,
.woocommerce ul.products.aether-products-grid li.aether-product-list-item {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.aether-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aether-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -12px rgb(15 23 42 / 0.25);
}

.aether-product-card__media {
	position: relative;
	overflow: hidden;
	background: #f8fafc;
	aspect-ratio: 4 / 3;
}

.aether-product-card__image-link {
	display: block;
	height: 100%;
}

.aether-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.aether-product-card:hover .aether-product-card__image {
	transform: scale(1.04);
}

.aether-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #ef4444;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	line-height: 1.2;
}

.aether-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1rem 1rem 1.125rem;
}

.aether-product-card__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 0.5rem;
}

.aether-product-card__title a {
	color: #0f172a;
	text-decoration: none;
}

.aether-product-card__title a:hover {
	color: #3b82f6;
}

.aether-product-card__price {
	color: #475569;
	font-size: 0.95rem;
	margin-bottom: 0.875rem;
}

.aether-product-card__price .amount {
	font-weight: 600;
	color: #0f172a;
}

.aether-product-card__actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.aether-product-card__actions .button,
.aether-product-card__actions .add_to_cart_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.65rem 1rem !important;
	border-radius: 8px !important;
	background: #0a2540 !important;
	color: #fff !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	border: none !important;
	line-height: 1.2 !important;
}

.aether-product-card__actions .button:hover,
.aether-product-card__actions .add_to_cart_button:hover {
	background: #1e3a5f !important;
	color: #fff !important;
}

.wp-block-woocommerce-product-collection .wc-block-product-template,
.wp-block-woocommerce-product-collection .wc-block-product-template > ul {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-woocommerce-product-collection .wc-block-product,
.wp-block-woocommerce-product-collection li.wc-block-product {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-image,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image {
	margin: 0 !important;
}

.wp-block-woocommerce-product-collection .wc-block-components-product-image img,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

.wp-block-woocommerce-product-collection .wp-block-post-title,
.wp-block-woocommerce-product-collection .wc-block-components-product-title {
	font-size: 1rem !important;
	font-weight: 600 !important;
	margin: 1rem 1rem 0.5rem !important;
	padding: 0 1rem;
}

.wp-block-woocommerce-product-collection .wp-block-post-title a,
.wp-block-woocommerce-product-collection .wc-block-components-product-title a {
	color: #0f172a;
	text-decoration: none;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-collection .wc-block-components-product-price {
	padding: 0 1rem;
	margin-bottom: 0.75rem !important;
	color: #475569;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button,
.wp-block-woocommerce-product-collection .wc-block-components-product-button {
	padding: 0 1rem 1rem !important;
	margin-top: auto !important;
}

.wp-block-woocommerce-product-collection .wp-block-button__link,
.wp-block-woocommerce-product-collection .wc-block-components-product-button .wp-block-button__link {
	width: 100%;
	text-align: center;
	border-radius: 8px !important;
	background: #0a2540 !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.aether-demo-page .elementor-widget-shortcode .woocommerce {
	margin: 0 auto;
	max-width: 1280px;
}

.woocommerce div.product {
	max-width: 1280px;
	margin: 0 auto;
}

.aether-single-product {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.aether-single-product__breadcrumbs {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #64748b;
}

.aether-single-product__breadcrumbs a {
	color: #64748b;
	text-decoration: none;
}

.aether-single-product__breadcrumbs a:hover {
	color: #3b82f6;
}

.aether-single-product__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	margin-bottom: 2.5rem;
}

.aether-single-product__gallery {
	width: 100%;
	min-height: 0;
}

.aether-single-product__gallery .woocommerce-product-gallery,
.aether-single-product__gallery .woocommerce-product-gallery__wrapper,
.aether-single-product__gallery .woocommerce-product-gallery__image {
	opacity: 1 !important;
}

.aether-single-product__gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.aether-single-product__gallery .woocommerce-product-gallery__wrapper {
	max-height: none;
}

.aether-single-product__gallery .woocommerce-product-gallery__image img,
.aether-single-product__gallery img.wp-post-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
	background: #f8fafc;
	border-radius: 12px;
}

.aether-single-product__gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding: 0;
	list-style: none;
}

.aether-single-product__gallery .flex-control-thumbs li {
	width: 72px;
}

.aether-single-product__gallery .flex-control-thumbs img {
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
}

.aether-single-product__gallery .flex-control-thumbs img.flex-active {
	border-color: #3b82f6;
}

.aether-single-product__summary {
	width: 100%;
	float: none !important;
}

.aether-single-product__summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.aether-single-product__summary .single_add_to_cart_button {
	min-width: 200px;
}

.aether-single-product__tabs .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	border-bottom: 1px solid #e2e8f0;
}

.aether-single-product__tabs .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}

.aether-single-product__tabs .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.75rem 1rem;
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.aether-single-product__tabs .woocommerce-tabs ul.tabs li.active a {
	color: #0f172a;
	border-bottom-color: #3b82f6;
}

.aether-single-product__tabs .woocommerce-Tabs-panel {
	padding-top: 0.5rem;
}

.aether-single-product__gallery .woocommerce-product-gallery {
	position: relative;
}

.aether-single-product__summary .product_title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.aether-single-product__summary .woocommerce-product-rating {
	margin-bottom: 0.75rem;
}

.aether-single-product__summary .price {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1rem;
}

.aether-single-product__summary .woocommerce-product-details__short-description {
	color: #475569;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.aether-single-product__summary form.cart {
	margin-bottom: 1.25rem;
}

.aether-single-product__summary form.cart .quantity {
	margin-right: 0.75rem;
}

.aether-single-product__summary form.cart .qty {
	width: 4rem;
	padding: 0.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.aether-single-product__tabs {
	margin-bottom: 2.5rem;
}

.aether-single-product__related > h2 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

/* Hide empty quick-view modal and closed mini-cart drawer */
.aether-qv-modal[hidden] {
	display: none !important;
}

.wc-block-mini-cart__drawer:not(.is-open),
.wc-block-components-drawer:not(.is-open) {
	visibility: hidden;
	pointer-events: none;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	border-radius: 12px;
}

.woocommerce div.product .product_title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 1.35rem;
	color: #0f172a;
	margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: #475569;
	margin-bottom: 1.25rem;
	line-height: 1.6;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	background: #0a2540 !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 0.75rem 1.5rem !important;
	font-weight: 600 !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
	background: #1e3a5f !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid #e5e7eb;
	padding: 0;
	margin: 2rem 0 1rem;
}

body.aether-qv-open {
	overflow: hidden;
}

.aether-single-product .aether-container {
	max-width: 1280px;
}

.aether-qv-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.aether-qv-modal.is-open {
	display: block;
}

.aether-qv-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.55);
}

.aether-qv-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, calc(100% - 2rem));
	margin: 4vh auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
	overflow: hidden;
}

.aether-qv-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	border: none;
	background: #f1f5f9;
	border-radius: 999px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.aether-qv-modal__content {
	padding: 1.5rem;
}

.aether-qv-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.aether-qv-product__title {
	font-size: 1.5rem;
	margin: 0 0 0.5rem;
}

.aether-qv-product__price {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.aether-qv-product__excerpt {
	color: #475569;
	margin-bottom: 1rem;
}

.aether-qv-product__link a {
	color: #3b82f6;
	font-weight: 500;
}

@media (min-width: 900px) {
	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary {
		float: none;
		width: 100%;
	}

	.woocommerce #content div.product div.images,
	.woocommerce div.product div.images {
		float: none;
		width: 100%;
	}
}

@media (max-width: 899px) {
	.aether-single-product__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (min-width: 900px) {
	.woocommerce #content div.product,
	.woocommerce div.product.aether-single-product__card {
		display: block;
	}
}

@media (max-width: 1024px) {
	.woocommerce .aether-products-grid,
	.woocommerce ul.products.aether-products-grid,
	.wp-block-woocommerce-product-collection .wc-block-product-template,
	.wp-block-woocommerce-product-collection .wc-block-product-template > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.woocommerce .aether-products-grid,
	.woocommerce ul.products.aether-products-grid,
	.wp-block-woocommerce-product-collection .wc-block-product-template,
	.wp-block-woocommerce-product-collection .wc-block-product-template > ul {
		grid-template-columns: 1fr;
	}

	.aether-qv-product {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Shop archive
   -------------------------------------------------------------------------- */
.aether-shop {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.aether-shop__breadcrumbs,
.aether-single-product__breadcrumbs {
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
	color: #64748b;
}

.aether-shop__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0 0 0.5rem;
}

.aether-shop__header {
	margin-bottom: 1.5rem;
}

.aether-shop__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.aether-shop__toolbar .woocommerce-ordering select,
.aether-shop__toolbar .orderby {
	padding: 0.5rem 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	font-size: 0.875rem;
}

.aether-shop .woocommerce-pagination {
	margin-top: 2rem;
	text-align: center;
}

.aether-shop .woocommerce-pagination ul {
	display: inline-flex;
	gap: 0.35rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.aether-shop .woocommerce-pagination ul li a,
.aether-shop .woocommerce-pagination ul li span {
	display: inline-flex;
	min-width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	color: #334155;
}

.aether-shop .woocommerce-pagination ul li span.current {
	background: #0a2540;
	border-color: #0a2540;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Cart & Checkout pages
   -------------------------------------------------------------------------- */
.aether-woo-page {
	max-width: 1100px;
	margin: 0 auto;
}

.aether-woo-page__header {
	margin-bottom: 1.5rem;
}

.aether-woo-page__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0;
}

.aether-cart-page,
.aether-checkout-page {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.woocommerce-cart .woocommerce table.shop_table,
.woocommerce-checkout .woocommerce table.shop_table {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

.woocommerce-cart .woocommerce table.shop_table th,
.woocommerce-cart .woocommerce table.shop_table td,
.woocommerce-checkout .woocommerce table.shop_table th,
.woocommerce-checkout .woocommerce table.shop_table td {
	padding: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.woocommerce-cart .woocommerce table.shop_table thead th {
	background: #f8fafc;
	font-weight: 600;
}

.woocommerce-cart .woocommerce table.shop_table img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
}

.woocommerce-cart .actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.woocommerce-cart .actions .coupon input,
.woocommerce-cart .actions .coupon .button,
.woocommerce-cart .actions > .button,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
	font-size: 0.95rem;
}

.woocommerce-cart .actions .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: #0a2540 !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 0.75rem 1.25rem !important;
	font-weight: 600 !important;
	border: none !important;
}

.woocommerce-cart .actions .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
	background: #1e3a5f !important;
	color: #fff !important;
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.woocommerce-checkout-review-order-table {
	margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row label {
	font-weight: 500;
	margin-bottom: 0.35rem;
	display: block;
}

.wc-block-cart,
.wc-block-checkout {
	max-width: 1100px;
	margin: 0 auto;
}

.wc-block-components-sidebar-layout {
	gap: 2rem;
}

@media (max-width: 899px) {
	.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
	}
}

/* ─── WoodMart-style shop header ─── */
.aether-shop-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}

.aether-shop-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem;
	min-height: 72px;
}

.aether-shop-header__brand .custom-logo {
	max-height: 42px;
	width: auto;
}

.aether-shop-header__site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0a2540;
	text-decoration: none;
}

.aether-shop-header__search {
	flex: 1;
	max-width: 560px;
	position: relative;
}

.aether-live-search__form {
	display: flex;
	align-items: stretch;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
}

.aether-live-search__category {
	border: none;
	background: #fff;
	padding: 0 0.75rem;
	font-size: 0.875rem;
	max-width: 140px;
	border-right: 1px solid #e2e8f0;
}

.aether-live-search__input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.65rem 0.85rem;
	font-size: 0.95rem;
	min-width: 0;
}

.aether-live-search__input:focus {
	outline: none;
}

.aether-live-search__submit {
	border: none;
	background: #0a2540;
	color: #fff;
	padding: 0 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.aether-live-search__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 16px 40px -20px rgb(15 23 42 / 0.35);
	z-index: 200;
	max-height: 380px;
	overflow: auto;
}

.aether-live-search__list {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
}

.aether-live-search__item a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem;
	border-radius: 8px;
	text-decoration: none;
	color: #0f172a;
}

.aether-live-search__item a:hover {
	background: #f1f5f9;
}

.aether-live-search__thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.aether-live-search__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.875rem;
}

.aether-live-search__view-all {
	display: block;
	padding: 0.75rem 1rem;
	text-align: center;
	font-weight: 600;
	font-size: 0.875rem;
	border-top: 1px solid #e2e8f0;
	color: #0a2540;
	text-decoration: none;
}

.aether-shop-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

.aether-shop-header__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	padding: 0.35rem 0.5rem;
	color: #334155;
	text-decoration: none;
	font-size: 0.7rem;
	position: relative;
	background: none;
	border: none;
	cursor: pointer;
}

.aether-header-cart__count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aether-header-cart {
	position: relative;
}

.aether-header-cart__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 320px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 20px 40px -24px rgb(15 23 42 / 0.4);
	padding: 1rem;
	display: none;
	z-index: 210;
}

.aether-header-cart.is-open .aether-header-cart__dropdown {
	display: block;
}

.aether-mini-cart__items {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	max-height: 240px;
	overflow: auto;
}

.aether-mini-cart__item {
	display: flex;
	gap: 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f1f5f9;
}

.aether-mini-cart__thumb img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 6px;
}

.aether-mini-cart__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
}

.aether-mini-cart__qty {
	font-size: 0.8rem;
	color: #64748b;
}

.aether-mini-cart__footer {
	display: grid;
	gap: 0.5rem;
}

.aether-mini-cart__btn {
	display: block;
	text-align: center;
	padding: 0.6rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

.aether-mini-cart__btn--cart {
	background: #f1f5f9;
	color: #0f172a;
}

.aether-mini-cart__btn--checkout {
	background: #0a2540;
	color: #fff;
}

.aether-shop-header__categories {
	border-top: 1px solid #f1f5f9;
	background: #fafbfc;
	overflow-x: auto;
}

.aether-shop-header__cat-list {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0.5rem 1rem;
	white-space: nowrap;
}

.aether-shop-header__cat-link {
	display: block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-size: 0.875rem;
	color: #475569;
	text-decoration: none;
}

.aether-shop-header__cat-link:hover,
.aether-shop-header__cat-link.is-active {
	background: #0a2540;
	color: #fff;
}

.aether-shop-header__mobile-toggle {
	display: none;
}

/* ─── Shop layout + AJAX filters ─── */
.aether-shop-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 2rem;
	align-items: start;
}

.aether-shop-filters-toggle {
	display: none;
	margin-bottom: 1rem;
	padding: 0.6rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	cursor: pointer;
}

.aether-shop-filters {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem;
	position: sticky;
	top: 100px;
}

.aether-shop-filters__title {
	margin: 0 0 1rem;
	font-size: 1rem;
}

.aether-shop-filters__group {
	margin-bottom: 1rem;
}

.aether-shop-filters__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: #475569;
}

.aether-shop-filters__select,
.aether-shop-filters__input {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
}

.aether-shop-filters__price-row {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.aether-shop-filters__price-row .aether-shop-filters__input {
	flex: 1;
}

.aether-shop-filters__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
}

.aether-shop-filters__clear {
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.55rem;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	font-size: 0.875rem;
}

.aether-shop-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	min-height: 0;
}

.aether-shop-chip {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	background: #e0f2fe;
	color: #0369a1;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
}

.aether-shop__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.aether-shop-products.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.aether-shop__footer-toolbar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.aether-shop__load-more {
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 8px;
	background: #0a2540;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.aether-product-card__quick-view {
	display: block;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.5rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #334155;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

.aether-product-card__quick-view:hover {
	border-color: #0a2540;
	color: #0a2540;
}

.aether-product-card__actions .added_to_cart {
	display: none !important;
}

@media (max-width: 1024px) {
	.aether-shop-layout {
		grid-template-columns: 1fr;
	}

	.aether-shop-filters-toggle {
		display: inline-flex;
	}

	.aether-shop-filters {
		display: none;
		position: static;
	}

	.aether-shop-filters.is-open {
		display: block;
		margin-bottom: 1rem;
	}

	.aether-shop-header__search {
		display: none;
	}

	.aether-shop-header__action-label {
		display: none;
	}
}

@media (max-width: 640px) {
	.woocommerce .aether-products-grid,
	.woocommerce ul.products.aether-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

/* Wishlist & compare */
.aether-product-card__tools {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.aether-product-card:hover .aether-product-card__tools,
.aether-product-card__tools:focus-within {
	opacity: 1;
	transform: translateY(0);
}

.aether-list-toggle {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #64748b;
	box-shadow: 0 4px 12px rgb(15 23 42 / 0.12);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, background 0.2s ease;
}

.aether-list-toggle:hover,
.aether-list-toggle.is-active {
	color: #ef4444;
	background: #fff;
}

.aether-compare-toggle.is-active {
	color: #0a2540;
}

.aether-header-list__count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #0a2540;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aether-header-list__count[hidden] {
	display: none !important;
}

.aether-list-page__header {
	margin-bottom: 2rem;
}

.aether-list-page__title {
	margin: 0 0 0.5rem;
	font-size: 2rem;
}

.aether-list-page__desc {
	margin: 0;
	color: #64748b;
}

.aether-list-empty {
	padding: 3rem 1rem;
	text-align: center;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
}

.aether-compare-table-wrap {
	overflow-x: auto;
}

.aether-compare-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}

.aether-compare-table th,
.aether-compare-table td {
	padding: 1rem;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
	text-align: left;
}

.aether-compare-table thead th {
	background: #f8fafc;
	font-weight: 600;
}

.aether-compare-remove {
	margin-left: 0.5rem;
	border: none;
	background: #fee2e2;
	color: #b91c1c;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.aether-product-card__tools {
		opacity: 1;
		transform: none;
	}
}
