/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@font-face {
    font-family: 'Gabriola';
    src: url('/wp-content/themes/blocksy-child/fonts/Gabriola.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.site-title-container .site-description {
	font-family: 'Gbriola', sans-serif!important;
}
/* COOKIES */

.cky-consent-bar:after {
  content: '';
  background: #00000082;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* SCREEN READER */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* LOGO - podpis */
.site-branding .site-title-container .site-description {
	text-align: center !important;
	font-family: 'Gabriola', sans-serif!important;
}

/* RECAPTCHA */

body :not(.page-id-99) .grecaptcha-badge {
  display: none;
}

/* PAGE TITLE */

/* .hero-section .entry-header {
  padding: 40px 70px;
  background-color: var(--theme-palette-color-6);
  border-radius: 40px;
} */

.trnd-page-title {
line-height: 1.2em;
}

/* .trnd-hero-title .e-con-inner {
  width: var(--theme-container-width) !important;
}
 */

/* CONTACT FORM */

.trnd-form-container label {
  color: #1e1e1e;
  font-weight: 400 !important;
}
.trnd-form-container__row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  margin: auto;
  row-gap: 20px;
  column-gap: 40px;
}
.trnd-form-container input[type='submit'] {
  text-transform: initial;
}
.trnd-form-container__row.trnd-full-row {
  grid-template-columns: 1fr;
}
.trnd-form-submit {
  width: 100%;
  display: flex;
  justify-content: left;
}
.trnd-form-container input,
.trnd-form-container textarea {
	font-size: 14px !important;
  font-weight: 400 !important;
  border: 1px solid var(--theme-palette-color-3) !important;
  border-radius: 10px !important;
  margin-top: 10px;
}
.trnd-form-submit input {
	background-color: var(--theme-palette-color-10);
	font-weight: 500;
	font-size: 18px!important;
  padding: 20px 63px;
  border: 0px solid transparent !important;
  border-radius: 35px !important;
}

@media (max-width: 767px) {
  .trnd-form-container__row {
    margin-bottom: 20px;
    column-gap: 0px;
    row-gap: 0px;
    grid-template-columns: 1fr;
  }
  .trnd-form-container p,
  .trnd-form-container input[type='submit'] {
    width: 100%;
    margin-top: 20px;
  }
}

/* LOGIN FORM */

span.required{
	color:#eb0101 !important;
}

/* WOOCOMMERCE ACCOUNT */

.woocommerce-account.logged-in #main > div.ct-container-full {
  padding-top: 0px !important;
}

/* WOOCOMMERCE PRODUCT CATEGORY ARCHIVE PAGE */

.product figure .onsale {
  display: none;
}

.products li.product {
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #dedede;
}
/* Kategoria produktu */
.products li.product .product-category{
	text-align: center;
	font-size: 16px;
/* 	text-transform: uppercase; */
	font-family: 'WorkSans', sans-serif;
	color: var(--theme-palette-color-3);
}
.products .product-link:hover .product-category{
		color: var(--theme-palette-color-3);
}


/* Custom woo products loop  */


.trnd-loop-product .product-thumbnail {
	overflow:hidden;
	border-radius:20px 20px 0 0;
}
.trnd-loop-product .product-thumbnail img{
	transition: transform 0.3s ease;
}
.trnd-loop-product .product-link:hover .product-thumbnail img{
	transform: scale(1.06);
}


.products li.product ul.entry-meta,
.products li.product h2,
.products li.product .entry-excerpt,
.products li.product .ct-woo-card-actions {
  text-align: center;
  display: flex;
  justify-content: center !important;
  padding: 0 50px;
}

.products li.product .price {
  min-height: 35px;
  margin-top: -18px;
  color: #1a1a1a;
	font-size: 16px;
	font-weight: 700;
  background-color: var(--e-global-color-blocksy_palette_2);
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: 5px 15px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  z-index: 10;
	position:relative;
  flex-direction: column;
}

.products li.product h2 {
	font-size: 22px;
	font-weight: 800;
  margin-top: 10px;
  width: 100%;
}

.products li.product .price .wc-price-history {
  font-size: 10px;
}

del {
  opacity: 0.8 !important;
}

.trnd-woo-grid-button {
    width: fit-content;
    display: flex;
	font-weight: 500;
    justify-content: center;
    padding: 15px 34px;
    margin: 20px auto 20px;
    border-radius: 30px;
    background-color: var(--theme-palette-color-8);
    color: var(--theme-palette-color-4);
    border:2px solid var(--theme-palette-color-2);
	transition: 0.3s ease;
}

