/**
 * Creator Merch - WooCommerce Overrides & Catalog Styling
 * Ultra-fast affiliate catalog grid with dark luxury streetwear aesthetic.
 */

.tb-products-section {
	padding: 5rem 0;
	border-bottom: 1px solid var(--tb-border);
}

/* Tab filter controls */
.tb-product-tabs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}

.tb-product-tab {
	background: #201f1e;
	border: 2px solid var(--tb-border);
	color: var(--tb-text);
	padding: 0.5rem 1.1rem;
	font-family: var(--tb-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	border-radius: var(--tb-radius-pill);
	cursor: pointer;
	transition: all 0.2s ease;
}

.tb-product-tab:hover,
.tb-product-tab.is-active {
	border-color: var(--tb-primary) !important;
	color: #FFFFFF !important;
	background: var(--tb-primary) !important;
}

/* Product Card Grid */
.tb-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

@media (max-width: 1100px) {
	.tb-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 800px) {
	.tb-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

@media (max-width: 480px) {
	.tb-products-grid {
		grid-template-columns: 1fr;
	}
}

/* Product Card (Google Stitch Creator Commerce - Clean Light Mode) */
.tb-product-card,
body.woocommerce ul.products li.product.tb-product-card {
	background: #201f1e !important;
	border: 2px solid var(--tb-border) !important;
	border-radius: var(--tb-radius-md, 16px) !important;
	box-shadow: 0 4px 16px rgba(30, 41, 59, 0.04) !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative !important;
	overflow: hidden !important;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease !important;
}

.tb-product-card:hover,
body.woocommerce ul.products li.product.tb-product-card:hover {
	transform: translateY(-4px) !important;
	border-color: var(--tb-primary) !important;
	box-shadow: 0 12px 28px var(--tb-primary-glow) !important;
}

.tb-product-card__media {
	aspect-ratio: var(--tb-product-aspect-ratio, 4 / 5) !important;
	width: 100% !important;
	position: relative !important;
	overflow: hidden !important;
	background: var(--tb-bg-elevated) !important;
	display: block !important;
	border-radius: 14px 14px 0 0 !important;
}

.tb-product-card__img,
body.woocommerce ul.products li.product img.tb-product-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	transition: transform var(--tb-transition-smooth, 250ms cubic-bezier(0.4, 0, 0.2, 1)) !important;
	display: block !important;
}

.tb-product-card:hover .tb-product-card__img {
	transform: scale(1.04) !important;
}

.tb-product-card__badge {
	position: absolute !important;
	top: 0.75rem !important;
	left: 0.75rem !important;
	background: var(--tb-primary-gradient) !important;
	color: var(--tb-primary-text) !important;
	font-family: var(--tb-font-heading, sans-serif) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	padding: 0.25rem 0.75rem !important;
	border-radius: var(--tb-radius-pill, 9999px) !important;
	box-shadow: 0 2px 8px var(--tb-primary-glow) !important;
	z-index: 2 !important;
}

.tb-product-card__badge--limited {
	background: var(--tb-primary-gradient) !important;
	color: var(--tb-primary-text) !important;
}

.tb-product-card__body,
body.woocommerce ul.products li.product .tb-product-card__body {
	padding: 1.25rem !important;
	background: #201f1e !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 !important;
	border-top: 1px solid var(--tb-border) !important;
}

.tb-product-card__category {
	font-size: 0.72rem !important;
	color: var(--tb-primary) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	margin-bottom: 0.35rem !important;
}

.tb-product-card__title,
body.woocommerce ul.products li.product .tb-product-card__title {
	font-family: var(--tb-font-heading, sans-serif) !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	margin-bottom: 0.75rem !important;
	line-height: 1.35 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.tb-product-card__title a {
	color: var(--tb-text) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.tb-product-card__title a:hover {
	color: var(--tb-primary) !important;
}

.tb-product-card__price-row {
	display: flex !important;
	align-items: baseline !important;
	gap: 0.5rem !important;
	margin-top: auto !important;
	margin-bottom: 1rem !important;
}

.tb-product-card__price,
body.woocommerce ul.products li.product .tb-product-card__price {
	font-family: var(--tb-font-heading, sans-serif) !important;
	font-size: 1.25rem !important;
	font-weight: 800 !important;
	color: var(--tb-primary) !important;
}

.tb-product-card__price del {
	font-size: 0.85rem !important;
	color: var(--tb-text-dim) !important;
	font-weight: 500 !important;
	text-decoration: line-through !important;
}

.tb-product-card__price ins {
	text-decoration: none !important;
	color: var(--tb-primary) !important;
}

.tb-product-card__btn,
body.woocommerce ul.products li.product a.tb-product-card__btn {
	width: 100% !important;
	padding: 0.65rem 1.25rem !important;
	font-family: var(--tb-font-heading, sans-serif) !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em !important;
	background: var(--tb-primary) !important;
	color: var(--tb-primary-text) !important;
	border-radius: var(--tb-radius-pill, 9999px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.4rem !important;
	text-decoration: none !important;
	box-shadow: 0 4px 14px var(--tb-primary-glow) !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border: none !important;
}

.tb-product-card__btn:hover,
body.woocommerce ul.products li.product a.tb-product-card__btn:hover {
	background: var(--tb-primary-hover) !important;
	color: var(--tb-primary-text) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px var(--tb-primary-glow) !important;
}

/* Empty state */
.tb-empty-state {
	text-align: center;
	padding: 4rem 1.5rem;
	border: 1px dashed var(--tb-border);
	background: var(--tb-bg-card);
}

.tb-empty-state__icon {
	color: var(--tb-primary);
	margin-bottom: 1rem;
}

.tb-empty-state__title {
	margin-bottom: 0.5rem;
}

.tb-empty-state__desc {
	margin-bottom: 1.5rem;
}

/* ==========================================================================
   Single Product & WooCommerce Core Overrides
   ========================================================================== */

/* Hide any stray sidebars or widget areas on WooCommerce pages */
.woocommerce-page #secondary,
.woocommerce #secondary,
.single-product #secondary,
.widget-area,
.sidebar {
	display: none !important;
}

/* Ensure single product and WooCommerce pages are ALWAYS contained and never touch screen borders */
.single-product .woocommerce,
.single-product div.product,
.woocommerce-page .woocommerce {
	width: 100%;
	max-width: var(--tb-container-width);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--tb-space-md) !important;
	padding-right: var(--tb-space-md) !important;
	box-sizing: border-box !important;
}

/* Hide default unstyled WooCommerce tabs (since we use custom bounded sections for Description, Size Guide, Reviews) */
.single-product div.product .woocommerce-tabs,
.single-product div.product ul.tabs {
	display: none !important;
}

.single-product #tb-main,
.woocommerce-page #tb-main {
	background: var(--tb-bg);
	color: var(--tb-text);
}

@media (max-width: 900px) {

	.tb-single-layout,
	.single-product div.product {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	.tb-single-media {
		position: static !important;
	}
}

/* Product gallery */
.single-product div.product div.images {
	flex: 1 1 48%;
	max-width: 580px;
	background: var(--tb-bg-card);
	border: 1px solid var(--tb-border);
	overflow: hidden;
}

.single-product div.product div.images img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Product Summary */
.single-product div.product div.summary {
	flex: 1 1 46%;
	display: flex;
	flex-direction: column;
}

.single-product .woocommerce-breadcrumb {
	font-size: 0.8rem;
	color: var(--tb-text-muted);
	margin-bottom: 1.5rem;
	letter-spacing: 0.04em;
}

.single-product .woocommerce-breadcrumb a {
	color: var(--tb-text-muted);
	transition: color var(--tb-transition-fast);
}

.single-product .woocommerce-breadcrumb a:hover {
	color: var(--tb-primary);
}

.single-product div.product .product_title {
	font-family: var(--tb-font-heading);
	font-size: 2.25rem;
	font-weight: 900;
	color: var(--tb-text);
	text-transform: uppercase;
	line-height: 1.15;
	margin: 0 0 1rem;
	letter-spacing: -0.01em;
}

.single-product div.product p.price,
.single-product div.product span.price {
	font-family: var(--tb-font-heading);
	font-size: 2rem;
	font-weight: 800;
	color: var(--tb-primary);
	margin-bottom: 1.5rem;
	display: block;
}

.single-product div.product .woocommerce-product-details__short-description {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--tb-text-muted);
	margin-bottom: 1.5rem;
}

.single-product div.product form.cart {
	margin-bottom: 1rem;
}

.single-product div.product form.cart .button {
	background: var(--tb-primary) !important;
	color: var(--tb-primary-text) !important;
	font-family: var(--tb-font-heading);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 1.15rem 2rem;
	font-size: 1.05rem;
	border: none;
	border-radius: 0;
	box-shadow: 0 4px 20px var(--tb-primary-glow);
	transition: all var(--tb-transition-fast);
}

.single-product div.product form.cart .button:hover {
	background: var(--tb-primary-hover) !important;
	box-shadow: 0 6px 28px var(--tb-primary-glow);
	transform: translateY(-2px);
}

.single-product div.product .product_meta {
	font-size: 0.8rem;
	color: var(--tb-text-dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-top: 1px solid var(--tb-border);
	padding-top: 1rem;
	margin-top: 1rem;
}

.single-product div.product .product_meta a {
	color: var(--tb-text-muted);
}

.single-product div.product .product_meta a:hover {
	color: var(--tb-primary);
}

/* Related Products Grid */
.related.products {
	border-top: 1px solid var(--tb-border);
	padding-top: 3.5rem;
	margin-top: 2rem;
}

.related.products h2 {
	font-family: var(--tb-font-heading);
	font-size: 1.6rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tb-text);
	margin-bottom: 2rem;
}

.related.products ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (max-width: 768px) {
	.related.products ul.products {
		grid-template-columns: 1fr;
	}
}

.related.products ul.products li.product {
	background: var(--tb-bg-card);
	border: 1px solid var(--tb-border);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	transition: border-color var(--tb-transition-fast);
}

.related.products ul.products li.product:hover {
	border-color: var(--tb-primary);
}

.related.products ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 1rem;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--tb-font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: var(--tb-text);
	margin-bottom: 0.5rem;
}

.related.products ul.products li.product .price {
	font-family: var(--tb-font-heading);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--tb-text);
	margin-bottom: 1rem;
}

