/* ==========================================================================
   Edaroo24 redesign — front page
   ========================================================================== */

/* Woodmart wraps content in a padded .container; the home page manages its own width. */
.ed-rd-home .wd-content-layout.container,
.ed-rd-home main#main-content {
	max-width: none;
	padding: 0;
	display: block;
}

.ed-rd-home .wd-page-content {
	padding-top: 0;
	padding-bottom: 0;
}

.ed-rd .ed-home {
	padding-bottom: 24px;
	overflow-x: clip;
}

.ed-rd .ed-section {
	margin-top: 56px;
}

/* ---------- Section heading ---------- */
.ed-rd .ed-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.ed-rd .ed-head__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 900;
	line-height: 1.4;
	color: var(--ed-ink);
}

.ed-rd .ed-head__icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--ed-primary-50);
	color: var(--ed-primary);
}

.ed-rd .ed-head__icon .ed-ico {
	width: 22px;
	height: 22px;
}

.ed-rd .ed-head__sub {
	margin: 6px 54px 0 0;
	color: var(--ed-muted);
	font-size: 14px;
}

.ed-rd .ed-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--ed-primary-700) !important;
	background: var(--ed-primary-50);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

.ed-rd .ed-more:hover {
	background: var(--ed-primary);
	color: #fff !important;
}

.ed-rd .ed-more .ed-ico {
	width: 16px;
	height: 16px;
}

/* ---------- Eyebrow ---------- */
.ed-rd .ed-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: var(--ed-primary-50);
	color: var(--ed-primary-700);
	font-size: 13px;
	font-weight: 700;
}

.ed-rd .ed-eyebrow--light {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

.ed-rd .ed-pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ed-green);
}

.ed-rd .ed-pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--ed-green);
	opacity: 0;
	animation: ed-pulse 2s ease-out infinite;
}

@keyframes ed-pulse {
	0% { transform: scale(.6); opacity: .8; }
	100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Hero ---------- */
.ed-rd .ed-hero {
	padding-top: 28px;
	background:
		radial-gradient(800px 420px at 90% -10%, var(--ed-primary-100), transparent 70%),
		radial-gradient(600px 380px at 0% 30%, #e9f7ef, transparent 70%);
}

.ed-rd .ed-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 28px;
	align-items: stretch;
}

.ed-rd .ed-hero__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 12px 0;
}

.ed-rd .ed-hero__title {
	margin: 18px 0 14px;
	font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.45;
	font-weight: 900;
	color: var(--ed-ink);
}

.ed-rd .ed-hero__title em {
	font-style: normal;
	color: var(--ed-primary);
	background: linear-gradient(transparent 62%, var(--ed-primary-100) 62%);
	padding-inline: 4px;
}

.ed-rd .ed-hero__text {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 2;
	color: var(--ed-text);
	max-width: 520px;
}

/* search */
.ed-rd .ed-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 560px;
	background: #fff;
	border-radius: 18px;
	padding: 6px;
	box-shadow: var(--ed-shadow), 0 0 0 1px var(--ed-line);
	transition: box-shadow .2s;
}

.ed-rd .ed-search:focus-within {
	box-shadow: var(--ed-shadow), 0 0 0 2px var(--ed-primary), 0 0 0 6px var(--ed-primary-50);
}

.ed-rd .ed-search__ico {
	position: absolute;
	inset-inline-start: 18px;
	color: var(--ed-muted);
	pointer-events: none;
}

.ed-rd .ed-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 50px;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding-inline: 46px 12px;
	font-size: 15px;
	color: var(--ed-ink);
}

.ed-rd .ed-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.ed-rd .ed-search .ed-btn {
	min-height: 50px;
	border-radius: 14px;
	padding-inline: 26px;
}

.ed-rd .ed-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.ed-rd .ed-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.ed-rd .ed-hero__stats li {
	display: flex;
	flex-direction: column;
	padding-inline: 0 22px;
	margin-inline: 0 22px;
	border-inline-end: 1px solid var(--ed-line);
}

