/*
Theme Name: RetraLab Noir
Theme URI: https://retralab.co.uk
Author: RetraLab
Description: A premium black & gold WooCommerce-ready theme. Deep charcoal, restrained gold accents, elegant serif headings, scroll-reveal animation and subtle ambient motion. Built with vanilla CSS/JS — no frameworks, no CDNs.
Version: 1.5.27
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: retralab-noir
Tags: e-commerce, black, gold, premium
*/

/* Self-hosted display serif (Cormorant, OFL-licensed, latin subset)
   for H1/H2 only — no CDN, files live in assets/fonts/. Georgia stays
   the fallback and is still what H3/H4 and body copy use. */
@font-face {
	font-family: 'Cormorant Display';
	src: url('assets/fonts/cormorant-display-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cormorant Display';
	src: url('assets/fonts/cormorant-display-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* ============================================================
   1. TOKENS — edit these to retune the whole theme
   ============================================================ */
:root {
	--rt-black:      #111110;
	--rt-graphite:   #1B1B1A;
	--rt-graphite-2: #232322;
	--rt-gold:       #C9A24B;
	--rt-gold-soft:  #D8B968;
	--rt-ivory:      #F5F2EA;
	--rt-muted:      #9A958A;
	--rt-line:       #2E2E2C;

	--rt-serif: 'Georgia', 'Times New Roman', serif;
	--rt-serif-display: 'Cormorant Display', 'Georgia', 'Times New Roman', serif;
	--rt-sans:  'Helvetica Neue', Arial, sans-serif;

	--rt-reveal-duration: .9s;
	--rt-reveal-distance: 38px;

	--rt-max: 1120px;
}

/* ============================================================
   2. BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	background: var(--rt-black);
	color: var(--rt-ivory);
	font-family: var(--rt-serif);
	font-size: 17px;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

.rt-wrap { max-width: var(--rt-max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
h1, h2 { font-family: var(--rt-serif-display); }
h3, h4 { font-family: var(--rt-serif); }
h1 { font-size: clamp(34px, 6vw, 58px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 22px; }

p { margin-bottom: 1.2em; }

a { color: var(--rt-gold); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--rt-gold-soft); }

hr {
	border: 0; height: 1px; margin: 40px 0;
	background: linear-gradient(90deg, var(--rt-gold), transparent);
}

::selection { background: var(--rt-gold); color: var(--rt-black); }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--rt-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ============================================================
   3. HEADER / NAV
   ============================================================ */
.rt-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(17, 17, 16, .84);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rt-line);
}
.rt-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	height: 68px;
}
.rt-logo {
	font-family: var(--rt-sans);
	font-size: 15px; font-weight: 600;
	letter-spacing: .28em;
	color: var(--rt-gold);
	text-transform: uppercase;
}
.rt-logo img { max-height: 40px; width: auto; }

.rt-nav ul { list-style: none; display: flex; gap: 28px; }
.rt-nav a {
	font-family: var(--rt-sans);
	font-size: 13px; letter-spacing: .05em;
	color: var(--rt-muted);
}
.rt-nav a:hover { color: var(--rt-gold); }

.rt-cart-link {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--rt-sans); font-size: 13px; font-weight: 600; letter-spacing: .04em;
	color: var(--rt-gold);
	background: linear-gradient(180deg, rgba(201, 162, 75, .10), rgba(201, 162, 75, .02));
	border: 1px solid rgba(201, 162, 75, .55);
	padding: 9px 18px 9px 14px; border-radius: 999px;
	transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.rt-cart-link:hover {
	color: var(--rt-gold-soft);
	border-color: var(--rt-gold-soft);
	background: linear-gradient(180deg, rgba(201, 162, 75, .18), rgba(201, 162, 75, .05));
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(201, 162, 75, .2);
}
.rt-cart-icon {
	position: relative;
	display: inline-flex;
	width: 18px; height: 18px;
	transition: transform .35s ease;
}
.rt-cart-icon svg { width: 100%; height: 100%; }
.rt-cart-link:hover .rt-cart-icon { transform: rotate(-8deg) scale(1.1); }
.rt-cart-badge {
	position: absolute; top: -9px; right: -10px;
	min-width: 16px; height: 16px; padding: 0 3px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rt-gold); color: var(--rt-black);
	font-family: var(--rt-sans);
	font-size: 10px; font-weight: 700; line-height: 1;
	border-radius: 999px;
	border: 1.5px solid var(--rt-black);
	animation: rt-cart-badge-pop .4s ease;
}
@keyframes rt-cart-badge-pop {
	0%   { transform: scale(0); }
	70%  { transform: scale(1.25); }
	100% { transform: scale(1); }
}
@media (max-width: 480px) {
	.rt-cart-label { display: none; }
	.rt-cart-link { padding: 9px 12px; }
}

