/*
  Theme Name: Akademia Mowy i Myślenia
  Version: 1.0.0
  Template: Divi
  Author: Graphic Line
  Author URI: https://graphicline.pl/
  Description: Akademia Mowy i Myślenia
  Text Domain: akademia-mowy-i-myślenia
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.ami-home-blog {
  width: 100%;
  background: #eee7df;
  font-family: "Inter", Arial, sans-serif;
}

.ami-home-blog,
.ami-home-blog * {
  box-sizing: border-box;
}

.ami-home-blog__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: min(100%, 1180px);
}

.ami-home-blog__card {
  display: flex;
  min-width: 0;
  min-height: 290px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  flex-direction: column;
}

.ami-home-blog__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background: #e6e1db;
}

.ami-home-blog__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ami-home-blog__image--empty {
  background: linear-gradient(135deg, #e8dfd6, #f6f2ed);
}

.ami-home-blog__content {
  display: flex;
  min-height: 145px;
  padding: 16px 18px 17px;
  flex: 1;
  flex-direction: column;
}

.ami-home-blog__category {
  margin: 0 0 9px;
  color: #b30e2f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ami-home-blog__title {
  margin: 0;
  color: #161616;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.ami-home-blog__title a,
.ami-home-blog__title a:hover,
.ami-home-blog__title a:focus {
  color: inherit;
  text-decoration: none;
}

.ami-home-blog__meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  align-items: flex-start;
  flex-direction: column;
}

.ami-home-blog__meta time {
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.ami-home-blog__read-more {
  color: #b30e2f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ami-home-blog__read-more:hover,
.ami-home-blog__read-more:focus {
  color: #7e0820;
  text-decoration: none;
}

@media (max-width: 980px) {
  .ami-home-blog__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ami-home-blog__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.ami-blog-filters {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: "Inter", Arial, sans-serif;
}

.ami-blog-filters,
.ami-blog-filters * {
  box-sizing: border-box;
}

.ami-blog-filters__item,
.ami-blog-filters__item:hover,
.ami-blog-filters__item:focus {
  display: inline-flex;
  min-height: 34px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #5f555b;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 999px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ami-blog-filters__item:hover,
.ami-blog-filters__item:focus {
  color: #8b1538;
  border-color: #d9c9c1;
}

.ami-blog-filters__item.is-active,
.ami-blog-filters__item.is-active:hover,
.ami-blog-filters__item.is-active:focus {
  color: #ffffff;
  background: #8b1538;
  border-color: #8b1538;
  font-weight: 700;
}

.ami-blog-listing {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Inter", Arial, sans-serif;
}

.ami-blog-listing,
.ami-blog-listing * {
  box-sizing: border-box;
}

.ami-blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ami-blog-card {
  display: flex;
  min-width: 0;
  min-height: 365px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  flex-direction: column;
}

.ami-blog-card__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background: #e8e1da;
}

.ami-blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ami-blog-card__image--empty {
  background: linear-gradient(135deg, #e8dfd6, #f7f2ee);
}

.ami-blog-card__content {
  display: flex;
  min-height: 180px;
  padding: 16px 18px 18px;
  gap: 12px;
  flex: 1;
  flex-direction: column;
}

.ami-blog-card__category {
  margin: 0;
  color: #b30e2f;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ami-blog-card__title {
  margin: 0;
  padding: 0;
  color: #161116;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.ami-blog-card__title a,
.ami-blog-card__title a:hover,
.ami-blog-card__title a:focus {
  color: inherit;
  text-decoration: none;
}

.ami-blog-card__excerpt {
  margin: 0;
  color: #4a3f44;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.ami-blog-card__meta {
  display: flex;
  gap: 8px;
  margin-top: 0;
  align-items: flex-start;
  flex-direction: column;
}

.ami-blog-card__meta time {
  color: #8a7880;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.ami-blog-card__read-more {
  color: #b30e2f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ami-blog-card__read-more:hover,
.ami-blog-card__read-more:focus {
  color: #8b1538;
  text-decoration: none;
}

.ami-blog-pagination {
  display: flex;
  margin-top: 34px;
  justify-content: center;
  font-family: "Inter", Arial, sans-serif;
}

.ami-blog-pagination ul.page-numbers {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.ami-blog-pagination li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ami-blog-pagination a.page-numbers,
.ami-blog-pagination span.page-numbers {
  display: inline-flex;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #5f555b;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ami-blog-pagination a.page-numbers.prev,
.ami-blog-pagination a.page-numbers.next,
.ami-blog-pagination span.page-numbers.prev,
.ami-blog-pagination span.page-numbers.next {
  width: auto;
  min-width: 96px;
  padding: 0 18px;
  white-space: nowrap;
}

.ami-blog-pagination .page-numbers.current {
  color: #ffffff;
  background: #8b1538;
  border-color: #8b1538;
  box-shadow: none;
}

.ami-blog-pagination a.page-numbers:hover,
.ami-blog-pagination a.page-numbers:focus {
  color: #8b1538;
  background: #fff7fb;
  border-color: #d9c9c1;
  text-decoration: none;
}

.ami-blog-listing__empty {
  margin: 0;
  color: #8a7880;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .ami-blog-listing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .ami-blog-filters {
    margin-bottom: 24px;
    gap: 8px;
    justify-content: flex-start;
  }

  .ami-blog-filters__item {
    min-height: 32px;
    padding: 0 14px;
    font-size: 12px;
  }

  .ami-blog-listing__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ami-featured-post {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Inter", Arial, sans-serif;
}

.ami-featured-post,
.ami-featured-post * {
  box-sizing: border-box;
}

.ami-featured-post__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.ami-featured-post__media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #e8e1da;
  text-decoration: none;
}

.ami-featured-post__image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
}

.ami-featured-post__image--empty {
  min-height: 250px;
  background: linear-gradient(135deg, #e8dfd6, #f7f2ee);
}

.ami-featured-post__content {
  position: relative;
  min-width: 0;
  padding-top: 18px;
}

.ami-featured-post__badge {
  display: inline-flex;
  min-height: 24px;
  margin-bottom: 14px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #8b1538;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.ami-featured-post__category {
  margin: 0 0 12px;
  color: #b30e2f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ami-featured-post__title {
  margin: 0;
  padding: 0;
  color: #161116;
  font-family: "Inter", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

.ami-featured-post__title a,
.ami-featured-post__title a:hover,
.ami-featured-post__title a:focus {
  color: inherit;
  text-decoration: none;
}

.ami-featured-post__excerpt {
  margin: 18px 0 0;
  color: #5f555b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.ami-featured-post__meta {
  display: flex;
  margin-top: 20px;
  gap: 24px;
  align-items: center;
  color: #8a7880;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.ami-featured-post__button {
  display: inline-flex;
  min-height: 42px;
  margin-top: 20px;
  padding: 0 22px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #8b1538;
  border-radius: 6px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.ami-featured-post__button-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
}

.ami-featured-post__button:hover,
.ami-featured-post__button:focus {
  color: #ffffff;
  background: #75102f;
  text-decoration: none;
}

@media (max-width: 980px) {
  .ami-featured-post__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ami-featured-post__title {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .ami-featured-post__inner {
    gap: 22px;
  }

  .ami-featured-post__content {
    padding-top: 0;
  }

  .ami-featured-post__title {
    font-size: 23px;
  }

  .ami-featured-post__excerpt {
    font-size: 13px;
    line-height: 1.55;
  }
}

.woocommerce-cart .ami-cart-form {
  display: block;
  width: 100%;
  font-family: "Inter", Arial, sans-serif;
}

.ami-cart-page,
.ami-cart-page * {
  box-sizing: border-box;
}

.ami-cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 332px);
  gap: 34px;
  width: 100%;
  max-width: 1200px;
  color: #211a20;
}

.ami-cart-page__main {
  min-width: 0;
}

.ami-cart-page__title {
  margin: 0 0 20px;
  color: #201820;
  font-family: "Inter", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.ami-cart-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ami-cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 22px;
  min-height: 210px;
  padding: 40px 20px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-cart-item__thumb {
  width: 104px;
  height: 123px;
  overflow: hidden;
  align-self: center;
  background: #faf7f4;
  border: 1px solid #eadbd3;
  border-radius: 6px;
}

.ami-cart-item__thumb a,
.ami-cart-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.ami-cart-item__thumb img {
  object-fit: contain;
}

.ami-cart-item__body {
  display: flex;
  min-width: 0;
  min-height: 122px;
  flex-direction: column;
}

.ami-cart-item__title {
  margin: 0;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.ami-cart-item__title a,
.ami-cart-item__title a:hover,
.ami-cart-item__title a:focus {
  color: inherit;
  text-decoration: none;
}

.ami-cart-item__meta {
  margin: auto 0 8px;
  color: #978d94;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.ami-cart-item__options {
  margin: 0 0 10px;
  color: #978d94;
  font-size: 12px;
  line-height: 1.4;
}

.ami-cart-item__options dl,
.ami-cart-item__options dt,
.ami-cart-item__options dd,
.ami-cart-item__options p {
  margin: 0;
}

.ami-cart-item__options dt,
.ami-cart-item__options dd {
  display: inline;
  float: none;
}

.ami-cart-item__actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-direction: column;
}

.ami-cart-qty {
  display: inline-grid;
  grid-template-columns: 32px 32px 32px;
  height: 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8e6e3;
  border-radius: 4px;
}

.ami-cart-qty--single {
  grid-template-columns: 32px;
}

.ami-cart-qty__button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #211a20;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.ami-cart-qty__button:hover,
.ami-cart-qty__button:focus {
  background: #f6efeb;
  color: #211a20;
}

.ami-cart-qty__field,
.ami-cart-qty .quantity {
  width: 32px;
  height: 32px;
}

.ami-cart-qty .quantity {
  display: block;
  margin: 0;
}

.woocommerce .ami-cart-qty input.qty {
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  color: #211a20;
  background: #ffffff;
  border: 0;
  border-right: 1px solid #e8e6e3;
  border-left: 1px solid #e8e6e3;
  border-radius: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  -moz-appearance: textfield;
}

.woocommerce .ami-cart-qty input.qty::-webkit-outer-spin-button,
.woocommerce .ami-cart-qty input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ami-cart-qty--single .quantity {
  display: none;
}

.ami-cart-qty__single-value {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #211a20;
  background: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.woocommerce .ami-cart-item__remove.remove {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: #978d94 !important;
  background: transparent;
  border: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.woocommerce .ami-cart-item__remove.remove:hover,
.woocommerce .ami-cart-item__remove.remove:focus {
  color: #a21440 !important;
  background: transparent;
}

.ami-cart-item__price {
  display: flex;
  min-width: 88px;
  align-items: flex-end;
  flex-direction: column;
}

.ami-cart-item__price strong,
.ami-cart-item__price .amount,
.ami-cart-item__price .amount bdi,
.ami-cart-item__price .amount *,
  .ami-cart-item__price .woocommerce-Price-currencySymbol {
  color: #211a20;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.ami-cart-item__price > span {
  margin-top: 5px;
  color: #978d94;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.ami-cart-form__update {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ami-cart-note {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding: 13px 16px;
  align-items: center;
  color: #1e7848;
  background: #e5f7ed;
  border-radius: 8px;
}

.ami-cart-note__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #24965e;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.ami-cart-note p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ami-cart-back {
  display: inline-flex;
  gap: 5px;
  margin-top: 22px;
  align-items: center;
  color: #a21440;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.ami-cart-back:hover,
.ami-cart-back:focus {
  color: #7f0f31;
  text-decoration: none;
}

.ami-cart-summary {
  width: 100%;
  padding: 24px;
  align-self: start;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-cart-summary__title {
  margin: 0 0 26px;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.ami-cart-summary__rows {
  display: flex;
  gap: 13px;
  flex-direction: column;
  padding-bottom: 14px;
  border-bottom: 1px solid #eadbd3;
}

.ami-cart-summary__row,
.ami-cart-summary__total {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.ami-cart-summary__row span,
.ami-cart-summary__row strong {
  color: #6f656c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.ami-cart-summary__row span {
  min-width: 0;
}

.ami-cart-summary__row strong {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.ami-cart-summary__row--discount strong,
.ami-cart-summary__row--discount a {
  color: #a21440;
}

.ami-cart-summary__total {
  margin-top: 14px;
  align-items: center;
}

.ami-cart-summary__total span {
  color: #211a20;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.ami-cart-summary__total strong,
.ami-cart-summary__total .amount,
.ami-cart-summary__total .amount bdi,
  .ami-cart-summary__total .amount *,
  .ami-cart-summary__total .woocommerce-Price-currencySymbol {
  color: #a21440 !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ami-cart-summary__total small {
  display: none;
}

.ami-cart-summary__tax-note {
  margin: 9px 0 13px;
  color: #8a7880;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.ami-cart-summary__coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.woocommerce-cart .woocommerce .ami-cart-summary__coupon input.input-text {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  color: #211a20;
  background: #fffaf7;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  line-height: 36px;
}

.woocommerce-cart .woocommerce .ami-cart-summary__coupon input.input-text::placeholder {
  color: #9b9197;
}

.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:hover,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:focus {
  position: relative;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 17px !important;
  color: #6a5f66;
  background: #ece4de;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 36px;
  text-decoration: none;
  transform: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button::before,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button::after,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:hover::before,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:hover::after,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:focus::before,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:focus::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:hover,
.woocommerce-cart .woocommerce .ami-cart-summary__coupon .button:focus {
  color: #211a20;
  background: #e0d4cc;
}

.ami-cart-summary__checkout {
  padding: 0;
  margin: 14px 0 0;
}

.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 18px !important;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #a21440;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: none !important;
  letter-spacing: 0;
  transition: background-color 0.15s ease;
}

.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button::before,
.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:hover::before,
.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:focus::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button::after {
  display: inline-block;
  width: 11px;
  height: 11px;
  content: "" !important;
  position: static !important;
  margin: 1px 0 0 8px;
  opacity: 1 !important;
  background: url("http://akademia-mowy.local/wp-content/uploads/2026/08/strzalka.png") center / contain no-repeat;
  font-size: 0;
  line-height: 0;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:hover,
.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:focus {
  padding: 0 18px !important;
  color: #ffffff;
  background: #850f35;
  transform: none !important;
}

.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:hover::after,
.woocommerce-cart .woocommerce .ami-cart-summary__checkout .checkout-button.button:focus::after {
  position: static !important;
  right: auto !important;
  top: auto !important;
  margin-left: 8px;
  opacity: 1 !important;
  transform: none !important;
}

.ami-cart-summary__payment {
  margin-top: 14px;
}

.ami-cart-summary__payment > span {
  display: block;
  margin-bottom: 6px;
  color: #978d94;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.ami-cart-summary__payment div {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.ami-cart-summary__payment b {
  display: inline-flex;
  min-height: 20px;
  padding: 4px 9px;
  align-items: center;
  color: #6f656c;
  background: #eee5df;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.woocommerce-cart .woocommerce-notices-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  color: #6f656c;
  background: #ffffff;
  border: 1px solid #e8e6e3;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-checkout .woocommerce-message::before {
  display: none;
  content: none;
}

.woocommerce-cart .woocommerce-message .button,
.woocommerce-cart .woocommerce-message .button:hover,
.woocommerce-cart .woocommerce-message .button:focus,
.woocommerce-checkout .woocommerce-message .button,
.woocommerce-checkout .woocommerce-message .button:hover,
.woocommerce-checkout .woocommerce-message .button:focus {
  display: inline-flex;
  min-height: 30px;
  margin: 0 0 0 auto;
  padding: 0 12px !important;
  align-items: center;
  justify-content: center;
  order: 2;
  color: #a21440;
  background: #f7f1ed;
  border: 1px solid #e8e6e3;
  border-radius: 5px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 30px;
  text-decoration: none;
  transform: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.woocommerce-cart .woocommerce-message .button::before,
.woocommerce-cart .woocommerce-message .button::after,
.woocommerce-cart .woocommerce-message .button:hover::before,
.woocommerce-cart .woocommerce-message .button:hover::after,
.woocommerce-cart .woocommerce-message .button:focus::before,
.woocommerce-cart .woocommerce-message .button:focus::after,
.woocommerce-checkout .woocommerce-message .button::before,
.woocommerce-checkout .woocommerce-message .button::after,
.woocommerce-checkout .woocommerce-message .button:hover::before,
.woocommerce-checkout .woocommerce-message .button:hover::after,
.woocommerce-checkout .woocommerce-message .button:focus::before,
.woocommerce-checkout .woocommerce-message .button:focus::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce-cart .woocommerce-message .button:hover,
.woocommerce-cart .woocommerce-message .button:focus,
.woocommerce-checkout .woocommerce-message .button:hover,
.woocommerce-checkout .woocommerce-message .button:focus {
  color: #850f35;
  background: #efe6df;
  border-color: #e2d9d2;
  text-decoration: none;
}

.woocommerce-cart .woocommerce-message .button.wc-forward {
  display: none !important;
}

.woocommerce-cart .woocommerce-message a.restore-item,
.woocommerce-cart .woocommerce-message a:not(.button) {
  margin-left: auto;
  color: #a21440;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.woocommerce-cart .woocommerce-message a.restore-item:hover,
.woocommerce-cart .woocommerce-message a.restore-item:focus,
.woocommerce-cart .woocommerce-message a:not(.button):hover,
.woocommerce-cart .woocommerce-message a:not(.button):focus {
  color: #850f35;
  text-decoration: none;
}

.woocommerce-cart .woocommerce > .wc-empty-cart-message,
.woocommerce-cart .woocommerce > .return-to-shop {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  font-family: "Inter", Arial, sans-serif;
}

.woocommerce-cart .woocommerce > .wc-empty-cart-message {
  margin-top: 16px;
  margin-bottom: 14px;
}

.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info {
  display: flex;
  margin: 0;
  padding: 18px 20px;
  align-items: center;
  color: #211a20;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info::before {
  display: none;
  content: none;
}

.woocommerce-cart .woocommerce > .return-to-shop {
  margin-top: 0;
}

.woocommerce-cart .return-to-shop .button.wc-backward,
.woocommerce-cart .return-to-shop .button.wc-backward:hover,
.woocommerce-cart .return-to-shop .button.wc-backward:focus {
  display: inline-flex;
  min-height: 42px;
  margin: 0;
  padding: 0 18px !important;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #8b1538;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 42px;
  text-decoration: none;
  transform: none !important;
}

.woocommerce-cart .return-to-shop .button.wc-backward::before,
.woocommerce-cart .return-to-shop .button.wc-backward::after,
.woocommerce-cart .return-to-shop .button.wc-backward:hover::before,
.woocommerce-cart .return-to-shop .button.wc-backward:hover::after,
.woocommerce-cart .return-to-shop .button.wc-backward:focus::before,
.woocommerce-cart .return-to-shop .button.wc-backward:focus::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce-cart .return-to-shop .button.wc-backward:hover,
.woocommerce-cart .return-to-shop .button.wc-backward:focus {
  background: #75102f;
}

@media (max-width: 980px) {
  .ami-cart-page {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ami-cart-summary {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .ami-cart-page__title {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .ami-cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 16px;
    align-items: start;
  }

  .ami-cart-item__thumb {
    width: 84px;
    height: 100px;
  }

  .ami-cart-item__body {
    min-height: 100px;
  }

  .ami-cart-item__title {
    font-size: 14px;
  }

  .ami-cart-item__meta {
    margin-top: 10px;
  }

  .ami-cart-item__price {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding-left: 100px;
  }

  .ami-cart-item__price strong,
  .ami-cart-item__price .amount,
  .ami-cart-item__price .amount bdi,
  .ami-cart-item__price .amount *,
  .ami-cart-item__price .woocommerce-Price-currencySymbol {
    font-size: 24px;
  }

  .ami-cart-item__price > span {
    margin-top: 5px;
    font-size: 12px;
  }

  .ami-cart-note {
    gap: 12px;
    align-items: flex-start;
  }

  .woocommerce-cart .woocommerce-message,
  .woocommerce-checkout .woocommerce-message {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .woocommerce-cart .woocommerce .woocommerce-message,
  .woocommerce-cart .woocommerce .woocommerce-error,
  .woocommerce-cart .woocommerce .woocommerce-info,
  .woocommerce-cart.woocommerce-page .woocommerce-message,
  .woocommerce-cart.woocommerce-page .woocommerce-error,
  .woocommerce-cart.woocommerce-page .woocommerce-info {
    font-size: 14px !important;
  }

  .woocommerce-cart .woocommerce-message .button,
  .woocommerce-checkout .woocommerce-message .button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .ami-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .ami-cart-item__thumb {
    width: 72px;
    height: 88px;
  }

  .ami-cart-item__price {
    padding-left: 85px;
  }

  .ami-cart-summary {
    padding: 20px 16px;
  }

  .ami-cart-summary__coupon {
    grid-template-columns: 1fr;
  }

  .woocommerce-cart .woocommerce .ami-cart-summary__coupon .button {
    width: 100%;
  }
}

.woocommerce-checkout #main-content .container,
.woocommerce-checkout #main-content .et_pb_row,
.woocommerce-checkout .entry-content .woocommerce,
.woocommerce-checkout .ami-checkout-form,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .woocommerce-notices-wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce-checkout .ami-checkout-form {
  font-family: "Inter", Arial, sans-serif;
}

.ami-checkout,
.ami-checkout * {
  box-sizing: border-box;
}

.ami-checkout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(320px, 370px);
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  color: #211a20;
}

.ami-checkout__main {
  min-width: 0;
}

.ami-checkout-card,
.ami-checkout-summary {
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-checkout-card {
  padding: 28px;
}

.ami-checkout-card + .ami-checkout-card {
  margin-top: 28px;
}

.ami-checkout-card__title,
.ami-checkout-summary__title {
  margin: 0;
  padding: 0;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.ami-checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 18px;
}

.woocommerce .ami-checkout-fields .form-row {
  width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce .ami-checkout-fields .form-row-wide {
  grid-column: 1 / -1;
}

.woocommerce .ami-checkout-fields label {
  display: block;
  margin: 0 0 6px;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.woocommerce .ami-checkout-fields label .required {
  color: inherit;
  text-decoration: none;
}

.woocommerce .ami-checkout-fields input.input-text,
.woocommerce .ami-checkout-fields textarea,
.woocommerce .ami-checkout-fields select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: #211a20;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 42px;
}

.woocommerce .ami-checkout-fields input.input-text::placeholder {
  color: #9b9197;
}

.woocommerce .ami-checkout-fields .woocommerce-input-wrapper {
  display: block;
}

.woocommerce .ami-checkout-fields .description {
  margin: 7px 0 0;
  color: #8a7880;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

.ami-checkout-data {
  padding: 36px 38px 34px;
  border-radius: 16px;
}

.ami-checkout-data .ami-checkout-card__title {
  margin: 0 0 26px;
  color: #1a1118;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.ami-checkout-data .ami-checkout-fields {
  margin-top: 0;
  gap: 22px 22px;
}

.woocommerce .ami-checkout-data .ami-checkout-fields .form-row {
  float: none;
  clear: none;
}

.woocommerce .ami-checkout-data .ami-checkout-fields label {
  margin: 0 0 8px;
  color: #4b4248;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.woocommerce .ami-checkout-data .ami-checkout-fields label .optional {
  display: none;
}

.woocommerce .ami-checkout-data .ami-checkout-fields label .required {
  color: #4b4248;
}

.woocommerce .ami-checkout-data .ami-checkout-fields input.input-text,
.woocommerce .ami-checkout-data .ami-checkout-fields textarea,
.woocommerce .ami-checkout-data .ami-checkout-fields select {
  min-height: 48px;
  padding: 0 14px;
  color: #211a20;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 48px;
}

.woocommerce .ami-checkout-data .ami-checkout-fields #billing_first_name,
.woocommerce .ami-checkout-data .ami-checkout-fields #billing_email {
  background: #ffffff;
}

.woocommerce .ami-checkout-data .ami-checkout-fields #billing_phone,
.woocommerce .ami-checkout-data .ami-checkout-fields #billing_company {
  background: #faf7f4;
}

.woocommerce .ami-checkout-data .ami-checkout-fields input.input-text:focus,
.woocommerce .ami-checkout-data .ami-checkout-fields textarea:focus,
.woocommerce .ami-checkout-data .ami-checkout-fields select:focus {
  border-color: #d6c5bc;
  outline: none;
}

.woocommerce .ami-checkout-data .ami-checkout-fields input.input-text::placeholder {
  color: #8a7880;
}

.woocommerce .ami-checkout-data .ami-checkout-fields .description {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 8px 0 0;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  color: #8a7880;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce .ami-checkout-data .ami-checkout-fields #billing_email-description {
  color: #8a7880 !important;
  font-size: 12px !important;
}

.woocommerce .ami-checkout-data .ami-checkout-fields #billing_email-description::before,
.woocommerce .ami-checkout-data .ami-checkout-fields #billing_email-description::after,
.woocommerce .ami-checkout-data .ami-checkout-fields .description::before,
.woocommerce .ami-checkout-data .ami-checkout-fields .description::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  content: none !important;
}

.woocommerce-checkout #payment.ami-checkout-payment {
  margin: 28px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.ami-checkout-payment-card {
  margin: 0;
  padding: 24px 28px 22px;
  border-radius: 12px;
}

.ami-checkout-payment-card .ami-checkout-card__title {
  margin: 0 0 16px;
  color: #1a1118;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.woocommerce-checkout #payment ul.payment_methods.ami-checkout-methods,
.woocommerce .ami-checkout-payment-card .ami-checkout-methods {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  flex-direction: column;
  list-style: none;
}

.woocommerce .ami-checkout-payment-card .ami-checkout-method {
  margin: 0;
  padding: 0;
}

.woocommerce .ami-checkout-payment-card .ami-checkout-method > input.input-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ami-checkout-method__label {
  display: flex;
  min-height: 44px;
  padding: 9px 14px;
  align-items: center;
  gap: 12px;
  color: #211a20;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ami-checkout-method:has(input.input-radio:checked) .ami-checkout-method__label,
.ami-checkout-method--chosen .ami-checkout-method__label {
  background: #fff7fb;
  border-color: #a21440;
  box-shadow: inset 0 0 0 1px #a21440;
}

.ami-checkout-method__label:hover {
  background: #fffaf8;
  border-color: #d8c9c1;
}

.ami-checkout-method__radio {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eadbd3;
  border-radius: 50%;
}

.ami-checkout-method:has(input.input-radio:checked) .ami-checkout-method__radio,
.ami-checkout-method--chosen .ami-checkout-method__radio {
  border-color: #a21440;
}

.ami-checkout-method:has(input.input-radio:checked) .ami-checkout-method__radio::after,
.ami-checkout-method--chosen .ami-checkout-method__radio::after {
  display: block;
  width: 12px;
  height: 12px;
  background: #a21440;
  border-radius: 50%;
  content: "";
}

.ami-checkout-method__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ami-checkout-method__title {
  color: #211a20;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.ami-checkout-method__description {
  margin-top: 2px;
  color: #8a7880;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.25;
}

.ami-checkout-method img {
  max-height: 18px;
  margin-left: auto;
}

.woocommerce .ami-checkout-method .payment_box {
  margin: 10px 0 0;
  padding: 14px;
  color: #8a7880;
  background: #faf7f4;
  border-radius: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.4;
}

.woocommerce-checkout #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::after,
.woocommerce .ami-checkout-method .payment_box::before,
.woocommerce .ami-checkout-method .payment_box::after {
  display: none !important;
  border: 0 !important;
  content: none !important;
}

.woocommerce .ami-checkout-method .payment_box > p:not(.form-row) {
  display: none;
}

.woocommerce .ami-checkout-method .payment_box p,
.woocommerce .ami-checkout-method .payment_box .form-row {
  margin: 0 0 10px;
  padding: 0;
}

.woocommerce .ami-checkout-method .payment_box label {
  color: #6f656c;
  font-size: 9px;
  font-weight: 400;
}

.woocommerce .ami-checkout-method .payment_box input,
.woocommerce .ami-checkout-method .payment_box select,
.woocommerce .ami-checkout-method .payment_box textarea,
.woocommerce .ami-checkout-method .payment_box .wc-stripe-elements-field,
.woocommerce .ami-checkout-method .payment_box .stripe-card-group {
  width: 100%;
  min-height: 32px;
  color: #211a20;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
}

.ami-checkout-place-order {
  margin: 20px 0 0;
  padding: 0 0 28px;
}

.ami-checkout-consents {
  display: flex;
  gap: 11px;
  flex-direction: column;
}

.ami-checkout-consent {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #6f656c;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.woocommerce .ami-checkout-consent input[type="checkbox"],
.ami-checkout-consent input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
  appearance: none;
  -webkit-appearance: none;
  background: #faf7f4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
  border: 1px solid #eae0dc;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: none;
  cursor: pointer;
  vertical-align: middle;
}

.woocommerce .ami-checkout-consent input[type="checkbox"]::before,
.woocommerce .ami-checkout-consent input[type="checkbox"]::after,
.ami-checkout-consent input[type="checkbox"]::before,
.ami-checkout-consent input[type="checkbox"]::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  content: none !important;
}

.woocommerce .ami-checkout-consent input[type="checkbox"]:checked,
.ami-checkout-consent input[type="checkbox"]:checked {
  background-color: #faf7f4;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5.15 4.15 7.2 8.15 2.8' fill='none' stroke='%238b1538' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: #eae0dc;
}

.ami-checkout-consent a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ami-checkout-consent a:hover,
.ami-checkout-consent a:focus {
  color: #a21440;
}

.ami-checkout-consent strong {
  color: #211a20;
  font-weight: 600;
}

.woocommerce-checkout .woocommerce #payment .ami-checkout-submit,
.woocommerce-checkout .woocommerce .ami-checkout-submit,
.woocommerce-checkout .woocommerce .ami-checkout-submit:hover,
.woocommerce-checkout .woocommerce .ami-checkout-submit:focus {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin: 22px 0 34px;
  padding: 0 20px !important;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #8b1538;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: none !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-submit::before,
.woocommerce-checkout .woocommerce .ami-checkout-submit::after,
.woocommerce-checkout .woocommerce .ami-checkout-submit:hover::before,
.woocommerce-checkout .woocommerce .ami-checkout-submit:hover::after,
.woocommerce-checkout .woocommerce .ami-checkout-submit:focus::before,
.woocommerce-checkout .woocommerce .ami-checkout-submit:focus::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-submit:hover,
.woocommerce-checkout .woocommerce .ami-checkout-submit:focus {
  background: #8b1538;
}

.ami-checkout-submit-note {
  display: block;
  margin: 0 auto;
  max-width: 620px;
  color: #8a7880;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .woocommerce-notices-wrapper {
  width: 100%;
  max-width: 1200px;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
  margin: 0 0 18px;
  font-family: "Inter", Arial, sans-serif;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout > div[role="alert"] {
  margin: 0;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error {
  display: flex;
  gap: 8px;
  margin: 0 !important;
  padding: 14px 16px !important;
  flex-direction: column;
  color: #1a1118;
  background: #fff7fb;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  list-style: none outside;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error li {
  position: relative;
  margin: 0 !important;
  padding: 0 0 0 13px !important;
  color: #6f656c;
  font-size: 12px;
  line-height: 1.45;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li::before,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  background: #8b1538;
  border-radius: 50%;
  content: "";
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error a,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error a {
  color: inherit;
  text-decoration: none;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error strong,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error strong {
  color: #1a1118;
  font-weight: 700;
}

.ami-checkout-sidebar {
  align-self: start;
}

.ami-checkout-summary {
  padding: 24px;
}

.ami-checkout-summary__title {
  margin-bottom: 18px;
}

.ami-checkout-summary__items {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.ami-checkout-summary-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: #fbf8f6;
  border-radius: 8px;
}

.ami-checkout-summary-item__thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: #a21440;
  border-radius: 6px;
}

.ami-checkout-summary-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ami-checkout-summary-item__body {
  min-width: 0;
}

.ami-checkout-summary-item__body h3 {
  margin: 0;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.ami-checkout-summary-item__body p {
  margin: 5px 0 0;
  color: #8a7880;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.ami-checkout-summary-item__body strong,
.ami-checkout-summary-item__body .amount,
.ami-checkout-summary-item__body .amount *,
.ami-checkout-summary-item__body .woocommerce-Price-currencySymbol {
  display: inline-block;
  margin-top: 5px;
  color: #a21440 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ami-checkout-summary__row,
.ami-checkout-summary__total {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ami-checkout-summary__row {
  margin-top: 14px;
  color: #6f656c;
  font-size: 11px;
}

.ami-checkout-summary__delivery {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  background: #fbf8f6;
  border: 1px solid #f1e6e0;
  border-radius: 8px;
}

.ami-checkout-summary__delivery span {
  color: #8a7880;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.ami-checkout-summary__delivery strong {
  color: #211a20;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.ami-checkout-summary__total {
  margin-top: 18px;
  padding-top: 18px;
  align-items: flex-start;
  border-top: 1px solid #eadbd3;
}

.ami-checkout-summary__total span {
  color: #211a20;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.ami-checkout-summary__total strong {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  flex-direction: column;
  color: #a21440 !important;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.ami-checkout-summary__total strong > .amount,
.ami-checkout-summary__total strong > .amount bdi,
.ami-checkout-summary__total strong > .amount .woocommerce-Price-currencySymbol {
  display: inline-block;
  color: #a21440 !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ami-checkout-summary__total .includes_tax {
  display: block;
  margin-top: 4px;
  color: #8a7880;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
  white-space: normal;
}

.ami-checkout-summary__total .includes_tax .amount,
.ami-checkout-summary__total .includes_tax .amount bdi,
.ami-checkout-summary__total .includes_tax .amount *,
.ami-checkout-summary__total .includes_tax .woocommerce-Price-currencySymbol {
  display: inline;
  margin: 0;
  color: #8a7880 !important;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  white-space: normal;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}

.ami-checkout-coupon {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1e6e0;
  font-family: "Inter", Arial, sans-serif;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:hover,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:focus {
  display: flex;
  width: 100%;
  min-height: auto;
  margin: 0;
  padding: 0 !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #211a20;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transform: none !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle::before,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:hover::before,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:focus::before {
  display: none !important;
  content: none !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle::after,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:hover::after,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__toggle:focus::after {
  display: block !important;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 0;
  border-right: 1.5px solid #8a7880;
  border-bottom: 1.5px solid #8a7880;
  content: "" !important;
  opacity: 1 !important;
  transform: rotate(45deg) !important;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon.is-open .ami-checkout-coupon__toggle::after {
  border-color: #a21440;
  transform: rotate(-135deg) !important;
}

.ami-checkout-coupon__toggle span {
  color: #211a20;
  font-size: 11px;
  font-weight: 500;
}

.ami-checkout-coupon__toggle small {
  margin-left: auto;
  color: #8a7880;
  font-size: 10px;
  font-weight: 400;
}

.ami-checkout-coupon__panel {
  margin-top: 10px;
}

.ami-checkout-coupon__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon input.input-text {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  color: #211a20;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 38px;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon input.input-text::placeholder {
  color: #9b9197;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:hover,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:focus {
  display: inline-flex;
  min-height: 38px;
  margin: 0;
  padding: 0 14px !important;
  align-items: center;
  justify-content: center;
  color: #211a20;
  background: #e9ded8 !important;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transform: none !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply::before,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply::after,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:hover::before,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:hover::after,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:focus::before,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:focus::after {
  display: none !important;
  content: none !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:hover,
.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:focus {
  background: #dfd3cc !important;
}

.woocommerce-checkout .woocommerce .ami-checkout-coupon__apply:disabled {
  opacity: 0.65;
  cursor: progress;
}

.ami-checkout-coupon__status {
  margin-top: 8px;
  color: #8a7880;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

.ami-checkout-coupon__status:empty {
  display: none;
}

.ami-checkout-coupon__status[data-status="loading"] {
  color: #8a7880;
}

.ami-checkout-coupon__status .woocommerce-error,
.ami-checkout-coupon__status .woocommerce-message,
.ami-checkout-coupon__status .woocommerce-info {
  margin: 0 !important;
  padding: 8px 10px !important;
  min-height: auto;
  color: #6f656c;
  background: #fbf8f6;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  list-style: none;
}

.ami-checkout-coupon__status .woocommerce-error {
  color: #a21440;
  background: #fff8fb;
}

.ami-checkout-coupon__status .woocommerce-error::before,
.ami-checkout-coupon__status .woocommerce-message::before,
.ami-checkout-coupon__status .woocommerce-info::before {
  display: none;
  content: none;
}

.woocommerce-checkout .woocommerce-notices-wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 18px !important;
}

@media (max-width: 980px) {
  .ami-checkout {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .ami-checkout-sidebar {
    order: -1;
  }
}

@media (max-width: 700px) {
  .woocommerce-checkout form[name="checkout"],
  .woocommerce-checkout form.checkout.ami-checkout-form {
    margin: 0 !important;
  }

  .woocommerce-checkout #main-content .container,
  .woocommerce-checkout #main-content .et_pb_row,
  .woocommerce-checkout .entry-content .woocommerce {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .woocommerce-checkout .ami-checkout-form,
  .woocommerce-checkout .ami-checkout,
  .woocommerce-checkout .woocommerce-NoticeGroup-checkout,
  .woocommerce-checkout .woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ami-checkout-card,
  .ami-checkout-summary {
    width: 100%;
    padding: 20px;
  }

  .ami-checkout-data {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .ami-checkout-data .ami-checkout-card__title {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .ami-checkout-fields {
    grid-template-columns: 1fr;
  }

  .ami-checkout-data .ami-checkout-fields {
    gap: 18px;
  }

  .ami-checkout-summary-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ami-checkout-summary-item__thumb {
    width: 52px;
    height: 52px;
  }
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error,
body.woocommerce-checkout ul.woocommerce-error {
  display: flex !important;
  width: 100% !important;
  max-width: 1200px !important;
  min-height: 0 !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  flex-direction: column !important;
  color: #6f656c !important;
  background: #fff7fb !important;
  border: 1px solid #eadbd3 !important;
  border-top: 1px solid #eadbd3 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  list-style: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error::before,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error::after,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error::before,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error::after,
body.woocommerce-checkout ul.woocommerce-error::before,
body.woocommerce-checkout ul.woocommerce-error::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  content: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error li,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error li,
body.woocommerce-checkout ul.woocommerce-error li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 0 0 13px !important;
  color: #6f656c !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  list-style: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error li::before,
body.woocommerce-checkout ul.woocommerce-error li::before {
  position: absolute !important;
  top: 0.62em !important;
  left: 0 !important;
  display: block !important;
  width: 4px !important;
  height: 4px !important;
  margin: 0 !important;
  background: #8b1538 !important;
  border: 0 !important;
  border-radius: 50% !important;
  content: "" !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error a,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error a,
body.woocommerce-checkout ul.woocommerce-error a {
  color: inherit !important;
  text-decoration: none !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout ul.woocommerce-error strong,
body.woocommerce-checkout .woocommerce-notices-wrapper ul.woocommerce-error strong,
body.woocommerce-checkout ul.woocommerce-error strong {
  color: #1a1118 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .woocommerce-NoticeGroup-checkout::before,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout::after,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout > div[role="alert"]::before,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout > div[role="alert"]::after,
body.woocommerce-checkout .woocommerce-notices-wrapper::before,
body.woocommerce-checkout .woocommerce-notices-wrapper::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  content: none !important;
}

/* WooCommerce: Moje konto i pobrania po zamówieniu */
.ami-account,
.ami-account *,
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce *,
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .woocommerce-order * {
  box-sizing: border-box;
}

