@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

:target {
  scroll-margin-top: 3rem;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
}

.default-template__content h1,
.default-template__content h2,
.default-template__content h3,
.default-template__content h4,
.default-template__content h5,
.default-template__content h6 {
  font-weight: 600;
  margin-block: 2rem 0.75rem;
}

.default-template__content h2 {
  font-size: 1.95rem;
}

.default-template__content h3 {
  font-size: 1.85rem;
}

.default-template__content h4 {
  font-size: 1.75rem;
}

.default-template__content h5 {
  font-size: 1.65rem;
}

.default-template__content h6 {
  font-size: 1.55rem;
}

.default-template__content {
  margin-block: clamp(2rem, 4vw, 4rem);
}

main:has(.default-template__content),
main:has(.single-post__content) {
  margin-top: 3rem;
}

.page-id-223 main,
.page-id-12169 main {
  margin-block: 0;
}

body:has(.contact-us) main > section:nth-last-child(1) {
  margin-bottom: 0;
}

#meritumBody {
  background-color: var(--clr-gray-300);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

#meritumBody main {
  flex: 1;
}

ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: var(--clr-green-700);
  transition: color 0.2s linear, background-color 0.2s linear;
}

svg,
path,
circle {
  transition: fill 0.2s linear, stroke 0.2s linear;
}

a:hover {
  cursor: pointer;
  color: var(--clr-purple-700);
}

section:not(.baner, .fp-baner, .page-baner, .cwginstock-subscribe-form) {
  margin-top: 5rem;
}

section:not(.baner, .fp-baner, .page-baner, .cwginstock-subscribe-form):last-of-type {
  margin-block: 5rem;
}

section:is(.about-chambers) {
  margin-top: 7rem;
}

address {
  font-style: normal;
}

p:has(img.aligncenter) {
  text-align: center;
}

p:has(img.alignright) {
  text-align: end;
}

.fw-normal {
  font-weight: 400;
}

.fw-medium {
  font-weight: 500;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

.btn,
.woocommerce-Button,
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: fit-content;
  width: 100%;
  color: var(--clr-black);
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.15em;
}

.woocommerce-Button,
.button,
.mailerlite-subscribe-submit {
  color: var(--clr-white);
  background-color: var(--clr-purple-700);
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.woocommerce-Button:hover,
.button:hover,
.mailerlite-subscribe-submit:hover {
  background-color: #5e4580;
}

.btn:hover {
  color: var(--clr-purple-700);
}

.btn::after {
  content: "";
  display: block;
  background-image: url("../img/arrows-right-purple.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  margin-left: 1rem;
}

.btn-white {
  color: var(--clr-white);
}

.btn-white::after {
  background-image: url("../img/btn-icon.svg");
}

.btn-border,
.btn-border-w,
.btn-border-p {
  padding: 0.75rem 1.5rem;
  border: 1px solid;
  border-radius: 8px;
}

.btn-border {
  border-color: var(--clr-black);
}

.btn-border-w {
  border-color: var(--clr-white);
}

.btn-border-p {
  border-color: var(--clr-purple-700);
}

.btn-border:hover,
.btn-border-w:hover,
.btn-border-p:hover,
.btn-border-b:hover {
  color: var(--clr-purple-700);
  border-color: var(--clr-purple-700);
  background-color: var(--clr-white);
}

.btn-border-w:hover::after {
  filter: invert(37%) sepia(22%) saturate(604%) hue-rotate(218deg)
    brightness(94%) contrast(94%);
}

.btn-green-bg {
  background-color: var(--clr-green-500);
  border-color: var(--clr-green-700);
}

.btn-green-bg:hover {
  color: var(--clr-white);
  background-color: var(--clr-green-700);
  border-color: var(--clr-green-700);
}

.btn-green-bg:hover:after {
  filter: brightness(0) invert(1);
}

.btn-purple-bg {
  word-spacing: 3px;
  background-color: var(--clr-purple-700);
}

.section-annotation {
  font-family: "Domine", serif;
  font-size: 0.8125rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 600;
  color: #333333;
}

#breadcrumbs a {
  color: var(--clr-black);
}

#breadcrumbs a:hover {
  color: var(--clr-purple-700);
}

.disabled {
  pointer-events: none;
}

p.out-of-stock {
  margin: 0;
}



/* HEADER */

.info-bar__header {
  position: relative;
  color: var(--clr-white);
  background-color: #2b2621;
  text-transform: uppercase;
  z-index: 2;
}

.info-bar__header p {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  padding-block: 0.25rem;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-bar__header p::before {
  content: "<";
  margin-right: 12px;
}

.info-bar__header p::after {
  content: ">";
  margin-left: 12px;
}

.info-bar__header p::before,
.info-bar__header p::after {
  display: block;
  font-size: 0.875rem;
  padding: 0;
  margin-bottom: 4px;
  width: 10px;
}

/* BANER SLIDER */

.baner-slide {
  height: calc(100vh - 100px);
}

.baner-slide {
  background: var(--baner-background);
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
}

.baner-slide__content {
  position: relative;
  color: var(--clr-white);
  height: 100%;
  padding-bottom: clamp(6.5rem, 20vw, 10.625rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 2rem;
  z-index: 1;
}

.baner-slide__content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  text-wrap: balance;
}

.baner-slide__content p {
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 500;
  text-wrap: balance;
  display: none;
}

.baner__slider .slick-dots {
  position: absolute;
  left: 50%;
  bottom: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.baner__slider .slick-dots li button {
  font-size: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--clr-dark-800);
  cursor: pointer;
}

.baner__slider .slick-dots li.slick-active button {
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
}

/* MOBILE MENU */

.right-header > .login-btn {
  display: none;
}

.burger-btn,
.shop-burger-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}

.burger-btn > svg,
.shop-burger-btn > svg {
  width: 42px;
  height: 42px;
}

.line {
  fill: none;
  stroke: white;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.header__wrapper .logo-mobile {
  display: inherit;
  z-index: 2;
}

/* SOLVE PROBLEMS */

.details-card__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}