.related.products ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	background: var(--tb-primary) !important;
	color: var(--tb-primary-text) !important;
	font-family: var(--tb-font-heading);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.75rem 1rem;
	text-align: center;
	border: none;
	border-radius: 0;
}

/* ==========================================================================
   Single Product Size Guide Tabs & Panels
   ========================================================================== */
.tb-size-tabs {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}

.tb-size-tab {
	background: transparent;
	color: var(--tb-text-muted);
	border: 1px solid var(--tb-border);
	padding: 0.75rem 1.5rem;
	font-family: var(--tb-font-heading);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: all var(--tb-transition-fast);
}

.tb-size-tab {
	background: #201f1e;
	border: 2px solid var(--tb-border);
	color: var(--tb-text);
	padding: 0.6rem 1.25rem;
	font-family: var(--tb-font-heading);
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: var(--tb-radius-pill);
	cursor: pointer;
	transition: all 0.2s ease;
}

.tb-size-tab:hover,
.tb-size-tab.is-active {
	border-color: var(--tb-primary) !important;
	color: var(--tb-primary-text) !important;
	background: var(--tb-primary) !important;
}

.tb-size-tab.is-active {
	background: var(--tb-primary) !important;
	color: var(--tb-primary-text) !important;
	border-color: var(--tb-primary) !important;
}