.ami-account,
body.woocommerce-account #main-content .container,
body.woocommerce-account #main-content .et_pb_row,
body.woocommerce-account .entry-content .woocommerce,
body.woocommerce-order-received #main-content .container,
body.woocommerce-order-received #main-content .et_pb_row,
body.woocommerce-order-received .entry-content .woocommerce {
  width: 100% !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.woocommerce-account #main-content .container::before,
body.woocommerce-order-received #main-content .container::before {
  display: none !important;
  content: none !important;
}

.ami-account,
.ami-account > .woocommerce,
body.woocommerce-account .entry-content .woocommerce,
body.woocommerce-order-received .woocommerce-order {
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body.logged-in .ami-account > .woocommerce,
body.logged-in.woocommerce-account .entry-content .woocommerce {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ami-account .woocommerce > .woocommerce-notices-wrapper,
.ami-account .woocommerce > .woocommerce-message,
.ami-account .woocommerce > .woocommerce-error,
.ami-account .woocommerce > .woocommerce-info,
body.woocommerce-account .entry-content .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .entry-content .woocommerce > .woocommerce-message,
body.woocommerce-account .entry-content .woocommerce > .woocommerce-error,
body.woocommerce-account .entry-content .woocommerce > .woocommerce-info {
  grid-column: 1 / -1;
}

.ami-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-direction: column;
  list-style: none;
}

.ami-account .woocommerce-MyAccount-navigation li,
body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ami-account .woocommerce-MyAccount-navigation a,
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  color: #5f555b;
  background: transparent;
  border-radius: 7px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.ami-account .woocommerce-MyAccount-navigation a:hover,
.ami-account .woocommerce-MyAccount-navigation a:focus,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  color: #8b1538;
  background: #fbf8f6;
  text-decoration: none;
}