.ed-rd .ed-hero__stats li:last-child {
	border: 0;
	margin: 0;
	padding: 0;
}

.ed-rd .ed-hero__stats b {
	font-size: 22px;
	font-weight: 900;
	color: var(--ed-ink);
	line-height: 1.4;
}

.ed-rd .ed-hero__stats span {
	font-size: 12.5px;
	color: var(--ed-muted);
}

/* slider */
.ed-rd .ed-hero__media {
	position: relative;
	min-width: 0;
}

.ed-rd .ed-slider {
	position: relative;
	height: 100%;
	min-height: 360px;
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	background: var(--ed-primary-50);
	box-shadow: var(--ed-shadow-lg);
}

.ed-rd .ed-slider__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-behavior: smooth;
}

.ed-rd .ed-slider__track::-webkit-scrollbar {
	display: none;
}

.ed-rd .ed-slider__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	position: relative;
	display: block;
}

.ed-rd .ed-slider__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ed-rd .ed-slider__dots {
	position: absolute;
	bottom: 16px;
	inset-inline: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.ed-rd .ed-slider__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	min-height: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	cursor: pointer;
	transition: width .3s var(--ed-ease), background-color .3s;
}

.ed-rd .ed-slider__dots button[aria-selected="true"] {
	width: 26px;
	background: #fff;
}

.ed-rd .ed-hero__float {
	position: absolute;
	bottom: -18px;
	inset-inline-end: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 20px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--ed-shadow-lg);
}

.ed-rd .ed-hero__float b {
	display: block;
	color: var(--ed-ink);
	font-size: 14px;
	font-weight: 800;
}

.ed-rd .ed-hero__float small {
	color: var(--ed-muted);
	font-size: 12px;
}

.ed-rd .ed-hero__float-ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--ed-green-50);
	color: var(--ed-green);
}

/* ---------- Trust strip ---------- */
.ed-rd .ed-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 48px;
}

.ed-rd .ed-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r);
}

.ed-rd .ed-trust__item b {
	display: block;
	color: var(--ed-ink);
	font-size: 15px;
	font-weight: 800;
}

.ed-rd .ed-trust__item small {
	color: var(--ed-muted);
	font-size: 12.5px;
}

.ed-rd .ed-trust__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ed-primary-50);
	color: var(--ed-primary);
}

.ed-rd .ed-trust__item:nth-child(2) .ed-trust__ico { background: var(--ed-green-50); color: var(--ed-green); }
.ed-rd .ed-trust__item:nth-child(3) .ed-trust__ico { background: var(--ed-accent-50); color: var(--ed-accent-600); }
.ed-rd .ed-trust__item:nth-child(4) .ed-trust__ico { background: #f1edfd; color: #6b4fd8; }

/* ---------- Main categories ---------- */
.ed-rd .ed-cats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.ed-rd .ed-cat {
	--tint: var(--ed-primary-50);
	--tint-ink: var(--ed-primary-700);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	transition: box-shadow .25s var(--ed-ease), transform .25s var(--ed-ease), border-color .25s;
}

.ed-rd .ed-cat:nth-child(6n+2) { --tint: #fdeef3; --tint-ink: #b8325f; }
.ed-rd .ed-cat:nth-child(6n+3) { --tint: var(--ed-green-50); --tint-ink: #17784a; }
.ed-rd .ed-cat:nth-child(6n+4) { --tint: #fff4e0; --tint-ink: #a8620a; }
.ed-rd .ed-cat:nth-child(6n+5) { --tint: #eef0fd; --tint-ink: #4b55c4; }
.ed-rd .ed-cat:nth-child(6n+6) { --tint: var(--ed-accent-50); --tint-ink: var(--ed-accent-600); }

.ed-rd .ed-cat:hover {
	transform: translateY(-4px);
	box-shadow: var(--ed-shadow);
	border-color: transparent;
}

.ed-rd .ed-cat__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 12px 14px;
	background: linear-gradient(180deg, var(--tint), #fff 85%);
	color: var(--ed-ink) !important;
}

.ed-rd .ed-cat__img {
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	margin-bottom: 10px;
}

.ed-rd .ed-cat__img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform .35s var(--ed-ease);
}

.ed-rd .ed-cat:hover .ed-cat__img img {
	transform: scale(1.08) rotate(-3deg);
}

.ed-rd .ed-cat__name {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
}

.ed-rd .ed-cat__count {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--tint-ink);
}

.ed-rd .ed-cat__kids {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	padding: 0 10px 16px;
	margin-top: auto;
}

.ed-rd .ed-cat__kids a {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ed-bg);
	color: var(--ed-text) !important;
	font-size: 11.5px;
	line-height: 1.8;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background-color .2s, color .2s;
}

.ed-rd .ed-cat__kids a:hover {
	background: var(--tint);
	color: var(--tint-ink) !important;
}

/* ---------- Product card ---------- */
.ed-rd .ed-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r);
	padding: 10px;
	box-sizing: border-box;
	transition: box-shadow .25s var(--ed-ease), transform .25s var(--ed-ease), border-color .25s;
}