.page-template-page-consultation .details-card__wrapper {
  align-items: center;
}

.details-card__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.before-title__bar::before {
  content: "";
  display: block;
  width: 175px;
  height: 11px;
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
}

.details-card__content p {
  font-size: 1.25rem;
}

.details-card__images {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.details-card__images {
  max-width: 370px;
  margin-inline: auto;
  width: 100%;
}

.single-person {
  filter: drop-shadow(-4px 8px 20px rgba(0, 0, 0, 0.1));
  display: flex;
  flex-direction: column;
}

.single-person__img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.details-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.single-person img,
.details-card__grid img,
.details-card__grid--full-image img {
  object-fit: cover;
  width: 100%;
}

.single-person img {
  display: block;
  max-height: 448px;
  height: 100%;
  aspect-ratio: 1/2;
}

.single-person__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  padding: 2.25rem 1.25rem;
  color: var(--clr-white);
  background-color: rgb(56, 87, 31, 0.85);
  transform: translateY(-104%);
  transition: transform 0.3s ease-in-out;
}

.single-person__img:hover .single-person__overlay {
  transform: translateY(0);
}

.single-person__overlay .overlay-title {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.single-person__overlay .overlay-content {
  font-size: 0.825rem;
  line-height: 1.75;
}

.details-card__grid img {
  max-height: 272px;
  height: 100%;
  border-radius: 8px;
}

.details-card__grid--full-image img {
  height: 100%;
  border-radius: 8px;
}

.person-content {
  font-size: 1.25rem;
  padding: 1.25rem 0.5rem;
  background-color: var(--clr-gray-400);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-left: 1px solid var(--clr-white);
  border-bottom: 1px solid var(--clr-white);
  border-right: 1px solid var(--clr-white);
  text-align: center;
}

.person-content .name {
  text-wrap: balance;
}

.person-content .specialization {
  color: var(--clr-gray-700);
}

.person-description {
  font-size: 0.825rem;
  margin: 2rem 0 0 0.75rem;
}

/* SERVICES MERITUM */

.services__wrapper .section-title {
  margin-block: 1rem 4rem;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(311px, 1fr));
  gap: 1.25rem;
}

.single-service {
  position: relative;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: var(--clr-gray-400);
  border-radius: 8px;
  border: 1px solid var(--clr-white);
  filter: drop-shadow(-4px 8px 20px rgba(58, 87, 41, 0.1));
  min-height: 266px;
}

.single-service > img {
  width: 24px;
  height: 24px;
}

.single-service a.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.service-title {
  font-size: 1.875rem;
  text-wrap: balance;
}

/* KNOWLAGE */

.knowlage .section-title {
  margin-block: 1rem 2rem;
}

.knowlage__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.knowlage__single-post {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: var(--clr-white);
  overflow: hidden;
}

.knowlage__post-category {
  position: absolute;
  top: 20px;
  left: 34px;
  max-width: fit-content;
}

.post-categories {
  margin-left: 17px;
  max-width: 200px;
}

.post-categories li {
  position: relative;
}

.category-name,
.post-categories li a {
  position: relative;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 100vw;
  z-index: 2;
  backdrop-filter: inherit;
  background-color: var(--clr-green-700);
}

.post-categories li a {
  color: var(--clr-white);
  background-color: var(--clr-green-700);
  text-align: center;
}

.post-categories li::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: -17px;
  background-color: var(--clr-green-300);
}

.knowlage__single-post .knowlage__post-category {
  color: var(--clr-white);
}

.knowlage__single-post .knowlage__post-category::after {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -16px;
  z-index: 1;
  background-color: #eaddc6;
}

.knowlage__post-image {
  position: relative;
}

.knowlage__post-image img {
  aspect-ratio: 3/2;
  object-fit: cover;
  height: 100%;
}

.knowlage__post-image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.knowlage__post-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
}

.knowlage__post-content > .btn {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  margin-top: auto;
  align-self: end;
}

.knowlage__post-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.knowlage__post-description {
  margin-bottom: 1rem;
}

/* SERVICES */

.holistic-support {
  position: relative;
  z-index: 1;
}

.holistic-support__header {
  margin-bottom: 4rem;
}

.holistic-support__header .section-title {
  margin-top: 1.5rem;
}

.holistic-support__services {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.single-support {
  display: grid;
  grid-template-columns: minmax(25px, auto) 1fr;
  gap: 1.875rem 0.75rem;
  background-color: var(--clr-gray-300);
  padding: 2rem;
  border: 1px solid var(--clr-white);
  border-radius: 8px;
  box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.1);
}

.single-support ul,
.woocommerce-product-details__short-description ul {
  list-style: disc;
  margin-left: 1.2rem;
  grid-column: span 2;
}

.single-support ul li,
.woocommerce-product-details__short-description ul li {
  margin-bottom: 0.5rem;
}

.single-support ul li:nth-child(-n + 4) {
  margin-right: 2rem;
}

.support-title {
  font-size: 1.875rem;
}

/* BIG TITLE GRADIENT BG */

.big-title__gradient-bg {
  position: relative;
  margin-top: -11.25rem;
  padding-block: 13.5rem 7.875rem;
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
  z-index: 0;
}

.big-title__gradient-bg .section-title {
  color: var(--clr-white);
  margin-bottom: 2rem;
}

/* CONSULTATION PAGE */

.details-card__accordions .section-annotation {
  margin-bottom: 0.5rem;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 12px;
  border-top: 1px solid var(--clr-gray-700);
  cursor: pointer;
}

.accordion-title {
  font-size: clamp(1.5rem, 4vw, 1.825rem);
  font-weight: 600;
}

.single-accordion .accordion-header img {
  transition: all 0.5s;
}

.accordion-open .accordion-header img {
  transform: rotate(180deg);
}

.accordion-content {
  position: relative;
  max-width: 950px;
  max-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: -1;
  overflow: hidden;
  transition: max-height 0.5s;
}