.ami-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: #ffffff;
  background: #8b1538;
}

.ami-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-account .woocommerce-MyAccount-content > p,
body.woocommerce-account .woocommerce-MyAccount-content > p {
  margin: 0 0 14px;
  color: #4a3f44;
  font-size: 14px;
  line-height: 1.65;
}

.ami-account .woocommerce-MyAccount-content > p:last-child,
body.woocommerce-account .woocommerce-MyAccount-content > p:last-child {
  margin-bottom: 0;
}

.ami-account h2,
.ami-account h3,
body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3,
body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-order-received .woocommerce-order h3,
body.woocommerce-order-received .woocommerce-order h4 {
  margin: 0 0 18px;
  padding: 0;
  color: #1a1118;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

body.woocommerce-account:not(.logged-in) .entry-content .woocommerce,
body:not(.logged-in) .ami-account > .woocommerce {
  max-width: 980px !important;
}

.ami-account .woocommerce .u-columns,
body.woocommerce-account .woocommerce .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ami-account .woocommerce .u-column1,
.ami-account .woocommerce .u-column2,
body.woocommerce-account .woocommerce .u-column1,
body.woocommerce-account .woocommerce .u-column2 {
  width: 100% !important;
  margin: 0;
}

.ami-account .woocommerce form.login,
.ami-account .woocommerce form.register,
.ami-account .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.lost_reset_password {
  margin: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
  box-shadow: none;
}

.ami-account .woocommerce form.edit-account,
.ami-account .woocommerce form.woocommerce-EditAccountForm,
.ami-account .woocommerce form.edit-address,
body.woocommerce-account .woocommerce form.edit-account,
body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce form.edit-address {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.ami-account .woocommerce form .form-row,
body.woocommerce-account .woocommerce form .form-row {
  margin: 0 0 16px;
  padding: 0;
}

.ami-account .woocommerce form .form-row-first,
.ami-account .woocommerce form .form-row-last,
body.woocommerce-account .woocommerce form .form-row-first,
body.woocommerce-account .woocommerce form .form-row-last {
  width: calc(50% - 8px);
}

.ami-account .woocommerce form label,
body.woocommerce-account .woocommerce form label {
  display: block;
  margin: 0 0 7px;
  color: #4b4248;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.ami-account .woocommerce form .required,
body.woocommerce-account .woocommerce form .required {
  color: #4b4248;
  text-decoration: none;
}

.ami-account .woocommerce input.input-text,
.ami-account .woocommerce textarea,
.ami-account .woocommerce select,
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #211a20;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 46px;
}

.ami-account .woocommerce textarea,
body.woocommerce-account .woocommerce textarea {
  min-height: 110px;
  padding-top: 12px;
  line-height: 1.5;
  resize: vertical;
}

.ami-account .woocommerce select,
body.woocommerce-account .woocommerce select {
  background-color: #faf7f4;
}

.ami-account .woocommerce input.input-text:focus,
.ami-account .woocommerce textarea:focus,
.ami-account .woocommerce select:focus,
body.woocommerce-account .woocommerce input.input-text:focus,
body.woocommerce-account .woocommerce textarea:focus,
body.woocommerce-account .woocommerce select:focus {
  border-color: #8b1538;
  outline: none;
}

.ami-account .woocommerce input.input-text::placeholder,
.ami-account .woocommerce textarea::placeholder,
body.woocommerce-account .woocommerce input.input-text::placeholder,
body.woocommerce-account .woocommerce textarea::placeholder {
  color: #8a7880;
}

.ami-account .woocommerce .woocommerce-form__label-for-checkbox,
body.woocommerce-account .woocommerce .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #6f656c;
  font-size: 13px;
}

.ami-account .woocommerce input[type="checkbox"].input-checkbox,
body.woocommerce-account .woocommerce input[type="checkbox"].input-checkbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #faf7f4 center / 10px 10px no-repeat;
  border: 1px solid #eae0dc;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
  vertical-align: middle;
}