/* Mobile nav */
.rt-menu-toggle {
	display: none;
	background: none; border: 1px solid var(--rt-line);
	color: var(--rt-ivory); border-radius: 8px;
	padding: 8px 12px; font-size: 18px; cursor: pointer;
}
@media (max-width: 760px) {
	.rt-menu-toggle { display: block; }
	.rt-nav {
		display: none;
		position: absolute; top: 68px; left: 0; right: 0;
		background: var(--rt-graphite);
		border-bottom: 1px solid var(--rt-line);
		padding: 18px 24px;
	}
	.rt-nav.open { display: block; }
	.rt-nav ul { flex-direction: column; gap: 14px; }
	.rt-nav a { font-size: 15px; display: block; padding: 8px 0; }
}

/* ============================================================
   4. HERO (front page)
   ============================================================ */
.rt-hero {
	position: relative; min-height: 64vh;
	display: flex; align-items: center;
	overflow: hidden;
	padding: 60px 0;
}
.rt-hero-glow {
	position: absolute; inset: 0; z-index: 0;
	background: radial-gradient(ellipse 60% 50% at 50% 40%,
		rgba(201, 162, 75, .10), transparent 70%);
	animation: rt-breathe 9s ease-in-out infinite;
}
@keyframes rt-breathe {
	0%, 100% { opacity: .55; transform: scale(1); }
	50%      { opacity: 1;   transform: scale(1.08); }
}
.rt-drift {
	position: absolute; left: 0; right: 0; height: 1px; z-index: 0;
	background: linear-gradient(90deg, transparent, var(--rt-gold), transparent);
	opacity: .18;
}
.rt-drift.d1 { top: 30%; animation: rt-drift 14s linear infinite; }
.rt-drift.d2 { top: 64%; animation: rt-drift 19s linear infinite reverse; }
@keyframes rt-drift {
	0%   { transform: translateX(-40%); }
	100% { transform: translateX(40%); }
}
.rt-hero-content { position: relative; z-index: 2; }
.rt-eyebrow {
	font-family: var(--rt-sans);
	font-size: 12px; letter-spacing: .32em;
	color: var(--rt-gold); text-transform: uppercase;
	margin-bottom: 22px;
}

