/* ==========================================================================
   Rasta Shop — cream & serif storefront skin
   Applies to the whole site: home, shop, product, cart, checkout, account.
   ========================================================================== */

@font-face {
	font-family: "R Display";
	src: url("fonts/RokhVFGX.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "R Text";
	src: url("fonts/Estedad-VF.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--cream: #fdf6ee;
	--cream-2: #f8ecdf;
	--sand: #f2e4d5;
	--white: #fffdfa;
	--line: #ecddcd;
	--line-2: #e3d0bc;

	--ink: #3a2a1f;
	--ink-2: #5f4b3b;
	--muted: #8c7663;

	--brown: #8a5a2b;
	--brown-dark: #6f4620;
	--brown-soft: #a9784a;
	--gold: #c8a06a;
	--star: #d9a441;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;

	--wrap: 1200px;
	--gut: 24px;

	--shadow-sm: 0 2px 10px rgba(90, 62, 38, 0.06);
	--shadow: 0 18px 40px -28px rgba(90, 62, 38, 0.45);

	--ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.rs-site {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: "R Text", "Yekan Bakh", Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}

body.rs-site img {
	max-width: 100%;
	height: auto;
}

body.rs-site h1,
body.rs-site h2,
body.rs-site h3,
body.rs-site h4 {
	font-family: "R Display", "R Text", Tahoma, sans-serif;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.45;
	margin: 0;
}

body.rs-site p,
body.rs-site ul,
body.rs-site ol,
body.rs-site dl,
body.rs-site figure,
body.rs-site blockquote {
	margin: 0;
	padding: 0;
}

body.rs-site ul,
body.rs-site ol {
	list-style: none;
}

body.rs-site a {
	color: inherit;
	text-decoration: none;
}

body.rs-site button {
	font: inherit;
	color: inherit;
}

body.rs-site svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.rs-site :focus-visible {
	outline: 2px solid var(--brown);
	outline-offset: 3px;
}

.wrap {
	width: min(var(--wrap), calc(100% - (var(--gut) * 2)));
	margin-inline: auto;
}

.sr-only,
.skip:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute;
	inset-inline-start: 50%;
	top: -50px;
	transform: translateX(50%);
	z-index: 300;
	background: var(--ink);
	color: var(--cream);
	padding: 8px 16px;
	border-radius: 0 0 10px 10px;
	font-size: 0.82rem;
	transition: top 0.2s var(--ease);
}

.skip:focus {
	top: 0;
}

/* admin bar: never let the sticky header hide under it */
body.admin-bar {
	--ab: 32px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--ab: 46px;
	}
}

/* --------------------------------------------------------------- buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding-inline: 26px;
	border: 0;
	border-radius: var(--r-sm);
	background: var(--brown);
	color: #fff8ef;
	font-family: "R Text", Tahoma, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
	background: var(--brown-dark);
}

.btn:active {
	transform: translateY(1px);
}

.btn svg {
	width: 16px;
	height: 16px;
	stroke-width: 1.8;
}

.btn--sm {
	min-height: 42px;
	padding-inline: 20px;
	font-size: 0.82rem;
}

.btn--block {
	width: 100%;
}

.btn--dark {
	background: var(--ink);
	color: var(--cream);
}

.btn--dark:hover {
	background: #251a12;
}

.btn--ghost {
	background: transparent;
	color: var(--brown);
	border: 1px solid var(--line-2);
}

.btn--ghost:hover {
	background: var(--sand);
	color: var(--brown-dark);
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--brown);
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link:hover {
	border-color: var(--brown);
	gap: 11px;
}

.kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--brown-soft);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.kicker span {
	width: 34px;
	height: 1px;
	background: var(--gold);
}

/* ------------------------------------------------------ announcement bar */

.mb {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	font-size: 0.75rem;
	color: var(--ink-2);
}

.mb__in {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: 36px;
}

.mb__item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mb__item svg {
	width: 15px;
	height: 15px;
	color: var(--brown-soft);
	flex: 0 0 auto;
}

.mb__item--mid {
	justify-self: center;
}

.mb__in > :last-child {
	justify-self: end;
}

/* ---------------------------------------------------------------- header */

.hdr {
	position: sticky;
	top: var(--ab, 0px);
	z-index: 90;
	background: rgba(255, 253, 250, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s var(--ease);
}

.hdr.is-stuck {
	box-shadow: var(--shadow-sm);
}

.hdr__in {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 22px;
	min-height: 78px;
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand img {
	height: 46px;
	width: auto;
}

.brand__name {
	font-family: "R Display", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.nav__item {
	position: relative;
}

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 40px;
	padding-inline: 14px;
	border-radius: var(--r-sm);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--ink-2);
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__link:hover {
	background: var(--sand);
	color: var(--ink);
}

.nav__caret {
	width: 12px;
	height: 12px;
	color: var(--muted);
}

.nav__menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 50%;
	transform: translateX(50%) translateY(-6px);
	min-width: 210px;
	padding: 10px;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
	z-index: 20;
}

.nav__item--drop:hover .nav__menu,
.nav__item--drop:focus-within .nav__menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(50%) translateY(0);
}

.nav__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	transition: background 0.15s var(--ease);
}