.tb-size-panel {
	display: none !important;
}

.tb-size-panel.is-active {
	display: block !important;
}

@media (max-width: 768px) {
	.tb-size-panel>div {
		grid-template-columns: 1fr !important;
		gap: 1.5rem !important;
	}

	.tb-rating-overview-card {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	.tb-rating-overview-card>div:first-child {
		border-right: none !important;
		border-bottom: 1px solid var(--tb-border);
		padding-right: 0 !important;
		padding-bottom: 1.5rem;
	}
}

.tb-review-card:hover {
	border-color: var(--tb-primary) !important;
}

/* ==========================================================================
   Product Gallery Thumbnails
   ========================================================================== */
.tb-gallery-thumb:hover {
	border-color: var(--tb-primary) !important;
	opacity: 1 !important;
}

.tb-gallery-thumb.is-active {
	border-color: var(--tb-primary) !important;
	opacity: 1 !important;
}

/* ==========================================================================
   Product Description & Entry Content (Wide, High-Readability Layout)
   ========================================================================== */
.tb-single__description .tb-entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--tb-text);
}

.tb-single__description .tb-entry-content p {
	margin-bottom: 1.5rem;
}

.tb-single__description .tb-entry-content h2,
.tb-single__description .tb-entry-content h3,
.tb-single__description .tb-entry-content h4 {
	color: var(--tb-text);
	font-family: var(--tb-font-heading);
	font-weight: 800;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.tb-single__description .tb-entry-content ul,
.tb-single__description .tb-entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.tb-single__description .tb-entry-content li {
	margin-bottom: 0.5rem;
	line-height: 1.75;
}

.tb-single__description .tb-entry-content blockquote {
	background: var(--tb-bg-card);
	border-left: 3px solid var(--tb-primary);
	padding: 1.25rem 1.75rem;
	margin: 2rem 0;
	font-style: italic;
	color: var(--tb-text);
}

/* ==========================================================================
   Catalog Archive Grid & Fail-Safe Container Constraints
   ========================================================================== */
.tb-catalog-archive {
	width: 100%;
	background: var(--tb-bg);
}

.woocommerce.archive #primary,
.woocommerce-page.archive #primary,
.woocommerce.archive .site-main,
.woocommerce-page.archive .site-main {
	width: 100% !important;
	max-width: var(--tb-container-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--tb-space-md) !important;
	padding-right: var(--tb-space-md) !important;
}

/* Standard WooCommerce product loop list reset & responsive 4-column grid */
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 1.5rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 2.5rem 0 !important;
}