/* Featured vials: crop the large transparent PNG margins in CSS. */
.rt-hero-vials {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(7px, 1.4vw, 16px);
	width: min(100%, 520px);
	margin: 0 0 24px;
	isolation: isolate;
	pointer-events: none;
}
.rt-hero-vial {
	--rt-vial-tilt: 0deg;
	--rt-vial-entry-tilt: 0deg;
	--rt-vial-float-y: -3px;
	--rt-vial-float-rotate: .2deg;
	--rt-vial-float-duration: 6.8s;
	--rt-vial-entry-delay: 0s;
	position: relative;
	flex: 0 0 auto;
	width: clamp(66px, 7.2vw, 84px);
	aspect-ratio: 423 / 1068;
	transform-origin: 50% 90%;
	filter:
		drop-shadow(0 15px 18px rgba(0, 0, 0, .42))
		drop-shadow(0 0 10px rgba(201, 162, 75, .08));
}
.rt-hero-vial.rt-reveal {
	opacity: 0;
	transform: translate3d(0, 30px, 0) scale(.92) rotate(var(--rt-vial-entry-tilt));
	transition:
		opacity 1s cubic-bezier(.16, .8, .3, 1),
		transform 1.05s cubic-bezier(.16, .8, .3, 1);
	transition-delay: var(--rt-vial-entry-delay);
	will-change: opacity, transform;
}
.rt-hero-vial.rt-reveal.rt-in {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1) rotate(var(--rt-vial-tilt));
}
.rt-hero-vial-cagri {
	--rt-vial-tilt: 5deg;
	--rt-vial-entry-tilt: 9deg;
	--rt-vial-float-duration: 7.2s;
	z-index: 1;
}
.rt-hero-vial-reta {
	--rt-vial-tilt: -.5deg;
	--rt-vial-entry-tilt: -3deg;
	--rt-vial-float-y: -4px;
	--rt-vial-float-rotate: -.15deg;
	--rt-vial-float-duration: 6.4s;
	--rt-vial-entry-delay: .15s;
	width: clamp(76px, 8.2vw, 96px);
	z-index: 3;
	filter:
		drop-shadow(0 18px 22px rgba(0, 0, 0, .5))
		drop-shadow(0 0 14px rgba(201, 162, 75, .12));
}
.rt-hero-vial-tirzepatide {
	--rt-vial-tilt: -5deg;
	--rt-vial-entry-tilt: -9deg;
	--rt-vial-float-rotate: -.2deg;
	--rt-vial-float-duration: 7.6s;
	--rt-vial-entry-delay: .3s;
	z-index: 1;
}
.rt-hero-vial-float,
.rt-hero-vial-crop {
	width: 100%;
	height: 100%;
}
.rt-hero-vial.rt-in .rt-hero-vial-float {
	animation: rt-vial-float var(--rt-vial-float-duration) ease-in-out 1.25s infinite;
}
.rt-hero-vial-crop {
	position: relative;
	overflow: hidden;
}
.rt-hero-vial-crop img {
	position: absolute;
	top: -8.62%;
	left: -99.06%;
	width: 296.46%;
	max-width: none;
	height: auto;
	user-select: none;
}
@keyframes rt-vial-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
	50% { transform: translate3d(0, var(--rt-vial-float-y), 0) rotate(var(--rt-vial-float-rotate)); }
}

@media (max-width: 560px) {
	.rt-hero { padding: 44px 0 50px; }
	.rt-hero-vials {
		gap: 6px;
		margin-bottom: 19px;
	}
	.rt-hero-vial { width: 58px; }
	.rt-hero-vial-reta { width: 68px; }
}

.rt-hero h1 em { font-style: italic; color: var(--rt-gold-soft); }
.rt-hero p { max-width: 540px; color: var(--rt-muted); font-size: 18px; margin: 22px 0 36px; }

/* Homepage hero title only: quiet entrance, float and gold reflection. */
.rt-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	max-width: 100%;
}
.rt-premium-hero-title {
	text-align: center;
	opacity: 0;
	transform: translate3d(0, 12px, 0);
	animation: rt-premium-title-enter 1.1s cubic-bezier(.22, .8, .32, 1) .15s forwards;
}
.rt-premium-hero-title > span {
	display: inline-block;
	max-width: 100%;
	color: var(--rt-gold-soft);
	animation: rt-premium-title-float 10s ease-in-out 1.25s infinite;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
	.rt-premium-hero-title > span {
		background: linear-gradient(110deg,
			var(--rt-gold-soft) 0%,
			var(--rt-gold-soft) 34%,
			#fff1bd 48%,
			var(--rt-gold) 60%,
			var(--rt-gold-soft) 74%,
			var(--rt-gold-soft) 100%);
		background-size: 240% 100%;
		background-position: 100% 50%;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
		animation:
			rt-premium-title-float 10s ease-in-out 1.25s infinite,
			rt-premium-title-shine 16s linear 1.25s infinite;
	}
}
@keyframes rt-premium-title-enter {
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes rt-premium-title-float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -5px, 0); }
}
@keyframes rt-premium-title-shine {
	from { background-position: 100% 50%; }
	to { background-position: -100% 50%; }
}

