/*
Theme Name:   Rožių sodas Child
Theme URI:    https://roziusodas.lt
Description:  Astra child theme for Rožių sodas — WooCommerce conversion features, design polish and performance tweaks. All features toggleable in functions.php.
Author:       Rožių sodas
Template:     astra
Version: 1.7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  roziusodas-child
Version note: 1.1.0 — staging build, all features enabled
*/

/* =========================================================================
   BRAND VARIABLES — change your whole color scheme here, in one place
   ========================================================================= */

:root {
	--rs-accent:        #9d2b56;  /* deep rose — buttons, prices, badges   */
	--rs-accent-dark:   #7e1f44;  /* hover state                           */
	--rs-accent-soft:   #fbeef3;  /* light rose tint for backgrounds       */
	--rs-green:         #3e7d4f;  /* garden green — trust/positive accents */
	--rs-text:          #2f2a2c;
	--rs-muted:         #7a7176;
	--rs-card-bg:       #ffffff;
	--rs-radius:        10px;
	--rs-shadow:        0 2px 10px rgba(47, 42, 44, 0.08);
	--rs-shadow-hover:  0 10px 24px rgba(47, 42, 44, 0.14);
}

/* =========================================================================
   PRODUCT CARDS (shop grid, category pages, related products)
   ========================================================================= */

.woocommerce ul.products li.product {
	background: var(--rs-card-bg);
	border-radius: var(--rs-radius);
	box-shadow: var(--rs-shadow);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	padding-bottom: 1em;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--rs-shadow-hover);
}

.woocommerce ul.products li.product a img {
	transition: transform 0.35s ease;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 0.6em;
}

.woocommerce ul.products li.product:hover a img {
	transform: scale(1.045);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .astra-shop-summary-wrap .woocommerce-loop-product__title {
	font-size: 1.02em;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rs-text);
	padding: 0 0.9em;
}

.woocommerce ul.products li.product .price {
	color: var(--rs-accent);
	font-weight: 700;
	font-size: 1.08em;
	padding: 0 0.9em;
}

.woocommerce ul.products li.product .price del {
	color: var(--rs-muted);
	font-weight: 400;
	font-size: 0.88em;
	opacity: 1;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

/* =========================================================================
   BUTTONS — one consistent accent everywhere
   ========================================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .single_add_to_cart_button {
	background-color: var(--rs-accent);
	color: #fff;
	border: none;
	border-radius: calc(var(--rs-radius) - 4px);
	font-weight: 600;
	transition: background-color 0.18s ease, transform 0.1s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
	background-color: var(--rs-accent-dark);
	color: #fff;
}

.woocommerce .single_add_to_cart_button {
	padding: 0.85em 2em;
	font-size: 1.02em;
}

/* =========================================================================
   SALE BADGE — "-15%" pill
   ========================================================================= */

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	background: var(--rs-accent);
	color: #fff;
	font-weight: 700;
	font-size: 0.82em;
	line-height: 1;
	padding: 0.55em 0.8em;
	border-radius: 999px;
	min-height: 0;
	min-width: 0;
	left: 10px;
	top: 10px;
	right: auto;
	margin: 0;
	box-shadow: 0 2px 8px rgba(157, 43, 86, 0.35);
}

/* =========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================= */

.woocommerce div.product .product_title {
	font-weight: 700;
	line-height: 1.25;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--rs-accent);
	font-size: 1.6em;
	font-weight: 700;
}

/* Trust bar under Add-to-cart */
.rs-trust {
	list-style: none;
	margin: 1.2em 0 0;
	padding: 0.9em 1.1em;
	background: var(--rs-accent-soft);
	border-radius: var(--rs-radius);
	display: flex;
	flex-direction: column;
	gap: 0.45em;
}

.rs-trust__item {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.92em;
	color: var(--rs-text);
}

.rs-trust__icon {
	flex: 0 0 auto;
	font-size: 1.1em;
}

/* Specification table (product description) */
.woocommerce-Tabs-panel--description table,
.woocommerce div.product .woocommerce-tabs table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.woocommerce-Tabs-panel--description table tr:nth-child(odd) {
	background: #faf7f8;
}

.woocommerce-Tabs-panel--description table td,
.woocommerce-Tabs-panel--description table th {
	border: none;
	border-bottom: 1px solid #efe8ea;
	padding: 0.6em 0.8em;
}

.woocommerce-Tabs-panel--description table td:first-child {
	font-weight: 600;
	color: var(--rs-text);
	width: 45%;
}

/* Visual dot scales replacing "4/5" text (built by child.js) */
.rs-scale {
	display: inline-flex;
	gap: 4px;
	vertical-align: middle;
}

.rs-scale__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #e4dadd;
}

