@charset "UTF-8";
/*!
 * ╔═════════════════════════════════════════╗
 * ║   NODEMADS — E-COMMERCE                  ║
 * ║   Sklep WooCommerce (sklepesencja.pl)    ║
 * ╚═════════════════════════════════════════╝
 *    Wzorzec układu: czasnaherbate.net
 */
/** BREAKPOINTS MEDIA **/
/**
 * EXAMPLE:
 * input: @include media('xs') {...}
 * output: @media (min-width: 576px) {...}
 */
/**
   * EXAMPLE:
   * input: @include media-down('xs') {...}
   * output: @media (max-width: 576px) {...}
   */
/* ── Design system — focus ring + pole formularza ── */
/* Fonts — Inter (tekst) + Playfair Display (serif italic w nagłówkach), jak czasnaherbate.net */
/* Breakpoints */
/* Colors — sklep: granat / beż / złoto (branding logo Esencja) */
/* Layout */
/* ── Design system — formularze, focus, interakcje ── */
/* Fonty ladowane przez assets/css/fonts.css (@import Google Fonts: DM Sans + DM Serif Text) */
/* Baza sklepu — jasne tło, stała typografia */
:root {
  --site-padding: 20px;
}

html {
  font-size: 16px;
}

body {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  background-color: #ffffff;
  color: #161616;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: #161616;
  margin: 0 0 0.5em;
}

a {
  color: #161616;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover {
  color: #333333;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  accent-color: #111111;
}

.container {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--site-padding);
}

::selection {
  background: #333333;
  color: #ffffff;
}

/* Wspólne elementy sekcji */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
  color: #111111;
}
.section-title em {
  font-style: normal;
  color: inherit;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid #333333;
  padding-bottom: 2px;
}

.section--cream {
  background: #f7f7f7;
}

.page-title {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 18px;
}

.page-content {
  padding-block: 34px 60px;
  font-size: 15.5px;
  color: #161616;
}
.page-content img {
  border-radius: 3px;
}

.single-post {
  max-width: 760px;
}
.single-post__img {
  margin: 18px 0 26px;
  border-radius: 3px;
  overflow: hidden;
}

.not-found {
  text-align: center;
  padding: 60px 0;
}

/* Paginacja wpisów */
.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pagination .page-numbers {
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 14px;
  background: #ffffff;
}
.pagination .page-numbers.current {
  background: #161616;
  color: #f7f7f7;
  border-color: #161616;
}

/* Scrollbar — jasny, cienki */
html {
  scrollbar-width: thin;
  scrollbar-color: #bdbdbd #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

/**
	* Normalize base on:
	* ! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize
	* and:
	* https://mattbrictson.com/blog/css-normalize-and-reset
	*
	*/
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
:root {
  line-height: 1.5;
  color-scheme: light only;
}

*,
::before,
::after {
  box-sizing: border-box;
}

*:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: normal;
  line-height: 1.15;
  /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%;
  /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  -moz-tab-size: 4;
  /* 3. Use a more readable tab size (opinionated). */
  tab-size: 4;
  /* 3 */
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  /* Additional font settings */
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

/*
Sections
========
*/
body {
  margin: 0;
  /* Remove the margin in all browsers. */
  color: #161616;
}

main {
  display: block;
}

/*
links
=====
*/
a {
  text-decoration: none;
}

/*
Lists in menu
========
*/
nav ol,
nav ul {
  list-style: none;
  padding-inline: 0;
}

/*
Images
========
*/
img {
  display: block;
  max-inline-size: 100%;
}

/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
}

/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
  text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: 700;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif, ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
}

/*
Forms
=====
*/
/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type=button],
[type=button],
[type=reset],
[type=submit],
::-webkit-file-upload-button {
  -webkit-appearance: button;
}

input[type=date],
input[type=time],
input[type=datetime-local],
input[type=month] {
  -webkit-appearance: listbox;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[hidden] {
  display: none !important;
}

/**
Remove the inner border and padding in Firefox.
*/
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/
:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/
:-moz-ui-invalid {
  box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search],
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/*
Other things
===========
*/
address {
  font-style: normal;
}

/* ============================================================
   Top bar — ciemny, wyśrodkowany rotator komunikatów (jak moyamatcha)
   ============================================================ */
.topbar {
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 9px;
}
.topbar__msgs {
  display: flex;
  align-items: center;
  min-height: 18px;
  text-align: center;
}
.topbar__msg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80vw;
}
.topbar__msg.is-hidden {
  display: none;
}
.topbar a.topbar__msg:hover {
  color: #ffffff;
}
.topbar__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.15s ease;
}
.topbar__nav svg {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
}
.topbar__nav:hover {
  color: #ffffff;
}
.topbar__nav--next svg {
  transform: rotate(-90deg);
}

body.topbar-hidden .topbar {
  display: none;
}

/* ============================================================
   Header
   ============================================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.admin-bar .app-header {
  top: 32px;
}

.app-header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 20px;
}

.app-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.app-header__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}
.app-header__logo-text {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 30px;
  color: #111111;
  letter-spacing: 0.01em;
  line-height: 1;
}
.app-header__logo-text em {
  color: #333333;
  font-style: italic;
}
.app-header__logo-sub {
  display: block;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #666666;
  margin-top: 3px;
}

/* wyszukiwarka */
.header-search {
  flex: 1 1 auto;
  max-width: 640px;
  margin-inline: auto;
}
.header-search form {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}
.header-search form:focus-within {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
}
.header-search input[type=search] {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 8px 8px 8px 22px;
  background: transparent;
  color: #161616;
  min-width: 0;
  font-size: 14px;
}
.header-search input[type=search]:focus {
  box-shadow: none;
  outline: 0;
}
.header-search button {
  border: 0;
  background: #111111;
  color: #ffffff;
  padding: 0 20px;
  margin: 2px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.header-search button:hover {
  background: #333333;
}
.header-search svg {
  width: 18px;
  height: 18px;
}

/* ---------- live-search dropdown ---------- */
.has-suggest {
  position: relative;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 320;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
  padding: 8px;
  max-height: 440px;
  overflow-y: auto;
}
.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.search-suggest__item:hover {
  background: #f7f7f7;
}
.search-suggest__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f6f6f6;
  overflow: hidden;
}
.search-suggest__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.search-suggest__name {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #161616;
  line-height: 1.3;
}
.search-suggest__price {
  font-size: 13px;
  font-weight: 700;
  color: #161616;
  white-space: nowrap;
}
.search-suggest__all {
  display: block;
  margin-top: 6px;
  padding: 11px 10px 6px;
  border-top: 1px solid #dddddd;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #666666;
}
.search-suggest__all:hover {
  color: #111111;
}
.search-suggest__empty {
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: #666666;
}
.search-suggest--fixed {
  position: fixed;
  left: 16px;
  right: 16px;
}

/* prawa strona */
.app-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ikony w okrągłych outline'owych kółkach — styl moyamatcha */
.app-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  color: #161616;
  background: #ffffff;
  padding: 0;
  position: relative;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.app-header__action svg {
  width: 19px;
  height: 19px;
}
.app-header__action:hover {
  color: #161616;
  border-color: #111111;
}

.app-header__action-label {
  display: none;
}

.app-header__search-toggle {
  display: none;
}

.app-header__cart {
  position: relative;
}

.app-header__cart-total {
  display: none;
}

.app-header__cart-count,
.app-header__fav-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* burger (mobile) + przycisk „Menu” (desktop) */
.app-header__burger {
  display: none;
}

