/* ==========================================================================
   Contact page — [fotta_kontakt]

   Filled colour blocks, no outlines, no shadows. Every panel earns its edge
   from its own fill, which is what keeps the page reading as contrasty
   rather than as a grid of hairline boxes.
   ========================================================================== */

.fotta-contact {
  font-family: "SatoshiMedium", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fotta-ink);
  background: var(--fotta-paper);
  position: relative;
  padding-bottom: 72px;
  box-sizing: border-box;
}
.fotta-contact *,
.fotta-contact *::before,
.fotta-contact *::after { box-sizing: border-box; }

/* The shortcode renders inside the theme's narrow content wrappers. */
.content-area:has(.fotta-contact),
.site-main:has(.fotta-contact) {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.fotta-contact__wrap {
  width: 100%;
  max-width: var(--fotta-container);
  margin-inline: auto;
  padding-inline: var(--fotta-gutter);
}

/* ------------------------------------------------------------------ hero -- */
.fotta-contact__hero {
  background: var(--fotta-accent);
  color: #fff;
  padding: 72px 0 76px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  /* Bleeds the orange to the window edges. Safe here: the only thing inside
     is the decorative wedge, and unlike 100vw this ignores the scrollbar. */
  box-shadow: 0 0 0 100vmax var(--fotta-accent);
  clip-path: inset(0 -100vmax);
}
/* a flat lime wedge, the same move the old page used */
.fotta-contact__hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -40%;
  width: 46%;
  height: 190%;
  background: var(--fotta-bio);
  transform: rotate(14deg);
  pointer-events: none;
}
.fotta-contact__eyebrow {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: var(--fotta-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--fotta-pill);
  margin-bottom: 20px;
}
.fotta-contact__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(44px, 8vw, 92px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  line-height: 0.95 !important;
  color: #fff !important;
}
.fotta-contact__lead {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  max-width: 34ch;
  color: #fff;
}

/* ----------------------------------------------------------------- cards -- */
.fotta-contact__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .fotta-contact__cards { grid-template-columns: 1fr; margin-top: 24px; }
}

.fotta-contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 26px 24px;
  border-radius: var(--fotta-radius-lg);
  text-decoration: none;
  color: var(--fotta-ink);
  border: 0;
  transition: transform 0.2s var(--fotta-ease), background 0.2s var(--fotta-ease);
}
.fotta-contact-card,
.fotta-contact-card:link,
.fotta-contact-card:visited,
.fotta-contact-card:hover,
.fotta-contact-card:focus {
  color: var(--fotta-ink) !important;
  text-decoration: none !important;
}
.fotta-contact-card:hover { transform: translateY(-4px); }

.fotta-contact-card--phone { background: var(--fotta-accent-soft); }
.fotta-contact-card--mail  { background: var(--fotta-bio-soft); }
.fotta-contact-card--place { background: var(--fotta-beet-soft); }

.fotta-contact-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 14px;
  color: #fff;
}
.fotta-contact-card__icon svg { width: 24px !important; height: 24px !important; }
.fotta-contact-card--phone .fotta-contact-card__icon { background: var(--fotta-accent); }
.fotta-contact-card--mail  .fotta-contact-card__icon { background: var(--fotta-bio); }
.fotta-contact-card--place .fotta-contact-card__icon { background: var(--fotta-beet); }

.fotta-contact-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fotta-ink-soft);
}
.fotta-contact-card__value {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.fotta-contact-card__note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fotta-ink-soft);
  margin-top: 4px;
}
.fotta-contact-card__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fotta-ink);
}
.fotta-contact-card__go svg {
  width: 15px !important;
  height: 15px !important;
  transition: transform 0.2s var(--fotta-ease);
}
.fotta-contact-card:hover .fotta-contact-card__go svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ band -- */
/* Two separate rounded blocks rather than one clipped box: the theme puts
   its own margins on <ul>, which broke the shared corner and left the green
   panel with square edges on one side. */
