:root {
  --clr-white: #fff;
  --clr-black: #000;
  --clr-gray-300: #eaeae5;
  --clr-gray-400: #eaeae3;
  --clr-gray-700: #9e9e9e;
  --clr-green-300: #87995c;
  --clr-green-500: #38571f;
  --clr-green-700: #213b00;
  --clr-beige-5000: #eaddc6;
  --clr-beige-500: #CFC6B7;
  --clr-purple-700: #8a73a8;
  --clr-dark-800: #2b2621;
}


.iframe-container {
  position: relative;
  padding-bottom: 56.25% !important;
  padding-top: 30px !important;
  height: 0 !important;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.py-2 {
  padding-block: 0.5rem !important;
}

.py-3 {
  padding-block: 1rem !important;
}

.py-4 {
  padding-block: 1.5rem !important;
}

.py-5 {
  padding-block: 3rem !important;
}

.my-2 {
  margin-block: 0.5rem !important;
}

.my-3 {
  margin-block: 1rem !important;
}

.my-4 {
  margin-block: 1.5rem !important;
}

.my-5 {
  margin-block: 3rem !important;
}

.mx-auto {
  margin-inline: auto !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.column-gap-4 {
  column-gap: 1.5rem !important;
}

.row-gap-5 {
  row-gap: 3rem !important;
}

.justify-self-center {
  justify-self: center !important;
}

.d-none {
  display: none !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between !important;
}

.p-4 {
  padding: 1.5rem !important;
}

@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }

  .justify-content-sm-center {
    justify-content: center !important;
  }
}

@media (min-width: 768px) {
  .text-md-start {
    text-align: left !important;
  }

  .flex-md-row {
    flex-direction: row !important;
  }

  .align-items-md-center {
    align-items: center !important;
  }

  .justify-content-md-start {
    justify-content: start !important;
  }

  .justify-content-md-between {
    justify-content: space-between !important;
  }

  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .align-items-lg-start {
    align-items: start !important;
  }
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl,
.archive-header:has(.woocommerce-ordering) {
  width: 100%;
  max-width: min(1360px, 100% - 2rem);
  margin-inline: auto;
}

.btn-classic,
.product .cwgstock_button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--clr-green-700);
  color: #fff;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out !important;
}

.btn-classic::after {
  margin-left: 0;
  filter: brightness(0) invert(1);
}

.product .cwgstock_button {
  font-size: 0.9rem;
  font-weight: bold;
}

.btn-classic:hover,
.product .cwgstock_button:hover {
  color: #fff;
  background-color: var(--clr-green-500);
}

/* Klasy Michałowe */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.2;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.h1,
h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 2.5rem;
  }
}
.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2rem;
  }
}
.h3,
h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 1.75rem;
  }
}
.h4,
h4 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.5rem;
  }
}
.h5,
h5 {
  font-size: 1.25rem;
}
.h6,
h6 {
  font-size: 1rem;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.d-grid {
  display: grid !important;
}

.section-gap {
  gap: 2.5rem;
}

.align-items-center {
  align-items: center;
}

.rounded-2 {
  border-radius: 0.5rem !important;
}

@media (min-width: 768px) {
  .grid-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .grid-lg-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .grid-xxl-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.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;
}

body:not(.page-id-11) .default-template__content {
  margin-block: 7rem 2rem;
}

.page-id-223 main {
  margin-block: 0;
}

.video-container {
  max-width: 100%;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.styled-list li {
  position: relative;
  padding-left: 32px;
  line-height: 2.2em;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 19px;
  height: 16px;
  background-image: url("../img/check.svg");
  background-size: cover;
  transform: translateY(-50%);
}

body.single-product .site-main {
  margin-top: 7rem;
}

@media(min-width: 992px) {
  body.single-product .site-main {
    margin-top: 9rem !important;
  }
}

/* HEADER */

.meritum-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

body:not(.single-product, .single-post, .single-media, .page-id-3, .page-id-9, .page-id-10, .page-id-11, .page-id-205, .page-id-2812, .page-id-2816, .page-id-5988, .page-id-21501, .page-id-21495, .page-id-21493, .page-id-21499, .page-id-21497, .page-id-21503, .error404) .header-nav {
  background-color: transparent;
  transition: all 0.3s
}

body:is(.single-product, .single-post, .single-media, .page-id-3, .page-id-9, .page-id-10, .page-id-11, .page-id-205, .page-id-2812, .page-id-2816, .page-id-5988, .page-id-21501, .page-id-21495, .page-id-21493, .page-id-21499, .page-id-21497, .page-id-21503, .error404) .header-nav {
  background-color: var(--clr-green-700);
}

.main-header-nav:has(li:hover > .sub-menu) {
  background-color: var(--clr-green-700);
}

.meritum-header.is-scrolled .header-nav {
  background-color: var(--clr-green-700);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.header__wrapper {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clr-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header__wrapper .logo {
  max-width: 250px;
}

.header__wrapper a {
  font-size: 0.925rem;
  color: var(--clr-white);
}

.right-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-wrapper {
  position: relative;
}

.cart-wrapper img {
  width: 36px;
  height: auto;
}

.header__cart-quantity {
  position: absolute;
  top: -8px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--clr-purple-700);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BANER */

.page-baner {
  color: #fff;
  background: top/cover no-repeat var(--desktop-banner-img) rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  height: 72dvh;
}

.blog .page-baner {
  background-position: top;
}

.page-id-225 .page-baner {
  background-position: right 0% bottom 75%;
}

.page-baner .container {
  height: 100%;
}

.page-baner__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
  padding-bottom: 1rem;
}

.page-baner__content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-baner__content p {
  font-size: 1.125rem;
}

/* Hero/baner jako slider */

.baner.single-post__banner,
.baner.single-post__banner .swiper-slide {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 55vh, 700px);
  background-image: var(--single-post-baner-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
}

@media (max-width: 767px) {
  .baner.single-post__banner,
  .baner.single-post__banner .swiper-slide {
    background-image: var(--mobile-single-post-baner-img);
  }
}

.baner__wrapper {
  position: relative;
  z-index: 2;
}

.baner.single-post__banner .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.baner-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: #fff;
}

#heroSwiper .swiper-button-prev,
#heroSwiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

#heroSwiper .swiper-button-prev::after,
#heroSwiper .swiper-button-next::after {
  font-size: 16px;
}

#heroSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

#heroSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.home #heroSwiper,
.home #heroSwiper .swiper-slide {
  position: relative;
  min-height: 100svh;
  background: center/cover no-repeat var(--single-post-baner-img);
  background-color: transparent;
  background-position: center;
}