/* mini-koszyk */
.mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 340px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
  padding: 18px;
  display: none;
  z-index: 300;
}
.app-header__cart:hover .mini-cart, .app-header__cart:focus-within .mini-cart {
  display: block;
}
.mini-cart .widget_shopping_cart_content {
  font-size: 13.5px;
}
.mini-cart .woocommerce-mini-cart {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  max-height: 320px;
  overflow: auto;
}
.mini-cart .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #dddddd;
  align-items: center;
}
.mini-cart .woocommerce-mini-cart-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}
.mini-cart .woocommerce-mini-cart-item .remove_from_cart_button {
  color: #333333;
  font-size: 17px;
  align-self: start;
}
.mini-cart .woocommerce-mini-cart-item .quantity {
  color: #666666;
  font-size: 12.5px;
}
.mini-cart .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: 10px 0;
}
.mini-cart .woocommerce-mini-cart__buttons {
  display: flex;
  gap: 8px;
}
.mini-cart .woocommerce-mini-cart__buttons .button {
  flex: 1;
  text-align: center;
  border-radius: 999px;
}
.mini-cart .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: #666666;
  padding: 14px 0;
}

/* ============================================================
   Nawigacja kategorii — pasek + mega-panel (hover)
   ============================================================ */
.cat-nav {
  background: #ffffff;
  position: relative;
}
.cat-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-nav__row {
  position: static;
}
.cat-nav .menu {
  display: flex;
  flex-wrap: wrap;
}
.cat-nav .menu > li {
  position: static;
}
.cat-nav .menu > li > a {
  display: block;
  padding: 15px 12px;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.cat-nav .menu > li:first-child > a {
  padding-left: 0;
}
.cat-nav .menu > li:hover > a,
.cat-nav .menu > li > a:hover,
.cat-nav .menu > li.current-menu-item > a,
.cat-nav .menu > li.current-menu-ancestor > a {
  color: #333333;
}
.cat-nav .submenu-toggle {
  display: none;
}
.cat-nav .menu > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  box-shadow: 0 34px 44px -16px rgba(0, 0, 0, 0.2);
  padding: 26px max(24px, (100% - 1360px) / 2 + 20px) 30px;
  display: block;
  column-width: 200px;
  column-gap: 44px;
  max-height: 72vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 210;
}
.cat-nav .menu > li > .sub-menu > li {
  break-inside: avoid;
  margin-bottom: 18px;
}
.cat-nav .menu > li.is-open > .sub-menu,
.cat-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cat-nav .sub-menu > li > a {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: #111111;
  padding: 0 0 10px;
}
.cat-nav .sub-menu > li > a:hover {
  color: #333333;
}
.cat-nav .sub-menu .sub-menu {
  position: static;
  display: block;
  box-shadow: none;
  border: 0;
  padding: 0;
}
.cat-nav .sub-menu .sub-menu a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: #666666;
  font-weight: 500;
}
.cat-nav .sub-menu .sub-menu a:hover {
  color: #333333;
}
.cat-nav .sub-menu .sub-menu .sub-menu {
  display: none;
}

/* ============================================================
   Mobilna szukajka
   ============================================================ */
.mobile-search {
  display: none;
  padding: 0 20px;
  border-top: 1px solid #dddddd;
  background: #ffffff;
}
.mobile-search form {
  display: flex;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  overflow: hidden;
}
.mobile-search input {
  flex: 1;
  border: 0;
  padding: 10px 8px 10px 20px;
  outline: 0;
  box-shadow: none;
  min-width: 0;
}
.mobile-search input:focus {
  box-shadow: none;
}
.mobile-search button {
  border: 0;
  background: #333333;
  color: #ffffff;
  padding: 0 20px;
  margin: 3px;
  border-radius: 999px;
  display: flex;
  align-items: center;
}
.mobile-search button svg {
  width: 18px;
  height: 18px;
}

body.search-open .mobile-search {
  display: block;
  max-height: 90px;
  padding-block: 12px;
}

/* ============================================================
   Mobilny drawer nawigacji
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
}
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding-bottom: 30px;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #dddddd;
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 20px;
  color: #111111;
}
.mobile-nav__close {
  border: 0;
  background: none;
  padding: 6px;
}
.mobile-nav__close svg {
  width: 20px;
  height: 20px;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav .menu > li > a {
  display: block;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 15.5px;
  border-bottom: 1px solid #dddddd;
}
.mobile-nav .menu li {
  position: relative;
}
.mobile-nav .menu li ul {
  display: none;
  background: #f7f7f7;
}
.mobile-nav .menu li.open > ul {
  display: block;
}
.mobile-nav .menu li ul a {
  display: block;
  padding: 10px 20px 10px 32px;
  font-size: 14px;
}
.mobile-nav .menu li ul ul a {
  padding-left: 48px;
  color: #666666;
  font-size: 13.5px;
}
.mobile-nav .submenu-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 49px;
  border: 0;
  background: none;
  color: #666666;
}
.mobile-nav .submenu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.mobile-nav .menu li.open > .submenu-toggle svg {
  transform: rotate(180deg);
}
.mobile-nav__extras {
  padding: 18px 20px;
  border-top: 1px solid #dddddd;
  margin-top: 10px;
}
.mobile-nav__extras a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 14.5px;
}
.mobile-nav__extras a svg {
  width: 20px;
  height: 20px;
}

body.nav-open {
  overflow: hidden;
}
body.nav-open .mobile-nav {
  visibility: visible;
}
body.nav-open .mobile-nav__backdrop {
  opacity: 1;
}
body.nav-open .mobile-nav__panel {
  transform: translateX(0);
}

/* ============================================================
   Responsywność headera
   ============================================================ */
@media (max-width: 992px) {
  .topbar__nav {
    display: none;
  }
  .app-header__burger {
    display: block;
    order: -1;
    border: 0;
    background: none;
    padding: 8px;
  }
  .app-header__burger svg {
    width: 26px;
    height: 26px;
  }
  .app-header__row {
    gap: 12px;
    padding-block: 10px;
  }
  .app-header__logo img {
    height: 40px;
    width: auto;
  }
  .app-header__logo-text {
    font-size: 24px;
  }
  .header-search {
    display: none;
  }
  .app-header__actions {
    margin-left: auto;
    gap: 8px;
  }
  .app-header__search-toggle {
    display: inline-flex;
  }
  .mobile-search {
    display: block;
    max-height: 0;
    padding-block: 0;
    border-top: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
  }
  body.search-open .mobile-search {
    border-top: 1px solid #dddddd;
  }
  .app-header__action--salony {
    display: none;
  }
  .cat-nav {
    display: none;
  }
  .admin-bar .app-header {
    top: 0;
  }
  .admin-bar {
    position: relative;
  }
  #wpadminbar {
    position: fixed !important;
  }
}
@media (max-width: 640px) {
  .topbar {
    font-size: 11px;
  }
  .topbar__row {
    padding-inline: 12px;
  }
  .mini-cart {
    width: min(340px, 100vw - 40px);
    position: fixed;
    right: 20px;
    top: 70px;
  }
}
/* ============================================================
   Stopka — czasnaherbate.net: newsletter (limonka) + ciemnozielony footer
   ============================================================ */
