/*
Theme Name: Sauna na Wiśle — TT4 Child
Theme URI: https://sauna.di-frost.com/
Description: Motyw potomny Twenty Twenty-Four, nowa oprawa Sauna na Wiśle. Szablony blokowe, WooCommerce, edycja w Edytorze witryny.
Author: DI-FROST.COM
Template: twentytwentyfour
Version: 2.0.8
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: sauna-na-wisle-tt4
*/
:root {
  --snw-bg: #150905;
  --snw-bg-card: #26120f;
  --snw-brown: #3c211a;
  --snw-cream: #f4ead9;
  --snw-rose: #cba394;
  --snw-title: "new-astro", "Arial Narrow", Arial, sans-serif;
  --snw-body: "gelica", Georgia, serif;
  --snw-header-height: 68px;
  --snw-shadow: 0 4px 12px rgba(0,0,0,.5);
  --snw-head-bg: rgba(21, 9, 5, .68);
  --snw-max: 1450px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:280px;max-width:100%;background:var(--snw-bg);color:var(--snw-cream);font-family:var(--snw-body);overflow-wrap:break-word}
body a{color:inherit}
body a:hover{color:#ffffff}
body img{max-width:100%;height:auto}
body p, body li{line-height:1.6}
body h1, body h2, body h3, body h4{font-family:var(--snw-title);color:var(--snw-cream)}
body .wp-site-blocks{padding:0!important}
body .wp-site-blocks > *{margin-block-start:0}
body .wp-block-post-content, body .sauna-editable-content{margin:0!important;max-width:none}
body .sauna-editable-content > *{box-sizing:border-box}
body .sauna-editable-content > .alignfull{width:100%;max-width:100%;margin-inline:0}
body .sauna-editable-content > .alignwide{max-width:min(100% - 40px,var(--snw-max));margin-inline:auto}
body .sauna-editable-content > :not(.alignfull):not(.alignwide){max-width:min(100% - 40px,980px);margin-inline:auto}
body .sauna-editable-content > .wp-block-group.alignfull,
body .sauna-editable-content > .wp-block-cover.alignfull{max-width:100%}
body .wp-block-button__link,
body .wp-element-button{background:var(--snw-rose);color:#1b0a06;border-radius:999px;text-decoration:none;font-family:var(--snw-title);font-weight:600;font-size:14px;letter-spacing:.06em;padding:13px 30px;transition:filter .2s ease,transform .2s ease}
body .wp-block-button__link:hover,body .wp-element-button:hover{color:#1b0a06;filter:brightness(1.15);transform:translateY(-1px)}
body .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--snw-cream);border:1px solid currentColor}
body :focus-visible{outline:2px solid #f4ead9;outline-offset:4px}

/* One shared translucent header: the first image is physically behind it. */
/* Sticky must be applied to the template-part wrapper, not the short inner group.
   Otherwise the navigation can only stick within its ~68px parent. */
.wp-site-blocks > header.wp-block-template-part {
  position:sticky;
  top:0;
  z-index:1200;
  height:var(--snw-header-height);
  margin:0 0 calc(-1 * var(--snw-header-height)) !important;
  padding:0;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top:32px; }
/* Keep filters off ancestors of the viewport-fixed mobile menu. */
.sauna-site-header{height:var(--snw-header-height);position:relative;top:auto;z-index:auto;margin:0!important;background:transparent;box-shadow:var(--snw-shadow);color:var(--snw-cream);padding:0!important}
.sauna-site-header::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--snw-head-bg);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.sauna-site-header>.sauna-header-row{position:relative;z-index:1}
.sauna-header-row{height:var(--snw-header-height);min-height:var(--snw-header-height);width:min(calc(100% - 72px),var(--snw-max));max-width:var(--snw-max);margin:0 auto!important;align-items:center!important;display:flex;justify-content:space-between;gap:20px}
.sauna-brand{margin:0!important;flex:0 0 auto}
.sauna-brand a{display:block;width:196px;height:32px;background:url('assets/images/logo.webp') no-repeat center left /contain;text-indent:-9999px;overflow:hidden;font-size:0;white-space:nowrap}
.sauna-site-header .sauna-primary-nav{margin-left:auto}
.sauna-site-header .wp-block-navigation__container{gap:clamp(20px,2.3vw,40px)!important}
.sauna-site-header .wp-block-navigation-item__label{font-family:var(--snw-title);font-size:16px;line-height:1;text-transform:uppercase;font-weight:600}
.sauna-site-header .wp-block-navigation a{color:var(--snw-cream);text-decoration:none;white-space:nowrap}
.sauna-site-header .wp-block-navigation a:hover{text-decoration:underline;text-underline-offset:7px}
.sauna-site-header .wp-block-navigation__responsive-container-open,.sauna-site-header .wp-block-navigation__responsive-container-close{color:var(--snw-cream)}
.sauna-site-header .wp-block-navigation__responsive-container.is-menu-open{background:#251410;color:var(--snw-cream)}
.sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label{font-size:22px}

/* Photo banners. Names are deliberately independent for future overrides. */
.sauna-template-hero,.sauna-page-banner{
  position:relative;isolation:isolate;display:flex!important;align-items:center;justify-content:center;
  min-height:800px;height:800px;width:100%;margin:0!important;padding:calc(var(--snw-header-height) + 40px) 24px 60px!important;
  color:var(--snw-cream);background-color:var(--snw-bg);background-repeat:no-repeat;
  background-position:center center;background-size:cover;text-align:center
}
.sauna-template-hero::before,.sauna-page-banner:not(.sauna-page-banner--section)::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(15,5,3,.15) 48%,rgba(16,6,3,.48));z-index:-1;pointer-events:none}
.sauna-header--oferta,.sauna-page--oferta .sauna-page-banner:not(.sauna-page-banner--section){background-image:url('assets/images/sauna-oferta-header.webp')}
.sauna-header--cennik,.sauna-page--cennik .sauna-page-banner:not(.sauna-page-banner--section){background-image:url('assets/images/sauna-cennik-header.webp')}
.sauna-header--rezerwacja,.sauna-header--produkt,.sauna-page--rezerwacja .sauna-page-banner:not(.sauna-page-banner--section),.sauna-shop--archive .sauna-template-hero,.sauna-shop--product .sauna-template-hero{background-image:url('assets/images/sauna-rezerwacja-header.webp')}
.sauna-header--general,.sauna-page--general .sauna-page-banner:not(.sauna-page-banner--section){background-image:url('assets/images/sauna-oferta-header.webp')}
.sauna-hero-title,.sauna-template-hero .wp-block-post-title,.sauna-template-hero h1,.sauna-page-banner h1{font:600 clamp(40px,5.2vw,86px)/1.1 var(--snw-title)!important;letter-spacing:0;text-transform:uppercase;color:var(--snw-cream)!important;text-shadow:0 2px 22px rgba(5,2,0,.25);margin:0!important;max-width:min(100%,1200px);overflow-wrap:break-word}
/* Legacy page content may already include a banner. Preserve its editable H1 and hide only redundant fallback from the new template. */
.sauna-page--oferta:has(.sauna-editable-content .sauna-page-banner:not(.sauna-page-banner--section)) > .sauna-template-hero,
.sauna-page--cennik:has(.sauna-editable-content .sauna-page-banner:not(.sauna-page-banner--section)) > .sauna-template-hero,
.sauna-page--rezerwacja:has(.sauna-editable-content .sauna-page-banner:not(.sauna-page-banner--section)) > .sauna-template-hero{display:none!important}
.sauna-template-hero + .sauna-editable-content,
.sauna-page-banner + .sauna-editable-content{padding-block-start:0}

