/* Quick.Cms.Ext v6.x widgets stylesheet */
/* WIDGETS
  to style widgets in specific location use e.g.:
  .widgets-2 ... - type: header below menu
  .widgets-3 ... - type: footer after content
  #content ... - type: inside page content
*/

/* GLOBAL */
.widget .head{margin-bottom:.65em;text-align:center;font-size:1.375rem;color:var(--widget-name-color, var(--color-secondary));font-weight:600;letter-spacing:-0.02em;}
.widget .head.head--with-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.5rem 1rem;text-align:center;position:relative;}
.widget .head.head--with-more .head__title{flex:1 1 auto;min-width:0;text-align:center;}
.widget .head.head--with-more .head__more{flex:0 0 auto;font-size:0.875rem;font-weight:500;text-decoration:none;color:#fff;background:#333;padding:0.6em 1em;border-radius:20px;position:absolute;right:0;transition:background 0.2s ease;}
.widget .head.head--with-more .head__more:hover{background:#555;text-decoration:none;}
@media screen and (max-width:767px){
  .widget .head.head--with-more{flex-direction:column;position:static;}
  .widget .head.head--with-more .head__more{position:static;margin-top:0.5rem;}
}
#content .widget .head{padding-top:1.25em;}
/* Sekcja widżetu: pełna szerokość (tło); wewnątrz .widget-section__inner = max var(--layout-max) lub iWidgetWidth */
.widget-section{
  width:100%;
  list-style:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.widget-section__inner{
  width:100%;
  max-width:var(--layout-max, 1400px);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--layout-pad-x);
  padding-right:var(--layout-pad-x);
  box-sizing:border-box;
  min-width:0;
}
[class*="widgets-list"] > ul{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:stretch;
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
}
/* Stopka (widgets-3): kilka wąskich widżetów obok siebie w obrębie max --layout-max; szerokość kolumny z iWidgetWidth (inline --w w core/widgets.php) */
.widgets-3 > ul{
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  max-width:var(--layout-max, 1400px);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--layout-pad-x);
  padding-right:var(--layout-pad-x);
  box-sizing:border-box;
  gap:1rem 1.25rem;
}
.widgets-3 > ul > .widget-section{
  --w:var(--layout-max, 1400px);
  flex:0 1 var(--w);
  max-width:min(100%, var(--w));
  min-width:0;
  box-sizing:border-box;
}
@media screen and (max-width:639px){
  .widgets-3 > ul{
    flex-direction:column;
    flex-wrap:nowrap;
  }
  .widgets-3 > ul > .widget-section{
    flex:1 1 auto;
    max-width:100%;
  }
}
.widgets-list.widgets-list--divs{
  display:flex;
  flex-direction:column;
  width:100%;
}
/* Lokalizacja 9 (stopka): lista jako <div> (bDontDisplayList), ten sam układ co widgets-3 — obok siebie przy wąskim --w */
.widgets-list.widgets-9.widgets-list--divs{
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  max-width:var(--layout-max, 1400px);
  margin-left:auto;
  margin-right:auto;
  padding:2em;
  box-sizing:border-box;
  gap:1rem 1.25rem;
}
.widgets-list.widgets-9.widgets-list--divs > .widget-section{
  --w:var(--layout-max, 1400px);
  flex:0 1 var(--w);
  max-width:min(100%, var(--w));
  min-width:0;
  box-sizing:border-box;
}
@media screen and (max-width:639px){
  .widgets-list.widgets-9.widgets-list--divs{
    flex-direction:column;
    flex-wrap:nowrap;
  }
  .widgets-list.widgets-9.widgets-list--divs > .widget-section{
    flex:1 1 auto;
    max-width:100%;
  }
}
.widget > div.description{padding-bottom:5px;color:var(--widget-desc-color, inherit);}
.widget ul{list-style:none;}

/* Widget description — typografia jak w treści strony */
.widget-description__body > ul:not([class*="images-"]),
.widget-description__body > ol{padding:1.75em 1.75em 1.75em 3.75em !important;background:var(--color-white);border-radius:var(--radius-md);border:1px solid var(--color-divider);}
.widget-description__body > ul:not([class*="images-"]) li,
.widget-description__body > ol li{margin:.5em 0;padding:0;list-style:revert;}
.widget-description__body > ul:not([class*="images-"]){list-style:disc;}
.widget-description__body > ol{list-style:decimal;}
.widget-description__body > p{margin:.5em 0;}
.widget-description__body > p:first-child{margin-top:0;}
.widget-description__body > p:last-child{margin-bottom:0;}
.widget{width:100%;max-width:100%;}
@media screen and (min-width:640px){
  .widget.third-size{max-width:31%;}
  .widget.half-size{max-width:48%;}
  .widget.full-size{max-width:100%;}
}

/* Pasek nad menu (widgets-1) — w .site-header-fixed: czarny, pełna szerokość, jasny tekst */
.site-header-fixed .widgets-list.widgets-1{
  width:100%;
  max-width:none;
  margin:0;
  background:#212121;
  color:#f5f5f7;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
.site-header-fixed .widgets-1 > ul{
  flex-direction:row;
  flex-wrap:wrap;
  width:100%;
  max-width:var(--layout-max, 1400px);
  margin:0 auto;
  padding:0.65rem var(--layout-pad-x, 1rem);
  justify-content:center;
  align-items:center;
  gap:0.75rem 1.5rem;
  box-sizing:border-box;
}
.site-header-fixed .widgets-1 > ul > .widget-section{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  max-width:100%;
}
.site-header-fixed .widgets-1 .widget-section__inner{
  max-width:none;
  margin:0;
  padding:0;
}
.site-header-fixed .widgets-1 .widget{
  color:#f5f5f7;
}
.site-header-fixed .widgets-1 .widget .head{
  color:var(--widget-name-color, #fff);
  margin-bottom:0.25em;
  font-size:0.9375rem;
}
.site-header-fixed .widgets-1 a{
  color:#fff !important;
  text-decoration:none;
}
.site-header-fixed .widgets-1 a:hover{
  color:#fff !important;
  text-decoration:underline;
  opacity:0.92;
}
.site-header-fixed .widgets-1 p,
.site-header-fixed .widgets-1 .description,
.site-header-fixed .widgets-1 li,
.site-header-fixed .widgets-1 span:not(.icon){
  color:var(--widget-desc-color, rgba(255,255,255,0.95));
}
.site-header-fixed .widgets-1 .widget > div.description{
  color:var(--widget-desc-color, rgba(255,255,255,0.95));
}
.site-header-fixed .widgets-1 .icon{
  fill:#fff;
}

/* LOCATIONS - custom */
.widgets-2 > ul > .widget-section, .widgets-3 > ul > .widget-section{margin:2rem 0;}
.widgets-strip--3{background:var(--color-page-bg);padding:0.5rem 0 1.5rem;border-top:1px solid var(--color-divider);}
.widgets-strip--13{background:var(--color-page-bg);border-top:1px solid var(--color-divider);}
#page .widgets-in-page{margin:1.25rem 0;clear:both;}
#page .widgets-in-page:first-child{margin-top:0;}
#content .widget-section{clear:both;margin:0;padding:4em 0;}
#content .widget-section .widget{margin:0;}
#content .widget .pages-gallery,
#content .widget-section__inner .pages-gallery{
  margin-top:2em;
}

.is-hidden--widgets-3 .widgets-strip--3{display:none;}


/* DISPLAY TYPES */

/* Display option: CONTENT */
.widget.type-1 ul, .widget.type-1 ol{padding:0 0 0 30px;overflow:hidden;}
.widget.type-1 li{margin:5px 0;padding:0;border-left:0;}
.widget.type-1 p{padding-bottom:7px;}

/* Display option: PAGE */
.widget.type-2 img{float:left;margin:4px 15px 7px 0;border:1px solid var(--color-divider);}
.widget.type-2 a img:hover{opacity:0.8;}
.widget.type-2 div.description{margin-top:0.3em;text-align:justify;}
#content .widget.type-2{border:1px solid var(--color-divider);border-radius:var(--radius-md);overflow:hidden;background:var(--color-white);}
.widget.type-2 .more{display:block;padding-top:0.3em;}

/* Display option: SLIDER
   slider styles in style-slider.css file */
.widget.type-3{padding-left:0;padding-right:0;}

/* Display option: MENU styles in style-menu.css file */

/* Display option: SUBPAGES — grid jak w style-subpages-and-products.css (auto-fit + min(100%,…)) */
/* Gdy lista jest zainicjowana jako Slick (.slick-slider), NIE wolno wymuszać display:grid — psuje track i gap z CSS nie działa; odstępy: .slick-slide (style-subpages + niżej). */
.widget .pages-gallery:not(.slick-slider):not(.slider-free),
.widget-section__inner .pages-gallery:not(.slick-slider):not(.slider-free){
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap:1rem !important;
  row-gap:1rem !important;
  column-gap:1rem !important;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  align-items:stretch;
  justify-content:start;
}
.widget .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free),
.widget-section__inner .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free){
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
@media screen and (min-width:900px){
  .widget .pages-gallery:not(.slick-slider):not(.slider-free),
  .widget-section__inner .pages-gallery:not(.slick-slider):not(.slider-free),
  .widget .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free),
  .widget-section__inner .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free){
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
.widget .pages-gallery:not(.slick-slider):not(.slider-free) .page,
.widget-section__inner .pages-gallery:not(.slick-slider):not(.slider-free) .page{
  margin:0;
  min-width:0;
  box-sizing:border-box;
}
@media screen and (max-width:767px){
  .widget .pages-gallery:not(.slick-slider):not(.slider-free) .page,
  .widget-section__inner .pages-gallery:not(.slick-slider):not(.slider-free) .page{
    width:90%;
    margin:0 auto;
  }
}
/* Mobile / wąski tablet: jedna kolumna (jak #content — style-subpages-and-products.css) */
@media screen and (max-width:767px){
  .widget .pages-gallery:not(.slick-slider):not(.slider-free),
  .widget-section__inner .pages-gallery:not(.slick-slider):not(.slider-free){
    grid-template-columns:1fr;
  }
  .widget .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free),
  .widget-section__inner .pages-gallery.pages-gallery--products:not(.slick-slider):not(.slider-free){
    grid-template-columns:1fr;
  }
}
/* Slick w widżecie: odstęp między slajdami (padding na slajdzie — kompatybilne z liczeniem szerokości) */
.widget .pages-gallery.slick-slider .slick-slide,
.widget-section__inner .pages-gallery.slick-slider .slick-slide{
  padding-left:0.5rem;
  padding-right:0.5rem;
  box-sizing:border-box;
}
.widget .pages-gallery.slick-slider,
.widget-section__inner .pages-gallery.slick-slider{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
}
.widget.type-5 .pages-gallery .page{
  min-width:0;
}