.app-footer {
  margin-top: 30px;
  /* newsletter — limonkowa karta */
}
.app-footer .newsletter {
  background: #f5f5f5;
  border-radius: 3px;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  margin-bottom: 0;
  align-items: center;
}
.app-footer .newsletter__gfx {
  height: 100%;
  min-height: 180px;
}
.app-footer .newsletter__gfx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-footer .newsletter__body {
  padding: 28px 34px 28px 30px;
}
.app-footer .newsletter__title {
  font-size: clamp(21px, 2.3vw, 28px);
  color: #111111;
  margin-bottom: 4px;
}
.app-footer .newsletter__sub {
  color: #111111;
  font-size: 14px;
  margin-bottom: 16px;
}
.app-footer .newsletter__sub strong {
  color: #111111;
}
.app-footer .newsletter__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.app-footer .newsletter__form input[type=email] {
  flex: 1;
  min-width: 220px;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  padding: 11px 20px;
  font-size: 14px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.app-footer .newsletter__form input[type=email]:hover {
  border-color: #bdbdbd;
}
.app-footer .newsletter__form input[type=email]:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
  outline: none;
}
.app-footer .newsletter__consent {
  flex-basis: 100%;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: #111111;
}
.app-footer .newsletter__consent input {
  margin-top: 3px;
}
.app-footer .newsletter__consent a {
  text-decoration: underline;
  color: #111111;
}
.app-footer {
  /* główny blok — ciemna zieleń */
}
.app-footer__main {
  background: #f5f5f5;
  color: #111111;
  margin-top: 26px;
  padding-block: 38px 26px;
}
.app-footer__main .container {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 1fr 1fr;
  gap: 30px;
}
.app-footer__main a {
  color: #666666;
}
.app-footer__main a:hover {
  color: #111111;
}
.app-footer .footer-col__title {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-style: normal;
  color: #111111;
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid #dddddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-footer .footer-col__title svg {
  display: none;
  width: 15px;
  height: 15px;
}
.app-footer .footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.app-footer .footer-col__list li {
  margin: 0;
}
.app-footer .footer-col__list a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
}
.app-footer .footer-col__item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  padding: 5px 0;
  line-height: 1.5;
}
.app-footer .footer-col__item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: #111111;
}
.app-footer .footer-col__item a:hover {
  color: #111111;
}
.app-footer .footer-col__txt {
  font-size: 13.5px;
  line-height: 1.65;
  color: #666666;
}
.app-footer .footer-col__txt a {
  color: #111111;
  text-decoration: underline;
}
.app-footer {
  /* socials + języki */
}
.app-footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.app-footer__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.app-footer__social a:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}
.app-footer__social a:hover svg {
  color: #111111;
}
.app-footer__social a svg {
  width: 15px;
  height: 15px;
  color: #111111;
}
.app-footer__langs {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}
.app-footer__langs a, .app-footer__langs .is-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111111;
}
.app-footer__langs .is-active {
  color: #111111;
}
.app-footer {
  /* dolny pasek — jeszcze ciemniejsza zieleń */
}
.app-footer__bottom {
  background: #f5f5f5;
  border-top: 1px solid #dddddd;
  color: #666666;
  font-size: 12.5px;
  padding-block: 15px;
}
.app-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.app-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.app-footer__legal a {
  color: #666666;
}
.app-footer__legal a:hover {
  color: #111111;
}

/* scroll-top */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}
.scroll-top.is-visible {
  opacity: 0.9;
  visibility: visible;
}
.scroll-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .app-footer__main .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 992px) {
  .app-footer .newsletter {
    grid-template-columns: 1fr;
  }
  .app-footer .newsletter__gfx {
    min-height: 130px;
    max-height: 180px;
  }
  .app-footer .newsletter__body {
    padding: 0 22px 26px;
  }
  .app-footer__main .container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .app-footer .footer-col {
    border-bottom: 1px solid #dddddd;
  }
  .app-footer .footer-col:last-child {
    border-bottom: 0;
  }
  .app-footer .footer-col__title {
    cursor: pointer;
    padding-block: 14px;
    margin: 0;
    border: 0;
  }
  .app-footer .footer-col__title svg {
    display: block;
    transition: transform 0.2s;
  }
  .app-footer .footer-col__body, .app-footer .footer-col__list {
    display: none;
    padding-bottom: 12px;
  }
  .app-footer .footer-col.open .footer-col__body,
  .app-footer .footer-col.open .footer-col__list {
    display: block;
  }
  .app-footer .footer-col.open .footer-col__title svg {
    transform: rotate(180deg);
  }
}
@media (max-width: 640px) {
  .app-footer__bottom .container {
    justify-content: center;
    text-align: center;
  }
}
/* 404 — jasna, zgodna ze sklepem */
.page-404 {
  padding-block: 80px;
  text-align: center;
}
.page-404__code {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(90px, 16vw, 180px);
  line-height: 1;
  color: #333333;
}
.page-404__title {
  font-size: clamp(24px, 3vw, 36px);
  margin: 10px 0 12px;
}
.page-404__desc {
  color: #666666;
  max-width: 460px;
  margin: 0 auto 26px;
}
.page-404__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Przyciski sklepu — pill, żółty CTA (czasnaherbate style) */
.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111111;
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
}
.btn:hover, .button:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-1px);
}
.btn, .button {
  /* warianty */
}
.btn--dark, .button--dark {
  background: #111111;
  color: #ffffff;
}
.btn--dark:hover, .button--dark:hover {
  background: #333333;
  color: #ffffff;
}
.btn--ghost, .button--ghost {
  background: #111111;
  border: 2px solid #111111;
  color: #ffffff;
}
.btn--ghost:hover, .button--ghost:hover {
  background: #333333;
  border-color: #333333;
  color: #ffffff;
}
.btn--filled, .button--filled { /* domyślny żółty */ }
.btn, .button {
  /* rozmiary */
}
.btn--small, .button--small {
  padding: 9px 18px;
  font-size: 13px;
}
.btn--medium, .button--medium {
  padding: 12px 26px;
}
.btn--large, .button--large {
  padding: 15px 34px;
  font-size: 15.5px;
}
.btn, .button {
  /* ikona */
}
.btn--has-icon, .button--has-icon {
  gap: 10px;
}
.btn__icon, .button__icon {
  display: inline-flex;
}
.btn__icon svg, .button__icon svg {
  width: 18px;
  height: 18px;
}
.btn__icon--left, .button__icon--left {
  order: -1;
}
.btn, .button {
  /* rolling-text (stary komponent button.php) */
}
.btn__roll, .button__roll {
  display: inline-block;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}
.btn__roll-in, .button__roll-in {
  display: block;
  transition: transform 0.28s ease;
}
.btn__roll-in:last-child, .button__roll-in:last-child {
  position: absolute;
  inset: 0;
  transform: translateY(105%);
}
.btn:hover .btn__roll-in:first-child, .btn:hover .button__roll-in:first-child, .button:hover .btn__roll-in:first-child, .button:hover .button__roll-in:first-child {
  transform: translateY(-105%);
}
.btn:hover .btn__roll-in:last-child, .btn:hover .button__roll-in:last-child, .button:hover .btn__roll-in:last-child, .button:hover .button__roll-in:last-child {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════
 * FORMS — wspólny wygląd pól formularza (design system)
 * Tokeny: $field-*, $focus-ring (utilities/_variables.scss)
 * ══════════════════════════════════════════════════ */
input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
input[type=number],
input[type=date],
textarea,
select,
.input-text {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  background: #ffffff;
  color: #161616;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
input[type=search]::placeholder,
input[type=tel]::placeholder,
input[type=url]::placeholder,
input[type=number]::placeholder,
input[type=date]::placeholder,
textarea::placeholder,
select::placeholder,
.input-text::placeholder {
  color: #666666;
  opacity: 1;
}
input[type=text]:hover,
input[type=email]:hover,
input[type=password]:hover,
input[type=search]:hover,
input[type=tel]:hover,
input[type=url]:hover,
input[type=number]:hover,
input[type=date]:hover,
textarea:hover,
select:hover,
.input-text:hover {
  border-color: #bdbdbd;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=number]:focus,
input[type=date]:focus,
textarea:focus,
select:focus,
.input-text:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
  outline: none;
}
input[type=text]:disabled,
input[type=email]:disabled,
input[type=password]:disabled,
input[type=search]:disabled,
input[type=tel]:disabled,
input[type=url]:disabled,
input[type=number]:disabled,
input[type=date]:disabled,
textarea:disabled,
select:disabled,
.input-text:disabled {
  background: #f7f7f7;
  color: #666666;
  cursor: not-allowed;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* natywny select → spójna strzałka lucide chevron-down */
select {
  appearance: none;
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
}
select::-ms-expand {
  display: none;
}

label {
  font-size: 13.5px;
  font-weight: 600;
}

/* Hero — duży baner + 2 mniejsze obok */
.s-hero {
  padding-top: 24px;
}
.s-hero .hero-swiper {
  border-radius: 3px;
  overflow: hidden;
}
.s-hero__card {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  color: #ffffff;
}
.s-hero__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 75%);
}
.s-hero__body {
  position: relative;
  z-index: 2;
  padding: 52px 64px;
  max-width: 620px;
}
.s-hero__tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #efefef;
  margin-bottom: 14px;
}
.s-hero__title {
  font-size: clamp(34px, 4vw, 54px);
  color: #ffffff;
  margin-bottom: 16px;
}
.s-hero__sub {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 26px;
  max-width: 420px;
}
.s-hero .swiper-pagination {
  bottom: 18px;
}
.s-hero .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.45;
  width: 7px;
  height: 7px;
}
.s-hero .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 992px) {
  .s-hero {
    padding-top: 16px;
  }
  .s-hero__card {
    min-height: 360px;
  }
  .s-hero__body {
    padding: 36px;
  }
}
@media (max-width: 640px) {
  .s-hero__card {
    min-height: 280px;
  }
  .s-hero__body {
    padding: 26px 24px 40px;
  }
  .s-hero__title {
    font-size: 30px;
  }
  .s-hero__sub {
    font-size: 14px;
  }
}
/* Odznaki zaufania — 4 w rzędzie */
.s-badges {
  padding-block: 30px;
}
.s-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-badge {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
}
.trust-badge__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-badge__icon svg {
  width: 22px;
  height: 22px;
  stroke: #000000;
}
.trust-badge__title {
  font-weight: 700;
  font-size: 14.5px;
  display: block;
}
.trust-badge__text {
  font-size: 12.5px;
  color: #666666;
  line-height: 1.4;
  display: block;
}