.accordion-content p:last-child {
  margin-bottom: 4rem;
}

.accordion-big-text {
  font-size: 1.25rem;
  letter-spacing: 0.6px;
}

.accordion-small-text {
  font-size: 0.825rem;
}

.accordion-big-text ul,
.accordion-small-text ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.accordion-big-text ul li,
.accordion-small-text ul li {
  margin-bottom: 1rem;
}

/* ABOUT CLINIC */

.text-gallery__header {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.text-gallery__header .section-title {
  font-size: clamp(2.25rem, 4.5vw, 2.625rem);
}

.text-gallery__header .section-title::before {
  margin-bottom: 2rem;
}

.text-gallery__content {
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.text-gallery__content p {
  margin-bottom: 0;
}

.text-gallery__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.text-gallery__gallery {
  margin-top: 4rem;
}

.text-gallery__gallery img {
  max-height: 477px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.text-gallery__gallery img:nth-child(n + 1) {
  grid-column: span 4;
  order: 1;
}

.text-gallery__gallery img:nth-child(n + 2) {
  grid-column: span 4;
  order: 4;
}

.text-gallery__gallery img:nth-child(n + 3) {
  grid-column: span 2;
  order: 2;
}

.text-gallery__gallery img:nth-child(n + 4) {
  grid-column: span 4;
  order: 5;
}

.text-gallery__gallery img:nth-child(n + 5) {
  grid-column: span 2;
  order: 3;
}

/* PEOPLE LIST */

.people-title {
  font-size: 1.825rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.people-list__wrapper {
  display: grid;
  gap: 2.5rem;
  max-width: 370px;
  margin-inline: auto;
}

/* KNOWLEDGE */

.post-filters {
  background-color: #9e9e9e;
  padding-block: 1.5rem;
  margin-top: 0;
}

.post-categories__filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-categories__filters a {
  color: var(--clr-black);
  font-size: 0.825rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.post-categories__filters a:hover {
  color: var(--clr-white);
}

.single-post__text-wrapper {
  display: grid;
  gap: 3rem;
}

.single-post__text h2,
.single-post__text h3,
.single-post__text h4,
.single-post__text h5 {
  font-size: 1.75rem;
  margin-block: 1.25em 0.5em;
  font-weight: 600;
}

.single-post__text h3 {
  font-size: 1.75rem;
}

.single-post__text h4 {
  font-size: 1.5rem;
}

.single-post__text h5 {
  font-size: 1.4rem;
}

.single-post__content .before-title__bar::before {
  margin-bottom: 1rem;
}

/* BOOK VISIT */

.book-visit .before-title__bar::before {
  margin-block: 4rem 2rem;
}

.book-visit .section-title {
  margin-bottom: 2rem;
}

.section-description {
  font-size: 1.25rem;
}

/* SINGLE POST */

.single-post__content .rank-math-breadcrumb,
.partnership__content .rank-math-breadcrumb,
.single-post__content .section-title,
.default-template__content .section-title {
  margin-bottom: 3rem;
}

.page-id-10 h1.section-title {
  margin-bottom: 2rem;
}

.default-template__content .rank-math-breadcrumb {
  margin-bottom: 1rem;
}

body:not(.page-id-11, .page-id-10, .page-id-12) .default-template__content ul:not(.wc-block-grid__products, .wc-block-components-totals-discount__coupon-list) {
  list-style: disc;
  padding: 1rem 0 1rem 3rem;
}

body:not(.page-id-11, .page-id-10) .default-template__content ol {
  list-style: auto;
  padding: 1rem 0 1rem 3rem;
}

body:not(.page-id-11, .page-id-10) .default-template__content ul li,
body:not(.page-id-11, .page-id-10) .default-template__content ol li {
  margin-bottom: 0.75rem;
}

.single-post__text {
  line-height: 1.65;
}

.breadcrumb_last {
  font-weight: 700;
}

.single-post__text ul {
  list-style: disc;
  padding-left: 2rem;
}

.single-post__text ol {
  list-style: auto;
  padding-left: 2rem;
}

.single-post__text li {
  margin-bottom: 1rem;
}

/* PARTNERSHIP */

.partnership__text {
  font-size: 1.1rem;
}

.partnership__content {
  margin-bottom: 2.5rem;
}

.partnership__wrapper .wpforms-container {
  width: 100%;
}

div.wpforms-container-full input[type="date"]:focus:invalid,
div.wpforms-container-full input[type="datetime"]:focus:invalid,
div.wpforms-container-full input[type="datetime-local"]:focus:invalid,
div.wpforms-container-full input[type="email"]:focus:invalid,
div.wpforms-container-full input[type="month"]:focus:invalid,
div.wpforms-container-full input[type="number"]:focus:invalid,
div.wpforms-container-full input[type="password"]:focus:invalid,
div.wpforms-container-full input[type="range"]:focus:invalid,
div.wpforms-container-full input[type="search"]:focus:invalid,
div.wpforms-container-full input[type="tel"]:focus:invalid,
div.wpforms-container-full input[type="text"]:focus:invalid,
div.wpforms-container-full input[type="time"]:focus:invalid,
div.wpforms-container-full input[type="url"]:focus:invalid,
div.wpforms-container-full input[type="week"]:focus:invalid,
div.wpforms-container-full select:focus:invalid,
div.wpforms-container-full textarea:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="date"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="datetime"]:focus:invalid,
.wp-core-ui
  div.wpforms-container-full
  input[type="datetime-local"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="email"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="month"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="number"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="password"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="range"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="search"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="tel"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="text"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="time"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="url"]:focus:invalid,
.wp-core-ui div.wpforms-container-full input[type="week"]:focus:invalid,
.wp-core-ui div.wpforms-container-full select:focus:invalid,
.wp-core-ui div.wpforms-container-full textarea:focus:invalid {
  border-color: var(--clr-green-500) !important;
  box-shadow: 0 0 0 1px var(--clr-green-500), 0px 1px 2px rgba(0, 0, 0, 0.15) !important;
}

div.wpforms-container-full .wpforms-form textarea {
  resize: none !important;
}

/* SHOP PAGE */

.ul.products {
  justify-items: inherit;
}

.featured-products__list > li,
.you-may-like__list > li,
.products > .product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.products > .product {
  align-items: inherit;
}

.products > .product {
  max-width: 100%;
}

.featured-products__list > li > a img,
.you-may-like__list > li > a img,
.products > .product > a img {
  margin-bottom: 1.5rem;
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.you-may-like__list > li > span.price,
.featured-products__list > li > span.price {
  margin-top: auto;
}

.you-may-like__list > li span.price:has(ins) del {
  text-decoration: line-through;
}

.product-title {
  font-size: 1.25rem;
  color: var(--clr-black);
}

.woocommerce-loop-product__title {
  font-size: 1.3125rem;
  color: var(--clr-black);
  margin-bottom: 1rem;
}

.you-may-like__description {
  font-size: 0.875rem;
}

.featured-products__list > li .add-to-cart,
.you-may-like__list > li .add-to-cart,
.product > .add_to_cart_button,
.product .product_type_easy_product_bundle {
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.product .onsale {
  display: none;
}

.product > .add_to_cart_button,
.product .product_type_simple,
.product .product_type_easy_product_bundle {
  margin-top: auto;
}

.featured-products__list > li .add-to-cart,
.you-may-like__list > li .add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.add-to-cart > a,
.add_to_cart_button,
.single_add_to_cart_button,
.product .product_type_simple,
.product > .product_type_woosb,
.product .product_type_easy_product_bundle {
  font-size: 0.825rem;
  font-weight: 600;
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--clr-green-500);
  color: var(--clr-white);
  border-radius: 8px;
  transition: background-color 0.3s;
  max-width: 100%;
}

.add-to-cart > a img,
.add_to_cart_button img,
.single_add_to_cart_button img {
  margin-right: 0.5rem;
  filter: invert(1);
}

.add-to-cart > a:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.product > .product_type_woosb:hover,
.product .product_type_easy_product_bundle:hover {
  color: var(--clr-white);
  background-color: var(--clr-green-700);
}

.add-to-cart .added_to_cart,
.added_to_cart {
  display: none;
}

.mailerlite-form-title,
.mailerlite-form-description,
.mailerlite-form .mailerlite-form-field label {
  display: none;
}

.mailerlite-form .mailerlite-form-field input {
  font-size: 1.25rem;
  color: var(--clr-dark-800);
  font-weight: 500;
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 2px solid var(--clr-dark-800);
  outline: 0;
  border-radius: 8px;
}

.mailerlite-form .mailerlite-form-field input:focus {
  border: 2px solid var(--clr-green-500);
  background-color: rgb(245, 255, 241);
  color: var(--clr-green-700);
}

.mailerlite-form-field {
  margin-bottom: 0;
}

.mailerlite-form-inputs {
  display: grid;
  grid-template-columns: auto 170px;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mailerlite-form-field {
  width: 100%;
}

.mailerlite-subscribe-submit {
  width: 100%;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
}

.mailerlite-form-response p {
  text-align: start;
}

.archive .price del {
  text-decoration: line-through;
}

.archive .products > .product > div:has(.payu-mini-installments-widget) {
  display: none;
}

.single-product .you-may-like {
  margin-top: 0;
  margin-block: 0 6rem !important;
}

/* NEWSLETTER */

.newsletter {
  margin-bottom: 0;
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
}

.newsletter__wrapper {
  display: flex;
  align-items: center;
  padding: 2rem;
  padding-inline: 0;
}

.newsletter__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--clr-white);
  max-width: 570px;
  width: 100%;
}

.newsletter__content .section-title {
  font-weight: 700;
}

.newsletter_resignation {
  font-size: 0.825rem;
  color: var(--clr-white);
  text-decoration: underline;
  transition: all 0.3s;
  max-width: fit-content;
}

/* CZTERY KOMNATY */

.method-advantages__wrapper {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.single__method-advantages {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  padding: 1.5rem;
  background-color: #f5f5ed;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
}

.single__method-advantages:nth-child(2) {
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--clr-green-500),
    var(--clr-green-700)
  );
  box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.5);
}

.single-method__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.single-method__heading svg {
  flex-shrink: 0;
}

.single__method-advantages h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-wrap: balance;
}

.single__method-advantages p {
  font-size: 1.125rem;
}

.single__method-advantages p:last-of-type {
  margin-bottom: 0;
}

.method-advantages .btn-classic {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-inline: auto;
}

/* Karty opinii — strona Cztery Komnaty */

.page-template-page-four-chambers .method-advantages__wrapper {
  align-items: stretch;
}

.page-template-page-four-chambers .single__method-advantages {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem 1.75rem;
}

.page-template-page-four-chambers .single__method-advantages::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0.18;
  pointer-events: none;
}