.trnd-woo-grid-button:hover {
	background-color: var(--theme-palette-color-2);
}




.trnd-sticky {
  position: sticky !important;
  top: 0;
}

/* SHORTCODES RESUME LESSON */
.trnd-course-sidebar-title {
  text-align: center;
}
a.trnd-add-to-cart,
.resume-lesson a {
  display: block;
  color: #fff;
  background-color: #1A8441;
  border: 2px solid #1A8441;
  border-radius: 25px;
  padding: 10px;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
	text-transform: uppercase;
}

a.trnd-add-to-cart:hover,
.resume-lesson a:hover {
  color: #fff;
  background-color: #1bd986;
  border-color: #1bd986;
}
.trnd-course-price,
.trnd-safe-payments {
  font-size: 14px;
}
.trnd-course-price {
  text-align: center;
  margin-bottom: 10px;
}

.trnd-safe-payments {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.trnd-safe-payments img {
  object-fit: contain;
}

/* SHORTCODES COACHES */

.trnd-course-coach {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.trnd-course-coach h3 {
  font-size: 20px;
  margin-top: 10px;
}

.trnd-course-coach h3 {
  text-align: center;
}
.trnd-course-coach p {
  text-align: center;
  font-size: 14px;
  line-height: 1.5em;
}

/* COACHES */

.post-type-archive-trener article.trener a {
  min-width: 240px;
}

.post-type-archive-trener article.trener img {
  object-fit: contain;
}

.single-trener .woocommerce ul.products figure {
  margin-bottom: 0 !important;
}

.trnd-coaches{
	display:flex;
	flex-direction:column;
	gap:40px;
}
.trnd-coaches-single{
	display:flex;
	gap:20px;
}
.trnd-coaches__title h2{
	font-size:20px;
	font-weight: 600;
}
.trnd-coaches-single-right{
	
	display:flex;
	flex-direction:column;
	justify-content:center;
}
.trnd-coaches__thumbnail{
	min-width:240px;
	max-width:240px;
}

@media (max-width:690px){
	.trnd-coaches-single{
	flex-direction:column;
		align-items:center;
}
	.trnd-coaches__title h2{
		text-align:center;
	}
}



/* ACCOUNT */

.woocommerce-account .ld-profile-card, .ld-profile__saved-cards {
  display: none !important;
}
.woocommerce-account.logged-in #main > div.ct-container-full {
  padding-top: 20px!important;
}
.woocommerce-account .ct-acount-nav {
  background-color: transparent;
}
.woocommerce-account .ct-acount-nav ul li {
  background-color: #fff;
}
.woocommerce-table--order-downloads td.download-file > a {
  padding: 5px;
  border-radius: 5px;
  text-transform: none;
}
.learndash-wrapper a.resume-last-lesson-link {
  color: white !important;
  width: 200px;
  text-align: center;
  border-radius: 100px;
  background-color: var(--theme-palette-color-1);
  padding: 10px;
  margin: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--theme-palette-color-1);
  border-bottom: 1px solid #4c7dbf !important;
}
.learndash-wrapper a.resume-last-lesson-link:hover {
  opacity: 0.85;
}
.ld-item-details {
  gap: 10px;
}
.ld-item-list-item-preview {
  gap: 20px;
}
.ld-item-list-item-preview .ld-item-name {
  font-weight: 700;
}
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
  flex: 1 1 40% !important;
}


/* ACCOUNT CERTIFICATES */

.trnd-certificates.logged-in ul {
  padding-top: 10px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  margin: auto;
  padding-left: 0;
  gap: 10px;
}

.trnd-certificates.logged-in ul li {
  border-bottom: 1px solid gray;
  width: auto;
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}

.trnd-certificates .certificate-course-title {
  font-size: 18px;
}

.trnd-certificates.logged-in ul li a {
  font-weight: 600;
  margin-left: 20px;
  padding: 5px;
  border-radius: 5px;
  min-width: 160px;
  max-height: 38px;
}

@media (max-width: 768px) {
  .trnd-certificates.logged-in ul li {
    display: flex;
  }
}

