/*
 Theme Name: Astra Child
 Template: astra
 Text Domain: astra-child
*/

#masthead, .site-header, .main-header-bar {
  position: fixed;
	width:100%;
  top: 0;
  z-index: 9999;      /* nad treścią/sliderami */
}
.site-content{
	  overflow: hidden;
}
/* Gdy jesteś zalogowany – uwzględnij pasek admina WP */
.admin-bar #masthead,
.admin-bar .site-header,
.admin-bar .main-header-bar { top: 32px; }

@media (max-width: 782px) { /* wysokość paska admina na mobile */
  .admin-bar #masthead,
  .admin-bar .site-header,
  .admin-bar .main-header-bar { top: 46px; }
}
.custom-image figure img{
	width:100%!important;
	max-width:max-content!important;
	height:auto!important;
}
/* Opcjonalnie: tło i cień, żeby menu nie „znikało” nad obrazkiem hero */
.is-stuck .main-header-bar,
.main-header-bar.is-stuck { box-shadow: 0 6px 20px rgba(0,0,0,.08); }

.site-main .entry-content .fullbleed{
  position: relative;
  width: 100vw;
	max-width:100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* parallax */
.bhc-parallax{
  min-height: 420px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  isolation: isolate;
}
.bhc-parallax__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.25);   /* delikatne przyciemnienie */
  z-index:0;
}
.bhc-parallax__inner{
  position: relative; z-index:1;
  height: 100%;
  display:flex; align-items:center; justify-content:center;
  padding: 48px 16px;
  color:#fff;
  text-align:center;
}

/* iOS/Android często blokują fixed – fallback */
@supports (-webkit-touch-callout: none) {
  .bhc-parallax{ background-attachment: scroll; }
}
@media (max-width: 768px){
  .bhc-parallax{ min-height: 280px; background-attachment: scroll; }
}
.entry-content .wp-audio-shortcode, .entry-content .wp-embedded-audio, .entry-content .wp-embedded-video, .entry-content .wp-video, .entry-content p{
	margin-bottom:10px!important;
}
body:not[.home] .entry-content{
	margin-top:40px;
}
.entry-content > img, .entry-content > p img{
	margin:20px 0;
}
.bhc-hero{
  position: relative;
  width: 100%;
  min-height: 280px;
  background-image: var(--bg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;  
  isolation: isolate;
}
.bhc-hero__overlay{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.08);
  z-index: 0;
}
.bhc-hero__inner{
  position: relative; z-index: 1;
  padding: 48px 0;
	max-width:1380px;
	margin:0 auto;
}
.bhc-hero__container{
  /* wyrównaj do szerokości kontenera motywu */
  width: min(1180px, 90vw);        /* możesz spiąć z wartościami Astry */
  margin: 0 auto;
  padding: 0 16px;
}

/* Typografia (jak na screenie: mocny tytuł + subtelny podtytuł) */
.bhc-hero__title{
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  color: #111;
  text-shadow: 0 0 1px rgba(255,255,255,.25);
}
.bhc-hero__subtitle{
  margin: 0;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #2d2d2d;
}

/* Fallback dla iOS/Android (często blokują background-attachment: fixed) */
@supports (-webkit-touch-callout: none){
  .bhc-hero{ background-attachment: scroll; }
}
@media (max-width: 768px){
  .bhc-hero{ min-height: 220px; }
  .bhc-hero__inner{ padding: 28px 0; }
}
.wrap{ display:grid; grid-template-columns: 260px 1fr; gap: 28px; }
.salon-sidebar{ position:sticky; top: 20px; align-self: start; }
.salon-cat-list{ list-style:none; padding:0; margin:.75rem 0 0; }
.salon-cat-list li{ margin:.25rem 0; }
.salon-cat-list a{ text-decoration:none; }
.salon-cat-list .is-current a{ font-weight:700; text-decoration:underline; }