.page-template-page-four-chambers .single__method-advantages p:first-of-type {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.page-template-page-four-chambers .single__method-advantages p:last-of-type {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.75rem;
  border-top: 1px solid currentColor;
  opacity: 0.7;
}

/* CZAS I METODY DOSTAWY */

.single-info-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--clr-white);
  border: 2px solid var(--clr-green-700);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.single-info-block img {
  max-width: 250px;
}

.page-id-2812 .single-info-block img {
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
}

.single-info-block__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}


/* ARCHIVE PRODUCT */

.shop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  margin-block: 4rem 1rem;
}

.content-area {
  margin-top: 2rem;
}

.woocommerce-ordering select {
  font-size: 1rem;
  background-color: transparent;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

.woocommerce-pagination > .page-numbers,
.pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination {
  grid-column: 2/3;
}

.page-numbers .page-numbers,
.pagination .page-numbers:not(.next, .before) {
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--clr-white);
  background-color: var(--clr-green-300);
  padding: 0.75rem;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  transition: all 0.3s;
}

.page-numbers .page-numbers.current {
  background-color: var(--clr-green-500) !important;
}

.page-numbers .page-numbers:hover,
.pagination .page-numbers:not(.next, .before):hover {
  background-color: var(--clr-purple-700);
  cursor: pointer;
}

