/* Coffee Si! — style WooCommerce (zastępują domyślne arkusze WooCommerce). */

.mfx-shop { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3.5rem, 9vw, 7rem); }
.mfx-shop .page-title, .mfx-shop .product_title { margin: 0 0 0.4em; font-size: clamp(2.75rem, 7vw, 5.5rem); font-stretch: 80%; line-height: 0.92; letter-spacing: -0.035em; }

.woocommerce-breadcrumb, .rank-math-breadcrumb p { margin: 0 0 1.25rem; font-size: 0.9375rem; font-weight: 600; }
.woocommerce-breadcrumb a, .rank-math-breadcrumb a { color: inherit; }
.rank-math-breadcrumb .separator { margin-inline: 0.35em; opacity: 0.6; }

/* pasek nad listą */
.woocommerce-result-count { float: left; margin: 0 0 1.5rem; font-weight: 600; line-height: 3rem; }
.woocommerce-ordering { float: right; margin: 0 0 1.5rem; }
.mfx-shop select {
  min-height: 3rem; padding: 0 2.5rem 0 1.25rem; border: 2px solid var(--mfx-ink); border-radius: 999px;
  background-color: var(--mfx-white); color: var(--mfx-ink); font-weight: 600;
}

/* siatka produktów */
ul.products { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 64rem) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 44rem) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } }
ul.products li.product {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: 0;
  background: var(--mfx-white); border: 2px solid var(--mfx-ink); border-radius: 1.5rem; overflow: hidden;
  transition: transform 200ms var(--mfx-ease-out);
}
@media (hover: hover) and (pointer: fine) { ul.products li.product:hover { transform: translateY(-5px); } }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; color: inherit; text-decoration: none; padding-bottom: 0.75rem; }
ul.products li.product img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 0.5rem; background: var(--mfx-sky); border-bottom: 2px solid var(--mfx-ink); }
ul.products li.product .mfx-tag, ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .mfx-notes, ul.products li.product .mfx-card-beans, ul.products li.product .price { margin-inline: 1rem; }
.mfx-tag { align-self: flex-start; padding: 0.15rem 0.75rem; border: 2px solid var(--mfx-ink); border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; background: var(--mfx-sky); }
ul.products li.product .woocommerce-loop-product__title { margin-block: 0; font-size: 1.5rem; font-weight: 800; font-stretch: 84%; line-height: 1.02; letter-spacing: -0.02em; }
.mfx-notes { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0; margin-block: 0; list-style: none; }
.mfx-notes li { padding: 0 0.625rem; border: 1.5px solid var(--mfx-line); border-radius: 999px; font-size: 0.875rem; line-height: 1.6; }
.mfx-card-beans { align-self: flex-start; margin-block: 0.25rem; }
ul.products li.product .button, ul.products li.product .added_to_cart { margin: 0 1rem 1rem; }

.price { font-size: 1.25rem; font-weight: 800; font-stretch: 90%; color: var(--mfx-ink); }
.price del { font-weight: 500; opacity: 0.55; margin-right: 0.35em; }
.price ins { text-decoration: none; color: var(--mfx-cherry); }
.onsale {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; padding: 0.2rem 0.75rem; transform: rotate(-4deg);
  background: var(--mfx-cherry); color: var(--mfx-white); border: 2px solid var(--mfx-ink); border-radius: 999px; font-size: 0.875rem; font-weight: 800; line-height: 1.4;
}

.mfx-flag {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; padding: 0.2rem 0.75rem; transform: rotate(3deg);
  background: var(--mfx-ember); color: var(--mfx-ink); border: 2px solid var(--mfx-ink); border-radius: 999px; font-size: 0.875rem; font-weight: 800; line-height: 1.4;
}

/* profil sensoryczny w opisie produktu */
.mfx-profile { display: grid; gap: 0.625rem; max-width: 26rem; margin-bottom: 1.5rem; }
.mfx-profile__row { display: grid; grid-template-columns: 7rem 1fr; align-items: center; gap: 1rem; font-weight: 600; }
.mfx-profile__row i { display: block; height: 0.75rem; border: 2px solid var(--mfx-ink); border-radius: 999px; background: linear-gradient(90deg, var(--mfx-ember) calc(var(--v) / 4 * 100%), var(--mfx-white) 0); }

