/* Sidorta — professional single product (Soft luxury beauty) */
body.single-product .woocommerce-main {
	width: var(--rb-container);
	max-width: 100%;
	padding-block: 32px 80px;
}

.rb-single-product {
	--rb-product-pink: #d6537c;
	--rb-product-deep: #b93663;
	--rb-product-soft: #fff4f7;
	--rb-product-mist: #faf6f7;
	--rb-product-line: #eee2e6;
	--rb-product-ink: #211d20;
	--rb-product-muted: #6b6166;
	--rb-fs-xs: 0.8125rem;   /* 13px */
	--rb-fs-sm: 0.875rem;    /* 14px */
	--rb-fs-base: 1rem;      /* 16px */
	--rb-fs-md: 1.125rem;    /* 18px */
	--rb-fs-lg: 1.375rem;    /* 22px */
	--rb-fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); /* ~24–30 */
	--rb-fs-2xl: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); /* ~28–36 */
	--rb-radius: 20px;
	--rb-shadow: 0 16px 40px rgba(61, 40, 49, 0.07);
	direction: rtl;
	color: var(--rb-product-ink);
	font-size: var(--rb-fs-base);
	line-height: 1.7;
}

.rb-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
	color: #8a7f85;
	font-size: var(--rb-fs-sm);
}
.rb-product-breadcrumb a { color: #6b6166; text-decoration: none; transition: color .2s ease; }
.rb-product-breadcrumb a:hover { color: var(--rb-product-pink); }
.rb-product-breadcrumb span { color: #b9afb4; font-size: 1rem; }

/* —— Hero: gallery + buy box —— */
.rb-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 28px;
	align-items: start;
	direction: rtl;
}

.rb-product-gallery { position: relative; min-width: 0; }
.rb-product-gallery__stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border: 1px solid #f0dfe4;
	border-radius: var(--rb-radius);
	background:
		radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.85), transparent 45%),
		linear-gradient(145deg, #f8e4e9, #f0cdd5);
	box-shadow: var(--rb-shadow);
}
.rb-product-gallery__zoom {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: zoom-in;
}
.rb-product-gallery__main,
.rb-product-gallery__stage > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .25s ease, transform .4s ease;
}
.rb-product-gallery__zoom:hover .rb-product-gallery__main { transform: scale(1.03); }
.rb-product-gallery__zoom:focus-visible { outline: 2px solid rgba(214, 83, 124, 0.45); outline-offset: 4px; }
.rb-product-gallery__zoom-badge {
	position: absolute;
	z-index: 2;
	bottom: 18px;
	left: 18px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--rb-product-deep);
	box-shadow: 0 8px 20px rgba(67, 42, 53, 0.12);
	transition: transform .2s ease, background .2s ease;
}
.rb-product-gallery__zoom:hover .rb-product-gallery__zoom-badge {
	transform: scale(1.06);
	background: #fff;
}

.rb-product-sale {
	position: absolute;
	z-index: 4;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #9a9740;
	color: #fff;
	font-size: var(--rb-fs-xs);
	font-weight: 700;
	box-shadow: 0 6px 16px rgba(68, 66, 26, 0.22);
}

