/**
 * WooCommerce & Theme Styles — Archie's Footwear
 *
 * @package RL_Outlet
 */

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
	--rl-dark-teal: #123141;
	--rl-dark-green: #002C17;
	--rl-accent-blue: #046BD2;
	--rl-slate: #1E293B;
	--rl-slate-gray: #334155;
	--rl-white: #FFFFFF;
	--rl-light-gray: #F5F5F5;
	--rl-light-blue: #D3EDFF;
	--rl-dark-brown: #4E3E30;
	--rl-mint: #CBDBD6;
	--rl-charcoal: #2B2B2B;
	--rl-border: #D1D5DB;
	--rl-text-muted: #515151;
	--rl-success: #15803D;
	--rl-breakpoint-mobile: 480px;
	--rl-breakpoint-tablet: 768px;
	--rl-breakpoint-desktop: 1024px;
	--rl-breakpoint-wide: 1280px;
}

/* ========================================
   Page Load Animation
   ======================================== */
.rl-main-content {
	animation: rlFadeIn 0.4s ease-out;
}

@keyframes rlFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Header
   ======================================== */
.rl-header {
	background-color: var(--rl-white);
	height: 85px;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1000;
	border-bottom: 1px solid var(--rl-border);
	transition: box-shadow 0.3s ease;
}

.rl-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rl-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Logo */
.rl-header__logo {
	flex-shrink: 0;
}

.rl-header__logo img {
	max-width: 140px;
	height: auto;
}

/* Center Navigation */
.rl-header__nav-center {
	flex: 1;
	display: flex;
	justify-content: center;
}

/* Desktop Nav */
.rl-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.rl-nav__item {
	position: relative;
}

.rl-nav__item.has-dropdown > .rl-nav__link::after {
	content: '\25BE';
	font-size: 10px;
	margin-left: 4px;
	display: inline-block;
	transition: transform 0.2s ease;
}

.rl-nav__item.has-dropdown.is-active > .rl-nav__link::after {
	transform: rotate(180deg);
}

.rl-nav__link {
	display: block;
	padding: 0 16px;
	font-size: 16px;
	font-weight: 500;
	color: #334155;
	text-decoration: none;
	line-height: 85px;
	transition: color 0.2s ease;
}

.rl-nav__link:hover {
	color: var(--rl-dark-teal);
}

/* Dropdown */
.rl-nav__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--rl-white);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 100;
}

.rl-nav__item.is-active > .rl-nav__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rl-nav__dropdown li {
	list-style: none;
}

.rl-nav__dropdown-link {
	display: block;
	padding: 14.4px 16px;
	font-size: 15px;
	font-weight: 400;
	color: var(--rl-slate-gray);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.rl-nav__dropdown-link:hover {
	background: var(--rl-light-gray);
	color: var(--rl-slate);
}

/* Header Icons */
.rl-header__icons-wrap {
	flex-shrink: 0;
}

.rl-header__icons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rl-header__icon {
	color: #111111;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.2s ease;
}

.rl-header__icon:hover {
	opacity: 0.6;
}

.rl-header__cart {
	position: relative;
}

.rl-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: var(--rl-accent-blue);
	color: var(--rl-white);
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* Mobile Menu Toggle */
.rl-mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 8px;
	background: none;
	border: none;
	z-index: 1001;
}

.rl-mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: #111;
	transition: transform 0.3s ease;
}

.rl-mobile-menu-toggle.is-active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.rl-mobile-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.rl-mobile-menu-toggle.is-active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.rl-mobile-nav {
	display: none;
	position: fixed;
	top: 85px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rl-mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
}

.rl-mobile-nav__inner {
	background: var(--rl-white);
	padding: 16px 0;
	max-height: calc(100vh - 85px);
	overflow-y: auto;
}

.rl-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rl-mobile-nav__link {
	display: block;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 500;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid var(--rl-light-gray);
}

.rl-mobile-nav__arrow {
	float: right;
	transition: transform 0.2s ease;
}

.rl-mobile-nav__item.is-open .rl-mobile-nav__arrow {
	transform: rotate(180deg);
}

.rl-mobile-nav__submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.rl-mobile-nav__item.is-open .rl-mobile-nav__submenu {
	max-height: 200px;
}

.rl-mobile-nav__submenu a {
	display: block;
	padding: 12px 24px 12px 40px;
	font-size: 15px;
	color: var(--rl-slate-gray);
	text-decoration: none;
}

.rl-mobile-nav__submenu a:hover {
	color: var(--rl-dark-teal);
}

body.menu-open {
	overflow: hidden;
}

/* ========================================
   Hero Banner
   ======================================== */
.rl-hero-banner {
	position: relative;
	background-color: var(--rl-dark-teal);
	overflow: hidden;
}

.rl-hero-banner__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rl-hero-banner__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.rl-hero-banner__content {
	position: relative;
	z-index: 2;
	padding: 100px 0 80px;
	max-width: 1440px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.rl-hero-banner__title {
	font-family: 'Roboto', sans-serif;
	font-size: 40px;
	font-weight: 600;
	color: var(--rl-white);
	margin: 0 0 8px;
	line-height: 52px;
}

.rl-hero-banner__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 32px;
}

.rl-hero-banner__buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.rl-hero-btn {
	display: inline-block;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: opacity 0.2s ease, transform 0.1s ease;
}

.rl-hero-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.rl-hero-btn--light-blue {
	background-color: var(--rl-light-blue);
	color: var(--rl-dark-teal);
}

.rl-hero-btn--dark-brown {
	background-color: var(--rl-dark-brown);
	color: var(--rl-white);
}

/* ========================================
   Review Bar
   ======================================== */
.rl-review-bar {
	background-color: var(--rl-charcoal);
	padding: 14px 24px;
}

.rl-review-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 1440px;
	margin: 0 auto;
}

.rl-review-bar__stars {
	display: flex;
	gap: 2px;
	color: var(--rl-accent-blue);
}