.fotta-contact__band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .fotta-contact__band { grid-template-columns: 1fr; }
}
.fotta-contact__band-text {
  background: var(--fotta-ink);
  color: #fff;
  padding: 44px 42px;
  border-radius: var(--fotta-radius-xl);
}
.fotta-contact__band-text h2 {
  margin: 0 0 10px !important;
  font-size: clamp(26px, 3.4vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.08 !important;
  color: #fff !important;
}
.fotta-contact__band-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}
.fotta-contact__band-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 16px 26px;
  border-radius: var(--fotta-pill);
  background: var(--fotta-accent);
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s var(--fotta-ease), transform 0.12s var(--fotta-ease);
}
.fotta-contact__band-btn svg { width: 17px !important; height: 17px !important; }
.fotta-contact__band-btn,
.fotta-contact__band-btn:link,
.fotta-contact__band-btn:visited,
.fotta-contact__band-btn:hover,
.fotta-contact__band-btn:focus,
.fotta-contact__band-btn:active {
  color: #fff !important;
  text-decoration: none !important;
}
.fotta-contact__band-btn:hover { background: var(--fotta-accent-dark); transform: translateY(-2px); }

.fotta-contact__band-usp {
  background: var(--fotta-bio);
  color: #fff;
  list-style: none !important;
  margin: 0 !important;
  padding: 44px 36px !important;
  border-radius: var(--fotta-radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.fotta-contact__band-usp li { list-style: none !important; margin: 0 !important; }
.fotta-contact__band-usp li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}
.fotta-contact__band-usp svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ foot -- */
.fotta-contact__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.fotta-contact__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--fotta-pill);
  background: var(--fotta-surface);
  color: var(--fotta-ink);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s var(--fotta-ease);
}
.fotta-contact__social svg { width: 19px !important; height: 19px !important; }
.fotta-contact__social:hover { background: var(--fotta-accent-soft); }
.fotta-contact__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 13px;
  color: var(--fotta-ink-faint);
}

@media (prefers-reduced-motion: reduce) {
  .fotta-contact-card,
  .fotta-contact__band-btn,
  .fotta-contact-card__go svg { transition: none; }
}

/* ==========================================================================
   Odstúpenie od zmluvy
   ==========================================================================
   Same flat language as the checkout: filled panels, numbered steps, no
   shadows. Steps 2 and 3 are dimmed until an order is loaded, so the page
   reads as "do this first" rather than as one long wall of inputs. */
.fotta-wd {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--fotta-gutter);
  color: var(--fotta-ink);
}

.fotta-wd__head { margin-bottom: 28px; }
.fotta-wd__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}
.fotta-wd__lead {
  margin: 0;
  max-width: 62ch;
  color: var(--fotta-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.fotta-wd__done,
.fotta-wd__error {
  border-radius: var(--fotta-radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.55;
}
.fotta-wd__done { background: var(--fotta-ok-soft); color: var(--fotta-ink); }
.fotta-wd__done strong { display: block; margin-bottom: 6px; font-size: 17px; }
.fotta-wd__done p { margin: 0; }
.fotta-wd__error { background: var(--fotta-apple-soft); color: var(--fotta-ink); }

/* The honeypot: off-screen rather than display:none, because some bots skip
   hidden inputs and we want them to find it. */
.fotta-wd__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fotta-wd__step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  background: var(--fotta-surface);
  border-radius: var(--fotta-radius-lg);
  padding: 24px;
  margin-bottom: 18px;
  transition: opacity 0.25s var(--fotta-ease);
}
.fotta-wd__step--locked { opacity: 0.55; }
.fotta-wd__step[hidden] { display: none; }

.fotta-wd__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fotta-accent);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}
.fotta-wd__step-body { min-width: 0; }
.fotta-wd__step-title {
  margin: 4px 0 14px;
  font-size: 20px;
  font-weight: 800;
}
.fotta-wd__hint,
.fotta-wd__note,
.fotta-wd__legal {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fotta-ink-soft);
}
.fotta-wd__hint { margin: 0 0 14px; }
.fotta-wd__legal { margin: 18px 0 20px; }
.fotta-wd__note { margin: 12px 0 0; min-height: 1.2em; }
.fotta-wd__note.is-error { color: var(--fotta-apple); font-weight: 700; }
.fotta-wd__note.is-ok { color: var(--fotta-ok); font-weight: 700; }

.fotta-wd__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 620px) {
  .fotta-wd__grid { grid-template-columns: minmax(0, 1fr); }
  .fotta-wd__step { grid-template-columns: 32px minmax(0, 1fr); padding: 20px 16px; gap: 12px; }
}

.fotta-wd__field { display: block; }
.fotta-wd__field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fotta-ink-soft);
}
.fotta-wd__field input,
.fotta-wd__field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--fotta-paper);
  border: 2px solid transparent;
  border-radius: var(--fotta-radius-sm);
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--fotta-ink);
  transition: border-color 0.2s var(--fotta-ease);
}
.fotta-wd__field textarea { resize: vertical; }
.fotta-wd__field input:focus,
.fotta-wd__field textarea:focus {
  outline: none;
  border-color: var(--fotta-accent);
}

