:root { --rlm-step-styles: 1; }

body.template-12.rlm-step {
  --rlm-paper: #f5f2eb;
  --rlm-ink: #282e26;
  --rlm-muted: #64685d;
  --rlm-olive: #49523c;
  --rlm-line: #deded2;
  --rlm-rust: #9b502d;
  --color-primary: #49523c;
  --color-primary-hover: #353e2b;
  --color-secondary: #49523c;
  --color-secondary-hover: #353e2b;
  --color-tertiary: #9b502d;
  --color-tertiary-hover: #7b3e22;
  --color-header-background: #f5f2eb;
  --_color-header-text: #282e26;
  --_color-header-contrast-bg: #49523c;
  --_color-header-contrast-text: #ffffff;
  --_color-header-menu-border: #deded2;
  --_color-header-dropdown-border: #deded2;
  --template-font: Arial;
  --template-headings-font: Georgia;
  color: var(--rlm-ink);
  background: var(--rlm-paper);
  font-family: Arial, sans-serif;
}

body.template-12.rlm-step #header {
  background: var(--rlm-paper);
  border-bottom: 1px solid var(--rlm-line);
  color: var(--rlm-ink);
}

body.template-12.rlm-step #header .navigation-buttons > a,
body.template-12.rlm-step #header .top-nav-button-login,
body.template-12.rlm-step #header .menu-helper > span,
body.template-12.rlm-step #header .menu-helper::after,
body.template-12.rlm-step #header .menu-trigger::after {
  color: var(--rlm-ink);
  background-color: var(--rlm-paper);
  border-color: var(--rlm-line);
}

body.template-12.rlm-step #header .menu-level-1 > li > a,
body.template-12.rlm-step #header .menu-helper > ul > li > a {
  color: var(--rlm-ink);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

body.template-12.rlm-step #header .menu-level-1 > li > a b { font-weight: 500; }
body.template-12.rlm-step #header .menu-level-1 > li > a:hover { color: var(--rlm-rust); }
body.template-12.rlm-step #header .menu-level-2 { background-color: var(--rlm-paper); }
body.template-12.rlm-step #header .site-name img { object-fit: contain; }

body.template-12.rlm-step .content-wrapper,
body.template-12.rlm-step .index-content-wrapper,
body.template-12.rlm-step #content {
  background-color: var(--rlm-paper);
}

body.template-12.rlm-step .products-block .p {
  background: transparent;
  border-color: var(--rlm-line);
}
body.template-12.rlm-step .products-block .p .name {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--rlm-ink);
}
body.template-12.rlm-step .products-block .p .price-final { color: var(--rlm-ink); }
body.template-12.rlm-step .homepage-group-title { font-family: Georgia, serif; }
body.template-12.rlm-step .shp-tabs-holder { border-color: var(--rlm-line); }

body.template-12.rlm-step #footer {
  background: var(--rlm-ink);
  color: var(--rlm-paper);
  border-top: 0;
}
body.template-12.rlm-step #footer .footer-bottom,
body.template-12.rlm-step #footer .custom-footer { background-color: transparent; color: inherit; }
body.template-12.rlm-step #footer a { color: #f5f2eb; }
body.template-12.rlm-step #footer a:hover { color: #e5c3a4; }
body.template-12.rlm-step #footer h2,
body.template-12.rlm-step #footer h3,
body.template-12.rlm-step #footer h4 { color: inherit; }

.rlm-step .rlm-home,
.rlm-step .rlm-story { box-sizing: border-box; color: var(--rlm-ink); font-family: Arial, sans-serif; }
.rlm-step .rlm-home *,
.rlm-step .rlm-story * { box-sizing: border-box; }
.rlm-step .rlm-home img,
.rlm-step .rlm-story img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
/* Dekorativní SVG mají vlastní rozměry; pravidla fotografií se na ně nepřenášejí. */
.rlm-step .rlm-home img.rlm-icon,
.rlm-step .rlm-story img.rlm-icon { display: block; flex: none; width: 24px; height: 24px; max-width: none; object-fit: contain; }
.rlm-step .rlm-home img.rlm-lamp-icon { width: 36px; height: 36px; }
.rlm-step .rlm-home img.rlm-value-icon { width: 32px; height: 32px; }
.rlm-step .rlm-button img.rlm-icon { filter: brightness(0) invert(1); }
.rlm-step .rlm-value { display: inline-flex; align-items: center; gap: 11px; }
.rlm-step .rlm-home a,
.rlm-step .rlm-story a { text-decoration: none; }
.rlm-step .rlm-home a:focus-visible,
.rlm-step .rlm-story a:focus-visible { outline: 3px solid var(--rlm-rust); outline-offset: 5px; }
.rlm-step .rlm-home h1,
.rlm-step .rlm-home h2,
.rlm-step .rlm-home h3,
.rlm-step .rlm-story h2 { text-transform: none; font-family: Georgia, serif; font-weight: 400; }