.rs-scale__dot.is-on {
	background: var(--rs-green);
}

/* Care tab */
.rs-care h3 {
	font-size: 1.15em;
	margin: 1.2em 0 0.5em;
}

.rs-care h3:first-child {
	margin-top: 0;
}

.rs-care ol li,
.rs-care ul li {
	margin-bottom: 0.45em;
	line-height: 1.55;
}

.rs-care__more {
	font-weight: 600;
	color: var(--rs-accent);
}

/* =========================================================================
   STICKY ADD-TO-CART BAR (mobile only)
   ========================================================================= */

.rs-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.8em;
	padding: 0.7em 1em calc(0.7em + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -4px 16px rgba(47, 42, 44, 0.14);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}

.rs-sticky-atc.is-visible {
	transform: translateY(0);
}

.rs-sticky-atc__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rs-sticky-atc__name {
	font-size: 0.85em;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rs-sticky-atc__price {
	color: var(--rs-accent);
	font-weight: 700;
	font-size: 1em;
}

.rs-sticky-atc__btn {
	flex: 0 0 auto;
	background: var(--rs-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.75em 1.4em;
	font-weight: 600;
	font-size: 0.95em;
	cursor: pointer;
}

@media (max-width: 767px) {
	.rs-sticky-atc {
		display: flex;
	}
}

/* =========================================================================
   SMALL POLISH
   ========================================================================= */

/* Category description block under category title */
.woocommerce .term-description {
	max-width: 62em;
	color: var(--rs-muted);
	margin-bottom: 1.4em;
	line-height: 1.6;
}

/* Star ratings in accent color */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--rs-accent);
}

/* Breathing room in the buy area */
.woocommerce div.product form.cart {
	margin-top: 1.2em;
	margin-bottom: 1.2em;
}

/* =========================================================================
   MENUS (body.rs-menu-style — toggle via CONFIG)
   ========================================================================= */

/* Top-level items */
.rs-menu-style .main-header-menu > .menu-item > .menu-link {
	font-weight: 500;
	transition: color 0.15s ease;
}

.rs-menu-style .main-header-menu > .menu-item > .menu-link:hover,
.rs-menu-style .main-header-menu > .menu-item.current-menu-item > .menu-link,
.rs-menu-style .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
	color: var(--rs-accent);
}

/* Dropdown panels */
.rs-menu-style .main-header-menu .sub-menu {
	border-radius: var(--rs-radius);
	border-top: 3px solid var(--rs-accent);
	box-shadow: var(--rs-shadow-hover);
	padding: 0.45em;
	min-width: 240px;
	overflow: hidden;
}

.rs-menu-style .main-header-menu .sub-menu .menu-item > .menu-link {
	border-radius: 7px;
	padding: 0.65em 0.9em;
	transition: background-color 0.14s ease, color 0.14s ease, padding-left 0.14s ease;
}

.rs-menu-style .main-header-menu .sub-menu .menu-item > .menu-link:hover,
.rs-menu-style .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link {
	background: var(--rs-accent-soft);
	color: var(--rs-accent);
	padding-left: 1.1em;
}

/* Mobile off-canvas / dropdown menu polish (Astra mobile menu) */
.rs-menu-style .ast-mobile-header-content .menu-item > .menu-link,
.rs-menu-style .ast-mobile-popup-content .menu-item > .menu-link {
	border-radius: 7px;
}

.rs-menu-style .ast-mobile-header-content .menu-item > .menu-link:hover,
.rs-menu-style .ast-mobile-popup-content .menu-item > .menu-link:hover {
	background: var(--rs-accent-soft);
	color: var(--rs-accent);
}

/* =========================================================================
   SIDEBAR FILTER WIDGETS (body.rs-filter-style — toggle via CONFIG)
   ========================================================================= */

/* Widget container & titles */
.rs-filter-style .woocommerce-page #secondary .widget,
.rs-filter-style.woocommerce #secondary .widget,
.rs-filter-style #secondary .widget {
	background: var(--rs-card-bg);
	border-radius: var(--rs-radius);
	box-shadow: var(--rs-shadow);
	padding: 1.1em 1.2em;
	margin-bottom: 1.2em;
}

.rs-filter-style #secondary .widget .widget-title,
.rs-filter-style #secondary .widget .wp-block-heading {
	font-size: 1em;
	font-weight: 700;
	margin-bottom: 0.8em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid var(--rs-accent-soft);
	position: relative;
}

.rs-filter-style #secondary .widget .widget-title::after,
.rs-filter-style #secondary .widget .wp-block-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 42px;
	height: 2px;
	background: var(--rs-accent);
}

/* Filter term lists → soft chips */
.rs-filter-style #secondary .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rs-filter-style #secondary .widget ul li {
	margin: 0 0 0.35em;
}