.home #heroSwiper .swiper-slide[aria-label="1 / 3"] {
  background-position: top center !important;
}

.swiper-pagination-bullet-active {
  background: #eee !important;
}

/* FRONT PAGE */

.baner__wrapper {
  position: relative;
}

.baner-content {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  max-width: 600px;
  color: #fff;
}

.baner-content h1,
.baner-content .hero-title {
  font-weight: 600;
  border-bottom: 1px solid #fff;
  padding-block: 0.5rem;
  margin-bottom: 1rem;
}

.baner-content p {
  font-weight: 500;
}

.baner-content a {
  color: #fff;
  margin: 0.5rem 0 0 auto;
}

.instagram-posts__wrapper {
  background-color: var(--clr-beige-500);
  padding-block: 3rem;
}

.instagram-posts__wrapper h2 {
  font-weight: 600;
}

.single-ig-post img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.instagram-posts__wrapper .btn-classic {
  margin-inline: auto;
  margin-top: 1.5rem;
}

/* ====== Sekcja: Aktualności ====== */

.home-news__list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.news-card__thumb {
  display: block;
}

.home-news__img {
  object-fit: cover;
  aspect-ratio: 16/9;
}

.news-card__body .btn-classic {
  margin-top: auto;
  margin-left: auto;
  color: #fff;
}

.news-card__body .btn-classic:hover {
  color: #fff;
}

.news-card__title {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  margin: 0;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__excerpt {
  margin: 0 0 6px 0;
  color: #2b2b2b;
  opacity: 0.9;
}

.btn-minimal {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.625rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
}

/* STRONA SKLEPU */

ul.products,
ul.you-may-like__list {
  display: grid;
  gap: 2rem 1.5rem;
}

.woocommerce-shop .baner {
  background-blend-mode: overlay;
  height: 72dvh;
}

.woocommerce-shop .baner .baner__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
  padding-bottom: 1rem;
  height: 100%;
}

/* STRONA KATEGORII */

.tax-product_cat .woocommerce-no-products-found {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-block: 1rem;
}

.tax-product_cat .no-products-cta {
  margin-bottom: 2rem;
  margin-inline: auto;
  max-width: fit-content;
}


/* KARTA PRODUKTU */

.cwginstock-subscribe-form {
  margin-top: 2rem;
}

.cwginstock-subscribe-form .panel-primary>.panel-heading {
  background-color: var(--clr-green-700) !important;
}

.cwginstock-panel-body input[type=email] {
  margin-top: 8px !important;
  font-size: 1.1rem !important;
  padding: 0.25rem 0.5rem !important;
}


/* MOJE KONTO */

.woocommerce-account.logged-in .default-template__content {
  max-width: none;
}

.page-id-11.logged-in main .woocommerce {
  display: grid;
  grid-template-columns: minmax(16rem, 17.5rem) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.woocommerce-MyAccount-navigation {
  max-height: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.account-nav {
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
  padding: 1.25rem 0.75rem 0.75rem;
}

.account-nav__profile {
  padding: 0 0.75rem 1rem;
  margin: 0 0.15rem 0.5rem;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
}

.account-nav__name {
  margin: 0;
  color: var(--clr-green-700);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}

.account-nav__login {
  margin: 0.2rem 0 0;
  color: #6b6560;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.account-nav__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-nav__list > li {
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
}

/* Bez linii przy aktywnym (żeby nie wystawały spod radiusu) */
.account-nav__list > li.is-active,
.account-nav__list > li:has(+ li.is-active),
.account-nav__list > li.account-nav__item--logout,
.account-nav__list > li:has(+ li.account-nav__item--logout),
.account-nav__list > li:last-child {
  border-bottom: 0;
}

.account-nav__item--logout {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(43, 38, 33, 0.1);
  border-bottom: 0;
}

.woocommerce-MyAccount-navigation ul a,
.account-nav__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  color: #2b2621;
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.account-nav__icon,
.account-nav__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-green-700);
  line-height: 0;
}

.account-nav__icon svg,
.account-nav__chevron svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.account-nav__label {
  flex: 1;
  min-width: 0;
}