.ami-account .woocommerce input[type="checkbox"].input-checkbox:checked,
body.woocommerce-account .woocommerce input[type="checkbox"].input-checkbox:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5.15 4.15 7.2 8.15 2.8' fill='none' stroke='%238b1538' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ami-account .woocommerce a,
body.woocommerce-account .woocommerce a,
body.woocommerce-order-received .woocommerce-order a {
  color: #8b1538;
  text-decoration: none;
}

.ami-account .woocommerce a:hover,
.ami-account .woocommerce a:focus,
body.woocommerce-account .woocommerce a:hover,
body.woocommerce-account .woocommerce a:focus,
body.woocommerce-order-received .woocommerce-order a:hover,
body.woocommerce-order-received .woocommerce-order a:focus {
  color: #75102f;
  text-decoration: none;
}

.ami-account .woocommerce a.button,
.ami-account .woocommerce button.button,
.ami-account .woocommerce input.button,
.ami-account .woocommerce .woocommerce-button,
.ami-account .woocommerce .woocommerce-Button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce .woocommerce-button,
body.woocommerce-account .woocommerce .woocommerce-Button,
body.woocommerce-order-received .woocommerce-order a.button,
body.woocommerce-order-received .woocommerce-order button.button,
body.woocommerce-order-received .woocommerce-order .button {
  display: inline-flex !important;
  min-height: 42px;
  margin: 0;
  padding: 0 18px !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: #8b1538 !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none !important;
  transform: none !important;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.ami-account .woocommerce a.button::before,
.ami-account .woocommerce a.button::after,
.ami-account .woocommerce button.button::before,
.ami-account .woocommerce button.button::after,
.ami-account .woocommerce input.button::before,
.ami-account .woocommerce input.button::after,
.ami-account .woocommerce .woocommerce-button::before,
.ami-account .woocommerce .woocommerce-button::after,
.ami-account .woocommerce .woocommerce-Button::before,
.ami-account .woocommerce .woocommerce-Button::after,
body.woocommerce-account .woocommerce a.button::before,
body.woocommerce-account .woocommerce a.button::after,
body.woocommerce-account .woocommerce button.button::before,
body.woocommerce-account .woocommerce button.button::after,
body.woocommerce-account .woocommerce input.button::before,
body.woocommerce-account .woocommerce input.button::after,
body.woocommerce-account .woocommerce .woocommerce-button::before,
body.woocommerce-account .woocommerce .woocommerce-button::after,
body.woocommerce-account .woocommerce .woocommerce-Button::before,
body.woocommerce-account .woocommerce .woocommerce-Button::after,
body.woocommerce-order-received .woocommerce-order a.button::before,
body.woocommerce-order-received .woocommerce-order a.button::after,
body.woocommerce-order-received .woocommerce-order button.button::before,
body.woocommerce-order-received .woocommerce-order button.button::after,
body.woocommerce-order-received .woocommerce-order .button::before,
body.woocommerce-order-received .woocommerce-order .button::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  content: none !important;
  opacity: 0 !important;
}