.rl-review-bar__text {
	color: var(--rl-white);
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}

/* ========================================
   As Seen In
   ======================================== */
.rl-as-seen-in {
	background-color: var(--rl-light-gray);
	padding: 48px 24px;
}

.rl-as-seen-in__inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.rl-as-seen-in__title {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--rl-slate);
	margin: 0 0 24px;
}

.rl-as-seen-in__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.rl-as-seen-in__logo {
	height: 32px;
	opacity: 0.6;
	filter: grayscale(100%);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.rl-as-seen-in__logo:hover {
	opacity: 1;
	filter: grayscale(0);
}

.rl-as-seen-in__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.rl-as-seen-in__stars {
	color: var(--rl-accent-blue);
}

.rl-as-seen-in__count {
	font-size: 14px;
	color: var(--rl-slate-gray);
}

/* ========================================
   Section Titles (shared)
   ======================================== */
.rl-section-heading {
	text-align: center;
	margin-bottom: 32px;
}

.rl-section-heading__title {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--rl-dark-green);
	margin: 0 0 8px;
}

.rl-section-heading__subtitle {
	font-size: 16px;
	color: var(--rl-slate-gray);
	margin: 0;
}

/* ========================================
   Product Grid (Homepage / Featured)
   ======================================== */
.rl-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.rl-product-grid .rl-product-card {
	margin-bottom: 0;
	min-width: 0;
}

@media (max-width: 1280px) {
	.rl-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.rl-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.rl-product-grid {
		grid-template-columns: 1fr;
	}
}

/* Product Carousel Wrapper */
.rl-product-carousel {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px;
}

/* Carousel Arrow Buttons */
.rl-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: all 0.2s ease;
	color: var(--rl-slate);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.rl-carousel__arrow:hover:not(:disabled) {
	background: var(--rl-light-gray);
	border-color: var(--rl-dark-teal);
}

.rl-carousel__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.rl-carousel__arrow--prev {
	left: 0;
}

.rl-carousel__arrow--next {
	right: 0;
}

.rl-product-carousel > .rl-product-scroll {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	overflow-x: auto;
	scroll-snap-type: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.rl-product-carousel > .rl-product-scroll::-webkit-scrollbar {
	display: none;
}

/* Horizontal scroll variant */
.rl-product-scroll {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 0 20px 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}

.rl-product-scroll {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 0 20px 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}

.rl-product-scroll::-webkit-scrollbar {
	height: 4px;
}

.rl-product-scroll::-webkit-scrollbar-thumb {
	background: var(--rl-border);
	border-radius: 2px;
}

.rl-product-scroll .rl-product-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	margin-bottom: 0;
	min-width: 0;
}

/* Product carousel cards - sized by slidesToShow */
.rl-product-carousel > .rl-product-scroll > .rl-product-card {
	flex: 0 0 calc(20% - 16px);
	scroll-snap-align: none;
}

/* ========================================
   Product Card
   ======================================== */
.rl-product-card {
	list-style: none;
	transition: transform 0.2s ease;
}

.rl-product-card:hover {
	transform: translateY(-2px);
}

.rl-product-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.rl-product-card__image-wrap {
	position: relative;
	overflow: hidden;
	margin-bottom: 12px;
	background: #FFFFFF;
	border-radius: 3px;
}

.rl-product-card__image {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	border-radius: 3px;
	transition: transform 0.4s ease;
}

.rl-product-card:hover .rl-product-card__image {
	transform: scale(1.03);
}

/* Sale Badge - White Oval (override WooCommerce default) */
.woocommerce span.onsale,
.woocommerce .wc-block-components-product-sale-badge,
.woocommerce .wc-block-components-product-sale-badge span,
.wc-block-components-product-sale-badge,
.wc-block-components-product-sale-badge span,
.rl-product-card__sale-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background-color: var(--rl-white) !important;
	color: var(--rl-slate) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 4px 12px !important;
	border-radius: 20px !important;
	z-index: 2;
	min-height: auto !important;
	min-width: auto !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border: none !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

/* Select Options Button */
.rl-product-card__quick-add {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--rl-dark-teal);
	color: var(--rl-white);
	padding: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 2;
}

.rl-product-card:hover .rl-product-card__quick-add {
	opacity: 1;
	transform: translateY(0);
}

.rl-product-card__quick-add:hover {
	background-color: var(--rl-dark-green);
}

/* Product Title */
.rl-product-card__title {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 4px;
	color: var(--rl-dark-green);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Price Display */
.rl-product-card__price {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.rl-product-card__original-price {
	font-size: 14.4px;
	color: var(--rl-slate-gray);
	text-decoration: line-through;
}

.rl-product-card__sale-price {
	font-size: 14.4px;
	font-weight: 700;
	color: var(--rl-slate);
}

.rl-product-card__colors {
	font-size: 12px;
	color: var(--rl-text-muted);
}

/* ========================================
   Product Features
   ======================================== */
.rl-product-features__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.rl-product-features__banner {
	margin: 0 0 40px;
}

.rl-product-features__icons {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 64px;
}

.rl-product-features__icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rl-product-features__icon img {
	margin-bottom: 12px;
}

.rl-product-features__icon p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--rl-slate);
	line-height: 1.5;
}

/* ========================================
   Feel The Difference
   ======================================== */
.rl-feel-difference {
	background-color: var(--rl-light-gray);
	padding: 60px 24px;
}

.rl-feel-difference__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.rl-feel-difference__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 32px;
}

.rl-feel-difference__image-card {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.rl-feel-difference__image-card img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.rl-feel-difference__image-label {
	position: absolute;
	bottom: 16px;
	left: 16px;
	background: var(--rl-white);
	padding: 8px 16px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
}

/* Feature Accordions */
.rl-feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.rl-feature-item {
	border-bottom: 1px solid var(--rl-border);
}

.rl-feature-item__trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 0;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 500;
	color: var(--rl-slate);
	cursor: pointer;
	text-align: left;
}