ul.products::before,
ul.products::after {
	display: none !important;
}

ul.products li.product {
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
}

@media (max-width: 1100px) {
	ul.products {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 800px) {
	ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1rem !important;
	}
}

@media (max-width: 480px) {
	ul.products {
		grid-template-columns: 1fr !important;
	}
}

/* WooCommerce Result Count & Catalog Ordering (Google Stitch Light Mode) */
.woocommerce-result-count,
.tb-catalog-toolbar__count {
	font-size: 0.88rem !important;
	color: var(--tb-text-muted) !important;
	margin: 0 !important;
	line-height: 1.5 !important;
	font-weight: 600 !important;
}

.woocommerce-ordering,
.tb-catalog-toolbar__sort {
	margin: 0 !important;
}

.woocommerce-ordering select.orderby,
.tb-catalog-toolbar__sort select.orderby {
	background: #201f1e !important;
	color: var(--tb-text) !important;
	border: 1.5px solid var(--tb-border-light) !important;
	padding: 0.55rem 1.35rem !important;
	font-family: var(--tb-font-body, sans-serif) !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	border-radius: var(--tb-radius-pill, 9999px) !important;
	cursor: pointer !important;
	outline: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
	transition: all var(--tb-transition-fast, 150ms) !important;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus {
	border-color: var(--tb-primary) !important;
	box-shadow: 0 0 0 3px var(--tb-primary-glow) !important;
}

/* ==========================================================================
   Google Stitch Light Mode WooCommerce Pagination
   ========================================================================== */
.woocommerce-pagination,
.tb-catalog-pagination-wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 3.5rem auto 1.5rem !important;
	clear: both !important;
}

