/* ==========================================================
   MindRise – mr-base.css
   Základ pro celý e-shop (Shoptet, šablona Samba)
   Proměnné, písmo, tlačítka, ikony. Vše s prefixem mr-.
   ========================================================== */

:root {
  /* Barvy – klidné tóny, tyrkys z loga jako akcent */
  --mr-ink: #213336;          /* hlavní text */
  --mr-ink-soft: #56676a;     /* vedlejší text */
  --mr-paper: #f6f8f7;        /* pozadí stránky */
  --mr-white: #ffffff;
  --mr-mist: #e6f2f1;         /* jemná tyrkysová plocha */
  --mr-accent-soft: #7fd3d3;  /* světlý tyrkys – dekorace */
  --mr-logo: #00b4b5;         /* tyrkys z loga – ikony, linky, kapka */
  --mr-accent: #00797a;       /* tlačítka a odkazy (čitelný kontrast) */
  --mr-accent-dark: #0f4a4b;  /* hover, tmavé pásy */
  --mr-lavender: #dcd8ec;     /* květový doplněk */
  --mr-peach: #f3dccf;        /* květový doplněk */
  --mr-line: rgba(33, 51, 54, .14);

  /* Písmo */
  --mr-font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mr-font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rozměry */
  --mr-radius-lg: 28px;
  --mr-radius-md: 16px;
  --mr-container: 1180px;
}

