/*
Theme Name:     DstDesign Theme
Theme URI:      https://dstdesign.pl
Description:    High Quality Wordpress Theme
Author:         Grzegorz Gensty - Dst Design
Author URI:     
Template:       Divi
Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/* ::selection styles */
::selection {
	background: #000;
	color: #fff;
}
.et_pb_section_video_bg{
	opacity: .2;
	
}

/* Navbar styles */
.navbar-nav {
	display: flex !important;
	gap: 1rem;
	justify-content: flex-start;
}

.et-db #et-boc .et-l .navbar-nav > div {
	width: auto !important;
}
.et_pb_section.navbar-section.et_pb_sticky.et_pb_sticky--top {
	box-shadow: 0 0 40px rgba(0,0,0,0.1);
	border-bottom: 1px solid #e8e4df;
	background: #fff !important;
}


.navbar-nav::after {
	display: none;
}

.navbar-menu > div {
	margin-bottom: 0 !important;
}

.et-menu .menu-item-has-children > a:first-child::after {
	font-family: inherit;
	content: "+";
	font-weight: 400;
}

.navbar-menu .et_pb_menu .et-menu > li {
	padding: 0.7rem;
	background: transparent;
	border-radius: 5px;
	transition: background-image .2s linear;
	margin: 0 3px;
}

.navbar-menu .et_pb_menu .et-menu > li a {
	margin: 0;
	padding-bottom: 0 !important;
}

.navbar-menu .et_pb_menu .et-menu > li:hover, .navbar-menu .et_pb_menu .et-menu > li.current_page_item {
	background-color: #E7DFCF !important;	
}

.navbar-menu .et_pb_menu .et-menu > li.current_page_item a{
	color: #000;
}	
	
.et-menu a, .et-menu a:hover {
	-webkit-transition: none;
	transition: none;
}

.navbar-user {
  margin-left: auto;
  margin-right: 0 !important;
}

.navbar-menu {
  margin-left: auto;
  margin-right: auto;
}
.navbar-basket {
	margin-right: 0 !important;
}

.navbar-menu .et_pb_menu .et-menu > li a {
  font-weight: 500;
}

.navbar-simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-simple > div {
  margin: 0;
  padding: 0;
}


.padding-left-sizer > .et_pb_column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.padding-left-sizer {
	padding-left: calc((100vw - 1320px) / 2) !important;
}

.padding-right-sizer {
	padding-right: calc((100vw - 1320px) / 2) !important;
}

.hero-img {
	transform: translateY(-17px);
}



/* Footer styles */

.footer-wrapper {
  display: grid !important;
  grid-template: auto / 1fr auto auto auto auto;
  gap: 5rem;
}

.footer-wrapper::after {
  display: none;
}

.footer-wrapper > div {
  width: 100% !important;
  padding: 0;
  margin: 0 !important;
}

.footer-menu ul {
	display: flex !important;
	flex-direction: column;
	text-align: left;
	align-items: flex-start !important;
}

.footer-menu .et_pb_menu__wrap * {
	width: 100% !important;
	padding-left: 0 !important;
	  white-space: nowrap;
}

.footer-menu .et-menu.nav {
	margin: 0;
}


.et_pb_row {
	width: calc(100% - 60px);
}

/* Breadcrumb styles */
.breadcrumb {
	font-weight: 400;
}

.breadcrumb a {
	color: inherit;
}

.breadcrumb .separator {
	color: #ccc;
	margin: 0 2px;
}

/* News wrapper sidebar */
.news-wrapper.sidebar .et_pb_ajax_pagination_container {
	grid-template: auto / 1fr;
	gap: 1rem;
}

.news-wrapper.sidebar .et_pb_ajax_pagination_container article {
	margin-bottom: 0;
	box-shadow: none;
	background: #f0f0f1;
	padding: 1rem;
}

.news-wrapper.sidebar .et_pb_ajax_pagination_container article h2 {
	font-size: 19px;
}

.news-wrapper.gray .et_pb_ajax_pagination_container article {
	margin-bottom: 0;
	box-shadow: none;
	background: #f0f0f1;
	padding: 1rem;
}

/* Custom post content */
.custom-post-content, .custom-post-content .et_pb_section {
	margin: 0 !important;
	padding: 0 !important;
}

.custom-post-content .et_pb_section .et_pb_row {
	padding: 0;
	margin: 0;
}

.custom-post-header {
	margin-bottom: 10px !important;
}

/* Inline #21 | http://stw.dstdesign.pl/archiwa/138 */
.custom-post-header .et_pb_image_wrap {
	display: block;
	position: relative;
	overflow: hidden;
}

.custom-post-header .et_pb_image_wrap::before {
	padding-top: 54%;
	display: block;
	content: "";
}

.custom-post-header .et_pb_image_wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* News without image */
.news-without-img .et_pb_title_featured_container {
	display: none;
}


/* Form styles */
.form-container {
	display: grid;
	grid-template: auto / 1fr 1fr;
	gap: 2rem;
}

.form-container input {
	width: 100%;
	border-radius: 100px;
	margin-bottom: 1rem;
	border: 2px solid #cfb577;
	padding: 10px 20px;
	text-transform: none;
	font-size: 14px;
	color: #000;
	font-weight: 500;
}