.pagination .page-numbers.current:not(.next, .before) {
  background-color: var(--clr-green-500);
}

.page-numbers .prev,
.page-numbers .next,
.pagination .prev,
.pagination .next {
  font-size: 1.15rem;
  padding-block: 0.1rem 0.4rem;
  width: 34px;
  height: 34px;
}

/* STRONA PRODUKTU v2 */

.product__payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  border: 1px solid var(--clr-gray-700);
  padding: 1.25rem;
  border-radius: 0.5rem;
}

.product__payment-icons img {
  height: 30px;
}

.single-product .product__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.single-product .details-card__accordions {
  grid-column: span 2;
}

.single-product .product__grid > .woocommerce-tabs,
.single-product .product__grid > .you-may-like {
  grid-column: span 2;
}

.single-product .you-may-like .container {
  max-width: unset;
}

.single-product .entry-summary .product_title {
  margin-block: 0.625rem 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  font-weight: 700;
}

.products .outofstock .out-of-stock,
p.out-of-stock,
.post-type-archive-product .out-of-stock {
  font-size: 0.9rem;
  font-weight: 600;
  order: 20;
  padding: 0.75rem 1.5rem;
  color: var(--clr-gray-700);
  background-color: #d3d3d3;
  border-radius: 8px;
  cursor: no-drop;
  width: 100%;
  margin-top: auto;
}

.entry-summary > .out-of-stock {
  text-align: center;
}

.post-type-archive-product .out-of-stock {
  font-size: 0.825rem;
  width: 100%;
  max-width: 100%;
}

.single-product .entry-summary .cart {
  display: flex;
  gap: 0.5rem;
  margin-block: 1.5rem;
}

.posted_in a {
  color: var(--clr-green-500);
}

.single-product .entry-summary .cart .quantity .ps-quantity {
  background-color: transparent;
  text-align: center;
  max-width: fit-content;
  padding: 0.5rem;
  border: 1px solid var(--clr-gray-700);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.single-product .entry-summary .cart .quantity input {
  background-color: transparent;
  text-align: center;
  font-size: 1.25rem;
  border: unset;
  width: 40px;
}

.single-product .entry-summary .cart .quantity .ps-btn {
  border: 0;
  background-color: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.single-product .description-details {
  margin-block: 0;
}

.description-details {
  grid-column: 1/3;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.description-details .description {
  max-width: 100%;
}

.description-details:has(.details__wrapper) .description {
  max-width: 800px;
}

.description-details h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.description-details h3 {
  margin-bottom: 1.25rem;
}

.description-details .description p:not(:last-child) {
  margin-bottom: 1rem;
}

.description-details .description p:has(+ hr) {
  margin: 0 !important;
}

.description-details .description ul {
  list-style: disc;
}

.description-details .description ol {
  list-style: auto;
}

.description-details .description ul,
.description-details .description ol {
  margin: 0 0 1.5em 1.5em;
}

.description-details .description ul li + li,
.description-details .description ol li + li {
  margin-top: 0.5rem;
}

.description-details .details__wrapper {
  max-width: 400px;
}

.description-details .details {
  list-style: disc;
  margin-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-notices-wrapper .woocommerce-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border: 2px solid var(--clr-green-700);
  border-radius: 8px;
  margin-top: 1rem;
}

.page-id-10 .woocommerce .woocommerce-notices-wrapper:nth-child(2) {
  display: none;
}

.woocommerce-notices-wrapper .woocommerce-message .button {
  background-color: var(--clr-green-500);
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover {
  color: var(--clr-white);
  background-color: var(--clr-purple-700);
}

.woosb-bundled {
  order: 6;
}

.woosb-products .woosb-product .woosb-title .stock.out-of-stock {
  background-color: transparent;
}

.product_meta .posted_in {
  font-size: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.product_meta .posted_in a {
  font-size: 1rem;
}

.entry-summary > .stock.in-stock {
  display: none;
}

.single-product .product-installments {
  display: block;
  margin-block: 1rem !important;
}

.single-product .product-installments a {
  color: var(--clr-green-500) !important;
}

.single-product .product-installments a:hover {
  text-decoration: none !important;
}

.asnp_easy_product_bundle {
  display: none;
}

.asnp-totalPrice-section {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
}

.asnp-totalPrice-section .asnp-savedPrice {
  grid-column: span 2 !important;
  max-width: fit-content !important;
  color: var(--clr-white) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  background-color: var(--clr-purple-700) !important;
}

.asnp-totalPrice-section .asnp-savedPrice span,
.asnp-totalPrice-section .asnp-savedPrice .woocommerce-Price-amount.amount {
  font-size: 1.25rem !important;
  color: var(--clr-white) !important;
}

.asnp-totalPrice-section .woocommerce-Price-amount.amount {
  color: inherit !important;
}

.asnp-totalPrice-section {
  font-size: 1.75rem !important;
}

.asnp-totalPrice-section s .woocommerce-Price-amount.amount {
  font-weight: 500;
}

.asnp-totalPrice-section s,
.asnp-totalPrice-section .asnp-savedPrice {
  margin-left: 0 !important;
}

.woocommerce div.product p.price,
.woocommerce ul.products li.product .price,
.feature-products .featured-products__list li span.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-green-500);
}

.woocommerce ul.products li.product .price,
.feature-products .featured-products__list li span.price {
  font-size: 1.25rem;
  text-decoration: none;
}

.woocommerce ul.products li.product del {
  font-weight: 500;
  color: var(--clr-gray-700);
}


/* PRODUCT GALLERY */

#wpgs-gallery.wcgs-woocommerce-product-gallery {
  max-width: 100% !important;
  margin: 0 !important;
}

.woocommerce-product-gallery__wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.woocommerce-product-gallery__wrapper div:nth-child(1) {
  grid-column: span 5;
}

.woocommerce-product-gallery__wrapper
  .woocommerce-product-gallery__image
  > a
  > .wp-post-image {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* KOSZYK */

.is-large.wc-block-cart {
  margin-block: 3rem;
}

.is-large.wc-block-cart .wc-block-components-sidebar {
  position: sticky;
  height: fit-content;
  top: 32px;
}

.is-large.wc-block-cart .wc-block-components-sidebar,
.is-medium.wc-block-cart .wc-block-components-sidebar,
.is-small.wc-block-cart .wc-block-components-sidebar,
.is-mobile.wc-block-cart .wc-block-components-sidebar,
.is-medium .wp-block-woocommerce-cart-order-summary-block,
.is-small .wp-block-woocommerce-cart-order-summary-block,
.is-mobile .wp-block-woocommerce-cart-order-summary-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--clr-white);
  padding: 1.5rem;
}

.is-medium .wc-block-cart__sidebar,
.is-large.wc-block-cart .wc-block-components-sidebar,
.is-small.wc-block-components-sidebar-layout .wc-block-components-sidebar,
.is-mobile.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  background: linear-gradient(
    180deg,
    var(--clr-green-500),
    var(--clr-green-700)
  );
  border-radius: 8px;
}