.nav__menu a:hover {
	background: var(--cream-2);
}

.nav__menu small {
	color: var(--muted);
	font-size: 0.72rem;
}

.nav__menu-all {
	margin-top: 6px;
	border-top: 1px solid var(--line);
	color: var(--brown);
	font-weight: 600;
}

.hdr__tools {
	display: flex;
	align-items: center;
	gap: 6px;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background 0.2s var(--ease);
}

.icon-btn:hover {
	background: var(--sand);
}

.icon-btn svg {
	width: 19px;
	height: 19px;
}

.cart-count {
	position: absolute;
	top: 2px;
	inset-inline-start: 2px;
	min-width: 17px;
	height: 17px;
	padding-inline: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--brown);
	color: #fff8ef;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.cart-count.is-on {
	opacity: 1;
	transform: none;
}

.hdr__cta {
	margin-inline-start: 8px;
}

.hdr__burger {
	display: none;
}

/* search drawer */
.searchbar {
	background: var(--white);
	border-top: 1px solid var(--line);
	padding-block: 14px;
}

.searchbar__in {
	display: flex;
	align-items: center;
	gap: 12px;
}

.searchbar form {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	padding-inline: 16px 8px;
	height: 46px;
	border-radius: 999px;
	background: var(--cream);
	border: 1px solid var(--line);
}

.searchbar__icon {
	width: 17px;
	height: 17px;
	color: var(--muted);
	flex: 0 0 auto;
}

.searchbar input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: none;
	outline: none;
	font: inherit;
	font-size: 0.86rem;
}

.searchbar__close {
	width: 34px;
	height: 34px;
	border: 0;
	background: none;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
}

/* mobile drawer */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.drawer[hidden] {
	display: none;
}

.drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(58, 42, 31, 0.35);
	backdrop-filter: blur(2px);
}

.drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(330px, 88vw);
	padding: 18px 20px 28px;
	background: var(--cream);
	box-shadow: 20px 0 50px rgba(58, 42, 31, 0.22);
	display: flex;
	flex-direction: column;
	gap: 18px;
	overflow-y: auto;
}

.drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.drawer__top img {
	height: 38px;
	width: auto;
}

.drawer__nav {
	display: flex;
	flex-direction: column;
}

.drawer__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 2px;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
}

.drawer__sub {
	padding-inline-start: 16px;
	font-size: 0.82rem;
	color: var(--ink-2);
	border-bottom-style: dashed;
}

/* ---------------------------------------------------------------- footer */

.ftr {
	margin-top: 64px;
	background: var(--cream-2);
	border-top: 1px solid var(--line);
}

.ftr__news {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	padding-block: 26px;
}

.ftr__news-in {
	display: flex;
}

.news {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex: 1 1 auto;
	flex-wrap: wrap;
}

.news__copy h2 {
	font-size: 1.15rem;
	font-family: "R Display", sans-serif;
}

.news__copy p {
	font-size: 0.78rem;
	color: var(--muted);
}

.news__field {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 360px;
	max-width: 460px;
	padding: 5px 5px 5px 18px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	background: var(--cream);
}

.news__field input {
	flex: 1 1 auto;
	min-width: 0;
	height: 38px;
	border: 0;
	background: none;
	outline: none;
	font: inherit;
	font-size: 0.84rem;
}

.ftr__note {
	font-size: 0.8rem;
	padding-block: 12px;
}

.ftr__note--ok {
	color: #2f6b3c;
}

.ftr__note--err {
	color: #a03a2a;
}

.ftr__grid {
	display: grid;
	grid-template-columns: 1.6fr 0.8fr 0.9fr 0.8fr;
	gap: 32px;
	padding-block: 44px;
}

.ftr__brand img {
	height: 46px;
	width: auto;
	margin-bottom: 14px;
}

.ftr__brand p {
	max-width: 32em;
	font-size: 0.82rem;
	color: var(--ink-2);
}

.ftr__col {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.ftr__col h3 {
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 4px;
	font-family: "R Text", sans-serif;
}

.ftr__col a {
	font-size: 0.82rem;
	color: var(--ink-2);
	width: fit-content;
	transition: color 0.2s var(--ease);
}

.ftr__col a:hover {
	color: var(--brown);
}

.ftr__base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px 24px;
	border-top: 1px solid var(--line-2);
	font-size: 0.75rem;
	color: var(--muted);
}

.ftr__top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	color: var(--ink-2);
	transition: background 0.2s var(--ease);
}

.ftr__top:hover {
	background: var(--sand);
}

/* ==========================================================================
   Home
   ========================================================================== */

.hero {
	padding-block: clamp(32px, 4vw, 54px);
	background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: 0.95fr 1.25fr;
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
}