.rs-filter-style #secondary .widget ul li a {
	display: block;
	padding: 0.45em 0.7em;
	border-radius: 7px;
	color: var(--rs-text);
	font-size: 0.93em;
	line-height: 1.4;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.rs-filter-style #secondary .widget ul li a:hover {
	background: var(--rs-accent-soft);
	color: var(--rs-accent);
}

.rs-filter-style #secondary .widget ul li .count {
	color: var(--rs-muted);
	font-size: 0.88em;
}

/* Selected filter terms */
.rs-filter-style #secondary .widget_layered_nav ul li.chosen a,
.rs-filter-style #secondary .widget ul li.chosen a,
.rs-filter-style #secondary .widget ul li.current-cat > a {
	background: var(--rs-accent);
	color: #fff;
	font-weight: 600;
}

/* Active-filters widget → removable chips in a row */
.rs-filter-style #secondary .widget_layered_nav_filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
}

.rs-filter-style #secondary .widget_layered_nav_filters ul li {
	margin: 0;
}

.rs-filter-style #secondary .widget_layered_nav_filters ul li a {
	background: var(--rs-accent);
	color: #fff;
	border-radius: 999px;
	padding: 0.35em 0.9em;
	font-size: 0.85em;
}

/* Price slider */
.rs-filter-style .widget_price_filter .ui-slider .ui-slider-range {
	background: var(--rs-accent);
}

.rs-filter-style .widget_price_filter .ui-slider .ui-slider-handle {
	background: #fff;
	border: 3px solid var(--rs-accent);
	width: 1.1em;
	height: 1.1em;
	top: -0.4em;
}

.rs-filter-style .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: #eee2e7;
	border-radius: 999px;
}

.rs-filter-style .widget_price_filter .price_slider_amount .button {
	font-size: 0.85em;
	padding: 0.5em 1.2em;
}

/* Selects inside widgets (e.g. orderby / dropdown filters) */
.rs-filter-style #secondary .widget select,
.rs-filter-style .woocommerce-ordering select {
	border-radius: 7px;
	border: 1px solid #e2d7db;
	padding: 0.45em 0.7em;
	background-color: #fff;
}

/* =========================================================================
   MOBILE FILTER DRAWER
   ========================================================================= */

.rs-filter-toggle {
	position: fixed;
	bottom: 16px;
	left: 16px;
	z-index: 998;
	display: none;
	align-items: center;
	gap: 0.5em;
	background: var(--rs-accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.75em 1.4em;
	font-weight: 600;
	font-size: 0.95em;
	box-shadow: 0 4px 14px rgba(157, 43, 86, 0.4);
	cursor: pointer;
}

.rs-filter-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(47, 42, 44, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.rs-filter-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.rs-filter-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1001;
	width: min(86vw, 360px);
	background: #faf7f8;
	transform: translateX(-102%);
	transition: transform 0.26s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 24px rgba(47, 42, 44, 0.2);
}

.rs-filter-drawer.is-open {
	transform: translateX(0);
}

.rs-filter-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9em 1.2em;
	background: var(--rs-accent);
	color: #fff;
}

.rs-filter-drawer__title {
	font-weight: 700;
	font-size: 1.05em;
}

.rs-filter-drawer__close {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.6em;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.2em;
}

.rs-filter-drawer__body {
	overflow-y: auto;
	padding: 1em;
	flex: 1;
}

html.rs-no-scroll,
html.rs-no-scroll body {
	overflow: hidden;
}

@media (max-width: 921px) {
	.rs-filter-toggle {
		display: inline-flex;
	}
}

/* =========================================================================
   HERO — [rs_hero] shortcode (replaces the homepage carousel)
   ========================================================================= */

.rs-hero {
	position: relative;
	border-radius: var(--rs-radius);
	overflow: hidden;
	background-color: var(--rs-accent-dark);
	background-size: cover;
	background-position: center;
	min-height: 440px;
	display: flex;
	align-items: center;
}

.rs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(37, 20, 27, 0.78) 0%, rgba(37, 20, 27, 0.45) 55%, rgba(37, 20, 27, 0.12) 100%);
}

.rs-hero--no-image {
	background-image: linear-gradient(135deg, var(--rs-accent-dark), var(--rs-accent));
}

.rs-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 620px;
	padding: 3.4em 2.6em;
	color: #fff;
}

.rs-hero__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 0.82em;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.45em 1em;
	border-radius: 999px;
	margin-bottom: 1.1em;
}

.rs-hero__title {
	color: #fff;
	font-size: clamp(1.7em, 4vw, 2.6em);
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 0.45em;
}

.rs-hero__subtitle {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.08em;
	line-height: 1.55;
	margin: 0 0 1.5em;
}

.rs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8em;
}