@media (max-width: 1024px) {
  .s-badges__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .s-badges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .trust-badge {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .trust-badge__title {
    font-size: 13px;
  }
}
/* Kafelki kategorii — siatka jak u moyamatcha */
.s-tiles {
  padding-block: 30px 40px;
}

.s-tiles .section-head {
  justify-content: center;
}

.s-tiles .section-title {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
}

.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1.15;
  background: #eee;
  display: flex;
  align-items: flex-end;
}
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
  transition: opacity 0.3s;
}
.cat-tile:hover img {
  transform: scale(1.05);
}
.cat-tile__body {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  color: #ffffff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cat-tile__title {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
}
.cat-tile__cta {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
}
.cat-tile__cta::after {
  content: "→";
  font-weight: 400;
}

@media (max-width: 1024px) {
  .cat-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .cat-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .cat-tiles {
    grid-template-columns: 1fr;
  }
  .cat-tile {
    aspect-ratio: 1.6;
  }
}
/* Siatka + karuzela produktów, karta — wspólne dla home i archiwum */
.s-products {
  padding-block: 26px 40px;
}

.products-grid, ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.products-grid > li.product, ul.products > li.product,
.woocommerce ul.products > li.product,
.woocommerce-page ul.products > li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  clear: none;
}
.products-grid::before, .products-grid::after, ul.products::before, ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none;
}

/* karuzela — Swiper: drag/swipe, strzałki, draggable scrollbar */
.s-products__nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.s-products__arrow {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  border: 1.5px solid #dddddd;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.s-products__arrow svg {
  width: 16px;
  height: 16px;
}
.s-products__arrow--prev svg {
  transform: rotate(180deg);
}
.s-products__arrow:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.s-products__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.products-swiper {
  overflow: hidden;
}
.products-swiper .swiper-scrollbar {
  position: static;
  margin-top: 18px;
  height: 4px;
  background: #dddddd;
  border-radius: 3px;
}
.products-swiper .swiper-scrollbar .swiper-scrollbar-drag {
  background: #333333;
  border-radius: 3px;
}

ul.products.products-carousel.swiper-wrapper {
  display: flex;
  gap: 0;
  padding-bottom: 0;
}
ul.products.products-carousel > li.product-card {
  flex: 0 0 300px;
  height: auto;
  margin-right: 0;
}

/* CTA pod sekcją — „Zobacz wszystkie …” */
.s-products__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ============================================================
   Karta produktu (czasnaherbate.net): beż, okrągłe foto,
   badge po prawej, stepper+waga, ikona koszyka + cena/kg
   ============================================================ */