.is-medium .wc-block-cart__submit,
.is-small .wc-block-cart__submit,
.is-mobile .wc-block-cart__submit {
  margin-inline: 1.5rem;
}

.wc-block-cart .wc-block-cart__submit-container,
body:not(.woocommerce-block-theme-has-button-styles)
  .wc-block-components-button:not(.is-link) {
  background-color: var(--clr-purple-700);
  border-radius: 8px;
  transition: all 0.3s;
}

.wc-block-cart .wc-block-cart__submit-container:hover,
body:not(.woocommerce-block-theme-has-button-styles)
  .wc-block-components-button:not(.is-link):hover {
  background-color: #5e4580;
}

body:not(.woocommerce-block-theme-has-button-styles)
  .wc-block-components-button:not(.is-link) {
  color: var(--clr-white);
  border: 0;
  outline: 0;
  cursor: pointer;
}

body:not(.woocommerce-block-theme-has-button-styles)
  .wc-block-components-button:not(.is-link)[style="pointer-events: none;"] {
  color: var(--clr-gray-700);
  background-color: var(--clr-gray-400);
}

.wc-block-components-totals-shipping
  .wc-block-components-totals-shipping__change-address__link {
  color: var(--clr-white);
}

.wc-block-components-formatted-money-amount {
  font-weight: 500;
}

table.wc-block-cart-items
  .wc-block-cart-items__row
  .wc-block-components-product-name,
.wc-block-checkout__sidebar .wc-block-components-product-name {
  color: var(--clr-black);
  font-weight: 700;
}

.wc-block-components-totals-shipping .wc-block-components-shipping-address,
.wc-block-components-totals-item__description button:not(.wc-block-components-chip__remove) {
  display: none !important;
}

.woocommerce-cart
  .price:has(.is-discounted)
  .wc-block-components-product-price__regular {
  text-decoration: line-through;
}

.wc-block-components-totals-discount__coupon-list {
  margin-top: 0.75rem !important;
}

/* PODSUMOWANIE */

.woocommerce-checkout {
  display: grid;
}

.showcoupon {
  transition: all 0s;
  font-weight: 600;
}

.showcoupon:hover {
  color: var(--clr-green-500);
}

#coupon_code {
  padding: 0.5rem 1rem;
  border: 2px solid var(--clr-green-700);
  border-radius: 8px;
  color: var(--clr-green-700);
  font-weight: 600;
  transition: all 0.3s;
}

#coupon_code:focus-visible {
  background-color: rgba(135, 153, 92, 0.1);
}

.woocommerce-form-coupon .form-row {
  max-width: 250px;
}

.woocommerce-form-coupon .form-row > * {
  max-width: 100%;
  width: 100%;
  font-size: 1.15rem;
}

#customer_details .col-2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.col-2 #order_comments_field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.col-2 #order_comments_field textarea {
  width: 100%;
  min-height: 150px;
  resize: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--clr-green-700);
  border-radius: 8px;
  transition: all 0.3s;
}

.col-2 #order_comments_field textarea:focus-visible {
  outline: 0;
  border: 1px solid var(--clr-green-300);
  color: var(--clr-green-700);
  background-color: rgba(135, 153, 92, 0.1);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}

.woocommerce-shipping-fields__field-wrapper {
  margin-top: 2rem;
}

.woocommerce-billing-fields__field-wrapper p,
.woocommerce-shipping-fields__field-wrapper p {
  display: flex !important;
  flex-direction: column;
  margin: 0;
}

.woocommerce-billing-fields__field-wrapper p label,
.woocommerce-shipping-fields__field-wrapper p label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.woocommerce-billing-fields__field-wrapper p input,
.woocommerce-shipping-fields__field-wrapper p input,
.woocommerce-Input.woocommerce-Input--text,
.woocommerce-Input.woocommerce-Input--email,
.input-text {
  font-size: 1.1rem;
  width: 100%;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--clr-green-700);
  border-radius: 8px;
  transition: all 0.3s;
}

.woocommerce-billing-fields__field-wrapper p input:focus-visible,
.woocommerce-shipping-fields__field-wrapper p input:focus-visible {
  outline: 0;
  border: 1px solid var(--clr-green-300);
  color: var(--clr-green-700);
  background-color: rgba(135, 153, 92, 0.1);
}

.woocommerce-billing-fields__field-wrapper
  .order_country
  .woocommerce-input-wrapper
  .select2-selection--single {
  height: 36px;
  border: 1px solid var(--clr-green-700);
}