.account-nav__chevron {
  margin-left: auto;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.account-nav__list > li.is-active .account-nav__link {
  background: var(--clr-green-700);
  color: #fff;
}

.woocommerce-MyAccount-navigation ul li.is-active a .account-nav__icon,
.woocommerce-MyAccount-navigation ul li.is-active a .account-nav__chevron,
.account-nav__list > li.is-active .account-nav__icon,
.account-nav__list > li.is-active .account-nav__chevron {
  color: #fff;
}

.woocommerce-MyAccount-navigation ul a:hover,
.account-nav__link:hover {
  color: var(--clr-green-700);
  background: rgba(33, 59, 0, 0.06);
}

.woocommerce-MyAccount-navigation ul li.is-active a:hover,
.account-nav__list > li.is-active .account-nav__link:hover {
  color: #fff;
  background: var(--clr-green-500);
}

.woocommerce-MyAccount-navigation ul li.account-nav__item--logout a:hover,
.account-nav__item--logout .account-nav__link:hover {
  color: #a40000;
  background: rgba(180, 0, 0, 0.06);
}

.woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
}

/* Kokpit */

.account-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-dashboard__welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
  border-left: 4px solid var(--clr-green-700);
}

.account-dashboard__hello {
  margin: 0 0 0.25rem;
  color: #2b2621;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.account-dashboard__intro {
  margin: 0;
  color: #6b6560;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.account-dashboard__logout {
  flex-shrink: 0;
  color: var(--clr-green-700);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.account-dashboard__logout:hover {
  color: var(--clr-green-500);
}

.account-dashboard__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-tile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
  min-height: 100%;
  transition: border-color 0.2s ease;
}

.account-tile:hover {
  border-color: rgba(33, 59, 0, 0.28);
}

.account-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  color: var(--clr-green-700);
  line-height: 0;
}

.account-tile__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.account-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
}

.account-tile__title,
.default-template__content .account-tile__title {
  margin: 0 0 0.5rem;
  margin-block: 0 0.5rem;
  padding: 0;
  color: #2b2621;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.account-tile__desc,
.default-template__content .account-tile__desc {
  margin: 0;
  margin-block: 0;
  color: #6b6560;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400;
}

.account-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  color: var(--clr-green-700);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.account-tile__link:hover {
  color: var(--clr-green-500);
  text-decoration: underline;
}

.account-tile__arrow {
  display: inline-flex;
  line-height: 0;
}

.account-tile__arrow svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.woocommerce-MyAccount-orders th {
  text-align: start;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell .button {
  background-color: var(--clr-green-700);
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell .button:hover {
  color: var(--clr-white);
  background-color: var(--clr-green-500);
}

/* Zamówienia — panel */

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Natywny komunikat Woo: potwierdzenie e-mail (tylko Zamówienia) */
.woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-MyAccount-content > .woocommerce-error {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.5rem;
  line-height: 1.45;
}

.woocommerce-MyAccount-content > .woocommerce-info {
  background: rgba(138, 115, 168, 0.12);
  border: 1px solid rgba(138, 115, 168, 0.55);
  color: #4a3d5c;
}

body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info:has(a.wc-forward) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.75rem;
}

body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info:has(a.wc-forward)::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 2rem;
  height: 2rem;
  background: center / contain no-repeat url("../img/icons/moje-konto/envelope-check-purple.svg");
}

body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info a.button.wc-forward,
body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info a.wc-forward {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: fit-content;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--clr-purple-700);
  border-radius: 0.45rem;
  background: transparent;
  color: var(--clr-purple-700);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info a.button.wc-forward:hover,
body.woocommerce-orders .woocommerce-MyAccount-content > .woocommerce-info a.wc-forward:hover {
  background: var(--clr-purple-700);
  color: #fff;
  border-color: var(--clr-purple-700);
}

.account-orders__panel {
  margin: 0;
  margin-block: 0;
  padding: 1.35rem 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-orders__header {
  margin-bottom: 1.15rem;
}

.account-orders__title,
.default-template__content .account-orders__title {
  margin: 0 0 0.25rem;
  margin-block: 0 0.25rem;
  color: #2b2621;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.account-orders__subtitle {
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.4;
}

.account-orders__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.account-orders-table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.account-orders-table thead th {
  padding: 0.65rem 0.75rem 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 33, 0.12);
  color: #2b2621;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: start;
  background: transparent;
}

.account-orders-table tbody td,
.account-orders-table tbody th {
  padding: 1.05rem 0.75rem 1.05rem 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
  color: #2b2621;
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: start;
  vertical-align: middle;
  background: transparent;
}

.account-orders-table tbody tr:last-child td,
.account-orders-table tbody tr:last-child th {
  border-bottom: 0;
}

.account-orders__number {
  color: #2b2621;
  font-weight: 500;
  text-decoration: none;
}

.account-orders__number:hover {
  color: var(--clr-green-700);
  text-decoration: underline;
}

.account-orders__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.account-orders__status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #9e9e9e;
}

.account-orders__status-dot.is-success {
  background: var(--clr-green-500);
}

.account-orders__status-dot.is-warning {
  background: #d4a017;
}

.account-orders__status-dot.is-danger {
  background: #c45c5c;
}

.account-orders__status-dot.is-muted {
  background: #9e9e9e;
}

.account-orders__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.account-orders__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.2;
}

.account-orders__action--primary {
  padding: 0.45rem 0.95rem;
  border-radius: 0.4rem;
  background: var(--clr-green-700);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border: 0;
  width: auto;
  max-width: fit-content;
  flex: 0 0 auto;
}

.account-orders__action--primary:hover {
  background: var(--clr-green-500);
  color: #fff;
}

.account-orders__action--link {
  padding: 0;
  background: transparent;
  border: 0;
  color: #2b2621;
  font-size: 0.925rem;
  font-weight: 500;
}

.account-orders__action--link:hover {
  color: var(--clr-green-700);
  text-decoration: underline;
  background: transparent;
}