.rl-feature-item__icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--rl-dark-green);
}

.rl-feature-item__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 0 0 36px;
}

.rl-feature-item.is-open .rl-feature-item__content {
	max-height: 200px;
	padding-bottom: 14px;
}

.rl-feature-item__content p {
	font-size: 14px;
	color: var(--rl-slate-gray);
	margin: 0;
}

/* CTA Button */
.rl-cta-btn {
	display: inline-block;
	padding: 14px 28px;
	background-color: var(--rl-dark-green);
	color: var(--rl-mint);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rl-cta-btn:hover {
	background-color: #003d21;
	color: var(--rl-white);
}

/* ========================================
   Testimonials
   ======================================== */
.rl-testimonials {
	background-color: var(--rl-light-gray);
	padding: 60px 24px;
}

.rl-testimonials__slider {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	max-width: 1280px;
	margin: 0 auto;
	padding-bottom: 16px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.rl-testimonials__slider::-webkit-scrollbar {
	display: none;
}

.rl-testimonials__card {
	flex: 0 0 calc(25% - 15px);
	border-radius: 8px;
	overflow: hidden;
}

.rl-testimonials__card img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

/* Testimonials Dots Navigation */
.rl-testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.rl-testimonials__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rl-border);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease;
}

.rl-testimonials__dot.is-active {
	background: var(--rl-dark-teal);
}

/* ========================================
   Reviews Stats
   ======================================== */
.rl-reviews-stats {
	background-color: var(--rl-light-gray);
	padding: 48px 24px;
	text-align: center;
}

.rl-reviews-stats__inner {
	max-width: 800px;
	margin: 0 auto;
}

.rl-reviews-stats__number {
	font-size: 36px;
	font-weight: 600;
	color: var(--rl-slate);
	margin: 0 0 4px;
}

.rl-reviews-stats__label {
	font-size: 16px;
	color: var(--rl-slate-gray);
	margin: 0 0 8px;
}

.rl-reviews-stats__stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	color: var(--rl-accent-blue);
	font-size: 24px;
	margin-bottom: 16px;
}

.rl-reviews-stats__count {
	font-size: 30px;
	font-weight: 400;
	color: var(--rl-dark-green);
}

/* ========================================
   Risk Free
   ======================================== */
.rl-risk-free {
	padding: 60px 24px;
	text-align: center;
}

.rl-risk-free__inner {
	max-width: 640px;
	margin: 0 auto;
}

.rl-risk-free__title {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--rl-dark-green);
	margin: 0 0 16px;
}

.rl-risk-free__text {
	font-size: 16px;
	color: var(--rl-slate-gray);
	line-height: 1.7;
	margin: 0 0 24px;
}

/* ========================================
   Single Product Page
   ======================================== */
.rl-single-product {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 24px 60px;
}

.rl-single-product__columns {
	display: flex;
	gap: 40px;
}

.rl-single-product__gallery {
	flex: 0 0 50%;
	max-width: 50%;
}

.rl-single-product__info {
	flex: 0 0 50%;
	max-width: 50%;
}

/* Product Gallery */
.rl-product-gallery__main {
	position: relative;
	overflow: hidden;
	margin-bottom: 16px;
	border-radius: 4px;
	background: var(--rl-white);
	aspect-ratio: 1 / 1;
}

/* Slides are stacked; only the active one is visible. */
.rl-product-gallery__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	cursor: zoom-in;
}

.rl-product-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.rl-product-gallery__main-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Prev / Next arrows */
.rl-product-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, opacity 0.2s ease;
	z-index: 3;
	color: var(--rl-slate);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.rl-product-gallery__nav:hover {
	background: var(--rl-white);
}

.rl-product-gallery__nav--prev { left: 16px; }
.rl-product-gallery__nav--next { right: 16px; }

/* Zoom / open-gallery button (top right) */
.rl-product-gallery__zoom {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	color: var(--rl-slate);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	transition: background 0.2s ease;
}

.rl-product-gallery__zoom:hover {
	background: var(--rl-white);
}

/* Thumbnails — 4 per row grid, opacity highlight like the reference store */
.rl-product-gallery__thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.rl-product-gallery__thumbnail {
	overflow: hidden;
	cursor: pointer;
	border-radius: 4px;
	opacity: 0.5;
	transition: opacity 0.2s ease;
	aspect-ratio: 1 / 1;
	background: var(--rl-white);
}

.rl-product-gallery__thumbnail:hover {
	opacity: 0.8;
}

.rl-product-gallery__thumbnail.is-active {
	opacity: 1;
}

.rl-product-gallery__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Lightbox */
.rl-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rl-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.rl-lightbox__figure {
	margin: 0;
	max-width: 90vw;
	max-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rl-lightbox__image {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	display: block;
	border-radius: 4px;
}

.rl-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: none;
	color: var(--rl-white);
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	z-index: 4;
	transition: opacity 0.2s ease;
}

.rl-lightbox__close:hover {
	opacity: 0.7;
}

.rl-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
	color: var(--rl-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 4;
	transition: background 0.2s ease;
}

.rl-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.3);
}

.rl-lightbox__nav--prev { left: 20px; }
.rl-lightbox__nav--next { right: 20px; }

.rl-lightbox__counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--rl-white);
	font-size: 14px;
	letter-spacing: 1px;
	z-index: 4;
}

/* Mobile: keep 4 thumbnails per row but smaller */
@media (max-width: 768px) {
	.rl-product-gallery__thumbnails {
		gap: 8px;
	}

	.rl-product-gallery__nav {
		width: 34px;
		height: 34px;
		font-size: 18px;
	}

	.rl-product-gallery__nav--prev { left: 8px; }
	.rl-product-gallery__nav--next { right: 8px; }
}

/* Product Title */
.rl-product-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--rl-slate);
}

