/*
Theme Name: RapidX 2.1
Description: RapidX Australia custom WooCommerce storefront (V2.1). Split Women/Men showcase, grouped-set price clarity, configurable payment badges, SEO-ready, and HPOS/Blocks ready.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 8.1
Author: RapidX
Text Domain: rapidx
*/

:root {
	--rx-green: #20d83c;
	--rx-green-dark: #159e2a;
	--rx-black: #090909;
	--rx-charcoal: #151515;
	--rx-ink: #171717;
	--rx-muted: #5f5f5f;
	--rx-soft: #f5f5f5;
	--rx-line: #e5e5e5;
	--rx-width: 1440px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--rx-ink);
	background: #ffffff;
	font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--rx-green-dark);
	outline-offset: 3px;
}

.rx-wrap {
	width: min(var(--rx-width), 100% - 64px);
	margin: 0 auto;
}

.rx-skip {
	position: absolute;
	left: -9999px;
}

.rx-skip:focus {
	left: 12px;
	top: 12px;
	background: #ffffff;
	color: #090909;
	padding: 12px 16px;
	z-index: 10000;
	font-weight: 700;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	white-space: nowrap;
}

/* Announcement Bar */
.rx-announcement {
	background: var(--rx-green);
	color: #050505;
	text-align: center;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Header & Navigation */
.rx-header {
	background: var(--rx-black);
	color: #ffffff;
	position: relative;
	z-index: 40;
	border-bottom: 1px solid #1e1e1e;
}

body.rx-sticky-header .rx-header {
	position: sticky;
	top: 0;
}

body.admin-bar.rx-sticky-header .rx-header {
	top: 32px;
}

.rx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}

.rx-logo a {
	display: block;
	line-height: 0;
}

.rx-logo img.rx-brand-image {
	width: 146px;
	height: auto;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.rx-nav ul {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.rx-nav li {
	position: relative;
}

.rx-nav a {
	font-weight: 650;
	font-size: 14px;
	letter-spacing: 0.02em;
	padding: 8px 0;
	display: inline-block;
}

.rx-nav a:hover {
	color: var(--rx-green);
	text-decoration: none;
}

.rx-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	background: #121212;
	border: 1px solid #262626;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
	padding: 12px 16px;
	min-width: 210px;
	gap: 8px;
}

.rx-nav .sub-menu li {
	white-space: normal;
}

.rx-nav .sub-menu a {
	padding: 4px 0;
	font-size: 13.5px;
	font-weight: 500;
}

.rx-nav li:hover > .sub-menu,
.rx-nav li:focus-within > .sub-menu {
	display: grid;
}

.rx-tools {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rx-tool-btn,
.rx-tool-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 4px;
	color: #ffffff;
}

.rx-tool-btn:hover,
.rx-tool-link:hover {
	color: var(--rx-green);
	text-decoration: none;
}

.rx-tools svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
}

.rx-bag-count {
	position: absolute;
	top: -5px;
	right: -7px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--rx-green);
	color: #050505;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}

.rx-bag-count.is-empty {
	display: none;
}

.rx-menu-toggle {
	display: none;
	color: #ffffff;
	background: transparent;
	border: 1px solid #444444;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rx-search {
	background: var(--rx-charcoal);
	border-top: 1px solid #242424;
	padding: 12px 0;
}

.rx-search[hidden],
.rx-hero-controls[hidden],
.rx-filter-drawer[hidden],
.rx-sticky-atc[hidden] {
	display: none !important;
}

.rx-search form {
	display: flex;
	gap: 8px;
}

.rx-search input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid #444444;
	background: #ffffff;
	color: #111111;
	border-radius: 2px;
}

.rx-search button {
	background: var(--rx-green);
	color: #050505;
	border: 0;
	padding: 11px 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
}

/* Hero Campaign Slider */
.rx-hero {
	position: relative;
	background: #161616;
	color: #ffffff;
	overflow: hidden;
	min-height: clamp(500px, 48vw, 720px);
}

.rx-slide {
	position: relative;
	min-height: inherit;
	isolation: isolate;
	display: flex;
	align-items: center;
}