.form-container textarea {
	width: 100%;
	border: 2px solid #cfb577;
	border-radius: 10px;
	font-size: 14px;
	padding: 10px;
	margin-bottom: 1rem;
	height: 167px;
	color: #000;
	font-weight: 500;
}

.form-privacy {
	grid-column: 1/3;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 400;
	padding-left: 1.2rem;
	margin-top: 0rem;
}

.form-privacy .wpcf7-form-control-wrap {
	display: block;
	float: left;
	position: absolute;
	left: -10px;
}

.form-container .form-submit input {
	background: #fff;
	width: fit-content;
	padding: 10px 50px;
	font-size: 18px;
}

/* Inline #18 | http://stw.dstdesign.pl/kontakt/ */
.wpcf7-not-valid-tip {
	font-size: 10px;
	text-transform: uppercase;
	margin-top: -1.5rem;
	padding-left: 20px;
	font-weight: 600;
	margin-bottom: -2rem;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900;
	border: 2px solid #cfb577;
	background: #cfb577;
	padding: 1rem;
	line-height: 1;
	font-size: 14px;
}

/* Artykul styles */
.artykul-info {
	display: flex;
	gap: 1rem;
}

.artykul-meta {
	display: flex;
	gap: 3rem;
}

.artykul-share {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-right: 2rem;
}

.artykul-share img {
	height: 14px;
	width: 15px;
	object-fit: contain;
}