/* przyciski WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link), .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0 1.75rem;
  border: 2px solid var(--mfx-ink); border-radius: 999px; background: var(--mfx-cobalt); color: var(--mfx-white);
  box-shadow: 0 4px 0 var(--mfx-ink); font: 700 1.0625rem/1 var(--mfx-font); text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--mfx-ease-out), box-shadow 120ms var(--mfx-ease-out), background-color 160ms;
}
.single_add_to_cart_button, .woocommerce button.single_add_to_cart_button { background: var(--mfx-ember) !important; color: var(--mfx-ink) !important; }
ul.products li.product .button { background: var(--mfx-white); color: var(--mfx-ink); }
.woocommerce a.button:active, .woocommerce button.button:active, .woocommerce input.button:active, .wc-block-components-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mfx-ink); }
@media (hover: hover) and (pointer: fine) {
  .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--mfx-cobalt-deep); color: var(--mfx-white); }
  .single_add_to_cart_button:hover { background: var(--mfx-ember-deep) !important; }
  ul.products li.product .button:hover { background: var(--mfx-sky); color: var(--mfx-ink); }
}
.woocommerce button.button.disabled, .woocommerce button.button:disabled { opacity: 0.45; cursor: not-allowed; }
.added_to_cart { font-weight: 700; }

/* pojedynczy produkt */
/* Góra produktu (galeria + informacje) we własnym kontenerze, żeby galeria zatrzymywała się na końcu informacji i nie wchodziła na opis. */
.mfx-product-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.mfx-product-top > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.mfx-product-top > .summary { grid-column: 2; grid-row: 1; }
.single-product div.product > .woocommerce-tabs { margin-top: clamp(2rem, 5vw, 4rem); }
.single-product .woocommerce-product-gallery { position: relative; margin: 0; background: var(--mfx-sky); border: 2px solid var(--mfx-ink); border-radius: 2rem; overflow: hidden; }
.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .woocommerce-product-gallery img { display: block; width: 100%; }
/* Powiększanie zdjęcia na pełny ekran: okrągły przycisk z ikoną lupy (rysowaną w CSS, bez emotikonu z zewnętrznego serwera). */
.woocommerce-product-gallery__trigger {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 2px solid var(--mfx-ink); border-radius: 50%; background: var(--mfx-white); color: var(--mfx-ink); box-shadow: 0 3px 0 var(--mfx-ink);
  font-size: 0; line-height: 0; text-decoration: none; cursor: zoom-in;
  transition: transform 120ms var(--mfx-ease-out), box-shadow 120ms var(--mfx-ease-out), background-color 160ms;
}
.woocommerce-product-gallery__trigger > span { display: none; }
.woocommerce-product-gallery__trigger::before {
  content: ""; width: 1.5rem; height: 1.5rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-gallery__trigger:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--mfx-ink); }
@media (hover: hover) and (pointer: fine) { .woocommerce-product-gallery__trigger:hover { background: var(--mfx-sky); } }
.woocommerce-product-gallery__trigger:focus-visible { outline: 3px solid var(--mfx-ember); outline-offset: 3px; }
/* Desktop: prawy dolny róg głównego zdjęcia (nad miniaturami). Galeria jest siatką: zdjęcie i przycisk w tej samej komórce. */
@media (min-width: 52.0625rem) {
  .single-product .woocommerce-product-gallery { display: grid; grid-template-columns: minmax(0, 1fr); }
  .single-product .woocommerce-product-gallery > .flex-viewport, .single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-area: 1 / 1; min-width: 0; }
  .single-product .woocommerce-product-gallery > .flex-control-thumbs { grid-area: 2 / 1; }
  .single-product .woocommerce-product-gallery > .woocommerce-product-gallery__trigger {
    position: relative; inset: auto; grid-area: 1 / 1; align-self: end; justify-self: end; margin: 0 1rem 1rem 0;
  }
}
.flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 0; padding: 0.5rem; list-style: none; border-top: 2px solid var(--mfx-ink); background: var(--mfx-white); }
.summary .price { margin: 0 0 1rem; font-size: 2rem; }
.summary .woocommerce-product-details__short-description { margin-bottom: 1.25rem; font-size: 1.125rem; }
.mfx-single-roast { display: flex; align-items: center; gap: 0.875rem; margin: 0 0 1.5rem; font-weight: 700; }
.mfx-single-roast .mfx-beans i { width: 1.75rem; height: 2.05rem; }
form.cart { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.5rem; }
form.cart .quantity input.qty { width: 5rem; min-height: 3.25rem; border: 2px solid var(--mfx-ink); border-radius: 999px; background: var(--mfx-white); text-align: center; font-weight: 700; color: var(--mfx-ink); }
form.cart .variations { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
form.cart .variations tr { display: block; margin-bottom: 1rem; }
form.cart .variations th, form.cart .variations td { padding: 0.25rem 0; text-align: left; display: block; }
form.cart .variations label { font-weight: 700; font-size: 1.0625rem; }
form.cart .variations select { width: 100%; max-width: 26rem; }
/* Galeria „płynie” przy przewijaniu aż do dołu prawej kolumny z informacjami (na szerokich ekranach). */
@media (min-width: 52.0625rem) {
  .mfx-product-top > .woocommerce-product-gallery {
    position: sticky; align-self: start;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 6.5rem); /* pod przyklejonym nagłówkiem */
  }
}