.ami-account .woocommerce a.button:hover,
.ami-account .woocommerce a.button:focus,
.ami-account .woocommerce button.button:hover,
.ami-account .woocommerce button.button:focus,
.ami-account .woocommerce input.button:hover,
.ami-account .woocommerce input.button:focus,
.ami-account .woocommerce .woocommerce-button:hover,
.ami-account .woocommerce .woocommerce-button:focus,
.ami-account .woocommerce .woocommerce-Button:hover,
.ami-account .woocommerce .woocommerce-Button:focus,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce a.button:focus,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce button.button:focus,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .woocommerce input.button:focus,
body.woocommerce-account .woocommerce .woocommerce-button:hover,
body.woocommerce-account .woocommerce .woocommerce-button:focus,
body.woocommerce-account .woocommerce .woocommerce-Button:hover,
body.woocommerce-account .woocommerce .woocommerce-Button:focus,
body.woocommerce-order-received .woocommerce-order a.button:hover,
body.woocommerce-order-received .woocommerce-order a.button:focus,
body.woocommerce-order-received .woocommerce-order button.button:hover,
body.woocommerce-order-received .woocommerce-order button.button:focus,
body.woocommerce-order-received .woocommerce-order .button:hover,
body.woocommerce-order-received .woocommerce-order .button:focus {
  color: #ffffff !important;
  background: #75102f !important;
  transform: none !important;
}

.ami-account .woocommerce .woocommerce-MyAccount-downloads-file.button,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-downloads-file.button,
body.woocommerce-order-received .woocommerce-order .woocommerce-MyAccount-downloads-file.button {
  min-height: 38px;
  padding: 0 16px !important;
  background: #8b1538 !important;
  font-size: 12px !important;
  line-height: 38px !important;
}