li.product-card, .product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: visible;
}
li.product-card:hover, .product-card:hover {
  box-shadow: none;
}
li.product-card__media, .product-card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  background: #f9f9f9;
  overflow: hidden;
}
li.product-card__img, .product-card__img {
  display: block;
  height: 100%;
  padding: 18px;
}
li.product-card__img img, .product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 0;
  display: block;
  transition: transform 0.35s;
}
li.product-card:hover li.product-card__img img, li.product-card:hover .product-card__img img, .product-card:hover li.product-card__img img, .product-card:hover .product-card__img img {
  transform: scale(1.04);
}
li.product-card__badges, .product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
}
li.product-card__fav, .product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
li.product-card__fav svg, .product-card__fav svg {
  width: 16px;
  height: 16px;
  color: #161616;
  transition: transform 0.2s;
}
li.product-card__fav:hover, .product-card__fav:hover {
  border-color: #111111;
}
li.product-card__fav.is-fav svg, .product-card__fav.is-fav svg {
  fill: #111111;
}
li.product-card__fav.is-popping svg, .product-card__fav.is-popping svg {
  transform: scale(1.25);
}
li.product-card__body, .product-card__body {
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
li.product-card__title, .product-card__title {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}
li.product-card__title a, .product-card__title a {
  color: #161616;
}
li.product-card__excerpt, .product-card__excerpt {
  display: none;
  font-size: 12.5px;
  color: #666666;
  line-height: 1.45;
  margin: 0 0 4px;
}
li.product-card__row, .product-card__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: auto;
  padding-top: 12px;
  order: 3;
}
li.product-card__weight, .product-card__weight {
  flex: 1;
  min-width: 0;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #161616;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  background-color: #ffffff;
  padding: 0 34px 0 14px;
  text-align: center;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
}
li.product-card__foot, .product-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  order: 2;
}
li.product-card__cart, .product-card__cart {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
li.product-card__cart svg, .product-card__cart svg {
  width: 19px;
  height: 19px;
  color: #ffffff;
}
li.product-card__cart:hover, .product-card__cart:hover {
  background: #333333;
}
li.product-card__cart:hover svg, .product-card__cart:hover svg {
  color: #ffffff;
}
li.product-card__cart.loading, .product-card__cart.loading {
  opacity: 0.6;
  pointer-events: none;
}
li.product-card__cart.added, .product-card__cart.added {
  display: none;
}
li.product-card__cart--media, .product-card__cart--media {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: none;
}
li.product-card__price, .product-card__price {
  font-weight: 800;
  font-size: 16.5px;
  color: #161616;
  line-height: 1.2;
}
li.product-card__price del, .product-card__price del {
  color: #666666;
  font-weight: 400;
  font-size: 12.5px;
  margin-right: 5px;
}
li.product-card__price ins, .product-card__price ins {
  text-decoration: none;
  color: #333333;
}
li.product-card__perkg, .product-card__perkg {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #666666;
}
li.product-card, .product-card {
  /* „Zobacz w koszyku” po ajax-add */
}
li.product-card .added_to_cart, .product-card .added_to_cart {
  font-size: 12.5px;
  font-weight: 600;
  color: #333333;
}

/* stepper ilości */
.qty-box {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}
.qty-box__btn {
  border: 0;
  background: none;
  width: 36px;
  font-size: 16px;
  color: #666666;
}
.qty-box__btn:hover {
  color: #333333;
}

input.qty-box__input {
  width: 32px;
  min-width: 0;
  min-height: 0;
  height: auto;
  border: 0;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: #161616;
}

input.qty-box__input:focus {
  box-shadow: none;
  outline: none;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #161616;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.badge--sale {
  background: #111111;
  color: #ffffff;
}
.badge--out {
  background: #666666;
  color: #ffffff;
}

@media (max-width: 768px) {
  .products-grid, ul.products:not(.products-carousel) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .product-card__cart--row {
    display: none;
  }
  .product-card__cart--media {
    display: inline-flex;
  }
}
@media (max-width: 640px) {
  ul.products.products-carousel > li.product-card {
    flex-basis: 240px;
  }
  .product-card__row {
    flex-wrap: wrap;
  }
  .product-card__row select {
    flex-basis: 100%;
    width: 100%;
  }
  .s-products__nav .section-link {
    font-size: 12px;
  }
  .s-products__nav {
    gap: 6px;
  }
  .s-products__arrow {
    display: none;
  }
  .s-products .section-head {
    flex-wrap: wrap;
  }
  .s-products .section-title {
    font-size: 28px;
  }
}
/* Kafelki-skróty pod hero — okrągłe grafiki + etykieta (czasnaherbate) */
.s-quick-tiles {
  padding-block: 20px 6px;
}

.quick-tiles {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  flex-wrap: wrap;
}

.quick-tile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.quick-tile__img {
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}
.quick-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-tile__img svg {
  width: 34px;
  height: 34px;
  color: #333333;
}

.quick-tile__label {
  font-size: 13px;
  font-weight: 600;
  color: #161616;
}

.quick-tile a:hover {
  color: #333333;
}
.quick-tile a:hover .quick-tile__img {
  border-color: #e8e8e8;
  transform: translateY(-3px);
}
.quick-tile a:hover .quick-tile__label {
  color: #333333;
}

@media (max-width: 992px) {
  .quick-tiles {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 22px;
    padding: 4px 4px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .quick-tiles::-webkit-scrollbar {
    display: none;
  }
  .quick-tile {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
}
/* Blok promo — tekst + grafika, odwracalny, kolorowe tła (czasnaherbate) */
.s-promo {
  padding-block: 34px;
}
.s-promo__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  border-radius: 3px;
  padding: clamp(24px, 4vw, 52px);
}
.s-promo--white .s-promo__grid {
  background: #ffffff;
  border: 0;
  padding-inline: 0;
}
.s-promo--lime .s-promo__grid {
  background: #f5f5f5;
}
.s-promo--beige .s-promo__grid {
  background: #efefef;
}
.s-promo--green .s-promo__grid {
  background: #111111;
}
.s-promo--green .s-promo__tag {
  background: rgba(255, 255, 255, 0.14);
  color: #e8e8e8;
}
.s-promo--green .s-promo__title, .s-promo--green .s-promo__title em {
  color: #ffffff;
}
.s-promo--green .s-promo__text {
  color: #e8e8e8;
}
.s-promo--green .s-promo__bullets li {
  color: #e8e8e8;
}
.s-promo--green .s-promo__bullets li svg {
  color: #e8e8e8;
}
.s-promo--rev .s-promo__body {
  order: 2;
}
.s-promo--rev .s-promo__media {
  order: 1;
}
.s-promo__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #e8e8e8;
  color: #111111;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.s-promo__title {
  font-size: clamp(26px, 3.2vw, 40px);
  color: #111111;
  margin-bottom: 14px;
}
.s-promo__title em {
  font-style: normal;
  color: inherit;
}
.s-promo__text {
  font-size: 15px;
  color: #666666;
}
.s-promo__text p {
  margin: 0 0 12px;
}
.s-promo__bullets {
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.s-promo__bullets li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}
.s-promo__bullets li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #333333;
}
.s-promo__media {
  border-radius: 3px;
  overflow: hidden;
}
.s-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .s-promo__grid {
    grid-template-columns: 1fr;
  }
  .s-promo--rev .s-promo__body {
    order: 1;
  }
  .s-promo--rev .s-promo__media {
    order: 2;
  }
}
/* Blog — karty wpisów */
.s-blog {
  padding-block: 20px 46px;
}

.blog-grid, .posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  border: 1px solid #dddddd;
  border-radius: 3px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}
.blog-card__img {
  aspect-ratio: 16/9;
  background: #f0f0f0;
  overflow: hidden;
  display: block;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card__date {
  font-size: 11.5px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-card__title {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.blog-card__excerpt {
  font-size: 13.5px;
  color: #666666;
  margin: 0;
}
.blog-card__link {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin-top: auto;
  padding-top: 10px;
}

@media (max-width: 992px) {
  .blog-grid, .posts-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .blog-grid, .posts-list {
    grid-template-columns: 1fr;
  }
}
/* Pasek Instagram */
.s-insta {
  padding-block: 15px 56px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.insta-grid a {
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.insta-grid a:hover img {
  transform: scale(1.07);
}

@media (max-width: 992px) {
  .insta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ============================================================
   WooCommerce — listing, produkt, koszyk, kasa, konto
   ============================================================ */
.woo-page {
  padding-block: 34px 60px;
}

/* ---------- breadcrumbs ---------- */
.woocommerce-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #666666;
  padding: 14px 0 0;
}
.woocommerce-breadcrumb a {
  color: #666666;
}
.woocommerce-breadcrumb a:hover {
  color: #111111;
}
.woocommerce-breadcrumb .crumb-sep {
  color: #bdbdbd;
}
.woocommerce-breadcrumb .crumb--dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.woocommerce-breadcrumb .crumb--dd.is-current {
  font-weight: 600;
  color: #161616;
}
.woocommerce-breadcrumb .crumb__toggle {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 2px;
  color: #666666;
  cursor: pointer;
}
.woocommerce-breadcrumb .crumb__toggle svg {
  width: 12px;
  height: 12px;
}
.woocommerce-breadcrumb .crumb__toggle:hover {
  color: #111111;
}
.crumb--dd.is-open .woocommerce-breadcrumb .crumb__toggle svg {
  transform: rotate(180deg);
}
.woocommerce-breadcrumb .crumb__list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 12px;
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.18);
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-breadcrumb .crumb__list a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #161616;
  border-radius: 7px;
  white-space: nowrap;
}
.woocommerce-breadcrumb .crumb__list a:hover {
  background: #f7f7f7;
  color: #161616;
}
.woocommerce-breadcrumb .crumb--dd.is-open .crumb__list {
  display: block;
}

.page-title-row {
  padding: 0 0 24px;
}

.shop-content {
  min-width: 0;
}

.shop-content .page-title {
  margin-bottom: 8px;
}

.page-title-count {
  display: block;
  font-size: 13px;
  color: #666666;
  margin: 2px 0 4px;
}

/* powrót do kategorii nadrzędnej w sidebarze („Nazwa ↑”) */
.cat-tree__back > a {
  font-weight: 700;
  color: #161616;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-tree__back > a .cat-tree__up {
  font-size: 15px;
  line-height: 1;
}
.cat-tree__back > a:hover {
  color: #111111;
}

/* pusta strona ulubionych */
.fav-empty {
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
}
.fav-empty__btn {
  display: inline-flex;
  margin-top: 14px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 600;
}
.fav-empty__btn:hover {
  background: #161616;
}

.fav-grid {
  margin-top: 10px;
}

.term-description, .woocommerce-products-header__description,
.cat-desc {
  color: #666666;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 720px;
}
.term-description p, .woocommerce-products-header__description p,
.cat-desc p {
  margin: 0 0 0.6em;
}

.cat-desc--top {
  margin: -8px 0 20px;
}

.cat-desc--bottom {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid #dddddd;
}

.page-description {
  color: #666666;
  font-size: 14.5px;
  max-width: 720px;
}

/* chips podkategorii */
.subcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}
.subcat-chips a {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border: 1px solid #dddddd;
  border-radius: 999px;
  background: #ffffff;
}
.subcat-chips a:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

/* ---------- układ archiwum: sidebar + grid ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding-block: 26px 20px;
}

.shop-sidebar .sidebox, .shop-sidebar .widget {
  border-top: 1px solid #dddddd;
  padding: 20px 0;
  margin: 0;
}
.shop-sidebar .widget-title, .shop-sidebar .sidebox__title {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666666;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.shop-sidebar .widget-title::after, .shop-sidebar .sidebox__title::after {
  content: "−";
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  line-height: 1;
}
.shop-sidebar .sidebox.is-collapsed .sidebox__title,
.shop-sidebar .widget.is-collapsed .widget-title {
  margin-bottom: 0;
}
.shop-sidebar .sidebox.is-collapsed .sidebox__title::after,
.shop-sidebar .widget.is-collapsed .widget-title::after {
  content: "+";
}
.shop-sidebar {
  /* animowane zwijanie — grid-rows 1fr → 0fr + fade */
}
.shop-sidebar .filter-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease;
}
.shop-sidebar .filter-body__inner {
  overflow: hidden;
  min-height: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.3s ease;
}
.shop-sidebar .sidebox.is-collapsed .filter-body,
.shop-sidebar .widget.is-collapsed .filter-body {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0s 0.3s;
}
.shop-sidebar .sidebox.is-collapsed .filter-body__inner,
.shop-sidebar .widget.is-collapsed .filter-body__inner {
  opacity: 0;
  transform: translateY(-8px);
}