.ed-rd .ed-card:hover {
	box-shadow: var(--ed-shadow);
	transform: translateY(-3px);
	border-color: var(--ed-primary-100);
}

.ed-rd .ed-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.ed-rd .ed-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .4s var(--ed-ease);
}

.ed-rd .ed-card:hover .ed-card__media img {
	transform: scale(1.05);
}

.ed-rd .ed-badge {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.7;
	color: #fff;
}

.ed-rd .ed-badge--sale {
	background: var(--ed-accent);
	box-shadow: 0 6px 12px -6px rgba(242, 106, 27, .8);
}

.ed-rd .ed-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px 4px 2px;
}

.ed-rd .ed-card__cat {
	font-size: 11.5px;
	color: var(--ed-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ed-rd .ed-card__title {
	margin: 4px 0 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.75;
	min-height: 3.5em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ed-rd .ed-card__title a {
	color: var(--ed-ink) !important;
}

.ed-rd .ed-card__title a:hover {
	color: var(--ed-primary) !important;
}

.ed-rd .ed-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
}

.ed-rd .ed-card__price {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.5;
}

.ed-rd .ed-card__price .price,
.ed-rd .ed-card__price > .amount,
.ed-rd .ed-card__price ins,
.ed-rd .ed-card__price ins .amount,
.ed-rd .ed-card__price .amount {
	color: var(--ed-ink);
	font-size: 15.5px;
	font-weight: 900;
	text-decoration: none;
}

.ed-rd .ed-card__price del,
.ed-rd .ed-card__price del .amount {
	order: -1;
	color: var(--ed-muted) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.ed-rd .ed-card__price ins {
	display: block;
}

.ed-rd .ed-card__price .woocommerce-Price-currencySymbol {
	font-size: .72em;
	font-weight: 600;
	color: var(--ed-muted);
}

.ed-rd .ed-card__price .screen-reader-text {
	position: absolute;
}

/* add-to-cart square */
.ed-rd .ed-card .ed-add {
	flex: none;
	display: inline-grid !important;
	place-items: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0 !important;
	border-radius: 12px !important;
	background: var(--ed-primary-50) !important;
	color: var(--ed-primary-700) !important;
	border: 0;
	box-shadow: none;
	transition: background-color .2s, color .2s, transform .2s var(--ed-ease);
}

.ed-rd .ed-card .ed-add:hover {
	background: var(--ed-primary) !important;
	color: #fff !important;
	transform: scale(1.06);
}

.ed-rd .ed-card .ed-add .ed-ico {
	width: 20px;
	height: 20px;
}

.ed-rd .ed-card .ed-add.loading {
	opacity: .6;
	pointer-events: none;
}

.ed-rd .ed-card .ed-add.loading .ed-ico {
	animation: ed-spin .8s linear infinite;
}

.ed-rd .ed-card .ed-add.added {
	background: var(--ed-green) !important;
	color: #fff !important;
}

.ed-rd .ed-card .ed-add::after {
	display: none !important;
}

.ed-rd .ed-card .added_to_cart {
	display: none !important;
}

@keyframes ed-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Carousel ---------- */
.ed-rd .ed-carousel {
	position: relative;
	--per: 6;
	--gap: 14px;
}

.ed-rd .ed-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 6px 2px 14px;
	margin: -6px -2px -14px;
	overscroll-behavior-x: contain;
}

.ed-rd .ed-carousel__track::-webkit-scrollbar {
	display: none;
}

.ed-rd .ed-carousel__item {
	scroll-snap-align: start;
	min-width: 0;
}

.ed-rd .ed-carousel__btn {
	position: absolute;
	top: calc(50% - 22px);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--ed-line);
	background: #fff;
	color: var(--ed-ink);
	box-shadow: var(--ed-shadow);
	cursor: pointer;
	transition: opacity .2s, background-color .2s, color .2s, transform .2s;
}

.ed-rd .ed-carousel__btn:hover {
	background: var(--ed-primary);
	border-color: var(--ed-primary);
	color: #fff;
}

.ed-rd .ed-carousel__btn[disabled] {
	opacity: 0 !important;
	visibility: hidden;
	pointer-events: none;
}

.ed-rd .ed-carousel.is-static .ed-carousel__btn {
	display: none !important;
}

.ed-rd .ed-carousel__btn--prev {
	right: -18px;
}

.ed-rd .ed-carousel__btn--next {
	left: -18px;
}

/* ---------- Amazing offers ---------- */
.ed-rd .ed-offers {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 20px;
	border-radius: var(--ed-r-lg);
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
		linear-gradient(120deg, #f7562c, var(--ed-accent) 45%, #f79a2b);
	box-shadow: 0 24px 48px -24px rgba(242, 106, 27, .7);
	position: relative;
	overflow: hidden;
}

/* big percent mark fills the empty end of the row when only a few products are on sale */
.ed-rd .ed-offers::after {
	content: "٪";
	position: absolute;
	left: 3%;
	top: 50%;
	transform: translateY(-50%) rotate(-12deg);
	font-size: 300px;
	font-weight: 900;
	line-height: 1;
	color: rgba(255, 255, 255, .14);
	pointer-events: none;
}

.ed-rd .ed-offers:not(.ed-offers--few)::after {
	display: none;
}

.ed-rd .ed-offers > * {
	position: relative;
	z-index: 1;
}

.ed-rd .ed-offers__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: #fff;
	padding: 8px 8px 8px 0;
}

.ed-rd .ed-offers__intro h2 {
	margin: 4px 0 0;
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.45;
}

.ed-rd .ed-offers__intro p {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, .9);
	font-size: 14px;
}