.woocommerce-pagination ul.page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 0.6rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
	display: inline-block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
}

.woocommerce-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 44px !important;
	height: 44px !important;
	padding: 0 0.9rem !important;
	font-family: var(--tb-font-heading) !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	color: var(--tb-text-muted) !important;
	background: var(--tb-bg-card) !important;
	border: 1px solid var(--tb-border) !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	transition: all var(--tb-transition-fast) !important;
	line-height: 1 !important;
}

.woocommerce-pagination a.page-numbers:hover {
	color: var(--tb-primary-text) !important;
	border-color: var(--tb-primary) !important;
	background: var(--tb-primary-glow) !important;
	transform: translateY(-2px);
}

.woocommerce-pagination span.page-numbers.current {
	color: var(--tb-primary-text) !important;
	background: var(--tb-primary) !important;
	border-color: var(--tb-primary) !important;
	box-shadow: 0 4px 15px var(--tb-primary-glow) !important;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
	font-size: 1.15rem !important;
	padding: 0 1.1rem !important;
}




/* ==========================================================================
   Mobile Sticky Buy Bar (Conversion Rate Optimizer Hack)
   ========================================================================== */
.tb-mobile-sticky-bar {
	display: none;
}

@media (max-width: 768px) {
	.tb-mobile-sticky-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		background: rgba(10, 13, 20, 0.95);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--tb-border);
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
		padding: 0.75rem 1rem env(safe-area-inset-bottom, 0.75rem);
		animation: tbSlideUp 0.3s ease;
	}

	.tb-mobile-sticky-bar__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		max-width: 500px;
		margin: 0 auto;
	}

	.tb-mobile-sticky-bar__info {
		display: flex;
		flex-direction: column;
		min-width: 0;
		flex: 1;
	}

	.tb-mobile-sticky-bar__title {
		font-size: 0.82rem;
		font-weight: 700;
		color: var(--tb-text);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 1.2;
	}

	.tb-mobile-sticky-bar__price {
		font-family: var(--tb-font-heading);
		font-size: 1.15rem;
		font-weight: 900;
		color: var(--tb-primary);
		line-height: 1.2;
	}

	.tb-mobile-sticky-bar__btn {
		flex-shrink: 0;
		padding: 0.7rem 1.25rem !important;
		font-size: 0.88rem !important;
		font-weight: 800 !important;
		display: flex;
		align-items: center;
		gap: 0.4rem;
		box-shadow: 0 4px 14px var(--tb-primary-glow);
	}

	@keyframes tbSlideUp {
		from {
			transform: translateY(100%);
		}

		to {
			transform: translateY(0);
		}
	}
}


/* Universal Contrast Safety Rule (Protects light & dark themes alike) */
.single-product div.product .product_title,
.woocommerce-products-header__title,
.tb-single-summary h1,
.tb-catalog-title,
.related.products h2,
.related.products ul.products li.product .woocommerce-loop-product__title {
	color: var(--tb-text) !important;
}

/* ==========================================================================
   HIGH-CONTRAST FORM CONTROLS & DROPDOWN ENGINE (ZERO TEXT LOSS)
   ========================================================================== */
select,
select.orderby,
.woocommerce-ordering select,
.woocommerce-ordering select.orderby,
.tb-catalog-toolbar__sort select,
.tb-catalog-toolbar__sort select.orderby,
.woocommerce select,
body.woocommerce select {
	background-color: #201f1e !important;
	color: #ffffff !important;
	border: 1.5px solid #44474a !important;
	border-radius: 9999px !important;
	padding: 0.6rem 2.6rem 0.6rem 1.25rem !important;
	font-family: 'JetBrains Mono', monospace !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	outline: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ddb7ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 1rem center !important;
	background-size: 14px 14px !important;
	box-shadow: 2px 2px 0px #000000 !important;
	transition: all 0.2s ease !important;
}

