:root {
	--hrp-primary: #172d4a;
	--hrp-primary-dark: #102239;
	--hrp-title: #172d4a;
	--hrp-surface: #f6f8fb;
	--hrp-border: #e5eaf0;
	--hrp-discount: #d92d4b;
	--hrp-muted: #6b7280;
	--hrp-white: #fff;
	--hrp-post-image-width: 240px;
	--hrp-product-image-height: 250px;
	--hrp-mobile-image-width: 118px;
}

.hrp-related-post,.hrp-related-products { box-sizing: border-box; width: 100%; min-width: 0; margin-block: 2rem; color: var(--hrp-title); font-family: inherit; direction: rtl; container-type: inline-size; }
.hrp-related-post *,.hrp-related-post *::before,.hrp-related-post *::after,.hrp-related-products *,.hrp-related-products *::before,.hrp-related-products *::after { box-sizing: border-box; }

/* Related article */
.hrp-card { display: grid; grid-template-columns: minmax(min(var(--hrp-post-image-width),34%),var(--hrp-post-image-width)) minmax(0,1fr); align-items: stretch; width: 100%; min-width: 0; max-width: 100%; color: var(--hrp-title) !important; text-decoration: none !important; background: var(--hrp-surface); border: 1px solid var(--hrp-border); border-radius: 14px; box-shadow: 0 8px 24px rgba(23,45,74,.08); overflow: hidden; isolation: isolate; transition: border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease; }
.hrp-card:hover { color: var(--hrp-title) !important; border-color: color-mix(in srgb,var(--hrp-primary) 34%,transparent); box-shadow: 0 12px 30px rgba(23,45,74,.12); transform: translateY(-2px); }
.hrp-card:focus-visible,.hrp-product:focus-visible { outline: 3px solid color-mix(in srgb,var(--hrp-primary) 24%,transparent); outline-offset: 3px; }
.hrp-card__media { display: block; align-self: center; justify-self: center; width: calc(100% - 10px); max-width: calc(100% - 10px); min-width: 0; margin: 5px; aspect-ratio: 4/3; background: #e8eef4; border: 1px solid var(--hrp-border); border-radius: 10px; overflow: hidden; }
.hrp-card__image { position: relative; inset: auto; display: block; width: 100% !important; max-width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; border: 0; transition: transform 320ms ease; }
.hrp-card:hover .hrp-card__image:not(.hrp-card__image--placeholder) { transform: scale(1.025); }
.hrp-card__image--placeholder,.hrp-product__image--placeholder { display: grid; place-items: center; color: color-mix(in srgb,var(--hrp-primary) 52%,transparent); background: #e8eef4; }
.hrp-card__image--placeholder svg,.hrp-product__image--placeholder svg { width: 42px; height: 42px; }
.hrp-card__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; min-width: 0; padding: 22px 28px 22px 58px; text-align: right; }
.hrp-card__content::before { position: absolute; top: 24px; bottom: 24px; left: 28px; width: 3px; content: ""; background: var(--hrp-primary); border-radius: 999px; }
.hrp-card__label { display: inline-flex; align-items: center; min-height: 29px; padding: 4px 12px; color: var(--hrp-white); background: var(--hrp-primary); border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.hrp-card__category { display: inline-flex; align-items: center; gap: 7px; color: var(--hrp-muted); font-size: 12px; font-weight: 500; line-height: 1.6; }
.hrp-card__category::before { flex: 0 0 7px; width: 7px; height: 7px; content: ""; background: var(--hrp-primary); border-radius: 50%; }
.hrp-card__title { display: -webkit-box; width: 100%; min-width: 0; overflow: hidden; color: var(--hrp-title); font-size: clamp(17px,2vw,21px); font-weight: 800; line-height: 1.7; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.hrp-card__cta,.hrp-product__cta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 5px 13px; color: var(--hrp-primary); background: transparent; border: 1px solid var(--hrp-primary); border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; transition: color 180ms ease,background-color 180ms ease; }
.hrp-card__arrow { display: inline-block; font-family: Arial,sans-serif; font-size: 17px; font-weight: 400; line-height: 1; transition: transform 180ms ease; }
.hrp-card:hover .hrp-card__cta,.hrp-product:hover .hrp-product__cta { color: var(--hrp-white); background: var(--hrp-primary); }
.hrp-card:hover .hrp-card__arrow { transform: translateX(-3px); }

/* Shared product callout */
.hrp-related-products { position: relative; padding: 18px; background: var(--hrp-surface); border: 1px solid var(--hrp-border); border-radius: 14px; box-shadow: 0 8px 24px rgba(23,45,74,.08); }
.hrp-products__header { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 14px; }
.hrp-products { display: grid; gap: 16px; min-width: 0; }
.hrp-products--double { grid-template-columns: repeat(2,minmax(0,1fr)); }
.hrp-product { position: relative; display: grid; min-width: 0; overflow: hidden; color: var(--hrp-title) !important; text-decoration: none !important; background: var(--hrp-white); border: 1px solid var(--hrp-border); border-radius: 12px; transition: border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease; scroll-snap-align: start; }
.hrp-product:hover { color: var(--hrp-title) !important; border-color: color-mix(in srgb,var(--hrp-primary) 34%,transparent); box-shadow: 0 9px 23px rgba(23,45,74,.1); transform: translateY(-2px); }
.hrp-product__media { display: grid; place-items: center; min-width: 0; height: min(var(--hrp-product-image-height),32vw); min-height: 170px; padding: 14px; background: var(--hrp-white); overflow: hidden; }
.hrp-product__image { align-self: center !important; justify-self: center !important; display: block; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; margin: auto !important; object-fit: contain !important; object-position: 50% 50% !important; }
.hrp-product__body { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 15px 16px 8px; text-align: right; }
.hrp-product__title { display: -webkit-box; min-height: 3.3em; overflow: hidden; color: var(--hrp-title); font-size: 15px; font-weight: 800; line-height: 1.65; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.hrp-product__features { display: flex; flex-direction: column; gap: 7px; color: var(--hrp-muted); font-size: 12px; line-height: 1.65; }
.hrp-product__features>span { position: relative; padding-inline-start: 14px; }
.hrp-product__features>span::before { position: absolute; top: .75em; inset-inline-start: 0; width: 6px; height: 6px; content: ""; background: var(--hrp-primary); border-radius: 50%; transform: translateY(-50%); }
.hrp-product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; padding: 8px 16px 16px; }
.hrp-product__discount { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px; color: var(--hrp-discount); background: color-mix(in srgb,var(--hrp-discount) 11%,white); border-radius: 999px; font-size: 11px; font-weight: 800; }
.hrp-product__buy del { color: var(--hrp-muted); font-size: 11px; opacity: .8; }
.hrp-product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 5px; width: 100%; min-width: 0; max-width: 100%; color: var(--hrp-title); font-size: 18px; font-weight: 900; line-height: 1.5; overflow-wrap: anywhere; }
.hrp-product__price .woocommerce-Price-amount { display: inline-block; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.hrp-product__price small { font-size: 12px; font-weight: 700; }
.hrp-product__price .woocommerce-Price-currencySymbol { font-size: .7em; font-weight: 700; }
.hrp-product__cta { margin-top: 3px; }

/* Single-product information-rich layout */
.hrp-products--single .hrp-product { grid-template-columns: minmax(210px,32%) minmax(0,1fr) minmax(0,27%); align-items: stretch; }
.hrp-products--single .hrp-product__media { height: min(var(--hrp-product-image-height),290px); min-height: 210px; border-inline-end: 1px solid var(--hrp-border); }
.hrp-products--single .hrp-product__body { justify-content: center; padding: 22px 24px; }
.hrp-products--single .hrp-product__title { min-height: 0; font-size: clamp(18px,2vw,23px); -webkit-line-clamp: 3; line-clamp: 3; }
.hrp-products--single .hrp-product__buy { position: relative; align-content: center; min-width: 0; padding: 22px; border-inline-start: 1px solid var(--hrp-border); overflow: hidden; }
.hrp-products--single .hrp-product__buy::after { position: absolute; top: 22px; bottom: 22px; left: 14px; width: 3px; content: ""; background: var(--hrp-primary); border-radius: 999px; }
.hrp-products--single .hrp-product__price { font-size: clamp(16px,2.5cqw,23px); }

/* Two products: each card keeps the compact horizontal composition from the approved mockup. */
.hrp-products--double .hrp-product { grid-template-columns: minmax(135px,42%) minmax(0,1fr); grid-template-rows: auto 1fr; }
.hrp-products--double .hrp-product__media { grid-row: 1/3; height: min(var(--hrp-product-image-height),235px); min-height: 190px; border-inline-end: 1px solid var(--hrp-border); }
.hrp-products--double .hrp-product__body { justify-content: center; padding: 14px 15px 5px; }
.hrp-products--double .hrp-product__features { min-height: 58px; gap: 4px; font-size: 10.5px; }
.hrp-products--double .hrp-product__features>span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.hrp-products--double .hrp-product__buy { align-content: start; padding: 5px 15px 16px; }
.hrp-products--double .hrp-product__price { font-size: 17px; }

/* Carousel: native swipe/trackpad scrolling, without arrow buttons. */
.hrp-carousel { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.hrp-products--carousel { grid-auto-flow: column; grid-auto-columns: calc(40% - 10px); gap: 12px; overflow-x: auto; padding: 3px 0; cursor: grab; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.hrp-products--carousel:active { cursor: grabbing; }
.hrp-products--carousel .hrp-product { grid-template-columns: minmax(105px,44%) minmax(0,1fr); grid-template-rows: auto 1fr; }
.hrp-products--carousel .hrp-product__media { grid-row: 1/3; height: min(var(--hrp-product-image-height),225px); min-height: 190px; border-inline-end: 1px solid var(--hrp-border); }
.hrp-products--carousel .hrp-product__body { justify-content: end; padding: 14px 12px 4px; }
.hrp-products--carousel .hrp-product__features { gap: 4px; font-size: 10px; }
.hrp-products--carousel .hrp-product__features>span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.hrp-products--carousel .hrp-product__buy { align-content: start; gap: 6px; padding: 4px 12px 13px; }
.hrp-products--carousel .hrp-product__price { font-size: 15px; }
.hrp-products--carousel .hrp-product__cta { min-height: 30px; padding: 4px 9px; font-size: 10.5px; }
.hrp-products--carousel::-webkit-scrollbar { display: none; }
.hrp-carousel__dots { display: flex; justify-content: center; gap: 7px; min-height: 10px; margin-top: 14px; }
.hrp-carousel__dot { width: 8px; height: 8px; background: #cfd6df; border-radius: 50%; transition: width 180ms ease,background 180ms ease; }
.hrp-carousel__dot.is-active { width: 21px; background: var(--hrp-primary); border-radius: 99px; }

/* Component-level responsiveness: reacts to the article column, not only the browser width. */
@container (max-width: 900px) {
	.hrp-products--single .hrp-product { grid-template-columns: minmax(185px,34%) minmax(0,1fr); }
	.hrp-products--single .hrp-product__buy { grid-column: 1/-1; justify-content: flex-start; padding: 12px 18px 15px; border-top: 1px solid var(--hrp-border); border-inline-start: 0; overflow: visible; }
	.hrp-products--single .hrp-product__buy::after { display: none; }
	.hrp-products--single .hrp-product__price { width: auto; max-width: 100%; margin-inline-end: auto; }
	.hrp-products--carousel { grid-auto-columns: calc(44.444% - 7px); }
}

@container (max-width: 680px) {
	.hrp-card { grid-template-columns: var(--hrp-mobile-image-width) minmax(0,1fr); min-height: 148px; border-radius: 13px; }
	.hrp-card__media { width: calc(var(--hrp-mobile-image-width) - 14px); max-width: calc(var(--hrp-mobile-image-width) - 14px); height: auto; margin: 0; aspect-ratio: 4/3; border-radius: 9px; }
	.hrp-card__content { gap: 7px; padding: 15px 10px 12px 14px; }
	.hrp-card__content::before { top: 0; bottom: auto; left: 14px; width: 42px; height: 3px; }
	.hrp-card__label { min-height: 24px; padding: 3px 9px; font-size: 10.5px; }
	.hrp-card__category { display: none; }
	.hrp-card__title { font-size: 14px; line-height: 1.65; -webkit-line-clamp: 3; line-clamp: 3; }
	.hrp-card__cta { min-height: 29px; padding: 3px 9px; font-size: 10.5px; }
	.hrp-card__arrow { font-size: 14px; }

	.hrp-products--double { grid-template-columns: 1fr; }
	.hrp-products--single .hrp-product { grid-template-columns: 1fr; }
	.hrp-products--single .hrp-product__media { position: relative; height: min(var(--hrp-product-image-height),46cqw); min-height: 130px; max-height: 190px; padding: 10px; border-inline-end: 0; border-bottom: 1px solid var(--hrp-border); }
	.hrp-products--single .hrp-product__image:not(.hrp-product__image--placeholder) { position: absolute !important; top: 50% !important; right: auto !important; bottom: auto !important; left: 50% !important; width: auto !important; height: auto !important; max-width: 86% !important; max-height: 86% !important; margin: 0 !important; transform: translate(-50%,-50%) !important; }
	.hrp-products--single .hrp-product__body { gap: 6px; padding: 11px 12px 4px; }
	.hrp-products--single .hrp-product__title { font-size: 15.5px; line-height: 1.55; }
	.hrp-products--single .hrp-product__features { gap: 4px; font-size: 10.5px; }
	.hrp-products--single .hrp-product__buy { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; padding: 4px 12px 11px; border-top: 0; border-inline-start: 0; overflow: visible; }
	.hrp-products--single .hrp-product__buy::after { display: none; }
	.hrp-products--single .hrp-product__price { width: 100%; margin: 0; font-size: 16px; }
	.hrp-products--single .hrp-product__cta { min-height: 29px; margin: 0; padding: 3px 10px; font-size: 10.5px; }
	.hrp-products--carousel { grid-auto-columns: min(82cqw,285px); gap: 12px; }
	.hrp-products--carousel .hrp-product { grid-template-columns: minmax(105px,40%) minmax(0,1fr); }
	.hrp-products--carousel .hrp-product__media { height: auto; min-height: 175px; }
}

@media (max-width: 900px) {
	.hrp-products--single .hrp-product { grid-template-columns: minmax(200px,35%) minmax(0,1fr); }
	.hrp-products--single .hrp-product__buy { grid-column: 1/-1; justify-content: flex-start; padding: 14px 20px 18px; border-top: 1px solid var(--hrp-border); border-inline-start: 0; }
	.hrp-products--single .hrp-product__buy::after { display: none; }
	.hrp-products--single .hrp-product__price { width: auto; margin-inline-end: auto; }
	.hrp-products--carousel { grid-auto-columns: calc(44.444% - 7px); }
}

@media (max-width: 650px) {
	.hrp-related-post,.hrp-related-products { margin-block: 1.5rem; }
	.hrp-card { grid-template-columns: var(--hrp-mobile-image-width) minmax(0,1fr); min-height: 148px; border-radius: 13px; box-shadow: 0 7px 20px rgba(23,45,74,.08); }
	.hrp-card__media { align-self: center; justify-self: center; width: calc(var(--hrp-mobile-image-width) - 14px); max-width: calc(var(--hrp-mobile-image-width) - 14px); height: auto; margin: 0; aspect-ratio: 4/3; border-radius: 9px; }
	.hrp-card__content { gap: 7px; padding: 15px 10px 12px 14px; }
	.hrp-card__content::before { top: 0; bottom: auto; left: 14px; width: 42px; height: 3px; }
	.hrp-card__label { min-height: 24px; padding: 3px 9px; font-size: 10.5px; }
	.hrp-card__category { display: none; }
	.hrp-card__title { font-size: 14px; line-height: 1.65; -webkit-line-clamp: 3; line-clamp: 3; }
	.hrp-card__cta { min-height: 29px; padding: 3px 9px; font-size: 10.5px; }
	.hrp-card__arrow { font-size: 14px; }

	.hrp-related-products { padding: 11px; }
	.hrp-related-products[data-layout="single"] .hrp-products__header { margin-bottom: 10px; }
	.hrp-products--double { grid-template-columns: 1fr; }
	.hrp-products--single .hrp-product { grid-template-columns: 1fr; }
	.hrp-products--single .hrp-product__media { position: relative; height: min(var(--hrp-product-image-height),46vw); min-height: 130px; max-height: 190px; padding: 10px; border-inline-end: 0; border-bottom: 1px solid var(--hrp-border); }
	.hrp-products--single .hrp-product__image:not(.hrp-product__image--placeholder) { position: absolute !important; top: 50% !important; right: auto !important; bottom: auto !important; left: 50% !important; width: auto !important; height: auto !important; max-width: 86% !important; max-height: 86% !important; margin: 0 !important; transform: translate(-50%,-50%) !important; }
	.hrp-products--single .hrp-product__body { gap: 6px; padding: 11px 12px 4px; }
	.hrp-products--single .hrp-product__title { font-size: 15.5px; line-height: 1.55; }
	.hrp-products--single .hrp-product__features { gap: 4px; font-size: 10.5px; }
	.hrp-products--single .hrp-product__buy { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; padding: 4px 12px 11px; border-top: 0; overflow: visible; }
	.hrp-products--single .hrp-product__price { width: 100%; margin: 0; font-size: 16px; }
	.hrp-products--single .hrp-product__cta { min-height: 29px; margin: 0; padding: 3px 10px; font-size: 10.5px; }
	.hrp-products--double .hrp-product { grid-template-columns: minmax(105px,36%) minmax(0,1fr); }
	.hrp-products--double .hrp-product__media { height: auto; min-height: 145px; }
	.hrp-products--double .hrp-product__body { justify-content: center; padding: 12px 12px 4px; }
	.hrp-products--double .hrp-product__buy { grid-column: 2; padding: 4px 12px 13px; }
	.hrp-products--double .hrp-product__price { font-size: 16px; }
	.hrp-products--carousel { grid-auto-columns: min(82vw,285px); gap: 12px; }
	.hrp-products--carousel .hrp-product { grid-template-columns: minmax(105px,40%) minmax(0,1fr); }
	.hrp-products--carousel .hrp-product__media { height: auto; min-height: 175px; }
	.hrp-product__media { height: min(var(--hrp-product-image-height),60vw); min-height: 155px; }
	.hrp-products--single .hrp-product__media { height: min(var(--hrp-product-image-height),46vw); min-height: 130px; max-height: 190px; }
}

@media (max-width: 380px) {
	.hrp-card { grid-template-columns: min(var(--hrp-mobile-image-width),108px) minmax(0,1fr); }
	.hrp-card__media { width: min(calc(var(--hrp-mobile-image-width) - 12px),96px); height: auto; aspect-ratio: 4/3; }
	.hrp-card__title { font-size: 13px; line-height: 1.6; }
	.hrp-products--double .hrp-product { grid-template-columns: 100px minmax(0,1fr); }
}

/* Optional vertical product-card style: image above, all information below. */
.hrp-related-products[data-card-style="vertical"] .hrp-product {
	grid-template-columns: minmax(0,1fr);
	grid-template-rows: auto 1fr auto;
	align-content: stretch;
}
.hrp-related-products[data-card-style="vertical"] .hrp-product__media {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	height: min(var(--hrp-product-image-height),240px);
	min-height: 190px;
	padding: 16px;
	border-inline-end: 0;
	border-bottom: 1px solid var(--hrp-border);
}
.hrp-related-products[data-card-style="vertical"] .hrp-product__image:not(.hrp-product__image--placeholder) {
	position: absolute !important;
	top: 50% !important;
	right: auto !important;
	bottom: auto !important;
	left: 50% !important;
	width: auto !important;
	height: auto !important;
	max-width: 82% !important;
	max-height: 82% !important;
	margin: 0 !important;
	object-fit: contain !important;
	transform: translate(-50%,-50%) !important;
}
.hrp-related-products[data-card-style="vertical"] .hrp-product__body {
	grid-column: 1;
	grid-row: 2;
	justify-content: flex-start;
	padding: 15px 16px 7px;
}
.hrp-related-products[data-card-style="vertical"] .hrp-product__buy {
	grid-column: 1;
	grid-row: 3;
	align-content: start;
	padding: 7px 16px 16px;
	border: 0;
	overflow: visible;
}
.hrp-related-products[data-card-style="vertical"] .hrp-product__buy::after { display: none; }
.hrp-related-products[data-card-style="vertical"] .hrp-product__features { min-height: 0; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--single { display: flex; justify-content: center; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product { flex: 0 1 290px; width: min(100%,290px); max-width: 100%; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__media {
	height: min(var(--hrp-product-image-height),300px);
	min-height: 220px;
}
.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__body { padding: 18px 20px 8px; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__buy { padding: 8px 20px 19px; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__price { width: 100%; margin: 0; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--double .hrp-product__media {
	height: min(var(--hrp-product-image-height),235px);
	min-height: 190px;
}
.hrp-related-products[data-card-style="vertical"] .hrp-products--double .hrp-product__body { padding: 14px 15px 6px; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--double .hrp-product__buy { padding: 6px 15px 15px; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--carousel .hrp-product__media {
	height: min(var(--hrp-product-image-height),215px);
	min-height: 175px;
}
.hrp-related-products[data-card-style="vertical"] .hrp-products--carousel .hrp-product__body { justify-content: flex-start; padding: 12px 12px 5px; }
.hrp-related-products[data-card-style="vertical"] .hrp-products--carousel .hrp-product__buy { padding: 5px 12px 13px; }

@container (max-width: 680px) {
	.hrp-related-products[data-card-style="vertical"] .hrp-product__media,
	.hrp-related-products[data-card-style="vertical"] .hrp-products--double .hrp-product__media,
	.hrp-related-products[data-card-style="vertical"] .hrp-products--carousel .hrp-product__media { height: min(var(--hrp-product-image-height),52cqw); min-height: 145px; max-height: 205px; padding: 12px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__media { height: min(var(--hrp-product-image-height),46cqw); min-height: 130px; max-height: 190px; padding: 10px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-product__body { padding: 11px 12px 4px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-product__buy { padding: 4px 12px 12px; }
}

@media (max-width: 650px) {
	.hrp-related-products[data-card-style="vertical"] .hrp-product__media,
	.hrp-related-products[data-card-style="vertical"] .hrp-products--double .hrp-product__media,
	.hrp-related-products[data-card-style="vertical"] .hrp-products--carousel .hrp-product__media { height: min(var(--hrp-product-image-height),52vw); min-height: 145px; max-height: 205px; padding: 12px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-products--single .hrp-product__media { height: min(var(--hrp-product-image-height),46vw); min-height: 130px; max-height: 190px; padding: 10px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-product__body { padding: 11px 12px 4px; }
	.hrp-related-products[data-card-style="vertical"] .hrp-product__buy { padding: 4px 12px 12px; }
}

/* Desktop article card restores its horizontal composition; mobile stacks the image above the text. */
.hrp-related-post .hrp-card { grid-template-columns: minmax(0,min(var(--hrp-post-image-width),34%)) minmax(0,1fr); width: 100%; min-height: 170px; }
.hrp-related-post .hrp-card__media { width: calc(100% - 10px); max-width: calc(100% - 10px); height: auto; max-height: none; margin: 5px; }
.hrp-related-post .hrp-card__content { gap: 9px; padding: 18px 24px 18px 48px; }
.hrp-related-post .hrp-card__content::before { top: 18px; right: auto; bottom: 18px; left: 18px; width: 3px; height: auto; }
.hrp-related-post .hrp-card__category { display: inline-flex; }
.hrp-related-products .hrp-products--carousel.hrp-products--two { grid-auto-columns: calc(56% - 6px); }
.hrp-products--carousel.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto !important; scroll-snap-type: none !important; }
.hrp-products--carousel .hrp-product,.hrp-products--carousel .hrp-product__image { -webkit-user-drag: none; }
.hrp-related-post .hrp-card__content,.hrp-related-post .hrp-card__title,.hrp-related-products .hrp-products__header,.hrp-related-products .hrp-product__body,.hrp-related-products .hrp-product__buy,.hrp-related-products .hrp-product__title,.hrp-related-products .hrp-product__features,.hrp-related-products .hrp-product__price { direction: rtl; text-align: right !important; }
@container (max-width: 680px) { .hrp-related-products .hrp-products--carousel.hrp-products--two { grid-auto-columns: calc(75% - 4px); } }
@media (max-width: 650px) { .hrp-related-products .hrp-products--carousel.hrp-products--two { grid-auto-columns: calc(75% - 4px); } }

@container (max-width: 680px) {
	.hrp-related-post .hrp-card { grid-template-columns: minmax(0,1fr); min-height: 0; }
	.hrp-related-post .hrp-card__media { width: calc(100% - 16px); max-width: calc(100% - 16px); height: auto; max-height: 220px; margin: 8px; }
	.hrp-related-post .hrp-card__content { gap: 7px; padding: 13px 16px 16px; }
	.hrp-related-post .hrp-card__content::before { top: 7px; right: 16px; bottom: auto; left: auto; width: 42px; height: 3px; }
}
@media (max-width: 650px) {
	.hrp-related-post .hrp-card { grid-template-columns: minmax(0,1fr); min-height: 0; }
	.hrp-related-post .hrp-card__media { width: calc(100% - 16px); max-width: calc(100% - 16px); height: auto; max-height: 220px; margin: 8px; }
	.hrp-related-post .hrp-card__content { gap: 7px; padding: 13px 16px 16px; }
	.hrp-related-post .hrp-card__content::before { top: 7px; right: 16px; bottom: auto; left: auto; width: 42px; height: 3px; }
}

@media (prefers-reduced-motion: reduce) {
	.hrp-card,.hrp-card__image,.hrp-card__cta,.hrp-card__arrow,.hrp-product,.hrp-product__cta,.hrp-products--carousel,.hrp-carousel__dot { transition: none; scroll-behavior: auto; }
}