.rb-product-gallery__thumbs-wrap {
	position: relative;
	margin-top: 14px;
}
.rb-product-gallery__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	direction: rtl;
	padding: 4px 2px;
	-webkit-overflow-scrolling: touch;
}
.rb-product-gallery__thumbs::-webkit-scrollbar { display: none; }
.rb-product-gallery__thumb {
	flex: 0 0 72px;
	width: 72px;
	overflow: hidden;
	aspect-ratio: 1;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 14px;
	background: #f8f1f3;
	scroll-snap-align: start;
	cursor: pointer;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rb-product-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rb-product-gallery__thumb:hover { transform: translateY(-2px); }
.rb-product-gallery__thumb:focus-visible { outline: 2px solid rgba(214, 83, 124, 0.4); outline-offset: 2px; }
.rb-product-gallery__thumb.is-active {
	border-color: var(--rb-product-pink);
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(214, 83, 124, 0.18);
}
.rb-product-gallery__thumbs-nav {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: none;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #f0dfe4;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--rb-product-deep);
	font-size: 1.25rem;
	line-height: 1;
	box-shadow: 0 6px 16px rgba(61, 40, 49, 0.12);
	transform: translateY(-50%);
	cursor: pointer;
}
.rb-product-gallery__thumbs-wrap.has-overflow .rb-product-gallery__thumbs-nav { display: grid; }
.rb-product-gallery__thumbs-wrap.has-overflow .rb-product-gallery__thumbs { padding-inline: 28px; }
.rb-product-gallery__thumbs-nav--prev { right: 0; }
.rb-product-gallery__thumbs-nav--next { left: 0; }
.rb-product-gallery__thumbs-nav:hover { background: #fff; }
.rb-product-gallery__thumbs-nav:disabled { opacity: 0.35; cursor: default; }
.rb-product-gallery__thumbs-nav:focus-visible { outline: 2px solid rgba(214, 83, 124, 0.4); outline-offset: 2px; }

/* —— Summary / buy card —— */
.rb-product-summary-card {
	min-width: 0;
	padding: 28px;
	border: 1px solid var(--rb-product-line);
	border-radius: var(--rb-radius);
	background: #fff;
	box-shadow: var(--rb-shadow);
}
.rb-product-summary { min-width: 0; direction: rtl; }
.rb-product-brand {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--rb-product-soft);
	color: var(--rb-product-deep);
	font-size: var(--rb-fs-xs);
	font-weight: 700;
	letter-spacing: 0.02em;
}
.rb-product-summary .product_title {
	margin: 0 0 12px;
	color: #181517;
	font-size: var(--rb-fs-2xl);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: -0.02em;
}
.rb-product-short { margin: 0 0 4px; }
.rb-product-short p {
	margin: 0;
	color: var(--rb-product-muted);
	font-size: var(--rb-fs-sm);
	font-weight: 500;
	line-height: 1.9;
}
.rb-product-short ul,
.rb-product-short ol {
	margin: 8px 0 0;
	padding-inline-start: 1.15rem;
	color: var(--rb-product-muted);
	font-size: var(--rb-fs-sm);
	line-height: 1.85;
}
.rb-product-short li + li { margin-top: 4px; }

.rb-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1e8eb;
	font-size: var(--rb-fs-sm);
}
.rb-product-rating .star-rating { width: 5.4em; color: #f3a51f; font-size: 1rem; letter-spacing: 1px; }
.rb-product-rating a { color: var(--rb-product-muted); text-decoration: none; cursor: pointer; }
.rb-product-rating a:hover { color: var(--rb-product-pink); }

.rb-product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	margin: 8px 0 4px;
	color: var(--rb-product-pink);
	font-size: var(--rb-fs-lg);
	font-weight: 800;
}
.rb-product-price del { color: #a79da2; font-size: var(--rb-fs-sm); font-weight: 500; }
.rb-product-price ins { text-decoration: none; }
.rb-product-price > span {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--rb-product-soft);
	color: var(--rb-product-deep);
	font-size: var(--rb-fs-xs);
	font-weight: 700;
}

