
/* === RM v7: pruvodce edicemi === */
.rm{max-width:1000px;color:#0F0F0F;font-size:15px;line-height:1.7;scroll-margin-top:90px}
.rm>*:first-child{margin-top:0}
.rm h2{font-size:22px;font-weight:700;line-height:1.3;margin:0 0 14px;letter-spacing:-.01em}
.rm h3{font-size:16px;font-weight:700;margin:22px 0 6px}
.rm p{margin:0 0 14px}
.rm p:last-child{margin-bottom:0}
.rm a{color:#A9488C}
.rm a:hover{color:#C54279}
.rm ul{margin:0 0 14px;padding-left:20px}
.rm li{margin:0 0 7px}

/* bento hlavicka */
.rm-bento{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 20px}
.rm-tile{background:#fff;border-radius:20px;box-shadow:0 6px 12px rgba(0,0,0,.08);padding:16px 20px;min-width:0}
.rm-tile--w{grid-column:span 2}
.rm-tile--logo{grid-column:span 2;background:linear-gradient(120deg,#CE5C9E 0%,#8C4AA0 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75),0 6px 12px rgba(0,0,0,.08);color:#fff;display:flex;align-items:center;gap:18px}
.rm-tile--logo img{max-height:76px;max-width:46%;width:auto;flex:0 0 auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
.rm-tile--logo h2{color:#fff;font-size:22px;margin:0;line-height:1.2}
.rm .rm-tile--logo p.rm-tile-k{color:rgba(255,255,255,.85)}
.rm .rm-tile--logo p.rm-tile-s{color:rgba(255,255,255,.85)}
.rm p.rm-tile-k{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6E7183;margin:0}
.rm p.rm-tile-v{font-size:23px;font-weight:800;line-height:1.15;margin:5px 0 0;letter-spacing:-.01em}
.rm p.rm-tile-s{font-size:12.5px;color:#6E7183;margin:3px 0 0}
.rm p.rm-tile-t{font-size:13.5px;line-height:1.5;margin:6px 0 0}
.rm p.rm-tile-t a{font-weight:700}

/* bily box — stejny jako produktove karty sablony */
.rm-box{background:#fff;border-radius:20px;box-shadow:0 6px 12px rgba(0,0,0,.08);padding:26px 30px;margin:0 0 20px}

/* fakta */
.rm-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:0 34px;margin:18px 0 0;padding:18px 22px;background:#F1F5F6;border-radius:14px}
.rm-facts>div{display:flex;gap:12px;padding:7px 0;border-bottom:1px solid #E3E8EA;font-size:14px}
.rm-facts>div:nth-last-child(-n+2){border-bottom:0}
.rm-facts b{flex:0 0 128px;font-weight:400;color:#6E7183}
.rm-pdf{font-size:13px;color:#6E7183;margin:12px 0 0}

/* galerie karet */
.rm-cards{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0 0}
.rm-cards figure{flex:1 1 200px;max-width:226px;margin:0}
.rm-cards img{width:100%;height:auto;display:block;border-radius:10px}
.rm-cards figcaption{font-size:12.5px;color:#0F0F0F;margin-top:7px;line-height:1.35}
.rm-cards figcaption span{display:block;color:#6E7183;font-size:11.5px;margin-top:1px}

/* hrane karty — dvousloupcovy seznam */
.rm-list{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:0 36px}
.rm-list li{margin:0;padding:13px 0;border-bottom:1px solid #EEF2F3;display:flex;gap:14px;align-items:flex-start}
.rm-list li:last-child{border-bottom:0}
.rm-thumb{flex:0 0 60px;width:60px;height:auto;border-radius:5px;margin-top:3px}
.rm-lwrap{flex:1 1 auto;min-width:0}
.rm-vwrap{min-width:0}
.rm-n{font-weight:700;font-size:15px}
.rm-r{font-weight:400;font-size:12px;color:#6E7183;white-space:nowrap;margin-left:4px}
.rm-d{font-size:14px;line-height:1.6;margin-top:3px}
.rm-p{display:inline-block;margin-top:6px;padding:2px 11px;background:#F1F5F6;border-radius:12px;font-size:12.5px;color:#3A3A44}

/* cenne karty — radky */
.rm-vals{list-style:none;margin:6px 0 0;padding:0}
.rm-vals li{display:flex;align-items:center;gap:14px;padding:9px 0;border-bottom:1px solid #EEF2F3;font-size:14.5px}
.rm-vals li:last-child{border-bottom:0}
.rm-vals .rm-thumb{flex:0 0 46px;width:46px;margin-top:0}
.rm-vals a.rm-vn{font-weight:700;color:#0F0F0F;text-decoration:none;border-bottom:1px solid #C9A0BC}
.rm-vals a.rm-vn:hover{color:#A9488C}
.rm-vals .rm-vp{margin-left:auto;white-space:nowrap;color:#3A3A44;text-align:right}

/* poznamka */
.rm-note{margin:16px 0 0;padding:2px 0 2px 16px;border-left:2px solid #A9488C;font-size:14.5px;line-height:1.65}

/* tipy */
.rm-tips{margin:6px 0 0}
.rm-tips dt{font-weight:700;font-size:15px;margin:14px 0 2px}
.rm-tips dt:first-child{margin-top:0}
.rm-tips dd{margin:0;font-size:14px;line-height:1.6;color:#3A3A44}

/* nakup */
.rm-buy{list-style:none;padding:0;margin:6px 0 0}
.rm-buy li{padding:13px 0;border-bottom:1px solid #EEF2F3;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.rm-buy li:last-child{border-bottom:0}
.rm-role{flex:0 0 auto;font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#A9488C;min-width:158px}
.rm-buy li>a{font-weight:700;color:#0F0F0F;text-decoration:none;border-bottom:2px solid #A9488C;padding-bottom:1px}
.rm-buy li>a:hover{color:#A9488C}
.rm-why{flex:1 1 100%;font-size:13.5px;color:#6E7183;line-height:1.55;margin-left:170px}
.rm-forms{font-size:13px;color:#6E7183;margin:14px 0 0}

/* faq accordion */
.rm-acc{margin:4px 0 0}
.rm-acc details{border-bottom:1px solid #EEF2F3}
.rm-acc details:last-child{border-bottom:0}
.rm-acc summary{cursor:pointer;padding:13px 28px 13px 0;font-weight:700;font-size:15px;list-style:none;position:relative}
.rm-acc summary::-webkit-details-marker{display:none}
.rm-acc summary::after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;border-right:2px solid #6E7183;border-bottom:2px solid #6E7183;transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.rm-acc details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.rm-acc summary:hover{color:#A9488C}
.rm-body{padding:0 0 14px;font-size:14px;color:#3A3A44}

/* sourozenci */
.rm-sibs-t{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#6E7183;margin:26px 0 10px}
.rm-siblings{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.rm-siblings li{flex:0 1 auto;margin:0}
.rm-siblings a{display:inline-block;padding:8px 18px;background:#fff;border-radius:20px;box-shadow:0 3px 8px rgba(0,0,0,.07);font-size:14px;color:#0F0F0F;text-decoration:none}
.rm-siblings a:hover{color:#A9488C;box-shadow:0 3px 8px rgba(169,72,140,.22)}
.rm-siblings .rm-r{opacity:.6;font-size:12px;margin-left:3px}

/* CTA pilulky uvnitr pruvodce */
.rm p.rm-cta{margin:18px 0 0}
.rm p.rm-cta a{display:inline-block;padding:7px 22px;background:#A9488C;color:#fff;border-radius:25px;font-size:13.5px;text-decoration:none}
.rm p.rm-cta a:hover{background:#C54279;color:#fff}

/* zdroj + pravni radek */
.rm-src{margin:22px 0 0;font-size:13px;color:#6E7183;line-height:1.6}
.rm p.rm-legal{margin:10px 0 0;font-size:11.5px;color:#A2A7B4;line-height:1.55}
.rm p.rm-legal a{color:#A2A7B4}

/* globalne skryta sekce "Nejprodavanejsi" v kategoriich (Martin 8/2026: nic nerika, prekazi) */
.products-top-wrapper{display:none}

/* rozcestnik ery — dlazdice edic */
.rm-eras{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:6px 0 0}
a.rm-era{display:block;background:#F1F5F6;border-radius:16px;padding:16px 18px;text-decoration:none;color:#0F0F0F}
a.rm-era:hover{background:#fff;box-shadow:0 6px 14px rgba(169,72,140,.2)}
.rm-era img{max-height:46px;width:auto;max-width:100%;display:block;margin:0 0 10px}
.rm-era b{display:block;font-size:15px;line-height:1.3}
.rm-era span{display:block;font-size:12.5px;color:#6E7183;margin-top:3px;line-height:1.45}

/* zoom karty — CSS lightbox pres <details>, bez JS */
.rm-z{margin:0}
.rm-z summary{list-style:none;cursor:zoom-in;display:block}
.rm-z summary::-webkit-details-marker{display:none}
.rm-z summary::after{display:none}
.rm-zb{display:none}
.rm-z[open] .rm-zb{display:flex;position:fixed;inset:0;z-index:2100;background:rgba(12,10,16,.85);align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.rm .rm-zb img{max-width:min(92vw,560px);max-height:88vh;width:auto;height:auto;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.5)}
.rm-cards .rm-z summary>img{width:100%;height:auto;display:block;border-radius:10px}
.rm-list .rm-z{flex:0 0 60px;margin-top:3px}
.rm-vals .rm-z{flex:0 0 46px}
.rm-thumb{width:100%;height:auto;border-radius:5px;display:block}
.rm-ext{font-size:12px;white-space:nowrap;margin-left:10px}

/* horni box: H1 + perex v jednom boxu (jen na strankach edic) */
.category-top:has(.rm-ptiles) .category-title{margin:0 0 16px}

/* horni teaser v .category-perex */
.category-perex p.rm-ptiles{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 14px}
.category-perex .rm-pt{display:inline-flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 6px 12px rgba(0,0,0,.08);padding:12px 20px 13px;min-width:150px}
.category-perex .rm-pt--logo{flex-direction:row;align-items:center;justify-content:center;background:linear-gradient(120deg,#CE5C9E 0%,#8C4AA0 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75),0 6px 12px rgba(0,0,0,.08);padding:8px 24px;min-width:170px}
.category-perex .rm-pt--logo img{max-height:48px;max-width:180px;width:auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
.category-perex .rm-pt-k{font-size:10.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#6E7183}
.category-perex .rm-pt-v{font-size:17px;font-weight:800;line-height:1.2;margin-top:3px;letter-spacing:-.01em;color:#0F0F0F}
.category-perex .rm-pt-s{font-size:11.5px;color:#6E7183;margin-top:2px}
.category-perex p.rm-meta{font-size:13px;color:#6E7183;margin:0 0 5px}
.category-perex p.rm-teaser{font-size:15px;margin:0 0 10px;max-width:760px}
.category-perex p.rm-teaser-cta{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:8px}
.category-perex p.rm-teaser-cta a{display:inline-block;padding:6px 20px;background:#A9488C;color:#fff;border-radius:25px;font-size:13.5px;text-decoration:none}
.category-perex p.rm-teaser-cta a:hover{background:#C54279;color:#fff}
.category-perex p.rm-teaser-cta a.rm-cta2{background:#fff;color:#A9488C;box-shadow:inset 0 0 0 2px #A9488C}
.category-perex p.rm-teaser-cta a.rm-cta2:hover{background:#A9488C;color:#fff}

/* blok edice na produktove strance */
.rm-eb{background:#fff;border-radius:20px;box-shadow:0 6px 12px rgba(0,0,0,.08);padding:20px 24px;margin:18px 0;max-width:760px;font-size:14.5px;line-height:1.65}
.rm-eb b{display:block;font-size:16px;margin-bottom:6px}
.rm-eb p{margin:0 0 10px}
.rm-eb a.rm-eb-l{display:inline-block;padding:7px 22px;background:#A9488C;color:#fff;border-radius:25px;text-decoration:none;font-size:14px}
.rm-eb a.rm-eb-l:hover{background:#C54279;color:#fff}

@media(max-width:900px){
 .rm-bento{grid-template-columns:repeat(2,1fr)}
 .rm-list{grid-template-columns:1fr}
 .rm-facts{grid-template-columns:1fr}
 .rm-facts>div:nth-last-child(-n+2){border-bottom:1px solid #E3E8EA}
 .rm-facts>div:last-child{border-bottom:0}
}
@media(max-width:640px){
 .rm{font-size:15px}
 .rm h2{font-size:19px}
 .rm-bento{gap:9px}
 .rm-tile{padding:13px 15px;border-radius:16px}
 .rm p.rm-tile-v{font-size:19px}
 .rm-tile--logo{flex-wrap:wrap;gap:10px}
 .rm-tile--logo img{max-height:56px;max-width:60%}
 .rm-tile--logo h2{font-size:18px}
 .rm-box{padding:18px 18px;border-radius:16px}
 .rm-cards{gap:10px}
 .rm-cards figure{flex:1 1 calc(50% - 5px);max-width:calc(50% - 5px)}
 .rm-list .rm-z{flex-basis:48px}
 .rm-vals .rm-vp{flex:1 1 100%;text-align:left;margin-left:60px}

 .category-perex p.rm-ptiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .category-perex .rm-pt{min-width:0;padding:9px 13px 10px;border-radius:13px}
 .category-perex .rm-pt-v{font-size:15px}
 .category-perex .rm-pt--logo{grid-column:1/-1;padding:8px 13px}
 .category-perex .rm-pt--logo img{max-height:42px}
 .category-perex .rm-pt:nth-child(4){display:none}
 .rm-eras{grid-template-columns:1fr 1fr;gap:9px}
 .rm-why{margin-left:0}
 .rm-role{min-width:0;flex:1 1 100%}
 .rm-vals li{flex-wrap:wrap}
 .rm-vals .rm-vp{margin-left:0;flex:1 1 100%}
}