.hero__title {
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.hero__title em {
	display: inline-block;
	font-style: italic;
	font-weight: 500;
	color: var(--brown-soft);
}

.hero__lead {
	max-width: 30em;
	margin-top: 18px;
	font-size: 0.95rem;
	color: var(--ink-2);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 28px;
}

.hero__media {
	position: relative;
	border-radius: var(--r-lg);
	overflow: visible;
}

.hero__media > img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r-lg);
}

.hero__chip {
	position: absolute;
	inset-block-end: -16px;
	inset-inline-start: -16px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 290px;
	padding: 10px 16px 10px 10px;
	border-radius: var(--r);
	background: var(--white);
	box-shadow: var(--shadow);
	transition: transform 0.2s var(--ease);
}

.hero__chip:hover {
	transform: translateY(-3px);
}

.hero__chip img {
	width: 50px;
	height: 50px;
	border-radius: 10px;
	object-fit: contain;
	background: var(--cream);
	padding: 3px;
	mix-blend-mode: multiply;
}

.hero__chip span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hero__chip strong {
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero__chip small {
	font-size: 0.72rem;
	color: var(--brown);
}

/* categories */

.cats {
	padding-block: 26px;
	background: var(--cream);
}

.cats__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.cat a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 18px 14px 16px;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
	transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.cat a:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.cat__media {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
}

.cat__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.cat__name {
	font-size: 0.82rem;
	font-weight: 600;
}

/* promos */

.promos {
	padding-block: 10px 34px;
}

.promos__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.promo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
	padding: 20px;
	border-radius: var(--r);
	overflow: hidden;
	background: linear-gradient(160deg, #6d4a2c, #8a5f38);
	color: #fdf1e2;
}

.promo:nth-child(2) {
	background: linear-gradient(160deg, #f0dfcd, #e0c6ab);
	color: var(--ink);
}

.promo:nth-child(3) {
	background: linear-gradient(160deg, #8a5a2b, #a5764a);
}

.promo:nth-child(4) {
	background: linear-gradient(160deg, #4d3a2b, #6b5138);
}

.promo__img {
	position: absolute;
	inset-inline-end: -6%;
	top: -4%;
	width: 62%;
	height: 108%;
	object-fit: contain;
	opacity: 0.92;
	mix-blend-mode: screen;
	pointer-events: none;
}

.promo:nth-child(2) .promo__img {
	mix-blend-mode: multiply;
}

.promo__body {
	position: relative;
	max-width: 62%;
}

.promo__body h2 {
	font-size: 1.02rem;
	color: inherit;
	margin-bottom: 4px;
}

.promo__body p {
	font-size: 0.72rem;
	line-height: 1.75;
	opacity: 0.85;
}

.promo__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 0.72rem;
	font-weight: 600;
	color: inherit;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
}

/* sections */

.sec {
	padding-block: clamp(38px, 5vw, 62px);
}

.sec--tint {
	background: var(--sand);
}

.sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 26px;
}

.sec__head h2 {
	font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.sec__note {
	margin-top: 6px;
	font-size: 0.78rem;
	color: var(--muted);
}

.grid {
	display: grid;
	gap: 16px;
}

.grid--5 {
	grid-template-columns: repeat(5, 1fr);
}

.grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

/* product card */

.pcard {
	display: flex;
	flex-direction: column;
}

.pcard__media {
	position: relative;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
	overflow: hidden;
}

.sec--tint .pcard__media {
	background: var(--white);
}

.pcard__link {
	display: block;
	aspect-ratio: 1 / 1;
	padding: 14px;
}

.pcard__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.45s var(--ease);
}

.pcard:hover .pcard__img {
	transform: scale(1.04);
}

.pcard__badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--brown);
	color: #fff8ef;
	font-size: 0.62rem;
	font-weight: 600;
}

.pcard__quick {
	position: absolute;
	bottom: 10px;
	inset-inline-start: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.pcard:hover .pcard__quick,
.pcard__quick:focus-visible {
	opacity: 1;
	transform: none;
}

.pcard__quick:hover {
	background: var(--brown);
	color: #fff8ef;
}

.pcard__quick svg {
	width: 16px;
	height: 16px;
}

.pcard__body {
	padding: 12px 2px 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1 1 auto;
}

.pcard__name {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.7;
	font-family: "R Text", sans-serif;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pcard__name a:hover {
	color: var(--brown);
}

.pcard__price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	font-size: 0.86rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	margin-top: auto;
	padding-top: 4px;
}

.pcard__price del {
	font-size: 0.7rem;
	font-weight: 400;
	color: var(--muted);
}

.pcard__rate {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.68rem;
	color: var(--muted);
}

/* stars */

.stars {
	display: inline-flex;
	gap: 2px;
	direction: ltr;
	font-size: 0.86rem;
	line-height: 1;
}

.stars--sm {
	font-size: 0.76rem;
}

.stars i {
	font-style: normal;
	color: transparent;
	background-image: linear-gradient(90deg, var(--star) var(--fill, 0%), #d9c8b5 var(--fill, 0%));
	-webkit-background-clip: text;
	background-clip: text;
}

/* story band */

.story {
	background: var(--sand);
	padding-block: clamp(34px, 4vw, 54px);
}

.story__in {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: clamp(24px, 4vw, 48px);
}

.story__copy h2 {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	line-height: 1.4;
	margin-bottom: 14px;
}

.story__copy p {
	font-size: 0.9rem;
	color: var(--ink-2);
	max-width: 34em;
	margin-bottom: 22px;
}

.story__media img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: var(--r-lg);
}

/* trust */

.trust {
	padding-block: 8px 20px;
	background: var(--sand);
}

.trust__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding-block: 22px;
	border-top: 1px solid var(--line-2);
}