/* Scroll cue: subtle invite to keep scrolling past the hero. */
.rt-scroll-cue {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: clamp(20px, 3vw, 32px);
	color: var(--rt-gold);
	opacity: .6;
	transition: opacity .3s ease, color .3s ease;
}
.rt-scroll-cue:hover,
.rt-scroll-cue:focus-visible {
	opacity: 1;
	color: var(--rt-gold-soft);
}
.rt-scroll-cue-line {
	display: block;
	width: 1px;
	height: 28px;
	background: linear-gradient(180deg, transparent, currentColor);
}
.rt-scroll-cue-chevron {
	width: 15px;
	height: 15px;
	animation: rt-scroll-cue-bounce 2.2s ease-in-out infinite;
}
@keyframes rt-scroll-cue-bounce {
	0%, 100% { transform: translateY(0); opacity: .7; }
	50% { transform: translateY(5px); opacity: 1; }
}
@media (max-width: 560px) {
	.rt-scroll-cue { display: none; }
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.rt-btn,
.wp-block-button__link,
.wp-element-button,
button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-block;
	font-family: var(--rt-sans);
	font-size: 14px; font-weight: 600; letter-spacing: .03em;
	padding: 13px 28px;
	background: var(--rt-gold); color: var(--rt-black);
	border: 1px solid var(--rt-gold); border-radius: 8px;
	cursor: pointer;
	transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
	text-decoration: none;
}
.rt-btn:hover,
.wp-block-button__link:hover, .wp-element-button:hover,
button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--rt-gold-soft);
	border-color: var(--rt-gold-soft);
	color: var(--rt-black);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(201, 162, 75, .22);
}
.rt-btn-ghost {
	background: transparent; color: var(--rt-gold);
}
.rt-btn-ghost:hover { background: rgba(201, 162, 75, .1); color: var(--rt-gold); }

/* Homepage hero CTA: centred premium finish with a tactile 3D press. */
.rt-hero-cta {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: clamp(26px, 3vw, 34px);
}
.rt-btn-hero {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	overflow: hidden;
	isolation: isolate;
	min-height: 56px;
	padding: 11px 13px 11px 25px;
	background: linear-gradient(145deg, #ead38b 0%, var(--rt-gold) 52%, #a87b25 100%);
	border: 1px solid #efd992;
	border-bottom-color: #8f681e;
	border-radius: 12px;
	color: #17130b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .5),
		inset 0 -2px 0 rgba(91, 61, 10, .24),
		0 6px 0 #745218,
		0 13px 28px rgba(0, 0, 0, .34),
		0 7px 22px rgba(201, 162, 75, .16);
	transform: translateY(0);
	transition:
		transform .28s cubic-bezier(.2, .75, .25, 1),
		box-shadow .28s ease,
		filter .28s ease,
		border-color .28s ease;
}
.rt-btn-hero::before {
	content: '';
	position: absolute;
	top: -20%;
	left: -55%;
	z-index: 0;
	width: 38%;
	height: 140%;
	background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .52), transparent);
	transform: skewX(-18deg);
	transition: left .8s cubic-bezier(.2, .65, .3, 1);
}
.rt-btn-hero-label {
	position: relative;
	z-index: 1;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}