/* Základní typografie – přebíjí Sambu jen v nutné míře */
body {
  color: var(--mr-ink);
  background: var(--mr-paper);
  font-family: var(--mr-font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* kvůli sekcím přes celou šířku */
}

/* ---------- Tlačítka ---------- */
.mr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mr-font-sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.mr-btn--primary { background: var(--mr-accent); color: #fff !important; }
.mr-btn--primary:hover { background: var(--mr-accent-dark); }
.mr-btn--ghost { background: transparent; color: var(--mr-ink) !important; border-color: var(--mr-line); }
.mr-btn--ghost:hover { border-color: var(--mr-accent); color: var(--mr-accent-dark) !important; }
.mr-btn--light { background: #fff; color: var(--mr-accent-dark) !important; }
.mr-btn--light:hover { background: var(--mr-mist); }

/* ---------- Ikony (SVG v CSS – editor Shoptetu SVG v obsahu maže) ---------- */
.mr-ico {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--mr-i) center / contain no-repeat;
          mask: var(--mr-i) center / contain no-repeat;
}
.mr-ico--person { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
.mr-ico--lock   { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6.5 10V7.5a5.5 5.5 0 0 1 11 0V10M5 10h14v11H5z'/%3E%3Cpath d='M12 14v3'/%3E%3C/svg%3E"); }
.mr-ico--screen { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.mr-ico--drop   { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 3s6.5 7 6.5 11.5a6.5 6.5 0 0 1-13 0C5.5 10 12 3 12 3z'/%3E%3C/svg%3E"); }
.mr-ico--check  { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.mr-ico--arrow  { --mr-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* ---------- Přístupnost ---------- */
.mr-home :focus-visible,
.mr-btn:focus-visible {
  outline: 3px solid rgba(0, 121, 122, .4);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .mr-home *, .mr-home *::before, .mr-home *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   ÚPRAVY ŠABLONY SAMBA (platí pro celý web)
   ========================================================== */

/* Barvy a písma šablony – přepis proměnných Shoptetu.
   (Ideálně nastav stejné barvy i v administraci, tohle je pojistka.) */
:root {
  --template-font: "Figtree";
  --template-headings-font: "Newsreader";
  --color-header-background: #f6f8f7;
  --color-secondary: #00797a;          /* konverzní barva – tlačítka Do košíku apod. */
  --color-secondary-h: 180;
  --color-secondary-s: 100%;
  --color-secondary-l: 24%;
  --color-secondary-hover: #0f4a4b;
  --color-secondary-hover-h: 181;
  --color-secondary-hover-s: 66%;
  --color-secondary-hover-l: 18%;
  --color-primary-hover: #e6f2f1;      /* v Sambě růžová – nahrazeno světlým tyrkysem */
  --color-primary-hover-h: 175;
  --color-primary-hover-s: 32%;
  --color-primary-hover-l: 92%;
}
body,
button, input, select, textarea { font-family: var(--mr-font-sans); }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--mr-font-serif); font-weight: 500; }

/* ---------- Hlavička ---------- */
#header {
  background: var(--mr-paper);
  border-bottom: 1px solid var(--mr-line);
}
#header .site-name img {
  max-height: 72px;
  width: auto;
}
#header .navigation-buttons a,
#header .navigation-buttons button { color: var(--mr-ink); }
#header .navigation-buttons a:hover,
#header .navigation-buttons button:hover { color: var(--mr-accent); }

/* Hlavní menu – bez verzálek, klidnější písmo */
#navigation .menu-level-1 > li > a,
#navigation .menu-level-1 > li > a b {
  font-family: var(--mr-font-sans);
  font-size: 15.7px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mr-ink);
}
#navigation .menu-level-1 > li > a:hover b,
#navigation .menu-level-1 > li > a:focus-visible b {
  color: var(--mr-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* ---------- Patička Shoptetu (řádek s copyrightem) ---------- */
#footer { background: #123332; color: rgba(255, 255, 255, .6); }
#footer .footer-bottom-full-width { background: transparent; border-top: 1px solid rgba(255, 255, 255, .1); }
#footer .footer-bottom { color: rgba(255, 255, 255, .5); font-size: 13.6px; }
#footer .footer-bottom a,
#footer .footer-bottom strong { color: rgba(255, 255, 255, .75); }

/* ---------- Vlastní patička MindRise (mr-footer.html) ---------- */
.mr-footer {
  background: #123332;
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 36px;
  font-size: 15.2px;
  line-height: 1.6;
}
.mr-footer__wrap {
  width: min(calc(100% - 40px), var(--mr-container));
  margin-inline: auto;
}
.mr-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.mr-footer .mr-footer__brand {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mr-font-serif);
  font-size: 25.6px;
  color: #fff;
}
.mr-footer h3 {
  margin: 0 0 14px;
  font-family: var(--mr-font-sans);
  font-size: 15.2px;
  font-weight: 650;
  color: #fff;
}
.mr-footer p, .mr-footer li { font-size: inherit; line-height: inherit; }
.mr-footer ul { margin: 0; padding: 0; list-style: none; }
.mr-footer li { margin: 0 0 8px; }
.mr-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.mr-footer a:hover { color: #fff; text-decoration: underline; }
.mr-footer p { margin: 0; max-width: 30em; }
.mr-footer .mr-footer__operator {
  max-width: none;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.6px;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
  .mr-footer__grid { grid-template-columns: 1fr 1fr; }
  .mr-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .mr-footer__grid { grid-template-columns: 1fr; }
}

/* Oprava: patička MindRise je přesunutá dovnitř #footer, Samba tam přebíjí barvy odkazů */
#footer .mr-footer a { color: rgba(255, 255, 255, .72); }
#footer .mr-footer a:hover { color: #fff; }
#footer .mr-footer .mr-footer__brand { color: #fff; }
#footer .mr-footer h3 { color: #fff; }
#footer .mr-footer p { color: rgba(255, 255, 255, .7); }
#footer .mr-footer .mr-footer__operator { color: rgba(255, 255, 255, .5); }
#footer .footer-bottom-full-width,
#footer .footer-bottom { background: #123332 !important; }
#footer .footer-bottom,
#footer .footer-bottom span { color: rgba(255, 255, 255, .55); }

/* Patička – zesílená pravidla (Samba má na některých stránkách silnější selektory) */
#footer .mr-footer a,
#footer .mr-footer a:visited { color: rgba(255, 255, 255, .72) !important; }
#footer .mr-footer a:hover { color: #fff !important; }
#footer .mr-footer .mr-footer__brand { color: #fff !important; }
#footer .mr-footer h3 { color: #fff !important; }
#footer,
#footer .footer-bottom-full-width,
#footer .footer-bottom,
#footer .footer-bottom > span { background: #123332 !important; }
#footer .footer-bottom,
#footer .footer-bottom .copyright,
#footer .footer-bottom a,
#footer .footer-bottom strong,
#footer #signature a { color: rgba(255, 255, 255, .6) !important; }