.rlm-step .rlm-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  max-width: 1440px;
  min-height: 600px;
  margin: 0 auto;
  background: var(--rlm-paper);
}
.rlm-step .rlm-hero-copy { padding: 65px 10%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rlm-step .rlm-hero :is(h1, .rlm-hero-heading) { margin: 0 0 23px; font-size: clamp(52px, 5.5vw, 82px); line-height: 1.07; letter-spacing: -3px; color: var(--rlm-ink); }
.rlm-step .rlm-home em,
.rlm-step .rlm-story em { color: var(--rlm-olive); font-weight: 400; }
.rlm-step .rlm-intro { max-width: 355px; margin: 0; color: var(--rlm-muted); font-size: 14px; line-height: 1.9; }
.rlm-step a.rlm-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; min-height: 52px; padding: 15px 24px; border: 1px solid var(--rlm-olive); color: #fff; background: var(--rlm-olive); font: 13px/1.5 Arial, sans-serif; }
.rlm-step a.rlm-button:hover { background: #353e2b; border-color: #353e2b; color: #fff; }
.rlm-step .rlm-hero .rlm-button { margin-top: 29px; }
.rlm-step .rlm-footnote { display: flex; align-items: center; gap: 15px; margin-top: 40px; font-size: 11px; line-height: 1.7; color: var(--rlm-muted); }
.rlm-step .rlm-hero-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #e3e1d7; }
.rlm-step .rlm-hero-visual > img { position: absolute; inset: 0; height: 100%; object-position: 50% 54%; }
.rlm-step .rlm-photo-caption { position: absolute; bottom: 25px; left: 25px; right: 25px; padding: 18px 22px; background: #f5f2ebf5; }
.rlm-step .rlm-photo-caption strong { display: block; margin-top: 0; font: 29px/1.2 Georgia, serif; }
.rlm-step .rlm-values { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1440px; margin: 0 auto; padding: 25px 5%; border-bottom: 1px solid var(--rlm-line); font-size: 11px; line-height: 1.6; }
.rlm-step .rlm-values-note { font: italic 15px/1.5 Georgia, serif; color: var(--rlm-muted); }
.rlm-step .rlm-collections { max-width: 1440px; margin: 0 auto; padding: 70px 5%; }
.rlm-step .rlm-section-title { margin: 0 0 28px; font-size: clamp(33px, 3.5vw, 47px); letter-spacing: -1.5px; line-height: 1.15; color: var(--rlm-ink); }
.rlm-step .rlm-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.rlm-step .rlm-category { min-width: 0; color: var(--rlm-ink); }
.rlm-step .rlm-category:hover { color: var(--rlm-olive); }
.rlm-step .rlm-category-image { height: 315px; overflow: hidden; background: #e3e1d7; }
.rlm-step .rlm-category-image img { height: 100%; transition: transform .4s ease; object-position: 50% 61%; }
.rlm-step .rlm-category:hover img { transform: scale(1.025); }
.rlm-step .rlm-category-line { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 17px; }
.rlm-step .rlm-category h3 { margin: 0 0 5px; font-size: 30px; line-height: 1.2; color: inherit; }
.rlm-step .rlm-category p { margin: 0; color: var(--rlm-muted); font-size: 12px; line-height: 1.6; }
.rlm-step .rlm-round-arrow { display: grid; place-items: center; flex: none; width: 41px; height: 41px; border: 1px solid #b8bdac; border-radius: 50%; font-size: 22px; }
.rlm-step .rlm-process { box-sizing: border-box; max-width: 1440px; margin: 0 auto; padding: 55px 5% 65px; color: var(--rlm-ink); font-family: Arial, sans-serif; }
.rlm-step .rlm-process * { box-sizing: border-box; }
.rlm-step .rlm-process-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 40px; }
.rlm-step .rlm-process h2,
.rlm-step .rlm-process h3 { font-family: Georgia, serif; font-weight: 400; text-transform: none; color: var(--rlm-ink); }
.rlm-step .rlm-process-heading h2 { margin: 0; }
.rlm-step .rlm-process-heading em { color: var(--rlm-olive); }
.rlm-step .rlm-process-heading > p { max-width: 290px; margin: 0 0 5px; font-size: 13px; line-height: 1.9; color: var(--rlm-muted); }
.rlm-step .rlm-process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.rlm-step .rlm-process-steps > li { min-width: 0; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--rlm-line); background: none; }
.rlm-step .rlm-process-steps > li::before { content: none; }
.rlm-step .rlm-process-number { display: block; margin-bottom: 24px; color: var(--rlm-rust); font: 400 36px/1 Georgia, serif; }
.rlm-step .rlm-process-steps h3 { margin: 0 0 13px; font-size: 25px; line-height: 1.2; letter-spacing: -.5px; }
.rlm-step .rlm-process-steps p { margin: 0; color: var(--rlm-muted); font-size: 13px; line-height: 1.9; }
@media (max-width: 991px) {
  .rlm-step .rlm-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 767px) {
  .rlm-step .rlm-process { padding: 35px 7% 30px; }
  .rlm-step .rlm-process-heading { display: block; margin-bottom: 30px; }
  .rlm-step .rlm-process-heading > p { max-width: 360px; margin: 18px 0 0; }
  .rlm-step .rlm-process-steps { grid-template-columns: 1fr; gap: 25px; }
  .rlm-step .rlm-process-number { margin-bottom: 15px; font-size: 30px; }
}

.rlm-step .rlm-story { max-width: 1440px; margin: 35px auto 65px; display: grid; grid-template-columns: 1fr 1fr; background: #eae8de; }
.rlm-step .rlm-story-image { position: relative; min-height: 470px; background: #e3e1d7; }
.rlm-step .rlm-story-image img { position: absolute; inset: 0; height: 100%; object-position: 50% 60%; }
.rlm-step .rlm-story-copy { padding: 65px 13%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rlm-step .rlm-story-copy > p { color: var(--rlm-muted); font-size: 13px; line-height: 1.9; margin: 0 0 18px; }
.rlm-step a.rlm-text-link { display: inline-flex; align-items: center; gap: 35px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid #a8aa9a; color: var(--rlm-ink); font-size: 12px; }
.rlm-step a.rlm-text-link:hover { color: var(--rlm-rust); }

@media (min-width: 768px) {
  body.template-12.rlm-step #navigation { background-color: var(--rlm-paper); }
  body.template-12.rlm-step #header .site-name img { max-height: 68px; }
  body.template-12.rlm-step #header .navigation-in > ul > li > a { background-color: transparent; }
}
@media (max-width: 1100px) {
  .rlm-step .rlm-hero { min-height: 560px; }
  .rlm-step .rlm-hero-copy { padding: 45px 8%; }
  .rlm-step .rlm-hero :is(h1, .rlm-hero-heading) { font-size: 61px; }
  .rlm-step .rlm-values-note { display: none; }
  .rlm-step .rlm-story-copy { padding: 45px 9%; }
}
@media (max-width: 767px) {
  .rlm-step .rlm-hero { grid-template-columns: 1fr; }
  .rlm-step .rlm-hero-copy { padding: 38px 6% 34px; }
  .rlm-step .rlm-hero :is(h1, .rlm-hero-heading) { font-size: clamp(47px, 10vw, 65px); letter-spacing: -2px; margin-top: 0; }
  .rlm-step .rlm-intro { max-width: 440px; font-size: 13px; }
  .rlm-step .rlm-footnote { margin-top: 24px; }
  .rlm-step .rlm-hero-visual { height: 440px; margin: 0 5%; }
  .rlm-step .rlm-values { flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 22px 5%; font-size: 10px; }
  .rlm-step .rlm-collections { padding-top: 46px; padding-bottom: 40px; }
  .rlm-step .rlm-category-grid { gap: 16px; }
  .rlm-step .rlm-category-image { height: 270px; }
  .rlm-step .rlm-category h3 { font-size: 26px; }
  .rlm-step .rlm-category p { font-size: 11px; }
  .rlm-step .rlm-round-arrow { width: 32px; height: 32px; font-size: 18px; }
  .rlm-step .rlm-story { grid-template-columns: 1fr; margin-bottom: 40px; }
  .rlm-step .rlm-story-image { min-height: 370px; }
  .rlm-step .rlm-story-copy { padding: 40px 7%; }
  body.template-12.rlm-step .products-block .p .name { font-size: 21px; }
}
@media (max-width: 440px) {
  .rlm-step .rlm-hero-visual { height: 390px; }
  .rlm-step .rlm-photo-caption { left: 16px; right: 16px; bottom: 16px; padding: 15px 18px; }
  .rlm-step .rlm-section-title { font-size: 34px; }
  .rlm-step .rlm-category-image { height: 220px; }
  .rlm-step .rlm-category-line { gap: 8px; }
  .rlm-step .rlm-category h3 { font-size: 24px; }
  .rlm-step .rlm-category p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rlm-step .rlm-category-image img { transition: none; }
}

/* Hlavička a patička v3 ponechávají interakce původní šablony. */
.rlm-step .rlm-announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 35px;
  padding: 9px 20px;
  background: var(--rlm-olive);
  color: #fffdf6;
  text-align: center;
  font: 10px/1.6 Arial, sans-serif;
  letter-spacing: 1.2px;
}
body.template-12.rlm-step #header .rlm-menu-secondary,
body.template-12.rlm-step #header .nav-manufacturers { display: none; }
body.template-12.rlm-step #header { border-color: #deded2; }
body.template-12.rlm-step #header .navigation-wrapper { max-width: 1440px; }
body.template-12.rlm-step #header a:focus-visible,
body.template-12.rlm-step #header button:focus-visible { outline: 2px solid var(--rlm-rust); outline-offset: -4px; }
body.template-12.rlm-step #header .navigation-buttons > a,
body.template-12.rlm-step #header .top-nav-button-login { border: 0; }
body.template-12.rlm-step #header .navigation-buttons > a:hover,
body.template-12.rlm-step #header .top-nav-button-login:hover { background: #e8e8df; color: var(--rlm-ink); }
body.template-12.rlm-step #header .menu-level-1 > li > a,
body.template-12.rlm-step #header .menu-helper > ul > li > a { font-weight: 400; }
.rlm-step #rlm-pribeh { scroll-margin-top: 105px; }

body.template-12.rlm-step #footer { padding-top: 0; }
body.template-12.rlm-step #footer .rlm-footer {
  display: grid;
  grid-template-columns: 1.8fr .8fr 1.2fr 1fr;
  gap: 45px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 66px 5% 54px;
  color: var(--rlm-paper);
  font-family: Arial, sans-serif;
}
.rlm-step .rlm-footer * { box-sizing: border-box; }
body.template-12.rlm-step #footer .rlm-footer-motto { margin: 0 0 20px; font: 400 40px/1.16 Georgia, serif; letter-spacing: -1px; }
.rlm-step .rlm-footer-motto em { color: #d3d7c5; }
.rlm-step .rlm-footer-description { margin: 0 0 23px; font-size: 12px; line-height: 1.9; color: #c8cdbe; }
body.template-12.rlm-step #footer .rlm-footer-column h3 { margin: 4px 0 19px; font: 400 23px/1.3 Georgia, serif; letter-spacing: -.4px; }
.rlm-step .rlm-footer-column ul { display: grid; gap: 3px; list-style: none; margin: 0; padding: 0; }
body.template-12.rlm-step #footer .rlm-footer-column li { margin: 0; padding: 0; background: none; }
body.template-12.rlm-step #footer .rlm-footer-column li::before { content: none; }
.rlm-step .rlm-footer-column li a { display: inline-flex; align-items: center; min-height: 38px; font-size: 12px; line-height: 1.6; text-decoration: none; }
.rlm-step .rlm-footer-contact p { margin: 0 0 16px; color: #c8cdbe; font-size: 12px; line-height: 1.9; }
body.template-12.rlm-step #footer .rlm-footer-story,
body.template-12.rlm-step #footer .rlm-footer-contact-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 44px; border-bottom: 1px solid #737c65; font-size: 12px; line-height: 1.6; text-decoration: none; }
.rlm-step #footer img.rlm-footer-arrow { display: block; width: 22px; height: 22px; flex: none; filter: brightness(0) invert(1); }
body.template-12.rlm-step #footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 1296px; width: 90%; padding: 22px 0 27px; border-top: 1px solid #ffffff26; font: 11px/1.8 Arial, sans-serif; }
body.template-12.rlm-step #footer .footer-bottom::before,
body.template-12.rlm-step #footer .footer-bottom::after { display: none; }
body.template-12.rlm-step #footer .copyright { float: none; order: 0; color: #c8cdbe; }
body.template-12.rlm-step #footer #rlm-author-credit { order: 1; color: #c8cdbe; }
body.template-12.rlm-step #footer #rlm-author-credit a { display: inline-block; padding: 5px 0; text-decoration: underline; text-underline-offset: 3px; }
body.template-12.rlm-step #footer #signature { float: none; order: 2; margin-left: 0; width: auto; font-size: 11px; }
body.template-12.rlm-step #footer .cookies-settings { display: inline-block; margin-left: 14px; text-underline-offset: 4px; }
body.template-12.rlm-step #footer a:focus-visible { outline: 2px solid #e5c3a4; outline-offset: 4px; }

@media (min-width: 992px) {
  body.template-12.rlm-step #header .navigation-wrapper { min-height: 94px; padding: 0 30px; }
  body.template-12.rlm-step #header .site-name { padding: 0 28px 0 0; }
  body.template-12.rlm-step #header .site-name img { max-height: 62px; max-width: 160px; }
  body.template-12.rlm-step #header .navigation-buttons { gap: 3px; padding-left: 18px; }
  body.template-12.rlm-step #header .navigation-buttons > a,
  body.template-12.rlm-step #header .top-nav-button-login { width: 49px; height: 49px; line-height: 49px; border-radius: 50%; font-size: 21px; }
  body.template-12.rlm-step #header .navigation-buttons .cart-count i { top: 1px; right: 0; }
  body.template-12.rlm-step #header .menu-level-1 > li > a { padding-right: 19px; padding-left: 19px; }
}
@media (min-width: 992px) and (max-width: 1050px) {
  body.template-12.rlm-step #header .navigation-wrapper { padding-right: 20px; padding-left: 20px; }
  body.template-12.rlm-step #header .site-name { padding-right: 12px; }
  body.template-12.rlm-step #header .menu-level-1 > li > a { font-size: 12px; padding-right: 11px; padding-left: 11px; }
}
@media (max-width: 1050px) {
  body.template-12.rlm-step #footer .rlm-footer { grid-template-columns: 1.4fr 1fr; gap: 38px 50px; }
}
@media (max-width: 767px) {
  .rlm-step .rlm-announcement { min-height: 32px; padding: 7px 12px; font-size: 9px; letter-spacing: .7px; }
  body.template-12.rlm-step #header .site-name { padding-left: 18px; }
  body.template-12.rlm-step #header .site-name img { max-height: 38px; max-width: 112px; }
  body.template-12.rlm-step #footer .rlm-footer { padding-top: 43px; padding-bottom: 38px; gap: 33px 25px; }
  .rlm-step .rlm-footer-intro { grid-column: 1 / -1; }
  body.template-12.rlm-step #footer .rlm-footer-motto { font-size: 37px; }
  body.template-12.rlm-step #footer .rlm-footer-column h3 { font-size: 21px; }
  body.template-12.rlm-step #footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 15px; font-size: 10px; }
  body.template-12.rlm-step #footer .cookies-settings { display: table; margin: 8px 0 0; }
}
@media (max-width: 440px) {
  body.template-12.rlm-step #footer .rlm-footer { grid-template-columns: 1fr; gap: 27px; padding-right: 7%; padding-left: 7%; }
  .rlm-step .rlm-footer-column li a { min-height: 42px; }
}

/* Nativní připnutá mobilní hlavička musí rezervovat místo i pro proužek. */
@media (max-width: 991px) {
  .rlm-step .rlm-announcement { min-height: 32px; padding: 7px 12px; font-size: 9px; letter-spacing: .7px; }
  body.template-12.rlm-step.ums_mobile_header_v1--on .overall-wrapper { padding-top: 92px; }
  body.template-12.rlm-step.ums_mobile_header_v1--on #navigation { padding-top: 92px; }
  body.template-12.rlm-step.ums_mobile_header_v1--on #header .navigation-buttons { top: 32px; }
}
@media (max-width: 479px) {
  body.template-12.rlm-step.ums_mobile_header_v1--on .overall-wrapper { padding-top: 72px; }
}