/* Product Price */
.rl-product-price {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.rl-product-price__original {
	font-size: 18px;
	color: var(--rl-slate-gray);
	text-decoration: line-through;
}

.rl-product-price__sale {
	font-size: 24px;
	font-weight: 700;
	color: var(--rl-slate);
}

/* Variation Selectors */
.rl-variations-table {
	width: 100%;
	margin-bottom: 16px;
}

.rl-variations-table th {
	font-size: 14px;
	font-weight: 500;
	padding: 8px 0;
	vertical-align: top;
	color: var(--rl-slate);
}

.rl-variations-table select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--rl-border);
	border-radius: 3px;
	font-size: 14px;
	height: 40px;
	appearance: none;
	background: var(--rl-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23515151' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
	cursor: pointer;
}

/* WooCommerce Default Variations Table - Vertical stacked layout */
.woocommerce div.product form.cart .variations {
	display: block;
	width: 100%;
	margin-bottom: 16px;
	border: none;
}

.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr {
	display: block;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	text-align: left;
}

.woocommerce div.product form.cart .variations th.label {
	margin-bottom: 8px;
}

.woocommerce div.product form.cart .variations th.label label {
	font-size: 14px;
	font-weight: 700;
	color: var(--rl-slate);
	text-transform: none;
}

.woocommerce div.product form.cart .variations td.value {
	margin-bottom: 8px;
}

.woocommerce div.product form.cart .variations select {
	width: 100%;
	height: 48px;
	padding: 0 40px 0 14px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	font-size: 14px;
	color: var(--rl-slate);
	appearance: none;
	-webkit-appearance: none;
	background: var(--rl-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23515151' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
	cursor: pointer;
}

.woocommerce div.product form.cart .variations select:focus {
	outline: none;
	border-color: var(--rl-accent-blue);
}

.woocommerce div.product form.cart .reset_variations {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--rl-text-muted, #6B7280);
	text-decoration: underline;
}

/* Add to Cart Button */
.single_add_to_cart_button,
.rl-add-to-cart-btn,
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button {
	display: block;
	width: 100%;
	padding: 14px 32px;
	background-color: var(--rl-dark-teal) !important;
	color: var(--rl-white) !important;
	border: none !important;
	font-size: 16px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-transform: none;
	letter-spacing: 0;
}

.single_add_to_cart_button:hover,
.rl-add-to-cart-btn:hover {
	background-color: var(--rl-dark-green);
}

.single_add_to_cart_button:active,
.rl-add-to-cart-btn:active {
	transform: scale(0.98);
}

.single_add_to_cart_button.rl-added {
	background-color: #2e7d32;
}

/* Quantity Input */
.quantity .qty {
	width: 58px;
	height: 52px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	padding: 0 8px;
	font-size: 16px;
	text-align: center;
}

/* Guaranteed Safe */
.rl-guaranteed-safe {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	color: var(--rl-text-muted);
}

/* ========================================
   Product Detail Tabs (WooCommerce Default)
   ======================================== */
.rl-single-product__tabs {
	margin-top: 48px;
}

/* Tab Navigation */
.woocommerce-tabs.wc-tabs-wrapper {
	width: 100%;
}

.woocommerce-tabs .tabs.wc-tabs {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--rl-border);
	gap: 0;
}

.woocommerce-tabs .tabs.wc-tabs li {
	margin: 0;
	padding: 0;
}

.woocommerce-tabs .tabs.wc-tabs li a {
	display: block;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 500;
	color: var(--rl-slate-gray);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.woocommerce-tabs .tabs.wc-tabs li a:hover {
	color: var(--rl-accent-blue);
}

.woocommerce-tabs .tabs.wc-tabs li.active a,
.woocommerce-tabs .tabs.wc-tabs li.is-active a {
	color: var(--rl-accent-blue);
	border-bottom-color: var(--rl-accent-blue);
}

/* Tab Panels */
.woocommerce-Tabs-panel {
	padding: 28px 0;
	animation: rlTabFadeIn 0.3s ease;
}

@keyframes rlTabFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Hide redundant heading inside panels */
.woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

/* Panel content typography */
.woocommerce-Tabs-panel p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--rl-slate-gray);
	margin: 0 0 12px;
}

.woocommerce-Tabs-panel p:last-child {
	margin-bottom: 0;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
	padding-left: 20px;
	margin: 0 0 12px;
}

.woocommerce-Tabs-panel li {
	font-size: 15px;
	line-height: 1.7;
	color: var(--rl-slate-gray);
	margin-bottom: 6px;
}

/* Additional Information table */
.woocommerce-Tabs-panel .woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.woocommerce-Tabs-panel .woocommerce-product-attributes th,
.woocommerce-Tabs-panel .woocommerce-product-attributes td {
	padding: 10px 12px;
	border: 1px solid var(--rl-border);
	text-align: left;
}

.woocommerce-Tabs-panel .woocommerce-product-attributes th {
	background: var(--rl-light-gray);
	font-weight: 600;
	color: var(--rl-slate);
	width: 30%;
}

.woocommerce-Tabs-panel .woocommerce-product-attributes td {
	color: var(--rl-slate-gray);
}

/* Reviews panel */
.woocommerce-Tabs-panel .woocommerce-noreviews {
	font-size: 15px;
	color: var(--rl-text-muted);
	font-style: italic;
}

.woocommerce-Tabs-panel #review_form_wrapper {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--rl-light-gray);
}

/* Review Form Title */
#review_form .comment-reply-title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--rl-slate);
	margin-bottom: 8px;
}

#review_form .comment-notes {
	font-size: 13px;
	color: var(--rl-text-muted);
	margin-bottom: 20px;
}

/* Star Rating */
.comment-form-rating {
	margin-bottom: 20px;
}

.comment-form-rating label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--rl-slate);
	margin-bottom: 8px;
}

.comment-form-rating .stars {
	margin: 0;
}

.comment-form-rating .stars span {
	display: flex;
	gap: 4px;
}

.comment-form-rating .stars a {
	font-size: 0;
	color: transparent;
	text-decoration: none;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}