.sidebox {
  border: 0;
  border-radius: 0;
  background: #ffffff;
}
.sidebox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebox ul li {
  position: relative;
}
.sidebox ul li a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid #dddddd;
}
.sidebox ul li:last-child > a {
  border-bottom: 0;
}
.sidebox ul li.current-cat > a, .sidebox ul li.current-cat-ancestor > a,
.sidebox ul li a:hover {
  color: #000000;
  font-weight: 600;
}
.sidebox ul ul {
  padding-left: 14px;
}
.sidebox ul ul a {
  font-size: 13px;
  color: #666666;
  padding: 5px 0;
  border-bottom: 0;
}
.sidebox ul ul ul a {
  padding-left: 12px;
}

/* widgety Woo w sidebarze — box jak .sidebox */
.shop-sidebar .widget {
  border-radius: 0;
  background: #ffffff;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li {
  display: flex;
  align-items: center;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 0;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li a::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1.5px solid #bdbdbd;
  border-radius: 4px;
  background: #ffffff;
  transition: background 0.15s, border-color 0.15s;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li a:hover::before {
  border-color: #111111;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li.wc-layered-nav-term--chosen a::before, .shop-sidebar .widget .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a::before {
  background: #111111;
  border-color: #111111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.shop-sidebar .widget .woocommerce-widget-layered-nav-list li .count {
  color: #666666;
  font-size: 12px;
  padding-left: 8px;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .ui-slider {
  position: relative;
  background: #e4e4e4;
  border-radius: 999px;
  height: 4px;
  margin: 16px 8px;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .ui-slider-range {
  position: absolute;
  height: 100%;
  background: #111111;
  border-radius: 999px;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .ui-slider-handle {
  position: absolute;
  margin-left: -8px;
  z-index: 2;
  cursor: grab;
  background: #ffffff;
  border: 2px solid #111111;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: -6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.12s;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .ui-slider-handle:active {
  cursor: grabbing;
  transform: scale(1.1);
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .price_slider_amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #666666;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .price_slider_amount .price_label {
  order: -1;
  margin: 0;
  text-align: left;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .price_slider_amount .button {
  float: none;
  margin: 0;
  background: #ffffff;
  color: #111111;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.shop-sidebar .widget.widget_price_filter .price_slider_wrapper .price_slider_amount .button:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.shop-sidebar .widget ul.product_list_widget {
  list-style: none;
  padding: 0;
}
.shop-sidebar .widget ul.product_list_widget li {
  padding: 8px 0;
  border-bottom: 1px solid #dddddd;
}
.shop-sidebar .widget ul.product_list_widget img {
  width: 52px;
  border-radius: 8px;
}

/* ---------- toolbar ---------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.woocommerce-result-count {
  font-size: 13px;
  color: #666666;
  margin: 0;
  float: none;
}

.woocommerce-ordering {
  float: none;
  margin: 0;
}
.woocommerce-ordering select {
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  padding: 9px 34px 9px 16px;
  font-size: 12.5px;
  background-color: #ffffff;
  color: #161616;
}

/* noticess */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  border-radius: 2px;
  border: 1px solid #dddddd;
  background: #f7f7f7;
  color: #161616;
  padding: 13px 18px;
  font-size: 14px;
  margin-bottom: 18px;
  list-style: none;
  border-top-color: #dddddd;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-notice::before {
  color: #000000;
}
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-notice .button {
  float: right;
}
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-notice a {
  text-decoration: underline;
}

.woocommerce-error {
  background: #f5f5f5;
}

/* paginacja */
.woocommerce-pagination {
  margin-top: 34px;
}
.woocommerce-pagination ul {
  border: 0 !important;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.woocommerce-pagination ul::before {
  display: none;
}
.woocommerce-pagination ul li {
  border: 0 !important;
  float: none !important;
}
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 14px;
  background: #ffffff;
  color: #161616;
}
.woocommerce-pagination ul li a.current, .woocommerce-pagination ul li span.current {
  background: #161616;
  color: #f7f7f7;
  border-color: #161616;
}

/* "brak produktów" */
.woocommerce-info.woocommerce-no-products-found, .wc-empty-cart-message {
  text-align: center;
}

/* ============================================================
   Strona produktu
   ============================================================ */
.single-product-layout {
  padding-block: 10px 40px;
}

/* „Zapytaj o produkt” + udostępnij — nad kartą produktu */
.product-ask {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 13px;
  padding: 6px 0 14px;
}
.product-ask a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666666;
}
.product-ask a:hover {
  color: #333333;
}
.product-ask a svg {
  width: 14px;
  height: 14px;
}
.product-ask__share svg {
  width: 15px;
  height: 15px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 46%) 1fr;
  gap: 44px;
  margin-top: 10px;
}

.woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  position: relative;
}
.woocommerce-product-gallery__wrapper .wp-post-image, .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a > img,
.woocommerce-product-gallery .flex-viewport img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.woocommerce-product-gallery__image {
  display: block;
}
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 76px;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: 2px;
  border: 1px solid #dddddd;
  opacity: 0.65;
  cursor: pointer;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: #333333;
}
.woocommerce-product-gallery__trigger {
  z-index: 5;
}
.woocommerce-product-gallery .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  background: #333333;
  color: #ffffff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
}

.summary.entry-summary {
  width: 100% !important;
  float: none !important;
}
.summary.entry-summary .product_title {
  font-size: clamp(26px, 3vw, 36px);
  color: #111111;
  margin-bottom: 4px;
}
.summary.entry-summary .product-code {
  font-size: 12.5px;
  color: #666666;
  margin-bottom: 14px;
}
.summary.entry-summary .price {
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 14px;
}
.summary.entry-summary .price del {
  color: #666666;
  font-weight: 400;
  font-size: 18px;
  margin-right: 8px;
}
.summary.entry-summary .price ins {
  text-decoration: none;
  color: #333333;
}
.summary.entry-summary .price-per-kg {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: #666666;
  margin-top: 4px;
}
.summary.entry-summary .woocommerce-product-details__short-description {
  color: #666666;
  font-size: 14px;
  margin-bottom: 18px;
}
.summary.entry-summary .woocommerce-product-details__short-description p {
  margin: 0 0 0.8em;
}