.rt-btn-hero-icon {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(39, 28, 9, .22);
	border-radius: 9px;
	background: rgba(38, 27, 8, .1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
	transition: transform .32s cubic-bezier(.2, .75, .25, 1), background .32s ease;
}
.rt-btn-hero-icon svg {
	width: 19px;
	height: 19px;
}
.rt-btn-hero:hover,
.rt-btn-hero:focus-visible {
	background: linear-gradient(145deg, #ead38b 0%, var(--rt-gold) 52%, #a87b25 100%);
	border-color: #f3dfa1;
	color: #17130b;
	filter: saturate(1.06) brightness(1.06);
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .58),
		inset 0 -2px 0 rgba(91, 61, 10, .2),
		0 8px 0 #745218,
		0 17px 34px rgba(0, 0, 0, .38),
		0 9px 28px rgba(201, 162, 75, .24);
}
.rt-btn-hero:hover::before,
.rt-btn-hero:focus-visible::before { left: 125%; }
.rt-btn-hero:hover .rt-btn-hero-icon,
.rt-btn-hero:focus-visible .rt-btn-hero-icon {
	background: rgba(38, 27, 8, .15);
	transform: translateY(-1px) rotate(-5deg) scale(1.04);
}
.rt-btn-hero:focus-visible {
	outline: 2px solid var(--rt-ivory);
	outline-offset: 5px;
}
.rt-btn-hero:active {
	filter: none;
	transform: translateY(4px);
	transition-duration: .08s;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .38),
		inset 0 2px 5px rgba(74, 48, 7, .22),
		0 2px 0 #745218,
		0 7px 16px rgba(0, 0, 0, .3);
}

/* ============================================================
   6. SECTIONS & CARDS
   ============================================================ */