.comment-form-rating .stars a::before {
	content: '\2605';
	font-size: 28px;
	color: #E8A032;
	transition: color 0.15s ease, transform 0.15s ease;
}

.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a.active::before {
	color: #D4880F;
	transform: scale(1.15);
}

.comment-form-rating .stars a:hover ~ a::before {
	color: #E8A032;
	transform: scale(1);
}

/* Review Textarea */
.comment-form-comment {
	margin-bottom: 20px;
}

.comment-form-comment label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--rl-slate);
	margin-bottom: 8px;
}

.comment-form-comment textarea {
	width: 100%;
	min-height: 140px;
	padding: 12px 14px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus {
	border-color: var(--rl-dark-teal);
	outline: none;
}

/* Name & Email - Side by Side */
.comment-form-author,
.comment-form-email {
	display: inline-block;
	width: calc(50% - 10px);
	vertical-align: top;
	margin-bottom: 20px;
}

.comment-form-author {
	margin-right: 20px;
}

.comment-form-author label,
.comment-form-email label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--rl-slate);
	margin-bottom: 8px;
}

.comment-form-author input,
.comment-form-email input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
	border-color: var(--rl-dark-teal);
	outline: none;
}

/* Required asterisk */
.comment-form-rating .required,
.comment-form-comment .required,
.comment-form-author .required,
.comment-form-email .required {
	color: #e2401c;
}

/* Cookie consent checkbox */
.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 20px;
}

.comment-form-cookies-consent input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
}

.comment-form-cookies-consent label {
	font-size: 13px;
	color: var(--rl-text-muted);
	font-weight: 400;
}

/* Submit Button */
#review_form .form-submit {
	margin: 0;
}

#review_form .form-submit input[type="submit"],
#review_form #submit {
	display: inline-block;
	padding: 12px 32px;
	background-color: var(--rl-dark-teal);
	color: var(--rl-white);
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#review_form .form-submit input[type="submit"]:hover,
#review_form #submit:hover {
	background-color: var(--rl-dark-green);
}

/* Reviews title */
.woocommerce-Reviews-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--rl-slate);
	margin: 0 0 16px;
}

/* Mobile tabs */
@media (max-width: 768px) {
	.woocommerce-tabs .tabs.wc-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.woocommerce-tabs .tabs.wc-tabs::-webkit-scrollbar {
		display: none;
	}

	.woocommerce-tabs .tabs.wc-tabs li a {
		padding: 12px 16px;
		font-size: 14px;
	}

	.woocommerce-Tabs-panel {
		padding: 20px 0;
	}

	.woocommerce-Tabs-panel p,
	.woocommerce-Tabs-panel li {
		font-size: 14px;
	}

	.woocommerce-Tabs-panel .woocommerce-product-attributes th,
	.woocommerce-Tabs-panel .woocommerce-product-attributes td {
		padding: 8px 10px;
		font-size: 13px;
	}

	/* Review form mobile */
	.comment-form-author,
	.comment-form-email {
		display: block;
		width: 100%;
		margin-right: 0;
	}

	.comment-form-rating .stars a::before {
		font-size: 24px;
	}

	#review_form .comment-reply-title {
		font-size: 16px;
	}
}

/* ========================================
   Related Products Section
   ======================================== */
.rl-single-product__related {
	margin-top: 60px;
}

.rl-section-title {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--rl-dark-green);
	margin-bottom: 24px;
}

/* Related products - title color fix (dark instead of blue) */
.rl-single-product__related .wc-block-components-product-title,
.rl-single-product__related .woocommerce-loop-product__title,
.rl-single-product__related .rl-product-card__title {
	color: var(--rl-slate) !important;
}

/* Related products - category label */
.rl-product-card__category {
	display: block;
	font-size: 12px;
	color: var(--rl-text-muted);
	margin-bottom: 4px;
	text-transform: none;
}