.trust__row li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3px;
	padding-inline: 12px;
	border-inline-start: 1px solid var(--line-2);
}

.trust__row li:first-child {
	border-inline-start: 0;
}

.trust__row svg {
	width: 26px;
	height: 26px;
	color: var(--brown-soft);
	margin-bottom: 6px;
}

.trust__row strong {
	font-size: 0.82rem;
	font-weight: 600;
}

.trust__row small {
	font-size: 0.7rem;
	color: var(--muted);
}

/* reviews */

.reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 22px;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
}

.review blockquote {
	flex: 1 1 auto;
	font-size: 0.86rem;
	line-height: 1.95;
	color: var(--ink-2);
}

.review footer {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.review footer strong {
	font-size: 0.78rem;
}

.review footer a {
	font-size: 0.72rem;
	color: var(--brown);
}

.review footer time {
	font-size: 0.68rem;
	color: var(--muted);
}

/* ==========================================================================
   Inner pages: page head, shop, product
   ========================================================================== */

.page-head {
	background: linear-gradient(160deg, var(--sand), var(--cream));
	border-bottom: 1px solid var(--line);
	padding-block: clamp(28px, 4vw, 46px);
}

.page-head--slim {
	padding-block: 26px;
}

.page-head__in h1 {
	font-size: clamp(1.8rem, 3.6vw, 2.7rem);
	margin-top: 10px;
}

.page-head__in > p {
	max-width: 46em;
	margin-top: 8px;
	font-size: 0.86rem;
	color: var(--ink-2);
}

.page-head__meta {
	font-size: 0.76rem;
	color: var(--muted);
}

.crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	font-size: 0.74rem;
	color: var(--muted);
}

.crumbs a:hover {
	color: var(--brown);
}

.crumbs--pad {
	padding-block: 18px;
}

/* shop layout */

.shop {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 28px;
	align-items: start;
	padding-block: 30px;
}

.filters {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: calc(var(--ab, 0px) + 96px);
}

.filters__box {
	padding: 18px;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
}

.filters__title {
	font-size: 0.86rem;
	font-family: "R Text", sans-serif;
	font-weight: 700;
	margin-bottom: 14px;
}

.filters__range-legend {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: var(--muted);
	margin-bottom: 10px;
}

.filters__two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 12px;
}

.filters__two input {
	width: 100%;
	height: 38px;
	padding-inline: 10px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--cream);
	font: inherit;
	font-size: 0.78rem;
	color: var(--ink);
	outline: none;
}

.filters__two input:focus {
	border-color: var(--brown-soft);
}

.filters__reset {
	display: block;
	margin-top: 10px;
	font-size: 0.72rem;
	color: var(--brown);
	text-align: center;
}

.filters__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.filters__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 8px;
	border-radius: 6px;
	font-size: 0.8rem;
	color: var(--ink-2);
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.filters__list a:hover {
	background: var(--cream-2);
	color: var(--ink);
}

.filters__list a.is-active {
	background: var(--sand);
	color: var(--ink);
	font-weight: 600;
}

.filters__list small {
	color: var(--muted);
	font-size: 0.7rem;
}

.filters__help p {
	font-size: 0.78rem;
	color: var(--ink-2);
	margin-bottom: 12px;
}

.toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.toolbar__count {
	font-size: 0.78rem;
	color: var(--muted);
}

.toolbar__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	color: var(--muted);
}

.toolbar__sort select {
	height: 36px;
	padding-inline: 10px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
	font-size: 0.78rem;
	color: var(--ink);
	cursor: pointer;
}

.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 30px;
	font-size: 0.82rem;
}

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding-inline: 10px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	color: var(--ink-2);
	transition: background 0.2s var(--ease);
}

.pager .page-numbers:hover {
	background: var(--sand);
}

.pager .page-numbers.current {
	background: var(--brown);
	border-color: var(--brown);
	color: #fff8ef;
}

.empty {
	padding-block: 36px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	font-size: 0.9rem;
	color: var(--ink-2);
}

.empty--page {
	padding-block: 90px;
}

.empty__code {
	font-family: "R Display", sans-serif;
	font-size: 4rem;
	color: var(--line-2);
	line-height: 1;
}

.empty__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.empty__search {
	display: flex;
	gap: 8px;
	width: min(420px, 100%);
}

.empty__search input {
	flex: 1 1 auto;
	height: 42px;
	padding-inline: 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	font: inherit;
	font-size: 0.84rem;
	background: var(--white);
}

/* single product */

