/* Relaxiram – футър, бюлетин, информационни страници и блог (31.10.2026).
   Отделен файл (не overrides.css – с него работи друга сесия); зарежда се последен в CSS_FILES (shop/templatetags/rlx.py) и влиза в used CSS (tools/cssbuild/build.mjs). */

/* ---------- 1) Емблемата с логото във футъра (вместо бялата кутия) ---------- */
.rlx-femb {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 34px 20px; border-radius: 28px;
	color: #e9bf7d; border: 1px solid rgba(240, 194, 122, .36);
	background:
		radial-gradient(130% 100% at 50% -10%, rgba(230, 25, 124, .18), rgba(230, 25, 124, 0) 58%),
		radial-gradient(90% 80% at 50% 120%, rgba(240, 194, 122, .12), rgba(240, 194, 122, 0) 60%),
		linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015));
	box-shadow: inset 0 0 0 5px rgba(20, 28, 22, .45), inset 0 0 0 6px rgba(240, 194, 122, .14), 0 34px 60px -34px rgba(0, 0, 0, .75);
}
.rlx-femb::before, .rlx-femb::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border: 1px solid rgba(240, 194, 122, .55); background: #22302a; transform: rotate(45deg); }
.rlx-femb::before { left: -4px; }
.rlx-femb::after { right: -4px; }
.rlx-femb__orn { display: block; line-height: 0; opacity: .85; }
.rlx-femb__orn svg { display: block; }
.rlx-foot__brand .rlx-femb__logo { display: block; padding: 0; border-radius: 0; background: none; box-shadow: none; transition: transform .5s var(--rlx-ease); }
.rlx-foot__brand .rlx-femb__logo:hover { transform: translateY(-2px) scale(1.02); }
.rlx-foot__brand .rlx-femb__logo img { display: block; width: 214px; height: auto; filter: drop-shadow(0 8px 18px rgba(230, 25, 124, .22)); }
.rlx-femb__motto {
	margin: 0; font-family: var(--rlx-serif); font-style: italic; font-size: 17px; line-height: 1.2; letter-spacing: .02em; color: #f0c27a;
	background: linear-gradient(90deg, #f3cf8f, #e8a37f 55%, #f3c9a8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rlx-foot-primary .rlx-femb { border-color: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12), 0 34px 60px -34px rgba(0, 0, 0, .6); }

/* ---------- 2) Колоните с връзки: марка + 4 колони ---------- */
.rlx-foot__grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.rlx-foot__links li { margin-bottom: 11px; }
@media (max-width: 1280px) and (min-width: 1081px) {
	.rlx-foot__grid { gap: 30px; }
	.rlx-foot__brand .rlx-femb__logo img { width: 190px; }
	.rlx-femb { padding: 20px 24px 18px; }
}
@media (max-width: 1080px) {
	.rlx-foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
	.rlx-foot__brand { align-items: center; }
}
@media (max-width: 680px) {
	.rlx-foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
	.rlx-foot__grid > section:last-child { grid-column: auto; }
	.rlx-foot__brand { text-align: center; }
	.rlx-femb { display: flex; margin: 0 auto; max-width: 320px; }
	.rlx-foot__brand .rlx-femb__logo img { width: 190px; }
	.rlx-foot__contacts { text-align: left; }
}

/* ---------- 3) Бюлетинът – цветя от GIMP четките на собственика (img/brush/, прозрачен WebP без загуби) ---------- */
.rlx-newsband__card { background: radial-gradient(620px 280px at 50% 0, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 70%), radial-gradient(420px 320px at 0 100%, rgba(163, 36, 60, .10), rgba(163, 36, 60, 0) 70%), radial-gradient(420px 300px at 100% 0, rgba(230, 25, 124, .08), rgba(230, 25, 124, 0) 70%), linear-gradient(120deg, #f2dfcc 0%, #f8f1e7 50%, #efe3d3 100%); }
.rlx-newsband__card::selection { background: none; }
.rlx-nbdeco { position: absolute; z-index: 0; pointer-events: none; background: no-repeat center / contain; filter: drop-shadow(0 18px 24px rgba(110, 40, 55, .16)); transition: transform 1.2s var(--rlx-ease); }
.rlx-nbdeco--roses { left: -18px; bottom: -26px; width: 250px; height: 263px; background-image: url("/static/relaxiram/img/brush/nb-roses.webp"); transform-origin: 0 100%; }
.rlx-nbdeco--blossom { right: -22px; top: -18px; width: 270px; height: 196px; background-image: url("/static/relaxiram/img/brush/nb-blossom.webp"); transform-origin: 100% 0; }
.rlx-newsband__card:hover .rlx-nbdeco--roses { transform: rotate(-2deg) scale(1.03); }
.rlx-newsband__card:hover .rlx-nbdeco--blossom { transform: rotate(2deg) scale(1.03); }
.rlx-newsband__card .rlx-kicker { color: var(--rlx-berry); }
.rlx-newsband__card .rlx-newsband__ico { color: var(--rlx-berry); box-shadow: 0 0 0 6px rgba(255, 255, 255, .55), 0 20px 36px -20px rgba(110, 40, 55, .5); }
.rlx-newsband__card .rlx-news button { background: var(--rlx-grad); }
.rlx-newsband__card .rlx-news button:hover { background: var(--rlx-bordo); }
@media (max-width: 1080px) {
	.rlx-nbdeco--roses { width: 190px; height: 200px; left: -24px; bottom: -30px; }
	.rlx-nbdeco--blossom { width: 200px; height: 145px; right: -26px; top: -22px; }
}
@media (max-width: 680px) {
	.rlx-newsband__card { padding-top: 96px; padding-bottom: 120px; }
	.rlx-nbdeco--roses { width: 130px; height: 137px; left: -14px; bottom: -18px; }
	.rlx-nbdeco--blossom { width: 150px; height: 109px; right: -16px; top: -12px; }
}

/* ---------- 4) Информационните и правните страници ---------- */
.rlx-info__head { position: relative; }
.rlx-info__orn { display: block; margin: 14px auto 0; width: 120px; line-height: 0; color: var(--rlx-berry); }
.rlx-info { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.rlx-info__body { margin: 0; }
.rlx-info__body .rlx-content { max-width: 820px; }
.rlx-info__body .rlx-content > :first-child { margin-top: 0; }
.rlx-info__body .rlx-content h2 { font-size: 24px; padding-top: 6px; }
.rlx-info__body .rlx-content h3 { font-size: 20px; }
.rlx-info__merchant { display: flex; flex-direction: column; gap: 4px; margin: 0 0 28px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--rlx-line); border-left: 4px solid var(--rlx-berry); background: linear-gradient(120deg, #fbf6ef, #f6ece3); font-size: 14.5px; color: var(--rlx-text); }
.rlx-info__merchant strong { font-family: var(--rlx-serif); font-size: 17px; color: var(--rlx-ink); margin-bottom: 2px; }
.rlx-info__merchant a { color: var(--rlx-berry); }
.rlx-info__nav { position: sticky; top: 110px; padding: 24px 22px; border-radius: 26px; border: 1px solid var(--rlx-line); background: var(--rlx-paper); box-shadow: var(--rlx-shadow-sm); }
.rlx-info__navttl { margin: 0 0 12px; font-family: var(--rlx-serif); font-size: 20px; color: var(--rlx-ink); }
.rlx-info__nav ul { list-style: none; margin: 0; padding: 0; }
.rlx-info__nav li + li { border-top: 1px dashed var(--rlx-line); }
.rlx-info__nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 4px; color: var(--rlx-text); font-size: 14.5px; transition: color .2s, padding .3s var(--rlx-ease); }
.rlx-info__nav a svg { flex: none; opacity: .45; }
.rlx-info__nav a:hover { color: var(--rlx-berry); padding-left: 8px; }
.rlx-info__nav a[aria-current] { color: var(--rlx-berry); font-weight: 700; }
.rlx-info__help { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--rlx-grad); color: #fff; font-size: 14px; }
.rlx-info__help a { display: inline-flex; align-items: center; gap: 8px; color: #fff; min-height: 24px; }
@media (max-width: 1080px) {
	.rlx-info { grid-template-columns: 1fr; }
	.rlx-info__nav { position: static; }
}

/* ---------- 5) Блог ---------- */
.rlx-blog__lead { margin: 12px auto 0; max-width: 560px; color: var(--rlx-muted); }
.rlx-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rlx-bcard { border-radius: 28px; background: var(--rlx-paper); border: 1px solid var(--rlx-line); box-shadow: var(--rlx-shadow-sm); overflow: hidden; transition: transform .45s var(--rlx-ease), box-shadow .45s var(--rlx-ease); }
.rlx-bcard:hover { transform: translateY(-4px); box-shadow: var(--rlx-shadow); }
.rlx-bcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.rlx-bcard__top { position: relative; display: block; height: 150px; background: var(--rlx-grad) ; }
.rlx-bcard--2 .rlx-bcard__top { background: var(--rlx-grad-green); }
.rlx-bcard--3 .rlx-bcard__top { background: linear-gradient(115deg, #b98a5e, #d8b48a 55%, #ead3b2); }
.rlx-bcard__top::after { content: ""; position: absolute; right: -10px; bottom: -14px; width: 150px; height: 150px; background: url("/static/relaxiram/img/brush/nb-blossom.webp") no-repeat center / contain; opacity: .9; }
.rlx-bcard--2 .rlx-bcard__top::after { background-image: url("/static/relaxiram/img/brush/nb-roses.webp"); }
.rlx-bcard__no { position: absolute; left: 24px; bottom: 16px; font-family: var(--rlx-serif); font-style: italic; font-size: 54px; line-height: 1; color: rgba(255, 255, 255, .9); }
.rlx-bcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.rlx-bcard__meta { font-size: 13px; color: var(--rlx-muted); }
.rlx-bcard__title { margin: 0; font-size: 22px; line-height: 1.25; }
.rlx-bcard__ex { color: var(--rlx-text); font-size: 14.5px; }
.rlx-bcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--rlx-berry); font-weight: 700; }
.rlx-bpost { max-width: 880px; margin-left: auto; margin-right: auto; }
.rlx-bpost .rlx-content > :first-child { margin-top: 0; }
.rlx-bpost .rlx-content > p:first-child { font-size: 1.12em; color: var(--rlx-ink); }
.rlx-bpost__meta { margin: 12px 0 0; color: var(--rlx-muted); font-size: 14px; }
.rlx-tpl--post .rlx-kicker a { color: inherit; }
.rlx-bpost__more { margin-top: 50px; }
.rlx-bpost__more h2 { text-align: center; margin: 0 0 24px; }
.rlx-bpost__more .rlx-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }
@media (max-width: 1080px) { .rlx-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.rlx-blog, .rlx-bpost__more .rlx-blog { grid-template-columns: 1fr; }
	.rlx-bcard__top { height: 120px; }
}
/* 31.10: собственикът – „бюлетинът стана много кич“ → „махни само розите и остави останалите цветя“ */
/* 31.10 (3): собственикът – „махни цветята от долния ъгъл“ */
.rlx-nbdeco--roses { display: none !important; }
@media (max-width: 680px) { .rlx-newsband__card { padding-bottom: 56px; } }