/* Related products grid - 4 columns */
.rl-single-product__related .wc-block-grid__products,
.rl-single-product__related .products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 1024px) {
	.rl-single-product__related .wc-block-grid__products,
	.rl-single-product__related .products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.rl-single-product__related .wc-block-grid__products,
	.rl-single-product__related .products {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ========================================
   Shop / Archive Page
   ======================================== */
.rl-shop-page {
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px;
}

.rl-shop-page .woocommerce-breadcrumb {
	font-size: 14px;
	color: var(--rl-slate-gray);
	margin-bottom: 8px;
}

.rl-shop-page .woocommerce-breadcrumb a {
	color: var(--rl-accent-blue);
	text-decoration: none;
}

.rl-shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.rl-shop-layout {
	display: flex;
	gap: 24px;
}

/* Filter Sidebar */
.rl-filter-sidebar {
	flex: 0 0 220px;
	max-width: 220px;
}

.rl-filter-toggle {
	display: none;
	width: 100%;
	padding: 12px;
	background: var(--rl-light-gray);
	border: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	margin-bottom: 16px;
	border-radius: 4px;
}

.rl-filter-panel {
	position: sticky;
	top: 20px;
}

/* Filter Sections */
.widget_layered_nav,
.widget_price_filter,
.widget_rating_filter {
	margin-bottom: 24px;
}

.widget_layered_nav h3,
.widget_price_filter h3 {
	font-size: 14px;
	font-weight: 600;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--rl-border);
	margin-bottom: 12px;
}

/* Product Grid Column (Shop page) */
.rl-product-grid-column {
	flex: 1;
}

.rl-product-grid-column .wc-block-grid__products,
.rl-product-grid-column .products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Product Collection Block (Archive/Shop page) - 4 columns */
.wp-block-woocommerce-product-collection .wc-block-product-template-list,
.wp-block-woocommerce-product-collection .products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-woocommerce-product-collection .wc-block-product-template-list > *,
.wp-block-woocommerce-product-collection .products > * {
	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Archive product title - dark color instead of blue */
.wp-block-woocommerce-product-collection .wp-block-post-title a,
.wp-block-woocommerce-product-collection .wc-block-components-product-title,
.wp-block-woocommerce-product-collection .woocommerce-loop-product__title {
	color: var(--rl-slate) !important;
	text-decoration: none;
}

.wp-block-woocommerce-product-collection .wp-block-post-title a:hover {
	color: var(--rl-accent-blue) !important;
}

/* Archive product title size */
.wp-block-woocommerce-product-collection .wp-block-post-title {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	margin: 8px 0 4px;
}

/* Category label above product title */
.rl-archive-category-label {
	display: block;
	font-size: 12px;
	color: var(--rl-text-muted, #6B7280);
	margin-top: 8px;
	text-transform: none;
}

/* Hide WooCommerce store notices / cart messages on archive pages */
.rl-page-shop .woocommerce-message,
.rl-page-shop .woocommerce-info,
.rl-page-shop .wc-block-store-notices,
.tax-product_cat .woocommerce-message,
.tax-product_cat .woocommerce-info,
.tax-product_cat .wc-block-store-notices {
	display: none !important;
}

@media (max-width: 1024px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template-list,
	.wp-block-woocommerce-product-collection .products {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 768px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template-list,
	.wp-block-woocommerce-product-collection .products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 480px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template-list,
	.wp-block-woocommerce-product-collection .products {
		grid-template-columns: 1fr !important;
	}
}

/* Pagination */
.woocommerce-pagination {
	margin-top: 32px;
	text-align: center;
}

.woocommerce-pagination .page-numbers {
	display: inline-flex;
	gap: 4px;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	font-size: 14px;
	text-decoration: none;
	color: var(--rl-slate);
	border: 1px solid var(--rl-border);
	transition: all 0.2s ease;
}

.woocommerce-pagination .page-numbers a:hover {
	border-color: var(--rl-dark-teal);
}

.woocommerce-pagination .page-numbers .current {
	background-color: var(--rl-accent-blue);
	color: var(--rl-white);
	border-color: var(--rl-accent-blue);
}

/* ========================================
   Cart Page
   ======================================== */
.rl-cart-form {
	max-width: 1280px;
	margin: 0 auto;
}

/* Cart collaterals / recommended products */
.cart-collaterals .products,
.cart-collaterals .wc-block-grid__products,
.cart-collaterals .is-flex-container,
.cart-collaterals .wc-block-product-template-list {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	grid-template-rows: 1fr !important;
	gap: 15px !important;
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	align-items: start !important;
}

.cart-collaterals .products .rl-product-card,
.cart-collaterals .wc-block-grid__products .rl-product-card,
.cart-collaterals .is-flex-container > *,
.cart-collaterals .wc-block-product-template-list > * {
	margin-bottom: 0 !important;
	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.cart-collaterals > .wc-block-cross-sells,
.cart-collaterals > div {
	max-width: 100% !important;
	overflow: visible !important;
}

.rl-cart-page-title {
	font-size: 36px;
	font-weight: 400;
	color: var(--rl-slate);
	margin: 0 0 24px;
}

.rl-cart-table {
	width: 100%;
	border-collapse: collapse;
}

.rl-cart-table th {
	font-size: 14px;
	font-weight: 600;
	padding: 12px 8px;
	border-bottom: 1px solid var(--rl-border);
	text-align: left;
	color: var(--rl-slate);
}

.rl-cart-table td {
	padding: 16px 8px;
	border-bottom: 1px solid var(--rl-light-gray);
	vertical-align: middle;
}

.rl-cart-product {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rl-cart-product img {
	width: 80px;
	height: auto;
	border-radius: 4px;
}

.rl-cart-product__info a {
	font-size: 14px;
	color: var(--rl-slate);
	text-decoration: none;
}

.rl-cart-product__info a:hover {
	color: var(--rl-accent-blue);
}

.rl-cart-actions {
	padding: 24px 8px;
}

.rl-coupon {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.rl-coupon__input {
	padding: 10px 12px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	font-size: 14px;
	min-width: 200px;
}

.rl-coupon__button,
.rl-cart-update {
	padding: 12px 24px;
	background-color: var(--rl-dark-teal);
	color: var(--rl-white);
	border: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rl-coupon__button:hover,
.rl-cart-update:hover {
	background-color: var(--rl-dark-green);
}

.rl-cart-continue {
	margin-top: 24px;
}

.rl-btn-outline {
	display: inline-block;
	padding: 12px 24px;
	border: 1px solid var(--rl-dark-teal);
	color: var(--rl-dark-teal);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.rl-btn-outline:hover {
	background-color: var(--rl-dark-teal);
	color: var(--rl-white);
}

/* ========================================
   Checkout Page
   ======================================== */
.rl-checkout-form {
	max-width: 1280px;
	margin: 0 auto;
}

.rl-checkout-layout {
	display: flex;
	gap: 40px;
}

.rl-checkout__form {
	flex: 1;
	min-width: 0;
}

.rl-checkout__summary {
	flex: 0 0 380px;
	max-width: 380px;
	box-sizing: border-box;
	background: var(--rl-light-gray);
	border: 1px solid var(--rl-border);
	border-radius: 12px;
	padding: 22px;
}

.rl-checkout__summary-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rl-border);
}

@media (min-width: 769px) {
	.rl-checkout__summary {
		position: sticky;
		top: 20px;
		align-self: flex-start;
	}
}

/* ---- Order review table ("Your Order" summary) ----
   Block themes load woocommerce-blocktheme.css, which only gives the table
   `width:70%` and `th,td { padding:1em }`; the rest falls back to raw browser
   defaults (centered bold headers, left-aligned prices, no row separators).
   Restyle it into a clean, hierarchical summary. High-specificity selectors
   are required to beat `.woocommerce-page table.shop_table th/td` (0,2,2). */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
}

/* Header row: "Product" / "Subtotal" — small uppercase, muted, bottom border */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table thead th {
	padding: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rl-text-muted);
	text-align: left;
	border-bottom: 1px solid var(--rl-border);
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table thead th.product-total {
	text-align: right;
}

/* Product rows */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .cart_item td {
	padding: 14px 0;
	border-bottom: 1px solid var(--rl-border);
	vertical-align: top;
	font-size: 14px;
	line-height: 1.55;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .product-name {
	font-weight: 500;
	color: var(--rl-slate);
	text-align: left;
	padding-right: 16px;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .product-quantity {
	font-weight: 400;
	font-size: 13px;
	color: var(--rl-text-muted);
	white-space: nowrap;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .product-total {
	text-align: right;
	white-space: nowrap;
	color: var(--rl-slate);
}

/* Footer rows: Subtotal / Shipment / discounts */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot td {
	padding: 12px 0;
	border-bottom: 1px solid var(--rl-border);
	font-size: 14px;
	line-height: 1.5;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot th {
	font-weight: 500;
	color: var(--rl-text-muted);
	text-align: left;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	color: var(--rl-slate);
}
/* Shipping placeholder message reads as a hint, not a value */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .shipping td {
	font-size: 13px;
	color: var(--rl-text-muted);
}

/* Total row: emphasized with brand color */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td {
	padding: 16px 0 6px;
	border-bottom: none;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total th {
	font-size: 16px;
	font-weight: 700;
	color: var(--rl-dark-teal);
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total .amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--rl-dark-teal);
}

/* Line item with thumbnail (markup from theme review-order.php override) */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .rl-review-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .rl-review-item__thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--rl-border);
	background: var(--rl-white);
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .rl-review-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tbody .rl-review-item__info {
	flex: 1;
	min-width: 0;
}

/* Discount rows (payment-method fee / coupons) read as savings — green */
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .fee td,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .fee .amount,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .cart-discount td,
.woocommerce-page .rl-checkout__summary table.shop_table.woocommerce-checkout-review-order-table tfoot .cart-discount .amount {
	color: var(--rl-success);
	font-weight: 600;
}

.rl-checkout-form .form-row label {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 4px;
	color: var(--rl-slate);
}

.rl-checkout-form .form-row input,
.rl-checkout-form .form-row select,
.rl-checkout-form .form-row textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.rl-checkout-form .form-row input:focus,
.rl-checkout-form .form-row select:focus,
.rl-checkout-form .form-row textarea:focus {
	border-color: var(--rl-dark-teal);
	outline: none;
}

/* ---- select2 dropdowns (Country / Region, State) ----
   WooCommerce enhances these <select>s with select2, whose default
   `.select2-selection--single { height: 28px }` is far shorter than the text
   inputs. Mirror the input box-model (blocktheme's 0.9rem 1.1rem padding) so
   the dropdowns match the surrounding fields. High specificity is required to
   beat `.woocommerce-page form .form-row .select2-container ...` (0,5,1). */
.woocommerce-page .rl-checkout-form .form-row .select2-container .select2-selection--single {
	height: auto;
	border: 1px solid var(--rl-border);
	border-radius: 4px;
	background-color: var(--rl-white);
}
.woocommerce-page .rl-checkout-form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0.9rem 2.75rem 0.9rem 1.1rem;
	line-height: normal;
	color: var(--rl-slate);
}
.woocommerce-page .rl-checkout-form .form-row .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	right: 1.1rem;
}

/* ========================================
   Footer
   ======================================== */
.rl-footer {
	background-color: var(--rl-dark-teal);
	padding: 48px 40px 24px;
}

.rl-footer__columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto 32px;
}

.rl-footer__col-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--rl-white);
	margin: 0 0 16px;
	text-transform: capitalize;
	letter-spacing: 0;
}

.rl-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rl-footer__links li {
	margin-bottom: 8px;
}

.rl-footer__links a {
	font-size: 16px;
	color: var(--rl-white);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.rl-footer__links a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

/* Payment Icons */
.rl-footer__payments {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	max-width: 1280px;
	margin: 0 auto;
}

.rl-footer__payment-icon {
	height: 28px;
	opacity: 0.7;
}

/* Copyright */
.rl-footer__copyright {
	text-align: center;
	color: var(--rl-white);
	font-size: 12px;
	margin-top: 20px;
}

/* Social Icons */
.rl-footer__social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 16px;
}

.rl-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: var(--rl-white);
	transition: opacity 0.2s ease;
}

.rl-footer__social a:hover {
	opacity: 0.7;
}

/* Back to Top Button */
.rl-back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rl-accent-blue);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rl-white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
	z-index: 100;
}

.rl-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.rl-back-to-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Desktop */
@media (max-width: 1024px) {
	.rl-product-grid-column .wc-block-grid__products,
	.rl-product-grid-column .products {
		grid-template-columns: repeat(3, 1fr) !important;
	}

	.rl-filter-sidebar {
		display: none;
	}

	.rl-filter-toggle {
		display: block;
	}

	.rl-filter-panel.is-open {
		display: block;
	}

	.rl-single-product__columns {
		flex-direction: column;
	}

	.rl-single-product__gallery,
	.rl-single-product__info {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.rl-checkout-layout {
		flex-direction: column;
	}

	.rl-checkout__summary {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.rl-footer__columns {
		grid-template-columns: repeat(2, 1fr);
	}

	.rl-feel-difference__grid {
		grid-template-columns: 1fr;
	}

	/* Product Carousel - 3 slides on tablet */
	.rl-product-carousel > .rl-product-scroll > .rl-product-card {
		flex: 0 0 calc(33.333% - 14px);
	}

	/* Testimonials - 2 slides on tablet */
	.rl-testimonials__card {
		flex: 0 0 calc(50% - 10px);
	}
}

/* Tablet */
@media (max-width: 768px) {
	.rl-header {
		height: 65px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 16px;
	}

	.rl-header__inner {
		padding: 0;
		width: auto;
		flex-shrink: 0;
		margin: 0;
		margin-left: auto;
	}

	.rl-header__nav-center,
	body .rl-header__nav-center.is-layout-flex {
		display: none !important;
	}

	.rl-header__icons-wrap {
		display: flex !important;
		flex-shrink: 0;
	}

	.rl-header__icons {
		display: flex !important;
		gap: 16px;
	}

	.rl-mobile-menu-toggle {
		display: flex;
		order: -1;
	}

	.rl-mobile-nav {
		display: block;
	}

	.rl-nav__link {
		line-height: 65px;
	}

	.rl-hero-banner__content {
		padding: 60px 16px;
	}

	.rl-hero-banner__title {
		font-size: 28px;
	}

	.rl-product-grid-column .wc-block-grid__products,
	.rl-product-grid-column .products {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.rl-footer {
		padding: 32px 20px 16px;
	}

	.rl-footer__columns {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.rl-footer__col {
		border-bottom: 1px solid rgba(255,255,255,0.15);
	}

	.rl-footer__col-title {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 16px 0;
		margin: 0;
		cursor: pointer;
	}

	.rl-footer__arrow::after {
		content: '+';
		font-size: 20px;
		font-weight: 300;
		color: var(--rl-white);
		transition: transform 0.3s ease;
	}

	.rl-footer__col.is-open .rl-footer__arrow::after {
		content: '\2212';
	}

	.rl-footer__links {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.rl-footer__col.is-open .rl-footer__links {
		max-height: 300px;
		padding-bottom: 16px;
	}

	.rl-as-seen-in__logos {
		gap: 24px;
	}

	/* Product Carousel - 1 slide on mobile */
	.rl-product-carousel > .rl-product-scroll > .rl-product-card {
		flex: 0 0 calc(100% - 0px);
	}

	/* Testimonials - 1 slide on mobile */
	.rl-testimonials__card {
		flex: 0 0 calc(100% - 0px);
	}

	.rl-testimonials__card img {
		height: 280px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.rl-product-grid-column .wc-block-grid__products,
	.rl-product-grid-column .products {
		grid-template-columns: 1fr !important;
	}

	.rl-header__icons {
		gap: 12px;
	}

	.rl-header__logo img {
		max-width: 120px;
	}

	.rl-cart-table thead {
		display: none;
	}

	.rl-cart-table td {
		display: block;
		text-align: right;
		padding-left: 50%;
		position: relative;
	}

	.rl-cart-table td::before {
		content: attr(data-title);
		position: absolute;
		left: 8px;
		top: 16px;
		font-weight: 600;
		font-size: 12px;
	}

	.rl-cart-product {
		flex-direction: column;
		align-items: flex-start;
	}

	.rl-hero-banner__buttons {
		flex-direction: column;
	}

	.rl-hero-btn {
		text-align: center;
	}
}

/* ========================================
   Search Page
   ======================================== */
.rl-search-header {
	max-width: 680px;
	margin: 0 auto 40px;
	padding: 0 24px;
	text-align: center;
}

.rl-search-header__title {
	font-size: 30px;
	font-weight: 600;
	color: var(--rl-dark-green);
	margin: 0 0 20px;
}

.rl-search-form__input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--rl-white);
	border: 2px solid var(--rl-border);
	border-radius: 50px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rl-search-form__input-wrap:focus-within {
	border-color: var(--rl-dark-green);
	box-shadow: 0 0 0 3px rgba(0, 44, 23, 0.08);
}

.rl-search-form__icon {
	position: absolute;
	left: 18px;
	color: var(--rl-text-muted);
	pointer-events: none;
}

.rl-search-form__input {
	flex: 1;
	border: none;
	outline: none;
	padding: 14px 16px 14px 48px;
	font-size: 15px;
	background: transparent;
	min-width: 0;
}

.rl-search-form__input::placeholder {
	color: #9CA3AF;
}

.rl-search-form__submit {
	flex-shrink: 0;
	border: none;
	background: var(--rl-dark-green);
	color: var(--rl-white);
	font-size: 14px;
	font-weight: 600;
	padding: 14px 28px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rl-search-form__submit:hover {
	background: #004d29;
}

/* Results meta */
.rl-search-meta {
	max-width: 1280px;
	margin: 0 auto 24px;
	padding: 0 24px;
}

.rl-search-meta__count {
	font-size: 14px;
	color: var(--rl-slate-gray);
	margin: 0;
}

/* Empty state */
.rl-search-empty {
	text-align: center;
	padding: 48px 24px;
	color: var(--rl-text-muted);
}

.rl-search-empty svg {
	color: var(--rl-border);
	margin-bottom: 16px;
}

.rl-search-empty__title {
	font-size: 20px;
	font-weight: 600;
	color: var(--rl-slate);
	margin: 0 0 8px;
}

.rl-search-empty__text {
	font-size: 15px;
	color: var(--rl-slate-gray);
	margin: 0;
}

/* Popular suggestions */
.rl-search-suggestions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 680px;
	margin: 40px auto 0;
	padding: 0 24px;
}

.rl-search-suggestions__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--rl-slate-gray);
}

.rl-search-suggestions__tag {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--rl-border);
	border-radius: 50px;
	font-size: 13px;
	color: var(--rl-slate-gray);
	text-decoration: none;
	transition: all 0.2s ease;
}

.rl-search-suggestions__tag:hover {
	border-color: var(--rl-dark-green);
	color: var(--rl-dark-green);
	background: rgba(0, 44, 23, 0.04);
}

/* Pagination */
.rl-search-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
}

.rl-search-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--rl-border);
	border-radius: 6px;
	font-size: 14px;
	color: var(--rl-slate-gray);
	text-decoration: none;
	transition: all 0.2s ease;
}

.rl-search-pagination .page-numbers:hover {
	border-color: var(--rl-dark-green);
	color: var(--rl-dark-green);
}

.rl-search-pagination .page-numbers.current {
	background: var(--rl-dark-green);
	border-color: var(--rl-dark-green);
	color: var(--rl-white);
}

@media (max-width: 480px) {
	.rl-search-form__submit {
		padding: 14px 18px;
	}

	.rl-search-header__title {
		font-size: 24px;
	}
}