.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) 250px;
	gap: 30px;
	padding-block: 8px 34px;
	align-items: start;
}

.product__gallery {
	display: grid;
	grid-template-columns: 78px 1fr;
	gap: 12px;
}

.product__thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product__thumb {
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	cursor: pointer;
	transition: border-color 0.2s var(--ease);
}

.product__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product__thumb.is-active {
	border-color: var(--brown-soft);
}

.product__stage {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--line);
	padding: 22px;
	overflow: hidden;
}

.product__stage img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.4s var(--ease);
}

.product__stage:hover img {
	transform: scale(1.06);
}

.product__summary h1 {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.5;
}

.product__rate {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 0.76rem;
	color: var(--muted);
}

.product__rate a {
	color: var(--brown);
}

.product__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 1.4rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.product__price del {
	font-size: 0.84rem;
	font-weight: 400;
	color: var(--muted);
}

.product__lead {
	margin-top: 14px;
	font-size: 0.86rem;
	color: var(--ink-2);
}

.product__lead p {
	margin-bottom: 8px;
}

.product__specs {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 18px;
}

.product__specs li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.8rem;
	color: var(--ink-2);
}

.product__specs svg {
	width: 17px;
	height: 17px;
	color: var(--brown-soft);
	flex: 0 0 auto;
}

.product__specs strong {
	color: var(--ink);
	font-weight: 600;
}

.product__buy {
	margin-top: 22px;
}

.product__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	font-size: 0.78rem;
}

.pill {
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--sand);
	color: var(--ink-2);
	font-size: 0.7rem;
	font-weight: 600;
}

.pill--ok {
	background: #e8f0e4;
	color: #38602e;
}

.product__aside h2 {
	font-size: 0.95rem;
	margin-bottom: 14px;
}

.rails {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pcard--sm {
	flex-direction: row;
	gap: 12px;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.pcard--sm:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.pcard--sm .pcard__media {
	width: 84px;
	flex: 0 0 auto;
}

.pcard--sm .pcard__link {
	padding: 8px;
}

.pcard--sm .pcard__body {
	padding: 0;
}

.pcard--sm .pcard__name {
	font-size: 0.76rem;
	-webkit-line-clamp: 2;
}

.pcard--sm .pcard__quick,
.pcard--sm .pcard__badge {
	display: none;
}

/* tabs */

.tabs {
	margin-top: 10px;
	border-top: 1px solid var(--line);
	padding-block: 22px 40px;
}

.tabs__nav {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.tabs__btn {
	padding: 9px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: none;
	font-size: 0.82rem;
	color: var(--ink-2);
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tabs__btn:hover {
	background: var(--cream-2);
}

.tabs__btn.is-active {
	background: var(--white);
	border-color: var(--line-2);
	color: var(--ink);
	font-weight: 600;
}

.tabs__panel {
	font-size: 0.88rem;
	color: var(--ink-2);
	max-width: 70em;
}

.tabs__panel p {
	margin-bottom: 12px;
}

.specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	overflow: hidden;
}

.specs > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: var(--white);
	font-size: 0.82rem;
}

.specs dt {
	color: var(--muted);
}

.specs dd {
	margin: 0;
	font-weight: 600;
	color: var(--ink);
}

/* ==========================================================================
   WooCommerce: forms, cart, checkout, account
   ========================================================================== */

.rs-site .woocommerce {
	font-family: "R Text", Tahoma, sans-serif;
	color: var(--ink);
}

.rs-site .woocommerce a {
	color: var(--brown);
}

.rs-site .woocommerce a:hover {
	color: var(--brown-dark);
}

.rs-site .woocommerce-message,
.rs-site .woocommerce-info,
.rs-site .woocommerce-error {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
	padding: 14px 18px 14px 56px;
	border: 1px solid var(--line-2);
	border-top: 3px solid var(--brown);
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--ink-2);
	font-size: 0.84rem;
	list-style: none;
	position: relative;
}

.rs-site .woocommerce-message::before,
.rs-site .woocommerce-info::before,
.rs-site .woocommerce-error::before {
	position: absolute;
	inset-inline-start: 18px;
	top: 14px;
	color: var(--brown);
	font-family: inherit;
}

.rs-site .woocommerce-error {
	border-top-color: #a03a2a;
}

.rs-site .woocommerce-message .button,
.rs-site .woocommerce-info .button {
	margin-inline-start: auto;
}

/* generic buttons inside Woo */

.rs-site .woocommerce .button,
.rs-site .woocommerce button.button,
.rs-site .woocommerce input.button,
.rs-site .woocommerce #respond input#submit,
.rs-site .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding-inline: 22px;
	border: 0;
	border-radius: var(--r-sm);
	background: var(--brown);
	color: #fff8ef;
	font-family: "R Text", Tahoma, sans-serif;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background 0.2s var(--ease);
}

.rs-site .woocommerce .button:hover,
.rs-site .woocommerce button.button:hover,
.rs-site .woocommerce input.button:hover,
.rs-site .woocommerce #respond input#submit:hover {
	background: var(--brown-dark);
	color: #fff8ef;
}

