.kt-section {
  margin: 0 auto;
  padding: 50px 0px;
}

.kt-section:first-of-type {
  padding-top: 30px !important;
}

/* Kontaktní údaje + mapa */
.kt-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.kt-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kt-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2a251f;
  text-decoration: none;
}

.kt-contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e8e4de;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-contact-icon::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.kt-icon-phone::before {
  content: url(/user/documents/upload/icons/telefon.svg);
}

.kt-icon-mobile::before {
  content: url(/user/documents/upload/icons/mobil.svg);
}

.kt-icon-email::before {
  content: url(/user/documents/upload/icons/email.svg);
}

.kt-icon-address::before {
  content: url(/user/documents/upload/icons/address.svg);
}

.kt-contact-label {
  display: block;
  color: #786959;
  letter-spacing: 0.04em;
}

.kt-contact-value {
  font-weight: 600;
}

.kt-map {
  border-radius: 10px !important;
  overflow: hidden;
  border: 1px solid #e8e4de;
  min-height: 340px;
}

.kt-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 340px;
}

/* Obchodní / fakturační oddělení */
.kt-departments {
  border-bottom: 1px solid #e6e2db;
  border-top: 1px solid #e6e2db;
}

.kt-departments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.kt-dept-heading {
  font-weight: 700;
  margin: 0 0 18px;
}

body.in-kontakty.type-page p.kt-dept-text {
  color: #4a443d;
  margin: 0;
  line-height: 2 !important;
}

.kt-dept-name {
  color: #2a251f;
}

.kt-dept-link {
  color: #4a443d;
}

.kt-dept-link-accent {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.kt-dept-ico {
  color: #2a251f;
  font-weight: 600;
}

/* Prodejna a pražírna - tým */
.kt-team {
  text-align: center;
}

.kt-team-heading {
  font-weight: 700;
  margin: 0 0 10px;
}

.kt-team-phone {
  color: #4a443d;
  margin: 0 0 48px;
}

.kt-team-phone a {
  color: #2a251f;
  font-weight: 700;
}

.kt-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kt-team-photo {
  aspect-ratio: 1/1;
  border-radius: 10px !important;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    #e2d6c2,
    #e2d6c2 12px,
    #d6c8b1 12px,
    #d6c8b1 24px
  );
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kt-team-photo-placeholder {
  font-family: monospace;
  color: #7a6a52;
  background: #f3f3f3;
  padding: 7px 12px;
  border-radius: 10px !important;
}

.kt-team-name {
  font-weight: 600;
  margin: 0 0 6px;
}

.kt-team-role {
  color: #786959;
  margin: 0;
}

/* ==========================================================================
   Responsive – Shoptet breakpointy (1200 / 992 / 768 / 480)
   ========================================================================== */

/* Menší desktop / tablet na šířku */
@media (max-width: 1200px) {
  .kt-top {
    gap: 32px;
  }

  .kt-departments-grid {
    gap: 32px;
  }

  .kt-team-grid {
    gap: 20px;
  }
}

/* Tablet na šířku */
@media (max-width: 992px) {
  .kt-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kt-map,
  .kt-map iframe {
    min-height: 300px;
  }

  .kt-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet na výšku / velký mobil */
@media (max-width: 767px) {
  .kt-section {
    padding: 28px 0;
  }

  .kt-departments-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kt-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kt-team-phone {
    margin-bottom: 32px;
  }
}

/* Mobil */
@media (max-width: 480px) {
  .kt-section {
    padding: 20px 0;
  }

  .kt-top {
    gap: 24px;
  }

  .kt-map,
  .kt-map iframe {
    min-height: 240px;
  }

  .kt-team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kt-team-photo {
    margin-bottom: 14px;
  }
}

.kt-form {
  margin-top: 3em;
}

.kt-form {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border: 1px solid #e8e4de;
  border-radius: 10px !important;
  text-align: left;
}

.kt-form .form-group {
  margin: 0 0 22px;
  display: flex !important;
  flex-direction: column;
}

.kt-form label {
  display: block;
  font-weight: 600;
  color: #4a443d;
  margin: 0 0 8px;
}

.kt-form .required-asterisk::after {
  content: " *";
  color: var(--color-secondary);
}

.kt-form .form-control {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  color: #4a443d;
  background: #fff;
  /* padding: 16px 14px; */
  padding: 24px 14px 14px;
  border: 1px solid #d9d3cb;
  border-radius: 10px !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

form label > span {
  font-size: 14px !important;
}

.kt-form .form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(238, 78, 27, 0.15);
}

.kt-form textarea.form-control {
  /* resize: vertical; */
  resize: none;
  min-height: 140px;
}

/* Souhlas se zpracováním údajů */
.kt-form .consents {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.kt-form .consents input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-secondary);
  flex-shrink: 0;
}

.kt-form .consents label {
  margin: 0;
  font-weight: 400;
  color: #6e655c;
}

.kt-form .consents a {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Odeslat */
.kt-form .submit-wrapper {
  text-align: center;
  margin-bottom: 0;
}

.kt-form .btn-primary {
  display: inline-block;
  background: var(--color-primary-hover);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kt-form .btn-primary:hover {
  background: var(--color-primary);
  color: white;
}

.kt-form > p {
  text-align: left;
  margin-bottom: 40px !important;
}

.kt-obchodni,
.kt-fakturacni,
.kt-contact-list {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 10px !important;
  padding: 34px 32px;
  height: 100%;
}