@media screen and (max-width:767px){
  .widget-section-17{
    max-width:100% !important;
  }
  .widget-section,
  .widget-section__inner{
    width:100% !important;
    max-width:100% !important;
  }
  .site-header-fixed .widgets-1{
    text-align:center;
  }
  .site-header-fixed .widgets-1 .widget .head{
    font-size:0.8125rem;
  }
  .site-header-fixed .widgets-1 p,
  .site-header-fixed .widgets-1 .description,
  .site-header-fixed .widgets-1 li,
  .site-header-fixed .widgets-1 span:not(.icon){
    font-size:0.875rem;
  }
}

@media print{
  /* PRINT STYLES */
  .widgets-1, .site-header-fixed .widgets-1{position:static;width:17.2cm;height:auto;margin:0;overflow:visible;}
  .site-header-fixed{position:static;}
}

/* PLUGINS */

/* Display option: SOCIAL LINKS */
.type-13 ul{display:inline-block;list-style:none;}
.type-13 li{display:inline-block;margin:0 8px;vertical-align:middle;}
#content .type-13 img{box-shadow:none;}

/* USERS */
/* login panel */
#user-panel{margin:0 auto;}
#user-panel .button .btn{display:flex;align-items:center;}
#user-panel .button .icon{width:1.25em;margin-right:.6em;}
@media screen and (max-width:767px){
  #user-panel{width:100% !important;max-width:100% !important;}
}
#user-panel .links{margin:.4em 0;text-transform:lowercase;}
#user-panel .links:before{content:'>';margin-right:7px;font-size:0.824em;font-weight:bold;}
/* messages */
#user-panel.msg.error{background-image:none;font-size:1.25em;}
.msg#profile, .msg#user-panel{padding:3rem 0;background-position:center 15px;}
/* checkboxes (e.g. acceptance ) in register form */
#profile .option{margin:0 0 1.25rem;}
#profile .option label{margin-left:.4rem;font-weight:normal;}
/* not required fields are default hidden */
#profile.register #user-not-required{display:none;}
/* send button for profile in widgets list (outside of page content) */
.widgets-list #profile .save{margin-top:20px;text-align:left;}
/* links for logged users */
.widget.type-26 .user-link{display:flex;align-items:center;padding:.4em 0;}
.widget.type-26 .icon{width:1rem;margin-right:1em;}
.widget.type-26 .user-link:hover .icon{stroke:var(--color-primary);}

