/* RTS Sleek Cart — Storefront */

.rtsf-body {
	margin: 0;
	background: #f8fafc;
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.rtsf-body * {
	box-sizing: border-box;
}
.rtsf-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header ---------- */
.rtsf-masthead {
	background: #fff;
	padding: 16px 0 12px;
}
.rtsf-banner {
	display: inline-block;
	line-height: 0;
}
.rtsf-banner img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}
.rtsf-top {
	position: sticky;
	top: 0;
	z-index: 999980;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-top: 1px solid #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
}
.rtsf-top-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	gap: 16px;
}
.rtsf-nav {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}
.rtsf-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.rtsf-menu::-webkit-scrollbar {
	display: none;
}
.rtsf-menu li {
	flex: 0 0 auto;
	margin: 0;
}
.rtsf-menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.14s ease, color 0.14s ease;
}
.rtsf-menu a:hover {
	background: #f1f5f9;
	color: #0f172a;
}
.rtsf-menu .current-menu-item > a,
.rtsf-menu .current-category-ancestor > a {
	background: var(--rtssc-accent, #1e293b);
	color: #fff;
}
.rtsf-menubtn {
	display: none;
	align-items: center;
	gap: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #0f172a;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	padding: 9px 15px;
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rtsf-menubtn:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.rtsf-menubtn[aria-expanded="true"] {
	background: #f1f5f9;
}
.rtsf-cartbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #0f172a;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rtsf-cartbtn:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.rtssc-cart-count {
	background: var(--rtssc-accent, #1e293b);
	color: #fff;
	border-radius: 999px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

/* ---------- Hero ---------- */
.rtsf-hero {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 52px 0 44px;
}
.rtsf-hero-title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4.5vw, 42px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
}
.rtsf-hero-sub {
	margin: 0 0 16px;
	max-width: 640px;
	color: #64748b;
	font-size: 16.5px;
}
.rtsf-hero-count {
	display: inline-block;
	background: #f1f5f9;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
}

/* ---------- Product grid ---------- */
.rtsf-main {
	padding: 36px 24px 64px;
}
.rtsf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px;
}
.rtsf-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rtsf-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
	border-color: #cbd5e1;
}
.rtsf-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: #f1f5f9;
	overflow: hidden;
}
.rtsf-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.rtsf-card:hover .rtsf-card-media img {
	transform: scale(1.04);
}
.rtsf-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(15, 23, 42, 0.78);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.rtsf-card-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}
.rtsf-card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}
.rtsf-card-title a {
	color: #0f172a;
	text-decoration: none;
}
.rtsf-card-title a:hover {
	color: var(--rtssc-accent, #1e293b);
}
.rtsf-card-row {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.rtsf-card-price {
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.rtsf-card-options {
	color: var(--rtssc-accent, #1e293b);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.rtsf-card-options:hover {
	text-decoration: underline;
}
.rtsf-quickadd {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--rtssc-accent, #1e293b);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
	flex: 0 0 auto;
}
.rtsf-quickadd:hover {
	transform: scale(1.1);
	filter: brightness(1.18);
	box-shadow: 0 5px 14px rgba(15, 23, 42, 0.28);
}
.rtsf-none {
	color: #64748b;
	text-align: center;
	padding: 60px 0;
}

/* ---------- Product page ---------- */
.rtsf-breadcrumb {
	margin: 4px 0 22px;
}
.rtsf-breadcrumb a {
	color: #64748b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}
.rtsf-breadcrumb a:hover {
	color: #0f172a;
}
.rtsf-product {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
	gap: 40px;
	align-items: start;
}

/* Gallery */
.rtsf-gallery-main {
	aspect-ratio: 4 / 3;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rtsf-main-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.rtsf-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}
.rtsf-thumb {
	width: 64px;
	height: 64px;
	border: 2px solid transparent;
	border-radius: 12px;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	background: #fff;
	outline: 1px solid #e2e8f0;
	transition: border-color 0.14s ease, outline-color 0.14s ease;
}
.rtsf-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.rtsf-thumb.rtsf-active {
	border-color: var(--rtssc-accent, #1e293b);
	outline-color: transparent;
}

/* Buy panel */
.rtsf-panel {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 26px 26px 24px;
	position: sticky;
	top: 84px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.rtsf-title {
	margin: 0 0 10px;
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.rtsf-price-live {
	font-size: 28px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	margin-bottom: 18px;
}
.rtsf-variants {
	border: 0;
	padding: 0;
	margin: 0 0 18px;
}
.rtsf-variants-legend {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
	padding: 0;
}
.rtsf-variant {
	display: block;
	margin-bottom: 8px;
	cursor: pointer;
}
.rtsf-variant input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.rtsf-variant-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 11px 14px;
	transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.rtsf-variant:hover .rtsf-variant-body {
	border-color: #cbd5e1;
}
.rtsf-variant input:checked + .rtsf-variant-body {
	border-color: var(--rtssc-accent, #1e293b);
	background: color-mix(in srgb, var(--rtssc-accent, #1e293b) 5%, #ffffff);
	box-shadow: 0 0 0 1px var(--rtssc-accent, #1e293b);
}
.rtsf-variant input:focus-visible + .rtsf-variant-body {
	outline: 2px solid var(--rtssc-accent, #1e293b);
	outline-offset: 2px;
}
.rtsf-variant-name {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
}
.rtsf-variant-price {
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.rtsf-buy {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 999px;
	background: var(--rtssc-accent, #1e293b);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	padding: 15px 24px;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.22);
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.rtsf-buy:hover {
	filter: brightness(1.18);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}
.rtsf-buy:active {
	transform: translateY(0);
}
.rtsf-trust {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}
.rtsf-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
	font-size: 13px;
	margin-bottom: 6px;
}
.rtsf-trust svg {
	flex: 0 0 auto;
	opacity: 0.75;
}

/* Details section */
.rtsf-details {
	margin-top: 56px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 32px clamp(20px, 4vw, 44px) 40px;
}
.rtsf-details h2 {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.rtsf-details-body {
	max-width: 800px;
	color: #1e293b;
	font-size: 16px;
}
.rtsf-details-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
.rtsf-details-body iframe {
	max-width: 100%;
}
.rtsf-details-body a {
	color: var(--rtssc-accent, #1e293b);
}
.rtsf-details-body h1,
.rtsf-details-body h2,
.rtsf-details-body h3 {
	letter-spacing: -0.015em;
	line-height: 1.3;
}

/* More parts */
.rtsf-more {
	margin-top: 56px;
}
.rtsf-more h2 {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* ---------- Footer ---------- */
.rtsf-foot {
	border-top: 1px solid #e2e8f0;
	background: #fff;
	padding: 26px 0;
	margin-top: 24px;
}
.rtsf-foot p {
	margin: 0;
	color: #64748b;
	font-size: 13.5px;
	text-align: center;
}
.rtsf-foot a {
	color: #475569;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
	.rtsf-product {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.rtsf-panel {
		position: static;
	}
	.rtsf-hero {
		padding: 36px 0 30px;
	}
	.rtsf-main {
		padding: 24px 24px 48px;
	}
	.rtsf-masthead {
		padding: 12px 0 10px;
	}

	/* Collapsible nav (JS available): pills become a dropdown panel. */
	.rtsf-top-in {
		position: relative;
	}
	.rtsf-js .rtsf-menubtn {
		display: inline-flex;
	}
	.rtsf-js .rtsf-nav {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		flex: none;
		background: #fff;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
		padding: 8px;
		overflow: visible;
		z-index: 999985;
	}
	.rtsf-js .rtsf-nav.rtsf-nav-open {
		display: block;
	}
	.rtsf-js .rtsf-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		overflow: visible;
	}
	.rtsf-js .rtsf-menu a {
		padding: 12px 14px;
		border-radius: 10px;
		font-size: 15px;
	}
}

@media (max-width: 520px) {
	.rtsf-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 14px;
	}
	.rtsf-card-title {
		font-size: 13.5px;
	}
	.rtsf-cartbtn-label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rtsf-card, .rtsf-card-media img, .rtsf-quickadd, .rtsf-buy {
		transition: none;
	}
}
