/* Newsletter nad patičkou na úvodní stránce.
   Text je v banneru v Shoptetu (.sg-nl__text), formulář je z Ecomailu (#f-6-…). */

body.in-index .footer-banners { margin-bottom: 80px; background: #fff; }

.sg-nl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: 48px;
  row-gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: #1e1e1c;
  text-align: left;
}

/* Text z banneru: 1. odstavec = štítek, 2. = nadpis, další = podtext */
.sg-nl__text p { margin: 0 !important; font-size: 17px !important; font-weight: 400 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; color: #5d5d58 !important; }
.sg-nl__text p:first-child { margin-bottom: 12px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .18em !important; text-transform: uppercase !important; color: #1e1e1c !important; }
.sg-nl__text p:nth-child(2) { margin-bottom: 10px !important; font-size: 36px !important; font-weight: 700 !important; line-height: 1.1 !important; color: #1e1e1c !important; }

/* Formulář Ecomailu */
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-holder { width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; font-family: inherit !important; overflow: visible !important; box-sizing: border-box !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 form, #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-step { min-height: 0 !important; height: auto !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-step-visible .ec-v-form-column { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; row-gap: 14px; align-items: start; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-spacer,
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-forms-label:empty,
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-text:has(h1) { display: none !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-text, #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-input, #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit { padding: 0 !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-input { grid-column: 1; grid-row: 1; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit { grid-column: 2; grid-row: 1; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-text { grid-column: 1 / -1; grid-row: 2; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 p { margin: 0 !important; text-align: left !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 input, #f-6-3fdfd544852ed7431aa64f3b9481afb9 button, #f-6-3fdfd544852ed7431aa64f3b9481afb9 a, #f-6-3fdfd544852ed7431aa64f3b9481afb9 span { font-family: inherit !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-forms-form-control { width: 100% !important; height: 52px !important; padding: 0 16px !important; border: 1px solid #c9c9c4 !important; border-right: 0 !important; border-radius: 0 !important; background: #fff !important; font-size: 15px !important; color: #1e1e1c !important; box-sizing: border-box !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit button { display: flex !important; align-items: center !important; justify-content: center !important; width: auto !important; height: 52px !important; padding: 3px 28px 0 !important; margin: 0 !important; line-height: 1 !important; text-align: center !important; box-sizing: border-box !important; background: #7ef861 !important; color: #1e1e1c !important; font-weight: 700 !important; letter-spacing: .08em !important; font-size: 15px !important; white-space: nowrap; cursor: pointer; border: 1px solid #7ef861 !important; border-radius: 0 !important; }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit button:hover { filter: brightness(.93); }
#f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-text a { font-size: 13px !important; color: #5d5d58 !important; text-decoration: underline !important; }

@media (max-width: 767px) {
  body.in-index .footer-banners { margin-bottom: 16px; }
  .sg-nl { grid-template-columns: 1fr; padding: 24px 0; }
  .sg-nl__text p:nth-child(2) { font-size: 28px !important; }
  #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-step-visible .ec-v-form-column { grid-template-columns: 1fr; row-gap: 12px; }
  #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-input, #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit, #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-text { grid-column: 1; grid-row: auto; }
  #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-forms-form-control { border-right: 1px solid #c9c9c4 !important; }
  #f-6-3fdfd544852ed7431aa64f3b9481afb9 .ec-v-form-submit button { width: 100% !important; }
}