.ami-account .woocommerce-message,
.ami-account .woocommerce-info,
.ami-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error,
body.woocommerce-order-received .woocommerce-message,
body.woocommerce-order-received .woocommerce-info,
body.woocommerce-order-received .woocommerce-error {
  width: 100%;
  min-height: 0;
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  color: #6f656c;
  background: #fffdfb;
  border: 1px solid #eadbd3 !important;
  border-top: 1px solid #eadbd3 !important;
  border-radius: 10px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  list-style: none;
}

.ami-account .woocommerce-error,
body.woocommerce-account .woocommerce-error,
body.woocommerce-order-received .woocommerce-error {
  background: #fff7fb;
}

.ami-account .woocommerce-message::before,
.ami-account .woocommerce-info::before,
.ami-account .woocommerce-error::before,
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before,
body.woocommerce-order-received .woocommerce-message::before,
body.woocommerce-order-received .woocommerce-info::before,
body.woocommerce-order-received .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

.ami-account .woocommerce-error li,
body.woocommerce-account .woocommerce-error li,
body.woocommerce-order-received .woocommerce-error li {
  position: relative;
  margin: 0 0 6px !important;
  padding: 0 0 0 13px !important;
  color: #6f656c;
  list-style: none;
}

.ami-account .woocommerce-error li:last-child,
body.woocommerce-account .woocommerce-error li:last-child,
body.woocommerce-order-received .woocommerce-error li:last-child {
  margin-bottom: 0 !important;
}

.ami-account .woocommerce-error li::before,
body.woocommerce-account .woocommerce-error li::before,
body.woocommerce-order-received .woocommerce-error li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  background: #8b1538;
  border-radius: 50%;
  content: "";
}

.ami-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-order-received .woocommerce-order table.shop_table {
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  color: #4a3f44;
  background: #ffffff;
  border: 1px solid #eadbd3 !important;
  border-collapse: separate;
  border-radius: 12px;
  border-spacing: 0;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.ami-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-order-received .woocommerce-order table.shop_table th {
  padding: 14px 16px;
  color: #1a1118;
  background: #fbf8f6;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.ami-account .woocommerce table.shop_table td,
body.woocommerce-account .woocommerce table.shop_table td,
body.woocommerce-order-received .woocommerce-order table.shop_table td {
  padding: 14px 16px;
  color: #4a3f44;
  border: 0;
  border-top: 1px solid #f1e6e0;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: middle;
}

.ami-account .woocommerce table.shop_table tbody tr:first-child td,
body.woocommerce-account .woocommerce table.shop_table tbody tr:first-child td,
body.woocommerce-order-received .woocommerce-order table.shop_table tbody tr:first-child td {
  border-top: 0;
}

.ami-account .woocommerce table.shop_table .amount,
.ami-account .woocommerce table.shop_table .amount bdi,
.ami-account .woocommerce table.shop_table .woocommerce-Price-currencySymbol,
body.woocommerce-account .woocommerce table.shop_table .amount,
body.woocommerce-account .woocommerce table.shop_table .amount bdi,
body.woocommerce-account .woocommerce table.shop_table .woocommerce-Price-currencySymbol,
body.woocommerce-order-received .woocommerce-order table.shop_table .amount,
body.woocommerce-order-received .woocommerce-order table.shop_table .amount bdi,
body.woocommerce-order-received .woocommerce-order table.shop_table .woocommerce-Price-currencySymbol {
  color: #8b1538;
  font-weight: 800;
}

.ami-account .woocommerce table.shop_table td.actions,
body.woocommerce-account .woocommerce table.shop_table td.actions {
  background: #fbf8f6;
}

.ami-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ami-account .woocommerce-Address,
body.woocommerce-account .woocommerce-Address {
  width: 100% !important;
  margin: 0;
  padding: 18px;
  background: #fbf8f6;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-account .woocommerce-Address-title,
body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}

.ami-account .woocommerce-Address-title h3,
body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
  font-size: 15px;
}

.ami-account .woocommerce-Address-title a,
body.woocommerce-account .woocommerce-Address-title a {
  color: #8b1538;
  font-size: 12px;
  font-weight: 800;
}

.ami-account address,
body.woocommerce-account address,
body.woocommerce-order-received .woocommerce-order address {
  margin: 0;
  padding: 16px;
  color: #4a3f44;
  background: #fbf8f6;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

.ami-account fieldset,
body.woocommerce-account fieldset {
  margin: 20px 0 0;
  padding: 18px;
  background: #fbf8f6;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-account fieldset legend,
body.woocommerce-account fieldset legend {
  padding: 0 8px;
  color: #1a1118;
  font-size: 13px;
  font-weight: 800;
}

.ami-account .woocommerce-password-strength,
body.woocommerce-account .woocommerce-password-strength {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.35;
}

.ami-account .woocommerce-LostPassword,
body.woocommerce-account .woocommerce-LostPassword {
  margin: 12px 0 0;
  font-size: 13px;
}

body.woocommerce-order-received .woocommerce-order {
  display: block;
}

body.woocommerce-order-received .woocommerce-notice--success {
  margin: 0 0 18px;
  padding: 16px 18px;
  color: #1e7848;
  background: #e5f7ed;
  border: 1px solid #cdebd9;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

body.woocommerce-order-received #p24-payment-status,
body.woocommerce-order-received .woocommerce-order-downloads,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 18px 0 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

body.woocommerce-order-received #p24-payment-status h4 {
  margin-bottom: 8px;
}

body.woocommerce-order-received #p24-payment-status p,
body.woocommerce-order-received #p24-status-message {
  margin: 0;
  color: #6f656c;
  font-size: 13px;
  line-height: 1.5;
}

body.woocommerce-order-received #p24-status-message strong {
  color: #1e7848 !important;
  font-weight: 800;
}

body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
  list-style: none;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
  margin: 0;
  padding: 14px 16px;
  color: #8a7880;
  border-right: 1px solid #f1e6e0;
  border-bottom: 1px solid #f1e6e0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 5px;
  color: #1a1118;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

body.woocommerce-order-received .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body.woocommerce-order-received .woocommerce-column {
  width: 100% !important;
}

@media (max-width: 980px) {
  body.logged-in .ami-account > .woocommerce,
  body.logged-in.woocommerce-account .entry-content .woocommerce {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ami-account .woocommerce-MyAccount-navigation ul,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ami-account,
  body.woocommerce-account #main-content .container,
  body.woocommerce-account #main-content .et_pb_row,
  body.woocommerce-account .entry-content .woocommerce,
  body.woocommerce-order-received #main-content .container,
  body.woocommerce-order-received #main-content .et_pb_row,
  body.woocommerce-order-received .entry-content .woocommerce {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }

  body.woocommerce-account .ami-account,
  body.woocommerce-account .ami-account > .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ami-account .woocommerce-MyAccount-navigation ul,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ami-account .woocommerce-MyAccount-navigation a,
  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 40px;
    padding: 0 11px;
    font-size: 12px;
  }

  .ami-account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content,
  .ami-account .woocommerce form.login,
  .ami-account .woocommerce form.register,
  .ami-account .woocommerce form.lost_reset_password,
  body.woocommerce-account .woocommerce form.login,
  body.woocommerce-account .woocommerce form.register,
  body.woocommerce-account .woocommerce form.lost_reset_password,
  body.woocommerce-order-received #p24-payment-status,
  body.woocommerce-order-received .woocommerce-order-downloads,
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 20px;
    border-radius: 12px;
  }

  .ami-account .woocommerce .u-columns,
  body.woocommerce-account .woocommerce .u-columns,
  .ami-account .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-order-received .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  .ami-account .woocommerce form .form-row-first,
  .ami-account .woocommerce form .form-row-last,
  body.woocommerce-account .woocommerce form .form-row-first,
  body.woocommerce-account .woocommerce form .form-row-last {
    float: none;
    width: 100%;
  }

  .ami-account .woocommerce input.input-text,
  .ami-account .woocommerce textarea,
  .ami-account .woocommerce select,
  body.woocommerce-account .woocommerce input.input-text,
  body.woocommerce-account .woocommerce textarea,
  body.woocommerce-account .woocommerce select {
    min-height: 44px;
    font-size: 14px;
    line-height: 44px;
  }

  .ami-account .woocommerce table.shop_table_responsive,
  body.woocommerce-account .woocommerce table.shop_table_responsive {
    border: 0 !important;
    border-radius: 0;
    background: transparent;
  }

  .ami-account .woocommerce table.shop_table_responsive thead,
  body.woocommerce-account .woocommerce table.shop_table_responsive thead {
    display: none;
  }

  .ami-account .woocommerce table.shop_table_responsive tbody tr,
  body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr {
    display: block;
    margin: 0 0 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #eadbd3;
    border-radius: 10px;
  }

  .ami-account .woocommerce table.shop_table_responsive tr td,
  body.woocommerce-account .woocommerce table.shop_table_responsive tr td {
    display: flex !important;
    gap: 14px;
    padding: 8px 0 !important;
    align-items: center;
    justify-content: space-between;
    border: 0 !important;
    text-align: right !important;
  }

  .ami-account .woocommerce table.shop_table_responsive tr td::before,
  body.woocommerce-account .woocommerce table.shop_table_responsive tr td::before {
    color: #211a20;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    content: attr(data-title);
  }

  .ami-account .woocommerce table.shop_table_responsive tr td.download-file,
  body.woocommerce-account .woocommerce table.shop_table_responsive tr td.download-file {
    align-items: stretch;
    flex-direction: column;
    text-align: left !important;
  }

  .ami-account .woocommerce table.shop_table_responsive tr td.download-file .button,
  body.woocommerce-account .woocommerce table.shop_table_responsive tr td.download-file .button,
  body.woocommerce-order-received .woocommerce-order .woocommerce-MyAccount-downloads-file.button {
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-order table.shop_table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview li {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .ami-account .woocommerce-MyAccount-navigation ul,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .ami-account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content,
  .ami-account .woocommerce form.login,
  .ami-account .woocommerce form.register,
  .ami-account .woocommerce form.lost_reset_password,
  body.woocommerce-account .woocommerce form.login,
  body.woocommerce-account .woocommerce form.register,
  body.woocommerce-account .woocommerce form.lost_reset_password {
    padding: 18px 16px;
  }

  .ami-account .woocommerce a.button,
  .ami-account .woocommerce button.button,
  .ami-account .woocommerce input.button,
  .ami-account .woocommerce .woocommerce-button,
  .ami-account .woocommerce .woocommerce-Button,
  body.woocommerce-account .woocommerce a.button,
  body.woocommerce-account .woocommerce button.button,
  body.woocommerce-account .woocommerce input.button,
  body.woocommerce-account .woocommerce .woocommerce-button,
  body.woocommerce-account .woocommerce .woocommerce-Button {
    width: 100%;
  }
}

/* Doprecyzowanie realnego HTML-a /moje-konto/ */
.ami-account .screen-reader-text,
body.woocommerce-account .woocommerce .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body.woocommerce-account:not(.logged-in) .entry-content .woocommerce,
body:not(.logged-in) .ami-account > .woocommerce {
  width: 100% !important;
  max-width: 1200px !important;
}

.ami-account #customer_login,
body.woocommerce-account .woocommerce #customer_login {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin: 0 !important;
  align-items: stretch;
}

.ami-account #customer_login .u-column1,
.ami-account #customer_login .u-column2,
body.woocommerce-account .woocommerce #customer_login .u-column1,
body.woocommerce-account .woocommerce #customer_login .u-column2 {
  float: none !important;
  clear: none !important;
  display: flex;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 28px;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 12px;
}