/* gramatura: pola do zaznaczenia */
.mfx-opts { display: grid; gap: 0.625rem; max-width: 30rem; }
.mfx-opt { position: relative; display: block; cursor: pointer; }
.mfx-opt input { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; }
.mfx-opt__box {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.125rem 1rem;
  padding: 0.875rem 1rem 0.875rem 3.25rem; border: 2px solid var(--mfx-ink); border-radius: 1.25rem; background: var(--mfx-white);
  transition: background-color 160ms, transform 120ms var(--mfx-ease-out), box-shadow 120ms var(--mfx-ease-out);
}
.mfx-opt__box::before {
  content: ""; position: absolute; left: 1rem; top: 1.0625rem; width: 1.5rem; height: 1.5rem; border: 2px solid var(--mfx-ink); border-radius: 50%; background: var(--mfx-white);
  transition: background-color 160ms, box-shadow 160ms;
}
.mfx-opt input:checked + .mfx-opt__box { background: var(--mfx-sky); box-shadow: 0 4px 0 var(--mfx-ink); }
.mfx-opt input:checked + .mfx-opt__box::before { background: var(--mfx-ember); box-shadow: inset 0 0 0 4px var(--mfx-white); }
.mfx-opt input:focus-visible + .mfx-opt__box { outline: 3px solid var(--mfx-ember); outline-offset: 3px; }
.mfx-opt:active .mfx-opt__box { transform: translateY(2px); }
.mfx-opt__name { font-size: 1.1875rem; font-weight: 800; font-stretch: 88%; letter-spacing: -0.01em; }
.mfx-opt__price { font-weight: 800; font-stretch: 90%; font-size: 1.125rem; text-align: right; }
.mfx-opt__save { grid-column: 1 / -1; font-size: 0.9375rem; font-weight: 700; color: var(--mfx-cobalt-deep); }
@media (hover: hover) and (pointer: fine) { .mfx-opt:hover .mfx-opt__box { background: var(--mfx-mist); } .mfx-opt input:checked + .mfx-opt__box:hover { background: var(--mfx-sky); } }
.mfx-opts__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reset_variations { display: block; width: fit-content; margin-top: 0.5rem; font-size: 0.9375rem; font-weight: 700; }
form.variations_form { display: block; }
.single_variation_wrap { display: grid; gap: 0.75rem; }
.woocommerce-variation-price .price { font-size: 2rem; margin: 0; }
.woocommerce-variation-description p { margin: 0; }
.woocommerce-variation-price { display: grid; gap: 0.125rem; }
.mfx-unit { display: block; font-weight: 600; font-size: 1rem; color: var(--mfx-ink); opacity: 0.75; }
.woocommerce-variation-price .mfx-unit .woocommerce-Price-amount { font-weight: 600; }
/* Po wyborze wariantu zakres „Od …” nad formularzem jest zbędny (cena wariantu jest niżej). */
.summary.has-variation > .price { display: none; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.single_add_to_cart_button.disabled, .single_add_to_cart_button.wc-variation-selection-needed { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.product_meta { display: grid; gap: 0.25rem; padding-top: 1rem; border-top: 2px solid var(--mfx-ink); font-size: 0.9375rem; }

.woocommerce-tabs { margin-top: 2rem; }
.woocommerce-tabs ul.tabs { display: flex; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 0.625rem 1.25rem; border: 2px solid var(--mfx-ink); border-radius: 999px; color: var(--mfx-ink); font-weight: 700; text-decoration: none; }
.woocommerce-tabs ul.tabs li.active a { background: var(--mfx-ink); color: var(--mfx-white); }
.woocommerce-tabs .panel > h2 { font-size: 1.75rem; }
.related.products > h2, .upsells.products > h2 { margin: 3.5rem 0 1.25rem; font-size: clamp(2rem, 5vw, 3.5rem); font-stretch: 80%; }
@media (max-width: 52rem) {
  .mfx-product-top { grid-template-columns: 1fr; }
  .mfx-product-top > .woocommerce-product-gallery, .mfx-product-top > .summary { grid-column: 1; grid-row: auto; }
  .mfx-product-top > .summary { margin-top: 1.5rem; }
}

/* ---------- koszyk wysuwany ---------- */
.mfx-lock { overflow: hidden; }
.mfx-drawer { position: fixed; inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s linear 220ms; }
.mfx-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mfx-drawer__overlay { position: absolute; inset: 0; background: rgba(22, 22, 25, 0.6); opacity: 0; transition: opacity 220ms ease-out; }
.mfx-drawer.is-open .mfx-drawer__overlay { opacity: 1; }
.mfx-drawer__panel {
  position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(27rem, 100%); height: 100%;
  background: var(--mfx-white); border-left: 2px solid var(--mfx-ink);
  transform: translateX(100%); transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
.mfx-drawer.is-open .mfx-drawer__panel { transform: none; transition-duration: 340ms; }
.mfx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0.75rem 0.75rem 1.25rem; border-bottom: 2px solid var(--mfx-ink); }
.mfx-drawer__head h2 { margin: 0; font-size: 2rem; font-stretch: 80%; letter-spacing: -0.03em; }
.mfx-drawer .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.mfx-drawer__empty { display: grid; gap: 1.25rem; justify-items: start; padding: 1.5rem 1.25rem; font-size: 1.125rem; }
.mfx-drawer__empty p { margin: 0; }
.mfx-ship { padding: 1rem 1.25rem; background: var(--mfx-sky); border-bottom: 2px solid var(--mfx-ink); }
.mfx-ship p { margin: 0 0 0.5rem; font-size: 0.9375rem; }
.mfx-ship__bar { height: 0.875rem; border: 2px solid var(--mfx-ink); border-radius: 999px; background: var(--mfx-white); overflow: hidden; }
.mfx-ship__bar i { display: block; height: 100%; width: var(--p); background: var(--mfx-ember); transition: width 320ms var(--mfx-ease-out); }
.mfx-mini { flex: 1; margin: 0; padding: 0 1.25rem; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.mfx-mini__item { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 0.875rem; padding: 1rem 0; border-bottom: 1px solid var(--mfx-line); transition: opacity 160ms; }
.mfx-mini__item.is-removing { opacity: 0.35; pointer-events: none; }
.mfx-mini__img { display: block; line-height: 0; border: 2px solid var(--mfx-ink); border-radius: 1rem; overflow: hidden; background: var(--mfx-sky); }
.mfx-mini__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mfx-mini__name { display: block; font-size: 1.125rem; font-weight: 800; font-stretch: 85%; line-height: 1.1; color: var(--mfx-ink); text-decoration: none; }
.mfx-mini__meta { display: block; margin-top: 0.125rem; font-size: 0.875rem; line-height: 1.35; }
.mfx-mini__qty { display: block; margin-top: 0.25rem; font-weight: 600; }
.mfx-mini__remove { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--mfx-ink); font-size: 1.75rem; line-height: 1; text-decoration: none; transition: background-color 160ms, transform 120ms var(--mfx-ease-out); }
.mfx-mini__remove:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .mfx-mini__remove:hover { background: var(--mfx-sky); } }
.mfx-drawer__foot { display: grid; gap: 0.75rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--mfx-ink); background: var(--mfx-white); }
.mfx-drawer__sub { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 1.125rem; }
.mfx-drawer__sub strong { font-size: 1.75rem; font-weight: 800; font-stretch: 85%; }
.mfx-drawer__foot .mfx-btn { width: 100%; }
.added_to_cart { display: none; }
.single_add_to_cart_button.loading, ul.products .button.loading { opacity: 0.6; pointer-events: none; }