.ed-rd .ed-offers__ico {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.ed-rd .ed-offers__ico .ed-ico {
	width: 28px;
	height: 28px;
}

.ed-rd .ed-offers .ed-carousel {
	--per: 5;
	--gap: 12px;
}

.ed-rd .ed-carousel--on-color .ed-card {
	border-color: transparent;
}

/* ---------- Prescription ---------- */
.ed-rd .ed-rx {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 36px;
	align-items: center;
	padding: 40px;
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(600px 300px at 0% 100%, rgba(31, 157, 85, .35), transparent 60%),
		linear-gradient(125deg, var(--ed-primary-800), var(--ed-primary) 70%);
}

.ed-rd .ed-rx::before {
	content: "";
	position: absolute;
	width: 340px;
	height: 340px;
	left: -90px;
	top: -120px;
	border-radius: 50%;
	border: 50px solid rgba(255, 255, 255, .06);
}

.ed-rd .ed-rx__content {
	position: relative;
}

.ed-rd .ed-rx h2 {
	margin: 14px 0 10px;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 900;
	line-height: 1.6;
}

.ed-rd .ed-rx p {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .86);
	font-size: 15px;
	line-height: 2;
}

.ed-rd .ed-rx__steps {
	position: relative;
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ed-rd .ed-rx__steps li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(6px);
}