.account-orders__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.account-orders__pagination .button,
.account-orders__pagination .woocommerce-button {
  flex: 0 0 auto;
  width: auto;
  max-width: fit-content;
  color: #fff;
  background-color: var(--clr-green-700);
  letter-spacing: 0;
}

.account-orders__pagination .button:hover,
.account-orders__pagination .woocommerce-button:hover,
.account-orders__pagination a.button:hover {
  color: #fff;
  background-color: var(--clr-green-500);
}

.account-orders__empty {
  padding-top: 0.25rem;
}

/* Override stare style przycisków Woo w tej tabeli */
.account-orders-table .woocommerce-orders-table__cell .button,
.account-orders-table .account-orders__action--primary.button {
  background-color: var(--clr-green-700);
}

/* Podgląd zamówienia */

.account-order-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-order-view__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--clr-green-700);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.account-order-view__back:hover {
  color: var(--clr-green-500);
  text-decoration: underline;
}

.account-order-view__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-order-view__hero-main {
  flex: 1 1 12rem;
  min-width: 0;
}

.account-order-view__title,
.default-template__content .account-order-view__title {
  margin: 0 0 0.25rem;
  margin-block: 0 0.25rem;
  color: #2b2621;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.account-order-view__date {
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.4;
}

.account-order-view__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b2621;
}

.account-order-view__status.is-danger {
  color: #c45c5c;
}

.account-order-view__status.is-success {
  color: var(--clr-green-500);
}

.account-order-view__status.is-warning {
  color: #b8860b;
}

.account-order-view__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-left: auto;
}

.account-order-view__notes {
  margin: 0;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-order-view__notes-title,
.default-template__content .account-order-view__notes-title {
  margin: 0 0 0.75rem;
  margin-block: 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.account-order-view__notes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order-details {
  margin: 0;
  margin-block: 0;
  padding: 1.35rem 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-order-details__title,
.default-template__content .account-order-details__title,
.default-template__content .woocommerce-order-details__title {
  margin: 0 0 1.1rem;
  margin-block: 0 1.1rem;
  color: #2b2621;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.account-order-details__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.account-order-details__table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.account-order-details__table thead th {
  padding: 0.5rem 0.75rem 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 33, 0.12);
  color: #2b2621;
  font-size: 0.925rem;
  font-weight: 700;
  text-align: start;
  background: transparent;
}

.account-order-details__table thead th.product-qty {
  text-align: center;
  width: 5rem;
}

.account-order-details__table thead th.product-total {
  text-align: end;
  padding-right: 0;
}

.account-order-details__table tbody td {
  padding: 1.05rem 0.75rem 1.05rem 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
  color: #2b2621;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  vertical-align: top;
  background: transparent;
}

.account-order-details__table tbody td.product-qty {
  text-align: center;
}

.account-order-details__table tbody td.product-total {
  text-align: end;
  padding-right: 0;
  white-space: nowrap;
}

.account-order-details__table tbody td.product-name a {
  color: #2b2621;
  text-decoration: none;
}

.account-order-details__table tbody td.product-name a:hover {
  color: var(--clr-green-700);
  text-decoration: underline;
}

.account-order-details__totals {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 26rem;
  margin: 1.25rem 0 0 auto;
}

.account-order-details__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  color: #2b2621;
  font-size: 0.95rem;
  line-height: 1.4;
}

.account-order-details__total-label {
  color: #6b6560;
  font-weight: 500;
}

.account-order-details__total-value {
  text-align: end;
  font-weight: 500;
}

.account-order-details__total-row--shipping {
  align-items: flex-start;
}

.account-order-details__total-row--shipping .account-order-details__total-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  max-width: min(100%, 22rem);
}

.account-order-details__total-row--shipping .account-order-details__total-value img {
  display: block;
  height: 1.35rem;
  width: auto;
  margin-top: 0.15rem;
}

.account-order-details__totals mark {
  display: inline-block;
  background: rgba(33, 59, 0, 0.12);
  color: var(--clr-green-700);
  padding: 0.12rem 0.45rem;
  border-radius: 0.3rem;
  font-weight: 700;
}

.account-order-details__total-row--order_total {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(43, 38, 33, 0.12);
}

.account-order-details__total-row--order_total .account-order-details__total-label,
.account-order-details__total-row--order_total .account-order-details__total-value {
  color: #2b2621;
  font-weight: 700;
}

.account-order-address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  margin-block: 0;
}

.account-order-address__card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-order-address__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.account-order-address__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clr-green-700);
  color: #fff;
  flex-shrink: 0;
  line-height: 0;
}

.account-order-address__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.account-order-address__title,
.default-template__content .account-order-address__title,
.default-template__content .woocommerce-column__title {
  margin: 0;
  margin-block: 0;
  color: #2b2621;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.account-order-address__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem 2rem;
}

.account-order-address__col {
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.55;
}

.account-order-address__col p {
  margin: 0 0 0.15rem;
}

.account-order-address__col--contact {
  align-self: start;
}

.woocommerce-MyAccount-content mark.order-number,
.woocommerce-MyAccount-content mark.order-date,
.woocommerce-MyAccount-content mark.order-status {
  background: transparent;
  color: inherit;
  padding: 0;
}

.account-order-details .wc-forward,
.account-order-details .woocommerce-button.pay,
.account-order-details .button.pay,
.account-order-details .button.cancel {
  display: none;
}

/* Adresy */

.account-addresses {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.account-addresses__header {
  margin: 0;
}

.account-addresses__title,
.default-template__content .account-addresses__title {
  margin: 0 0 0.35rem;
  margin-block: 0 0.35rem;
  color: #2b2621;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.account-addresses__intro {
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.45;
}

.account-addresses__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.account-addresses__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-address-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-address-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
}