@media (max-width: 640px) {
  .trnd-certificates.logged-in ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 1000px) {
  /* 	account course list */
  .woocommerce-account .ld-item-details {
    flex-direction: column-reverse;
    align-items: center !important;
    margin: 10px 0 0 !important;
  }

  /* 	account resume button */
  .woocommerce-account .resume-last-lesson-link {
    margin: auto !important;
    margin-top: 10px !important;
  }

  /* account certificate */
  .woocommerce-account .ld-certificate-link:after {
    content: ' Pobierz Certyfikat';
    font-size: 16px;
    line-height: 16px;
  }
  .woocommerce-account .ld-certificate-link {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
    margin-top: 15px !important;
    color: black !important;
  }

  /* 	account nav mobile */
  .woocommerce-account .hero-section {
    margin-bottom: 20px;
  }
  .ct-woo-account {
    flex-direction: column;
  }
  .ct-acount-nav {
    width: 100%;
  }
  .ct-acount-nav {
    border-radius: 0 !important;
  }
  .ct-acount-nav {
    width: 100% !important;
  }
  .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 15px;
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
  }
  .ct-acount-nav {
    border-radius: 0 !important;
  }
  .woocommerce-MyAccount-navigation ul li a {
    border: 1px solid black !important;
    border-radius: 0 !important;
    padding: 0 5px;
    height: 50px;
    justify-content: center;
    text-align: center;
  }
  .woocommerce-MyAccount-navigation ul li a:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ld-focus-content h1 {
    font-size: 20px;
    line-height: 1.2em;
  }
  .mobile-menu .menu-item-2323 {
    margin-left: 5px;
  }
}

@media (max-width: 640px) {
  /* 	account expiry date */
  .trnd-course-expire-date {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  /* 	account nav */
  .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr 1fr;
  }
  .woocommerce-account .ld-item-details {
    width: 100%;
  }
}
@media (max-width: 480px) {
  /* 	account stats */
  .ld-profile-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .ld-profile-stats > div {
    width: 100% !important;
  }
}

/* MEDIA */