/* Home page: the complete supplied white logotype (rays + name) sits on the photograph.
   The lead paragraph is NOT authored in the template. It comes from the actual homepage's editor. */
/* Home-photo hero: preserve the original wide composition instead of scaling
   a tall cover box into a narrow browser window. A single logotype is placed
   at the true geometric center, independent of the editable paragraph. */
.sauna-default-home-hero,.sauna-home-hero,.sauna-hero-home{
  position:relative;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  isolation:isolate;
  text-align:center;
  background-image:url('assets/images/sauna-home-01.webp')!important;
  background-color:#25130f;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  height:100vh!important;
  height:100svh!important;
  min-height:100vh!important;
  min-height:100svh!important;
  padding:0!important;
  margin:0!important;
}
.sauna-default-home-hero::after,.sauna-home-hero::after,.sauna-hero-home::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(13,7,5,.15) 0%,rgba(13,4,2,.08) 35%,rgba(10,3,1,.36) 69%,rgba(10,3,1,.90) 100%);
  z-index:0;
  pointer-events:none;
}
.sauna-default-home-hero::before,.sauna-home-hero::before,.sauna-hero-home::before{
  content:"";
  display:block;
  position:absolute;
  left:50%;top:54.5%;
  transform:translate(-50%,-50%);
  width:clamp(280px,26.5vw,510px);
  height:auto;
  aspect-ratio:500 / 428;
  margin:0!important;
  background:url('assets/images/sauna-na-wisle-logo-full.webp') center center / contain no-repeat;
  filter:drop-shadow(0 3px 18px rgba(0,0,0,.25));
  z-index:1;
  pointer-events:none;
}
/* Keep a semantic H1 without duplicating the name already visible in the logo. */
.sauna-default-home-hero h1,.sauna-home-hero h1,.sauna-hero-home h1{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;
  clip-path:inset(50%)!important;border:0!important
}
/* A previously edited FSE template may still contain a hardcoded fallback paragraph. */
.sauna-default-home-hero > p,
.sauna-default-home-hero > .wp-block-paragraph{display:none!important}
/* Intro text is edited on the homepage. On desktop it is a separate section
   BELOW the 100svh image, not superimposed with a negative top margin. */