.artykul-share a {
	line-height: 1;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title::before {
	transform: rotate(135deg);
	display: block;
	  font-size: 26px;
	  transform-origin: 15px 15px;
}

.et_pb_accordion_0 .et_pb_toggle_title::before {
	transition: all .2s linear;
}

/* Realizacje news wrapper */
.news-wrapper.realizacje .et_pb_ajax_pagination_container {
	display: grid;
	grid-template: auto / 1fr 1fr 1fr 1fr;
	gap: 2rem;
}

.news-wrapper.realizacje .entry-featured-image-url {
	display: block;
	position: relative;
	overflow: hidden;
}

.news-wrapper.realizacje .entry-featured-image-url::before {
	display: block;
	padding-top: 125%;
	content: "";
}

.news-wrapper.realizacje .entry-featured-image-url img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.news-wrapper.realizacje .et_pb_ajax_pagination_container article {
	margin: 0;
}

.news-wrapper .entry-featured-image-url {
	display: block;
	position: relative;
	overflow: hidden;
}

.news-wrapper .entry-featured-image-url::before {
	display: block;
	padding-top: 54%;
	content: "";
}

.news-wrapper .entry-featured-image-url img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Two-column form */
.two-column-form {
	display: grid;
	grid-template: auto / 1fr 1fr;
	gap: 2rem;
	row-gap: 0;
}

.wide-column {
	grid-column: 1/3;
}

.et_pb_contact {
	margin-bottom: .5rem;
}

.et_pb_contact input {
	height: 40px;
	  padding: 1.3rem 1rem;
	  font-size: 16px;
	  color: #000;
	  border-radius: 4px;
	  border: 1px solid #999999;
	  width: 100%;
}

.et_pb_contact label {
	font-size: 16px;
	font-weight: 600;
}

.et_pb_contact textarea {
	height: 195px;
	padding: 1rem;
	font-size: 14px;
	color: #000;
	border-radius: 4px;
	border: 1px solid #999999;
	width: 100%;
}

.checkbox-container {
	display: flex;
	gap: .5rem;
	font-size: 12px !important;
	font-weight: 400 !important;
	align-items: flex-start;
	line-height: 1;
	margin: .5rem 0 !important;
	margin-bottom: 1rem !important;
}

.checkbox-container br {
	display: none;
}

.checkbox-container input {
	width: auto;
	height: auto;
}

.wpcf7-submit.et_pb_button {
	width: auto;
}

.wpcf7-submit.et_pb_button:hover {
	background: #fff;
	color: #000 !important;
}

.wpcf7-not-valid-tip {
	font-size: 8px;
	margin-top: 0;
	margin-bottom: 0rem;
	position: absolute;
	bottom: -20px;
	top: auto;
	left: auto;
	line-height: 1;
	right: 0;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border: 2px solid #dc3232;
	background: #ffd9d9;
	margin: 0;
	margin-top: 1rem;
	color: #dc3232;
}

.wpcf7-not-valid {
	border-color: #dc3232 !important;
}

.right-column .wpcf7-not-valid-tip {
	bottom: 10px;
	right: auto;
	left: 10px;
}

.wpcf7-not-valid-tip {
	font-size: 10px;
	bottom: -6px;
	right: 3px;
	background: #dc3232;
	color: #fff;
	padding: 3px;
	border-radius: 3px;
}


.custom-posts-grid {
    display: grid;
    gap: 25px;
	grid-template: auto / 1fr 1fr 1fr;
}

.custom-post-item {
    gap: 1rem;
    display: grid;
	grid-template: auto 1fr / 1fr;
}

.custom-post-thumbnail {
    position: relative;
  display: block;
  overflow: hidden;
    height: auto;
}

.custom-post-thumbnail img {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: all .2s linear;
}

.custom-post-thumbnail::before {
  content: "";
  display: block;
  padding-top: 54%;
}

.custom-post-item:hover .custom-post-thumbnail img {
  transform: scale(1.1) rotate(3deg);
}






.custom-post-categories {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.custom-post-category {
    text-transform: uppercase;
    display: flex;
    padding: var(--spacing-xxs, 2px) 10px;
    align-items: center;
    border-radius: var(--radius-full, 9999px);
    border: 1px solid var(--Diet-Primary, #517C63);
    background: #DFFBED;
    line-height: 1;
    color: var(--Diet-Primary, #517C63);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.custom-post-content {
    padding: 15px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.custom-post-title {
    color: var(--Diet-Color-Header, #313131);
    font-family: var(--Diet-Font-Header, Lora);
    font-size: var(--Title-Large-Size, 22px);
    font-style: normal;
    font-weight: 600;
    line-height: 123.5%;
}

.custom-post-title a {
    text-decoration: none;
    color: #000;
	transition: color .2s linear;
}

.custom-post-item:hover .custom-post-title a {
  color: #e04e38;
}

.custom-post-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
    margin-bottom: 10px;
	margin-top: auto;
}

.custom-post-meta img {
    border-radius: 50%;
    margin-right: 10px;
}

.custom-post-excerpt {
	overflow: hidden;
	color: var(--Diet-Color-Text, #151515);
	text-overflow: ellipsis;
	font-family: var(--Diet-Font-Text, Sarabun);
	font-size: var(--Font-size-text-md, 16px);
	font-style: normal;
	font-weight: 400;
	line-height: 1; /* 150% */
    margin-bottom: 1.5rem;
}


.custom-post-author {
  color: var(--Diet-Primary, #517C63);
  font-family: var(--Diet-Font-Text, Sarabun);
  font-size: var(--Font-size-text-sm, 14px);
  font-style: normal;
  font-weight: 800;
  line-height: 1;

}

.custom-post-date {
  color: var(--colors-text-text-tertiary-600, #535862);
  font-family: var(--Diet-Font-Text, Sarabun);
  font-size: var(--Font-size-text-sm, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Line-height-text-sm, 20px);
}


.meta-right {
  display: flex;
  flex-direction: column;
}

.custom-column-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.img-cover img {
	object-fit: cover;
}


.custom-blurb img {
  border-radius: 0 !important;
}

.custom-blurb .et_pb_image_wrap.et_pb_only_image_mode_wrap {
  margin: 0 !important;
  padding: 14px !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.custom-blurb .et_pb_main_blurb_image {
  width: 70px !important;
  margin-bottom: 20px;
  height: 70px !important;
}

.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-content {
    display: flex;
    width: 100%;
}

.slide-text {
    flex: 1;
    padding: 20px;
    background-color: #f8f4ed;
}

.slide-text .read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.slide-image {
    flex: 1;
}

.slide-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-text h2 {
  color: var(--colors-text-text-primary-900, #181D27);
  font-family: var(--Diet-Font-Header, Lora);
  font-size: var(--Font-size-display-lg, 48px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--Line-height-display-lg, 60px);
  letter-spacing: -0.96px;
}

.slide-text {
  display: inline-flex;
  height: auto;
  padding: 4rem;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-7xl, 64px);
  flex-shrink: 0;
  flex-direction: column;
}

.slide-content {
  display: grid;
  grid-template: auto / 1fr 1fr;
}

.slide-image img {
  height: 100%;
}
/* Pasek kategorii i sortowania */
.posts-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.categories-filter a {
    text-decoration: none;
}

.sort-filter select {
    padding: 5px 10px;
    border: 1px solid;
    border-radius: 5px;
    background: inherit;
}

/* Wyróżniony wpis */
.featured-post {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-thumbnail img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.featured-excerpt {
    font-size: 16px;
    margin-bottom: 10px;
}

.featured-meta {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

/* Paginacja */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination span {
    margin: 0 5px;
    cursor: pointer;
}


/* style.css | https://dietologia.dstdesign.website/wp-content/themes/dstdesign-theme/style.css?ver=1.0.0 */

.featured-post {
  /* display: flex; */
  /* gap: 20px; */
  /* margin-bottom: 40px; */
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  grid-template: auto / 2fr 1fr;
  background: #F3F0E9;
}


.featured-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .2s linear;
}

.featured-thumbnail {
  display: block;
  overflow: hidden;
  position: relative;
}

.featured-thumbnail::before {
  content: "";
  display: block;
  padding-top: 40%;
}


.categories-filter a {
  display: flex;
  height: 44px;
  padding: var(--spacing-md, 8px) var(--spacing-lg, 12px);
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md, 8px);
  color: var(--Diet-Color-Header, #313131);
  font-family: var(--Diet-Font-Text, Sarabun);
  font-size: var(--Font-size-text-md, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: var(--Line-height-text-md, 24px);
}


.categories-filter {
  display: flex;
  align-items: center;
  gap: var(--spacing-md, 8px);
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--Diet-Fourth, #F3F0E9);
  background: #FFF;
}


.sort-filter select {
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--Diet-Fourth, #F3F0E9);
  background: var(--Colors-Background-bg-primary, #FFF);
  box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
  width: 200px;
}


.featured-excerpt {
  line-height: 1.4;
}

.custom-post-meta {
  margin-top: 1rem;
}

.featured-content {
  padding: 1rem 3rem;
}

.featured-title {
  font-size: 26px;
}


.categories-filter a.active {
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--Diet-Third, #E7DFCF);
  background: var(--Colors-Background-bg-primary_alt, #FFF);
  box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
}


.sort-filter select {
  width: 230px;
  color: var(--colors-text-text-primary-900, #181D27);
  font-family: var(--Font-family-font-family-body, Inter);
  font-size: var(--Font-size-text-md, 16px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--Line-height-text-md, 24px);
}

.sort-filter select {
  padding: 12px 10px;
}



.categories-filter {
  box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
}

.author-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    width: fit-content;
    margin: 2rem auto;
      margin-bottom: 2rem;
    margin-bottom: 1rem;
}

.author-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.author-avatar-wrapper .author-avatar {
    width: 100%;
    height: auto;
    border-radius: 50%;
}


.author-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
	
}

.author-name {
    font-weight: bold;
	line-height: 1;
}

.publish-date {
    font-size: 12px;
	line-height: 1;
}


.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
	border-radius: var(--radius-md, 8px);
	border: 1px solid var(--Diet-Fourth, #F3F0E9);
	background: var(--Component-colors-Components-Buttons-Secondary-button-secondary-bg, #FFF);
	box-shadow: 0px 0px 0px 1px var(--Colors-Effects-Shadows-shadow-skeumorphic-inner-border, rgba(10, 13, 18, 0.18)) inset, 0px -2px 0px 0px var(--Colors-Effects-Shadows-shadow-skeumorphic-inner, rgba(10, 13, 18, 0.05)) inset;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #f3f0e9;
    
}

.share-btn img.icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.custom-post-content .et_pb_row.et_pb_row_0 {
	width: 100% !important;
}


.product-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.category-button {
  border: 2px solid #000 !important;
  color: #000 !important;
  padding: 0.4rem 1rem !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  transition: all .2s linear;
}

.category-button:hover {
  background: #edf0e7;
}



.custom-product-wrapper {
  background: #FFF;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
}

.custom-product-grid .product > .price {
  display: none !important;
}

.product-wrapper-content {
  padding: 1.5rem 1rem;
}

.product-image-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
}

.product-image-wrapper::before {
  content: "";
  display: block;
  padding-top: 80%;
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-label {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: var(--Diet-Primary, #517C63);
  color: #FFF;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 3px 4px;
  border-radius: 3px;
  text-transform: uppercase;
}

.custom-product-grid .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))
}

.custom-product-grid .products::before {
  display: none !important;
}

.custom-product-grid .products::after {
  display: none !important;
}

.et-db #et-boc .et-l .et_pb_shop.custom-product-grid ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.custom-product-grid ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-product-grid .products {
  gap: 2rem;
}

.product-image-wrapper::before {
  padding-top: 100%;
}

.price-wrapper {
	font-size: 25px !important;
	font-weight: 600;
}


.discount-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--Diet-Button, #E04E38);
  z-index: 1;
  color: #FFF;
  font-family: var(--Diet-Font-Text, Sarabun);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  padding: 3px 2px;
  border-radius: 3px;
}


.price-wrapper .price {
  display: flex !important;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: flex-end;
    column-gap: 10px;
	margin-top: 1rem;
}

.iworks-omnibus {
  font-size: 12px;
  font-weight: 400;
    line-height: 1;
    text-align: left;
    padding-top: 7px;
}

.iworks-omnibus * {
  font-size: 12px;
}

.price-wrapper .price del {
  color: green !important;
  font-size: 12px !important;
}

.custom-product-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Zapewnia, że zawartość jest rozmieszczona */
    height: 100%; /* Wypełnia całą dostępną przestrzeń */
}

.product-wrapper-content {
    flex: 1; /* Zapewnia, że zawartość zajmuje równą przestrzeń */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-name {
    margin-bottom: 0; /* Ustawia nazwę na górze */
}

.price-wrapper {
    margin-top: 0; /* Umieszcza cenę na dole */
    text-align: center;
}




/* Karta produktu */

.product-card-price .price {
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: first baseline;
  padding-bottom: 0;
}


.et_pb_wc_add_to_cart form.cart .button, .et_pb_wc_add_to_cart form.cart div.quantity {
	float: none !important;
	display: block;
	vertical-align: middle;
}

.woocommerce-variation-add-to-cart {
	display: flex;
}



.wpcf7 form {
    display: flex;
    flex-direction: column;
}

.wpcf7-form label {
	color: var(--Diet-Color-Header, #313131);
	font-family: var(--Diet-Font-Text, Sarabun);
	font-size: var(--Font-size-text-sm, 14px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--Line-height-text-sm, 20px); /* 142.857% */
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
	display: flex;
	align-items: center;
	gap: var(--spacing-md, 8px);
	align-self: stretch;
	border-radius: var(--radius-md, 8px);
	border: 1px solid var(--Colors-Border-border-primary, #D5D7DA);
	background: var(--Colors-Background-bg-primary, #FFF);
	box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
	padding: 15px 14px;
	width: 100%;
	font-size: 18px;
    color: #000;
    font-weight: 500;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #666;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #E04E38;
}

.wpcf7-form textarea{
	height: 160px;
}

.wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wpcf7-form .privacy input {
}

.wpcf7-form .privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.wpcf7-form .privacy input {
    width: auto;
    margin-top: 4px;

    align-items: flex-start;
    align-self: flex-start;
}

.wpcf7-form [type="submit"] {
	display: flex;
	padding: 18px 20px;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-xs, 4px);
	align-self: stretch;
	border-radius: 3px;
	background: var(--Primary, #E04E38);
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
	border:0;
	box-shadow: 0px 0px 0px 1px var(--Colors-Effects-Shadows-shadow-skeumorphic-inner-border, rgba(10, 13, 18, 0.18)) inset, 0px -2px 0px 0px var(--Colors-Effects-Shadows-shadow-skeumorphic-inner, rgba(10, 13, 18, 0.05)) inset, 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
}

.wpcf7-form [type="submit"]:hover {
    background: #517C63;
}

.wpcf7 form br {
  display: none;
}


.et_pb_wc_images span.onsale {
	border-style: solid;
	padding: 4px 6px !important;
	line-height: 1 !important;
	text-transform: uppercase;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0px;
}



.ccp-wrapper {
  padding-bottom: 100px;
}

.ccp-summary button {
  background: #e04e38 !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  background: #e04e38 !important;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.ccp-wrapper .wc-block-components-form {
  font-size: 16px !important;
  line-height: 1.8;
}

.wc-block-components-address-card {
  background: #fff;
}


.wp-block-woocommerce-checkout-order-summary-block {
  border-radius: 10px;
  background: #f6f4ee;
  border-color: #E7DFCF;
}

.wc-block-checkout__terms {
  margin: 0 0 28px;
}

.wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
  padding-top: 28px;
}

.wc-block-checkout__form {
  background: #f3f0e9bf;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid #e7dfcf;
}

.wc-block-components-sidebar {
  margin-top: 0;
  padding-left: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
  padding-right: 2.528%;
}


.wc-block-components-button:not(.is-link) {
  border-radius: 5px;
  padding: 0 !important;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  background: #517c63 !important;
}

.wc-block-components-radio-control--highlight-checked, .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option {
  background: #fff;
}
.woocommerce-account form .form-row .input-text, .woocommerce-account form .form-row select{
	display: flex !important;
	  align-items: center !important;
	  gap: var(--spacing-md, 8px) !important;
	  align-self: stretch !important;
	  border-radius: var(--radius-md, 8px) !important;
	  border: 1px solid var(--Colors-Border-border-primary, #D5D7DA) !important;
	  background: var(--Colors-Background-bg-primary, #FFF) !important;
	  box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05)) !important;
	  padding: 15px 14px !important;
	  width: 100% !important;
	  font-size: 18px !important;
	  color: #000 !important;
	  font-weight: 500 !important;
}

.woocommerce-account .button {
	font-size: 16px !important;
	color: #fff !important;
}
.woocommerce-account .button::after {
	font-size: 16px !important;
}


.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions .button {
  font-size: 12px !important;
  color: #fff !important;
}


.woocommerce-button.button.pay {
  background: #517c63 !important;
}

.woocommerce-button.button.view {
  background: #edf0e7 !important;
  color: #000 !important;
}


.woocommerce-MyAccount-navigation-link {
  background: #fff;
  padding: 7px;
  border: 1px solid #eee;
  margin-bottom: 5px;
}

.woocommerce-MyAccount-navigation-link a {
  color: #000 !important;
  font-weight: 500;
}



.woocommerce-MyAccount-content {
  background: #f3f0e9;
  padding: 1rem;
  border: 0;
  border-radius: 3px;
}


.woocommerce-account form .form-row .input-text, .woocommerce-account form .form-row select {
  height: 48px;
}


.woocommerce form .form-row label {
  line-height: 1.5;
  font-weight: bold;
  font-size: 16px;
}




/* Inline #38 | https://dietologia.dstdesign.website/ */

.blurb-main-icon .et_pb_main_blurb_image {
  margin: ;
  margin-bottom: 15px;
  position: relative;
}

.blurb-main-icon .et_pb_main_blurb_image::before {
  content: "";
  background: #517c63;
  width: 30px;
  height: 30px;
  position: ;
  opacity: 0.36;
  border-radius: 100px;
  filter: blur(10px);
  left: 10px;
  top: 15px;
  z-index: -1;
  position: absolute;
}



/* STRONA LOGOWANIA-REJESTRACJI */

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  border: 0;
  padding: 0;
}

.woocommerce-privacy-policy-text {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 1rem;
  padding: 2px;
}

.woocommerce-form.woocommerce-form-register.register > p {
  font-size: 12px;
  padding: 2px;
}

#customer_login button {
  padding: 10px inherit;
  font-size: 18px !important;
  padding-top: 10px !important;
  padding-bottom: 10px;
  text-transform: uppercase;
}

#customer_login h2 {
  font-weight: 300;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-notices-wrapper .woocommerce-error li {
  color: #fff !important;
}
.contact-rule-helper {
	font-size: 12px;
	line-height: 1;
	margin-top: 18px;
}
.custom-policy-text ul, .custom-policy-text ol {
  list-style-position: outside;
  padding-left: 2rem; /* lub więcej jeśli trzeba mocniej odsunąć */
  margin-left: 0;
}

.custom-policy-text h3{
	margin-top: 30px;
	margin-bottom: 10px;
}

/* RWD */
@media (max-width: 1439px) {

}

@media (max-width: 1199px) and (min-width: 981px) {
	.navbar-brand img {
		width: 180px;
	}

	.hero-header h1 {
		font-size: 40px !important;
	}
	
	.navbar-menu .menu-item a {
		font-size: 16px !important;
	}

	.navbar-menu .menu-item {
		padding: 0 0.4rem !important;
	}

	.navbar-nav {
		gap: 1rem;
	}
	.custom-column-right {
		padding: 7rem 0 !important;
		margin-top: -1rem;
		margin-bottom: 2rem;
	}

	.main-offer-wrapper .img-cover {
	  height: 100% !important;
	}

	.main-offer-wrapper .img-cover * {
	  height: 100% !important;
	}

	.main-offer-wrapper .img-cover img {
	  object-fit: cover;
	}
	
}

@media (max-width: 980px) {


	/* Mobile menu styles */
	.opened .mobile_menu_bar::before {
		content: "\4d";
	}

	.et_mobile_menu .first-level > a {
		background-color: transparent;
		position: relative;
	}

	.et_mobile_menu .first-level > a:after {
		font-family: 'ETmodules';
		content: '\4c';
		font-weight: normal;
		position: absolute;
		font-size: 18px;
		top: 13px;
		right: 10px;
		transform: none;
		opacity: 1;
		border: 0;
		left: auto;
	}

	.et_mobile_menu .first-level > a:before {
		display: none !important;
	}

	.et_mobile_menu .first-level > .icon-switch:after {
		content: '\4d';
	}

	.second-level {
		display: none;
	}

	.reveal-items {
		display: block;
	}

	.et_mobile_menu .menu-item {
		border-top: 1px solid #eee;
	}

	.et_mobile_menu .first-level > a::after {
		bottom: auto;
		width: auto;
		height: auto;
	}

	/* Navbar styles */
	.navbar-nav {
		gap: 0rem;
	}

	.navbar-nav > div {
		margin: 0;
	}

	.navbar-menu {
		order: 4;
		margin-left: 0 !important;
	}
	
	.navbar-brand {
		margin-right: auto !important;
	}

	.et-db #et-boc .et-l .navbar-nav .et_pb_menu .et_mobile_menu {
		position: fixed;
		top: 72px;
		left: 0;
		height: 100vh;
		width: 100%;
		overflow: hidden;
		padding: 2rem;
		
	}

	.navbar-menu.et_pb_column .et_pb_module {
		margin-bottom: 0px;
	}

	.navbar-menu .menu-item a:hover::after {
		transform: none;
	}

	.navbar-contact {
		margin-left: 1rem !important;
	}

	.navbar-contact .et_pb_social_media_follow li {
		margin-bottom: 0;
	}

	.navbar-menu {
		margin-left: auto auto !important;
	}

	.navbar-menu .et_pb_module .mobile_menu_bar::before {
		top: 0px;
	}

	.navbar-menu .sub-menu {
		padding: 0 !important;
	}

	.navbar-menu .sub-menu li {
		margin: 0;
		border: 0 !important;
	}

	.navbar-menu .sub-menu a {
		border: 0 !important;
		padding-left: 2rem !important;
		font-size: 14px !important;
	}

	/* Hero section styles */
	.hero-row {
		display: grid;
		grid-template: auto / 1fr 1fr;
	}



	/* CTA styles */
	.cta-wrapper {
		display: flex;
		gap: 4rem;
	}

	.cta-wrapper .et_pb_column {
		margin-bottom: 0;
	}

	/* News wrapper styles */
	.news-wrapper .et_pb_ajax_pagination_container {
		grid-template: auto / 1fr 1fr;
		gap: 2rem;
	}

	.news-wrapper .et_pb_ajax_pagination_container article:first-child {
		grid-column: 1/3;
		margin-bottom: 1rem;
	}

	.news-wrapper .et_pb_ajax_pagination_container {
		gap: 1rem;
	}

	.news-wrapper .et_pb_ajax_pagination_container article h2 {
		font-size: 20px;
	}

	.news-wrapper.realizacje .et_pb_ajax_pagination_container {
		grid-template: auto / 1fr 1fr 1fr;
		gap: 1rem;
	}

	.news-wrapper.realizacje .et_pb_ajax_pagination_container article:first-child {
		grid-column: initial;
	}

	/* Footer styles */
	.et-db #et-boc .et-l .footer-menu .et_pb_menu__menu {
		display: block;
	}

	.et-db #et-boc .et-l .footer-menu .et_mobile_nav_menu {
		display: none;
	}

	body .et_pb_button {
		font-size: 16px !important;
	}

	/* Breadcrumb styles */
	.breadcrumb {
		line-height: 1.4;
		font-size: 10px;
		padding: 5px 0;
	}

	/* Gallery styles */
	.gallery-wrapper {
		grid-template: auto / 1fr 1fr;
		gap: 1rem;
	}

	.main-gallery-wrapper {
		display: flex;
		gap: 1rem;
	}

	.main-gallery-wrapper::after {
		display: none;
	}

	/* Contact styles */
	.contact-map iframe {
		width: 100% !important;
		height: 400px;
	}

	.contact-form-left {
		display: none !important;
	}

	/* Padding adjustments */
	.padding-right-sizer {
		padding-right: 20px !important;
	}

	.padding-left-sizer {
		padding-left: 20px !important;
	}

	.padding-right-sizer.hero-row {
		padding-right: 0 !important;
	}

	/* Offer wrapper styles */
	.offer-wrapper {
		display: grid;
		grid-template: auto / 1fr 1fr;
		gap: 1rem;
		row-gap: 3rem;
	}

	.offer-wrapper > div {
		width: 100% !important;
		margin: 0 !important;
	}

	.offer-wrapper::after {
		display: none;
	}

	.offer-wrapper.icon {
		row-gap: 0rem;
	}
	.navbar-contact .icon {
		background-color: #f9eee6 !important;
	}


	.footer-wrapper {
	  grid-template: auto / 1fr 1fr 1fr;
	  gap: 3rem;
	}
	.footer-wrapper > div:first-child {
	  grid-column: 1/5;
	  grid-row: 2;
	}
	.block-item.reverse {
		flex-direction: column-reverse;
		display: flex;
	}


	.block-item .et_pb_image_wrap {
	  display: block;
	  position: relative;
	  overflow: hidden;
	}

	.block-item .et_pb_image_wrap::before {
	  content: "";
	  display: block;
	  padding-top: 100%;
	}


	.block-item .et_pb_image_wrap img {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	}


	.gallery-wrapper > div {
	  grid-template: auto / 1fr 1fr;
	  gap: 1rem;
	}
	
	
	
	


	.slide-text {
	  padding: 2rem;
	}

	.slide-text h2 {
	  font-size: 22px;
	  line-height: 1.3;
	}

	.slide-text .read-more {
	  font-size: 14px;
	}

	.footer-simple-menu .et_pb_menu__menu {
	  display: block;
	}

	.footer-simple-menu .et_mobile_nav_menu {
	  display: none;
	}
	
	
	
}

@media (max-width: 767px) {
	
	
	/* Button styles */
	body .et_pb_button {
		font-size: 14px !important;
	}

	/* Navbar styles */


	.navbar-nav .et_pb_column {
		margin-bottom: 0 !important;
	}

	.navbar-contact .et_pb_main_blurb_image {
		display: none !important;
	}

	.navbar-contact .et_pb_blurb_container {
		padding-left: 0 !important;
	}

	.navbar-menu .et_mobile_menu {
		top: 86px;
	}

	/* Row and container styles */
	.et-db #et-boc .et-l .et_pb_row {
		width: 90%;
	}

	/* News wrapper styles */
	.news-wrapper .et_pb_ajax_pagination_container {
		grid-template: auto / 1fr;
		gap: 0rem;
	}

	.news-wrapper .et_pb_ajax_pagination_container article {
		margin-bottom: 0;
		padding: 0rem;
	}

	.news-wrapper .et_pb_ajax_pagination_container article h2 {
		font-size: 18px;
	}

	.news-wrapper .et_pb_ajax_pagination_container article:first-child {
		grid-column: 1;
		margin-bottom: 0rem;
	}

	.news-wrapper .entry-title {
		margin-bottom: 1rem;
	}

	.news-wrapper.realizacje .et_pb_ajax_pagination_container {
		grid-template: auto / 1fr 1fr;
		gap: 1rem;
	}

	/* Form styles */
	.form-container {
		grid-template: auto / 1fr;
		gap: 1rem;
	}

	.form-privacy {
		grid-column: 1/2;
		padding-left: 0;
	}

	.form-container .form-submit input {
		width: 100%;
		margin: 0;
	}

	.wpcf7-form-control-wrap:last-child input {
		margin: 0;
	}

	/* Image styles */
	.img-w100 * {
		width: 100% !important;
	}

	.img-w100 img {
		height: 470px;
		object-fit: cover;
		border-radius: 5px;
	}

	/* Review styles */
	.review-slide {
		padding: 1.5rem;
	}

	.review-content {
		font-size: 12px;
	}

	.review-author {
		font-size: 14px;
	}

	/* Swiper styles */
	.swiper-button-disabled {
		opacity: 0 !important;
	}

	.swiper-button-next::after, .swiper-button-prev::after {
		font-size: 22px;
	}

	.swiper-container {
		padding: 0;
		padding-bottom: 1rem;
	}

	.swiper-pagination {
		text-align: center;
	}

	.swiper-pagination-bullet {
		height: 11px;
		width: 11px;
		opacity: 1;
		background: #ccc;
	}

	.swiper-pagination-bullet-active {
		opacity: 1;
		background: #000 !important;
	}

	/* CTA styles */
	.cta-wrapper {
		gap: 1rem;
		margin: 0 !important;
		overflow: hidden;
		flex-direction: row-reverse;
		width: 100% !important;
	}

	.cta-wrapper > div:first-child .et_pb_image img {
		transform: scale(1.4);
		transform-origin: left;
	}

	/* Artykul styles */
	.artykul-info {
		gap: 0rem;
		flex-direction: column;
	}

	.artykul-meta {
		gap: 1rem;
	}

	/* Offer wrapper styles */
	.offer-wrapper-top .et_pb_column {
		margin-bottom: 0 !important;
	}

	/* Breadcrumb styles */
	.breadcrumb {
		font-size: 10px !important;
		letter-spacing: 0 !important;
	}

	.breadcrumb a {
		font-size: 10px !important;
		letter-spacing: 0 !important;
	}

	/* Two-column form styles */
	.two-column-form {
		grid-template: auto / 1fr;
	}

	.wide-column {
		grid-column: 1;
	}

	/* Contact form styles */
	.et_pb_contact label {
		font-size: 14px;
	}

	.et_pb_contact textarea {
		height: 125px;
	}

	/* Validation tips */
	.right-column .wpcf7-not-valid-tip {
		right: 3px;
		left: auto;
	}

	.wpcf7-not-valid-tip {
		font-size: 9px;
	}

	.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
		font-size: 12px;
	}
	
	
	  .offer-wrapper > div {
	    margin: 0 !important;
	  }
	  .footer-wrapper {
	    grid-template: auto / 1fr 1fr;
	  }
	  .footer-wrapper > div:first-child {
	    grid-row: 3;
	  }
	
	.et_pb_column_1_tb_footer {
	  grid-column: 1/2;
	}

	.et_pb_column_2_tb_footer {
	  grid-column: 2/3;
	}

	.et_pb_column_3_tb_footer {
	  grid-column: 1/2;
	  grid-row: 2;
	}

	.et_pb_gutters1 .et_pb_column.navbar-menu {
		margin-left: auto !important;
	}
	
	  .cta-wrapper {
	    flex-direction: column-reverse;
	  
	}
	
	
	.custom-posts-grid {
	  grid-template: auto / 1fr;
	}

	.custom-post-meta {
	  padding-top: 0.5rem;
	}

	.custom-post-title {
	  font-size: var(--Title-Large-Size, 18px);
	}

	.custom-post-excerpt {
	  font-size: var(--Font-size-text-md, 14px);
	}

	  .footer-wrapper {
	    grid-template: auto / 1fr;
	  }
	  .et_pb_column_2_tb_footer {
	    grid-column: 1;
	  }
	  .footer-wrapper > div:first-child {
	    grid-row: 4;
	  
	}

	  .footer-wrapper > div:first-child {
	    grid-column: 1;
	  }
	

	  .custom-blurb .et_pb_main_blurb_image {
	    width: 50px !important;
	    margin-bottom: 10px;
	    height: 50px !important;
	  }

	  .slide-text {
	    padding: 1rem;
	  }

	  .slide-text h2 {
	    font-size: 18px;
	    line-height: 1.3;
	  }

	  .slide-text .read-more {
	    font-size: 14px;
	  }
	
	
	
	  .categories-filter a {
	    font-size: var(--Font-size-text-md, 13px);
	    white-space: nowrap;
	  }

	  .categories-filter {
	    max-width: 100%;
	    overflow-x: scroll;
	  }

	  .posts-filters {
	    flex-direction: column;
	    gap: 0.6rem;
	  }

	  .sort-filter select {
	    width: 100%;
	    font-size: var(--Font-size-text-md, 13px);
	  }

	  .sort-filter select {
	    padding: 9px 10px;
	  }

	  .featured-content {
	    padding: 1rem 1rem;
	  }

	  .featured-post {
	    grid-template: auto / 1fr;
	  }

	  .featured-title {
	    font-size: 20px;
	  }

	  .custom-post-meta {
	    margin-top: 0rem;
	  }


	  .sort-filter {
	    width: 100%;
	  }
	
	  .custom-post-content .et_pb_row.et_pb_row_0 {
	  	width: 100% !important;
		padding: 0;
	  }
	  
	  


	  .product-categories {
	    gap: 0.5rem;
	  }

	  .category-button {
	    padding: 0.5rem 0.5rem !important;
	    font-size: 14px !important;
	    line-height: 1;
	  }

	  .custom-product-grid .products {
	    grid-template: auto / 1fr 1fr;
	  }

	  .custom-product-grid .products {
	    gap: 1rem;
	  }
	  


	  .wpcf7-form label {
	    font-size: var(--Font-size-text-sm, 12px);
	  }

	  .wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
	    padding: 10px 14px;
	    font-size: 16px;
	  }

	  .wpcf7-form [type="submit"] {
	    padding: 14px 20px;
	    font-size: 16px;
	  }
	  
	  
	  
}