/* Display option: ADVANCED SEARCH */
.widget.type-29{}
#search-adv{margin:10px auto 0;}
#search-adv ul{list-style:none;}
.search-adv__fields:after{content:'';clear:left;display:table;}
.search-adv__fields > li{padding-bottom:15px;}
.search-adv__fields label{display:block;margin-bottom:4px;}
.search-adv__field{width:300px;}
.search-adv__fields .button{padding:20px 0 0;}
#search-adv .search-adv__features .head{padding:0;border:0;text-align:left;}
.search-adv__features label{margin:0;font-weight:normal;}
.search-adv__features li{padding-bottom:5px;}
@media screen and (min-width:1024px){
  .search-adv__fields{display:grid;grid-template-columns:400px 1fr;}
  .search-adv__fields .phrase{grid-column:1;}
  .search-adv__features{grid-column:2;grid-row:1 / span 3;margin-top:-1em;}
  .search-adv__fields .category{grid-column:1;}

  .search-adv__features ul{display:flex;flex-flow:row wrap;}
  .search-adv__features li.head{flex-basis:100%;}
  .search-adv__features li{flex-basis:50%;}
}

/* Display option: CALENDAR
   you can find other calendar styles in plugins/event-calendar/event-calendar.css file */
.widget.type-25 .eventsCalendar-dayEventsList{z-index:11;position:absolute;top:90%;left:65%;padding:7px;border:1px solid var(--color-divider);border-radius:var(--radius-sm);background:rgba(0,102,204,0.96);color:#fff;}
.widget.type-25 .eventsCalendar-dayEventsList li{min-width:200px;padding-bottom:9px;font-size:0.75em;}
.widget.type-25 .eventsCalendar-dayEventsList li:last-child{padding:0;border:0;}
.widget.type-25 .eventsCalendar-dayEventsList li a{color:#fff;text-decoration:none;}
.widget.type-25 .eventsCalendar-dayEventsList li a:hover{text-decoration:underline;}
.widget.type-25 .loading{min-width:50px;min-height:30px;background:#fff url('img/loading-horizontal.gif') no-repeat center center;}
#page div.content .widget.type-25{line-height:1em;}
@media screen and (max-width:460px){
  .widget.type-25{width:98%;}
}

/* Display option: NEXT PREVIOUS PAGE */
.widget.type-28{flex-basis:94%;border:0;}
.widget.type-28 .next-prev{list-style:none;display:flex;justify-content:space-between;flex-wrap:wrap;}
.widget.type-28 .next{margin-left:auto;}
.widget.type-28 li a{display:inline-block;margin:.5rem 0;padding:0.5rem 1.1rem;text-decoration:none;background:var(--color-primary);color:#fff;border-radius:var(--radius-pill);font-weight:500;}
.widget.type-28 li a:hover{background:var(--color-primary-hover);}

/* Display option: COMMENTS */
.widget.type-24 .name{margin-bottom:0.5em;font-weight:600;color:var(--color-secondary);}
.widget.type-24 p{line-height:1.4375rem;}

/* SIDE TAB */
.side-tab-widget{position:fixed;right:-100px;top:50%;z-index:51;background:var(--color-primary);font-size:0.75em;border-top-left-radius:15px;border-top-right-radius:15px;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);}
.side-tab-widget a{display:block;padding:13px;text-decoration:none;color:#fff;font-size:1.633em;}

/* Display option: RANDOM PAGE */
.widget.type-8, .widget.type-9{border:1px solid var(--color-divider);border-top-width:5px;}
.widget.type-8 img, .widget.type-9 img{float:left;margin:4px 15px 7px 0;border:1px solid var(--color-divider);}
.widget.type-8 a img:hover, .widget.type-9 a img:hover{opacity:0.8;}
.widget.type-8 div.description p, .widget.type-9 div.description p{padding:0.3em 0;}

/* Display option: POLL — spójne z UI sklepu (style.css :root) */
.widget.type-22 aside.poll{
  border:1px solid var(--color-divider);
  border-radius:var(--radius-md);
  background:var(--color-white);
  padding:1rem 1.125rem 1.125rem;
  max-width:100%;
}
.widget.type-22 aside.poll fieldset{
  border:0;
  margin:0;
  padding:0;
  min-width:0;
}
.widget.type-22 .question{
  font-weight:600;
  font-size:1.0625rem;
  line-height:1.35;
  letter-spacing:-0.02em;
  color:var(--color-secondary);
}
.widget.type-22 aside.poll legend.question{
  float:none;
  width:100%;
  padding:0 0 0.85rem;
  margin:0;
}
.widget.type-22 div.question{
  margin-bottom:0.65rem;
  text-align:left;
}
.widget.type-22 .answer{
  display:flex;
  align-items:flex-start;
  gap:0.65rem;
  padding:0;
  font-weight:500;
  color:var(--color-secondary);
  cursor:pointer;
}
.widget.type-22 aside.poll ul{
  margin:0;
  padding:0;
  list-style:none;
}
.widget.type-22 aside.poll form > fieldset > ul > li:not(.vote){
  border:0;
  margin:0 0 0.4rem;
  border-radius:var(--radius-sm);
  background:var(--color-grey);
  transition:background 0.15s ease, box-shadow 0.15s ease;
}
.widget.type-22 aside.poll form > fieldset > ul > li:not(.vote):hover{
  background:rgba(0,102,204,0.08);
  box-shadow:inset 0 0 0 1px rgba(0,102,204,0.12);
}
.widget.type-22 aside.poll label.answer{
  padding:0.65rem 0.85rem;
  width:100%;
  box-sizing:border-box;
}
.widget.type-22 aside.poll li input[type="radio"]{
  margin:0.2rem 0 0;
  flex-shrink:0;
  width:1.125rem;
  height:1.125rem;
  accent-color:var(--color-primary);
  cursor:pointer;
}
.widget.type-22 .vote{
  padding:0.85rem 0 0;
  margin:0;
  border:0;
  text-align:center;
}
.widget.type-22 .vote input[type="submit"],
.widget.type-22 .vote .submit{
  min-width:8.5rem;
}
/* Wyniki — pasek jak „progress”, tekst ciemny na jasnym tle */
.widget.type-22 .results{
  margin:0.65rem 0 0;
  padding:0;
}
.widget.type-22 .results li{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:0.35rem 0.75rem;
  margin:0 0 0.5rem;
  padding:0;
  min-height:2.75rem;
  border:0;
  border-radius:var(--radius-sm);
  background:var(--color-grey);
  color:var(--color-secondary);
  overflow:hidden;
}
.widget.type-22 .results li:last-child{
  margin-bottom:0;
}
.widget.type-22 .results .graph{
  display:block;
  position:absolute;
  top:0;
  left:0;
  z-index:0;
  height:100%;
  margin:0;
  border-radius:0;
  background:linear-gradient(90deg, rgba(0,102,204,0.22) 0%, rgba(0,102,204,0.1) 100%);
}
.widget.type-22 .results strong.answer{
  position:relative;
  z-index:1;
  flex:1 1 auto;
  min-width:0;
  padding:0.65rem 0.25rem 0.65rem 0.85rem;
  font-weight:600;
  line-height:1.35;
}
.widget.type-22 .results .votes{
  position:relative;
  z-index:1;
  flex-shrink:0;
  margin:0;
  padding:0.65rem 0.85rem 0.65rem 0;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  color:var(--color-primary);
}
.widget.type-22 .results .votes:before{
  content:none;
}

/* Sonda w czarnym pasku (widgets-1) */
.site-header-fixed .widgets-1 .widget.type-22 aside.poll{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.18);
  color:#f5f5f7;
}
.site-header-fixed .widgets-1 .widget.type-22 .question,
.site-header-fixed .widgets-1 .widget.type-22 div.question{
  color:#fff;
}
.site-header-fixed .widgets-1 .widget.type-22 aside.poll form > fieldset > ul > li:not(.vote){
  background:rgba(255,255,255,0.1);
}
.site-header-fixed .widgets-1 .widget.type-22 aside.poll form > fieldset > ul > li:not(.vote):hover{
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);
}
.site-header-fixed .widgets-1 .widget.type-22 .answer{
  color:#f5f5f7;
}
.site-header-fixed .widgets-1 .widget.type-22 .results li{
  background:rgba(255,255,255,0.1);
  color:#f5f5f7;
}
.site-header-fixed .widgets-1 .widget.type-22 .results strong.answer{
  color:#fff;
}
.site-header-fixed .widgets-1 .widget.type-22 .results .graph{
  background:linear-gradient(90deg, rgba(0,122,255,0.45) 0%, rgba(0,122,255,0.2) 100%);
}
.site-header-fixed .widgets-1 .widget.type-22 .results .votes{
  color:#a8d4ff;
}

/* Display option: NOTICES */
.widget.type-10{width:auto;}
aside.widget.type-10{display:none;padding:7px 0;background:#fff;font-size:0.75em;}
.widget.type-10 .close a{padding:5px 7px;font-weight:normal;text-decoration:none;background:var(--color-primary);color:#fff;}
.widget.type-10 .close a:hover{background:var(--color-primary);}
.widget.type-10 .head{margin-bottom:7px;font-weight:bold;font-size:1.167em;}
.widget.type-10.location-0, .widget.type-10.location-2{position:fixed;z-index:2;width:100%;background-color:rgba(255,255,255,0.9);}
.widget.type-10.location-0{width:200px;left:0px;bottom:0px;padding:10px;border:1px solid #bbb;}
.widget.type-10.location-2 div{display:inline-block;margin-right:4px;}
.widget.type-10.location-2 .head{margin-right:10px;font-weight:bold;}
.widget.type-10.location-2{border-bottom:1px solid #555;}
.widget.type-10.location-2{top:0px;}
.widget.type-10.location-3{position:fixed;top:100px;left:50%;z-index:1001;width:700px;margin-left:-350px;padding:30px;text-align:center;background:#fff;border:5px solid #fff;border-radius:10px;}
.widget.type-10.location-1{padding:10px 0 20px;}
.widget.type-10.location-2 .close{margin-left:20px;}
.widget.type-10.location-0 .close, .widget.type-10.location-1 .close, .widget.type-10.location-3 .close{margin-top:15px;}
.widget-dark-background{display:none;position:fixed;width:100%;height:100%;left:0px;top:0px;background:rgba( 0, 0, 0, 0.7 );z-index:1000;}

/* Display option: NEWSLETTER */
.widget.type-12{text-align:center;}
.widget.type-12 .default{display:none;margin-top:7px;}
.widget.type-12 legend{width:100%;}
.widget.type-12 input[type="email"]{width:85%;margin:10px auto;padding:2% 3%;text-align:center;}
.widget.type-12 input[type="submit"]{padding:2% 5%;}
.widget.type-12 .msg.done{font-size:1.125em}
.widget.type-12 .msg.error{background-position:10px center;font-size:1em;}

/* Display option: FACEBOOK LIKE BOX */
.widget.type-19 .head{text-align:left;padding:0 0 5px 10px;font-weight:bold;}
.widget.type-19 .fb-page{overflow:hidden;background-color:transparent;}
.widget.type-19 .button{display:none;}

.widgets-5 aside.widget.type-19{z-index:50;position:fixed;top:70px;width:auto;padding:10px 10px 10px 0;}
.widgets-5 .widget.type-19.left{left:0px;padding-left:0;}
.widgets-5 .widget.type-19.right{right:0px;padding-right:0;}
.widgets-5 .widget.type-19.left .fb-page{float:left;border-top-right-radius:10px;border-bottom-right-radius:10px;}
.widgets-5 .widget.type-19.right .fb-page{float:right;border-top-left-radius:10px;border-bottom-left-radius:10px;}
.widgets-5 .widget.type-19 .button{display:block;float:right;padding:0 5px 30px;}

@media print{
  .widgets-5 .widget.type-19{display:none;}
}

/* Display option: CONTACT PANEL
   other contact panel styles you will find in style.css file in CONTACT-PANEL section
   just move it here and add .widgets-1 to create custom version */
.type-7{flex-basis:93%;}
.type-7 div.head, #content .widget.type-7 div.head{text-transform:none;}

/* SCROLL BACK TO TOP */
.back-to-top-widget{position:fixed;bottom:70px;right:0.5%;}
.back-to-top-widget a{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background:#343434;color:#fff;text-transform:uppercase;text-decoration:none;font-size:0.625rem;font-weight:500;transition:background 0.3s ease;}
.back-to-top-widget a:hover{background:#212121;text-decoration:none;}
.back-to-top-widget div.head{color:#fff;font-size:0.625rem;line-height:1.2;}
.back-to-top-widget a:before{display:none;}
@media screen and (min-width:1280px){
  .back-to-top-widget{right:1.5%;}
}
@media screen and (max-width:800px){
  .back-to-top-widget a{width:50px;height:50px;font-size:0.5625rem;}
  .back-to-top-widget .description{display:none;}
}

/* Bestsellers or Promoted */
.slick-slider.pages-gallery .page{border:0;}
.slick-slider .slick-slide img{display:inline-block;}
.type-35 .price:not(.old) em{display:none;}

/* ORDERING */
#content .widget.type-31{width:100%;margin:0;background:#fff;}
#content .widget.type-33{width:100%;padding:0;background:#fff;} /* user orders */

/* LEFT COLUMN */
.widgets-8 > ul{list-style:none;}
@media screen and (min-width:960px){
  .widgets-8{flex-basis:25%;padding-left:1.5%;}
  .widgets-8 > ul > .widget-section{margin:1rem 0;border-top:5px solid var(--color-divider);}
}
.widgets-8 div.head{text-align:left;}
.widgets-8 .widget{flex-basis:100%;padding:1rem;background:#f1f2f4;}
/*.widgets-8 .slick-slider.pages-gallery{max-width:250px;}*/
/* .widgets-2 / .widgets-3: pełna szerokość realizuje .widgets-strip (style.css) */
/* hide for order details print */
.is-without-left-column .widgets-8{display:none;}

/* ==========================================================================
   Widzet 38 — subskrypcja w oknie modalnym
   ========================================================================== */
.newsletter-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
}
.newsletter-modal[hidden]{ display:none !important; }
.newsletter-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  animation:newsletter-modal-fade .25s ease both;
}
.newsletter-modal__dialog{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:30rem;
  max-height:90vh;
  overflow:auto;
  /* Kolor tla zgodny z tlem zdjecia — zdjecie wtapia sie w okno bez widocznej krawedzi */
  --newsletter-modal-bg:#fefdfe;
  background:var(--newsletter-modal-bg);
  border-radius:var(--radius-md);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  animation:newsletter-modal-in .28s cubic-bezier(.22,1,.36,1) both;
}
@keyframes newsletter-modal-fade{ from{ opacity:0 } to{ opacity:1 } }
@keyframes newsletter-modal-in{
  from{ opacity:0; transform:translateY(14px) scale(.98) }
  to{ opacity:1; transform:none }
}
.newsletter-modal__close{
  position:absolute;
  top:.5rem;
  right:.5rem;
  z-index:2;
  width:2.25rem;
  height:2.25rem;
  padding:0;
  border:0;
  border-radius:var(--radius-pill);
  background:rgba(254,253,254,.9);
  color:var(--color-secondary);
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
}
.newsletter-modal__close:hover{ background:var(--newsletter-modal-bg); color:var(--color-link); }
.newsletter-modal__media img{
  display:block;
  width:100%;
  height:auto;
  border-radius:var(--radius-md) var(--radius-md) 0 0;
}
.newsletter-modal__body{ padding:1.5rem 1.5rem 1.75rem; }

/* Uklad z obrazkiem: zdjecie po lewej, tresc po prawej */
@media (min-width:760px){
  .newsletter-modal__dialog--split{
    display:grid;
    grid-template-columns:minmax(0,45%) minmax(0,55%);
    align-items:stretch;
    max-width:58rem;
    /* Bez tego wysokosc dyktuje krotka kolumna z tekstem i postac jest ucieta w pasie */
    min-height:min( 82vh, 42rem );
  }
  .newsletter-modal__dialog--split .newsletter-modal__media{
    position:relative;
    min-height:100%;
    overflow:hidden;
    background:var(--newsletter-modal-bg);
    border-radius:var(--radius-md) 0 0 var(--radius-md);
  }
  .newsletter-modal__dialog--split .newsletter-modal__media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    /* Kadr trzyma cala sylwetke: gora kadru to glowa */
    object-position:center 8%;
    border-radius:inherit;
  }
  .newsletter-modal__dialog--split .newsletter-modal__body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:3rem 3rem;
    text-align:center;
  }
  .newsletter-modal__dialog--split .newsletter-modal__title{
    font-size:clamp( 2rem, 3.2vw, 2.85rem );
    font-weight:700;
    line-height:1.08;
    letter-spacing:-.01em;
    margin-bottom:1.35rem;
  }
  .newsletter-modal__dialog--split .newsletter-modal__text{
    font-size:1.0625rem;
    line-height:1.5;
    color:var(--color-secondary);
  }
  .newsletter-modal__dialog--split .newsletter-modal__signature{
    margin:1.75rem 0 1.75rem;
    font-size:1.0625rem;
    font-weight:400;
    line-height:1.45;
  }
}
/* Telefon: ten sam uklad co na desktopie, tyle ze w pionie.
   Zdjecie na gorze, a karta z tekstem i formularzem nasunieta na postac. */
@media (max-width:759px){
  .newsletter-modal__dialog--split{
    position:relative;
    overflow:hidden;
  }
  .newsletter-modal__dialog--split .newsletter-modal__media{
    height:46vh;
    max-height:26rem;
    overflow:hidden;
    border-radius:var(--radius-md) var(--radius-md) 0 0;
  }
  .newsletter-modal__dialog--split .newsletter-modal__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 6%;
  }
  .newsletter-modal__dialog--split .newsletter-modal__body{
    position:relative;
    z-index:1;
    /* Nasuniecie karty na dolna czesc postaci */
    margin-top:-3.25rem;
    padding:1.5rem 1.35rem 1.5rem;
    text-align:center;
    background:var(--newsletter-modal-bg);
    border-radius:var(--radius-md) var(--radius-md) 0 0;
    box-shadow:0 -10px 24px rgba(0,0,0,.10);
  }
  .newsletter-modal__dialog--split .newsletter-modal__title{
    font-size:1.65rem;
    font-weight:700;
    line-height:1.12;
    letter-spacing:-.01em;
    margin-bottom:.75rem;
  }
  .newsletter-modal__dialog--split .newsletter-modal__text{
    font-size:.9375rem;
    line-height:1.45;
    color:var(--color-secondary);
  }
  .newsletter-modal__dialog--split .newsletter-modal__signature{
    margin:.9rem 0 1rem;
    font-size:.9375rem;
    font-weight:400;
    line-height:1.4;
  }
}
/* Niskie ekrany: zdjecie ustepuje miejsca formularzowi */
@media (max-width:759px) and (max-height:700px){
  .newsletter-modal__dialog--split .newsletter-modal__media{ height:34vh; }
}
.newsletter-modal__title{
  margin:0 0 .6rem;
  font-size:1.35rem;
  line-height:1.25;
  color:var(--color-secondary);
}
.newsletter-modal__text{ margin:0 0 .75rem; color:var(--color-light); }
.newsletter-modal__text p{ margin:0 0 .5rem; }
.newsletter-modal__signature{
  margin:0 0 1rem;
  font-weight:600;
  color:var(--color-secondary);
}
.newsletter-modal__form fieldset{ margin:0; padding:0; border:0; }
.newsletter-modal__form legend{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.newsletter-modal__form .add label{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.newsletter-modal__form .input{
  width:100%;
  box-sizing:border-box;
  padding:.65rem .85rem;
  border:1px solid var(--color-divider);
  border-radius:var(--radius-sm);
  font-size:1rem;
}
.newsletter-modal__form .save{ margin-top:.65rem; }
.newsletter-modal__form .submit{
  width:100%;
  padding:.7rem 1rem;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--color-link);
  color:#fff;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
}
.newsletter-modal__form .submit:hover{ background:var(--color-link-hover); }
@media (max-width:560px){
  .newsletter-modal__dialog{ max-width:100%; }
  .newsletter-modal__body{ padding:1.15rem 1.15rem 1.4rem; }
  .newsletter-modal__title{ font-size:1.15rem; }
}
@media (prefers-reduced-motion:reduce){
  .newsletter-modal__backdrop,
  .newsletter-modal__dialog{ animation:none; }
}

/* "Nie, dziekuje" — dyskretny link pod formularzem */
.newsletter-modal__decline{
  display:block;
  width:100%;
  margin:.75rem 0 0;
  padding:.35rem;
  border:0;
  background:none;
  color:var(--color-light);
  font-size:.8125rem;
  text-decoration:underline;
  cursor:pointer;
}
.newsletter-modal__decline:hover{ color:var(--color-secondary); }

/* Slider z komentarzami: gwiazdki nad nazwiskiem */
.comments-slider .comment-rating-slider,
.comments .comment-rating-slider{
  margin:0 0 .4rem;
  line-height:1;
}
.comments-slider .comment-rating-slider .comment-star,
.comments .comment-rating-slider .comment-star{
  width:1rem;
  height:1rem;
}