.sauna-front-page > .sauna-editable-content > p:first-child,
.sauna-front-page > .sauna-editable-content > .sauna-home-description{
  position:relative;z-index:2;box-sizing:border-box;
  max-width:780px!important;width:min(calc(100% - 32px),780px);
  margin:0 auto!important;padding:clamp(62px,8vh,108px) 15px 100px!important;
  text-align:center;font:400 clamp(15px,1.3vw,19px)/1.55 var(--snw-body);
  color:var(--snw-cream);text-wrap:balance;
}
/* If the old starter pattern was placed inside page content, keep its own editable paragraph. */
/* The optional editable description in the insertable homepage pattern stays
   below the centered graphic rather than pushing or overlapping it. */
.sauna-home-hero > p,.sauna-hero-home > p{
  position:absolute;
  left:50%;bottom:clamp(85px,14%,140px);
  transform:translateX(-50%);
  z-index:2;
  width:min(calc(100% - 36px),760px);
  max-width:760px!important;
  margin:0!important;
  font-size:clamp(15px,1.3vw,19px);
  line-height:1.55;
  color:var(--snw-cream);
  text-wrap:balance;
}
/* Compatibility for homepage patterns saved before 2.0.4: their lead text
   was placed INSIDE the hero group. Keep it editable while moving its display
   below the first screen and reserving the necessary space. */