.salon-grid{ list-style:none; display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap: 20px; padding:0; }
.bhc-breadcrumbs{ padding:8px 0 14px; font-size:.95rem; color:#666;
margin:100px auto 0 auto;max-width:1300px;width:100%;}
.bhc-breadcrumbs a{ color:inherit; text-decoration:none; }
.bhc-breadcrumbs a:hover{ text-decoration:underline; }
.bhc-ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.5rem; }
.bhc-li{ display:flex; align-items:center; }
.bhc-li + .bhc-li::before{ content:"/"; margin:0 .5rem; color:#aaa; }
.wrap-sklepy{
	    width: 100%;
}
.breadcrumb-trail:before{
	content:"";
	position:absolute;
	left:50%;
	transform:translatex(-50%);
	top:0;
	bottom:0;
	 background-color:#EDE6DC;
    width: 3000px;
    z-index: -1;
}
.kontakt .breadcrumb-trail:before{
	 background-color:#697565;
}
.kontakt .ast-breadcrumbs-wrapper .trail-items a, .kontakt .trail-items li::after, .kontakt .ast-breadcrumbs-wrapper .trail-items .trail-end{
	color:white;
}
.ast-breadcrumbs-wrapper #ast-breadcrumbs-yoast, .ast-breadcrumbs-wrapper .breadcrumbs, .ast-breadcrumbs-wrapper .rank-math-breadcrumb, .ast-breadcrumbs-inner nav{
	padding:110px 0 10px 0;
	position:relative;
	z-index:1;
}
.ast-breadcrumbs .trail-browse, .ast-breadcrumbs .trail-items, .ast-breadcrumbs .trail-items li,.ast-breadcrumbs .trail-items li a, .trail-items li::after{
	color:black;
}
.uagb-infobox-cta-link.wp-block-button__link{
	margin-top:20px;
	border-radius:10px;
}
.uagb-is-root-container > p{
	line-height:0;
	font-size:0;
}
div > p{
	margin-bottom:5px;
}
.wp-block-image img{

}
.ast-builder-menu-1 .menu-item > .menu-link{
	color:white;
}
.ast-desktop .ast-menu-hover-style-underline > .current-menu-item > a.menu-link:before{
	height:3px;
	width: calc(100% - 1.2em);
    background-color: currentColor;
    transform: scale(1, 1) translate(50%, 0);
}
.ast-logo-title-inline .ast-site-identity{
	padding:0;
}
.wp-block-button__link{
	border-radius:10px;
}
.site-footer-primary-section-1{
	align-self: center;
}
.site-content{
	background-color:#EDE6DC;
}
.wp-block-button__link{
	border-radius:10px!important;
}
#ast-desktop-header .ast-builder-html-element p{
	margin:0;
	line-height:1.1;
}
.video-radius video{
	border-radius:10px;
}
.main-header-bar{
	background-color:transparent!important;
	border-bottom:none!important;
}
.hero-bg{
  position: relative;
  overflow: hidden; /* żeby czapka nie wystawała */
}