.rs-site .woocommerce .button.alt,
.rs-site .woocommerce button.button.alt,
.rs-site .woocommerce input.button.alt {
	background: var(--ink);
	color: var(--cream);
}

.rs-site .woocommerce .button.alt:hover {
	background: #251a12;
}

/* product add-to-cart on single */

.rs-site .product__buy form.cart {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.rs-site .product__buy .quantity {
	display: inline-flex;
	align-items: center;
	height: 46px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	overflow: hidden;
}

.rs-site .product__buy .quantity input {
	width: 58px;
	height: 100%;
	border: 0;
	background: none;
	text-align: center;
	font: inherit;
	font-size: 0.88rem;
	color: var(--ink);
	outline: none;
}

.rs-site .product__buy .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 46px;
}

.rs-site .product__buy .variations {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
	margin-bottom: 6px;
}

.rs-site .product__buy .variations th,
.rs-site .product__buy .variations td {
	text-align: start;
	font-size: 0.82rem;
	padding: 0 6px;
}

.rs-site .product__buy .variations label {
	font-weight: 600;
	color: var(--ink);
}

.rs-site .product__buy select {
	width: 100%;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
	font-size: 0.82rem;
	color: var(--ink);
}

.rs-site .product__buy .reset_variations {
	font-size: 0.74rem;
	color: var(--brown);
}

.rs-site .product__buy .woocommerce-variation-price {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 10px;
}

/* cart */

.rs-site .woocommerce-cart .woocommerce,
.rs-site .woocommerce-checkout .woocommerce,
.rs-site .woocommerce-account .woocommerce {
	padding-block: 30px;
}

.rs-site .woocommerce-cart .page-head,
.rs-site .woocommerce-checkout .page-head {
	margin-bottom: 0;
}

.rs-site form.woocommerce-cart-form {
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	overflow: hidden;
}

.rs-site table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 0.84rem;
}

.rs-site table.shop_table th {
	padding: 13px 14px;
	background: var(--cream-2);
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.78rem;
	text-align: start;
	border-bottom: 1px solid var(--line);
}

.rs-site table.shop_table td {
	padding: 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
	color: var(--ink-2);
}

.rs-site table.shop_table td.product-name a {
	font-weight: 600;
	color: var(--ink);
}

.rs-site table.shop_table td.product-thumbnail img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: var(--r-sm);
	background: var(--cream);
	mix-blend-mode: multiply;
}

.rs-site .product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cream-2) !important;
	color: var(--brown) !important;
	font-size: 1rem;
	line-height: 1;
}

.rs-site .product-remove a.remove:hover {
	background: #f3ded8 !important;
}

.rs-site .cart .quantity {
	display: inline-flex;
}

.rs-site .cart .quantity input {
	width: 60px;
	height: 38px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	text-align: center;
	font: inherit;
	font-size: 0.84rem;
}

.rs-site .cart_totals {
	margin-top: 22px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.rs-site .cart_totals h2 {
	font-size: 1rem;
	margin-bottom: 14px;
}

.rs-site .cart_totals table.shop_table td,
.rs-site .cart_totals table.shop_table th {
	border-bottom: 1px solid var(--line);
	font-size: 0.84rem;
}

.rs-site .cart_totals .order-total td {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
}

.rs-site .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	min-height: 50px;
	font-size: 0.9rem;
}

.rs-site .cart-collaterals {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 24px;
	align-items: start;
}

.rs-site .cart-collaterals .cart_totals {
	margin-top: 0;
}

.rs-site .cross-sells h2,
.rs-site .cart_totals h2 {
	font-size: 1rem;
}

/* checkout: two columns like the reference */

.rs-site .woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 1.25fr 0.9fr;
	gap: 26px;
	align-items: start;
}

.rs-site #customer_details {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.rs-site #customer_details .col-1,
.rs-site #customer_details .col-2 {
	float: none;
	width: 100%;
}

.rs-site #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 10px;
	font-size: 1rem;
}

.rs-site #order_review {
	grid-column: 2;
	grid-row: 2;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	align-self: start;
}

.rs-site #order_review table.shop_table {
	margin-bottom: 14px;
}

.rs-site #order_review table.shop_table td,
.rs-site #order_review table.shop_table th {
	padding: 10px 2px;
	border-bottom: 1px dashed var(--line);
}

.rs-site #order_review .order-total td {
	font-size: 1rem;
	font-weight: 700;
}

.rs-site .woocommerce-checkout h3 {
	font-size: 1rem;
	margin: 6px 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.rs-site .woocommerce-billing-fields__field-wrapper,
.rs-site .woocommerce-shipping-fields__field-wrapper,
.rs-site .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
}

.rs-site .woocommerce form .form-row {
	margin: 0;
	padding: 0;
	float: none;
	width: 100%;
}

.rs-site .woocommerce form .form-row-wide,
.rs-site .woocommerce form .form-row textarea,
.rs-site .woocommerce-additional-fields .form-row {
	grid-column: 1 / -1;
}