.ami-account #customer_login h2,
body.woocommerce-account .woocommerce #customer_login h2 {
  margin: 0 0 18px;
  color: #1a1118;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.ami-account #customer_login form.login,
.ami-account #customer_login form.register,
body.woocommerce-account .woocommerce #customer_login form.login,
body.woocommerce-account .woocommerce #customer_login form.register {
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: column;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ami-account #customer_login form > p,
body.woocommerce-account .woocommerce #customer_login form > p {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: #4a3f44;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.ami-account #customer_login form > p:not(.form-row),
body.woocommerce-account .woocommerce #customer_login form > p:not(.form-row) {
  color: #6f656c;
  font-size: 13px;
}

.ami-account #customer_login form.register .woocommerce-privacy-policy-text,
body.woocommerce-account .woocommerce #customer_login form.register .woocommerce-privacy-policy-text {
  margin: 2px 0 18px;
  color: #6f656c;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.58;
}

.ami-account #customer_login form.register .woocommerce-privacy-policy-text p,
body.woocommerce-account .woocommerce #customer_login form.register .woocommerce-privacy-policy-text p {
  margin: 0;
}

.ami-account #customer_login form.register .woocommerce-form-row:last-child,
body.woocommerce-account .woocommerce #customer_login form.register .woocommerce-form-row:last-child {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.ami-account #customer_login label,
body.woocommerce-account .woocommerce #customer_login label {
  margin: 0 0 8px;
  color: #4b4248;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.ami-account #customer_login label .required,
body.woocommerce-account .woocommerce #customer_login label .required {
  color: #4b4248;
}

.ami-account #customer_login input.input-text,
body.woocommerce-account .woocommerce #customer_login input.input-text {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #211a20;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  box-shadow: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 48px;
}

.ami-account #customer_login input.input-text:focus,
body.woocommerce-account .woocommerce #customer_login input.input-text:focus {
  border-color: #8b1538;
  outline: none;
}

.ami-account #customer_login .password-input,
body.woocommerce-account .woocommerce #customer_login .password-input {
  position: relative;
  display: block;
  width: 100%;
}

.ami-account #customer_login .password-input input.input-text,
body.woocommerce-account .woocommerce #customer_login .password-input input.input-text {
  padding-right: 46px;
}

.ami-account #customer_login .show-password-input,
body.woocommerce-account .woocommerce #customer_login .show-password-input {
  position: absolute;
  top: 50%;
  right: 13px;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transform: translateY(-50%) !important;
}

.ami-account #customer_login .show-password-input::before,
.ami-account #customer_login .show-password-input::after,
body.woocommerce-account .woocommerce #customer_login .show-password-input::before,
body.woocommerce-account .woocommerce #customer_login .show-password-input::after {
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: #211a20 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

.ami-account #customer_login .woocommerce-form-login .form-row:nth-of-type(3),
body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login .form-row:nth-of-type(3) {
  display: flex;
  gap: 12px;
  margin-top: 2px !important;
  align-items: center;
  flex-wrap: wrap;
}

.ami-account #customer_login .woocommerce-form-login__rememberme,
body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login__rememberme {
  display: inline-flex;
  gap: 8px;
  margin: 0 !important;
  order: 2;
  align-items: center;
  color: #8a7880;
  font-size: 13px;
  line-height: 1.2;
}

.ami-account #customer_login .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login__submit {
  order: 1;
}

.ami-account #customer_login input[type="checkbox"],
body.woocommerce-account .woocommerce #customer_login input[type="checkbox"] {
  display: inline-block;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #faf7f4 center / 10px 10px no-repeat;
  border: 1px solid #eae0dc;
  border-radius: 3px;
  box-shadow: none;
}

.ami-account #customer_login input[type="checkbox"]:checked,
body.woocommerce-account .woocommerce #customer_login input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5.15 4.15 7.2 8.15 2.8' fill='none' stroke='%238b1538' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ami-account #customer_login .lost_password,
body.woocommerce-account .woocommerce #customer_login .lost_password {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ami-account #customer_login .lost_password a,
body.woocommerce-account .woocommerce #customer_login .lost_password a {
  color: #8b1538;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ami-account #customer_login .button,
body.woocommerce-account .woocommerce #customer_login .button {
  min-height: 42px;
  padding: 0 20px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 42px !important;
}

@media (max-width: 980px) {
  .ami-account #customer_login,
  body.woocommerce-account .woocommerce #customer_login {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ami-account #customer_login .u-column1,
  .ami-account #customer_login .u-column2,
  body.woocommerce-account .woocommerce #customer_login .u-column1,
  body.woocommerce-account .woocommerce #customer_login .u-column2 {
    padding: 24px;
  }
}

@media (max-width: 700px) {
  .ami-account #customer_login,
  body.woocommerce-account .woocommerce #customer_login {
    gap: 20px;
  }

  .ami-account #customer_login .u-column1,
  .ami-account #customer_login .u-column2,
  body.woocommerce-account .woocommerce #customer_login .u-column1,
  body.woocommerce-account .woocommerce #customer_login .u-column2 {
    padding: 20px 16px;
  }

  .ami-account #customer_login h2,
  body.woocommerce-account .woocommerce #customer_login h2 {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .ami-account #customer_login .woocommerce-form-login .form-row:nth-of-type(3),
  body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login .form-row:nth-of-type(3) {
    flex-direction: column;
    align-items: stretch;
  }

  .ami-account #customer_login .woocommerce-form-login__rememberme,
  body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login__rememberme {
    order: 1;
  }

  .ami-account #customer_login .woocommerce-form-login__submit,
  body.woocommerce-account .woocommerce #customer_login .woocommerce-form-login__submit {
    order: 2;
  }

  .ami-account #customer_login .button,
  body.woocommerce-account .woocommerce #customer_login .button {
    width: 100%;
  }
}

/* Finalny układ realnych stron Moje konto: logowanie i panel użytkownika */
body.woocommerce-account .entry-content .woocommerce .woocommerce {
  display: block !important;
}

body.woocommerce-account .ami-account > .woocommerce::before,
body.woocommerce-account .ami-account > .woocommerce::after,
body.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce::before,
body.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce::after,
body.woocommerce-account .woocommerce:has(> #customer_login)::before,
body.woocommerce-account .woocommerce:has(> #customer_login)::after,
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after,
body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after,
body.woocommerce-account #customer_login.col2-set::before,
body.woocommerce-account #customer_login.col2-set::after,
body.woocommerce-account #customer_login.u-columns::before,
body.woocommerce-account #customer_login.u-columns::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clear: none !important;
  content: none !important;
}

body.logged-in.woocommerce-account .ami-account > .woocommerce,
body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce,
body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  align-items: start !important;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
}

body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-notices-wrapper:empty,
body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-notices-wrapper:empty,
body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper:empty {
  display: none !important;
}

body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-notices-wrapper:not(:empty),
body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-notices-wrapper:not(:empty),
body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper:not(:empty) {
  grid-column: 1 / -1 !important;
}

body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-MyAccount-navigation,
body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-MyAccount-navigation,
body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  background: #ffffff !important;
  border: 1px solid #eadbd3 !important;
  border-radius: 12px !important;
}