.rt-section { padding: 100px 0; position: relative; }
.rt-section-light { background: var(--rt-ivory); color: var(--rt-black); }
.rt-section-light .rt-muted { color: #6B6660; }
.rt-section-graphite { background: var(--rt-graphite); }

.rt-sec-head { text-align: center; margin-bottom: 54px; }

.rt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.rt-card {
	background: var(--rt-graphite-2);
	border: 1px solid var(--rt-line);
	border-radius: 14px;
	padding: 30px 26px;
	transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.rt-section-light .rt-card { background: #fff; border-color: #E6E1D6; }
.rt-card:hover {
	transform: translateY(-6px);
	border-color: var(--rt-gold);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

/* Wave divider */
.rt-wave { display: block; width: 100%; height: 70px; }

/* ============================================================
   7. WOOCOMMERCE
   ============================================================ */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 40px !important;
	justify-content: center;
	max-width: 680px;
	margin-left: auto !important;
	margin-right: auto !important;
	perspective: 1200px;
	align-items: start;
}
/* 2 across on tablets AND phones */
@media (max-width: 900px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 436px;
	}
}
@media (max-width: 560px) {
	.woocommerce ul.products {
		gap: 10px;
	}
	.woocommerce ul.products li.product {
		padding: 11px !important;
	}
	.woocommerce ul.products li.product a img {
		border-radius: 8px; margin-bottom: 8px;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 12.5px; padding: 0 0 6px;
	}
	.woocommerce ul.products li.product .price {
		font-size: 11px;
	}
	.woocommerce ul.products li.product .price ins,
	.woocommerce ul.products li.product .price > .amount {
		padding: 3px 9px;
	}
	.woocommerce ul.products li.product .button {
		font-size: 9px; letter-spacing: .04em;
		padding: 8px 8px; margin-top: 8px;
	}
}
/* Neutralise WooCommerce's default width/margins on every card */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
	width: 100% !important;
	margin: 0 !important;
	clear: none !important;
}
.woocommerce ul.products li.product {
	position: relative;
	width: auto !important; float: none !important; margin: 0 !important;
	background: linear-gradient(165deg, #27271f 0%, #1e1e1c 62%, var(--rt-graphite-2) 100%);
	border: 1px solid rgba(201, 162, 75, .22);
	border-radius: 14px;
	padding: 14px !important;
	text-align: left;
	transform-style: preserve-3d;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .05),
		0 2px 5px rgba(0, 0, 0, .35),
		0 14px 26px rgba(0, 0, 0, .4);
	transition: transform .45s cubic-bezier(.2, .7, .25, 1), border-color .45s ease, box-shadow .45s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-8px) rotateX(2.5deg) scale(1.012);
	border-color: rgba(201, 162, 75, .6);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .07),
		0 3px 8px rgba(0, 0, 0, .4),
		0 26px 46px rgba(0, 0, 0, .5),
		0 0 34px rgba(201, 162, 75, .14);
}
.woocommerce ul.products li.product a img {
	border-radius: 9px; margin-bottom: 9px;
	transition: transform .6s cubic-bezier(.2, .7, .25, 1);
	overflow: hidden;
}
.woocommerce ul.products li.product:hover img {
	transform: scale(1.045);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--rt-serif);
	font-size: 14px; font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--rt-ivory);
	padding: 0 0 8px;
	transition: color .35s ease;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
	color: var(--rt-gold-soft);
}
.woocommerce ul.products li.product .price {
	display: block;
	font-family: var(--rt-sans);
	font-weight: 700; font-size: 12px;
	margin-bottom: 4px;
}
.woocommerce ul.products li.product .price del {
	color: var(--rt-muted); opacity: .85;
	font-size: .78em; font-weight: 400;
	text-decoration: line-through;
	margin-right: 8px;
}
.woocommerce ul.products li.product .price del .amount,
.woocommerce ul.products li.product .price ins .amount,
.woocommerce ul.products li.product .price > .amount {
	font-variant-numeric: tabular-nums;
}
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price > .amount {
	display: inline-flex; align-items: baseline;
	padding: 4px 11px; border-radius: 30px;
	color: #17130b !important; font-weight: 800;
	text-decoration: none;
	background: linear-gradient(115deg, #ead38b, var(--rt-gold) 35%, #a87b25 65%, var(--rt-gold-soft));
	background-size: 260% 100%;
	animation: rt-price-flow 6s ease-in-out infinite, rt-price-glow 3.2s ease-in-out infinite;
}
@keyframes rt-price-flow {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}
@keyframes rt-price-glow {
	0%, 100% { box-shadow: 0 3px 12px rgba(201, 162, 75, .22); }
	50%      { box-shadow: 0 5px 22px rgba(201, 162, 75, .5); }
}
.woocommerce ul.products li.product .button {
	position: relative;
	display: flex; align-items: center; justify-content: center; gap: 7px;
	width: 100%; margin-top: 10px;
	overflow: hidden; isolation: isolate;
	font-family: var(--rt-sans);
	font-size: 10px; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; text-align: center;
	padding: 9px 10px;
	background: linear-gradient(145deg, #ead38b 0%, var(--rt-gold) 52%, #a87b25 100%);
	border: 1px solid #efd992; border-bottom-color: #8f681e;
	border-radius: 9px;
	color: #17130b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .5),
		inset 0 -2px 0 rgba(91, 61, 10, .24),
		0 4px 0 #745218,
		0 10px 18px rgba(0, 0, 0, .36);
	transition: transform .25s cubic-bezier(.2, .75, .25, 1), box-shadow .25s ease, filter .25s ease;
}
.woocommerce ul.products li.product .button::before {
	content: '';
	position: absolute; top: -20%; left: -55%; z-index: 0;
	width: 38%; height: 140%;
	background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-18deg);
	transition: left .8s cubic-bezier(.2, .65, .3, 1);
}
.woocommerce ul.products li.product .button:hover {
	background: linear-gradient(145deg, #ead38b 0%, var(--rt-gold) 52%, #a87b25 100%);
	border-color: #f3dfa1; color: #17130b;
	filter: saturate(1.06) brightness(1.06);
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .58),
		inset 0 -2px 0 rgba(91, 61, 10, .2),
		0 5px 0 #745218,
		0 13px 24px rgba(0, 0, 0, .4);
}
.woocommerce ul.products li.product .button:hover::before { left: 125%; }
.woocommerce ul.products li.product .button:active {
	filter: none;
	transform: translateY(3px);
	transition-duration: .08s;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .4),
		inset 0 2px 5px rgba(74, 48, 7, .24),
		0 1px 0 #745218,
		0 5px 12px rgba(0, 0, 0, .3);
}
.woocommerce span.onsale {
	background: var(--rt-gold); color: var(--rt-black);
	border-radius: 20px; font-family: var(--rt-sans);
	line-height: 2.4; min-height: auto; padding: 0 14px;
}