.rs-site .woocommerce form .form-row label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink-2);
	margin-bottom: 5px;
}

.rs-site .woocommerce form .form-row .required {
	color: #a03a2a;
	border: 0;
}

.rs-site .woocommerce form .form-row input.input-text,
.rs-site .woocommerce form .form-row textarea,
.rs-site .woocommerce form .form-row select {
	height: 44px;
	padding-inline: 13px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
	font-size: 0.84rem;
	color: var(--ink);
	outline: none;
	transition: border-color 0.2s var(--ease);
}

.rs-site .woocommerce form .form-row textarea {
	height: 96px;
	padding-block: 10px;
}

.rs-site .woocommerce form .form-row input.input-text:focus,
.rs-site .woocommerce form .form-row textarea:focus,
.rs-site .woocommerce form .form-row select:focus {
	border-color: var(--brown-soft);
}

.rs-site .woocommerce form .form-row .select2-container .select2-selection--single {
	height: 44px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
}

.rs-site .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 42px;
	padding-inline: 13px;
	font-size: 0.84rem;
}

.rs-site .select2-dropdown {
	border-color: var(--line-2);
	border-radius: var(--r-sm);
	background: var(--white);
	font-size: 0.84rem;
}

.rs-site #payment {
	background: none;
	border-radius: 0;
}

.rs-site #payment ul.payment_methods {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--line);
}

.rs-site #payment ul.payment_methods li {
	font-size: 0.84rem;
}

.rs-site #payment div.form-row {
	padding: 14px 0 0;
}

.rs-site #payment .place-order .button {
	width: 100%;
	min-height: 50px;
	font-size: 0.9rem;
}

.rs-site .woocommerce-checkout #payment div.payment_box {
	background: var(--cream);
	border-radius: var(--r-sm);
	font-size: 0.8rem;
	color: var(--ink-2);
}

.rs-site .woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.rs-site .woocommerce-order {
	padding-block: 30px;
	max-width: 760px;
}

.rs-site .woocommerce-thankyou-order-received {
	font-family: "R Display", sans-serif;
	font-size: 1.5rem;
	color: var(--ink);
	margin-bottom: 16px;
}

.rs-site ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	padding: 0;
	margin: 0 0 26px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	overflow: hidden;
	list-style: none;
}

.rs-site ul.woocommerce-order-overview li {
	padding: 14px;
	background: var(--white);
	font-size: 0.74rem;
	color: var(--muted);
	border: 0;
	float: none;
	margin: 0;
}

.rs-site ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 0.88rem;
	color: var(--ink);
}

/* account */

.rs-site .woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 26px;
	align-items: start;
}

.rs-site .woocommerce-account .woocommerce::before,
.rs-site .woocommerce-account .woocommerce::after {
	display: none;
}

.rs-site .woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
	max-width: 520px;
	margin-inline: auto;
}

.rs-site .woocommerce-MyAccount-navigation {
	width: auto;
	float: none;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.rs-site .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rs-site .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 0.84rem;
	color: var(--ink-2);
	transition: background 0.15s var(--ease);
}

.rs-site .woocommerce-MyAccount-navigation li a:hover,
.rs-site .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--sand);
	color: var(--ink);
}

.rs-site .woocommerce-MyAccount-content {
	width: auto;
	float: none;
	font-size: 0.88rem;
	color: var(--ink-2);
}

.rs-site .woocommerce-MyAccount-content h2,
.rs-site .woocommerce-MyAccount-content h3 {
	font-size: 1.05rem;
	margin-bottom: 12px;
}

.rs-site .woocommerce-form-login,
.rs-site .woocommerce-form-register,
.rs-site .woocommerce-ResetPassword {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.rs-site .woocommerce-form-login__rememberme {
	font-size: 0.8rem;
}

.rs-site .lost_password a {
	font-size: 0.78rem;
}

.acc {
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 26px;
	align-items: start;
	padding-block: 26px;
}

.acc__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.acc__nav a,
.acc__nav .is-active {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 0.84rem;
	color: var(--ink-2);
	transition: background 0.15s var(--ease);
}

.acc__nav a:hover,
.acc__nav a.is-active {
	background: var(--sand);
	color: var(--ink);
}

.acc__body {
	min-width: 0;
	font-size: 0.88rem;
	color: var(--ink-2);
}

@media (max-width: 760px) {
	.acc {
		grid-template-columns: 1fr;
	}
}

/* reviews inside tabs */

.rs-site #reviews #comments ol.commentlist {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rs-site #reviews .comment_container {
	display: flex;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.rs-site #reviews .comment_container img.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.rs-site #reviews .comment-text {
	flex: 1 1 auto;
	font-size: 0.84rem;
}

.rs-site #reviews .comment-text .meta {
	font-size: 0.76rem;
	color: var(--muted);
	margin-bottom: 4px;
}

.rs-site #reviews .star-rating {
	color: var(--star);
}

.rs-site #review_form_wrapper {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.rs-site #review_form .comment-form {
	display: grid;
	gap: 12px;
}