body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-MyAccount-content,
body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-MyAccount-content,
body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  border: 1px solid #eadbd3 !important;
  border-radius: 12px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: column !important;
  list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  align-items: center !important;
  color: #5f555b !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  color: #8b1538 !important;
  background: #fbf8f6 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:focus {
  color: #ffffff !important;
  background: #8b1538 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
  display: flex !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 20px !important;
  padding: 14px 16px !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #6f656c !important;
  background: #fffdfb !important;
  border: 1px solid #eadbd3 !important;
  border-top: 1px solid #eadbd3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error .button {
  flex: 0 0 auto !important;
  order: 2 !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  line-height: 36px !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #eadbd3 !important;
  border-collapse: separate !important;
  border-radius: 12px !important;
  border-spacing: 0 !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table thead th {
  padding: 14px 16px !important;
  color: #1a1118 !important;
  background: #fbf8f6 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tbody th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tbody td {
  padding: 14px 16px !important;
  color: #4a3f44 !important;
  background: #ffffff !important;
  border: 0 !important;
  border-top: 1px solid #f1e6e0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:first-child th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:first-child td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:first-child th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:first-child td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tbody tr:first-child th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tbody tr:first-child td {
  border-top: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table__product-name a {
  color: #8b1538 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status {
  color: #1e7848 !important;
  font-weight: 700 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .amount,
body.woocommerce-account .woocommerce-MyAccount-content .amount bdi,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Price-currencySymbol {
  color: #8b1538 !important;
  font-weight: 800 !important;
}

body:not(.logged-in).woocommerce-account .ami-account > .woocommerce,
body:not(.logged-in).woocommerce-account .entry-content .et_pb_code_inner > .woocommerce,
body:not(.logged-in).woocommerce-account .woocommerce:has(> #customer_login) {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body:not(.logged-in).woocommerce-account .ami-account #customer_login,
body:not(.logged-in).woocommerce-account .entry-content .et_pb_code_inner > .woocommerce #customer_login,
body:not(.logged-in).woocommerce-account .woocommerce #customer_login {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 !important;
  align-items: stretch !important;
}

body:not(.logged-in).woocommerce-account .woocommerce #customer_login .u-column1,
body:not(.logged-in).woocommerce-account .woocommerce #customer_login .u-column2 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 980px) {
  body.logged-in.woocommerce-account .ami-account > .woocommerce,
  body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce,
  body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation),
  body:not(.logged-in).woocommerce-account .ami-account #customer_login,
  body:not(.logged-in).woocommerce-account .entry-content .et_pb_code_inner > .woocommerce #customer_login,
  body:not(.logged-in).woocommerce-account .woocommerce #customer_login {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-MyAccount-content,
  body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-MyAccount-content,
  body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
    grid-column: 1 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.logged-in.woocommerce-account .ami-account,
  body.logged-in.woocommerce-account .entry-content .woocommerce,
  body:not(.logged-in).woocommerce-account .ami-account,
  body:not(.logged-in).woocommerce-account .entry-content .woocommerce {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.logged-in.woocommerce-account .ami-account > .woocommerce,
  body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce,
  body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation),
  body:not(.logged-in).woocommerce-account .ami-account > .woocommerce,
  body:not(.logged-in).woocommerce-account .entry-content .et_pb_code_inner > .woocommerce,
  body:not(.logged-in).woocommerce-account .woocommerce:has(> #customer_login) {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.logged-in.woocommerce-account .ami-account > .woocommerce > .woocommerce-MyAccount-content,
  body.logged-in.woocommerce-account .entry-content .et_pb_code_inner > .woocommerce > .woocommerce-MyAccount-content,
  body.logged-in.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
    padding: 20px 16px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 40px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error .button {
    width: 100% !important;
    order: 2 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive {
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive thead {
    display: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive th,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr {
    margin: 0 0 12px !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #eadbd3 !important;
    border-radius: 10px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr td,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr th {
    display: flex !important;
    gap: 14px !important;
    padding: 8px 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 0 !important;
    text-align: right !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr td::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr th::before {
    color: #211a20 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    content: attr(data-title) !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions {
    align-items: stretch !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before {
    margin-bottom: 2px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions .button {
    width: 100% !important;
  }
}

@media (max-width: 460px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr !important;
  }
}

/* Sklep: shortcode [ami_shop_products] */
.ami-shop,
.ami-shop * {
  box-sizing: border-box;
}

.ami-shop {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #211a20;
  font-family: "Inter", Arial, sans-serif;
}

.ami-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.ami-shop-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8ddd8;
  border-radius: 10px;
  flex-direction: column;
}

.ami-shop-card__image-link {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  padding: 22px;
  align-items: center;
  justify-content: center;
  background: #faf7f4;
  border-bottom: 1px solid #f1e6e0;
  text-decoration: none;
}

.ami-shop-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.ami-shop-card__image--empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8dfd6, #f7f2ee);
  border-radius: 8px;
}

.ami-shop-card__content {
  display: flex;
  min-height: 0;
  padding: 18px 20px 20px;
  gap: 12px;
  flex: 1;
  flex-direction: column;
}

.ami-shop-card__category {
  margin: 0;
  color: #b30e2f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ami-shop-card__title {
  margin: 0;
  padding: 0;
  color: #161116;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.ami-shop-card__title a,
.ami-shop-card__title a:hover,
.ami-shop-card__title a:focus {
  color: inherit;
  text-decoration: none;
}

.ami-shop-card__excerpt {
  margin: 0;
  color: #4a3f44;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.ami-shop-card__footer {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
  align-items: flex-end;
  justify-content: space-between;
}

.ami-shop-card__price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #8b1538;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.ami-shop-card__price .amount,
.ami-shop-card__price .amount bdi,
.ami-shop-card__price .amount *,
.ami-shop-card__price .woocommerce-Price-currencySymbol {
  color: #8b1538 !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ami-shop-card__price del {
  margin-bottom: 3px;
  color: #8a7880;
  opacity: 1;
}

.ami-shop-card__price del .amount,
.ami-shop-card__price del .amount bdi,
.ami-shop-card__price del .amount *,
.ami-shop-card__price del .woocommerce-Price-currencySymbol {
  color: #8a7880 !important;
  font-size: 12px;
  font-weight: 500;
}

.ami-shop-card__price ins {
  background: transparent;
  text-decoration: none;
}

.woocommerce .ami-shop-card__button,
.woocommerce .ami-shop-card__button:hover,
.woocommerce .ami-shop-card__button:focus,
.ami-shop-card__button,
.ami-shop-card__button:hover,
.ami-shop-card__button:focus {
  display: inline-flex !important;
  min-height: 42px;
  margin: 0;
  padding: 0 18px !important;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: #8b1538 !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transform: none !important;
  transition: background-color 0.16s ease;
}

.woocommerce .ami-shop-card__button::before,
.woocommerce .ami-shop-card__button::after,
.woocommerce .ami-shop-card__button:hover::before,
.woocommerce .ami-shop-card__button:hover::after,
.woocommerce .ami-shop-card__button:focus::before,
.woocommerce .ami-shop-card__button:focus::after,
.ami-shop-card__button::before,
.ami-shop-card__button::after,
.ami-shop-card__button:hover::before,
.ami-shop-card__button:hover::after,
.ami-shop-card__button:focus::before,
.ami-shop-card__button:focus::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.woocommerce .ami-shop-card__button:hover,
.woocommerce .ami-shop-card__button:focus,
.ami-shop-card__button:hover,
.ami-shop-card__button:focus {
  background: #75102f !important;
}

.ami-shop-card__button-arrow {
  display: inline-block;
  margin-left: 2px;
  font-size: 12px;
  line-height: 1;
}

.woocommerce .ami-shop-card .added_to_cart.wc-forward,
.ami-shop-card .added_to_cart.wc-forward {
  display: inline-flex;
  min-height: 34px;
  margin-top: 10px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  color: #8b1538;
  background: #fff7fb;
  border: 1px solid #eadbd3;
  border-radius: 7px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 34px;
  text-decoration: none;
}

.woocommerce .ami-shop-card .added_to_cart.wc-forward::before,
.woocommerce .ami-shop-card .added_to_cart.wc-forward::after,
.ami-shop-card .added_to_cart.wc-forward::before,
.ami-shop-card .added_to_cart.wc-forward::after {
  display: none !important;
  content: none !important;
}

.ami-shop-pagination {
  display: flex;
  width: 100%;
  margin-top: 34px;
  justify-content: center;
  font-family: "Inter", Arial, sans-serif;
}

.ami-shop-pagination ul.page-numbers {
  display: flex !important;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: row !important;
  flex-wrap: wrap;
  list-style: none !important;
}

.ami-shop-pagination li {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ami-shop-pagination li::before,
.ami-shop-pagination li::after {
  display: none !important;
  content: none !important;
}

.ami-shop-pagination a.page-numbers,
.ami-shop-pagination span.page-numbers {
  display: inline-flex;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #5f555b;
  background: #fffdfb;
  border: 1px solid #eadbd3;
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.ami-shop-pagination a.page-numbers.prev,
.ami-shop-pagination a.page-numbers.next,
.ami-shop-pagination span.page-numbers.prev,
.ami-shop-pagination span.page-numbers.next {
  width: auto;
  min-width: 104px;
  padding: 0 18px;
  white-space: nowrap;
}

.ami-shop-pagination .page-numbers.current {
  color: #ffffff;
  background: #8b1538;
  border-color: #8b1538;
}

.ami-shop-pagination a.page-numbers:hover,
.ami-shop-pagination a.page-numbers:focus {
  color: #8b1538;
  background: #fff7fb;
  border-color: #d9c9c1;
  text-decoration: none;
}

.ami-shop__empty {
  margin: 0;
  padding: 18px 20px;
  color: #6f656c;
  background: #ffffff;
  border: 1px solid #eadbd3;
  border-radius: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 980px) {
  .ami-shop__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .ami-shop {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .ami-shop__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ami-shop-card {
    min-height: 0;
  }

  .ami-shop-card__image-link {
    aspect-ratio: 1 / 0.72;
    padding: 18px;
  }

  .ami-shop-card__content {
    padding: 16px 16px 18px;
  }

  .ami-shop-card__title {
    font-size: 16px;
  }

  .ami-shop-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .woocommerce .ami-shop-card__button,
  .ami-shop-card__button {
    width: 100%;
  }

  .ami-shop-pagination {
    margin-top: 28px;
  }

  .ami-shop-pagination ul.page-numbers {
    gap: 8px;
  }

  .ami-shop-pagination a.page-numbers.prev,
  .ami-shop-pagination a.page-numbers.next,
  .ami-shop-pagination span.page-numbers.prev,
  .ami-shop-pagination span.page-numbers.next {
    min-width: 96px;
  }
}

/* Przywraca ikony Divi w zwykłych przyciskach poza koszykiem i checkoutem. */
body:not(.woocommerce-cart):not(.woocommerce-checkout) #page-container .et_pb_section .et_pb_button[data-icon]::after,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #page-container .et_pb_section .et_pb_button[data-icon]:hover::after,
body:not(.woocommerce-cart):not(.woocommerce-checkout) #page-container .et_pb_section .et_pb_button[data-icon]:focus::after {
  display: inline-block !important;
  content: attr(data-icon) !important;
  opacity: 1 !important;
  position: static !important;
  margin-left: 0.35em !important;
  font-family: "ETmodules" !important;
  font-size: inherit !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}