.rx-slide[hidden] {
	display: none;
}

.rx-hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.rx-hero-media picture {
	display: block;
	width: 100%;
	height: 100%;
}

.rx-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 16%;
}

.rx-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.12) 85%);
}

.rx-hero-copy {
	padding: 84px 0 112px;
	max-width: 680px;
}

.rx-kicker {
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rx-green-dark);
}

.rx-hero .rx-kicker {
	color: var(--rx-green);
}

.rx-hero h1,
.rx-hero h2 {
	font-size: clamp(40px, 6.2vw, 90px);
	font-weight: 900;
	line-height: 0.96;
	letter-spacing: -0.05em;
	margin: 16px 0 22px;
	max-width: 12ch;
	text-transform: uppercase;
	font-style: italic;
	color: #ffffff;
}

.rx-hero p {
	font-size: clamp(16px, 1.8vw, 21px);
	margin: 0 0 28px;
	max-width: 38ch;
	color: #f2f2f2;
}

.rx-cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.rx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	min-height: 48px;
	background: var(--rx-green);
	color: #050505;
	font-weight: 800;
	border: 1px solid var(--rx-green);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rx-btn:hover {
	background: #ffffff;
	color: #090909;
	border-color: #ffffff;
	text-decoration: none;
}

.rx-btn-outline {
	background: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.rx-btn-dark {
	background: #111111;
	color: #ffffff;
	border-color: #111111;
}

.rx-btn-dark:hover {
	background: var(--rx-green);
	color: #050505;
	border-color: var(--rx-green);
}

.rx-hero-controls {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	align-items: center;
	z-index: 5;
}

.rx-hero-controls button {
	background: rgba(15, 15, 15, 0.78);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.45);
	min-width: 40px;
	height: 38px;
	font-size: 12px;
	font-weight: 700;
}

.rx-hero-controls button[aria-current="true"] {
	background: var(--rx-green);
	color: #050505;
	border-color: var(--rx-green);
}

.rx-motion .rx-slide:not([hidden]) .rx-hero-media img {
	animation: rx-zoom 12s ease-out both;
}

.rx-motion .rx-slide:not([hidden]) .rx-hero-copy {
	animation: rx-reveal 0.65s ease-out both;
}

@keyframes rx-zoom {
	from { transform: scale(1.045); }
	to { transform: scale(1); }
}

@keyframes rx-reveal {
	from { transform: translateY(12px); opacity: 0.2; }
	to { transform: translateY(0); opacity: 1; }
}

/* Trust / Benefits Strip */
.rx-benefits {
	background: var(--rx-soft);
	border-bottom: 1px solid var(--rx-line);
}

.rx-benefits .rx-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 16px 0;
	gap: 14px;
}

.rx-benefit-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 650;
	text-align: center;
	color: var(--rx-ink);
}

.rx-benefit-item svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: var(--rx-green-dark);
	fill: none;
	stroke-width: 1.9;
}

/* Homepage Sections */
.rx-section {
	padding: 60px 0;
}

.rx-section-tight {
	padding-top: 24px;
}

.rx-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 24px;
}

.rx-section h2 {
	font-size: clamp(26px, 3.8vw, 44px);
	line-height: 1.04;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	margin: 6px 0 0;
	font-weight: 850;
}

.rx-section-head > a {
	font-size: 13px;
	font-weight: 750;
	border-bottom: 2px solid var(--rx-green);
	white-space: nowrap;
	padding-bottom: 2px;
}

/* Division & Collection Editorial Tiles */
.rx-division-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.rx-collection-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.rx-tile {
	display: block;
	position: relative;
	isolation: isolate;
	background: #222222;
	min-height: 300px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	color: #ffffff;
}

.rx-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	z-index: -2;
	transition: transform 0.5s ease;
}

.rx-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.16) 58%, transparent 100%);
	z-index: -1;
}

.rx-tile:hover {
	text-decoration: none;
}

.rx-tile:hover img {
	transform: scale(1.04);
}

.rx-tile-copy {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px;
}

.rx-tile-copy strong {
	display: block;
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: 850;
	line-height: 1.08;
	text-transform: uppercase;
}