/* pigułki „objętość opakowania” (natywny select ukryty, JS renderuje pigułki) */
.package-size {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.package-size__label {
  display: block;
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.package-size__pill {
  border: 1.5px solid #dddddd;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  background: #ffffff;
  color: #161616;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.package-size__pill:hover {
  border-color: #111111;
}
.package-size__pill.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.package-size__select {
  display: none;
}

form.variations_form table.variations select.package-size__select + * {
  margin-top: 8px;
}

/* pasek zaufania pod formularzem */
.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-top: 22px;
  overflow: hidden;
}
.product-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-left: 1px solid #dddddd;
}
.product-trust__item:first-child {
  border-left: 0;
}
.product-trust__item svg {
  width: 17px;
  height: 17px;
  color: #333333;
  flex: 0 0 auto;
}

.stock-status {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stock-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #555555;
}
.stock-status--out::before {
  background: #333333;
}

.stock.available-on-backorder {
  color: #666666;
  font-size: 13px;
}

/* formularz zakupu */
form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}
form.cart .quantity.qty-box {
  height: 44px;
  border: 1.5px solid #dddddd;
  border-radius: 999px;
}
form.cart .quantity.qty-box .qty-box__btn {
  height: 44px;
  width: 36px;
  font-size: 16px;
}
form.cart .quantity.qty-box .qty {
  width: 32px;
  border: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
form.cart .single_add_to_cart_button {
  height: 44px;
  padding: 0 30px;
  font-size: 14px;
  background: #111111;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  flex: 1;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
form.cart .single_add_to_cart_button::before {
  content: "";
  width: 19px;
  height: 19px;
  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='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.5 12.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.3L21.5 8H6'/%3E%3Ccircle cx='10.5' cy='21' r='1'/%3E%3Ccircle cx='18' cy='21' r='1'/%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='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.5 12.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.3L21.5 8H6'/%3E%3Ccircle cx='10.5' cy='21' r='1'/%3E%3Ccircle cx='18' cy='21' r='1'/%3E%3C/svg%3E") center/contain no-repeat;
}
form.cart .single_add_to_cart_button:hover {
  background: #333333;
}
form.cart .single_add_to_cart_button.disabled {
  opacity: 0.5;
}
form.cart {
  /* warianty */
}
form.cart .variations {
  width: 100%;
  margin-bottom: 6px;
  border-collapse: collapse;
}
form.cart .variations th, form.cart .variations td {
  display: block;
  text-align: left;
  padding: 0;
  border: 0;
}
form.cart .variations .label, form.cart .variations .label label {
  display: none;
}
form.cart .variations td {
  padding-bottom: 8px;
}
form.cart .variations select {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  background-color: #ffffff;
}
form.cart .reset_variations {
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
  color: #666666;
  text-decoration: underline;
}
form.cart .reset_variations:hover {
  color: #333333;
}

.woocommerce-variation-price {
  margin: 8px 0;
}
.woocommerce-variation-price .price {
  font-size: 22px;
}

.woocommerce-variation-availability .stock {
  font-size: 13px;
  font-weight: 600;
}

.product_meta {
  border-top: 1px solid #dddddd;
  padding-top: 16px;
  font-size: 13px;
  color: #666666;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product_meta > span {
  display: block;
}
.product_meta a {
  color: #000000;
}
.product_meta .sku_wrapper .sku {
  font-weight: 600;
}

/* taby */
.product-tabs {
  grid-column: 1/-1;
  margin-top: 26px;
}

.woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 -1px !important;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #dddddd;
  overflow-x: auto;
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li {
  border: 1px solid #dddddd;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  background: #f7f7f7;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #666666;
}
.woocommerce-tabs ul.tabs li.active {
  background: #ffffff;
}
.woocommerce-tabs ul.tabs li.active::after {
  content: "";
  display: block;
  height: 3px;
  background: #333333;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: 3px 3px 0 0;
}
.woocommerce-tabs ul.tabs li.active a {
  color: #161616;
}
.woocommerce-tabs .panel {
  border: 1px solid #dddddd;
  border-radius: 0 3px 3px 3px;
  padding: 26px;
  background: #ffffff;
}
.woocommerce-tabs .panel h2 {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.woocommerce-tabs .panel p {
  margin: 0 0 1em;
}

.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}
.shop_attributes th, .shop_attributes td {
  border: 1px solid #dddddd;
  padding: 9px 14px;
  font-size: 13.5px;
  text-align: left;
  font-style: normal;
}
.shop_attributes th {
  background: #f7f7f7;
  width: 220px;
  font-weight: 600;
}
.shop_attributes td p {
  margin: 0;
}

/* powiązane */
.related.products, .up-sells {
  margin-top: 34px;
}
.related.products > h2, .up-sells > h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 20px;
}

/* ============================================================
   Koszyk
   ============================================================ */
.woocommerce-cart table.shop_table, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details {
  border: 1px solid #dddddd;
  border-radius: 3px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
}
.woocommerce-cart table.shop_table th, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details th, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details th, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details th, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details th {
  background: #f7f7f7;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666666;
  padding: 12px 14px;
  border: 0;
}
.woocommerce-cart table.shop_table td, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details td, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details td, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details td, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details td {
  padding: 14px;
  border-top: 1px solid #dddddd;
  font-size: 14.5px;
}
.woocommerce-cart table.shop_table .product-thumbnail img, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .product-thumbnail img, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .product-thumbnail img, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .product-thumbnail img, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .product-thumbnail img {
  width: 64px;
  border-radius: 2px;
}
.woocommerce-cart table.shop_table .product-name a, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .product-name a, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .product-name a, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .product-name a, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .product-name a {
  font-weight: 600;
}
.woocommerce-cart table.shop_table a.remove, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details a.remove, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details a.remove, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details a.remove, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details a.remove {
  color: #333333 !important;
  font-size: 20px;
}
.woocommerce-cart table.shop_table a.remove:hover, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details a.remove:hover, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details a.remove:hover, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details a.remove:hover, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details a.remove:hover {
  background: none;
  color: #333333 !important;
}
.woocommerce-cart table.shop_table .actions .coupon, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .actions .coupon, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .actions .coupon, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .actions .coupon, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .actions .coupon {
  display: flex;
  gap: 8px;
  float: left;
}
.woocommerce-cart table.shop_table .actions .coupon input.input-text, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .actions .coupon input.input-text, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .actions .coupon input.input-text, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .actions .coupon input.input-text, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .actions .coupon input.input-text {
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  padding: 9px 16px;
  width: 200px;
}
.woocommerce-cart table.shop_table .actions .coupon input.input-text:focus, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .actions .coupon input.input-text:focus, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .actions .coupon input.input-text:focus, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .actions .coupon input.input-text:focus, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .actions .coupon input.input-text:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
}
.woocommerce-cart table.shop_table .actions button.button[name=update_cart], .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .actions button.button[name=update_cart], .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .actions button.button[name=update_cart], .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .actions button.button[name=update_cart], .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .actions button.button[name=update_cart] {
  float: right;
}
.woocommerce-cart .cart-collaterals {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}
.woocommerce-cart .cart_totals {
  width: min(420px, 100%);
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 22px;
}
.woocommerce-cart .cart_totals h2 {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.woocommerce-cart .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td {
  padding: 9px 0;
  border-bottom: 1px solid #dddddd;
  font-size: 14px;
  text-align: left;
}
.woocommerce-cart .cart_totals table td {
  text-align: right;
}
.woocommerce-cart .cart_totals table .order-total th, .woocommerce-cart .cart_totals table .order-total td {
  font-size: 17px;
  font-weight: 700;
  border-bottom: 0;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  margin-top: 16px;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  display: block;
  text-align: center;
}

/* ============================================================
   Kasa
   ============================================================ */
.woocommerce-checkout form.checkout_coupon, .woocommerce-checkout form.login, .woocommerce-checkout form.register {
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 22px;
  background: #ffffff;
}
.woocommerce-checkout form .form-row {
  margin-bottom: 14px;
}
.woocommerce-checkout form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.woocommerce-checkout form .form-row input.input-text, .woocommerce-checkout form .form-row textarea, .woocommerce-checkout form .form-row select, .woocommerce-checkout form .form-row .select2-container .select2-selection {
  width: 100%;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 14.5px;
  background: #ffffff;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce-checkout form .form-row input.input-text:hover, .woocommerce-checkout form .form-row textarea:hover, .woocommerce-checkout form .form-row select:hover {
  border-color: #bdbdbd;
}
.woocommerce-checkout form .form-row input.input-text:focus, .woocommerce-checkout form .form-row textarea:focus, .woocommerce-checkout form .form-row select:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
  outline: none;
}
.woocommerce-checkout #customer_details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-checkout h3 {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.woocommerce-checkout #order_review_heading {
  margin-top: 30px;
}
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #f7f7f7;
  border-radius: 3px;
  padding: 24px;
}
.woocommerce-checkout .woocommerce-checkout-payment {
  border: 0;
  background: transparent;
}
.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  border: 0;
}
.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_method {
  padding: 12px 0;
  border-bottom: 1px solid #dddddd;
}
.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_method label {
  font-weight: 600;
}
.woocommerce-checkout .woocommerce-checkout-payment .payment_box {
  background: #ffffff;
  border-radius: 2px;
  padding: 14px;
  font-size: 13.5px;
  margin-top: 8px;
}
.woocommerce-checkout #place_order {
  width: 100%;
  margin-top: 12px;
}
.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 13px;
  color: #666666;
}

