/* BEGIN dsk-home-belowfold-contact-pl.v1.css */

/* dsk-services-mobile-lift */
@media (max-width: 768px){/* CTA / form card: white (mobile) */
  #formularz-zgloszeniowy .contact-full__form{
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.10);
    border-left: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  }
  #formularz-zgloszeniowy .contact-full__form .sb-section-title{
    margin-bottom: 8px !important;
  }
  #formularz-zgloszeniowy .contact-full__form .sb-section-title span{
    font-weight: 900;
    letter-spacing: -0.01em;
  }
  #formularz-zgloszeniowy .contact-full__form .sb-section-subtitle{
    margin-bottom: 12px !important;
  }
  #formularz-zgloszeniowy .contact-full__form .sb-paragraph p{
    margin: 8px 0 0 0;
    line-height: 1.55;
  }

  #formularz-zgloszeniowy .sb-row{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #formularz-zgloszeniowy [class*="col-"]{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* dsk-contact-optional-css */
  .dsk-contact-optional{
    margin: 10px 0 14px;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.65);
  }
  .dsk-contact-optional[open]{ background: rgba(255,255,255,0.92); }
  .dsk-contact-optional > summary{
    cursor: pointer;
    font-weight: 800;
    color: rgba(10,12,20,0.80);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
  }
  .dsk-contact-optional > summary::-webkit-details-marker{ display:none; }
  .dsk-contact-optional > summary::marker{ content:''; font-size:0; }
  .dsk-contact-optional > summary:after{ content: '▾'; opacity: 0.65; }
  .dsk-contact-optional[open] > summary:after{ content: '▴'; opacity: 0.65; }
  .dsk-contact-optional__hint{
    margin: 6px 0 0;
    font-size:0.95rem;
    opacity: 0.80;
  }
  .dsk-contact-optional__inner{ margin-top: 10px; }

/* dsk-uiux-map-hours-home */
/* ============================
   UI/UX FIXES: MAP + GODZINY + BALANS KOLUMN
   Scope: tylko sekcja #formularz-zgloszeniowy (strona główna)
   ============================ */

/* Prawa kolumna: mapa + dane kontaktowe jako spójna "karta" (jak formularz) */
#formularz-zgloszeniowy .contact-full__location{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 18px 48px rgba(15,23,42,0.12) !important;
  border-radius: 22px !important;
  overflow:hidden !important;
  padding: 0 !important;
  color: #0f172a !important;
  margin-top: 0 !important;
}

#formularz-zgloszeniowy .contact-full__location .sb-map{
  margin: 0 !important;
}

/* Uwaga: wysokość mapy wpływa na wyrównanie dołu karty z przyciskiem po lewej.
   Cel: dół prawej karty (godziny) ma kończyć się na tej samej wysokości co zielony przycisk w formularzu. */
#formularz-zgloszeniowy .contact-full__location .sb-map iframe{
  display:block !important;
  width: 100% !important;
  height: 500px !important; /* skrócone (by wyrównać wysokość z lewą kolumną) */
  border: 0 !important;
}

#formularz-zgloszeniowy .contact-full__location .contact-details{
  padding: 14px 18px 16px !important; /* odrobinę ciaśniej = lepsza symetria */
}

#formularz-zgloszeniowy .contact-details__row + .contact-details__row{
  margin-top: 14px !important;
}

/* Godziny otwarcia: czytelny układ 2-kolumnowy */
#formularz-zgloszeniowy .hours-list{
  list-style:none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

#formularz-zgloszeniowy .hours-list__item{
  display: grid !important;
  grid-template-columns: minmax(140px, 1fr) auto !important; /* dni | godziny */
  align-items: center !important;
  column-gap: 14px !important;
  padding: 4px 0 !important;
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
}

#formularz-zgloszeniowy .hours-list__item:last-child{
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#formularz-zgloszeniowy .hours-list__day{
  font-weight: 600 !important;
}

#formularz-zgloszeniowy .hours-list__time{
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

#formularz-zgloszeniowy .hours-list__time > div{
  display: inline !important; /* 09:00 – 18:00 w jednej linii */
}

#formularz-zgloszeniowy .hours-list__dash{
  padding: 0 6px !important;
  opacity: .75;
}

/* Balans kolumn: równe szerokości + kontrolowany odstęp */
@media (min-width: 769px){
  #formularz-zgloszeniowy .contact-full > .row{
    display: flex !important;
    align-items: flex-start !important;
    gap: 22px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #formularz-zgloszeniowy .contact-full > .row > [class*="col-"]{
    float: none !important; /* kolumny jako flex-items */
    flex: 1 1 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px){
  #formularz-zgloszeniowy .contact-full__location{
    margin-top: 18px !important; /* zachowaj odstęp pod formularzem */
  }
  #formularz-zgloszeniowy .contact-full__location .sb-map iframe{
    height: 340px !important; /* mobile */
  }
}

/* dsk-map-intro-style */
@media (max-width: 767px){
  body.dsk-page-home .contact-full__location .dsk-map-intro{margin:18px 0 12px !important;text-align:center !important;}
  body.dsk-page-home .contact-full__location .dsk-map-intro__title{margin:0 0 6px !important;font-size:18px !important;font-weight:800 !important;text-align:center !important;}
  body.dsk-page-home .contact-full__location .dsk-map-intro__text{margin:0 0 10px !important;color:#6b7280 !important;font-size:14px !important;line-height:1.45 !important;text-align:center !important;}
  body.dsk-page-home .contact-full__location .dsk-map-intro .dsk-btn-map{display:inline-flex !important;align-items:center !important;justify-content:center !important;margin:0 auto !important;width:auto !important;max-width:100% !important;}
}
/* END dsk-home-belowfold-contact-pl.v1.css */

/* BEGIN dsk-home-belowfold-mobile-fixes-pl.v1.css */

/* dsk-home-mobile-stickybar-spacing */
/* HOME-only: let the page end on the footer like on /regulamin; do not reserve extra white body space below it. */
@media (max-width: 768px), (hover: none) and (pointer: coarse){
  body.dsk-page-home{
    padding-bottom: 0 !important;
  }
}

/* dsk-home-mobile-margins-hotfix */
@media (max-width: 768px){
  /* Home-only override of later bundle rules: remove 95vw squeeze from the homepage contact/form section */
  body.dsk-page-home #formularz-zgloszeniowy .container.sb-container-fixed.sb-container,
  body.dsk-page-home #formularz-zgloszeniowy .sb-container,
  body.dsk-page-home #formularz-zgloszeniowy .sb-container-fixed,
  body.dsk-page-home #contact-form .container.sb-container-fixed.sb-container,
  body.dsk-page-home #contact-form .sb-container,
  body.dsk-page-home #contact-form .sb-container-fixed{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--dsk-container-pad, 16px) !important;
    padding-right: var(--dsk-container-pad, 16px) !important;
    box-sizing: border-box !important;
  }
}

/* dsk-home-mobile-section-gutter-fix-v4 */
@media (max-width: 768px){
  /* Keep inserted media/list blocks aligned with the shared mobile axis without reviving older inner text paddings. */
  body.dsk-page-home #jak-to-dziala .sb-list{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* END dsk-home-belowfold-mobile-fixes-pl.v1.css */