.rx-tile-copy span {
	display: inline-block;
	margin-top: 8px;
	border-bottom: 2px solid var(--rx-green);
	font-size: 13px;
	font-weight: 700;
}

.rx-tile.rx-tile-no-photo {
	background: linear-gradient(140deg, #303030, #121212);
}

/* Shop by Category Strip */
.rx-cat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.rx-cat-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rx-cat-card:hover {
	text-decoration: none;
}

.rx-cat-media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--rx-soft);
	overflow: hidden;
}

.rx-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.rx-cat-card:hover .rx-cat-media img {
	transform: scale(1.04);
}

.rx-cat-meta {
	padding-top: 10px;
}

.rx-cat-meta strong {
	display: block;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.25;
}

.rx-cat-meta span {
	font-size: 12px;
	color: var(--rx-muted);
}

/* Homepage Product Grid */
.rx-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.rx-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rx-product-image {
	display: block;
	position: relative;
	background: var(--rx-soft);
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.rx-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.rx-product-image:hover img {
	transform: scale(1.03);
}

.rx-badge-sale,
.rx-badge-soldout {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rx-badge-sale {
	background: var(--rx-green);
	color: #050505;
}

.rx-badge-soldout {
	background: #111111;
	color: #ffffff;
	top: 10px;
	right: 10px;
	left: auto;
}

.rx-product-card h3 {
	font-size: 15px;
	line-height: 1.38;
	margin: 12px 0 4px;
	font-weight: 700;
}

.rx-rating {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	margin-bottom: 4px;
}

.rx-stars {
	color: #e59819;
	letter-spacing: 1px;
}

.rx-review-count {
	color: var(--rx-muted);
}

.rx-price {
	font-size: 15px;
	font-weight: 750;
	margin-top: auto;
}

.rx-price del {
	color: #767676;
	font-weight: 400;
	margin-right: 6px;
}

.rx-price ins {
	text-decoration: none;
}

/* WooCommerce Shop Toolbar & Filter Drawer */
.rx-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 20px 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rx-line);
	flex-wrap: wrap;
}

.rx-filter-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.rx-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid #d4d4d4;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 650;
	background: #ffffff;
	color: var(--rx-ink);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rx-pill:hover,
.rx-pill.is-active {
	background: var(--rx-black);
	color: #ffffff;
	border-color: var(--rx-black);
	text-decoration: none;
}

.rx-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	background: var(--rx-soft);
	border: 1px solid #cccccc;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rx-filter-toggle svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.rx-filter-drawer {
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
	padding: 20px;
	margin-bottom: 24px;
}

.rx-filter-drawer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.rx-filter-widget-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 10px;
}

/* Subcategory Quick-Filter Bar (e.g. Mens Polos, Mens Tees, Loungewear Sets) */
.rx-subcat-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: -4px 0 18px;
}

.rx-subcat-label {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rx-muted);
	margin-right: 4px;
}

.rx-subpill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 13px;
	background: var(--rx-soft);
	border: 1px solid var(--rx-line);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 650;
	color: var(--rx-ink);
}

.rx-subpill em {
	font-style: normal;
	font-size: 12px;
	color: var(--rx-muted);
}

.rx-subpill:hover,
.rx-subpill.is-active {
	background: var(--rx-green);
	border-color: var(--rx-green);
	color: #050505;
	text-decoration: none;
}

.rx-subpill:hover em,
.rx-subpill.is-active em {
	color: #050505;
}