#select2-platnosc_kraj-container {
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
  padding-block: 0.15rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 5px !important;
}

.select2-container--default .select2-selection--single {
  border-color: #000;
  min-height: 35.46px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 35px;
}

#billing_first_name_field {
  order: -4;
}

#billing_last_name_field {
  order: -3;
}

#billing_phone_field {
  order: -2;
}

#billing_email_field {
  order: -1;
}

#order_review_heading,
.woocommerce-billing-fields h3 {
  font-size: 1.5rem;
  font-weight: 700;
  height: 60px;
}

#order_review_heading {
  margin-top: 2rem;
}

.woocommerce-checkout-review-order {
  color: var(--clr-white);
  background: linear-gradient(
    180deg,
    var(--clr-green-500),
    var(--clr-green-700)
  );
  padding: 2rem;
  border-radius: 8px;
  border: unset;
  height: fit-content;
}

.woocommerce-checkout-review-order .woocommerce-Price-amount > * {
  color: var(--clr-white);
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 2rem;
}

.woocommerce-checkout-review-order-table tr th {
  text-align: start;
}

.woocommerce-checkout-payment .place-order {
  margin-top: 1rem;
}

.woocommerce-checkout-payment .place-order .button {
  font-size: 1.25rem;
  max-width: 100%;
  width: 100%;
  padding: 0.75rem 1.5rem;
}

.easypack-parcel-machine-select {
  padding: 0 !important;
}

.easypack_show_geowidget {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.wc-block-components-product-metadata,
#billing_address_2_field {
  display: none !important;
}

.product-total,
.cart-subtotal td,
.order-total td,
.woocommerce-checkout-review-order-table tr th.product-total {
  text-align: right;
}

.order-total strong {
  font-size: 0px;
}

.Label {
  color: white !important;
}

.payment_method_bacs .payment_box p {
  color: var(--clr-black);
}

.learndash-wrapper
  .ld-item-list
  .ld-item-list-item
  .ld-item-details
  .ld-expand-button {
  margin-right: 1em;
}

.woocommerce-terms-and-conditions-wrapper a {
  color: var(--clr-purple-700);
}

.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:nth-of-type(n+2) {
  display: none;
}

.woocommerce-checkout .woocommerce-form-login-toggle {
  margin-block: 0.5rem;
}

/* MOJE KONTO */
.woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: 300px 300px;
  column-gap: 40px;
}

.woocommerce-EditAccountForm fieldset {
  grid-column: 1 / 3;
  margin-block: 40px;
}

.woocommerce-form-row--wide span:has {
  display: flex;
}

.woocommerce-EditAccountForm .clear {
  display: none;
}

.woocommerce-account main {
  margin-block: 4rem;
}

.logged-in main .woocommerce {
  display: grid;
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
}

.woocommerce-Addresses {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.woocommerce-address-fields__field-wrapper {
  display: grid;
}

.show-password-input {
  display: none !important;
}

/*#billing_address_2_field,
#shipping_address_2_field {
  display: none;
} */

.woocommerce-EditAccountForm input,
.woocommerce-address-fields__field-wrapper > p input {
  padding: 0.25rem 0.5rem;
}

.woocommerce-EditAccountForm label {
  margin-bottom: 0.5em;
}

.woocommerce-EditAccountForm > p,
.woocommerce-EditAccountForm > fieldset > p,
.woocommerce-address-fields__field-wrapper > p {
  display: flex;
  flex-direction: column;
  margin-block: 0.5rem;
}

.page-id-10 .woocommerce-Input--text,
.page-id-10 .woocommerce-Input--email {
  max-width: 300px;
}

.woocommerce-address-fields__field-wrapper > p {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-form-row--first:has(label[for="wcpay_selected_currency"]) {
  display: block !important;
  grid-column: 1 / 3;
}

.woocommerce-address-fields__field-wrapper > p input,
.select2-container {
  width: 100% !important;
}

.woocommerce:has(.woocommerce-form-login) h2 {
  font-size: 2rem;
  text-align: center;
  color: var(--clr-green-700);
  font-weight: 600;
  margin-bottom: 3rem;
}

.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 500px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 2.5rem;
  border: 4px solid var(--clr-green-500);
  border-radius: 8px;
}

.woocommerce-form-login p,
.woocommerce-form-register p {
  margin-bottom: 0;
}

.woocommerce-form-login p:nth-child(1),
.woocommerce-form-register > p:nth-child(1),
.woocommerce-form-login p:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-form-login p:nth-child(1) input,
.woocommerce-form-register > p:nth-child(1) input,
.woocommerce-form-login p:nth-child(2) input {
  color: var(--clr-green-500);
  font-size: 1.1rem;
  width: 100%;
  padding: 0.5rem;
  border: 2px solid var(--clr-green-500);
  border-radius: 8px;
  transition: all 0.3s;
}

.woocommerce-form-login p:nth-child(1) input:focus-visible,
.woocommerce-form-register > p:nth-child(1) input:focus-visible,
.woocommerce-form-login p:nth-child(2) input:focus-visible {
  color: var(--clr-green-300);
  border-color: var(--clr-green-300);
  outline: 0;
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  max-width: 100%;
  margin-top: 1rem;
}

.wc_payment_methods {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 20px;
  background-color: #fff;
  color: #000;
  border-radius: 8px;
}

.wc_payment_methods label {
  padding: 5px;
  border-radius: 8px;
  width: calc(100% - 35px);
  cursor: pointer;
}

.wc_payment_method {
  margin-bottom: 10px;
}

#add_payment_method #payment ul.payment_methods li img,
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce-checkout #payment ul.payment_methods li img {
  vertical-align: middle;
  margin: -2px 0 0 0.5em;
  padding: 0;
  position: relative;
  box-shadow: none;
}

#add_payment_method #payment ul.payment_methods li img,
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce-checkout #payment ul.payment_methods li img {
  display: inline-block;
}

.includes_tax .amount {
  font-size: 14px;
}