/* ---------- pływający pasek „Dodaj do koszyka” ---------- */
.mfx-sticky-atc {
  position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--mfx-white); border-top: 2px solid var(--mfx-ink);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%); visibility: hidden; transition: transform 220ms var(--mfx-ease-out), visibility 0s linear 220ms;
}
.mfx-sticky-atc.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.mfx-sticky-atc__inner { display: flex; align-items: center; gap: 1rem; padding-block: 0.75rem; }
.mfx-sticky-atc__img { flex: none; width: 3.25rem; line-height: 0; border: 2px solid var(--mfx-ink); border-radius: 0.875rem; overflow: hidden; background: var(--mfx-sky); }
.mfx-sticky-atc__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mfx-sticky-atc__info { display: grid; min-width: 0; margin-right: auto; }
.mfx-sticky-atc__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.125rem; font-weight: 800; font-stretch: 85%; }
.mfx-sticky-atc__info .price { font-size: 1rem; }
.mfx-sticky-atc .mfx-btn { flex: none; min-height: 3rem; }
@media (max-width: 34rem) {
  .mfx-sticky-atc__img { display: none; }
  .mfx-sticky-atc .mfx-btn { padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mfx-drawer__panel, .mfx-drawer.is-open .mfx-drawer__panel { transform: none; transition: none; }
  .mfx-drawer__panel { opacity: 0; transition: opacity 160ms; }
  .mfx-drawer.is-open .mfx-drawer__panel { opacity: 1; }
  .mfx-sticky-atc { transform: none; transition: none; }
}

/* oceny */
.star-rating { display: inline-block; position: relative; line-height: 1; vertical-align: middle; }
.star-rating::before { content: "★★★★★"; color: var(--mfx-line); letter-spacing: 0.12em; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; font-size: 0; }
.star-rating span::before { content: "★★★★★"; font-size: 1rem; color: var(--mfx-ember); letter-spacing: 0.12em; }

/* komunikaty */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem; list-style: none;
  background: var(--mfx-sky); border: 2px solid var(--mfx-ink); border-radius: 1.25rem; font-weight: 600;
}
.woocommerce-error { background: #ffe3e6; }
.woocommerce-message .button { order: 2; margin-left: auto; }

/* formularze */
.mfx-shop input[type="text"], .mfx-shop input[type="email"], .mfx-shop input[type="tel"], .mfx-shop input[type="password"],
.mfx-shop input[type="number"], .mfx-shop input[type="search"], .mfx-shop textarea {
  width: 100%; min-height: 3.25rem; padding: 0.625rem 1.25rem; border: 2px solid var(--mfx-ink); border-radius: 1rem;
  background: var(--mfx-white); color: var(--mfx-ink);
}
.mfx-shop textarea { min-height: 8rem; }
.mfx-shop input:focus, .mfx-shop textarea:focus, .mfx-shop select:focus { outline: 3px solid var(--mfx-ember); outline-offset: 2px; }
.mfx-shop label { font-weight: 700; }
.form-row { margin-bottom: 1rem; }

/* konto i tabele */
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 0.625rem 1.25rem; border: 2px solid var(--mfx-ink); border-radius: 999px; font-weight: 700; color: var(--mfx-ink); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--mfx-ink); color: var(--mfx-white); }
.mfx-shop table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--mfx-ink); border-radius: 1.25rem; overflow: hidden; }
.mfx-shop table.shop_table th, .mfx-shop table.shop_table td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--mfx-line); }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 0.375rem; justify-content: center; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span { display: block; min-width: 3rem; padding: 0.625rem 0.75rem; text-align: center; border: 2px solid var(--mfx-ink); border-radius: 999px; color: var(--mfx-ink); text-decoration: none; font-weight: 700; }
.woocommerce-pagination .current { background: var(--mfx-ink); color: var(--mfx-white); }

/* koszyk i kasa (bloki WooCommerce) */
.wc-block-components-text-input input, .wc-block-components-select-input select, .wc-block-components-combobox input { border: 2px solid var(--mfx-ink) !important; border-radius: 1rem !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--mfx-ember) !important; color: var(--mfx-ink) !important; }
.wc-block-components-product-price, .wc-block-components-totals-item__value { font-weight: 800; }
.wc-block-components-sidebar-layout { margin-top: 1rem; }