@media (max-width: 1000px) {
  .hero-section .entry-header {
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .hero-section .entry-header {
    padding: 20px 15px;
    border-radius: 20px;
  }
  .scroll-on {
    overflow-x: scroll;
  }
}

/* Ogólne ustawienia - NEWSLETTER FORM */
.news-form-container,
.news-form-container * {
    color: #fff;
}
.news-form-container{
	display: flex;
	flex-direction: column;
	gap: 12px;
}
/* Ustawienie pola email i przycisku w jednej linii */
.news-form_row p {
    display: flex;
    align-items: baseline;
    gap: 12px; /* odstęp między polem a przyciskiem */
}

.news-form_row p span.wpcf7-spinner {
    display: none;
}

/* Pole e-mail */
.news-form_row input[type="email"] {
    width: 100%!important;
	color: var(--theme-palette-color-4)!important;
    border-radius: 30px!important;
    padding: 12px 16px!important;
    border: 1px solid #fff!important;
	height: auto!important;
	background-color: var(--theme-palette-color-8);
}
.news-form_row input[type="email"]:focus {
	background-color: var(--theme-palette-color-8);
	border: 1px solid #fff;
}

.news-form_row input[type="email"]::placeholder {
    color: var(--theme-palette-color-3);
    opacity: 1;
}

/* Przycisk */
.news-form_row input[type="submit"] {
    border-radius: 25px;
    font-weight: 500 !important;
    padding: 14px 28px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* przycisk nie zwęża się */
	opacity:1!important;
}

/* Checkbox i label */
.news-form_row input[type="checkbox"] {
    margin-right: 10px;
}
.news-form_row label,
.news-form_row .wpcf7-list-item-label {
    color: #fff;
}
.news-form_row label a {
    color: #fff;
    text-decoration: underline;
}

/* Tablety (768px – 1024 px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .news-form_row p {
        flex-wrap: nowrap;
        justify-content: center;
    }
    .news-form_row label {
		min-width: 220px;
    }
}
.wpcf7-response-output{
	color: white;
	
}

/* Telefony (≤767px) */
@media (max-width: 767px) {
    .news-form_row p {
        flex-wrap: wrap;
        justify-content: center;
    }
    .news-form_row label {
        width: 100%;
    }
    .news-form_row input[type="submit"] {
        margin-top: 12px;
    }
}

/* Main sidebar */
.sidebar-latest-posts {
    display: flex;
    flex-direction: column;
}

.sidebar-post {
    padding: 12px 0;
}

.sidebar-post-meta {
    font-size: 14px;
    color: var(--theme-palette-color-3);
    margin-bottom: 5px;
	text-transform: uppercase;
}

.sidebar-post-title {
    font-size: 18px;
	font-weight: 700;
	margin:0 0 5px!important;
}

.sidebar-post-title a {
    color: var(--theme-palette-color-4);
    text-decoration: none;
}

.sidebar-post-title a:hover {
/*     text-decoration: underline; */
}

.sidebar-post-author {
    font-size: 14px;
    color: var(--theme-palette-color-3);
}

.sidebar-post-divider {
    margin-top: 12px;
    border-bottom: 2px solid var(--theme-palette-color-11);
}

/* AUTHORS */

.trnd-coaches {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.trnd-coaches-single {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.trnd-coaches-single-right {
    flex: 1;
	padding-top: 13px;
}

/* .trnd-coaches__title {} */

.trnd-coaches__motto {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
    font-style: italic;
    color: var(--theme-palette-color-10);
    margin-bottom: 30px;
}

.trnd-coach-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.trnd-coach-courses{
	display:flex;
	flex-direction: column;
	gap: 20px;
}
.trnd-coach-courses-title {
    font-family: 'Lato', sans-serif;
	font-weight: 900;
	font-size: 18px;
	color: var(--theme-palette-color-4);
}

.trnd-coach-courses-thumbs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trnd-course-thumb img {
    width: 150px; /* dopasuj do layoutu */
    height: auto;
    display: block;
    border-radius: 6px;
}
/* Authors - przycisk */
.trnd-coaches-cta {
    margin-top: 60px;
    text-align: center;
}

.trnd-coaches-button {
    display: inline-block;
    padding: 15px 41px;
    background: var(--theme-palette-color-10);
    color: var(--theme-palette-color-8);
    text-decoration: none;
    font-weight: 500;
	border-radius: 25px;
    transition: background 0.3s ease;
}

.trnd-coaches-button:hover {
    background: #1C4753;
	color: var(--theme-palette-color-8);
}

/* language snippet */
.mobile-lang-switcher {
    position: absolute;
    top: 50%;
    right: 60px; /* obok hamburgera */
    transform: translateY(-50%);
    z-index: 9999;
}

/* Desktop – całkowicie ukryty */
@media (min-width: 769px) {
    .mobile-lang-switcher {
        display: none !important;
    }
}

/* FILTRY DLA SKLEPU */
/* Wrapper całego widgetu filtrów */
.wpc-filters-widget-wrapper {
    justify-content: space-between !important;
}

/* Sekcja wyszukiwania */
.wpc-filters-widget-wrapper .wpc-filters-section-1150s {
    width: 50% !important;
}

/* Ukryty nagłówek sekcji wyszukiwania */
.wpc-filters-widget-wrapper .wpc-filters-section-1150s .wpc-filter-header {
    display: none !important;
}

/* Pole wyszukiwania */
.wpc-filters-widget-wrapper .wpc-filters-section-1150s input.wpc-search-field {
    border-radius: 10px !important;
}

/* Sekcja wyboru kategorii */
.wpc-filters-widget-wrapper .wpc-filters-section-1153 {
	width: auto!important;
    display: flex !important;
	align-items: center!important;
}

/* Nagłówek „Select category” */
.wpc-filters-widget-wrapper .wpc-filters-section-1153 .wpc-filter-header {
    width: fit-content !important;
}

/* Tytuł nagłówka kategorii */
.wpc-filters-widget-wrapper .wpc-filters-section-1153 .wpc-filter-header .widget-title.wpc-filter-title {
    width: fit-content !important;
    min-width: 100px !important;
    padding-top: 9px !important;
    padding-right: 10px !important;
}

/* Dropdown wyboru kategorii */
.wpc-filters-widget-wrapper .wpc-filters-section-1153 select.wpc-filters-widget-select {
    border-radius: 10px !important;
	margin-bottom: 0!important;
}
.wpc-horizontal-layout.wpc-filters-section:not(.wpc-filter-layout-submit-button),
.wpc-horizontal-layout.wpc-horizontal-cols-3 .wpc-filters-section:not(.wpc-filter-layout-submit-button) {
    max-width: none !important;
    margin-right: 0 !important;
}
/* tablety */
@media (max-width: 1000px) {
	/* Sekcja wyszukiwania */
.wpc-filters-widget-wrapper .wpc-filters-section-1150s {
    width: 40% !important;
}
}
/* Telefony (≤767px) */
@media (max-width: 767px) {
	/* Sekcja wyszukiwania */
.wpc-filters-widget-wrapper .wpc-filters-section-1150s {
    width: 100% !important;
}
}