/* Thank you */
.woocommerce-order .woocommerce-notice {
  font-weight: 700;
}
.woocommerce-order .woocommerce-order-overview {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.woocommerce-order .woocommerce-order-overview li {
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 10px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
}
.woocommerce-order .woocommerce-order-overview li strong {
  display: block;
  text-transform: none;
  color: #161616;
  font-size: 14.5px;
}
.woocommerce-order .addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.woocommerce-order .addresses .col-1, .woocommerce-order .addresses .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-order address {
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 18px;
  font-style: normal;
  font-size: 14px;
}

/* ============================================================
   Moje konto
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 26px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 9px 18px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #161616;
  color: #f7f7f7;
  border-color: #161616;
}
.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 24px;
}
.woocommerce-account .woocommerce-MyAccount-content fieldset {
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 16px;
  margin-top: 14px;
}
.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 {
  width: 100%;
  float: none;
}

/* ogólne formularze Woo */
.woocommerce form .form-row {
  margin-bottom: 14px;
}
.woocommerce form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  width: 100%;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 14.5px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce form .form-row input.input-text:hover, .woocommerce form .form-row textarea:hover, .woocommerce form .form-row select:hover {
  border-color: #bdbdbd;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
  outline: none;
}
.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce .button.alt {
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  border: 0;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce .button.alt:hover {
  background: #333333;
  color: #ffffff;
}
.woocommerce .button:disabled, .woocommerce a.button:disabled, .woocommerce button.button:disabled, .woocommerce input.button:disabled, .woocommerce .button.alt:disabled {
  opacity: 0.55;
}

/* featured star na liście (admin/table) + drobiazgi */
span.onsale {
  background: #333333;
  color: #ffffff;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  min-height: 0;
  line-height: 1.5;
}

ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  margin: 0;
}

/* ---------- modal „Dodano do koszyka” ---------- */
.added-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: nm-fade 0.2s ease;
}
.added-modal__card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  width: min(420px, 100%);
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.35);
  animation: nm-modal-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.added-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #666666;
  cursor: pointer;
  padding: 4px;
}
.added-modal__close:hover {
  color: #161616;
}
.added-modal__title {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 16px;
}
.added-modal__row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 12px;
}
.added-modal__img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #f6f6f6;
  overflow: hidden;
}
.added-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.added-modal__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.added-modal__name {
  font-size: 14px;
  font-weight: 600;
  color: #161616;
  line-height: 1.3;
}
.added-modal__price {
  font-size: 14px;
  font-weight: 700;
}
.added-modal__qty {
  font-size: 12px;
  color: #666666;
}
.added-modal__btns {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.added-modal__btns > * {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.added-modal__cont {
  border: 1.5px solid #dddddd;
  background: #ffffff;
  color: #161616;
}
.added-modal__cont:hover {
  border-color: #111111;
}
.added-modal__cart {
  background: #111111;
  color: #ffffff;
}
.added-modal__cart:hover {
  background: #161616;
  color: #ffffff;
}

@keyframes nm-fade {
  from {
    opacity: 0;
  }
}
@keyframes nm-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}
/* block cart/checkout fallback styles (gdy strony używają bloków) */
.wc-block-cart, .wc-block-checkout {
  font-size: 14.5px;
}

/* pusty koszyk — wyśrodkowany, serif jak u moyamatcha */
.wp-block-woocommerce-empty-cart-block {
  padding: 40px 0 30px;
}
.wp-block-woocommerce-empty-cart-block svg.wc-block-components-empty-cart-icon,
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon + svg,
.wp-block-woocommerce-empty-cart-block > svg {
  display: none;
}
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
  display: none;
}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
}
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  display: none;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading + p, .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title + p {
  color: #666666;
}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block a.wp-block-button__link {
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   Responsywność sklepu
   ============================================================ */
/* przycisk „Filtrowanie” — mobile (jak kawaiherbata) */
.filter-close {
  display: none;
}

body.filters-open {
  overflow: hidden;
}

.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #dddddd;
  border-radius: 3px;
  background: #ffffff;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #161616;
  cursor: pointer;
  font-family: inherit;
}
.filter-toggle svg {
  width: 15px;
  height: 15px;
}
.filter-toggle:hover {
  border-color: #333333;
}
.filter-toggle[aria-expanded=true] {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

@media (max-width: 992px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .filter-toggle {
    display: inline-flex;
  }
  .shop-sidebar {
    display: none;
  }
  .shop-sidebar.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 450;
    background: #ffffff;
    padding: 24px;
    overflow-y: auto;
  }
  .filter-close {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: #f5f5f5;
    padding: 14px;
    width: 100%;
    margin-bottom: 24px;
  }
  .filter-close svg {
    width: 18px;
    height: 18px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .woocommerce-checkout #customer_details {
    grid-template-columns: 1fr;
  }
  .woocommerce-order .addresses {
    grid-template-columns: 1fr;
  }
  .woocommerce-account .u-columns {
    grid-template-columns: 1fr;
  }
  .woocommerce-cart table.shop_table .actions .coupon, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .actions .coupon, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .actions .coupon, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .actions .coupon, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .actions .coupon {
    float: none;
    margin-bottom: 10px;
  }
}
@media (max-width: 640px) {
  .woo-page {
    padding-block: 22px 44px;
  }
  .woocommerce-cart table.shop_table, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details {
    font-size: 13.5px;
  }
  .woocommerce-cart table.shop_table .product-thumbnail img, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details .product-thumbnail img, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details .product-thumbnail img, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details .product-thumbnail img, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details .product-thumbnail img {
    width: 48px;
  }
  .woocommerce-cart table.shop_table td, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details td, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details td, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details td, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details td, .woocommerce-cart table.shop_table th, .woocommerce-cart .woocommerce-order table.woocommerce-table--order-details th, .woocommerce-order .woocommerce-cart table.woocommerce-table--order-details th, .woocommerce-cart .woocommerce-order table.woocommerce-table--customer-details th, .woocommerce-order .woocommerce-cart table.woocommerce-table--customer-details th {
    padding: 10px;
  }
}