.ed-rd .ed-rx__steps b {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

.ed-rd .ed-rx__steps small {
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
}

.ed-rd .ed-rx__num {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #fff;
	color: var(--ed-primary-700);
	font-size: 18px;
	font-weight: 900;
}

/* ---------- Promos ---------- */
.ed-rd .ed-promos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ed-rd .ed-promo {
	position: relative;
	display: block;
	align-self: start;
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	background: var(--ed-primary-50);
}

/* banners carry their own caption at the bottom edge: never crop them */
.ed-rd .ed-promo img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .6s var(--ed-ease);
}

.ed-rd .ed-promo:hover img {
	transform: scale(1.04);
}

.ed-rd .ed-promo__label {
	position: absolute;
	bottom: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(6px);
	color: var(--ed-ink);
	font-size: 15px;
	font-weight: 800;
	box-shadow: var(--ed-shadow);
	transition: background-color .2s, color .2s;
}

.ed-rd .ed-promo:hover .ed-promo__label {
	background: var(--ed-primary);
	color: #fff;
}

/* ---------- Popular categories ---------- */
.ed-rd .ed-pop {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 4px 2px 8px;
	margin: -4px -2px -8px;
	scroll-snap-type: x proximity;
}

.ed-rd .ed-pop::-webkit-scrollbar {
	display: none;
}

.ed-rd .ed-pop__item {
	flex: 0 0 auto;
	width: 112px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	scroll-snap-align: start;
	color: var(--ed-ink) !important;
}

.ed-rd .ed-pop__img {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--ed-line);
	transition: border-color .2s, box-shadow .25s, transform .25s var(--ed-ease);
}

.ed-rd .ed-pop__img img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.ed-rd .ed-pop__item:hover .ed-pop__img {
	border-color: var(--ed-primary);
	box-shadow: 0 0 0 4px var(--ed-primary-50);
	transform: translateY(-3px);
}

.ed-rd .ed-pop__name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

/* ---------- Blog ---------- */
.ed-rd .ed-posts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ed-rd .ed-post {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	transition: box-shadow .25s, transform .25s var(--ed-ease);
}

.ed-rd .ed-post:hover {
	box-shadow: var(--ed-shadow);
	transform: translateY(-3px);
}

.ed-rd .ed-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ed-primary-50);
}

.ed-rd .ed-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ed-ease);
}

.ed-rd .ed-post:hover .ed-post__media img {
	transform: scale(1.05);
}

.ed-rd .ed-post__body {
	padding: 16px 18px 20px;
}

.ed-rd .ed-post time {
	display: inline-block;
	font-size: 12px;
	color: var(--ed-primary-700);
	background: var(--ed-primary-50);
	padding: 2px 10px;
	border-radius: 999px;
}

.ed-rd .ed-post h3 {
	margin: 10px 0 6px;
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ed-rd .ed-post h3 a {
	color: var(--ed-ink) !important;
}

.ed-rd .ed-post h3 a:hover {
	color: var(--ed-primary) !important;
}

.ed-rd .ed-post p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--ed-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Consultation ---------- */
.ed-rd .ed-consult {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border-radius: var(--ed-r-lg);
	background: #fff;
	border: 1px solid var(--ed-line);
}

.ed-rd .ed-consult__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--ed-green-50);
	color: var(--ed-green);
}

.ed-rd .ed-consult__ico .ed-ico {
	width: 30px;
	height: 30px;
}

.ed-rd .ed-consult__text {
	flex: 1;
}