.rb-product-swatches {
	padding: 18px 0;
	border-top: 1px solid #f4ecef;
	border-bottom: 1px solid #f4ecef;
}
.rb-product-swatches > div:first-child {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--rb-product-muted);
	font-size: var(--rb-fs-sm);
}
.rb-product-swatches > div:first-child b { color: #393236; }
.rb-product-swatches__items { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-product-swatch {
	position: relative;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--rb-swatch);
	box-shadow: 0 0 0 1px #e6d9de;
	cursor: pointer;
	transition: box-shadow .18s ease, transform .18s ease;
}
.rb-product-swatch:hover { transform: scale(1.06); }
.rb-product-swatch.is-active { box-shadow: 0 0 0 2px var(--rb-product-pink), 0 0 0 5px #fff; }
.rb-product-swatch.is-active:after {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	content: '✓';
	font-size: 15px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rb-product-cart { margin-top: 20px; }
.rb-product-cart form.cart {
	display: flex !important;
	align-items: stretch;
	gap: 12px;
	margin: 0 !important;
}
.rb-product-cart .quantity {
	display: flex !important;
	flex: 0 0 118px;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	min-height: 52px;
	border: 1px solid #e6dce0;
	border-radius: 14px;
	background: #fff;
	direction: ltr;
}
.rb-product-cart .quantity .qty {
	width: 40px !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #2e282b;
	font-size: var(--rb-fs-base);
	font-weight: 700;
	text-align: center;
	appearance: textfield;
	outline: 0;
}
.rb-product-cart .quantity .qty::-webkit-inner-spin-button,
.rb-product-cart .quantity .qty::-webkit-outer-spin-button { appearance: none; }
.rb-product-qty {
	display: grid;
	place-items: center;
	width: 36px;
	height: 50px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #655a60;
	font-size: 1.125rem;
	cursor: pointer;
}
.rb-product-qty:hover,
.rb-product-qty:focus-visible {
	background: var(--rb-product-soft);
	color: var(--rb-product-deep);
}
.rb-product-cart .single_add_to_cart_button {
	flex: 1 !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, var(--rb-product-pink), #cb426f) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: var(--rb-fs-base) !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: 0 10px 24px rgba(214, 83, 124, 0.22) !important;
	transition: transform .18s ease, box-shadow .18s ease !important;
}
.rb-product-cart .single_add_to_cart_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(214, 83, 124, 0.3) !important;
}
.rb-product-cart form.variations_form { display: block !important; min-width: 0; }
.rb-product-cart .single_variation_wrap { width: 100%; min-width: 0; }
.rb-product-cart table.variations {
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 16px;
	border: 1px solid #eee1e6;
	border-radius: 16px;
	background: #fffbfc;
}
.rb-product-cart table.variations tbody,
.rb-product-cart table.variations tr { display: block; width: 100%; }
.rb-product-cart table.variations:has(tbody:empty) { display: none; }
.rb-product-cart table.variations tr + tr { margin-top: 16px; }
.rb-product-cart table.variations th,
.rb-product-cart table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: right;
}
.rb-product-cart table.variations th { margin-bottom: 10px; }
.rb-product-cart table.variations label { color: #392e34; font-size: var(--rb-fs-sm); font-weight: 700; }
.rb-product-cart table.variations select {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #e6dce0;
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: var(--rb-fs-base);
}
.rb-product-cart table.variations select.rb-product-native-select { display: none !important; }
.rb-product-cart tr.rb-variation-row--meta-driven { display: none !important; }
.rb-product-cart table.variations.rb-variations-hidden,
.rb-product-cart form.rb-has-meta-swatches table.variations:not(:has(tr:not(.rb-variation-row--meta-driven))) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.rb-product-selected-value {
	color: var(--rb-product-pink);
	font-weight: 700;
}
.rb-product-options { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-product-options--swatches { gap: 12px; }
.rb-product-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	max-width: 100%;
	padding: 9px 16px;
	border: 1px solid #ddcdd4;
	border-radius: 10px;
	background: #fff;
	color: #51414a;
	font: inherit;
	font-size: var(--rb-fs-sm);
	line-height: 1.6;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .18s ease, transform .18s ease;
}
.rb-product-option::before { content: '✓'; visibility: hidden; font-weight: 700; }
.rb-product-option:hover:not(:disabled) { border-color: var(--rb-product-pink); background: #fff5f8; }
.rb-product-option[aria-pressed="true"],
.rb-product-option.is-active {
	border-color: var(--rb-product-pink);
	background: #fcecf2;
	color: #8c2950;
	box-shadow: inset 0 0 0 1px var(--rb-product-pink);
	font-weight: 700;
}
.rb-product-option[aria-pressed="true"]::before,
.rb-product-option.is-active::before { visibility: visible; }
.rb-product-option:disabled { color: #8c8186; background: #f4f1f2; border-style: dashed; text-decoration: line-through; cursor: not-allowed; }

.rb-product-option--swatch {
	position: relative;
	width: 38px;
	height: 38px;
	min-height: 38px;
	padding: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--rb-swatch, #d6537c);
	box-shadow: 0 0 0 1px #e6d9de;
	color: #fff;
}
.rb-product-option--swatch::before { content: none; }
.rb-product-option--swatch:hover:not(:disabled) {
	background: var(--rb-swatch, #d6537c);
	transform: scale(1.06);
	box-shadow: 0 0 0 1px #e6d9de;
}
.rb-product-option--swatch[aria-pressed="true"],
.rb-product-option--swatch.is-active {
	background: var(--rb-swatch, #d6537c);
	color: #fff;
	box-shadow: 0 0 0 2px var(--rb-product-pink), 0 0 0 5px #fff;
	font-weight: 700;
}
.rb-product-option__check {
	display: none;
	font-size: 15px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.rb-product-option--swatch[aria-pressed="true"] .rb-product-option__check,
.rb-product-option--swatch.is-active .rb-product-option__check { display: grid; place-items: center; }
.rb-product-option--swatch:disabled {
	opacity: .38;
	text-decoration: none;
	filter: grayscale(.35);
}
.rb-product-option:focus-visible,
.rb-product-cart select:focus-visible,
.rb-product-cart .reset_variations:focus-visible,
.rb-product-cart .quantity:focus-within { outline: 2px solid #a73861; outline-offset: 3px; }
.rb-product-cart .reset_variations {
	display: inline-block;
	margin-top: 10px;
	padding-block: 6px;
	color: #8c2950;
	font-size: var(--rb-fs-xs);
	text-underline-offset: 4px;
}
.rb-product-cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.rb-product-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 190px !important; white-space: normal; line-height: 1.7; }
.rb-product-cart .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed !important; box-shadow: none !important; transform: none; }
.rb-product-cart .woocommerce-variation-price {
	margin-bottom: 12px;
	color: var(--rb-product-pink);
	font-size: var(--rb-fs-md);
	font-weight: 700;
}

.rb-product-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 14px;
}
.rb-product-actions button {
	min-height: 48px;
	border: 1px solid #e7dce0;
	border-radius: 12px;
	background: #fff;
	color: #5e5459;
	font-family: inherit;
	font-size: var(--rb-fs-sm);
	font-weight: 650;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.rb-product-actions button:hover,
.rb-product-actions button:focus-visible,
.rb-product-actions button.is-active {
	border-color: #e8b9c8;
	background: var(--rb-product-soft);
	color: var(--rb-product-deep);
}
.rb-product-wishlist .rbwl-button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 48px;
	padding-inline: 16px !important;
	border-radius: 12px;
	font-family: inherit;
}
.rb-product-wishlist .rbwl-button svg { flex: 0 0 18px; }
.rb-product-wishlist .rbwl-button:after {
	margin: 0;
	content: 'افزودن به علاقه‌مندی‌ها';
	font-size: var(--rb-fs-sm);
	font-weight: 650;
}
.rb-product-wishlist .rbwl-button.is-active:after { content: 'حذف از علاقه‌مندی‌ها'; }
.rb-product-compare span { margin-left: 8px; font-size: 1.125rem; }

.rb-product-meta {
	display: grid;
	gap: 8px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #f0e7ea;
	color: #786d73;
	font-size: var(--rb-fs-sm);
}
.rb-product-meta a,
.rb-product-meta b { color: #4a4146; text-decoration: none; }

/* —— Trust strip (replaces left column) —— */
.rb-product-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 28px;
	overflow: hidden;
	border: 1px solid var(--rb-product-line);
	border-radius: var(--rb-radius);
	background: linear-gradient(180deg, #fff, var(--rb-product-mist));
	box-shadow: 0 10px 28px rgba(61, 40, 49, 0.04);
	direction: rtl;
}
.rb-product-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 88px;
	padding: 18px 20px;
	border-left: 1px solid #f0e6e9;
}
.rb-product-trust__item:last-child { border-left: 0; }
.rb-product-trust__icon {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--rb-product-soft);
}
.rb-product-trust svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--rb-product-pink);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}
.rb-product-trust p { display: grid; gap: 4px; margin: 0; }
.rb-product-trust b {
	color: #32282d;
	font-size: var(--rb-fs-sm);
	font-weight: 700;
}
.rb-product-trust span {
	color: #8b8085;
	font-size: var(--rb-fs-xs);
}

/* —— Highlights —— */
.rb-product-highlights {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 28px;
	padding: 22px 14px;
	border: 1px solid #f1dfe5;
	border-radius: var(--rb-radius);
	background: linear-gradient(90deg, #fff9fb, #fff, #fff9fb);
}
.rb-product-highlights article {
	position: relative;
	display: grid;
	justify-items: center;
	padding: 8px 16px;
	text-align: center;
}
.rb-product-highlights article + article:after {
	position: absolute;
	top: 12%;
	right: 0;
	width: 1px;
	height: 76%;
	background: #f0e2e6;
	content: '';
}
.rb-product-highlights svg {
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	fill: none;
	stroke: var(--rb-product-pink);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}
.rb-product-highlights h2 {
	margin: 0 0 6px;
	color: #30292d;
	font-size: var(--rb-fs-base);
	font-weight: 700;
}
.rb-product-highlights p {
	margin: 0;
	color: #7a6f75;
	font-size: var(--rb-fs-sm);
}

/* —— Tabs + panels —— */
.rb-product-details { margin-top: 40px; }
.rb-product-tabs {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--rb-product-line);
	border-radius: 16px 16px 0 0;
	background: var(--rb-product-mist);
	direction: rtl;
}
.rb-product-tabs button {
	position: relative;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #7b7076;
	font-family: inherit;
	font-size: var(--rb-fs-base);
	font-weight: 650;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.rb-product-tabs button[aria-selected='true'] {
	background: #fff;
	color: var(--rb-product-pink);
	box-shadow: 0 4px 14px rgba(61, 40, 49, 0.06);
}
.rb-product-tabs button:focus-visible {
	outline: 2px solid rgba(214, 83, 124, 0.35);
	outline-offset: 2px;
}

.rb-product-panel {
	min-height: 280px;
	margin-top: 0;
	padding: 36px 34px;
	border: 1px solid var(--rb-product-line);
	border-top: 0;
	border-radius: 0 0 var(--rb-radius) var(--rb-radius);
	background: #fff;
	direction: rtl;
	text-align: right;
}
.rb-product-panel[hidden] { display: none !important; }

.rb-product-story {
	display: grid;
	grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
	direction: ltr;
}
.rb-product-story > * { direction: rtl; }
.rb-product-story--text-only,
.rb-product-story.rb-product-story--text-only {
	display: block !important;
	width: 100%;
	max-width: none;
	grid-template-columns: none !important;
	gap: 0;
	direction: rtl;
}
.rb-product-story--text-only .rb-product-description,
.rb-product-story--text-only .rb-product-description__body {
	width: 100%;
	max-width: none;
}

.rb-product-story__media {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 18px;
	background: linear-gradient(145deg, #fbe3ea, #f2cbd5);
	aspect-ratio: 4 / 5;
}
.rb-product-story__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rb-product-story__media figcaption {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	gap: 6px;
	padding: 20px 18px;
	background: linear-gradient(180deg, transparent, rgba(33, 29, 32, 0.72));
	color: #fff;
}
.rb-product-story__media strong { font-size: var(--rb-fs-md); }
.rb-product-story__media span {
	font-size: var(--rb-fs-xs);
	line-height: 1.7;
	opacity: 0.92;
}

.rb-product-description__intro { margin-bottom: 22px; }
.rb-product-description__eyebrow {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--rb-product-soft);
	color: var(--rb-product-deep);
	font-size: var(--rb-fs-xs);
	font-weight: 700;
}
.rb-product-description__intro h2 {
	margin: 0;
	color: #241f22;
	font-size: var(--rb-fs-xl);
	font-weight: 800;
	line-height: 1.5;
}
.rb-product-description__body {
	color: #51474c;
	font-size: var(--rb-fs-base);
	line-height: 2;
}
.rb-product-description__body > *:first-child { margin-top: 0; }
.rb-product-description__body p { margin: 0 0 1rem; }
.rb-product-description__body h2,
.rb-product-description__body h3,
.rb-product-description__body h4 {
	margin: 1.6rem 0 0.65rem;
	color: #2b2528;
	font-weight: 750;
	line-height: 1.5;
}
.rb-product-description__body h2 { font-size: var(--rb-fs-lg); }
.rb-product-description__body h3 { font-size: var(--rb-fs-md); }
.rb-product-description__body h4 { font-size: var(--rb-fs-base); }
.rb-product-description__body ul,
.rb-product-description__body ol {
	margin: 0 0 1.1rem;
	padding: 16px 18px 16px 1.2rem;
	border: 1px solid #f1e5ea;
	border-radius: 16px;
	background: linear-gradient(180deg, #fffafb, #fff);
}
.rb-product-description__body li + li { margin-top: 0.45rem; }
.rb-product-description__body strong { color: #2f272b; }
.rb-product-description__body blockquote {
	margin: 0.85rem 0 1.1rem;
	padding-block: 2px;
	padding-inline-start: 14px;
	padding-inline-end: 0;
	border: 0;
	border-inline-start: 3px solid #2b2528;
	background: transparent;
	color: inherit;
	font-style: inherit;
}
.rb-product-description__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.25rem auto;
	border-radius: 16px;
}

/* Notion-like rows: image left (~34%), text fills the rest to the panel edge. */
.rb-product-description__body > div[style*="display:flex"],
.rb-product-description__body > div[style*="display: flex"],
.rb-product-description__body .wnc-desc-row {
	display: grid !important;
	grid-template-columns: minmax(140px, 34%) minmax(0, 1fr);
	align-items: start;
	gap: 28px;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 1.6rem;
	direction: ltr;
	box-sizing: border-box;
}
.rb-product-description__body > div[style*="display:flex"] > div,
.rb-product-description__body > div[style*="display: flex"] > div,
.rb-product-description__body .wnc-desc-col {
	min-width: 0;
	width: 100%;
	max-width: none !important;
	flex: none;
	justify-self: stretch;
	direction: rtl;
	text-align: right;
}
.rb-product-description__body > div[style*="display:flex"] > div:first-child,
.rb-product-description__body > div[style*="display: flex"] > div:first-child,
.rb-product-description__body .wnc-desc-col--media {
	grid-column: 1;
}
.rb-product-description__body > div[style*="display:flex"] > div:nth-child(2),
.rb-product-description__body > div[style*="display: flex"] > div:nth-child(2),
.rb-product-description__body .wnc-desc-col--text {
	grid-column: 2;
}
.rb-product-description__body > div[style*="display:flex"] > div > *,
.rb-product-description__body > div[style*="display: flex"] > div > *,
.rb-product-description__body .wnc-desc-col > * {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}
.rb-product-description__body > div[style*="display:flex"] img,
.rb-product-description__body > div[style*="display: flex"] img,
.rb-product-description__body .wnc-desc-col--media img {
	width: 100%;
	margin: 0 auto 8px;
}
.rb-product-description__body figure,
.rb-product-description__body .wnc-desc-figure {
	margin: 0;
	width: 100%;
}
.rb-product-description__body figcaption {
	margin: 0;
	color: #7a7074;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
}

@media (max-width: 640px) {
	.rb-product-description__body > div[style*="display:flex"],
	.rb-product-description__body > div[style*="display: flex"],
	.rb-product-description__body .wnc-desc-row {
		grid-template-columns: 1fr;
	}
	.rb-product-description__body > div[style*="display:flex"] > div,
	.rb-product-description__body > div[style*="display: flex"] > div,
	.rb-product-description__body .wnc-desc-col--media,
	.rb-product-description__body .wnc-desc-col--text {
		grid-column: auto;
		max-width: 100% !important;
	}
}

/* —— Specs —— */
.rb-product-spec-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #eee3e7;
	border-radius: 16px;
	background: #fff;
}
.rb-product-spec-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
	direction: rtl;
}
.rb-product-spec-table th,
.rb-product-spec-table td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid #eee5e8;
	background: transparent;
	text-align: right;
	vertical-align: middle;
}
.rb-product-spec-table tr:nth-child(odd) th,
.rb-product-spec-table tr:nth-child(odd) td { background: #fffcfd; }
.rb-product-spec-table tr:last-child th,
.rb-product-spec-table tr:last-child td { border-bottom: 0; }
.rb-product-spec-table th { width: 38%; color: #544b50; font-weight: 650; }
.rb-product-spec-table th > span { display: flex; align-items: center; gap: 10px; }
.rb-product-spec-table svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--rb-product-pink);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}
.rb-product-spec-table th b { font-size: var(--rb-fs-sm); }
.rb-product-spec-table td {
	color: #3d3539;
	font-size: var(--rb-fs-sm);
	font-weight: 600;
}

/* —— Reviews —— */
.rb-product-panel--reviews { background: linear-gradient(180deg, #fff, #fffbfc); }
.rb-product-reviews #reviews { margin: 0; }
.rb-product-reviews .woocommerce-Reviews-title,
.rb-product-reviews .rb-comments__title,
.rb-product-reviews #reply-title,
.rb-product-reviews .comment-reply-title {
	margin: 0 0 10px;
	color: #241f22;
	font-size: var(--rb-fs-xl);
	font-weight: 800;
}
.rb-product-reviews .woocommerce-noreviews,
.rb-product-reviews .rb-comments__closed,
.rb-product-reviews p.woocommerce-verification-required {
	margin: 0 0 18px;
	color: var(--rb-product-muted);
	font-size: var(--rb-fs-base);
	line-height: 1.8;
}
.rb-product-reviews__header { margin-bottom: 22px; }
.rb-product-reviews__lead {
	margin: 8px 0 0;
	color: var(--rb-product-muted);
	font-size: var(--rb-fs-base);
	line-height: 1.8;
}
.rb-product-reviews__empty {
	display: grid;
	justify-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 28px 20px;
	border: 1px dashed #ead7de;
	border-radius: 16px;
	background: #fffafb;
	text-align: center;
}
.rb-product-reviews__empty-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--rb-product-soft);
	color: var(--rb-product-pink);
	font-size: 1.35rem;
}
.rb-product-reviews__empty .woocommerce-noreviews { margin: 0; }
.rb-product-reviews #review_form_wrapper,
.rb-product-reviews .comment-respond,
.rb-product-reviews .rb-comments__form {
	margin-top: 8px;
	padding: 24px;
	border: 1px solid var(--rb-product-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(61, 40, 49, 0.05);
}
.rb-product-reviews .comment-form > p,
.rb-product-reviews .comment-form .comment-form-rating,
.rb-product-reviews .comment-form .comment-form-comment,
.rb-product-reviews .comment-form .comment-form-author,
.rb-product-reviews .comment-form .comment-form-email {
	margin: 0 0 16px;
}
.rb-product-reviews .comment-form label {
	display: block;
	margin-bottom: 8px;
	color: #3a3236;
	font-size: var(--rb-fs-sm);
	font-weight: 650;
}
.rb-product-reviews .comment-form input[type='text'],
.rb-product-reviews .comment-form input[type='email'],
.rb-product-reviews .comment-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #e6dce0;
	border-radius: 12px;
	background: #fff;
	color: var(--rb-product-ink);
	font-family: inherit;
	font-size: var(--rb-fs-base);
	line-height: 1.6;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.rb-product-reviews .comment-form textarea { min-height: 140px; resize: vertical; }
.rb-product-reviews .comment-form input:focus,
.rb-product-reviews .comment-form textarea:focus {
	border-color: #e8b0c2;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(214, 83, 124, 0.12);
}
.rb-product-reviews .comment-form .stars a,
.rb-product-reviews .stars span a {
	color: #f3a51f;
	font-size: 1.25rem;
}
.rb-product-reviews .form-submit { margin: 8px 0 0; }
.rb-product-reviews .comment-form .submit,
.rb-product-reviews .rb-comments__submit,
.rb-product-reviews #respond .form-submit input {
	min-height: 48px;
	padding: 10px 22px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, var(--rb-product-pink), #cb426f) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: var(--rb-fs-base) !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: 0 10px 22px rgba(214, 83, 124, 0.22);
	transition: transform .18s ease, box-shadow .18s ease;
}
.rb-product-reviews .comment-form .submit:hover,
.rb-product-reviews .rb-comments__submit:hover,
.rb-product-reviews #respond .form-submit input:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px rgba(214, 83, 124, 0.28);
}
.rb-product-reviews .commentlist,
.rb-product-reviews .rb-comments__list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.rb-product-reviews .commentlist li,
.rb-product-reviews .rb-comments__list li {
	margin: 0 0 14px;
	padding: 18px;
	border: 1px solid #f0e5e9;
	border-radius: 16px;
	background: #fff;
}
.rb-product-reviews .comment-text { font-size: var(--rb-fs-base); line-height: 1.85; }
.rb-product-reviews .meta { color: #857a80; font-size: var(--rb-fs-sm); }

/* —— Related —— */
.rb-product-related { margin-top: 52px; }
.rb-product-related > .related > h2 {
	margin: 0 0 22px;
	font-size: var(--rb-fs-xl);
	font-weight: 800;
}
.rb-product-related ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.rb-product-related ul.products:before,
.rb-product-related ul.products:after { display: none; }
.rb-product-related ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

/* —— Lightbox —— */
.rb-product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	width: min(100vw - 32px, 980px);
	max-width: 100%;
	max-height: min(92vh, 900px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	overflow: visible;
}
.rb-product-lightbox[open] { display: flex; }
.rb-product-lightbox::backdrop {
	background: rgba(24, 18, 22, 0.72);
	backdrop-filter: blur(6px);
}
.rb-product-lightbox__figure {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 18px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.rb-product-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: min(78vh, 820px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
}
.rb-product-lightbox__close,
.rb-product-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #2d2629;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: transform .18s ease, background .18s ease;
}
.rb-product-lightbox__close:hover,
.rb-product-lightbox__nav:hover { transform: scale(1.05); background: #fff; }
.rb-product-lightbox__close {
	top: -12px;
	left: -12px;
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	line-height: 1;
}
.rb-product-lightbox__nav {
	top: 50%;
	width: 46px;
	height: 46px;
	font-size: 1.75rem;
	transform: translateY(-50%);
}
.rb-product-lightbox__nav--prev { right: -14px; }
.rb-product-lightbox__nav--next { left: -14px; }
.rb-product-lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }

/* —— Responsive —— */
@media (max-width: 1100px) {
	.rb-product-hero { gap: 20px; }
	.rb-product-summary-card { padding: 22px; }
	.rb-product-story { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
	.rb-product-story--text-only { grid-template-columns: none !important; }
	.rb-product-trust__item { padding: 16px; }
}

@media (max-width: 899px) {
	body.single-product .woocommerce-main { padding-block: 22px 56px; }
	.rb-product-hero { grid-template-columns: minmax(0, 1fr); }
	.rb-product-gallery,
	.rb-product-gallery__stage,
	.rb-product-gallery__thumbs-wrap,
	.rb-product-gallery__thumbs { width: 100%; max-width: 100%; min-width: 0; }
	body.single-product .woocommerce-main { overflow-x: clip; }
	.rb-product-trust { grid-template-columns: 1fr 1fr; }
	.rb-product-trust__item:nth-child(2n) { border-left: 0; }
	.rb-product-trust__item:nth-child(-n+2) { border-bottom: 1px solid #f0e6e9; }
	.rb-product-highlights { margin-top: 22px; }
	.rb-product-story { grid-template-columns: 1fr; }
	.rb-product-story--text-only { grid-template-columns: none !important; }
	.rb-product-related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rb-product-lightbox__nav--prev { right: 8px; }
	.rb-product-lightbox__nav--next { left: 8px; }
	.rb-product-lightbox__close { top: 8px; left: 8px; }
}

@media (max-width: 640px) {
	body.single-product .woocommerce-main { width: 100%; max-width: 100%; padding-inline: 14px; box-sizing: border-box; }
	.rb-product-breadcrumb { margin-bottom: 16px; font-size: var(--rb-fs-xs); }
	.rb-product-gallery__thumbs { gap: 8px; }
	.rb-product-gallery__thumb { flex-basis: 64px; width: 64px; border-radius: 9px; }
	.rb-product-summary-card { padding: 18px; border-radius: 16px; }
	.rb-product-summary .product_title { font-size: 1.5rem; }
	.rb-product-cart form.cart,
	.rb-product-cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
	.rb-product-cart .quantity { flex-basis: 118px; }
	.rb-product-cart table.variations { padding: 12px; }
	.rb-product-cart .single_add_to_cart_button { width: 100%; }
	.rb-product-actions { grid-template-columns: 1fr; }
	.rb-product-trust { grid-template-columns: 1fr; }
	.rb-product-trust__item {
		border-left: 0;
		border-bottom: 1px solid #f0e6e9;
	}
	.rb-product-trust__item:last-child { border-bottom: 0; }
	.rb-product-highlights { grid-template-columns: 1fr 1fr; padding: 10px; }
	.rb-product-highlights article { padding: 14px 8px; }
	.rb-product-highlights article + article:after { display: none; }
	.rb-product-highlights article:nth-child(odd) { border-left: 1px solid #f0e2e6; }
	.rb-product-highlights article:nth-child(-n+2) { border-bottom: 1px solid #f0e2e6; }
	.rb-product-tabs {
		gap: 6px;
		overflow-x: auto;
		border-radius: 14px 14px 0 0;
	}
	.rb-product-tabs button {
		flex: 0 0 auto;
		min-height: 42px;
		padding: 8px 14px;
		font-size: var(--rb-fs-sm);
	}
	.rb-product-panel { min-height: 0; padding: 20px 16px; }
	.rb-product-description__body { font-size: var(--rb-fs-sm); }
	.rb-product-spec-table th,
	.rb-product-spec-table td { padding: 12px 10px; }
	.rb-product-spec-table th { width: 46%; }
	.rb-product-reviews #review_form_wrapper,
	.rb-product-reviews .comment-respond { padding: 16px; }
	.rb-product-related ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rb-product-gallery__main,
	.rb-product-gallery__thumb,
	.rb-product-swatch,
	.rb-product-cart .single_add_to_cart_button,
	.rb-product-lightbox__close,
	.rb-product-lightbox__nav {
		transition: none !important;
	}
	.rb-product-gallery__zoom:hover .rb-product-gallery__main { transform: none; }
}