/* Wishlist heart, overlaid top-right on every product card image. */
.rt-wishlist-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(216, 185, 104, .3);
	border-radius: 50%;
	background: rgba(17, 17, 16, .55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	color: var(--rt-ivory);
	cursor: pointer;
	transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.rt-wishlist-btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.rt-wishlist-btn:hover {
	border-color: var(--rt-gold);
	color: var(--rt-gold-soft);
	transform: translateY(-1px);
}
.rt-wishlist-btn.rt-saved {
	border-color: var(--rt-gold);
	background: rgba(201, 162, 75, .16);
	color: var(--rt-gold);
}
.rt-wishlist-btn.rt-saved svg { fill: currentColor; }
.rt-wishlist-btn.rt-pop svg { animation: rt-wishlist-pop .4s ease; }
@keyframes rt-wishlist-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.35); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.rt-wishlist-btn.rt-pop svg { animation: none; }
}
.woocommerce div.product .product_title { color: var(--rt-ivory); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--rt-gold); font-family: var(--rt-sans); font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--rt-graphite-2); border-color: var(--rt-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--rt-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--rt-gold); }
.woocommerce-message, .woocommerce-info {
	background: var(--rt-graphite-2); color: var(--rt-ivory);
	border-top-color: var(--rt-gold);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="search"], input[type="number"],
textarea, select {
	background: var(--rt-graphite-2);
	border: 1px solid var(--rt-line);
	color: var(--rt-ivory);
	border-radius: 8px;
	padding: 12px 14px;
	font-family: var(--rt-sans); font-size: 15px;
	min-height: 44px;
}
.woocommerce table.shop_table {
	border: 1px solid var(--rt-line); border-radius: 12px;
}
.woocommerce table.shop_table td, .woocommerce table.shop_table th {
	border-color: var(--rt-line);
}

/* ============================================================
   8. CONTENT / BLOG
   ============================================================ */
.rt-content { padding: 70px 0; }
.rt-content .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.rt-article + .rt-article { margin-top: 50px; }
.rt-article .rt-meta {
	font-family: var(--rt-sans); font-size: 12px;
	letter-spacing: .1em; color: var(--rt-muted);
	text-transform: uppercase; margin-bottom: 8px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.rt-footer {
	background: var(--rt-black);
	border-top: 1px solid var(--rt-line);
	padding: 56px 0; text-align: center;
}
.rt-footer .rt-logo { display: inline-block; margin-bottom: 12px; }
.rt-pay-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin-bottom: 18px;
}
.rt-pay-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--rt-muted);
	font-family: var(--rt-sans);
	font-size: 12px;
	letter-spacing: .03em;
}
.rt-pay-badge svg {
	width: 20px;
	height: 20px;
	color: var(--rt-gold);
	opacity: .8;
}
.rt-footer p {
	color: var(--rt-muted);
	font-family: var(--rt-sans); font-size: 13px;
	margin: 0;
}

/* ============================================================
   10. SCROLL REVEAL + ACCESSIBILITY
   ============================================================ */
.rt-reveal {
	opacity: 0;
	transform: translateY(var(--rt-reveal-distance));
	transition:
		opacity var(--rt-reveal-duration) cubic-bezier(.16, .8, .3, 1),
		transform var(--rt-reveal-duration) cubic-bezier(.16, .8, .3, 1);
	will-change: opacity, transform;
}
.rt-reveal.rt-in { opacity: 1; transform: none; }
.rt-reveal.rt-d1 { transition-delay: .12s; }
.rt-reveal.rt-d2 { transition-delay: .24s; }
.rt-reveal.rt-d3 { transition-delay: .36s; }

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