.woocommerce-checkout .wcpay-payment-request-wrapper {
  margin-top: 1rem !important;
}

.woocommerce-error {
  background-color: #6c0000;
  color: var(--clr-white);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.woocommerce-error * * {
  color: var(--clr-white);
}

.woocommerce-account #customer_login {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* PAGE 404 */

body.error404 main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-not-found__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.page-not-found__wrapper h2 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 700;
}

.page-not-found__wrapper .btn {
  color: var(--clr-white);
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: none;
}

.page-not-found__wrapper .btn::after {
  display: none;
}

.page-not-found__wrapper .btn:hover {
  background: var(--clr-purple-700);
}

/* RÓZNE STYLE */

.easypack-visible-point-header {
  background: #fcc905 !important;
}

#wcpay-express-checkout-button-separator {
  display: none !important;
}

.payment_box {
  color: var(--clr-black);
  background-color: var(--clr-gray-300);
  padding: 1rem;
}

.wc-block-grid__product {
  display: flex;
  flex-direction: column;
}

.wc-block-grid__products .wc-block-grid__product-image img {
  border-radius: 8px;
}

.wc-block-grid__product-title {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: var(--clr-black) !important;
}

.wc-block-grid__product-add-to-cart {
  width: 100%;
  margin: 0 !important;
  margin-top: auto !important;
}

.wc-block-grid__product-price {
  font-size: 1.4rem;
}

.dgwt-wcas-style-pirx.dgwt-wcas-search-filled
  .dgwt-wcas-sf-wrapp
  input[type="search"].dgwt-wcas-search-input {
  color: var(--clr-white);
}

.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path {
  fill: #fff;
}

.post-type-archive-product .product > div:not(.add-to-cart) {
  display: none;
}

/* LEARN DASH */

.course__wrapper {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ld-tab-content > p {
  margin-bottom: 1rem;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
  padding: 0 !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
  padding: 20px;
  align-items: center;
}

/* PAGE ID 16 */

.page-id-16 .single-post__banner {
  position: relative;
  min-height: 860px;
  background: left/cover no-repeat var(--single-post-baner-img);
  background-color: transparent;
  background-position: top;
}

/* NOWE STYLE */

.about-me__wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
}

.about-me__wrapper::before {
  content: "";
  display: block;
  width: min(250px, 100%);
  height: 16px;
  background-color: var(--clr-green-500);
  grid-column: 1/2;
  grid-row: 1/2;
}

.about-me__wrapper h2 {
  grid-column: 1/2;
  grid-row: 2/3;
}

.about-me__content {
  grid-column: 2/3;
  grid-row: 2/3;
}

.gallery__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery__wrapper > img {
  aspect-ratio: 3/5;
  object-fit: cover;
}

.about-chambers__wrapper > h2 {
  margin-bottom: 2rem;
}

.chambers-details__wrapper {
  display: flex;
  flex-direction: column;
}

.single-chamber {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  border-top: 6px solid var(--clr-green-500);
  padding-block: 2rem;
}


/* ======= CUSTOM ACF TABS – STYLING ======= */

/* Kontener (opcjonalnie, jeśli używasz grida na karcie produktu) */
.ma-acf-tabs {
  grid-column: span 2;
  margin-top: 0 !important;
}

/* --- DESKTOP: Taby --- */
.ma-acc-btn {
  display: none;
} /* ukryj nagłówki akordeonu na desktopie */

.ma-acf-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0 0 2rem;
  padding: 0;
  border-bottom: 1px solid #ccc;
}

.ma-acf-tabs__btn {
  background: none;
  border: 0;
  padding: 1rem 0;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
}
.ma-acf-tabs__btn:hover {
  color: #000;
}
.ma-acf-tabs__btn.is-active {
  color: #000;
}

/* underline aktywnej zakładki */
.ma-acf-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--clr-green-700);
  bottom: -1px;
  left: 0;
  border-radius: 2px;
}

/* Panele (widoczny tylko aktywny) */
.ma-acf-tabs__panel {
  display: none;
}
.ma-acf-tabs__panel.is-active {
  display: block;
}

/* Treść paneli – typografia */
/* Treść paneli – typografia */
.ma-acf-tabs__panel .entry-content > *:first-child {
  margin-top: 0 !important;
}

.ma-acf-tabs__panel .entry-content h2,
.ma-acf-tabs__panel .entry-content h3 {
  margin-block: 1.5em 0.5em;
}
.ma-acf-tabs__panel .entry-content ul {
  list-style: disc;
  margin: 0 0 1.5em 1.5em;
}
.ma-acf-tabs__panel .entry-content ul li + li {
  margin-top: 0.5rem;
}
.ma-acf-tabs__panel .entry-content p {
  margin-bottom: 1rem;
}

/* ============ MOBILE: Akordeon (jQuery slideToggle) ============ */
@media (max-width: 767px) {
  /* ukryj pasek tabów */
  .ma-acf-tabs__nav {
    display: none;
  }

  /* nagłówek akordeonu */
  .ma-acc-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    font-weight: 600;
    font-size: 16px;
    border-radius: 0.5rem;
  }
  .ma-acc-btn__icon {
    font-size: 20px;
    transition: transform 0.2s ease;
  }

  /* każdy panel istnieje (kontener) */
  .ma-acf-tabs__panel {
    display: block; /* nadpisuje desktopowe display:none */
    border-bottom: 1px solid #eee;
  }
  .ma-acf-tabs__panel + .ma-acf-tabs__panel {
    margin-top: 0.6rem;
  }

  /* treść akordeonu: na start schowana, pokazujemy jQuery slideToggle */
  .ma-acc-content {
    display: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1.5rem 1rem;
  }

  /* obrót ikony przy otwartym panelu */
  .ma-acf-tabs__panel.is-open-mobile .ma-acc-btn__icon {
    transform: rotate(45deg);
  }
}

.description-details,
.page-id-9714 .meritum-header .meritum-header .baner {
  display: none !important;
}