/* One footer on every page: the brand, the seller's details and the links.
   "Nastavení cookies" (added by analytics.js) sits among the links and looks
   like them. */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid #dbdfd4;
  background: #fcfaf5;
  color: #4f5b52;
  font-size: 13px;
  line-height: 1.5;
}
.site-footer-inner {
  display: grid;
  gap: 10px;
  width: min(1240px, calc(100% - 48px));
  margin: auto;
  padding: 22px 0 28px;
}
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: #222d26;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
}
.site-footer .brand span { color: inherit; }
.site-footer .brand-mark { width: 28px; height: 28px; }
.site-footer-seller { margin: 0; font-size: 12px; }
.site-footer-seller a { color: #214f45; text-decoration: underline; text-underline-offset: 3px; }
.site-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.site-footer-links :is(a, button) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #214f45;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #9fb4a9;
  text-underline-offset: 3px;
  cursor: pointer;
}
.site-footer-links :is(a, button):hover { text-decoration-color: currentColor; }
/* Card and Comgate logos, as the payment gateway asks, in one small row. */
.site-footer .payment-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 22px; padding-top: 4px; }
.site-footer .payment-logos a { display: block; line-height: 0; }
.site-footer .payment-logos img { display: block; width: auto; max-width: none; }
.site-footer .logo-comgate { height: 22px; }
.site-footer .logo-visa { height: 16px; }
.site-footer .logo-mastercard { height: 24px; }
@media (max-width: 680px) {
  .site-footer-inner { width: calc(100% - 36px); }
}

/* On short pages the footer still closes the window at its bottom edge. */
body:has(> .site-footer) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(> .site-footer) > main { flex: 1 0 auto; margin-block: 0; }
body:has(> .site-footer) > main:not(.wrap) { width: 100%; }

/* The seller's details and the contacts each read as their own lines; on
   phones the links stand in two even columns with room to tap. */
.site-footer-seller span:not(:last-child)::after { content: ","; }
.site-footer-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 12px; }
.site-footer-contact a { color: #214f45; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .site-footer-inner { gap: 14px; padding: 26px 0 32px; }
  .site-footer-seller span { display: block; }
  .site-footer-seller span:not(:last-child)::after { content: none; }
  .site-footer-seller, .site-footer-contact { font-size: 13px; }
  .site-footer-contact a { display: inline-flex; align-items: center; min-height: 32px; }
  .site-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border-top: 1px solid #e2e5dc; }
  .site-footer-links :is(a, button) { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid #e2e5dc; text-align: left; text-decoration: none; font-size: 14px; }
  .site-footer .payment-logos { justify-content: center; padding-top: 10px; }
}