/* WooCommerce SEO Category Description Box */
.woocommerce-products-header .term-description {
	max-width: 78ch;
	color: var(--rx-muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.woocommerce-products-header .term-description p {
	margin: 0 0 10px;
}

/* Fix WooCommerce Blocks Checkout double select arrows */
.wc-block-checkout select,
.wc-block-components-combobox-control select,
.wc-blocks-components-select__select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

/* Grouped Set Pricing Clarity & Linked Trust Strip */
.rx-price-prefix {
	font-weight: 600;
	font-size: 0.86em;
	color: var(--rx-muted);
}

.rx-grouped-note {
	font-size: 14px;
	color: var(--rx-ink);
	background: var(--rx-soft);
	border-left: 3px solid var(--rx-green);
	padding: 10px 14px;
	margin: 12px 0 18px;
}

.rx-benefit-link:hover {
	color: var(--rx-green-dark);
	text-decoration: underline;
}

/* WooCommerce Storefront, Swatches, Bundles & Blocks */
.rx-content {
	padding: 40px 0 60px;
	min-height: 50vh;
}

.rx-content h1 {
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin: 0 0 20px;
}

.rx-prose {
	max-width: 74ch;
	margin: 0 auto;
}

.rx-entry-content > * + * {
	margin-top: 1em;
}

.rx-entry-content h2,
.rx-entry-content h3 {
	margin-top: 1.8em;
	line-height: 1.25;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--rx-muted);
	margin-bottom: 16px;
}

.woocommerce ul.products {
	margin: 24px 0 32px;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	padding: 0;
}

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

.woocommerce ul.products li.product {
	min-width: 0;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center top;
	background: var(--rx-soft);
	width: 100%;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
	font-size: 15px;
	line-height: 1.38;
	font-weight: 700;
	color: var(--rx-ink);
	padding: 0 0 6px !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product mark.count {
	background: transparent;
	color: var(--rx-muted);
	font-weight: 600;
}

.woocommerce ul.products li.product .price {
	color: var(--rx-ink);
	font-size: 15px;
	font-weight: 750;
	margin-top: auto !important;
	margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .button {
	margin-top: 0;
	align-self: flex-start;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: 100% !important;
	float: none !important;
	margin-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	grid-column: 1 / -1;
	margin-top: 32px;
}

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

	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.woocommerce span.onsale {
	background: var(--rx-green);
	color: #050505;
	border-radius: 2px;
	min-height: auto;
	min-width: auto;
	line-height: 1.2;
	padding: 5px 9px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	top: 10px;
	left: 10px;
}

.woocommerce .star-rating span::before {
	color: #e59819;
}

.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,
.wc-block-components-button:not(.is-link) {
	background: #111111;
	color: #ffffff;
	border-radius: 2px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
	padding: 12px 20px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--rx-green);
	color: #050505;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #111111;
	font-size: 24px;
	font-weight: 800;
}

.woocommerce div.product .product_title {
	font-size: clamp(26px, 3.8vw, 40px);
	line-height: 1.1;
	margin-bottom: 12px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select {
	padding: 10px 12px;
	border: 1px solid #bdbdbd;
	border-radius: 2px;
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--rx-green-dark);
	background: var(--rx-soft);
}

.woocommerce-error {
	border-top-color: #c62828;
}

/* Variation Swatches & WPC Plugins Polish */
.woo-variation-swatches .variable-items-wrapper .variable-item.selected {
	box-shadow: 0 0 0 2px var(--rx-black);
}

.woosb-wrap,
.woobt-wrap {
	border: 1px solid var(--rx-line);
	padding: 16px;
	margin: 18px 0;
	background: #fafafa;
}

/* Blog Archive, Single Post & 404 */
.rx-archive-head {
	margin-bottom: 32px;
}

.rx-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rx-post-card {
	border: 1px solid var(--rx-line);
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.rx-post-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--rx-soft);
}

.rx-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rx-post-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rx-post-card-body time {
	font-size: 12px;
	color: var(--rx-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rx-post-card-body h2 {
	font-size: 19px;
	line-height: 1.3;
	margin: 8px 0 10px;
}

.rx-post-excerpt {
	font-size: 14.5px;
	color: var(--rx-muted);
	margin-bottom: 14px;
}

.rx-read-more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 750;
	border-bottom: 2px solid var(--rx-green);
	align-self: flex-start;
}

.rx-article-head {
	margin-bottom: 24px;
}

.rx-article-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--rx-muted);
	margin-bottom: 10px;
}

.rx-article-hero {
	margin: 0 0 28px;
}

.rx-article-hero img {
	width: 100%;
	border-radius: 2px;
}

.rx-article-tags {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--rx-line);
	font-size: 13px;
}