/* samo wideo – dla pewności pod spodem */
.hero-bg video{
  display: block;
  width: 100%;
  height: auto;          /* lub height:100% jeśli masz stały wrapper */
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* półkoliste "zasłonięcie" od dołu */
.hero-bg::after{
  --cut: 85%;
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -1px;
  height: var(--cut);
  z-index: 1;
  pointer-events: none;

  /* eliptyczna krawędź u góry pseudo-elementu */
  background:radial-gradient(100% 200% at 50% 0%,
      transparent 49.9%,
      #EDE6DC 50%) bottom / 100% 100% no-repeat
}

/* jeśli chcesz płytsze wycięcie na mobile */
@media (max-width: 768px){
  .hero-bg::after{ --cut: 22%; }
}

/* jeżeli masz warstwę z tekstem – daj jej wyższy z-index */
.hero-bg .hero-content{
  position: relative;
  z-index: 2;
}

.site-header-section>div:last-child{
	min-width:132px
}
.ast-builder-layout-element[data-section="section-hb-social-icons-1"]{
	min-width:132px;
}
.ast-site-title-wrap{
	display:none;
}
#ast-hf-mobile-menu{
	top:80px;
}
.min-heig .wp-block-group{
	min-height:135px;
}
.uagb-block-fe06041e .spectra-image-gallery__control-dots li button::before{
	color:black;
}
.uagb-block-fe06041e .spectra-image-gallery__control-arrows svg{
	fill:black;
}
@media(max-width:600px){
	.site .site-content #primary .ast-article-single, .ast-separate-container .site-content #secondary .widget{
		padding:0!important;
	}
	.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar{
		padding:0 7px!important;
	}
}
.site-header-primary-section-left .site-header-primary-section-left-center{
	display:none;
}
@media(max-width:1080px){
	.site-header-primary-section-right .ast-header-html-1{
		display:none;
	}
	.wp-block-uagb-container:not[.hero-bg]{
		padding-left: 15px!important;
	padding-right: 15px!important;
	}
	.wp-block-uagb-container .wp-block-uagb-container{
		padding-left: 0!important;
	padding-right:0!important;
	}
}
.p-margin-0 p{
	margin-bottom:0!important;
}
.p-margin-0 {
	padding-left: 0!important;
	padding-right:0!important;
}
.wpcp-all-captions {
	z-index:-1;	
}
#wpcpro-wrapper-1468:not(.wpcpro-thumbnail-slider) .wpcp-swiper-wrapper{
	margin-bottom:0;
}
.ast-article-single img{
	box-shadow:none;
	border-radius:15px;
}
.navigation.post-navigation{
	display:none;
}
.isimb-6310-template-04-tooltip-pic{
	width: 150px!important;
     height: auto!important; 
     border-radius: 0!important; 
     margin-top: 0!important; 
    border: none!important;
    background-color: white!important;
}
.isimb-6310-template-04-tooltip-pic img{
	height: auto!important; 
}
.karuzela-salonow img{
	width: auto;
    object-fit: contain;
}
.wp-block-uagb-container p img{
	margin:20px 0;
}