select:hover,
select.orderby:hover,
.woocommerce-ordering select:hover,
.woocommerce-ordering select.orderby:hover {
	border-color: #ddb7ff !important;
	box-shadow: 3px 3px 0px #ddb7ff !important;
}

select:focus,
select.orderby:focus,
.woocommerce-ordering select:focus,
.woocommerce-ordering select.orderby:focus {
	border-color: #ddb7ff !important;
	box-shadow: 3px 3px 0px #ddb7ff !important;
}

/* DROPDOWN OPTIONS: CRITICAL FIX TO PREVENT BLACK-ON-BLACK TEXT LOSS ACROSS ALL BROWSERS */
select option,
select.orderby option,
.woocommerce-ordering select option,
.woocommerce-ordering select.orderby option,
.tb-catalog-toolbar__sort select option,
.woocommerce select option,
body.woocommerce select option {
	background-color: #201f1e !important;
	color: #ffffff !important;
	padding: 12px 16px !important;
	font-family: 'JetBrains Mono', monospace !important;
	font-size: 0.85rem !important;
	font-weight: 500 !important;
}

select option:hover,
select option:focus,
select option:checked,
select.orderby option:checked,
.woocommerce-ordering select option:checked,
.woocommerce-ordering select.orderby option:checked {
	background-color: #363433 !important;
	color: #ddb7ff !important;
	font-weight: 700 !important;
}

/* Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea {
	background-color: #201f1e !important;
	color: #ffffff !important;
	border: 1.5px solid #44474a !important;
	border-radius: 8px !important;
	padding: 0.65rem 1rem !important;
	font-family: 'Work Sans', sans-serif !important;
	font-size: 0.9rem !important;
	outline: none !important;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	border-color: #ddb7ff !important;
	box-shadow: 0 0 0 2px rgba(221, 183, 255, 0.3) !important;
}

/* High-Contrast Product Cards on Catalog Pages */
.tb-product-card,
body.woocommerce ul.products li.product.tb-product-card {
	background: #201f1e !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 16px !important;
	box-shadow: 4px 4px 0px #000000 !important;
}

.tb-product-card:hover,
body.woocommerce ul.products li.product.tb-product-card:hover {
	transform: translate(-2px, -2px) !important;
	border-color: #ddb7ff !important;
	box-shadow: 5px 5px 0px #ddb7ff !important;
}

.tb-product-card__title a,
body.woocommerce ul.products li.product .tb-product-card__title a {
	color: #ffffff !important;
	font-family: 'Bodoni Moda', serif !important;
}

.tb-product-card__title a:hover {
	color: #ddb7ff !important;
}

.tb-product-card__price,
body.woocommerce ul.products li.product .tb-product-card__price {
	color: #ffffff !important;
	font-family: 'Bodoni Moda', serif !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
}

.tb-product-card__category {
	color: #ddb7ff !important;
	font-family: 'JetBrains Mono', monospace !important;
}

/* High-Contrast Pagination */
.woocommerce-pagination ul {
	display: flex !important;
	gap: 0.5rem !important;
	border: none !important;
}

.woocommerce-pagination ul li {
	border: none !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	background: #201f1e !important;
	color: #ffffff !important;
	border: 1.5px solid #44474a !important;
	border-radius: 8px !important;
	padding: 0.5rem 1rem !important;
	font-family: 'JetBrains Mono', monospace !important;
	font-weight: 600 !important;
	box-shadow: 2px 2px 0px #000000 !important;
	transition: all 0.2s ease !important;
}

.woocommerce-pagination ul li a:hover {
	background: #363433 !important;
	color: #ddb7ff !important;
	border-color: #ddb7ff !important;
}

.woocommerce-pagination ul li span.current {
	background: #ddb7ff !important;
	color: #2c0051 !important;
	border-color: #ddb7ff !important;
	font-weight: 800 !important;
}