.rx-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--rx-line);
	font-weight: 650;
	font-size: 14px;
}

.rx-empty-state {
	max-width: 620px;
	padding: 40px 0;
}

.rx-404-search {
	display: flex;
	gap: 8px;
	margin: 22px 0;
}

.rx-404-search input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #bdbdbd;
}

.rx-comments {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--rx-line);
}

/* Footer */
.rx-footer {
	background: var(--rx-black);
	color: #ffffff;
	padding: 56px 0 32px;
	border-top: 1px solid #1f1f1f;
}

.rx-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 36px;
}

.rx-footer .rx-logo img.rx-brand-image {
	width: 136px;
}

.rx-footer-tagline {
	color: #c7c7c7;
	font-size: 14px;
	margin: 14px 0 16px;
	max-width: 34ch;
}

.rx-footer-contact {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 13.5px;
	color: #d4d4d4;
}

.rx-socials {
	display: flex;
	gap: 10px;
}

.rx-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #333333;
	border-radius: 50%;
	color: #ffffff;
}

.rx-socials a:hover {
	border-color: var(--rx-green);
	color: var(--rx-green);
	text-decoration: none;
}

.rx-socials svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.rx-footer-col h3 {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rx-green);
	margin: 0 0 14px;
}

.rx-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.rx-footer-col a {
	font-size: 14px;
	color: #e4e4e4;
}

.rx-footer-col a:hover {
	color: var(--rx-green);
}

.rx-footer-note {
	font-size: 14px;
	color: #cfcfcf;
	margin: 0 0 16px;
}

.rx-footer-cta {
	padding: 11px 18px;
	min-height: 42px;
	font-size: 12px;
}

.rx-footer-bottom {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid #222222;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.rx-footer-bottom small {
	color: #b5b5b5;
	font-size: 13px;
}

.rx-payments {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rx-payments span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border: 1px solid #333333;
	border-radius: 3px;
	color: #d6d6d6;
	background: #141414;
}

/* Optional Built-in Floating WhatsApp Button */
.rx-wa-float {
	position: fixed;
	right: 18px;
	bottom: 20px;
	z-index: 35;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.rx-wa-float svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
}