.account-address-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  color: var(--clr-green-700);
  line-height: 0;
}

.account-address-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.account-address-card__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.account-address-card__title,
.default-template__content .account-address-card__title {
  margin: 0 0 0.2rem;
  margin-block: 0 0.2rem;
  color: #2b2621;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.account-address-card__desc {
  margin: 0;
  color: #6b6560;
  font-size: 0.875rem;
  line-height: 1.4;
}

.account-address-card__edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--clr-green-700);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.account-address-card__edit:hover {
  color: var(--clr-green-500);
  text-decoration: underline;
}

.account-address-card__edit-icon {
  display: inline-flex;
  color: currentColor;
  line-height: 0;
}

.account-address-card__edit-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.account-address-card__body address {
  margin: 0;
  color: #2b2621;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

/* Edycja adresu */

.account-edit-address {
  margin: 0;
  padding: 1.35rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-edit-address__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.account-edit-address__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--clr-green-700);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.account-edit-address__back:hover {
  color: var(--clr-green-500);
  text-decoration: underline;
}

.account-edit-address__required {
  margin: 0;
  color: #6b6560;
  font-size: 0.875rem;
  line-height: 1.3;
}

.account-edit-address__header {
  margin-bottom: 1.25rem;
}

.account-edit-address__title,
.default-template__content .account-edit-address__title {
  margin: 0 0 0.3rem;
  margin-block: 0 0.3rem;
  color: #2b2621;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.account-edit-address__desc {
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.45;
}

.account-edit-address .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.account-edit-address .woocommerce-address-fields__field-wrapper > p,
.account-edit-address .woocommerce-address-fields__field-wrapper .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  float: none;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

.account-edit-address .form-row-wide,
.account-edit-address .form-row-wide.address-field,
.account-edit-address #billing_country_field,
.account-edit-address #shipping_country_field,
.account-edit-address #billing_address_1_field,
.account-edit-address #shipping_address_1_field,
.account-edit-address #billing_address_2_field,
.account-edit-address #shipping_address_2_field,
.account-edit-address #billing_state_field,
.account-edit-address #shipping_state_field {
  grid-column: 1 / -1;
}

.account-edit-address .woocommerce-address-fields__field-wrapper label {
  margin: 0;
  color: #2b2621;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.account-edit-address .woocommerce-address-fields__field-wrapper .required {
  color: var(--clr-green-700);
  font-weight: 700;
  text-decoration: none;
}

.account-edit-address .woocommerce-address-fields__field-wrapper .optional {
  color: #6b6560;
  font-weight: 400;
}

.account-edit-address .woocommerce-address-fields__field-wrapper input.input-text,
.account-edit-address .woocommerce-address-fields__field-wrapper select,
.account-edit-address .woocommerce-address-fields__field-wrapper .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem !important;
  border: 1px solid rgba(43, 38, 33, 0.18);
  border-radius: 0.5rem;
  background: #fff;
  color: #2b2621;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: none;
}

.account-edit-address .woocommerce-address-fields__field-wrapper input.input-text:focus,
.account-edit-address .woocommerce-address-fields__field-wrapper select:focus {
  outline: none;
  border-color: var(--clr-green-700);
}

.account-edit-address .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}

.account-edit-address .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  line-height: 1.35;
}

.account-edit-address .select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