.ed-rd .ed-consult h2 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 900;
}

.ed-rd .ed-consult p {
	margin: 0;
	color: var(--ed-muted);
}

/* ---------- Android app ---------- */
.ed-rd .ed-apps--hero {
	margin-top: 22px;
}

.ed-rd .ed-app {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 30px 32px;
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	border: 1px solid var(--ed-line);
	background:
		radial-gradient(420px 240px at 0% 0%, rgba(31, 157, 85, .14), transparent 70%),
		linear-gradient(120deg, var(--ed-primary-50), #fff 75%);
}

.ed-rd .ed-app__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 84px;
	height: 84px;
	border-radius: 24px;
	background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-700));
	color: #fff;
	box-shadow: 0 14px 28px -12px rgba(10, 143, 168, .6);
}

.ed-rd .ed-app__ico .ed-ico {
	width: 42px;
	height: 42px;
}

.ed-rd .ed-app__text {
	flex: 1;
	min-width: 0;
}

.ed-rd .ed-app h2 {
	margin: 0 0 6px;
	color: var(--ed-ink);
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 900;
}

.ed-rd .ed-app p {
	margin: 0;
	color: var(--ed-muted);
	line-height: 1.9;
}

.ed-rd .ed-app .ed-apps {
	flex: none;
}

@media (max-width: 1024px) {
	.ed-rd .ed-app {
		flex-wrap: wrap;
	}

	.ed-rd .ed-app .ed-apps {
		flex-basis: 100%;
	}
}

@media (max-width: 768px) {
	.ed-rd .ed-app {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
		gap: 16px;
	}

	.ed-rd .ed-app__ico {
		width: 68px;
		height: 68px;
		border-radius: 20px;
	}

	.ed-rd .ed-app .ed-apps {
		width: 100%;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.ed-rd .ed-carousel { --per: 5; }
	.ed-rd .ed-offers .ed-carousel { --per: 4; }
	.ed-rd .ed-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.ed-rd .ed-hero__grid {
		grid-template-columns: 1fr;
	}

	.ed-rd .ed-hero__media {
		order: -1;
	}

	.ed-rd .ed-slider {
		min-height: 0;
		aspect-ratio: 2.2;
	}

	.ed-rd .ed-hero__float {
		display: none;
	}

	.ed-rd .ed-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 28px;
	}

	.ed-rd .ed-carousel { --per: 4; }

	.ed-rd .ed-offers {
		grid-template-columns: 1fr;
	}

	.ed-rd .ed-offers__intro {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding: 0;
	}

	.ed-rd .ed-offers__intro h2 br {
		display: none;
	}

	.ed-rd .ed-offers__intro h2 {
		font-size: 22px;
		margin: 0;
	}

	.ed-rd .ed-offers__intro p {
		display: none;
	}

	.ed-rd .ed-offers__intro .ed-btn {
		margin-inline-start: auto;
		min-height: 40px;
		padding-inline: 14px;
		font-size: 13px;
	}

	.ed-rd .ed-offers .ed-carousel { --per: 3; }

	.ed-rd .ed-rx {
		grid-template-columns: 1fr;
		padding: 28px;
	}

	.ed-rd .ed-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ed-rd .ed-carousel__btn {
		display: none;
	}
}