@media (min-width:768px){
  .sauna-home-hero:has(> p),.sauna-hero-home:has(> p){
    margin-bottom:clamp(180px,22vh,240px)!important;
  }
  .sauna-home-hero > p,.sauna-hero-home > p{
    top:calc(100% + 64px)!important;
    bottom:auto!important;
    padding:0 12px!important;
  }
  .sauna-default-home-hero::after,.sauna-home-hero::after,.sauna-hero-home::after{
    background:linear-gradient(180deg,rgba(13,7,5,.08) 0%,rgba(13,4,2,.05) 43%,rgba(10,3,1,.15) 71%,rgba(10,3,1,.42) 100%);
  }
}
.sauna-home-hero .wp-block-buttons,.sauna-hero-home .wp-block-buttons{justify-content:center;margin:26px auto 0!important}
.sauna-front-page:has(.sauna-editable-content .sauna-home-hero) > .sauna-default-home-hero,
.sauna-front-page:has(.sauna-editable-content .sauna-hero-home) > .sauna-default-home-hero{display:none!important}
.sauna-front-page>.sauna-editable-content{margin:0}
.sauna-photo-band,.sauna-booking-band{position:relative;min-height:330px;background:#251510;margin:0!important;overflow:hidden;isolation:isolate}
.sauna-photo-band .wp-block-image,.sauna-photo-band figure{margin:0!important;width:100%;height:100%}
.sauna-photo-band img{width:100%;height:400px;max-width:none;object-fit:cover;display:block}
.sauna-booking-band{display:flex;align-items:center;justify-content:flex-start;padding:60px clamp(24px,7vw,140px);background:url('assets/images/sauna-oferta-header.webp') center center /cover no-repeat}
.sauna-booking-band::after{content:"";z-index:-1;position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,3,1,.8),rgba(10,3,1,.35) 60%,rgba(10,3,1,.12))}
.sauna-booking-band h2{max-width:660px;font:500 clamp(26px,3.4vw,56px)/1.18 var(--snw-title)!important;letter-spacing:.13em;color:var(--snw-cream);text-transform:uppercase}
.sauna-booking-band a{font:inherit;text-decoration:none}
.sauna-home-intro,.sauna-section-dark{background:var(--snw-bg);color:var(--snw-cream);padding:clamp(75px,8vw,135px) 24px!important;text-align:center;margin:0!important}
.sauna-home-intro>p,.sauna-section-dark>p{max-width:820px!important;margin:0 auto 46px!important;font-size:clamp(15px,1.4vw,18px);line-height:1.7}
.sauna-highlights{max-width:660px!important;margin:45px auto 54px!important;display:grid!important;grid-template-columns:minmax(0,1fr);gap:18px;align-items:stretch}
.sauna-highlights > .sauna-highlight{margin:0!important;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 32px;border-radius:30px;background:#27120e;color:var(--snw-cream);box-shadow:0 5px 16px rgba(0,0,0,.1)}
.sauna-highlight h2,.sauna-highlight h3{font:600 clamp(17px,2vw,23px)/1.2 var(--snw-title)!important;margin:0 auto 10px!important;text-transform:uppercase}
.sauna-highlight p{font:400 15px/1.5 var(--snw-body);margin:0 auto!important;max-width:530px}
.sauna-home-intro .wp-block-buttons,.sauna-section-dark .wp-block-buttons{justify-content:center}
.sauna-photo-band--second img{height:min(50vw,700px);min-height:350px}

/* Offer: editorial sections + large image separators. */
.sauna-page--oferta .sauna-editable-content{background:var(--snw-bg)}
.sauna-page--oferta .sauna-editable-content>.sauna-offer-intro,
.sauna-page--oferta .sauna-editable-content>.sauna-offer-body,
.sauna-offer-section{background:var(--snw-bg);padding:clamp(45px,5vw,85px) max(24px,calc((100vw - 1080px)/2))!important;margin:0!important}
.sauna-page--oferta .sauna-editable-content h2,.sauna-offer-section h2{font:600 clamp(24px,2.5vw,42px)/1.18 var(--snw-title);margin:0 0 14px;text-transform:uppercase}
.sauna-page--oferta .sauna-editable-content h3,.sauna-offer-section h3{font:600 clamp(19px,2vw,29px)/1.18 var(--snw-title);margin:38px 0 10px}
.sauna-page--oferta .sauna-editable-content p{font-size:16px;line-height:1.6}
.sauna-page--oferta .sauna-editable-content .wp-block-image{margin:38px 0 0}
.sauna-page--oferta .sauna-editable-content .wp-block-image img{display:block;width:100%;height:auto;object-fit:cover}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section,
.sauna-offer-section-photo{min-height:600px;height:600px;padding:60px 24px!important;display:flex;align-items:center;justify-content:center;background-color:#2a1712;background-repeat:no-repeat;background-position:center;background-size:cover;text-align:center;position:relative;margin:0!important}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section::before,.sauna-offer-section-photo::before{content:"";position:absolute;inset:0;background:rgba(15,6,3,.24)}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section>* , .sauna-offer-section-photo>*{z-index:1;position:relative}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section h2,.sauna-offer-section-photo h2{font:600 clamp(36px,5.3vw,82px)/1.1 var(--snw-title);max-width:800px;text-transform:uppercase;margin:0 auto!important}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section:nth-of-type(3){background-image:url('assets/images/sauna-home-01.webp')}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section:nth-of-type(5){background-image:url('assets/images/sauna-rezerwacja-header.webp')}
.sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section:nth-of-type(7){background-image:url('assets/images/sauna-cennik-header.webp')}
.sauna-offer-section-photo--dworzec{background-image:url('assets/images/sauna-home-01.webp')}
.sauna-offer-section-photo--relax{background-image:url('assets/images/sauna-oferta-header.webp')}
.sauna-offer-section-photo--cooling{background-image:url('assets/images/sauna-cennik-header.webp')}
.sauna-offer-placeholder{height:300px;background:var(--snw-cream);border:0;margin:0!important;display:block}
.sauna-offer-placeholder img{display:block;width:100%;height:100%;object-fit:cover}
.sauna-page--cennik .sauna-editable-content,.sauna-page--rezerwacja .sauna-editable-content{background:var(--snw-bg);padding-bottom:90px}
.sauna-page--cennik .sauna-editable-content> :not(.alignfull),.sauna-page--rezerwacja .sauna-editable-content> :not(.alignfull){max-width:min(950px,calc(100% - 40px));margin-inline:auto}
.sauna-page--cennik .sauna-editable-content>.sauna-prices-body{min-height:120px;padding:50px 30px}

/* WooCommerce: presentation only; preserve booking form and hooks */
.sauna-woo-content{width:min(calc(100% - 56px),var(--snw-max));max-width:var(--snw-max);margin:0 auto;padding:70px 0 110px;color:var(--snw-cream)}
.sauna-woo-content h1,.sauna-woo-content h2,.sauna-woo-content h3,.sauna-woo-content .product_title{font-family:var(--snw-title);color:var(--snw-cream)}
.sauna-woo-content .woocommerce{width:100%;max-width:100%}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(var(--snw-wc-columns,3),minmax(0,1fr));gap:24px;margin:0!important;padding:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;clear:none!important;width:auto!important;margin:0!important;padding:14px 14px 20px;min-width:0;background:#2a1712;border-radius:18px}
.woocommerce ul.products li.product img, .wc-block-grid__products img, .wc-block-product-template img{width:100%!important;aspect-ratio:1 / 1;height:auto!important;object-fit:cover;border-radius:9px;margin:0 0 12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.wc-block-grid__product-title{font:600 19px/1.22 var(--snw-title)!important;text-transform:uppercase;color:var(--snw-cream)}
.woocommerce ul.products li.product .price,.woocommerce .price{color:var(--snw-cream)!important;font-size:16px}
.woocommerce ul.products li.product .button,.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.wc-block-components-button:not(.is-link){border-radius:999px!important;background:var(--snw-rose)!important;color:var(--snw-bg)!important;border:none;font-family:var(--snw-title);font-weight:600;padding:12px 24px!important}
.woocommerce span.onsale{background:#e02328;color:white}
.woocommerce div.product{display:flow-root}
.woocommerce div.product div.images,.woocommerce div.product div.summary{min-width:0}
.woocommerce div.product div.images img{max-width:100%;height:auto;object-fit:contain}
.woocommerce div.product .product_title{font-size:clamp(27px,3vw,48px);overflow-wrap:anywhere}
.woocommerce div.product .summary>*{max-width:100%}
.woocommerce div.product .single_add_to_cart_button{white-space:normal}
.woocommerce input,.woocommerce select,.woocommerce textarea,
.wc-block-components-text-input input,.wc-block-components-text-input input:focus,
.wc-block-components-combobox input{max-width:100%;color:#21110b!important}
.woocommerce .quantity .qty{max-width:90px}
.woocommerce .related.products{display:none!important}
.woocommerce .woocommerce-breadcrumb{color:#ebdcd2}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{color:var(--snw-cream);padding:10px}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{background:#f4ead9;color:#33211c}
.woocommerce table.shop_table{max-width:100%;border-collapse:separate;border:1px solid rgba(255,255,255,.22);border-radius:12px}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:rgba(255,255,255,.17)}
.wc-block-product-template{display:grid;grid-template-columns:repeat(var(--snw-wc-columns,3),minmax(0,1fr));gap:24px}
/* Transactional pages share the same brown background as order confirmation. */
.sauna-transaction{background:var(--snw-bg);min-height:75vh;padding:clamp(115px,12vw,170px) 24px 100px}
.sauna-transaction-header,.sauna-confirmation{max-width:980px!important;margin:0 auto 34px!important}
.sauna-transaction-header h1{font:600 clamp(34px,4vw,58px)/1.15 var(--snw-title);margin:0 0 35px;text-transform:uppercase;text-align:center}
.sauna-transaction .sauna-editable-content{width:min(100%,980px);margin:0 auto!important}
.sauna-transaction .sauna-editable-content>.wp-block-woocommerce-cart,.sauna-transaction .sauna-editable-content>.wp-block-woocommerce-checkout{max-width:none;width:100%}
.sauna-transaction .wc-block-components-sidebar-layout{gap:28px}
.sauna-transaction .wc-block-components-sidebar,.sauna-transaction .wc-block-components-main{min-width:0;color:var(--snw-cream)}
.sauna-transaction .wc-block-components-totals-wrapper,.sauna-transaction .wc-block-components-order-summary,.sauna-confirmation table{border-color:rgba(255,255,255,.25)}
.sauna-transaction .wc-block-components-totals-item,.sauna-transaction .wc-block-cart-item__product{overflow-wrap:anywhere}
.sauna-transaction .wc-block-components-text-input input,.sauna-transaction .wc-block-components-combobox input{background:var(--snw-cream)!important}
.sauna-transaction .wc-block-components-button{width:100%}
.sauna-confirmation{font-family:var(--snw-body)}
.sauna-confirmation h2{font-size:clamp(30px,3.5vw,48px)}

/* Shared footer is editable as a block template-part. */
.sauna-site-footer{background:#1a0a06;color:var(--snw-cream);margin:0!important;padding:46px 22px!important;text-align:center}
.sauna-site-footer .wp-block-site-title{font:100 17px/1.3 var(--snw-title);text-transform:uppercase;letter-spacing:.05em;margin:0}
.sauna-site-footer a{text-decoration:none}

/* Keep element sizes readable on tablets & phones; avoid 100vw horizontal overflow. */
@media(max-width:1200px){
  .woocommerce ul.products,.wc-block-product-template{grid-template-columns:repeat(var(--snw-wc-columns-tablet,3),minmax(0,1fr))}
}
@media(max-width:900px){
  .sauna-header-row{width:calc(100% - 40px)}
  .sauna-brand a{width:160px;height:27px}
  .sauna-site-header .wp-block-navigation__container{gap:18px!important}
  .woocommerce ul.products,.wc-block-product-template{grid-template-columns:repeat(var(--snw-wc-columns-mobile,2),minmax(0,1fr))}
  .sauna-woo-content{width:calc(100% - 38px)}
  .sauna-page--oferta .sauna-editable-content>.sauna-offer-intro,.sauna-offer-section{padding-inline:24px!important}
}
@media(max-width:767px){
  :root{--snw-header-height:62px}
  body.admin-bar .wp-site-blocks > header.wp-block-template-part{top:46px}
  .sauna-header-row{width:calc(100% - 30px)}
  .sauna-site-header .wp-block-navigation__responsive-container-open{display:flex}
  .sauna-site-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
  /* Core/navigation's open panel must cover the visible viewport, not the sticky bar. */
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:100svh!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    display:flex!important;
    flex-direction:column!important;
    box-sizing:border-box!important;
    z-index:9999!important;
  }
  body.admin-bar .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open{
    top:46px!important;
    height:calc(100vh - 46px)!important;
    height:calc(100dvh - 46px)!important;
    min-height:0!important;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{
    display:flex!important;
    flex-direction:column!important;
    flex:1 0 auto!important;
    width:100%!important;
    min-height:100%!important;
    box-sizing:border-box;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{
    position:relative;
    padding:24px 22px max(24px,env(safe-area-inset-bottom))!important;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
    display:flex!important;
    flex-direction:column!important;
    flex:1 0 auto!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    padding:52px 0 16px!important;
    box-sizing:border-box;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    gap:clamp(12px,2.5svh,24px)!important;
    margin:0!important;
    padding:0!important;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a{
    width:auto!important;
    max-width:100%;
    text-align:center;
    white-space:normal;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label{
    font-size:clamp(19px,2.8svh,27px)!important;
    line-height:1.25!important;
    white-space:normal!important;
  }
  .sauna-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{
    top:18px!important;
    right:20px!important;
    z-index:2;
    padding:8px!important;
  }
  .sauna-template-hero,.sauna-page-banner{height:clamp(340px,57svh,540px);min-height:clamp(340px,57svh,540px);padding:calc(var(--snw-header-height) + 30px) 18px 35px!important;background-position:center center}
  .sauna-template-hero h1,.sauna-page-banner h1{font-size:clamp(36px,9vw,56px)!important}
  .sauna-default-home-hero,.sauna-home-hero,.sauna-hero-home{
    height:clamp(470px,76svh,650px)!important;
    min-height:0!important;
    background-position:center center!important;
    padding:0!important;
  }
  .sauna-default-home-hero::before,.sauna-home-hero::before,.sauna-hero-home::before{
    width:clamp(190px,57vw,260px);
    height:auto;
    top:49%;
  }
  .sauna-front-page > .sauna-editable-content > p:first-child,
  .sauna-front-page > .sauna-editable-content > .sauna-home-description{margin-top:-160px!important;padding-bottom:95px!important;font-size:15px}
  .sauna-photo-band img{height:280px}
  .sauna-booking-band{min-height:255px;padding:40px 24px}
  .sauna-booking-band h2{font-size:clamp(26px,6vw,39px)!important}
  .sauna-home-intro,.sauna-section-dark{padding:62px 20px!important}
  .sauna-highlights{margin:32px auto!important;max-width:560px!important}
  .sauna-highlights>.sauna-highlight{border-radius:24px;min-height:110px}
  .sauna-page--oferta .sauna-editable-content>.sauna-page-banner--section,.sauna-offer-section-photo{min-height:350px;height:350px}
  .sauna-offer-placeholder{height:200px}
  .sauna-woo-content{padding:45px 0 75px}
  .woocommerce ul.products,.wc-block-product-template{grid-template-columns:repeat(var(--snw-wc-columns-mobile,2),minmax(0,1fr));gap:16px}
  .woocommerce ul.products li.product{padding:11px 11px 16px}
  .woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
  .sauna-transaction{padding:calc(var(--snw-header-height) + 80px) 15px 70px}
  .wc-block-components-sidebar-layout{display:block}
}
@media(max-width:480px){
  .sauna-template-hero,.sauna-page-banner{height:330px;min-height:330px}
  .sauna-woo-content{width:calc(100% - 30px)}
  .woocommerce ul.products,.wc-block-product-template{grid-template-columns:1fr}
  .woocommerce ul.products li.product img{aspect-ratio:1 / 1}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body .wp-block-button__link{transition:none}}
/* Honor WooCommerce columns-1 … columns-6 and shortcode attributes. */
.woocommerce ul.products.columns-1,.wc-block-product-template.columns-1{--snw-wc-columns:1}
.woocommerce ul.products.columns-2,.wc-block-product-template.columns-2{--snw-wc-columns:2}
.woocommerce ul.products.columns-3,.wc-block-product-template.columns-3{--snw-wc-columns:3}
.woocommerce ul.products.columns-4,.wc-block-product-template.columns-4{--snw-wc-columns:4}
.woocommerce ul.products.columns-5,.wc-block-product-template.columns-5{--snw-wc-columns:5}
.woocommerce ul.products.columns-6,.wc-block-product-template.columns-6{--snw-wc-columns:6}

.woocommerce ul.products.columns-1, .wc-block-product-template.columns-1{--snw-wc-columns-tablet:1;--snw-wc-columns-mobile:1;}
.woocommerce ul.products.columns-2, .wc-block-product-template.columns-2{--snw-wc-columns-tablet:2;--snw-wc-columns-mobile:2;}
.woocommerce ul.products.columns-3, .wc-block-product-template.columns-3{--snw-wc-columns-tablet:3;--snw-wc-columns-mobile:2;}
.woocommerce ul.products.columns-4, .wc-block-product-template.columns-4{--snw-wc-columns-tablet:3;--snw-wc-columns-mobile:2;}
.woocommerce ul.products.columns-5, .wc-block-product-template.columns-5{--snw-wc-columns-tablet:3;--snw-wc-columns-mobile:2;}
.woocommerce ul.products.columns-6, .wc-block-product-template.columns-6{--snw-wc-columns-tablet:3;--snw-wc-columns-mobile:2;}
.sauna-article-list{padding:calc(var(--snw-header-height) + 100px) 24px 90px;min-height:60vh}
.sauna-article-list .wp-block-query{max-width:960px;margin-inline:auto}
.sauna-article-list .wp-block-post-template{display:grid;gap:26px;list-style:none}
.sauna-article-list .wp-block-post-template>li{padding:20px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.sauna-article-list .wp-block-post-title{font-size:32px}
.sauna-article-list .wp-block-query-pagination{margin-top:35px}


.sauna-highlight-2 {
width: 50%;
margin: 0 auto;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
min-height: 210px;
padding: 26px 17px;
border: NONE;
border-radius: 55px;
background: #1a0d09;
}

.ssr-unified-progress {
    font-size: 16px;
    background: #332520;
    color: #ffffff;

    font-weight: 100;
}

.ssr-unified-tile-button {
  background: #332520;
  color: #ffffff;
}
.sauna-page--rezerwacja .snw-booking-ui .snw-booking-step {
  background: #332520;
}

.fc .fc-scrollgrid-section-sticky > * {
    background: #130704 !important;
  font-weight: 100 !important;
}
.ssr-unified-recap dd, .ssr-unified-step label {
    font-weight: 100;
}

.entry-content {
  font-weight: 100;
}


.sauna-transaction .wc-block-components-text-input input, .sauna-transaction .wc-block-components-combobox input {
    background: var(--snw-bg) !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email] {
border-color: rgba(255, 255, 255, .25);
color: var(--snw-cream);
}
.wc-block-components-textarea, .wc-block-components-textarea:focus {
    border-color: rgba(255, 255, 255, .25);
  background: var(--snw-bg);
  color: var(--snw-cream);
}
.wc-block-components-textarea:not(:placeholder-shown) {
  color: var(--snw-cream);
}


.woocommerce input, .woocommerce select, .woocommerce textarea, .wc-block-components-text-input input, .wc-block-components-text-input input:focus, .wc-block-components-combobox input, .ssr-unified-date-caption, .ssr-unified-hint, .ssr-unified-product-hint {
    color: var(--snw-cream) !important;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
  background: var(--snw-bg);
  color: var(--snw-cream);  
  border-color: rgba(255, 255, 255, .25);
}

:where(.woocommerce) .select2-container .select2-dropdown, :where(.woocommerce) .select2-container .select2-selection {
  background: var(--snw-bg);
  color: var(--snw-cream);  
  border-color: rgba(255, 255, 255, .25);  
}

:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--snw-cream);  
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 100;
}

h2 {
    font-size: var(--wp--preset--font-size--large);
}

.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
    word-break: keep-all;
    overflow-wrap: normal;
}

.sauna-footer-link a {
  text-decoration: none;
}
.ssr-unified-step {
  background: #332520;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .045) !important;
}
.ssr-unified-category, .ssr-unified-variant, .ssr-unified-upsell-option {
  background-color: #f4ead9;
}

.snw-invoice-widget {
  background: #332520;
}

.wc-block-components-radio-control-accordion-option {
  background: #332520;
}

/* Indywidualne tło nagłówka strony Lokalizacja (ID 478) */

body.page-id-478 .sauna-header--general,
body.page-id-478 .sauna-page--general .sauna-page-banner:not(.sauna-page-banner--section) {
    background-image: url("https://saunanawisle.pl/wp-content/uploads/2026/11/sauna-lokalizacja.webp") !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}