.account-edit-address__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.account-edit-address__cancel {
  color: var(--clr-green-500);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.account-edit-address__cancel:hover {
  color: var(--clr-green-700);
  text-decoration: underline;
}

.account-edit-address__submit,
.account-edit-address .account-edit-address__submit.button {
  flex: 0 0 auto;
  width: auto;
  max-width: fit-content;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--clr-green-700);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

.account-edit-address__submit:hover,
.account-edit-address .account-edit-address__submit.button:hover {
  background: var(--clr-green-500);
  color: #fff;
}

/* Szczegóły konta */

.account-edit-account {
  margin: 0;
  padding: 1.35rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
}

.account-edit-account__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.account-edit-account__title,
.default-template__content .account-edit-account__title {
  margin: 0 0 0.3rem;
  margin-block: 0 0.3rem;
  color: #2b2621;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.account-edit-account__desc {
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
  line-height: 1.45;
}

.account-edit-account__required {
  margin: 0;
  flex-shrink: 0;
  color: #6b6560;
  font-size: 0.875rem;
  line-height: 1.3;
}

.account-edit-account__form.woocommerce-EditAccountForm {
  display: block;
  grid-template-columns: none;
  column-gap: 0;
}

.account-edit-account section.account-edit-account__section {
  margin: 0;
  margin-top: 1rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(43, 38, 33, 0.1);
}

.account-edit-account__section + .account-edit-account__section {
  padding-top: 1.35rem;
}

.account-edit-account section.account-edit-account__section--payments,
.account-edit-account section.account-edit-account__section:has(+ .account-edit-account__actions) {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-edit-account__section-title,
.default-template__content .account-edit-account__section-title {
  margin: 0 0 0.85rem;
  margin-block: 0 0.85rem;
  color: var(--clr-green-700);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.account-edit-account__section-intro {
  margin: -0.35rem 0 0.85rem;
  color: #6b6560;
  font-size: 0.9rem;
  line-height: 1.4;
}

.account-edit-account__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.account-edit-account__form .form-row,
.account-edit-account__form .woocommerce-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  float: none;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

.account-edit-account__form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  grid-column: auto;
}

.account-edit-account__form label {
  margin: 0;
  color: #2b2621;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.account-edit-account__form .required {
  color: var(--clr-green-700);
  font-weight: 700;
  text-decoration: none;
}

.account-edit-account__hint,
.account-edit-account__form .account-edit-account__hint,
.account-edit-account__form em {
  display: block;
  margin-top: 0.25rem;
  color: #6b6560;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

.account-edit-account__form input.input-text,
.account-edit-account__form select,
.account-edit-account__form .select2-container .select2-selection--single {
  width: 100% !important;
  max-width: none !important;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem !important;
  border: 1px solid rgba(43, 38, 33, 0.18);
  border-radius: 0.5rem;
  background: #fff;
  color: #2b2621;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: none;
}

.account-edit-account__form input.input-text:focus,
.account-edit-account__form select:focus {
  outline: none;
  border-color: var(--clr-green-700);
}

.account-edit-account__password-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-edit-account__payments .form-row,
.account-edit-account__payments .woocommerce-form-row {
  max-width: 20rem;
}

.account-edit-account__payments .woocommerce-form-row--first:has(label[for="wcpay_selected_currency"]),
.account-edit-account__form .woocommerce-form-row--first:has(label[for="wcpay_selected_currency"]) {
  display: flex !important;
  grid-column: auto;
  max-width: 20rem;
}

.account-edit-account__payments .description,
.account-edit-account__payments small,
.account-edit-account__payments .woocommerce-input-wrapper + span {
  display: block;
  margin-top: 0.35rem;
  color: #6b6560;
  font-size: 0.85rem;
  line-height: 1.4;
}

.account-edit-account__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(43, 38, 33, 0.1);
}

.account-edit-account__cancel {
  color: #6b6560;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.account-edit-account__cancel:hover {
  color: var(--clr-green-700);
  text-decoration: underline;
}

.account-edit-account__submit,
.account-edit-account .account-edit-account__submit.button,
.account-edit-account .woocommerce-Button.button {
  flex: 0 0 auto;
  width: auto;
  max-width: fit-content;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--clr-green-700);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

.account-edit-account__submit:hover,
.account-edit-account .account-edit-account__submit.button:hover,
.account-edit-account .woocommerce-Button.button:hover {
  background: var(--clr-green-500);
  color: #fff;
}

.account-edit-account .password-input {
  display: block;
  position: relative;
  width: 100%;
}

.account-edit-account .password-input input.input-text {
  padding-right: 2.75rem !important;
}

.account-edit-account .show-password-input {
  display: block !important;
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background-color: transparent !important;
  background-image: url("../img/icons/moje-konto/eye.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 1.2rem 1.2rem !important;
  box-shadow: none !important;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.account-edit-account .show-password-input::before,
.account-edit-account .show-password-input::after {
  content: none !important;
  display: none !important;
}

.account-edit-account .show-password-input.display-password {
  background-image: url("../img/icons/moje-konto/eye-off.svg") !important;
}


/* LearnDash — Moje konto (profil / lista szkoleń) */

.woocommerce-account .learndash-wrapper {
  --ld-color-primary: var(--clr-green-700);
  --ld-color-secondary: var(--clr-green-500);
  --ld-color-primary-rgb: 33, 59, 0;
  --ld-color-secondary-rgb: 56, 87, 31;
  --ld-color-tertiary: #e8ede3;
  margin-top: 1.5rem;
}

.woocommerce-account .learndash-wrapper .ld-primary-color,
.woocommerce-account .learndash-wrapper .ld-secondary-color {
  color: var(--clr-green-700) !important;
}

.woocommerce-account .learndash-wrapper .ld-primary-background,
.woocommerce-account .learndash-wrapper .ld-secondary-background {
  background-color: var(--clr-green-700) !important;
  color: #fff !important;
}

.woocommerce-account .learndash-wrapper .ld-tertiary-background,
.woocommerce-account .learndash-wrapper .ld-status.ld-status-progress {
  background-color: #e8ede3 !important;
  color: var(--clr-green-700) !important;
}

.woocommerce-account .ld-mobile-only {
  display: none !important;
}

.woocommerce-account .ld-profile-summary {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem 2rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
  text-align: left !important;
}

.woocommerce-account .ld-profile-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem;
  margin: 0;
  padding: 0;
  text-align: left !important;
}

.woocommerce-account .ld-profile-avatar,
.woocommerce-account .ld-profile-avatar img {
  display: block;
  width: 4.5rem !important;
  height: 4.5rem !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
  background: #e8e6e1;
}

.woocommerce-account .ld-profile-heading,
.woocommerce-account .ld-profile-card h2,
.woocommerce-account .ld-profile-card .ld-profile-heading {
  margin: 0 !important;
  color: #2b2621;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.woocommerce-account .ld-profile-stats {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
}

.woocommerce-account .ld-profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  margin: 0;
  padding: 0.15rem 1.35rem;
  border-left: 1px solid rgba(43, 38, 33, 0.12);
  text-align: center;
}

.woocommerce-account .ld-profile-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.woocommerce-account .ld-profile-stat strong,
.woocommerce-account .ld-profile-stat .ld-profile-stat-number {
  display: block;
  color: #2b2621;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.woocommerce-account .ld-profile-stat span,
.woocommerce-account .ld-profile-stat .ld-profile-stat-text {
  display: block;
  margin-top: 0.2rem;
  color: #6b6560;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

.woocommerce-account .ld-course-list {
  margin: 0;
}

.woocommerce-account .ld-course-list .ld-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.75rem !important;
  padding: 0 0 0.25rem;
}

.woocommerce-account .ld-course-list .ld-section-heading h3,
.woocommerce-account .default-template__content .ld-course-list .ld-section-heading h3 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  color: #2b2621;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-account .ld-course-list .ld-section-heading h3::after {
  content: "Wybierz szkolenie i kontynuuj naukę w swoim tempie.";
  color: #6b6560;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.woocommerce-account .ld-course-list .ld-section-heading .ld-item-list-actions {
  margin: 0;
  padding: 0;
}

/* „Rozwiń wszystko” — pełny reset stylów LD (kółko/absolute), budowa od zera */
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button.ld-primary-background,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button.ld-expanded {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  position: static !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 11.5rem !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.65rem 1.35rem !important;
  overflow: visible !important;
  border: 1px solid rgba(43, 38, 33, 0.28) !important;
  border-radius: 999px !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #2b2621 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-indent: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transform: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button:hover,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button.ld-primary-background:hover {
  border-color: var(--clr-green-700) !important;
  background: #fff !important;
  color: var(--clr-green-700) !important;
}

.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button::before,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button::after {
  content: none !important;
  display: none !important;
}

.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-text {
  display: inline !important;
  position: static !important;
  order: 1 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-indent: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transform: none !important;
}

/* Ukryj natywną ikonę LD (często absolute / poza pigułką) */
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-icon,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-icon-arrow-down,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-icon::before,
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-icon::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  position: static !important;
  transform: none !important;
}

/* Własny chevron wewnątrz pigułki */
.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button .ld-text::after {
  content: "" !important;
  display: inline-block !important;
  width: 0.4rem !important;
  height: 0.4rem !important;
  margin: 0 0 0.15rem 0.55rem !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  vertical-align: middle !important;
  transform: rotate(45deg) !important;
}

.woocommerce-account .learndash-wrapper .ld-course-list .ld-section-heading .ld-expand-button.ld-expanded .ld-text::after {
  margin-bottom: -0.1rem !important;
  transform: rotate(-135deg) !important;
}

.woocommerce-account .ld-course-list .ld-item-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.woocommerce-account .ld-course-list .ld-item-list-item {
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(43, 38, 33, 0.12);
  border-radius: 0.5rem;
  box-shadow: none;
}

.woocommerce-account .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview,
.woocommerce-account .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-preview,
.woocommerce-account .ld-course-list .ld-item-list-item-preview,
.woocommerce-account .ld-course-list .ld-item-list-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.15rem;
  padding: 1.35rem 1.4rem !important;
  background: #fff;
}