.fotta-wd__lookup { margin-top: 4px; }

.fotta-wd__order-summary {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fotta-ink-soft);
}

.fotta-wd__items { display: grid; gap: 10px; }

.fotta-wd__item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--fotta-paper);
  border-radius: var(--fotta-radius);
  padding: 14px 16px;
  transition: opacity 0.2s var(--fotta-ease);
}
.fotta-wd__item.is-off { opacity: 0.45; }

.fotta-wd__pick {
  width: 22px;
  height: 22px;
  accent-color: var(--fotta-accent);
  cursor: pointer;
}
.fotta-wd__item-main {
  display: grid;
  gap: 3px;
  min-width: 0;
  cursor: pointer;
}
.fotta-wd__item-name { font-size: 15px; font-weight: 800; line-height: 1.3; }
.fotta-wd__item-meta { font-size: 13px; color: var(--fotta-ink-faint); }

.fotta-wd__qty {
  display: grid;
  gap: 4px;
  justify-items: end;
}
.fotta-wd__qty-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fotta-ink-faint);
}
.fotta-wd__qty-input {
  width: 74px;
  box-sizing: border-box;
  background: var(--fotta-surface);
  border: 2px solid transparent;
  border-radius: var(--fotta-radius-sm);
  padding: 8px 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  color: var(--fotta-ink);
}
.fotta-wd__qty-input:focus { outline: none; border-color: var(--fotta-accent); }
.fotta-wd__qty-input:disabled { opacity: 0.5; }

@media (max-width: 480px) {
  .fotta-wd__item { grid-template-columns: 22px minmax(0, 1fr); }
  .fotta-wd__qty { grid-column: 2; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .fotta-wd__step,
  .fotta-wd__item,
  .fotta-wd__field input,
  .fotta-wd__field textarea { transition: none; }
}

/* ==========================================================================
   Právne dokumenty (zásady ochrany údajov a spol.)
   ==========================================================================
   A long read, so this optimises for reading: one narrow column, generous
   line height, headings that are easy to scan, and a table that turns into
   something usable on a phone instead of scrolling sideways. */
.fotta-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--fotta-gutter);
  color: var(--fotta-ink);
  font-size: 16px;
  line-height: 1.7;
}

.fotta-doc__head { margin-bottom: 32px; }
.fotta-doc__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}
.fotta-doc__meta {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fotta-ink-faint);
}
.fotta-doc__lead {
  margin: 0;
  font-size: 17px;
  color: var(--fotta-ink-soft);
}

.fotta-doc__section { margin-bottom: 34px; }
.fotta-doc__section h2 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}
.fotta-doc__section p { margin: 0 0 12px; }
.fotta-doc__section ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.fotta-doc__section li { margin-bottom: 7px; }
.fotta-doc__section a {
  color: var(--fotta-accent-dark);
  text-decoration: underline;
}
.fotta-doc__section a:hover { color: var(--fotta-accent); }

.fotta-doc__table-wrap { overflow-x: auto; margin-bottom: 14px; }
.fotta-doc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.fotta-doc__table th,
.fotta-doc__table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--fotta-line);
}
.fotta-doc__table thead th {
  background: var(--fotta-surface);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fotta-ink-soft);
  border-bottom: 0;
}
.fotta-doc__table thead th:first-child { border-radius: var(--fotta-radius-sm) 0 0 0; }
.fotta-doc__table thead th:last-child { border-radius: 0 var(--fotta-radius-sm) 0 0; }

/* Below this the three columns stop fitting; stack each row into a labelled
   block instead of forcing a horizontal scroll. */
@media (max-width: 620px) {
  .fotta-doc__table thead { display: none; }
  .fotta-doc__table,
  .fotta-doc__table tbody,
  .fotta-doc__table tr,
  .fotta-doc__table td { display: block; width: 100%; }
  .fotta-doc__table tr {
    background: var(--fotta-surface);
    border-radius: var(--fotta-radius);
    padding: 6px 4px;
    margin-bottom: 12px;
  }
  .fotta-doc__table td {
    border-bottom: 0;
    padding: 6px 12px;
  }
  .fotta-doc__table td:first-child { font-weight: 800; }
  .fotta-doc__table td:not(:first-child) {
    font-size: 14px;
    color: var(--fotta-ink-soft);
  }
}
