/* RosaMed – Menu (C3). Kolory: akcent #A8576B, róż tła #FBF5F7, obramowanie różu #E8C3CC, szarości #E2E2E2/#F1F1F1. */

.rmn-panel, .rmn-panel *, .rmn-drawer, .rmn-drawer * { box-sizing: border-box; }
.rmn-panel[hidden], .rmn-ov[hidden], .rmn-drawer[hidden], .rmn-pane[hidden], .rmn-dpane[hidden] { display: none !important; }

/* ---------- elementy wspólne (panel i szuflada) ---------- */
.rmn-panel, .rmn-drawer { font-family: Lexend, Arial, sans-serif; color: #000; }
.rmn-panel a, .rmn-drawer a { color: #000; text-decoration: none; }
.rmn-panel a:hover, .rmn-drawer a:hover { color: #A8576B; }
.rmn-panel a:focus-visible, .rmn-panel button:focus-visible,
.rmn-drawer a:focus-visible, .rmn-drawer button:focus-visible, .rmn-drawer summary:focus-visible { outline: 3px solid #A8576B; outline-offset: 2px; border-radius: 8px; }

.rmn-badge { font-style: normal; font-family: Lexend, Arial, sans-serif; font-weight: 700; font-size: 11px; line-height: 15px; padding: 1px 8px; border-radius: 999px; background: #A8576B; color: #fff; text-transform: none; letter-spacing: 0; white-space: nowrap; }

.rmn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rmn-head h2 { margin: 0; font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 28px; line-height: 34px; text-transform: uppercase; color: #A8576B; }
.rmn-head p { margin: 6px 0 0; font-size: 15px; line-height: 23px; color: #333; max-width: 640px; }
.rmn-head > div:empty { display: none; }
.rmn-head > a { font-weight: 700; font-size: 14px; white-space: nowrap; }

.rmn-cols { display: grid; grid-template-columns: repeat(var(--rmn-n, 1), minmax(0, 1fr)); gap: 0 40px; }
.rmn-cols--flow { display: block; column-count: 2; column-gap: 40px; }
.rmn-col { min-width: 0; }
.rmn-gh { margin: 0 0 6px; font-weight: 700; font-size: 12px; line-height: 16px; color: #A8576B; text-transform: uppercase; letter-spacing: .05em; }

.rmn-item { display: flex; flex-direction: column; gap: 2px; padding: 7px 0; break-inside: avoid; }
.rmn-item-link { display: flex; flex-direction: column; gap: 1px; }
.rmn-item-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: 15px; line-height: 21px; }
.rmn-item-link:hover .rmn-item-name, .rmn-item.is-current .rmn-item-name { color: #A8576B; }
.rmn-item-desc { font-size: 13px; line-height: 18px; color: #6B6B6B; }
.rmn-subs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.rmn-panel .rmn-subs a, .rmn-drawer .rmn-subs a { font-size: 13px; line-height: 20px; color: #A8576B; }
.rmn-panel .rmn-subs a:hover, .rmn-drawer .rmn-subs a:hover { text-decoration: underline; }

.rmn-item.is-feat { padding: 14px 16px; margin: 4px 0; border-radius: 12px; background: #FBF5F7; border: 1px solid #E8C3CC; }
.rmn-item.is-feat .rmn-item-name { font-size: 17px; line-height: 23px; color: #A8576B; }
.rmn-item.is-feat .rmn-badge { padding: 2px 8px; }
.rmn-panel .is-feat .rmn-subs a, .rmn-drawer .is-feat .rmn-subs a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; background: #fff; border: 1px solid #A8576B; font-size: 14px; }
.rmn-panel .is-feat .rmn-subs a:hover, .rmn-drawer .is-feat .rmn-subs a:hover { background: #A8576B; color: #fff; text-decoration: none; }

.rmn-single { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.rmn-single-t { display: flex; flex-direction: column; gap: 6px; }
.rmn-single-t b { font-size: 18px; line-height: 24px; }
.rmn-single-t span { font-size: 15px; line-height: 23px; color: #333; }
.rmn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rmn-steps li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 2px solid #E8C3CC; }
.rmn-steps-no { font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 14px; color: #A8576B; }
.rmn-steps b { font-size: 15px; line-height: 20px; }
.rmn-steps span:not(.rmn-steps-no) { font-size: 13px; line-height: 19px; color: #6B6B6B; }
.rmn-btns { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.rmn-panel .rmn-btn, .rmn-drawer .rmn-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 8px; background: #1D1D1D; color: #fff; font-weight: 700; font-size: 14px; }
.rmn-panel .rmn-btn:hover, .rmn-drawer .rmn-btn:hover { background: #A8576B; color: #fff; }
.rmn-link { font-weight: 700; font-size: 14px; text-decoration: underline !important; }

/* ---------- komputer: panel ---------- */
.rmn-ov { position: fixed; left: 0; right: 0; bottom: 0; top: var(--rmn-top, 150px); background: rgba(0, 0, 0, .45); z-index: 9990; }
.rmn-panel { position: fixed; left: 0; right: 0; top: var(--rmn-top, 150px); z-index: 9991; padding: 0 30px; }
.rmn-mega, .rmn-simple { max-width: 1380px; margin: 0 auto; background: #fff; border-radius: 0 0 20px 20px; box-shadow: 0 15px 20px rgba(0, 0, 0, .1); overflow: hidden; display: grid; grid-template-columns: 260px minmax(0, 1fr); max-height: calc(100vh - var(--rmn-top, 150px) - 20px); }

.rmn-tabs { padding: 36px 0 36px 40px; border-right: 1px solid #E2E2E2; display: flex; flex-direction: column; gap: 2px; overflow: auto; max-height: calc(100vh - var(--rmn-top, 150px) - 20px); }
.rmn-tabcol { display: flex; flex-direction: column; border-right: 1px solid #E2E2E2; overflow: auto; max-height: calc(100vh - var(--rmn-top, 150px) - 20px); }
.rmn-tabcol .rmn-tabs { border-right: 0; overflow: visible; max-height: none; padding-bottom: 20px; }
.rmn-panel .rmn-voucher { margin: auto 24px 28px 40px; display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 12px; border-radius: 16px; background: #F1F1F1; }
.rmn-voucher img { display: block; width: 100%; height: 76px; object-fit: cover; object-position: 50% 40%; border-radius: 10px; margin-bottom: 8px; }
.rmn-voucher-e { font-size: 12px; line-height: 16px; color: #A8576B; }
.rmn-voucher-t { font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 13px; line-height: 17px; text-transform: uppercase; color: #000; }
.rmn-voucher-d { font-size: 12px; line-height: 16px; color: #333; }
.rmn-panel .rmn-voucher:hover .rmn-voucher-t, .rmn-panel .rmn-voucher:hover .rmn-voucher-d { color: #A8576B; }
.rmn-panel .rmn-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin: 0; padding: 12px 16px; border: 0; border-left: 2px solid transparent; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #000; cursor: pointer; font-family: Lexend, Arial, sans-serif; text-align: left; text-transform: none; letter-spacing: 0; }
.rmn-panel .rmn-tabs button[aria-selected=true] { border-left-color: #A8576B; color: #A8576B; }
.rmn-panel .rmn-tabs button:hover .rmn-tab-name { color: #A8576B; }
.rmn-tab-name { font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 15px; line-height: 22px; text-transform: uppercase; white-space: normal; }
.rmn-tab-count { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: #898888; }

.rmn-pane { position: relative; overflow: auto; max-height: calc(100vh - var(--rmn-top, 150px) - 20px); }
.rmn-pane::after { content: ""; position: sticky; display: block; bottom: 0; height: 40px; margin-top: -40px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.rmn-pane .rmn-head { position: sticky; top: 0; z-index: 1; background: #fff; padding: 36px 48px 18px; }
.rmn-pane .rmn-body { padding: 4px 48px 40px; }

.rmn-side { background: #F1F1F1; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.rmn-side h2 { margin: 0; font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 28px; line-height: 34px; text-transform: uppercase; color: #A8576B; }
.rmn-side p { margin: 0; font-size: 15px; line-height: 23px; color: #333; }
.rmn-side .rmn-eyebrow { font-weight: 700; font-size: 14px; color: #A8576B; }
.rmn-simple .rmn-body { padding: 32px 40px; display: flex; align-items: center; }
.rmn-simple .rmn-cols { width: 100%; gap: 8px 32px; }

@media (max-width: 1399px) {
	.rmn-mega, .rmn-simple { grid-template-columns: 250px minmax(0, 1fr); }
	.rmn-pane .rmn-head { padding: 36px 40px 18px; }
	.rmn-pane .rmn-body { padding: 4px 40px 40px; }
	.rmn-cols { gap: 0 32px; }
	.rmn-cols--flow { column-gap: 32px; }
}
@media (max-width: 1299px) {
	.rmn-mega, .rmn-simple { grid-template-columns: 230px minmax(0, 1fr); }
	.rmn-tabs { padding: 32px 0 32px 24px; }
	.rmn-panel .rmn-voucher { margin-left: 24px; margin-right: 16px; }
	.rmn-pane .rmn-head { padding: 32px 32px 16px; }
	.rmn-pane .rmn-body { padding: 4px 32px 36px; }
	.rmn-cols { gap: 0 24px; }
	.rmn-cols--flow { column-gap: 24px; }
}
@media (min-width: 1025px) and (max-height: 800px) {
	.rmn-tabs { padding-top: 20px; padding-bottom: 20px; }
	.rmn-panel .rmn-tabs button { padding: 8px 16px; }
	.rmn-panel .rmn-voucher { margin-bottom: 20px; }
	.rmn-voucher img { display: none; }
	.rmn-pane .rmn-head { padding-top: 22px; padding-bottom: 10px; }
	.rmn-pane .rmn-head h2 { font-size: 24px; line-height: 30px; }
	.rmn-pane .rmn-head p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 560px; }
	.rmn-panel .rmn-item { padding: 4px 0; }
	.rmn-panel .rmn-item-desc { display: none; }
	.rmn-panel .is-feat .rmn-item-desc { display: block; }
	.rmn-panel .rmn-steps span:not(.rmn-steps-no) { display: none; }
}
@media (max-width: 1024px) { .rmn-panel, .rmn-ov { display: none !important; } }

/* ---------- tablet / telefon: szuflada ---------- */
.rmn-drawer { position: fixed; inset: 0; z-index: 99999; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; }
html.rmn-open, html.rmn-open body { overflow: hidden; }
@media (min-width: 1025px) { .rmn-drawer { display: none !important; } }

/* górny pasek: logo i „X” w tym samym miejscu co w nagłówku strony (pozycje liczy menu.js) */
.rmn-d-top { position: sticky; top: 0; z-index: 2; height: var(--rmn-h, 80px); background: #fff; border-bottom: 1px solid #E2E2E2; }
.rmn-d-logo { position: absolute; left: var(--rmn-lx, 20px); top: var(--rmn-ly, 12px); line-height: 0; }
.rmn-d-logo img { display: block; height: var(--rmn-lh, 56px) !important; width: var(--rmn-lw, auto) !important; max-width: none; object-fit: var(--rmn-fit, contain); }
.rmn-drawer .rmn-d-x { position: absolute; right: var(--rmn-tx, 20px); top: var(--rmn-ty, 18px); width: var(--rmn-tw, 44px); height: var(--rmn-th, 44px); margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.rmn-d-search { margin: 16px 20px 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; background: #F1F1F1; }
.rmn-d-search input[type=search] { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-family: Lexend, Arial, sans-serif; font-size: 16px; color: #000; outline: none; }

.rmn-d-nav { padding: 8px 20px 0; display: flex; flex-direction: column; }
.rmn-drawer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rmn-drawer summary::-webkit-details-marker { display: none; }
.rmn-d-sec, .rmn-d-cat, .rmn-d-link { border-bottom: 1px solid #E2E2E2; }
.rmn-d-sec > summary, .rmn-d-link { min-height: 60px; font-size: 18px; display: flex; align-items: center; }
.rmn-pm { display: inline-block; font-size: 24px; line-height: 24px; color: #A8576B; transition: transform .2s; }
.rmn-drawer details[open] > summary > .rmn-pm { transform: rotate(45deg); }
.rmn-drawer details[open] > summary { color: #A8576B; }
.rmn-d-in { padding: 0 0 14px 12px; margin-bottom: 12px; border-left: 2px solid #F1F1F1; display: flex; flex-direction: column; }
.rmn-d-in > a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.rmn-d-cat > summary { min-height: 52px; font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 15px; text-transform: uppercase; }
.rmn-d-cat > summary > span:first-child { display: flex; align-items: center; gap: 8px; }
.rmn-d-list { display: flex; flex-direction: column; padding: 0 0 10px; }
.rmn-d-list a { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: 16px; }
.rmn-d-list a.rmn-d-sub { min-height: 36px; padding-left: 14px; font-size: 14px; color: #6B6B6B; border-left: 2px solid #F1F1F1; }
.rmn-d-g { display: block; margin: 12px 0 4px; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: #A8576B; }
.rmn-drawer .rmn-d-cta, .rmn-drawer .rmn-d-all { font-weight: 700; color: #A8576B; }
.rmn-d-all { display: flex; align-items: center; min-height: 52px; font-size: 16px; }

.rmn-d-extras { padding: 0 20px 32px; }
.rmn-drawer .rmn-d-voucher { margin-top: 20px; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: #F1F1F1; }
.rmn-d-voucher img { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 14px; object-fit: cover; object-position: 50% 30%; display: block; }
.rmn-d-voucher > span { display: flex; flex-direction: column; gap: 3px; }
.rmn-d-voucher small { font-weight: 700; font-size: 13px; color: #A8576B; }
.rmn-d-voucher b { font-family: Montserrat, Arial, sans-serif; font-weight: 500; font-size: 16px; line-height: 21px; text-transform: uppercase; }
.rmn-d-voucher span span { font-size: 14px; line-height: 20px; color: #333; }
.rmn-drawer .rmn-d-btn { margin-top: 20px; display: flex; justify-content: center; align-items: center; height: 52px; border-radius: 8px; background: #1D1D1D; border: 2px solid #1D1D1D; color: #fff; font-weight: 700; font-size: 15px; }
.rmn-drawer .rmn-d-btn:hover { background: #A8576B; border-color: #A8576B; color: #fff; }
.rmn-drawer .rmn-d-btn--o { margin-top: 10px; background: transparent; color: #000; }
.rmn-d-social { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #6B6B6B; }
.rmn-drawer .rmn-d-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E2E2E2; display: flex; align-items: center; justify-content: center; color: #A8576B; }

/* telefon: akordeony; tablet: pigułki + panel C3 */
.rmn-d-tablet { display: none; }
@media (min-width: 600px) {
	.rmn-d-nav { padding-left: 32px; padding-right: 32px; }
	.rmn-d-extras { padding-left: 32px; padding-right: 32px; }
	.rmn-d-search { margin: 16px 32px 0; }
	.rmn-d-phone { display: none; }
	.rmn-d-tablet { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
	.rmn-d-pills { display: flex; flex-wrap: wrap; gap: 8px; }
	.rmn-drawer .rmn-d-pills button { display: flex; align-items: center; gap: 6px; height: 40px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1px solid #E2E2E2; background: #fff; box-shadow: none; color: #000; font-family: Lexend, Arial, sans-serif; font-size: 14px; text-transform: none; letter-spacing: 0; cursor: pointer; }
	.rmn-drawer .rmn-d-pills button[aria-selected=true] { background: #A8576B; border-color: #A8576B; color: #fff; }
	.rmn-drawer .rmn-d-pills button[aria-selected=true] .rmn-badge { background: #fff; color: #A8576B; }
	.rmn-dpane { display: flex; flex-direction: column; gap: 14px; }
	.rmn-dpane .rmn-head { align-items: baseline; }
	.rmn-dpane .rmn-head p { margin: 0; }
	.rmn-dpane .rmn-cols { gap: 0 28px; }
	.rmn-dpane .rmn-cols:not(.rmn-cols--flow) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.rmn-dpane .rmn-cols--flow { column-gap: 28px; }
	.rmn-dpane .rmn-steps { gap: 16px; }
}

/* telefon (< 600 px) – dokładnie wg projektu „Mega menu C2 – mobile 390” */
@media (max-width: 599px) {
	.rmn-d-top { height: auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
	.rmn-d-logo { position: static; }
	.rmn-d-logo img { height: 56px !important; width: auto !important; }
	.rmn-drawer .rmn-d-x { position: static; width: 44px; height: 44px; border-radius: 999px; background: #F1F1F1; }
	.rmn-drawer .rmn-d-x svg { width: 16px; height: 16px; stroke-width: 2; }
	.rmn-d-in { padding-bottom: 8px; }
	.rmn-d-cat > summary { min-height: 56px; font-size: 16px; }
	.rmn-d-cat .rmn-badge { font-size: 10px; line-height: 14px; padding: 2px 7px; }
	.rmn-d-list { padding-bottom: 12px; }
	.rmn-d-list a { min-height: 44px; }
	.rmn-d-list a.rmn-d-sub { min-height: 38px; padding-left: 16px; }
	.rmn-drawer .rmn-d-all { gap: 10px; min-height: 56px; color: #000; }
	.rmn-drawer .rmn-d-btn { margin-top: 16px; }
	.rmn-d-social { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) { .rmn-pm { transition: none; } }