.wp-block-social-links .wp-block-social-link.wp-social-link{
	background-color:transparent!important;
}
.footer-widget-area .wp-block-social-links{
	gap:10px;
}
.sct-tile{
	border:solid 1px black;
}
:root :where(.wp-block-social-links .wp-social-link a){
	padding:1px;
}
.ast-breadcrumbs-wrapper .trail-items .trail-end{
	text-transform: capitalize;
}
.wpcpro-wrapper .wpcp-carousel-section .wpcp-next-button:hover, .wpcpro-wrapper .wpcp-carousel-section .wpcp-next-button i:hover, .wpcpro-wrapper .wpcp-carousel-section .wpcp-prev-button:hover, .wpcpro-wrapper .wpcp-carousel-section .wpcp-prev-button i:hover{
	color:black!important;
	background-color:transparent;
}
.salony-carousel{
	margin-top:30px;
}
#wpcpro-wrapper-385 #sp-wp-carousel-pro-id-385.wpcp-carousel-section.sp-wpcp-385 .wpcp-single-item{
	border:none;
	background-color:transparent!important;
}
.karuzela-salonow .wpcp-slide-image{
	border: solid 1px black;
	border-radius:15px;
}
.karuzela-salonow .wpcp-slide-image img{
	padding:5px;
	box-sizing:border-box;
	border:none!important;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img{
	max-width:max-content!important;
}
@media(max-width:1180px){
.ast-builder-footer-grid-columns{
	grid-column-gap:20px;
}
}
@media(max-width:920px){
.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row{
	grid-template-columns:1fr 1fr;
}
#block-55{
	margin: 0 auto;
    display: inline-block;
}
.site-footer-primary-section-1{order:1}
.site-footer-primary-section-2{order:3}
.site-footer-primary-section-3{order:2}
.site-footer-primary-section-4{order:4}
}
@media(max-width:600px){
	.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row{
	grid-template-columns:1fr;
}
}
figure.wp-block-image .glg-a-custom-wrap:hover img{
	transform:scale(1.07);
}
figure.wp-block-image .glg-a-custom-wrap img{
	transition:all 0.8s ease;
}
.category-after-content p{
	margin-bottom:10px;
}
.category-after-content h1{
	margin-bottom:30px;
}
.category-after-content h2{
	margin-bottom:15px;
	margin-top:25px;
}
.category-after-content h3{
	margin-bottom:13px;
	margin-top:25px;
}
.category-after-content .wp-video, .category-after-content .gallery{
	margin:35px 0;
	display:flex;
	flex-wrap:wrap;
}
.category-after-content{
	margin-bottom:45px;
}
.category-after-content .gallery-item:last-child{
	margin-bottom:0;
}
.ast-header-search{
	position:absolute;
	right:0;
}
.ast-dropdown-active .ast-icon svg:not([fill]){
	fill: black;
}
.salony-carousel .wpcp-slide-image{
	position:relative;
	height:285px;
}
/* Pojedyncze obrazki we wpisach: nieklikalne */
.uagb-container-inner-blocks-wrap > figure.wp-block-image a { pointer-events: none; cursor: default; }
.entry-content > figure.wp-block-image a { pointer-events: none; cursor: default; }
/* Galerie nadal klikalne */
.ast-article-inner{
	border-radius:15px;
}
.post-content .post-thumb{
	overflow:hidden;
	border-radius:15px;
	border:solid 1px black;
	position:relative;
}
.post-content .post-thumb img{
	transition:all 0.6s ease;
}
.post-content .post-thumb:after{
	content:"";
	position:absolute;
	inset:0;
	background-color:rgba(0,0,0,0);
	border-radius:15px;
	transition:all 0.6s ease;
}
.post-content:hover .post-thumb img{
	transform:scale(1.1);
}
.post-content:hover .post-thumb:after{
	background-color:rgba(0,0,0,0.5);
}
.wpcp-single-item .wpcp-slide-image a img{
	transition:all 0.6s ease;
	border:none!important;
}
.wpcp-single-item:hover .wpcp-slide-image a img{
	transform:scale(1.1);
}
.wpcp-single-item .wpcp-slide-image{
	overflow:hidden;
	border-radius:15px;
	border:solid 1px black;
	position:relative;
}
.wpcp-single-item .wpcp-slide-image a:after{
	content:"";
	position:absolute;
	inset:0;
	background-color:rgba(0,0,0,0);
	border-radius:15px;
	transition:all 0.6s ease;
}
.wpcp-single-item:hover .wpcp-slide-image:after{
	background-color:rgba(0,0,0,0.5);
}


/* ===== HERO ACF dla "wydarzenia" ===== */
.event-hero-acf{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  margin: 30px auto 28px auto;
}

.event-hero-acf__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.50);
}

.event-hero-acf__inner{
  position: relative;
  z-index: 2;
  padding: 5vh 3vw 5vh 3vw;
  max-width: 850px; /* dopasuj do layoutu */
  width:100%;
  margin: 0;
}

.event-hero-acf__title{
  color: #fff;
  margin: 0;
  line-height: 1.05;
  max-width: 900px;
}

/* mobile panel ukryty na desktop */
.event-hero-acf__mobile-panel{
  display:none;
}

