/**
 * Rushby Single Product Widget Styles
 *
 * Comprehensive product page styles with gallery, variations, and mobile-first design.
 */

/* ============================================
   Main Container
   ============================================ */
.rushby-single-product {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.rushby-single-product-notice {
	padding: 2rem;
	background: #f3f4f6;
	border-radius: 0.5rem;
	text-align: center;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.rushby-breadcrumbs-nav {
	margin-bottom: 1.5rem;
}

.rushby-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.875rem;
}

.rushby-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rushby-breadcrumbs a {
	color: var(--rushby-text-muted, #6b7280);
	text-decoration: none;
	transition: color 0.2s;
}

.rushby-breadcrumbs a:hover {
	color: var(--rushby-accent, #556b2f);
}

.rushby-breadcrumb-sep {
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-breadcrumbs li[aria-current="page"] span {
	color: var(--rushby-heading-color, #111827);
	font-weight: 500;
}

/* ============================================
   Product Layout
   ============================================ */
.rushby-product-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (max-width: 1024px) {
	.rushby-product-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* ============================================
   Gallery Section
   ============================================ */
.rushby-product-gallery {
	position: sticky;
	top: 2rem;
	align-self: start;
}

@media (max-width: 1024px) {
	.rushby-product-gallery {
		position: static;
	}
}

.rushby-gallery-main {
	position: relative;
	background: #ffffff;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rushby-gallery-main.ratio-1-1 {
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
}

.rushby-gallery-main.ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.rushby-gallery-main.ratio-3-4 {
	aspect-ratio: 3 / 4;
}

.rushby-gallery-main.ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.rushby-gallery-main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.15s ease-in-out, transform 0.3s ease;
}

/* Gallery zoom hover effect */
.rushby-gallery-main:hover .rushby-gallery-main-img {
	transform: none;
}

.rushby-gallery-main.zoom-active .rushby-gallery-main-img {
	transform: none;
}

/* Gallery hover overlay with green accent */
.rushby-gallery-main::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(85, 107, 47, 0.1) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.rushby-gallery-main:hover::after {
	opacity: 1;
}

.rushby-gallery-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f4f6;
}

.rushby-gallery-placeholder svg {
	width: 4rem;
	height: 4rem;
	color: #d1d5db;
}

/* Thumbnails */
.rushby-gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(var(--thumbnail-columns, 4), 1fr);
	gap: 8px;
	margin: 0;
}

.rushby-thumbnail {
	aspect-ratio: 1 / 1;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	overflow: hidden;
	transition: none;
	padding: 0;
	margin: 0;
	background: transparent;
	display: block;
	position: relative;
	width: 100%;
	line-height: 0;
}

.rushby-thumbnail:hover,
.rushby-thumbnail.active {
	background: transparent;
	border: none;
	box-shadow: none;
}

.rushby-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 5px !important;
}

.rushby-thumbnail:focus,
.rushby-thumbnail:focus-visible {
	outline: 3px solid #556B2F;
	outline-offset: 2px;
}

/* ============================================
   Product Info Section
   ============================================ */
.rushby-product-info {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Badge */
.rushby-product-badge-wrapper {
	display: flex;
}

.rushby-product-badge {
	display: inline-block;
	background: var(--rushby-accent, #556b2f);
	color: #ffffff;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Title */
.rushby-product-title {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--rushby-heading-color, #111827);
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0;
}

@media (max-width: 768px) {
	.rushby-product-title {
		font-size: 1.75rem;
	}
}

/* Rating */
.rushby-product-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rushby-product-info .rushby-product-rating {
	cursor: pointer;
	transition: opacity 0.2s;
}

.rushby-product-info .rushby-product-rating:hover {
	opacity: 0.8;
}

.rushby-rating-stars {
	display: flex;
	gap: 0.125rem;
}

.rushby-star {
	width: 1.25rem;
	height: 1.25rem;
	color: #d1d5db;
}

.rushby-star.filled {
	color: #fbbf24;
}

.rushby-rating-count {
	font-size: 0.875rem;
	color: var(--rushby-text-muted, #6b7280);
}

/* Price */
.rushby-product-price {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.rushby-price-current {
	font-size: 2rem;
	font-weight: 700;
	color: var(--rushby-heading-color, #111827);
}

.rushby-price-original {
	font-size: 1.125rem;
	color: var(--rushby-text-muted, #6b7280);
	text-decoration: line-through;
}

/* Stock Status */
.rushby-stock-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rushby-stock-indicator {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.rushby-stock-indicator.in-stock {
	background: var(--rushby-accent, #556b2f);
	animation: rushby-pulse 2s infinite;
}

.rushby-stock-indicator.out-of-stock {
	background: #6b7280;
}

.rushby-stock-indicator.backorder {
	background: #f59e0b;
}

.rushby-stock-text {
	font-size: 0.875rem;
	color: var(--rushby-text-color, #374151);
}

/* Short Description */
.rushby-short-description {
	font-size: 0.9375rem;
	color: var(--rushby-text-color, #374151);
	line-height: 1.6;
}

.rushby-short-description p {
	margin: 0;
}

/* SKU & Category */
.rushby-product-sku,
.rushby-product-category {
	font-size: 0.875rem;
	display: flex;
	gap: 0.375rem;
}

.rushby-sku-label,
.rushby-category-label {
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-sku-value {
	color: var(--rushby-heading-color, #111827);
	font-weight: 500;
}

.rushby-category-link {
	color: var(--rushby-accent, #556b2f);
	text-decoration: none;
	font-weight: 500;
}

.rushby-category-link:hover {
	text-decoration: underline;
}

/* ============================================
   Variations
   ============================================ */
.rushby-variations {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.rushby-variation-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.rushby-variation-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
}

/* Variation Dropdown Select */
.rushby-variation-select-wrapper {
	position: relative;
	display: block;
}

.rushby-variation-select {
	width: 100%;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	border: 2px solid #d1d5db;
	border-radius: 0.5rem;
	background: #ffffff;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--rushby-heading-color, #111827);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.rushby-variation-select:hover {
	border-color: var(--rushby-accent, #556b2f);
}

.rushby-variation-select:focus {
	outline: none;
	border-color: var(--rushby-accent, #556b2f);
	box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.15);
}

.rushby-variation-select option {
	padding: 0.5rem;
}

.rushby-variation-select option[value=""] {
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-select-arrow {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--rushby-text-muted, #6b7280);
	transition: color 0.2s;
}

.rushby-variation-select:focus + .rushby-select-arrow {
	color: var(--rushby-accent, #556b2f);
}

.rushby-variation-select:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f3f4f6;
}

/* Selected state indicator */
.rushby-variation-group.has-selection .rushby-variation-select {
	border-color: var(--rushby-accent, #556b2f);
}

/* ============================================
   Quantity & Add to Cart
   ============================================ */
.rushby-quantity-cart {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.rushby-quantity-row {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.rushby-quantity-selector {
	display: flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	background: #ffffff;
}

.rushby-qty-btn {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
	color: var(--rushby-heading-color, #111827);
}

.rushby-qty-btn:hover {
	background: #f3f4f6;
}

.rushby-qty-btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

.rushby-qty-btn:focus-visible {
	outline: 3px solid var(--rushby-accent, #556b2f);
	outline-offset: -3px;
}

.rushby-qty-value {
	width: 3rem;
	text-align: center;
	font-weight: 600;
	font-size: 1rem;
	color: var(--rushby-heading-color, #111827);
	border-left: 1px solid #d1d5db;
	border-right: 1px solid #d1d5db;
	padding: 0.75rem 0;
}

/* Add to Cart Button */
.rushby-add-to-cart {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background: var(--rushby-accent, #556b2f);
	color: #ffffff;
	border: none;
	border-radius: 0.5rem;
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1.125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.rushby-add-to-cart:hover:not(:disabled) {
	background: var(--rushby-accent-dark, #445024);
}

.rushby-add-to-cart:active:not(:disabled) {
	transform: scale(0.98);
}

.rushby-add-to-cart.added {
	background: #10b981;
}

.rushby-add-to-cart.loading {
	opacity: 0.7;
	cursor: wait;
}

.rushby-add-to-cart:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.rushby-add-to-cart svg {
	width: 1.25rem;
	height: 1.25rem;
}

.rushby-add-to-cart:focus-visible {
	outline: 3px solid var(--rushby-accent, #556b2f);
	outline-offset: 2px;
}

/* ============================================
   Trust Badges
   ============================================ */
.rushby-trust-badges {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	margin-top: 0.5rem;
}

.rushby-trust-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.375rem;
}

.rushby-trust-icon {
	width: 2rem;
	height: 2rem;
	color: var(--rushby-accent, #556b2f);
	display: flex;
	align-items: center;
	justify-content: center;
}

.rushby-trust-icon svg {
	width: 100%;
	height: 100%;
}

.rushby-trust-icon i {
	font-size: 1.5rem;
}

.rushby-trust-title {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	line-height: 1.3;
}

.rushby-trust-description {
	font-size: 0.625rem;
	color: var(--rushby-text-muted, #6b7280);
}

@media (max-width: 480px) {
	.rushby-trust-badges {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.rushby-trust-badge {
		flex-direction: row;
		text-align: left;
		gap: 0.75rem;
	}

	.rushby-trust-icon {
		flex-shrink: 0;
	}
}

/* ============================================
   Product Details / Specifications (inside tabs)
   ============================================ */
.rushby-product-details {
	background: #ffffff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	padding: 2rem;
	margin-bottom: 3rem;
}

.rushby-details-title {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	margin: 0 0 1.5rem 0;
}

/* When inside tabs, remove outer styling */
.rushby-tab-panel .rushby-product-details {
	background: transparent;
	box-shadow: none;
	padding: 0;
	margin-bottom: 0;
	border-radius: 0;
}

.rushby-tab-panel .rushby-details-title {
	display: none; /* Title is now in the tab */
}

/* Product Description */
.rushby-product-description {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--rushby-text-color, #374151);
	margin-bottom: 2rem;
}

.rushby-product-description p {
	margin: 0 0 1rem 0;
}

.rushby-product-description p:last-child {
	margin-bottom: 0;
}

.rushby-product-description h2,
.rushby-product-description h3,
.rushby-product-description h4 {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	margin: 1.5rem 0 0.75rem 0;
}

.rushby-product-description h2:first-child,
.rushby-product-description h3:first-child,
.rushby-product-description h4:first-child {
	margin-top: 0;
}

.rushby-product-description h2 {
	font-size: 1.25rem;
}

.rushby-product-description h3 {
	font-size: 1.125rem;
}

.rushby-product-description h4 {
	font-size: 1rem;
}

.rushby-product-description ul,
.rushby-product-description ol {
	margin: 0 0 1rem 0;
	padding-left: 1.5rem;
}

.rushby-product-description li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.rushby-product-description li:last-child {
	margin-bottom: 0;
}

.rushby-product-description strong,
.rushby-product-description b {
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
}

.rushby-product-description a {
	color: var(--rushby-accent, #556b2f);
	text-decoration: underline;
}

.rushby-product-description a:hover {
	color: var(--rushby-accent-dark, #3d4f22);
}

/* Specs Section (below description) */
.rushby-specs-section,
.rushby-features-section {
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	margin-top: 1.5rem;
}

.rushby-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

@media (max-width: 768px) {
	.rushby-details-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* Features List */
.rushby-features-column,
.rushby-specs-column {
	display: flex;
	flex-direction: column;
}

.rushby-features-title,
.rushby-specs-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	margin: 0 0 1rem 0;
}

.rushby-features-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rushby-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9375rem;
	color: var(--rushby-text-color, #374151);
}

.rushby-feature-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--rushby-accent, #556b2f);
	flex-shrink: 0;
	margin-top: 0.125rem;
}

/* Specifications Table */
.rushby-specs-table {
	display: flex;
	flex-direction: column;
}

.rushby-spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid #e5e7eb;
	gap: 1rem;
}

.rushby-spec-row:last-child {
	border-bottom: none;
}

.rushby-spec-label {
	color: var(--rushby-text-muted, #6b7280);
	font-size: 0.9375rem;
}

.rushby-spec-value {
	font-weight: 500;
	color: var(--rushby-heading-color, #111827);
	font-size: 0.9375rem;
	text-align: right;
}

/* ============================================
   Product Tabs
   ============================================ */
.rushby-product-tabs {
	background: #ffffff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	margin-bottom: 3rem;
	overflow: hidden;
}

/* Tabs Navigation */
.rushby-tabs-nav {
	display: flex;
	border-bottom: 2px solid #e5e7eb;
	background: #f9fafb;
}

.rushby-tab-btn {
	flex: 1;
	padding: 1rem 1.5rem;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--rushby-text-muted, #6b7280);
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.rushby-tab-btn:hover {
	color: var(--rushby-heading-color, #111827);
	background: rgba(85, 107, 47, 0.05);
}

.rushby-tab-btn.active {
	color: var(--rushby-accent, #556b2f);
	border-bottom-color: var(--rushby-accent, #556b2f);
	background: #ffffff;
}

.rushby-tab-btn:focus-visible {
	outline: 3px solid var(--rushby-accent, #556b2f);
	outline-offset: -3px;
}

.rushby-tab-count {
	font-weight: 400;
	font-size: 0.875rem;
	margin-left: 0.25rem;
	color: inherit;
}

@media (max-width: 480px) {
	.rushby-tab-btn {
		padding: 0.875rem 1rem;
		font-size: 0.875rem;
	}
}

/* Tabs Content */
.rushby-tabs-content {
	padding: 2rem;
}

@media (max-width: 640px) {
	.rushby-tabs-content {
		padding: 1.5rem 1rem;
	}
}

.rushby-tab-panel {
	display: none;
}

.rushby-tab-panel.active {
	display: block;
	animation: rushby-fade-in 0.3s ease;
}

@keyframes rushby-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.rushby-no-content {
	text-align: center;
	color: var(--rushby-text-muted, #6b7280);
	padding: 2rem 1rem;
	margin: 0;
}

/* ============================================
   Reviews Section (inside tabs)
   ============================================ */

/* Reviews Summary */
.rushby-reviews-summary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
	.rushby-reviews-summary {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.rushby-rating-average {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
}

.rushby-rating-number {
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--rushby-heading-color, #111827);
	line-height: 1;
}

.rushby-rating-average .rushby-rating-stars {
	display: flex;
	justify-content: center;
}

.rushby-rating-average .rushby-rating-stars .star-rating {
	display: flex;
	gap: 0.125rem;
}

.rushby-rating-average .rushby-rating-stars .star-rating span::before {
	color: #fbbf24;
}

.rushby-rating-average .rushby-rating-count {
	font-size: 0.875rem;
	color: var(--rushby-text-muted, #6b7280);
}

/* Rating Breakdown Bars */
.rushby-rating-breakdown {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	justify-content: center;
}

.rushby-rating-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.rushby-rating-label {
	font-size: 0.875rem;
	color: var(--rushby-text-muted, #6b7280);
	min-width: 3.5rem;
}

.rushby-rating-progress {
	flex: 1;
	height: 0.5rem;
	background: #e5e7eb;
	border-radius: 9999px;
	overflow: hidden;
}

.rushby-rating-progress-fill {
	height: 100%;
	background: #fbbf24;
	border-radius: 9999px;
	transition: width 0.3s ease;
}

.rushby-rating-bar-count {
	font-size: 0.875rem;
	color: var(--rushby-text-muted, #6b7280);
	min-width: 1.5rem;
	text-align: right;
}

/* Reviews List */
.rushby-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.rushby-review-item {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e7eb;
}

.rushby-review-item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.rushby-review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
	.rushby-review-header {
		flex-direction: column;
		gap: 0.5rem;
	}
}

.rushby-review-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.rushby-review-avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	object-fit: cover;
}

.rushby-review-meta {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.rushby-reviewer-name {
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.rushby-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #10b981;
	background: rgba(16, 185, 129, 0.1);
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
}

.rushby-verified-badge svg {
	flex-shrink: 0;
}

.rushby-review-date {
	font-size: 0.8125rem;
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-review-rating {
	flex-shrink: 0;
}

.rushby-review-rating .star-rating {
	display: flex;
	gap: 0.125rem;
}

.rushby-review-rating .star-rating span::before {
	color: #fbbf24;
}

.rushby-review-content {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--rushby-text-color, #374151);
}

.rushby-review-content p {
	margin: 0 0 0.75rem 0;
}

.rushby-review-content p:last-child {
	margin-bottom: 0;
}

/* No Reviews Message */
.rushby-no-reviews {
	text-align: center;
	color: var(--rushby-text-muted, #6b7280);
	padding: 2rem 1rem;
	background: #f9fafb;
	border-radius: 0.375rem;
}

/* Reviews Pagination */
.rushby-reviews-pagination {
	text-align: center;
	margin-top: 1.5rem;
}

.rushby-view-all-reviews {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--rushby-accent, #556b2f);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}

.rushby-view-all-reviews:hover {
	color: var(--rushby-accent-dark, #3d4f22);
	text-decoration: underline;
}

/* Review Form */
.rushby-review-form-wrapper {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

.rushby-review-form-title {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	margin: 0 0 1.5rem 0;
}

.rushby-review-form-notice {
	background: #fef3c7;
	color: #92400e;
	padding: 1rem 1.25rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
}

.rushby-review-form-notice p {
	margin: 0;
}

.rushby-review-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.rushby-form-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.rushby-form-field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
}

.rushby-form-field label .required {
	color: #ef4444;
}

.rushby-form-field input[type="text"],
.rushby-form-field input[type="email"],
.rushby-form-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	font-size: 0.9375rem;
	color: var(--rushby-heading-color, #111827);
	background: #ffffff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.rushby-form-field input[type="text"]:focus,
.rushby-form-field input[type="email"]:focus,
.rushby-form-field textarea:focus {
	outline: none;
	border-color: var(--rushby-accent, #556b2f);
	box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.15);
}

.rushby-form-field textarea {
	resize: vertical;
	min-height: 120px;
}

.rushby-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 480px) {
	.rushby-form-row {
		grid-template-columns: 1fr;
	}
}

/* Star Rating Input */
.rushby-rating-field {
	margin-bottom: 0.5rem;
}

.rushby-star-rating-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.25rem;
}

.rushby-star-rating-input input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rushby-star-rating-input label {
	cursor: pointer;
	color: #d1d5db;
	transition: color 0.15s;
}

.rushby-star-rating-input label svg {
	display: block;
}

.rushby-star-rating-input label:hover,
.rushby-star-rating-input label:hover ~ label,
.rushby-star-rating-input input[type="radio"]:checked ~ label {
	color: #fbbf24;
}

.rushby-star-rating-input input[type="radio"]:focus-visible + label {
	outline: 2px solid var(--rushby-accent, #556b2f);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Submit Button */
.rushby-form-submit {
	margin-top: 0.5rem;
}

.rushby-submit-review {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 2rem;
	background: var(--rushby-accent, #556b2f);
	color: #ffffff;
	border: none;
	border-radius: 0.5rem;
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background-color 0.2s;
}

.rushby-submit-review:hover {
	background: var(--rushby-accent-dark, #3d4f22);
}

.rushby-submit-review:focus-visible {
	outline: 3px solid var(--rushby-accent, #556b2f);
	outline-offset: 2px;
}

/* ============================================
   Related Products
   ============================================ */
.rushby-related-products {
	margin-bottom: 2rem;
}

.rushby-related-title {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
	margin: 0 0 1.5rem 0;
}

.rushby-related-grid {
	display: grid;
	grid-template-columns: repeat(var(--related-columns, 3), 1fr);
	gap: 1.5rem;
}

@media (max-width: 1024px) {
	.rushby-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.rushby-related-grid {
		grid-template-columns: 1fr;
	}
}

/* Related Products - Product Card Styles */
.rushby-related-products .rushby-product-card {
	background: #ffffff;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s, transform 0.2s;
}

.rushby-related-products .rushby-product-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.rushby-related-products .rushby-product-image-wrapper {
	position: relative;
	overflow: hidden;
}

.rushby-related-products .rushby-product-image-wrapper.ratio-1-1 {
	aspect-ratio: 1 / 1;
}

.rushby-related-products .rushby-product-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.rushby-related-products .rushby-product-card:hover .rushby-product-image-wrapper img {
	transform: scale(1.05);
}

.rushby-related-products .rushby-product-badge-wrapper {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
}

.rushby-related-products .rushby-product-badge {
	display: inline-block;
	background: var(--rushby-accent, #556b2f);
	color: #ffffff;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rushby-related-products .rushby-product-info {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.rushby-related-products .rushby-product-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.rushby-related-products .rushby-product-category {
	font-size: 0.75rem;
	color: var(--rushby-text-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.rushby-related-products .rushby-product-rating {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--rushby-text-muted, #6b7280);
	font-size: 0.875rem;
}

.rushby-related-products .rushby-product-rating .star {
	width: 1rem;
	height: 1rem;
	fill: #f59e0b;
	color: #f59e0b;
	flex-shrink: 0;
}

.rushby-related-products .rushby-product-rating .rating-value {
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
}

.rushby-related-products .rushby-product-rating .rating-count {
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-related-products .rushby-product-title {
	font-family: var(--rushby-font-family, 'Oswald', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
}

.rushby-related-products .rushby-product-title a {
	color: var(--rushby-heading-color, #111827);
	text-decoration: none;
	transition: color 0.2s;
}

.rushby-related-products .rushby-product-title a:hover {
	color: var(--rushby-accent, #556b2f);
}

.rushby-related-products .rushby-product-price-cart {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.rushby-related-products .rushby-product-price {
	font-size: 1rem;
	font-weight: 600;
	color: var(--rushby-heading-color, #111827);
}

.rushby-related-products .rushby-product-price del {
	color: var(--rushby-text-muted, #6b7280);
	font-weight: 400;
	font-size: 0.875rem;
	margin-right: 0.375rem;
}

.rushby-related-products .rushby-product-price ins {
	text-decoration: none;
}

.rushby-related-products .rushby-product-add-to-cart {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	background: var(--rushby-accent, #556b2f);
	color: #ffffff;
	border: none;
	padding: 0.5rem 0.875rem;
	border-radius: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.rushby-related-products .rushby-product-add-to-cart:hover {
	background: var(--rushby-accent-dark, #3d4f22);
}

.rushby-related-products .rushby-product-add-to-cart svg {
	width: 1rem;
	height: 1rem;
}

.rushby-related-products .rushby-product-stock {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: var(--rushby-text-muted, #6b7280);
}

.rushby-related-products .rushby-stock-indicator {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.rushby-related-products .rushby-stock-indicator.in-stock {
	background: #10b981;
}

.rushby-related-products .rushby-stock-indicator.out-of-stock {
	background: #ef4444;
}

.rushby-related-products .rushby-stock-indicator.on-backorder {
	background: #f59e0b;
}

/* ============================================
   Mobile Sticky Cart
   ============================================ */
.rushby-mobile-sticky-cart {
	display: none !important;
}

/* ============================================
   Focus & Accessibility
   ============================================ */
.rushby-single-product button:focus-visible,
.rushby-single-product a:focus-visible {
	outline: 3px solid var(--rushby-accent, #556b2f);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.rushby-swatch {
		border-width: 3px;
	}

	.rushby-thumbnail {
		border-width: 3px;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.rushby-stock-indicator.in-stock {
		animation: none;
	}

	.rushby-gallery-main-img,
	.rushby-swatch,
	.rushby-thumbnail,
	.rushby-add-to-cart {
		transition: none;
	}
}