.rs-site #review_form textarea {
	width: 100%;
	min-height: 110px;
	padding: 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	font: inherit;
	font-size: 0.84rem;
}

.rs-site #review_form input[type="text"],
.rs-site #review_form input[type="email"] {
	height: 44px;
	padding-inline: 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	font: inherit;
	font-size: 0.84rem;
	width: 100%;
}

/* prose pages & blog */

.prose {
	max-width: 820px;
	padding-block: 34px;
	font-size: 0.92rem;
	color: var(--ink-2);
}

.prose h2,
.prose h3 {
	margin: 26px 0 10px;
	font-size: 1.2rem;
	color: var(--ink);
}

.prose p {
	margin-bottom: 14px;
}

.prose ul,
.prose ol {
	margin: 0 0 16px;
	padding-inline-start: 22px;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose img {
	border-radius: var(--r);
	margin-block: 16px;
}

/* the page title is printed by the template */
.prose > h1:first-child {
	display: none;
}

.prose__media img {
	width: 100%;
}

.posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding-block: 30px;
}

.post {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	overflow: hidden;
}

.post__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post__body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.post__date {
	font-size: 0.7rem;
	color: var(--muted);
}

.post__body h2 {
	font-size: 0.95rem;
	line-height: 1.6;
}

.post__body p {
	font-size: 0.8rem;
	color: var(--ink-2);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1120px) {
	.nav {
		display: none;
	}

	.hdr__in {
		grid-template-columns: auto 1fr;
	}

	.hdr__tools {
		justify-self: end;
	}

	.hdr__burger {
		display: inline-flex;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__media {
		order: -1;
	}

	.grid--5 {
		grid-template-columns: repeat(3, 1fr);
	}

	.promos__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cats__row {
		grid-template-columns: repeat(3, 1fr);
	}

	.product {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.product__aside {
		grid-column: 1 / -1;
	}

	.rails {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.pcard--sm {
		flex-direction: column;
		align-items: stretch;
		border-bottom: 0;
		padding-bottom: 0;
	}

	.pcard--sm .pcard__media {
		width: 100%;
	}

	.shop {
		grid-template-columns: 1fr;
	}

	.filters {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.reviews,
	.posts {
		grid-template-columns: repeat(2, 1fr);
	}

	.rs-site .woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
	}

	.rs-site #customer_details,
	.rs-site #order_review,
	.rs-site #order_review_heading {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	:root {
		--gut: 16px;
	}

	.mb__in {
		grid-template-columns: 1fr;
		justify-items: center;
		padding-block: 6px;
		text-align: center;
	}

	.mb__item--mid,
	.mb__in > :last-child {
		display: none;
	}

	.hdr__in {
		min-height: 66px;
		gap: 10px;
	}

	.brand img {
		height: 36px;
	}

	.hdr__cta {
		display: none;
	}

	.hero__title {
		font-size: clamp(2.2rem, 11vw, 3.1rem);
	}

	.hero__chip {
		inset-inline-start: 8px;
		inset-block-end: 8px;
		max-width: calc(100% - 16px);
	}

	.grid,
	.grid--4,
	.grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.cats__row {
		grid-template-columns: repeat(2, 1fr);
	}

	.promos__grid {
		grid-template-columns: 1fr;
	}

	.promo {
		min-height: 180px;
	}

	.sec__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.story__in {
		grid-template-columns: 1fr;
	}

	.trust__row {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 8px;
	}

	.trust__row li:nth-child(3) {
		border-inline-start: 0;
	}

	.reviews,
	.posts {
		grid-template-columns: 1fr;
	}

	.filters {
		grid-template-columns: 1fr;
	}

	.product {
		grid-template-columns: 1fr;
	}

	.product__gallery {
		grid-template-columns: 1fr;
	}

	.product__thumbs {
		flex-direction: row;
		order: 2;
	}

	.product__thumb {
		flex: 1 1 0;
	}

	.rails {
		grid-template-columns: 1fr;
	}

	.specs {
		grid-template-columns: 1fr;
	}

	.rs-site .woocommerce-billing-fields__field-wrapper,
	.rs-site .woocommerce-shipping-fields__field-wrapper,
	.rs-site .woocommerce-additional-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.rs-site .cart-collaterals {
		grid-template-columns: 1fr;
	}

	.rs-site .woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	.news {
		flex-direction: column;
		align-items: flex-start;
	}

	.news__field {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
	}

	.ftr__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.pcard__quick {
		opacity: 1;
		transform: none;
	}

	/* cart table → stacked rows */
	.rs-site table.shop_table_responsive thead {
		display: none;
	}

	.rs-site table.shop_table_responsive tr {
		display: block;
		padding: 12px;
		border-bottom: 1px solid var(--line);
	}

	.rs-site table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: 0;
		text-align: end;
	}

	.rs-site table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--muted);
		text-align: start;
	}
}

@media (max-width: 420px) {
	.grid,
	.grid--4,
	.grid--3 {
		grid-template-columns: 1fr;
	}

	.ftr__grid {
		grid-template-columns: 1fr;
	}
}