.rs-hero__btn {
	display: inline-block;
	border-radius: 8px;
	padding: 0.85em 1.9em;
	font-weight: 600;
	font-size: 1em;
	text-decoration: none;
	transition: background-color 0.16s ease, transform 0.1s ease;
}

.rs-hero__btn--primary {
	background: #fff;
	color: var(--rs-accent-dark);
}

.rs-hero__btn--primary:hover {
	background: var(--rs-accent-soft);
	color: var(--rs-accent-dark);
	transform: translateY(-1px);
}

.rs-hero__btn--ghost {
	border: 2px solid rgba(255, 255, 255, 0.7);
	color: #fff;
}

.rs-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

@media (max-width: 767px) {
	.rs-hero {
		min-height: 380px;
	}

	.rs-hero__inner {
		padding: 2.4em 1.4em;
	}
}

/* =========================================================================
 * Checkout polish v2 (2026-08-18)
 * Desktop: form left, sticky order-summary card right (explicit grid rows).
 * All widths inside stack full-width. Scoped to the checkout page only.
 * ========================================================================= */

@media (min-width: 993px) {
	.woocommerce-checkout form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		grid-template-rows: auto auto 1fr;
		column-gap: 3rem;
		align-items: start;
	}
	.woocommerce-checkout form.checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 3;
		float: none;
		width: 100%;
	}
	.woocommerce-checkout form.checkout #order_review_heading {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}
	.woocommerce-checkout form.checkout #order_review {
		grid-column: 2;
		grid-row: 2;
		float: none;
		width: 100%;
		position: sticky;
		top: 100px;
	}
}

/* Billing and order-notes stack full width inside the left column. */
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

.woocommerce-checkout #order_review {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 1.4rem 1.5rem;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
	padding: 0.65rem 0.8rem;
	border: 1px solid #d8ccd1;
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
	border-color: var(--rs-accent, #9d2b56);
	box-shadow: 0 0 0 3px rgba(157, 43, 86, 0.12);
	outline: none;
}

.woocommerce-checkout #place_order {
	width: 100%;
	background: var(--rs-accent, #9d2b56);
	border-color: var(--rs-accent, #9d2b56);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	padding: 0.9rem 1rem;
	border-radius: 8px;
}
.woocommerce-checkout #place_order:hover {
	filter: brightness(1.1);
}

.rs-checkout-trust {
	margin: 0.9rem 0 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #6f6169;
	text-align: center;
}

/* Pre-order shipping expectation notice above the form. */
.rs-checkout-shipnote {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	background: #f7f0e4;
	border: 1px solid #e3d3b3;
	border-radius: 10px;
	padding: 0.8rem 1.1rem;
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #5f4d2e;
}
.rs-checkout-shipnote a {
	color: inherit;
	text-decoration: underline;
}

/* Fix: order review heading full width, no mid-word wrap (2026-08-18) */
.woocommerce-checkout form.checkout #order_review_heading {
	float: none;
	width: 100%;
	word-break: normal;
	overflow-wrap: normal;
}

/* Order review: heading joined to the card as its header (2026-08-18) */
.woocommerce-checkout form.checkout #order_review_heading {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	padding: 1.2rem 1.5rem 0.2rem;
	margin: 0;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}
.woocommerce-checkout #order_review {
	border-top: none;
	border-radius: 0 0 12px 12px;
}

/* =========================================================================
 * Homepage sections (2026-08-18): search, trust badges, reviews grid
 * ========================================================================= */

.rs-home-search {
	max-width: 680px;
	margin: 2rem auto 0.5rem;
	padding: 0 1.25rem;
}
.rs-home-search .dgwt-wcas-search-wrapp {
	max-width: 100%;
}