@media (prefers-reduced-motion: reduce) {
	.rt-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.rt-premium-hero-title {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
	.rt-premium-hero-title > span {
		transform: none !important;
		animation: none !important;
		background-position: 50% 50%;
	}
	.rt-hero-vial.rt-reveal,
	.rt-hero-vial.rt-reveal.rt-in {
		opacity: 1 !important;
		transform: rotate(var(--rt-vial-tilt)) !important;
		transition: none !important;
	}
	.rt-hero-vial-float { animation: none !important; transform: none !important; }
	.rt-hero-glow, .rt-drift { animation: none !important; }
	.rt-scroll-cue-chevron { animation: none !important; }
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   11. PRODUCT ADD-ONS (3rd-party plugins)
   Dark background + readable text for add-on / extras boxes
   and the live price-calculation summary. Covers the common
   plugins: Product Add-Ons Ultimate (PEWC), YITH, WooCommerce
   Product Add-ons, Product Options (Barn2), etc.
   ============================================================ */
.pewc-group-wrap,
.pewc-field-wrapper,
.pewc-item-field-wrapper,
.pewc-total-container,
.pewc-grand-total-wrapper,
.wc-pao-addon-container,
.wc-pao-addon,
.yith-wapo-addon,
.yith-wapo-group,
.yith_wapo_option,
.wcpa_form_outer,
.wcpa_totals_field,
.product-addon,
.addon-wrap,
.wapf-wrapper,
.wapf-field-container,
.wapf-price-display {
	background: var(--rt-graphite-2) !important;
	color: var(--rt-ivory) !important;
	border: 1px solid var(--rt-line) !important;
	border-radius: 12px !important;
	padding: 18px 20px !important;
	margin-bottom: 16px !important;
}

/* Labels, descriptions, option text inside add-on boxes */
.pewc-group-wrap *,
.wc-pao-addon-container *,
.yith-wapo-addon *,
.wcpa_form_outer *,
.wapf-wrapper * {
	color: var(--rt-ivory) !important;
}

/* Small helper / description text a touch dimmer */
.pewc-field-description,
.wc-pao-addon-description,
.wapf-field-description,
.wcpa_price_field small {
	color: var(--rt-muted) !important;
}

/* Price-summary totals — make the numbers gold */
.pewc-total-container .pewc-total,
.pewc-grand-total-wrapper .pewc-grand-total,
.wc-pao-subtotal-line-subtotal,
.wcpa_totals_field .wcpa_price,
.wapf-price-display .amount,
.product-addon-totals .amount {
	color: var(--rt-gold) !important;
	font-weight: 600;
}

/* Add-on checkboxes / radios: gold accent */
.pewc-group-wrap input[type="checkbox"],
.pewc-group-wrap input[type="radio"],
.wc-pao-addon input[type="checkbox"],
.wc-pao-addon input[type="radio"],
.yith-wapo-addon input[type="checkbox"],
.yith-wapo-addon input[type="radio"],
.wcpa_form_outer input[type="checkbox"],
.wcpa_form_outer input[type="radio"],
.wapf-field input[type="checkbox"],
.wapf-field input[type="radio"] {
	accent-color: var(--rt-gold);
	width: 18px; height: 18px;
}

/* Any leftover generic white container inside the product summary */
.woocommerce div.product form.cart .rt-safety-fallback,
.single-product .product form.cart > div[style*="background"] {
	background: var(--rt-graphite-2) !important;
	color: var(--rt-ivory) !important;
}

/* ============================================================
   12. TRUST BAR (front page: under hero)
   ============================================================ */
.rt-trust {
	background: var(--rt-black);
	padding: 20px 0 70px;
}
.rt-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}
.rt-trust-card {
	background: var(--rt-graphite-2);
	border: 1px solid var(--rt-line);
	border-radius: 16px;
	padding: 32px 26px;
	text-align: center;
	transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.rt-trust-card:hover {
	transform: translateY(-6px);
	border-color: var(--rt-gold);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.rt-trust-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; margin-bottom: 18px;
	border-radius: 50%;
	background: rgba(201, 162, 75, .10);
	color: var(--rt-gold);
	border: 1px solid rgba(201, 162, 75, .35);
}
.rt-trust-ic svg { width: 28px; height: 28px; }
.rt-trust-card h3 {
	font-size: 19px; color: var(--rt-ivory);
	margin-bottom: 10px;
}
.rt-trust-card p {
	font-family: var(--rt-sans);
	font-size: 14px; line-height: 1.6;
	color: var(--rt-muted); margin: 0;
}
@media (max-width: 820px) {
	.rt-trust-grid { grid-template-columns: 1fr; max-width: 420px; }
	.rt-trust { padding: 10px 0 50px; }
}