@media (max-width: 768px) {
	.ed-rd .ed-section {
		margin-top: 40px;
	}

	.ed-rd .ed-hero {
		padding-top: 14px;
	}

	.ed-rd .ed-hero__grid {
		gap: 18px;
	}

	.ed-rd .ed-slider {
		aspect-ratio: 1.9;
		border-radius: 18px;
	}

	.ed-rd .ed-hero__panel {
		padding: 0;
	}

	.ed-rd .ed-hero__title {
		font-size: 27px;
		margin: 14px 0 8px;
	}

	.ed-rd .ed-hero__text {
		font-size: 14.5px;
		margin-bottom: 18px;
	}

	.ed-rd .ed-search {
		border-radius: 16px;
	}

	.ed-rd .ed-search .ed-btn {
		padding-inline: 16px;
	}

	.ed-rd .ed-hero__ctas {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ed-rd .ed-hero__ctas .ed-btn {
		padding-inline: 10px;
		font-size: 14px;
	}

	.ed-rd .ed-hero__stats {
		width: 100%;
		justify-content: space-between;
	}

	.ed-rd .ed-hero__stats li {
		padding-inline: 0 12px;
		margin-inline: 0 12px;
	}

	.ed-rd .ed-hero__stats b {
		font-size: 18px;
	}

	.ed-rd .ed-hero__stats span {
		font-size: 11.5px;
	}

	.ed-rd .ed-trust {
		gap: 10px;
	}

	.ed-rd .ed-trust__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px;
	}

	.ed-rd .ed-trust__ico {
		width: 42px;
		height: 42px;
	}

	.ed-rd .ed-trust__item b {
		font-size: 14px;
	}

	.ed-rd .ed-head {
		align-items: center;
		margin-bottom: 16px;
	}

	.ed-rd .ed-head__icon {
		width: 36px;
		height: 36px;
		border-radius: 11px;
	}

	.ed-rd .ed-head__icon .ed-ico {
		width: 19px;
		height: 19px;
	}

	.ed-rd .ed-head__sub {
		display: none;
	}

	.ed-rd .ed-more {
		padding: 6px 12px;
		font-size: 12.5px;
	}

	.ed-rd .ed-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ed-rd .ed-cat__img {
		width: 72px;
		height: 72px;
	}

	.ed-rd .ed-cat__name {
		font-size: 14px;
	}

	.ed-rd .ed-cat__kids a:nth-child(n+3) {
		display: none;
	}

	.ed-rd .ed-carousel {
		--per: 2.15;
		--gap: 10px;
	}

	.ed-rd .ed-carousel__track {
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}

	.ed-rd .ed-offers {
		padding: 16px 0 16px 0;
		border-radius: 20px;
		gap: 14px;
	}

	.ed-rd .ed-offers__intro {
		padding: 0 16px;
	}

	.ed-rd .ed-offers .ed-carousel {
		--per: 2.15;
	}

	.ed-rd .ed-offers .ed-carousel__track {
		margin-inline: 0;
	}

	.ed-rd .ed-card {
		padding: 8px;
		border-radius: 14px;
	}

	.ed-rd .ed-card__title {
		font-size: 13px;
	}

	.ed-rd .ed-card__price .amount,
	.ed-rd .ed-card__price ins .amount {
		font-size: 14px;
	}

	.ed-rd .ed-card .ed-add {
		width: 36px;
		height: 36px;
		border-radius: 10px !important;
	}

	.ed-rd .ed-rx {
		padding: 24px 20px;
		gap: 22px;
	}

	.ed-rd .ed-rx .ed-btn {
		width: 100%;
	}

	.ed-rd .ed-promos {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ed-rd .ed-promo__label {
		bottom: 10px;
		right: 10px;
		padding: 8px 12px;
		font-size: 13.5px;
	}

	.ed-rd .ed-pop__item {
		width: 88px;
	}

	.ed-rd .ed-pop__img {
		width: 72px;
		height: 72px;
	}

	.ed-rd .ed-pop__img img {
		width: 48px;
		height: 48px;
	}

	.ed-rd .ed-pop__name {
		font-size: 12px;
	}

	.ed-rd .ed-posts {
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-inline: -16px;
		padding: 0 16px 8px;
		gap: 12px;
	}

	.ed-rd .ed-posts::-webkit-scrollbar {
		display: none;
	}

	.ed-rd .ed-post {
		scroll-snap-align: start;
	}

	.ed-rd .ed-consult {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
	}

	.ed-rd .ed-consult .ed-btn {
		width: 100%;
	}
}