.rs-badges {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	max-width: 1200px;
	margin: 3rem auto;
	padding: 1.75rem 1.25rem;
	border-top: 1px solid #ecd9e3;
	border-bottom: 1px solid #ecd9e3;
}
.rs-badge {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.rs-badge + .rs-badge {
	border-left: 1px solid #ecd9e3;
	padding-left: 2rem;
	margin-left: -1rem;
}
.rs-badge strong {
	font-size: 0.78rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-weight: 600;
	color: #480d30;
}
.rs-badge strong a { color: inherit; }
.rs-badge span {
	font-size: 0.88rem;
	color: #7a5a6c;
	line-height: 1.45;
}
@media (max-width: 921px) {
	.rs-badges { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
	.rs-badge + .rs-badge { border-left: none; padding-left: 0; margin-left: 0; }
}
.rs-more-reviews {
	max-width: 1200px;
	margin: 0 auto 3rem;
	padding: 0 1.25rem;
}
.rs-more-reviews .glsr-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
@media (max-width: 921px) {
	.rs-more-reviews .glsr-reviews { grid-template-columns: 1fr; }
}
.rs-more-reviews .glsr-review {
	background: #fff;
	border: 1px solid #eee3e9;
	border-radius: 10px;
	padding: 1.2rem 1.3rem;
	margin: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.rs-more-reviews p.has-text-align-center { margin-top: 1.5rem; }
.rs-more-reviews p.has-text-align-center a { font-weight: 600; color: #9d2b56; }

/* Wishlist button: heart only, no "Patinka" text (2026-08-18) */
.yith-wcwl-add-button a.add_to_wishlist,
.yith-wcwl-wishlistaddedbrowse a,
.yith-wcwl-wishlistexistsbrowse a {
	font-size: 0;
	line-height: 1;
	gap: 0;
}
.yith-wcwl-add-button a.add_to_wishlist i,
.yith-wcwl-wishlistaddedbrowse a i,
.yith-wcwl-wishlistexistsbrowse a i {
	font-size: 20px;
	margin: 0;
}

/* =========================================================================
 * rs-search: instant client-side product search (2026-08-18)
 * ========================================================================= */

.rs-search {
	position: relative;
	max-width: 560px;
	width: 100%;
	margin: 0 auto;
}
.rs-search__form {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1.5px solid #d8ccd1;
	border-radius: 999px;
	padding: 0.15rem 0.3rem 0.15rem 1.1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rs-search__form:focus-within {
	border-color: var(--rs-accent, #9d2b56);
	box-shadow: 0 0 0 3px rgba(157, 43, 86, 0.12);
}
.rs-search__input,
.rs-search__input:focus {
	flex: 1;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0.5rem 0.4rem !important;
	font-size: 0.95rem;
	min-width: 0;
}
.rs-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rs-search__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border: none;
	border-radius: 50%;
	background: var(--rs-accent, #9d2b56);
	color: #fff;
	cursor: pointer;
}
.rs-search__submit:hover { filter: brightness(1.1); }

.rs-search__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e9dde2;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(40, 20, 30, 0.14);
	overflow: hidden;
	z-index: 9999;
	max-height: 70vh;
	overflow-y: auto;
}
.rs-search__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
	border-bottom: 1px solid #f4ecf0;
}
.rs-search__item:hover,
.rs-search__item.is-active { background: #faf3f7; }
.rs-search__item img,
.rs-search__noimg {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 8px;
	object-fit: cover;
	background: #f4ecf0;
}
.rs-search__name {
	flex: 1;
	font-size: 0.92rem;
	line-height: 1.3;
	color: #2c2127;
}
.rs-search__price {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--rs-accent, #9d2b56);
	white-space: nowrap;
}
.rs-search__item--out .rs-search__name { color: #9b8a92; }
.rs-search__item--out .rs-search__price { color: #9b8a92; font-weight: 400; }
.rs-search__all {
	display: block;
	text-align: center;
	padding: 0.7rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--rs-accent, #9d2b56);
	text-decoration: none;
	background: #faf3f7;
}
.rs-search__empty {
	padding: 1rem;
	text-align: center;
	font-size: 0.9rem;
	color: #7d6c74;
}

/* Header placement: keep it compact inside Astra's header center slot. */
.ast-header-widget-1 .rs-search,
.header-widget-area .rs-search { margin: 0; }
@media (max-width: 921px) {
	.rs-search { max-width: 100%; }
}

/* Search button: quiet icon style (2026-08-18) */
.rs-search__submit {
	background: transparent !important;
	color: var(--rs-accent, #9d2b56) !important;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border: none !important;
	border-radius: 50%;
	padding: 0;
}
.rs-search__submit:hover {
	background: #f6e7ed !important;
	filter: none;
}
.rs-search__submit svg { display: block; margin: auto; }

/* Hero text: enforce readable colors over any theme heading rules (2026-08-18) */
.rs-hero .rs-hero__inner .rs-hero__title,
h1.rs-hero__title {
	color: #fff !important;
}
.rs-hero .rs-hero__inner .rs-hero__subtitle {
	color: rgba(255, 255, 255, 0.9) !important;
}
.rs-hero .rs-hero__inner .rs-hero__badge {
	color: #fff !important;
}
@media (max-width: 921px) {
	.rs-hero::before {
		background: linear-gradient(180deg, rgba(37, 20, 27, 0.82) 0%, rgba(37, 20, 27, 0.62) 70%, rgba(37, 20, 27, 0.35) 100%);
	}
}

/* Wishlist: icon-only, hide label span outright (2026-08-18) */
.yith-wcwl-add-to-wishlist a > span {
	display: none !important;
}
.yith-wcwl-add-to-wishlist a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
.yith-wcwl-add-to-wishlist a i,
.yith-wcwl-add-to-wishlist a svg {
	font-size: 20px !important;
	width: 20px;
	height: 20px;
	margin: 0 !important;
}

/* Discount CTA next to reviews: enforce dark overlay + white text (2026-08-18) */
.uagb-block-3df40343 {
	background-color: rgba(18, 14, 22, 0.6) !important;
	background-blend-mode: multiply;
}
.uagb-block-3df40343 .uagb-ifb-title,
.uagb-block-3df40343 .uagb-ifb-desc {
	color: #fff !important;
}

/* Header wishlist heart (2026-08-18) */
.rs-header-wishlist {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.3em 0.45em;
	color: inherit;
}
.rs-header-wishlist:hover {
	color: var(--rs-accent, #9d2b56);
}
.rs-header-wishlist svg { display: block; }

/* Header wishlist heart drawn via CSS mask (2026-08-18) */
.rs-header-wishlist::before {
	content: "";
	width: 22px;
	height: 22px;
	display: block;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27><path d=%27M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z%27/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27><path d=%27M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z%27/></svg>") center / contain no-repeat;
}

/* Wishlist button: match Add-to-cart color (2026-08-18) */
.yith-add-to-wishlist-button-block a,
.yith-add-to-wishlist-button-block button,
.yith-wcwl-add-to-wishlist a {
	color: var(--ast-global-color-0, #480d30) !important;
}
.yith-add-to-wishlist-button-block a:hover,
.yith-add-to-wishlist-button-block button:hover,
.yith-wcwl-add-to-wishlist a:hover {
	color: var(--rs-accent, #9d2b56) !important;
}
.yith-add-to-wishlist-button-block svg,
.yith-add-to-wishlist-button-block i {
	fill: currentColor;
	stroke: currentColor;
}

/* Wishlist button: transparent bg, visible heart (2026-08-18) */
.yith-add-to-wishlist-button-block a,
.yith-add-to-wishlist-button-block button {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0.35em !important;
	min-height: 0 !important;
	line-height: 1 !important;
}

/* Wishlist: wire YITH color variables to the theme button palette (2026-08-18) */
.yith-add-to-wishlist-button-block,
.yith-wcwl-add-to-wishlist-button {
	--add-to-wishlist-icon-color: var(--ast-global-color-0, #480d30);
	--added-to-wishlist-icon-color: var(--rs-accent, #9d2b56);
	--color-add-to-wishlist-background: transparent;
	--color-add-to-wishlist-background-hover: transparent;
	--color-add-to-wishlist-border: transparent;
	--color-add-to-wishlist-border-hover: transparent;
	--color-add-to-wishlist-text: var(--ast-global-color-0, #480d30);
	--color-add-to-wishlist-text-hover: var(--rs-accent, #9d2b56);
}

/* Wishlist heart: final — restore outline design, pin colors at the SVG (2026-08-18) */
.yith-add-to-wishlist-button-block svg[id*="-outline"] {
	fill: none !important;
}
.yith-add-to-wishlist-button-block svg.yith-wcwl-icon-svg {
	color: var(--ast-global-color-0, #480d30) !important;
	stroke: currentColor !important;
}
.yith-add-to-wishlist-button-block :is(a, button):hover svg.yith-wcwl-icon-svg {
	color: var(--rs-accent, #9d2b56) !important;
}

/* =========================================================================
 * rs-filterbar: Vinted-style horizontal faceted filter bar (2026-08-18)
 * ========================================================================= */

.rs-fbar-wrap {
	margin: 0 0 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.rs-fbar-crumbs {
	font-size: 0.84rem;
	color: #8a7a82;
}
.rs-fbar-crumbs a { color: #8a7a82; text-decoration: none; }
.rs-fbar-crumbs a:hover { color: var(--rs-accent, #9d2b56); }
.rs-crumb-sep { margin: 0 0.4em; opacity: 0.6; }

.rs-fbar {
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
}

details.rs-fchip { position: relative; flex: 0 0 auto; }
details.rs-fchip > summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.45em 1em;
	border: 1.5px solid #d8ccd1;
	border-radius: 999px;
	background: #fff;
	font-size: 0.92rem;
	font-weight: 500;
	color: #2c2127;
	white-space: nowrap;
}
details.rs-fchip > summary::-webkit-details-marker { display: none; }
details.rs-fchip > summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	flex: 0 0 auto;
}
details.rs-fchip[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.rs-fchip > summary:hover { border-color: var(--rs-accent, #9d2b56); }
details.rs-fchip--active > summary {
	background: var(--rs-accent, #9d2b56);
	border-color: var(--rs-accent, #9d2b56);
	color: #fff;
}

.rs-fchip__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 999;
	min-width: 230px;
	max-height: 330px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e9dde2;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(40, 20, 30, 0.15);
	padding: 0.4rem;
	display: flex;
	flex-direction: column;
}
.rs-fchip__menu a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.8rem;
	padding: 0.5rem 0.7rem;
	border-radius: 7px;
	font-size: 0.92rem;
	color: #2c2127;
	text-decoration: none;
}
.rs-fchip__menu a:hover { background: #faf3f7; }
.rs-fchip__menu a.is-selected {
	color: var(--rs-accent, #9d2b56);
	font-weight: 600;
}
.rs-fchip__menu a.is-selected::after { content: "✓"; }
.rs-fchip__menu .rs-fchip__clear {
	color: #8a7a82;
	border-bottom: 1px solid #f0e6eb;
	border-radius: 0;
	margin-bottom: 0.2rem;
}
.rs-fchip__count { font-size: 0.8rem; color: #a08e97; }

.rs-fbar-applied {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
}
.rs-ftag {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	background: #f1e8ed;
	color: #2c2127;
	border-radius: 999px;
	padding: 0.32em 0.85em;
	font-size: 0.86rem;
	text-decoration: none;
}
.rs-ftag:hover { background: #e7d8e0; }
.rs-ftag span { font-size: 0.8em; opacity: 0.7; }
.rs-ftag--clear {
	background: transparent;
	color: var(--rs-accent, #9d2b56);
	font-weight: 600;
}

/* Give the grid the full width the sidebar used to occupy. */
.woocommerce-products-header + .rs-fbar-wrap { margin-top: 0.6rem; }

/* =========================================================================
 * rs-spec-card: standardized variety characteristics (2026-08-18)
 * ========================================================================= */

.rs-spec-card {
	background: #fff;
	border: 1px solid #ecdfe5;
	border-radius: 12px;
	padding: 1.4rem 1.6rem;
	margin: 1.6rem 0;
}
.rs-spec-card__title {
	font-size: 1.05rem;
	margin: 0 0 1rem;
	color: var(--ast-global-color-0, #480d30);
}
.rs-spec-card__facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.9rem 1.2rem;
	margin: 0 0 1.2rem;
}
.rs-spec-card__fact dt {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #96848d;
	margin: 0 0 0.15rem;
	font-weight: 600;
}
.rs-spec-card__fact dd {
	margin: 0;
	font-weight: 600;
	color: #2c2127;
}
.rs-spec-card__ratings {
	list-style: none;
	margin: 0;
	padding: 0.9rem 0 0;
	border-top: 1px solid #f2e8ed;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.6rem 2rem;
}
@media (max-width: 640px) {
	.rs-spec-card__ratings { grid-template-columns: 1fr; }
}
.rs-spec-card__ratings li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.rs-spec-card__label { font-size: 0.92rem; color: #2c2127; }

/* =========================================================================
 * Mobile header — single coherent block (2026-08-18, replaces 8 patches).
 * Layout itself is Astra's default; we only compact spacing.
 * ========================================================================= */
@media (max-width: 921px) {
	.site-header .ast-builder-grid-row {
		padding-top: 0.3rem !important;
		padding-bottom: 0.3rem !important;
	}
	.ast-below-header-bar.ast-below-header,
	.ast-header-break-point .ast-below-header-bar.ast-below-header {
		padding-top: 0 !important;
		padding-bottom: 0.45rem !important;
	}
	.ast-below-header-bar,
	.ast-below-header-bar .site-below-header-wrap,
	.site-below-header-wrap {
		min-height: 0 !important;
	}
	.site-branding img,
	.ast-site-identity img {
		max-height: 44px !important;
		width: auto !important;
	}
	.header-widget-area.widget-area .widget,
	.header-widget-area-inner .widget {
		margin: 0 !important;
		padding: 0 !important;
	}
	.header-widget-area .rs-search {
		margin: 0 auto !important;
	}
	.rs-search__form { padding: 0.05rem 0.15rem 0.05rem 0.9rem; }
	.rs-search__input { padding: 0.4rem 0.3rem !important; font-size: 0.9rem; }
	.rs-search__submit { width: 32px; height: 32px; flex: 0 0 32px; }
	.ast-mobile-header-wrap .ast-site-header-cart .ast-woo-header-cart-info-wrap {
		display: none !important;
	}
	.home .site-content,
	.home #primary {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	.home .entry-content { margin-top: 0 !important; }
	.rs-hero { margin-top: 0.5rem; min-height: 380px; }
	.rs-hero__inner { padding: 2.1em 1.4em; }
}
@media (max-width: 600px) {
	.ast-mobile-header-wrap .ast-header-account { display: none !important; }
}

/* =========================================================================
 * Footer payment trust strip (2026-08-18)
 * ========================================================================= */
.rs-payments {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	text-align: center;
}
.rs-payments__title {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	opacity: 0.75;
}
.rs-payments__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.9rem 1.4rem;
}
.rs-payments__logos img {
	height: 22px !important;
	width: auto !important;
	display: block;
	margin: 0 !important;
}
.rs-payments__note {
	font-size: 0.8rem;
	opacity: 0.7;
	line-height: 1.5;
	max-width: 420px;
}

/* =========================================================================
 * Rating strip, steps strip, slimmer copyright, hero polish (2026-08-18)
 * ========================================================================= */

.rs-rating { text-align: center; margin: -0.4rem 0 1.2rem; }
.rs-rating a {
	font-size: 0.95rem;
	font-weight: 600;
	color: #2c2127;
	text-decoration: none;
}
.rs-rating a:hover { color: var(--rs-accent, #9d2b56); }
.rs-rating__star { color: #e8a33d; }

.rs-steps { max-width: 1100px; margin: 3rem auto; padding: 0 1.25rem; }
.rs-steps__title {
	text-align: center;
	font-size: 1.35rem;
	margin: 0 0 1.6rem;
}
.rs-steps__list {
	list-style: none;
	counter-reset: rs-step;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 767px) {
	.rs-steps__list { grid-template-columns: 1fr; gap: 1.1rem; }
}
.rs-steps__list li {
	counter-increment: rs-step;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding-left: 3rem;
	position: relative;
}
.rs-steps__list li::before {
	content: counter(rs-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: #fce7f7;
	color: var(--ast-global-color-0, #480d30);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rs-steps__list strong { color: #2c2127; font-size: 1rem; }
.rs-steps__list span { color: #7a6a72; font-size: 0.92rem; line-height: 1.5; }

/* Copyright bar: as slim as it goes */
.site-below-footer-wrap {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
	min-height: 0 !important;
}
.site-below-footer-wrap .ast-builder-grid-row { min-height: 0 !important; }
.site-below-footer-wrap [class*="copyright"] ,
.site-below-footer-wrap p {
	font-size: 0.78rem;
	line-height: 1.4;
	margin: 0;
}

/* Hero polish: quieter badge, tighter frame */
.rs-hero__badge {
	background: rgba(255, 255, 255, 0.14);
	border: none;
	font-size: 0.68em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 0.55em 1.2em;
}
.rs-hero { min-height: 400px; }
@media (max-width: 921px) {
	.rs-hero { min-height: 330px; }
	.rs-hero__inner { padding: 1.8em 1.3em; }
	.rs-hero__title { font-size: 1.55em; }
	.rs-hero__subtitle { font-size: 0.98em; margin-bottom: 1.1em; }
}

/* Search bar: wider + zero stray margins at all widths (2026-08-18) */
.rs-search {
	max-width: 760px;
}
.header-widget-area.widget-area .widget,
.header-widget-area-inner .widget,
.header-widget-area .widget_block {
	margin: 0 !important;
	padding: 0 !important;
}
.header-widget-area .rs-search {
	margin: 0 auto !important;
}
.ast-below-header-bar.ast-below-header {
	padding-top: 0 !important;
	padding-bottom: 0.4rem !important;
	min-height: 0 !important;
}
.site-header-primary-section-center.site-header-section {
	flex: 1 1 auto;
	min-width: 0;
}
.site-header-primary-section-center .header-widget-area {
	width: 100%;
}
@media (max-width: 921px) {
	.rs-search { max-width: 100%; }
	.header-widget-area .rs-search { padding: 0 0.75rem; }
}

/* Search width + below-row geometry, correct section classes (2026-08-18) */
.rs-search { width: 100%; }
.ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout {
	grid-template-columns: auto minmax(0, 1fr) auto !important;
}
.site-header-below-section-center,
.site-header-below-section-center .header-widget-area {
	width: 100%;
}
.site-below-header-wrap .ast-builder-grid-row {
	grid-template-columns: minmax(0, 1fr) !important;
	padding-top: 0 !important;
	padding-bottom: 0.3rem !important;
}
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-primary-header-bar .ast-builder-grid-row {
		padding-bottom: 0.1rem !important;
	}
	.site-header-below-section-center .rs-search {
		padding: 0 0.75rem;
	}
}

/* Mobile: glue search row closer to icon row (2026-08-18) */
@media (max-width: 921px) {
	.ast-mobile-header-wrap .main-header-bar,
	.ast-mobile-header-wrap .ast-primary-header-bar {
		padding-top: 0.15rem !important;
		padding-bottom: 0 !important;
		min-height: 0 !important;
	}
	.ast-mobile-header-wrap .ast-below-header-bar.ast-below-header {
		padding-top: 0 !important;
		padding-bottom: 0.35rem !important;
	}
}