/* Sticky Mobile Add to Cart & Mobile Bottom Navigation */
.rx-mobile-nav,
.rx-sticky-atc {
	display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
	.rx-cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rx-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 950px) {
	.rx-wrap {
		width: calc(100% - 36px);
	}

	.rx-header-inner {
		min-height: 68px;
	}

	.rx-menu-toggle {
		display: inline-flex;
	}

	.rx-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #111111;
		border-bottom: 1px solid #262626;
		padding: 20px;
	}

	.rx-nav.is-open {
		display: block;
	}

	.rx-nav ul {
		display: grid;
		gap: 12px;
	}

	.rx-nav .sub-menu {
		position: static;
		display: grid;
		border: 0;
		box-shadow: none;
		background: transparent;
		padding: 6px 14px;
	}

	.rx-logo img.rx-brand-image {
		width: 124px;
	}

	.rx-benefits .rx-wrap {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.rx-product-grid,
	.rx-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rx-section {
		padding: 42px 0;
	}

	.rx-tile {
		min-height: 240px;
	}

	.rx-mobile-nav {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 45;
		background: var(--rx-black);
		color: #ffffff;
		justify-content: space-around;
		padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
		border-top: 1px solid #2b2b2b;
	}

	.rx-mobile-nav a {
		position: relative;
		font-size: 11px;
		font-weight: 600;
		text-align: center;
		min-width: 52px;
	}

	.rx-mobile-nav svg {
		display: block;
		width: 21px;
		height: 21px;
		margin: 0 auto 3px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.6;
	}

	.rx-mobile-nav .rx-bag-count {
		top: -4px;
		right: 4px;
	}

	body.rx-mobile-enabled {
		padding-bottom: 70px;
	}

	body.rx-mobile-enabled .rx-wa-float,
	body.rx-mobile-enabled .chaty-widget {
		bottom: 84px !important;
	}

	.rx-sticky-atc {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 44;
		background: #ffffff;
		border-top: 1px solid var(--rx-line);
		padding: 10px 16px;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
	}

	body.rx-mobile-enabled .rx-sticky-atc {
		bottom: 62px;
	}

	body.rx-has-sticky-atc.rx-mobile-enabled {
		padding-bottom: 136px;
	}

	.rx-sticky-atc-info {
		min-width: 0;
	}

	.rx-sticky-atc-info strong {
		display: block;
		font-size: 13px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rx-sticky-atc-info span {
		font-size: 13px;
		font-weight: 750;
	}

	.rx-sticky-atc .rx-btn {
		padding: 10px 16px;
		min-height: 40px;
		font-size: 12px;
		flex-shrink: 0;
	}
}

@media (max-width: 600px) {
	.rx-wrap {
		width: calc(100% - 28px);
	}

	.rx-hero {
		min-height: 540px;
	}

	.rx-slide {
		align-items: flex-end;
	}

	.rx-slide::after {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 8%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0) 78%);
	}

	.rx-hero-copy {
		padding: 36px 0 84px;
	}

	.rx-hero h1,
	.rx-hero h2 {
		font-size: 44px;
		max-width: 13ch;
	}

	.rx-hero p {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.rx-btn {
		padding: 12px 16px;
		font-size: 12px;
	}

	.rx-collection-grid,
	.rx-footer-grid,
	.rx-post-grid {
		grid-template-columns: 1fr;
	}

	.rx-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rx-division-grid {
		gap: 10px;
	}

	.rx-tile {
		aspect-ratio: 3 / 4;
		min-height: 200px;
	}

	.rx-collection-grid .rx-tile {
		aspect-ratio: 16 / 10;
	}

	.rx-tile-copy {
		padding: 16px;
	}

	.rx-tile-copy strong {
		font-size: 22px;
	}

	.rx-product-grid {
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Scoped Elementor Transition Guard (keeps header/footer/hero contrast intact while Elementor remains active) */
body .rx-header,
body .rx-footer {
	background: #090909;
	color: #ffffff !important;
}

body .rx-header .rx-nav a,
body .rx-header .rx-tool-btn,
body .rx-header .rx-tool-link,
body .rx-header .rx-menu-toggle,
body .rx-footer a,
body .rx-mobile-nav a {
	color: #ffffff !important;
}

body .rx-header .rx-tool-btn {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body .rx-header .rx-nav a:hover,
body .rx-footer a:hover {
	color: #20d83c !important;
}

body .rx-footer .rx-footer-col h3 {
	color: #20d83c !important;
	-webkit-text-fill-color: #20d83c !important;
}

body .rx-footer .rx-footer-tagline,
body .rx-footer .rx-footer-contact,
body .rx-footer .rx-footer-contact li,
body .rx-footer .rx-footer-note,
body .rx-footer small {
	color: #d4d4d4 !important;
	-webkit-text-fill-color: #d4d4d4 !important;
}

body .rx-hero .rx-hero-controls button {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: rgba(15, 15, 15, 0.82) !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
}

body .rx-hero .rx-hero-controls button[aria-current="true"] {
	background: #20d83c !important;
	color: #050505 !important;
	-webkit-text-fill-color: #050505 !important;
	border-color: #20d83c !important;
}

body .rx-header .rx-tools svg,
body .rx-mobile-nav svg {
	stroke: currentColor !important;
	fill: none !important;
}

body .rx-hero .rx-hero-copy h1,
body .rx-hero .rx-hero-copy h2,
body .rx-hero .rx-hero-copy p {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

body .rx-hero .rx-cta-row .rx-btn {
	color: #050505 !important;
	-webkit-text-fill-color: #050505 !important;
	background: #20d83c !important;
	border-color: #20d83c !important;
}

body .rx-hero .rx-cta-row .rx-btn-outline {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: transparent !important;
	border-color: #ffffff !important;
}

body .rx-hero .rx-cta-row .rx-btn:hover {
	background: #ffffff !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	border-color: #ffffff !important;
}

body .rx-tile .rx-tile-copy,
body .rx-tile .rx-tile-copy strong,
body .rx-tile .rx-tile-copy span {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