/* ===== MOBILE jak na Twoim screenie nr 3 ===== */
@media (max-width: 768px){
  .event-hero-acf{
    min-height: 520px;
  }

  .event-hero-acf__inner{ padding:0; }
  .event-hero-acf__title{ display:none; }

  .event-hero-acf__mobile-panel{
    display:block;
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    padding: 18px 18px 22px 18px;
    background: rgba(0,0,0,.55);
  }

  .event-hero-acf__title--mobile{
    color:#fff;
    margin:0;
    font-size: 24px;
    line-height:1.05;
  }
}
@media(max-width:1680px){
	.ast-header-html-1{
		display:none;
	}
}
@media(max-width:1340px){
.wp-block-uagb-container.alignfull.uagb-is-root-container .uagb-container-inner-blocks-wrap{
	margin:0 15px!important;
}
}
.acf-salon-map-btn-wrap{
  margin-top: 14px;
}
.acf-salon-map-btn{
  display:inline-block;
  border:1px solid #000;
  border-radius:999px; /* 50% efekt pigułki */
  padding:10px 20px;
  color:#000;
  line-height:1;
  transition: .6s ease;
}
.acf-salon-map-btn{
	text-decoration:none!important;
}
.acf-salon-map-btn:hover{
  box-shadow: 0px 3px 8px 0px rgba(105, 105, 105, 0.73);
}
table, td, th{
	border-color:black;
}
td, th{
	padding: .3em 0.3em;
}
.acf-salon-header.v2{
  padding-top:28px;
}

.acf-salon-inner.v2{
  margin:0 auto;
  display:flex;
  gap:26px;
  align-items:start;
}

.acf-salon-logo.v2{
  flex:0 0 auto;
  max-width:270px;
  width:100%;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.acf-salon-logo.v2 img{
  display:block;
  width:100%;
  height:auto;
  max-width:270px;
  object-fit:contain;
}

.acf-salon-right.v2{
  flex:1 1 auto;
  min-width:0;
}

.acf-salon-title.v2{
  margin:0 0 10px 0;
  font-size:30px;
  line-height:1.05;
  font-weight:700;
  color:#111;
}

.acf-salon-actions.v2{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:20px 0;
}

.acf-salon-pavilions.v2,
.acf-salon-links.v2{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.acf-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border:2px solid rgba(0,0,0,.35);
  border-radius:999px;
  background:transparent;
  color:#111;
  text-decoration:none;
  font-weight:600;
  line-height:1;
  transition:transform .12s ease, background .12s ease;
}

.acf-chip:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.35);
}

.acf-chip--icon{
  width:52px;
  height:42px;
  padding:0;
}

.acf-chip--icon svg{
  width:22px;
  height:22px;
  fill:#111;
  display:block;
}

.acf-salon-bottom.v2{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:26px;
  align-items:start;
}

.acf-salon-col-label{
  font-weight:700;
  color:#111;
  margin-bottom:6px;
}

.acf-salon-col-body{
  color:#111;
  opacity:.92;
}
.entry-content .acf-salon-col-body p{
	margin-bottom:3px!important;
}
.acf-salon-col-body a{
  color:#111;
  text-decoration:underline;
}

@media (max-width: 980px){
  .acf-salon-inner.v2{ flex-direction:column; align-items:stretch; }
  .acf-salon-logo.v2{ max-width:360px; margin:0 auto; }
  .acf-salon-title.v2{ font-size:32px; text-align:left; }
  .acf-salon-bottom.v2{ grid-template-columns:1fr; gap:16px; }
}
.salony-carousel .wpcp-slide-image a{
	position:static;
}
.salony-carousel .wpcp-slide-image img{
	position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
}
.salony-carousel .wpcp-slide-image::before {
    content: "";
    display: block;
    padding-bottom: 68.75%;
}
#gallery-1 .gallery-item {
    overflow: hidden;
}

#gallery-1 .gallery-icon {
    height: 210px;
}

#gallery-1 .gallery-icon img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.category-after-content .gallery-item{
	padding:0 5px;
}
#gallery-1 .gallery-icon img {
    transition: transform 0.3s ease;
}

#gallery-1 .gallery-item:hover img {
    transform: scale(1.05);
}