.woocommerce-account .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name,
.woocommerce-account .ld-course-list .ld-item-list-item .ld-item-name {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  color: #2b2621;
  text-decoration: none;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-item-name:hover {
  color: var(--clr-green-700);
}

.woocommerce-account .ld-course-list .ld-status-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
}

.woocommerce-account .ld-course-list .ld-status-icon.ld-status-incomplete,
.woocommerce-account .ld-course-list .ld-status-icon.ld-status-incomplete::before {
  border-color: rgba(43, 38, 33, 0.25) !important;
  color: rgba(43, 38, 33, 0.35) !important;
  background: transparent !important;
}

.woocommerce-account .ld-course-list .ld-status-icon.ld-status-progress,
.woocommerce-account .ld-course-list .ld-status-icon.ld-status-complete,
.woocommerce-account .ld-course-list .ld-status-icon svg,
.woocommerce-account .ld-course-list .ld-status-icon path,
.woocommerce-account .ld-course-list .ld-status-icon circle {
  color: var(--clr-green-700) !important;
  stroke: var(--clr-green-700);
}

.woocommerce-account .ld-course-list .ld-course-title {
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.woocommerce-account .ld-course-list .ld-item-details {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  margin-left: auto;
}

.woocommerce-account .ld-course-list .ld-item-details .ld-status,
.woocommerce-account .ld-course-list .ld-status {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 1rem;
  background: #e8ede3 !important;
  color: var(--clr-green-700) !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button.ld-compact.ld-not-mobile,
.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button.ld-primary-background.ld-not-mobile {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: #eceae6 !important;
  color: #2b2621 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button.ld-mobile-only,
.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button.ld-button-alternate.ld-mobile-only {
  display: none !important;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button:hover {
  background: #e0ddd7 !important;
  color: var(--clr-green-700) !important;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button .ld-icon {
  margin: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

.woocommerce-account .ld-course-list .ld-item-list-item .ld-expand-button .ld-text {
  display: none;
}

.woocommerce-account .ld-course-list .ld-item-list-item-expanded {
  position: relative;
  margin: 0;
  padding: 0;
  background: #f3f1ec !important;
  border-top: 1px solid rgba(43, 38, 33, 0.08);
  box-shadow: none !important;
}

.woocommerce-account .ld-course-list .ld-item-list-item-expanded::before,
.woocommerce-account .ld-course-list .ld-item-list-item-expanded::after,
.woocommerce-account .ld-course-list .ld-progress::before,
.woocommerce-account .ld-course-list .ld-progress::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.woocommerce-account .ld-course-list .ld-item-list-item-expanded .ld-progress,
.woocommerce-account .ld-course-list .ld-item-list-item-expanded .ld-progress-inline {
  margin: 0 !important;
  padding: 1.35rem 1.4rem 1.4rem !important;
  background: #f3f1ec !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.woocommerce-account .ld-course-list .ld-progress-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 0.75rem;
}

.woocommerce-account .ld-course-list .ld-progress-label {
  margin: 0;
  color: #6b6560;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.woocommerce-account .ld-course-list .ld-progress-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
}

.woocommerce-account .ld-course-list .ld-progress-percentage {
  margin: 0;
  color: var(--clr-green-700) !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.woocommerce-account .ld-course-list .ld-progress-steps {
  margin: 0;
  color: #6b6560;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.woocommerce-account .ld-course-list .ld-progress-bar {
  height: 0.55rem;
  overflow: hidden;
  background: rgba(43, 38, 33, 0.1) !important;
  border-radius: 1rem;
}

.woocommerce-account .ld-course-list .ld-progress-bar-percentage,
.woocommerce-account .ld-course-list .ld-progress-bar-percentage.ld-secondary-background {
  height: 100%;
  border-radius: 1rem;
  background: var(--clr-green-700) !important;
}


/* FOOTER */

/* Tło, spacing, „miękkie” odcięcie nad stopką */

.footer .newsletter-bg {
  background: var(--clr-beige-500);
  padding-block: 3rem;
  border-radius: 8px 8px 0 0;
}

/* Head */

.newsletter__wrap {
  max-width: 56.25rem;
}

/* Pole e-mail */

.newsletter__body input[type="email"] {
  padding: 0.925rem 1.125rem;
  border: 1px solid #cbb8a7;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter__body input[type="email"]::placeholder {
  opacity: 0.65;
}

.newsletter__body input[type="email"]:focus {
  outline: none;
  border-color: #a9927f;
  box-shadow: 0 0 0 4px rgba(169, 146, 127, 0.18);
}

.newsletter__body .btn-classic {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding-block: 0.925rem;
  border: none;
  cursor: pointer;
  transition: transform 0.06s ease, filter 0.2s ease;
}

.newsletter__body .btn-classic:active {
  transform: translateY(1px);
}

/* Disclaimer */

.newsletter__disclaimer {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

.newsletter-bg .newsletter__disclaimer > a {
  color: var(--clr-green-500);
  text-decoration: underline;
}

/* Dostępność + anty-spam */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px;
}

.footer-bg {
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
  padding-top: 3rem;
}

.footer a {
  color: var(--clr-white);
}

.footer a:hover {
  color: var(--clr-purple-700);
}

.footer__wrapper {
  display: grid;
  gap: 3rem;
}

.footer__wrapper .logo {
  width: 18.75rem;
  margin-bottom: 1rem;
}

.simple-footer .footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-white);
}

.contact__details {
  gap: 0.75rem;
}

.contact__details a:hover svg g {
  fill: var(--clr-purple-700);
}

.contact__details p {
  margin: 0;
}

.contact__details > * {
  font-size: 1rem !important;
}

.footer-menu__wrapper--shop {
  display: grid;
  gap: 2rem;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.single-menu h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu li {
  font-weight: 500;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  /* WCAG 2.5.8: hit area ≥ 24×24 (prefer 44×44), bez powiększania SVG */
  min-width: 44px;
  min-height: 44px;
  padding: 0.625rem;
  box-sizing: border-box;
}

.social-media a:hover svg path {
  fill: var(--clr-purple-700);
}

.footer__copyright {
  background: linear-gradient(
    90deg,
    var(--clr-green-500) 0%,
    var(--clr-green-700) 50%
  );
  padding-block: 1rem;
  margin-top: 3rem;
  border-top: 1px solid #fff;
}

.footer__copyright .container {
  font-size: 0.8125rem;
}

.footer__copyright p {
  color: #fff;
  margin-bottom: 0;
}

.footer-payment-methods img {
  height: 1.5rem;
}

/* Formularze */
.wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
  padding: 12px 0 !important;
}

.wpforms-form {
  padding: 3rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  background-color: #fff !important;
  border-radius: 0.5rem !important;
}

.wpforms-form textarea,
.wpforms-form input[type="text"] {
  border: 1px solid #d5d5d5 !important;
  border-radius: 0.5rem !important;
}

.wpforms-form button[type="submit"] {
  height: auto !important;
  padding: 0.75rem 2rem !important;
  border-radius: 0.5rem !important;
  background-color: var(--clr-green-700) !important;
}

.wpforms-form button[type="submit"]:hover {
  background-color: var(--clr-green-300) !important;
}

#mlb2-36994139.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
  padding: 0 !important;
}

#mlb2-36994139.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: vaR(--clr-beige-500) !important;
}

/* === A11y: sticky header — Focus Not Obscured (WCAG 2.4.11) === */
html {
  scroll-padding-top: 6.5rem;
}

/* === A11y: skip-link + focus-visible (WCAG 2.4.7 / 2.4.11) === */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus,
.skip-link.screen-reader-text:focus-visible {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #3a5700;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid #6b4f8a;
  outline-offset: 2px;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.burger-btn:focus-visible,
.cart-wrapper:focus-visible,
.main-menu a:focus-visible {
  outline: 2px solid #6b4f8a;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.page-not-found__wrapper h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.error404 main { 
  margin-block: 6rem 5rem;
}


/* Przywróć widoczny focus tam, gdzie motyw zerował outline (WCAG 2.4.7) */
.mailerlite-form .mailerlite-form-field input:focus-visible,
.newsletter__body input[type="email"]:focus-visible,
#coupon_code:focus-visible,
.col-2 #order_comments_field textarea:focus-visible,
.woocommerce-billing-fields__field-wrapper p input:focus-visible,
.woocommerce-shipping-fields__field-wrapper p input:focus-visible,
.woocommerce-form-login p input:focus-visible,
.woocommerce-form-register > p input:focus-visible,
#meritumBody input[id^="dgwt-wcas-search-input"]:focus-visible,
#meritumBody .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus-visible {
  outline: 2px solid #6b4f8a;
  outline-offset: 2px;
}
