.page-aleeko {
  --g: #305308;
  --g-dark: #24400a;
  --g-mid: #4a7a14;
  --g-soft: #eef3e6;
  --beige: #d0a948;
  --beige-dark: #a8842f;
  --beige-soft: #f6efdd;
  --beige-line: #e8d9b4;
  --ink: #23281f;
  --muted: #6f7368;
  --line: #e6e3da;
  --soft: #f8f6f0;
  --orange: #f28c32;
  --red: #e0392b;
  --gold: #d0a948;
  --blue: #2f7fe0;
  --purple: #7c4dcc;
  --teal: #1aa39a;
  --indigo: #3f51b5;
  --head: "Montserrat", "Poppins", Arial, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
  --wrap: 1280px;
  --header-top-height: 36px;
  --r: 8px;
  --sh: 0 10px 28px -16px rgba(0, 0, 0, 0.28);
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.page-aleeko .container,
.page-aleeko .header__top .container,
.page-aleeko .navbarStyle .container {
  max-width: var(--wrap);
}

.home-only {
  display: none !important;
}

.page-aleeko .home-only {
  display: flex !important;
}

.page-aleeko .home-only-inline {
  display: inline-flex !important;
}

.page-aleeko .home-only-block {
  display: block !important;
}

.page-aleeko .home-only-grid {
  display: grid !important;
}

/* ---------- TOPBAR ---------- */
.page-aleeko .header__top {
  background: var(--g);
  color: #dfe8d0;
  font-size: 12px;
  padding: 0;
}

.page-aleeko .header__top .container {
  padding-left: 0;
  padding-right: 20px;
}

.page-aleeko .header__top .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  min-height: var(--header-top-height);
  margin: 0;
}

.page-aleeko .header__top .col-lg-3,
.page-aleeko .header__top .col-lg-6 {
  width: auto;
  max-width: none;
  flex: 0 1 auto;
  padding: 0;
}

.page-aleeko .header__top a:not(.home-topbar-blog),
.page-aleeko .header__top p,
.page-aleeko .header__top li,
.page-aleeko .header__top .middleNavLink {
  color: #dfe8d0 !important;
  font-size: 12px !important;
  margin: 0;
}

.page-aleeko .header__top .middleNavLink {
  font-weight: 700;
  color: #fff !important;
}

.page-aleeko .header__top b,
.page-aleeko .header__top strong {
  color: #fff !important;
}

.page-aleeko .header__top__left ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-aleeko .header__top__left li a {
  display: none;
}

.page-aleeko .header__top__left ul {
  display: none;
}

.page-aleeko .home-topbar-blog {
  background: var(--beige);
  color: #2b2208 !important;
  height: 36px;
  align-items: center;
  padding: 0 14px;
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-aleeko .home-topbar-blog:hover {
  color: #2b2208 !important;
  background: var(--beige-dark);
}

.page-aleeko .home-topbar-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-aleeko .header__top__right {
  justify-content: flex-end;
}

.page-aleeko .header__top__right__auth a,
.page-aleeko .header__top__right__language > div {
  color: #dfe8d0 !important;
}

.page-aleeko .header__top__right__language ul {
  background: var(--g);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-aleeko .header__top__right__language ul li,
.page-aleeko .header__top__right__language ul li a,
.page-aleeko .header__top__right__language ul a {
  color: #fff !important;
  background: transparent;
}

.page-aleeko .header__top__right__language ul li a:hover,
.page-home .header__top__right__language ul li a:hover,
.page-product .header__top__right__language ul li a:hover,
.page-category .header__top__right__language ul li a:hover,
.page-categories .header__top__right__language ul li a:hover {
  color: #fff !important;
  background: var(--g-dark);
}

.page-aleeko .indyvidualContactOnMobile {
  display: none;
}

/* ---------- HEADER ---------- */
.page-aleeko #wrapper {
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.page-aleeko .navbarStyle,
.page-aleeko .container.navbarStyle {
  background: #fff !important;
  height: auto !important;
}

.page-aleeko .navbarStyle .row.h-100 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 28px;
  padding: 12px 0;
  margin: 0;
  height: auto !important;
}

.page-aleeko .navbarStyle .col-lg-2,
.page-aleeko .navbarStyle .col-lg-8 {
  width: auto;
  max-width: none;
  flex: unset;
  padding: 0 8px;
}

.page-aleeko .header-logo-col {
  grid-column: 1;
  grid-row: 1;
}

.page-aleeko .header-logo {
  height: 58px;
  width: auto;
  max-width: 220px;
}

.page-aleeko .navbarStyle .col-lg-8 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.page-aleeko .navbarStyle .custom-align-end {
  grid-column: 3;
  grid-row: 1;
  justify-content: flex-end;
}

.page-aleeko .header__menu {
  padding: 0 !important;
  display: flex;
  align-items: center;
  align-self: center;
}

.page-aleeko .header.scrolled .header__menu {
  padding: 0 !important;
}

.page-aleeko .navbarStyle .col-lg-8,
.page-aleeko .navbarStyle .custom-align-end {
  align-self: center;
}

.page-aleeko .header__menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.page-aleeko .header__menu ul li {
  margin: 0 !important;
}

.page-aleeko .header__menu ul li:first-child {
  flex: 1;
  min-width: 0;
}

.page-aleeko .classicViewWrapper,
.page-aleeko .classicViewSearch,
.page-aleeko .classicViewWrapper.scrolled {
  position: static;
  transform: none;
  left: auto;
  right: auto;
  top: auto;
  width: 100%;
  max-width: none;
}

@media (min-width: 992px) {
  .page-aleeko .header__menu ul {
    gap: 8px 12px;
  }

  .page-aleeko .header__menu ul li:first-child {
    flex: 1 1 0;
    min-width: 140px;
    max-width: none;
  }

  .page-aleeko .header__menu ul li:not(:first-child) {
    flex: 0 0 auto;
  }

  .page-aleeko .classicViewWrapper,
  .page-aleeko .classicViewWrapper.scrolled,
  .page-aleeko .classicViewSearch,
  .page-aleeko .input-groupClassic {
    width: 100%;
    max-width: 100%;
  }

  .page-aleeko .classicViewSearch {
    position: relative;
  }

  .page-aleeko #searchResultsDropdown {
    top: calc(100% + 4px);
    left: 0;
    right: auto;
    transform: none;
    width: min(800px, calc(100vw - 32px));
    max-width: 800px;
  }

  .page-aleeko #searchResultsDropdown.scrolled {
    position: absolute;
    left: 0;
    right: auto;
    transform: none;
  }
}

.page-aleeko .input-groupClassic {
  display: flex;
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--g);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex-wrap: nowrap;
  align-items: stretch;
}

.page-aleeko .input-groupClassic .form-control,
.page-aleeko .input-groupClassic #searchProducts {
  border: 0;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: none;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 44px !important;
  min-height: 44px;
  line-height: 44px;
}

.page-aleeko .input-groupClassic .input-group-append {
  width: auto !important;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  height: 44px !important;
}

.page-aleeko .input-groupClassic .input-group-text,
.page-aleeko #search-submit {
  background: var(--g) !important;
  color: #fff !important;
  border: 0 !important;
  width: auto !important;
  flex: 1 0 auto;
  align-self: stretch;
  border-radius: 0 !important;
  padding: 0 22px;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 44px !important;
  min-height: 44px !important;
  line-height: 1;
  box-sizing: border-box;
}

.page-aleeko .input-groupClassic .desktop-search-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.page-aleeko .desktop-search-clear {
  background: transparent !important;
  color: #888 !important;
  border: 0 !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  flex: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

.page-aleeko .desktop-search-clear[hidden] {
  display: none !important;
}

.page-aleeko .desktop-search-clear::after {
  content: none !important;
  display: none !important;
  margin: 0 !important;
}

.page-aleeko #search-submit::after {
  content: "Szukaj";
  margin-left: 8px;
  font-size: 13px;
  font-family: var(--head);
}

.page-aleeko .header__menu ul li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: var(--r);
  font-size: 11px !important;
  font-weight: 700;
  color: #333 !important;
  white-space: nowrap;
}

.page-aleeko .header__menu ul li > a:hover {
  background: var(--soft);
  color: var(--g) !important;
}

.page-aleeko .home-hdr-icon {
  display: block !important;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-aleeko .header__menu ul li > a .home-hdr-icon {
  display: block;
}

.page-aleeko .header__menu ul li > a i {
  display: none;
}

.page-aleeko .custom-align-end .header__menu ul li > a {
  flex-direction: row;
  gap: 10px;
  background: var(--g);
  color: #fff !important;
  padding: 10px 16px;
  margin-left: 8px;
}

.page-aleeko .custom-align-end .header__menu ul li > a:hover {
  background: var(--g-mid);
  color: #fff !important;
}

.page-aleeko .custom-align-end .header__menu ul li > a span,
.page-aleeko .custom-align-end .header__menu ul li > a i {
  color: #fff !important;
}

.page-aleeko .custom-align-end .fa-shopping-bag {
  display: none !important;
}

.page-aleeko .home-cart-count {
  font-style: normal;
  background: var(--beige);
  color: #2b2208 !important;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}

.page-aleeko .cart-icon-wrapper {
  display: flex;
  align-items: center;
}

.page-aleeko .cart-badge {
  background: var(--beige);
  color: #2b2208;
}

/* ---------- CATEGORY NAV ---------- */
.page-aleeko .hero.hero-normal {
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.page-aleeko #container-ham {
  margin-top: 0 !important;
}

.page-aleeko .navbar.navbar-light.bg-light {
  background: #fff !important;
  padding: 0;
}

.page-aleeko .navbar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

.page-aleeko .navbar-nav > .nav-item:not(.home-nav-krotka) {
  flex: 1 1 0;
  min-width: 0;
}

.page-aleeko .navbar-nav .nav-item {
  height: auto !important;
  font-family: var(--head);
}

.page-aleeko .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px 10px !important;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink) !important;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.page-aleeko .home-nav-krotka > .nav-link {
  width: auto;
}

.page-aleeko .navbar-nav .nav-link:hover,
.page-aleeko .navbar-nav .nav-item:hover > .nav-link {
  border-bottom-color: var(--beige);
  color: var(--g) !important;
}

.page-aleeko .navbar-nav li a:hover,
.page-aleeko .header__menu li a:hover {
  color: var(--g) !important;
}

.page-aleeko .home-nav-promo > .nav-link {
  color: var(--red) !important;
}

.page-aleeko .home-nav-krotka {
  flex: 0 0 auto;
  margin-left: auto;
}

.page-aleeko .home-nav-krotka > .nav-link {
  background: var(--beige-soft);
  color: var(--beige-dark) !important;
  border: 1px solid var(--beige-line);
  border-radius: 999px;
  padding: 8px 16px !important;
  margin: 5px 0;
}

.page-aleeko .home-nav-krotka > .nav-link:hover {
  background: var(--beige);
  color: #2b2208 !important;
  border-bottom-color: transparent;
}

.page-aleeko .dropdown-menu-main {
  border-top: 3px solid var(--beige) !important;
  box-shadow: var(--sh);
  border-color: var(--line);
}

.page-aleeko .dropdown-menu-main .subMainCatStyle {
  color: var(--g) !important;
  font-family: var(--head);
  font-weight: 700;
}

.page-aleeko .dropdown-item:hover {
  color: var(--g-dark) !important;
  background: var(--beige-soft);
}

/* ---------- HOMEPAGE CONTENT ---------- */
.ae-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.ae-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 18px;
}

.ae-sec-head h2 {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--g);
  letter-spacing: 0.02em;
  margin: 0;
}

.ae-sec-head a {
  font-weight: 700;
  color: var(--g) !important;
  font-size: 13px;
  border-bottom: 2px solid var(--beige);
}

.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 13px;
  border: 0;
  background: var(--g);
  color: #fff !important;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.ae-btn:hover {
  background: var(--g-mid);
  color: #fff !important;
}

.ae-btn-beige {
  background: var(--beige);
  color: #2b2208 !important;
}

.ae-btn-beige:hover {
  background: var(--beige-dark);
  color: #fff !important;
}

/* USP */
.ae-usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.ae-usp > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.ae-usp .ae-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--beige-soft);
  color: var(--beige-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.ae-usp .ae-ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ae-usp b {
  display: block;
  font-family: var(--head);
  font-size: 14px;
}

.ae-usp span {
  font-size: 12px;
  color: var(--muted);
}

/* Goals */
.ae-goals {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.ae-goal {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: #fff;
  transition: 0.15s;
  font-family: var(--head);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--ink) !important;
}

.ae-goal:hover {
  border-color: var(--beige);
  box-shadow: var(--sh);
  transform: translateY(-2px);
  color: var(--g) !important;
}

.ae-goal .ae-ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--g);
  display: grid;
  place-items: center;
}

.ae-goal .ae-ic svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* Tabs + products */
.ae-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.ae-tabs a,
.ae-tabs button {
  padding: 10px 16px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  color: #555;
  border: 0;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}

.ae-tabs a.on,
.ae-tabs button.on {
  color: var(--g);
  border-bottom-color: var(--beige);
}

.ae-tabs .hot {
  color: var(--beige-dark);
}

.ae-tabs .promo {
  color: var(--red);
}

.ae-tabs .promo.on {
  color: var(--red);
  border-bottom-color: var(--red);
}

.ae-pane {
  display: none;
}

.ae-pane.on {
  display: block;
}

.page-home [data-home-tabs] .ae-flags {
  top: 6px;
  left: 6px;
  gap: 4px;
}

.page-home [data-home-tabs] .ae-flag {
  font-size: 0.62rem;
  gap: 5px;
  padding: 0 7px 0 0;
  border-radius: 3px;
}

.page-home [data-home-tabs] .ae-flag svg {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 2px 0 0 2px;
}

.ae-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ae-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: 0.15s;
}

.ae-card:hover {
  box-shadow: var(--sh);
  border-color: var(--beige-line);
}

.ae-flags {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.ae-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--flag-c, #999);
  border-radius: 4px;
  background: #fff;
  color: var(--flag-c, #999);
  padding: 0 9px 0 0;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.ae-flag svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 5px;
  background: var(--flag-c, #999);
  color: #fff;
  border-radius: 3px 0 0 3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-sizing: border-box;
}

.ae-flag i {
  color: var(--flag-c, #999);
  font-size: 10px;
}

.ae-flag.promocja { --flag-c: #c4483b; }

.ae-flag.bestseller { --flag-c: #d48a2c; }

.ae-flag.vege { --flag-c: #5a9a4e; }

.ae-flag.bio { --flag-c: #3f7d3a; }

.ae-flag.krotka { --flag-c: #b8791f; }

.ae-flag.dostawa { --flag-c: #3b7f8c; }

.ae-flag.warianty { --flag-c: #7a6bae; }

.ae-flag.zestaw { --flag-c: #8f6a45; }

.ae-flag.ostatnie { --flag-c: #d48a2c; }

.gemini-cart-promo-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ae-card .ae-pic {
  height: 170px;
  display: grid;
  place-items: center;
  margin: 14px 0 10px;
}

.ae-card .ae-pic img {
  max-height: 170px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ae-card h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  min-height: 54px;
  margin: 3px 0 6px;
}

.ae-card-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 4px;
  min-width: 0;
}

.ae-card-brand img {
  width: 36px;
  height: 28px;
  object-fit: contain;
  flex: none;
  background: #fff;
}

.ae-card-brand a,
.ae-card-brand span {
  font-size: 11px;
  font-weight: 700;
  color: var(--g) !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ae-card-pack {
  font-size: 12px;
  color: var(--muted);
  margin: -2px 0 6px;
}

.ae-card h3 a {
  color: var(--ink) !important;
}

.ae-card h3 a:hover {
  color: var(--g-dark) !important;
}

.ae-card .ae-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
}

.ae-card .ae-price {
  font-family: var(--head);
  font-weight: 800;
  font-size: 18px;
  color: var(--g);
}

.ae-card .ae-price small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.ae-card .ae-price s {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 6px;
}

.ae-card .ae-price.promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
  color: var(--red);
  font-weight: 800;
}

.ae-card .ae-price.promo s {
  display: block;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}

.ae-card .ae-add {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  padding: 0;
}

.ae-card .ae-add:hover {
  background: var(--beige);
  color: #2b2208;
}

.ae-card .ae-add i,
.ae-card .ae-add svg {
  color: inherit;
}

.ae-card .add-to-cart-form {
  margin: 0;
}

.ae-unavailable {
  font-size: 12px;
  color: var(--red);
  margin: 0;
}

.ae-preview {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--g);
  color: #fff !important;
  display: grid;
  place-items: center;
  flex: none;
}

.ae-preview:hover {
  background: var(--beige);
  color: #2b2208 !important;
}

/* Legend */
.ae-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ae-legend > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 12px;
  color: #555;
  background: #fff;
}

.ae-legend .ae-flag {
  align-self: flex-start;
}

/* Two banners (homepage, hardcoded) */
.page-home .ae-promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

/* Two banners */
.ae-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.ae-two > a,
.ae-two > div {
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.ae-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.ae-two .ae-banner-fallback {
  padding: 32px 34px;
  gap: 8px;
}

.ae-two .ae-banner-fallback.a {
  background: var(--beige-soft);
  color: #2b2208;
  border: 1px solid var(--beige-line);
}

.ae-two .ae-banner-fallback.b {
  background: var(--g);
  color: #fff;
}

.ae-two h3 {
  font-size: 24px;
}

/* Home anchor targets (nav / footer hash links) */
#producenci {
  scroll-margin-top: 96px;
}

#sklepy {
  scroll-margin-top: 196px;
}

@media (max-width: 860px) {
  #sklepy {
    scroll-margin-top: 260px;
  }
}

.ae-producers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ae-producer {
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: #fff;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  transition: 0.15s;
}

.ae-producer:hover {
  border-color: var(--beige);
  box-shadow: var(--sh);
}

.ae-producer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  margin: 0;
  vertical-align: middle;
}

/* Blog */
.ae-blog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ae-post {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ae-post .thumb {
  height: 160px;
  background: var(--soft);
  display: block;
  overflow: hidden;
}

.ae-post .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ae-post .body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ae-post .date {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ae-post h3 {
  font-size: 15px;
  line-height: 1.3;
  color: var(--g);
  min-height: 0;
  margin: 0;
}

.ae-post h3 a {
  color: var(--g) !important;
}

.ae-post p {
  font-size: 12.5px;
  color: #555;
  flex: 1;
  margin: 0;
}

.ae-post a.more {
  font-weight: 700;
  color: var(--g) !important;
  font-size: 12.5px;
  border-bottom: 2px solid var(--beige);
  align-self: flex-start;
}

/* About / CMS */
.ae-about {
  margin-top: 56px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 48px;
}

.ae-about h1,
.ae-about h2 {
  font-size: 22px;
  color: var(--g-dark);
  margin: 28px 0 10px;
}

.ae-about h1:first-child,
.ae-about h2:first-child {
  margin-top: 0;
}

.ae-about a {
  color: var(--g-mid);
  text-decoration: underline;
}

.ae-about-sub {
  margin-top: 56px;
  padding: 0 48px;
  background: transparent;
}

.ae-about + .ae-about-sub {
  margin-top: 28px;
}

.ae-about-sub h1,
.ae-about-sub h2 {
  font-size: 22px;
  color: var(--g-dark);
  margin: 28px 0 10px;
}

.ae-about-sub h1:first-child,
.ae-about-sub h2:first-child {
  margin-top: 0;
}

.ae-about-sub a {
  color: var(--g-mid);
  text-decoration: underline;
}

/* Stores */
.ae-stores-sec {
  text-align: center;
  margin-top: 52px;
}

.ae-stores-sec h2 {
  font-size: 26px;
  color: var(--g-dark);
}

.ae-stores-sec > p {
  max-width: 64ch;
  margin: 10px auto 22px;
  color: #444;
}

.ae-stores {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ae-store {
  width: 400px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 22px;
  background: #fff;
  text-align: center;
}

.ae-store .pin {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--beige);
  color: #2b2208;
  display: grid;
  place-items: center;
  font-family: var(--head);
  font-weight: 800;
  font-size: 22px;
  margin: 0 auto 10px;
}

.ae-store h3 {
  font-size: 18px;
  color: var(--g-dark);
  margin-bottom: 6px;
}

.ae-store .hours {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--beige-soft);
  color: var(--beige-dark);
  font-weight: 700;
  font-size: 12px;
}

.ae-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  max-width: 960px;
  margin: 18px auto 40px;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.page-aleeko footer.footer {
  background: var(--g-dark);
  color: #cfd8c3;
  padding: 44px 0 0 !important;
  margin-top: 0;
}

.page-aleeko footer.footer .ae-ft-wrap {
  max-width: var(--wrap);
}

.page-aleeko footer.footer a,
.page-aleeko footer.footer p,
.page-aleeko footer.footer li {
  color: #cfd8c3 !important;
}

.page-aleeko footer.footer a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.page-aleeko .ae-ft {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 26px;
  font-size: 13px;
}

.page-aleeko .ae-ft h4 {
  font-family: var(--head);
  font-size: 12px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige) !important;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-aleeko .ae-ft ul {
  list-style: none;
  display: grid;
  gap: 7px;
  width: 100%;
  float: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.page-aleeko .ae-ft ul li {
  margin: 0;
}

.page-aleeko .ae-ft-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.page-aleeko .ae-ft-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  filter: none;
  margin: 0;
}

.page-aleeko .ae-ft p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-aleeko .ae-ft b {
  color: #fff;
  font-weight: 700;
}

.page-aleeko .ae-paydel {
  border-top: 1px solid #3a5a1a;
  margin-top: 36px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-aleeko .ae-paydel h4 {
  font-family: var(--head);
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige) !important;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-aleeko .ae-paydel-img {
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  max-width: 280px;
  height: auto;
}

.page-aleeko .ae-paydel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-aleeko .ae-delbadge {
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #3a5a1a;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.page-aleeko .ae-delbadge span {
  font-weight: 400;
  color: #cfd8c3;
  font-size: 11px;
}

.page-aleeko .ae-copy {
  border-top: 1px solid #3a5a1a;
  padding: 16px 0;
  font-size: 12px;
  color: #9fb08a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- COOKIES ---------- */
.page-aleeko .cookie-settings-trigger {
  background: var(--g);
  color: #fff !important;
  border: 2px solid var(--beige);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}

.page-aleeko .cookie-settings-trigger:hover {
  background: var(--g-mid);
  border-color: var(--beige);
  color: #fff !important;
}

.page-aleeko .cookie-settings-trigger i {
  color: var(--beige);
}

.page-aleeko #cookieConsentModal .modal-content {
  border: 3px solid var(--beige);
  border-radius: 14px;
}

.page-aleeko #cookieConsentModal .modal-header {
  background: var(--g);
  padding: 0;
  display: block;
}

.page-aleeko #cookieConsentModal .modal-title {
  color: #fff;
  background: var(--g);
  padding: 16px 22px;
  margin: 0;
}

.page-aleeko #cookieConsentModal .modal-title i {
  color: var(--beige);
}

.page-aleeko #cookieConsentModal .cookie-tabs {
  background: var(--soft);
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.page-aleeko #cookieConsentModal .cookie-tabs__btn.is-active {
  color: var(--g);
  border-bottom-color: var(--beige);
  background: #fff;
}

.page-aleeko #cookieConsentModal .cookie-btn--primary {
  background: var(--g);
  color: #fff;
}

.page-aleeko #cookieConsentModal .cookie-btn--primary:hover {
  background: var(--g-mid);
}

.page-aleeko #cookieConsentModal .cookie-toggle input:checked + .cookie-toggle__slider,
.page-aleeko #cookieConsentModal .cookie-toggle--locked .cookie-toggle__slider {
  background: var(--g);
}

.page-aleeko #cookieConsentModal .cookie-consent-intro a,
.page-aleeko #cookieConsentModal .cookie-tab-text a {
  color: var(--g-mid);
}

@media (max-width: 860px) {
  .page-aleeko #cookieConsentModal .modal-title {
    padding: 10px 16px;
    font-size: 16px;
  }

  .page-aleeko #cookieConsentModal .cookie-tabs {
    padding: 0 12px;
  }

  .page-aleeko #cookieConsentModal .cookie-tabs__btn {
    padding: 7px 10px;
  }

  .page-aleeko #cookieConsentModal .modal-body {
    padding: 12px 16px 8px;
    min-height: 0;
  }

  .page-aleeko #cookieConsentModal .cookie-consent-intro,
  .page-aleeko #cookieConsentModal .cookie-tab-text {
    margin-bottom: 10px;
    line-height: 1.45;
  }

  .page-aleeko #cookieConsentModal .cookie-category {
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .page-aleeko #cookieConsentModal .modal-footer {
    padding: 10px 16px 12px;
  }

  .page-aleeko #cookieConsentModal .cookie-btn {
    padding: 8px 14px;
  }

  .page-aleeko .cookie-settings-trigger {
    padding: 7px 10px;
  }
}

/* ---------- MOBILE BAR ---------- */
.page-aleeko .mobile-menu-wrapper {
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: none;
}

.page-aleeko .mobile-menu li a,
.page-aleeko .mobile-menu li span,
.page-aleeko .mobile-menu li i {
  color: var(--g-dark) !important;
  font-weight: 700;
}

.page-aleeko .mobile-menu li a:hover,
.page-aleeko .mobile-menu li a:hover i,
.page-aleeko .mobile-menu li a:hover span {
  color: var(--g) !important;
}

@media (max-width: 768px) {
  body.page-aleeko {
    padding-bottom: 56px;
    overflow-x: clip;
  }

  .page-aleeko .mobile-menu-wrapper {
    z-index: 55;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-aleeko .mobile-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .page-aleeko .mobile-menu li {
    width: auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .page-aleeko .mobile-menu li a {
    padding: 9px 4px;
    font-size: 11px;
    color: var(--g) !important;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .page-aleeko .mobile-menu li i.fa {
    display: none;
  }

  .page-aleeko .mobile-menu li a span {
    font-size: 11px;
    color: var(--g) !important;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-aleeko .mobile-menu .cart-count {
    position: static;
    display: inline-block;
    margin-left: 4px;
    font-size: 11px !important;
    padding: 0 5px;
    vertical-align: middle;
    flex-shrink: 0;
  }
}

.page-aleeko .cart-count {
  background: var(--beige);
  color: #2b2208;
}

.page-aleeko .navbar-nav > .home-only {
  display: flex !important;
}

.page-aleeko .cart-badge {
  display: none !important;
}

.page-aleeko .custom-align-end .header__menu ul li > a span {
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
}

.page-aleeko i.home-cart-count {
  display: inline-block !important;
  font-style: normal;
}

@media (max-width: 1100px) {
  .ae-products { grid-template-columns: repeat(4, 1fr); }
  .ae-goals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-producers { grid-template-columns: repeat(4, 1fr); }
  .ae-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-aleeko .ae-ft {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
.ae-usp > div {
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 14px;
    text-align: center;
    min-height: 152px;
    box-sizing: border-box;
  }
.ae-usp .ae-ic {
    align-self: center;
  }
.ae-usp > div > div:last-child {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
.ae-goal {
    min-width: 0;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .ae-goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .page-aleeko .navbarStyle .row.h-100 {
    grid-template-columns: 1fr auto;
  }
  .page-aleeko .navbarStyle .col-lg-8 {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .page-aleeko #search-submit::after {
    display: none;
  }
  .page-aleeko .header__menu ul li > a span {
    display: none;
  }
  .page-aleeko .custom-align-end .header__menu ul li > a span {
    display: inline;
  }
}

@media (max-width: 860px) {
.ae-products { grid-template-columns: repeat(2, 1fr); }
.page-aleeko .header__top .home-topbar-meta span.home-only {
    display: none !important;
  }
.ae-about { padding: 26px 20px; }
.ae-about-sub { padding: 0 20px; }
.page-aleeko .ae-ft,
  .page-aleeko .ae-paydel {
    grid-template-columns: 1fr 1fr;
  }
/* Topbar — jak we wzorze: BLOG + telefon, bez logowania */
  .page-aleeko {
    --header-top-height: 56px;
  }
  .page-aleeko .header__top {
    display: block !important;
    overflow: hidden;
    max-height: var(--header-top-height);
    padding: 0;
  }
/* header__top znika przy scrollu, navbarStyle zostaje przyklejony */
  .page-aleeko #wrapper {
    top: calc(-1 * var(--header-top-height));
  }
.page-aleeko .header__top .col-lg-3:last-child,
  .page-aleeko .header__top__right {
    display: none !important;
  }
.page-aleeko .header__top .container {
    padding-right: 12px;
    padding-left: 0;
  }
.page-aleeko .header__top .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: var(--header-top-height);
    max-height: var(--header-top-height);
    gap: 6px;
    margin: 0;
  }
.page-aleeko .header__top .col-lg-3,
.page-aleeko .header__top .col-lg-6 {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    padding: 0 !important;
  }
.page-aleeko .header__top .col-lg-6 {
    flex: 1 1 auto !important;
    min-width: 0;
  }
.page-aleeko .header__top a.home-topbar-blog {
    height: 26px;
    min-height: 0;
    padding: 2px 8px 4px;
    font-size: 10px !important;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    position: static;
    left: auto;
    top: auto;
    margin: 0 0 0 4px;
    border-radius: 4px;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    transform: translateY(-4px);
  }
.page-aleeko .header__top .col-lg-3:first-child {
    flex: 0 0 auto;
    max-width: none;
    display: flex !important;
    align-items: center !important;
  }
.page-aleeko .header__top__left {
    display: flex;
    align-items: center;
    height: 100%;
  }
.page-aleeko .home-topbar-meta {
    flex-wrap: nowrap;
    min-width: 0;
    gap: 0;
    overflow: visible;
  }
.page-aleeko .home-topbar-meta p {
    font-size: 13px !important;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    margin: 0 !important;
  }
.page-aleeko .home-topbar-hours {
    display: block;
  }
.page-aleeko .indyvidualContactOnMobile {
    display: none !important;
  }
/* Header: logo → wyszukiwarka → ikony + koszyk (jak we wzorze) */
  .page-aleeko .header .navbarStyle,
  .page-aleeko .header .container.navbarStyle {
    height: auto !important;
  }
.page-aleeko .header__menu {
    display: block !important;
    padding: 0 !important;
  }
.page-aleeko .humberger__open,
  .page-aleeko .humberger__open.mobile-search-fixed,
  .page-aleeko #searchResultsDropdownMobile {
    display: none !important;
  }
.page-aleeko .navbarStyle .row.h-100 {
    display: grid;
    grid-template-columns: repeat(5, max-content) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 10px;
    padding: 10px 0 8px;
  }
.page-aleeko .header-logo-col {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    padding: 0 !important;
    height: auto;
  }
.page-aleeko .header-logo {
    height: 52px;
    width: auto !important;
    max-width: 200px;
  }
.page-aleeko .navbarStyle .col-lg-8,
  .page-aleeko .navbarStyle .col-lg-8 .header__menu,
  .page-aleeko .navbarStyle .col-lg-8 .header__menu > ul {
    display: contents !important;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:first-child {
    grid-column: 1 / -1;
    grid-row: 2;
    flex: none;
    min-width: 0;
    width: auto;
    margin: 0 !important;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(2) { grid-column: 1; grid-row: 3; }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(3) { grid-column: 2; grid-row: 3; }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(4) { grid-column: 3; grid-row: 3; }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(5) { grid-column: 4; grid-row: 3; }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(6) { grid-column: 5; grid-row: 3; }
.page-aleeko .navbarStyle .custom-align-end {
    grid-column: 6;
    grid-row: 3;
    justify-self: end;
    padding: 0;
    margin-top: 10px !important;
    margin-bottom: 12px !important;
  }
.page-aleeko .header__menu ul li {
    margin: 0 !important;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(2),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(3),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(4),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(5),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(6) {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li > a {
    font-size: 0 !important;
    padding: 4px 6px;
    gap: 0;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li > a .home-hdr-icon {
    width: 22px;
    height: 22px;
  }
.page-aleeko #search-submit::after {
    display: inline;
  }
.page-aleeko .custom-align-end .header__menu ul li > a span:not(.cart-badge) {
    display: inline !important;
  }
.page-aleeko .custom-align-end .cart-badge {
    display: none !important;
  }
.page-aleeko .custom-align-end .header__menu ul li > a {
    padding: 10px 16px;
    margin-left: 8px;
  }
.page-aleeko .custom-align-end .header__menu ul li > a .home-cart-count,
  .page-aleeko i.home-cart-count {
    font-size: 11px !important;
  }
.page-aleeko .input-groupClassic,
  .page-aleeko .classicViewWrapper,
  .page-aleeko .classicViewSearch,
  .page-aleeko .header .classicViewWrapper,
  .page-aleeko .header .classicViewWrapper.scrolled,
  .page-aleeko .header.scrolled .classicViewWrapper {
    max-width: none !important;
    width: 100% !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: 0 !important;
    transform: none !important;
  }
.page-aleeko #searchResultsDropdown {
    width: 100% !important;
    left: 0;
    right: 0;
    transform: none;
    max-width: none;
  }

  .page-aleeko #searchResultsDropdown.scrolled {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 1002;
  }

  .page-aleeko .classicViewSearch {
    position: relative !important;
    overflow: visible !important;
  }
/* Nawigacja kategorii — jeden rząd, scroll tylko tego paska */
  .page-aleeko .hero.hero-normal,
  .page-aleeko #container-ham {
    max-width: 100%;
    overflow: hidden;
  }
.page-aleeko .navbar-toggler {
    display: none !important;
  }
.page-aleeko .navbar.navbar-expand-lg {
    display: block;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden;
  }
.page-aleeko #navbarCategories.navbar-collapse,
  .page-aleeko #navbarCategories.navbar-collapse.collapse,
  .page-aleeko #navbarCategories.navbar-collapse.collapsing,
  .page-aleeko #navbarCategories.navbar-collapse.show {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    flex-basis: auto;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
.page-aleeko .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: max-content !important;
    min-width: 100%;
    height: auto !important;
    margin: 0;
  }
.page-aleeko .navbar-nav > .nav-item {
    flex: 0 0 auto !important;
    width: auto !important;
    float: none;
    height: auto !important;
  }
.page-aleeko .navbar-nav > .nav-item:not(.home-nav-krotka) > .nav-link {
    width: auto !important;
    justify-content: flex-start;
  }
.page-aleeko .home-nav-krotka {
    margin-left: 0 !important;
  }
.page-aleeko .navbar-nav .dropdown-toggle::after,
  .page-aleeko .navbar-nav .nav-item.dropdown > .nav-link.has-submenu::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
  }
.page-aleeko .navbar-nav .nav-item.dropdown > .nav-link {
    padding-right: 12px !important;
  }
.page-aleeko .dropdown-menu-main,
  .page-aleeko .dropdown-menu-right,
  .page-aleeko .navbar-nav .dropdown-menu,
  .page-aleeko .navbar-nav .dropdown-menu.show-submenu,
  .page-aleeko .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
  .page-aleeko .navbar-nav .nav-item.dropdown.open > .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
.page-aleeko .navbar-nav .nav-link {
    display: flex;
    width: auto !important;
    padding: 10px 12px !important;
    white-space: nowrap;
  }

  /* Po scrollu: mniejsze odstępy między wyszukiwarką a ikonami (razem z chowaniem header__top) */
  .page-aleeko .navbarStyle .row.h-100 {
    transition: row-gap 0.2s ease-in-out, padding 0.2s ease-in-out;
  }

  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(2),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(3),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(4),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(5),
  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li:nth-child(6),
  .page-aleeko .navbarStyle .custom-align-end {
    transition: margin 0.2s ease-in-out;
  }

  .page-aleeko .header.scrolled .navbarStyle .row.h-100 {
    row-gap: 6px;
    padding: 4px 0 6px;
  }

  .page-aleeko .header.scrolled .navbarStyle .col-lg-8 .header__menu ul li:nth-child(2),
  .page-aleeko .header.scrolled .navbarStyle .col-lg-8 .header__menu ul li:nth-child(3),
  .page-aleeko .header.scrolled .navbarStyle .col-lg-8 .header__menu ul li:nth-child(4),
  .page-aleeko .header.scrolled .navbarStyle .col-lg-8 .header__menu ul li:nth-child(5),
  .page-aleeko .header.scrolled .navbarStyle .col-lg-8 .header__menu ul li:nth-child(6),
  .page-aleeko .header.scrolled .navbarStyle .custom-align-end {
    margin-top: 2px !important;
    margin-bottom: 6px !important;
  }

  .page-aleeko .header.scrolled .header__menu {
    padding: 0 !important;
  }

  .page-aleeko .header.scrolled .navbarStyle,
  .page-aleeko .header.scrolled .container.navbarStyle {
    height: auto !important;
  }
}

@media (max-width: 600px) {
.ae-producers {
    grid-template-columns: repeat(2, 1fr);
  }
.ae-store { width: 100%; }
.page-aleeko .cookie-settings-trigger {
    bottom: 72px;
  }
.page-aleeko .ae-ft,
  .page-aleeko .ae-paydel {
    grid-template-columns: 1fr;
  }
.page-aleeko .header-logo {
    height: 48px;
    max-width: 180px;
  }
.page-aleeko .navbarStyle .col-lg-8 .header__menu ul li > a {
    padding: 5px 6px;
  }
.page-aleeko .custom-align-end .header__menu ul li > a {
    padding: 8px 10px;
    margin-left: 2px;
  }
}

@media (min-width: 992px) {
  /* Desktop: stały pasek nagłówka — bez przesunięć przy scrollu */
  .page-aleeko .header-logo-col,
  .page-aleeko .header.scrolled .header-logo-col {
    padding-top: 0 !important;
  }

  .page-aleeko .header-logo {
    transition: none;
  }

  .page-aleeko .navbarStyle,
  .page-aleeko .header.scrolled .navbarStyle,
  .page-aleeko .container.navbarStyle,
  .page-aleeko .header.scrolled .container.navbarStyle {
    height: auto !important;
  }

  .page-aleeko .header.scrolled .navbarStyle .row.h-100 {
    padding: 12px 0;
  }

  .page-aleeko .header.scrolled .header-logo {
    height: 58px;
    width: auto;
    max-width: 220px;
    max-height: none;
  }

  .page-aleeko .header.scrolled .header__menu {
    padding: 0 !important;
  }
}

/* ---------- TERMS PAGE ---------- */
.page-terms .breadcrumb-section {
  display: none !important;
}

.page-terms .ae-terms-page {
  padding: 8px 0 56px;
}

.page-terms .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-terms .ae-crumbs a {
  color: var(--muted) !important;
}

.page-terms .ae-crumbs a:hover {
  color: var(--g) !important;
}

.page-terms .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-terms .ae-sec-head--terms {
  margin-bottom: 24px;
}

.page-terms .ae-sec-head--terms h2 {
  margin: 0;
}

.page-terms .ae-terms-intro {
  max-width: 920px;
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.page-terms .ae-terms-intro.cms-page-content {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-terms .ae-terms-intro img,
.page-terms .ae-terms-intro video,
.page-terms .ae-terms-intro iframe,
.page-terms .ae-terms-intro embed,
.page-terms .ae-terms-intro object {
  max-width: 100% !important;
  height: auto !important;
}

.page-terms .ae-terms-intro table {
  max-width: 100%;
}

.page-terms .ae-terms-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.page-terms .ae-terms-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px -6px rgba(36, 64, 10, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-terms .ae-terms-card:hover {
  border-color: var(--beige-line);
  box-shadow: 0 4px 18px -8px rgba(36, 64, 10, 0.16);
}

.page-terms .ae-terms-card__title {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.35;
}

.page-terms .ae-terms-card__preview {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

.page-terms .ae-terms-card__actions {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.page-terms .ae-terms-card__actions.btn-three::before,
.page-terms .ae-terms-card__actions.btn-three::after {
  content: none !important;
  display: none !important;
}

.page-terms .ae-terms-card__actions.btn-three {
  color: inherit;
  transition: none;
}

.page-terms .ae-terms-card__actions > span {
  display: inline-flex;
}

.page-terms .ae-terms-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--r);
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease;
}

.page-terms .ae-terms-card__link:hover,
.page-terms .ae-terms-card__actions:hover .ae-terms-card__link,
.page-terms .ae-terms-card__link.btn:hover,
.page-terms .ae-terms-card__link.btn:focus-visible {
  background: var(--g-mid) !important;
  color: #fff !important;
  box-shadow: none;
}

.page-terms .ae-terms-empty {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
}

.page-terms .ae-terms-detail {
  max-width: 920px;
  margin: 0 auto 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px -6px rgba(36, 64, 10, 0.1);
}

.page-terms .ae-terms-detail__body {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.page-terms .ae-terms-detail__body.cms-page-content {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-terms .ae-terms-detail__body img,
.page-terms .ae-terms-detail__body video,
.page-terms .ae-terms-detail__body iframe,
.page-terms .ae-terms-detail__body embed,
.page-terms .ae-terms-detail__body object {
  max-width: 100% !important;
  height: auto !important;
}

.page-terms .ae-terms-detail__body table {
  max-width: 100%;
}

.page-terms .ae-terms-detail__body h1,
.page-terms .ae-terms-detail__body h2,
.page-terms .ae-terms-detail__body h3,
.page-terms .ae-terms-detail__body h4,
.page-terms .ae-terms-detail__body h5,
.page-terms .ae-terms-detail__body h6 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.35;
  margin: 1.4em 0 0.6em;
}

.page-terms .ae-terms-detail__body h1:first-child,
.page-terms .ae-terms-detail__body h2:first-child,
.page-terms .ae-terms-detail__body h3:first-child,
.page-terms .ae-terms-detail__body h4:first-child,
.page-terms .ae-terms-detail__body h5:first-child,
.page-terms .ae-terms-detail__body h6:first-child,
.page-terms .ae-terms-detail__body p:first-child {
  margin-top: 0;
}

.page-terms .ae-terms-detail__body p,
.page-terms .ae-terms-detail__body ul,
.page-terms .ae-terms-detail__body ol {
  margin: 0 0 1em;
}

.page-terms .ae-terms-detail__body a {
  color: var(--g-dark);
  text-decoration: underline;
}

.page-terms .ae-terms-detail__body a:hover {
  color: var(--g);
}

.page-terms .ae-terms-detail-page .ae-terms-intro:empty {
  display: none;
}

@media (max-width: 991px) {
  .page-terms .ae-terms-intro.cms-page-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-terms .ae-terms-intro .container,
  .page-terms .ae-terms-intro .row,
  .page-terms .ae-terms-intro [class*="col-"] {
    max-width: 100%;
    min-width: 0;
  }

  .page-terms .ae-terms-detail__body.cms-page-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-terms .ae-terms-detail__body .container,
  .page-terms .ae-terms-detail__body .row,
  .page-terms .ae-terms-detail__body [class*="col-"] {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .page-terms .ae-terms-card {
    padding: 18px 16px;
  }

  .page-terms .ae-terms-card__link {
    width: 100%;
  }

  .page-terms .ae-terms-detail {
    padding: 20px 16px;
  }
}

/* ---------- CMS PAGE (static content) ---------- */
.page-cms .breadcrumb-section {
  display: none !important;
}

.page-cms .ae-cms-page {
  padding: 8px 0 56px;
}

.page-cms .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-cms .ae-crumbs a {
  color: var(--muted) !important;
}

.page-cms .ae-crumbs a:hover {
  color: var(--g) !important;
}

.page-cms .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-cms .ae-sec-head--cms {
  margin-bottom: 24px;
}

.page-cms .ae-sec-head--cms h2 {
  margin: 0;
}

.page-cms .ae-cms-panel {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px -6px rgba(36, 64, 10, 0.1);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.page-cms .ae-cms-panel.cms-page-content {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-cms .ae-cms-panel img,
.page-cms .ae-cms-panel video,
.page-cms .ae-cms-panel iframe,
.page-cms .ae-cms-panel embed,
.page-cms .ae-cms-panel object {
  max-width: 100% !important;
  height: auto !important;
}

.page-cms .ae-cms-panel table {
  max-width: 100%;
}

.page-cms .ae-cms-panel h1,
.page-cms .ae-cms-panel h2,
.page-cms .ae-cms-panel h3,
.page-cms .ae-cms-panel h4,
.page-cms .ae-cms-panel h5,
.page-cms .ae-cms-panel h6 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.35;
  margin: 1.4em 0 0.6em;
}

.page-cms .ae-cms-panel h1:first-child,
.page-cms .ae-cms-panel h2:first-child,
.page-cms .ae-cms-panel h3:first-child,
.page-cms .ae-cms-panel h4:first-child,
.page-cms .ae-cms-panel h5:first-child,
.page-cms .ae-cms-panel h6:first-child,
.page-cms .ae-cms-panel p:first-child {
  margin-top: 0;
}

.page-cms .ae-cms-panel p,
.page-cms .ae-cms-panel ul,
.page-cms .ae-cms-panel ol {
  margin: 0 0 1em;
}

.page-cms .ae-cms-panel a {
  color: var(--g-dark);
  text-decoration: underline;
}

.page-cms .ae-cms-panel a:hover {
  color: var(--g);
}

@media (max-width: 991px) {
  .page-cms .ae-cms-panel.cms-page-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-cms .ae-cms-panel .container,
  .page-cms .ae-cms-panel .row,
  .page-cms .ae-cms-panel [class*="col-"] {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .page-cms .ae-cms-panel {
    padding: 20px 16px;
  }
}

/* ---------- RETURN PAGE (odstapienie) ---------- */
.page-return .breadcrumb-section {
  display: none !important;
}

.page-return .ae-return-page {
  padding: 8px 0 56px;
}

.page-return .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-return .ae-crumbs a {
  color: var(--muted) !important;
}

.page-return .ae-crumbs a:hover {
  color: var(--g) !important;
}

.page-return .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-return .ae-sec-head--return {
  margin-bottom: 24px;
}

.page-return .ae-sec-head--return h2 {
  margin: 0;
}

.page-return .ae-return-panel {
  max-width: 620px;
  margin: 0 auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 34px 28px;
}

.page-return .ae-return-intro {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.page-return .ae-return-form .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-return .ae-return-form .form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-return .ae-return-form .form-control:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

.page-return .ae-return-form .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0;
}

.page-return .ae-return-form .row > .col-lg-12 {
  margin-bottom: 18px;
}

.page-return .ae-return-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.page-return .ae-return-actions .site-btn {
  min-width: 220px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-return .ae-return-actions .site-btn:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .page-return .ae-return-panel {
    padding: 22px 16px 20px;
  }

  .page-return .ae-return-actions {
    justify-content: stretch;
  }

  .page-return .ae-return-actions .site-btn {
    width: 100%;
  }
}

/* ---------- RETURN MODAL (ODSTĄPIENIE) ---------- */
#returnProductModal .modal-dialog {
  max-width: 680px;
}

#returnProductModal .modal-content {
  border: 3px solid var(--beige);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh);
  background: #fff;
}

#returnProductModal .ae-return-modal__header {
  background: var(--g);
  border-bottom: none;
  padding: 18px 24px;
  align-items: flex-start;
  gap: 16px;
}

#returnProductModal .ae-return-modal__heading {
  flex: 1 1 auto;
  min-width: 0;
}

#returnProductModal .ae-return-modal__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

#returnProductModal .ae-return-modal__title {
  margin: 0;
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.02em;
}

#returnProductModal .btn-close {
  flex: 0 0 auto;
  margin: 2px 0 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

#returnProductModal .btn-close:hover {
  opacity: 1;
}

#returnProductModal .ae-return-modal__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#returnProductModal .ae-return-modal__body {
  padding: 24px 28px;
  background: var(--soft);
}

#returnProductModal .ae-return-modal__intro {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

#returnProductModal .ae-return-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
}

#returnProductModal .ae-return-modal__meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

#returnProductModal .ae-return-modal__field {
  margin-bottom: 24px;
}

#returnProductModal .ae-return-modal__field .form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

#returnProductModal .ae-return-modal__field .form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#returnProductModal .ae-return-modal__field .form-control:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

#returnProductModal .ae-return-modal__products-title {
  margin: 0 0 14px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--g-dark);
}

#returnProductModal .ae-return-modal__product {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#returnProductModal .ae-return-modal__product:last-child {
  margin-bottom: 0;
}

#returnProductModal .ae-return-modal__product:not(.is-returned):hover {
  border-color: var(--beige-line);
  box-shadow: 0 4px 14px -10px rgba(48, 83, 8, 0.35);
}

#returnProductModal .ae-return-modal__product.is-returned {
  background: #f3f4f2;
  opacity: 0.72;
}

#returnProductModal .ae-return-modal__product-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  cursor: pointer;
}

#returnProductModal .ae-return-modal__product.is-returned .ae-return-modal__product-label {
  cursor: default;
}

#returnProductModal .ae-return-modal__product-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--g);
  cursor: pointer;
}

#returnProductModal .ae-return-modal__product.is-returned .ae-return-modal__product-check {
  cursor: default;
}

#returnProductModal .ae-return-modal__product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#returnProductModal .ae-return-modal__product-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

#returnProductModal .ae-return-modal__product-qty {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

#returnProductModal .ae-return-modal__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
}

#returnProductModal .ae-return-modal__hint {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--beige-line);
  border-radius: var(--r);
  background: var(--beige-soft);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

#returnProductModal .ae-return-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

#returnProductModal .ae-return-modal__submit {
  min-width: 200px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

#returnProductModal .ae-return-modal__submit:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  #returnProductModal .modal-dialog {
    margin: 0.75rem;
  }

  #returnProductModal .ae-return-modal__header {
    padding: 16px 18px;
  }

  #returnProductModal .ae-return-modal__title {
    font-size: 16px;
  }

  #returnProductModal .ae-return-modal__body {
    padding: 18px 16px;
  }

  #returnProductModal .ae-return-modal__footer {
    padding: 14px 16px;
  }

  #returnProductModal .ae-return-modal__submit {
    width: 100%;
    min-width: 0;
  }
}

@keyframes ae-fav-undo-ring-countdown {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 125.664;
  }
}


@media (max-width: 860px) {
  .page-home [data-home-tabs] .ae-card .ae-bottom {
    align-items: center;
    padding-top: 0;
  }

  .page-home [data-home-tabs] .ae-card .ae-bottom .ae-price {
    font-size: 15px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
  }

  .page-home [data-home-tabs] .ae-card .ae-bottom .ae-price.promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .page-home [data-home-tabs] .ae-card .ae-bottom .ae-price small {
    display: inline;
    margin: 0;
  }

  .page-home [data-home-tabs] .ae-card .ae-bottom .ae-price s {
    font-size: 10px;
  }

  .page-home [data-home-tabs] .ae-card .ae-bottom .ae-price.promo s {
    display: block;
    margin: 0;
  }

  .page-home [data-home-tabs] .ae-card .add-to-cart-form {
    display: flex;
    align-items: center;
    margin: 0;
  }
}

@media (max-width: 860px) {
  .page-home .ae-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .ae-legend > div {
    min-width: 0;
  }

  .page-home .ae-legend > div > span:last-child {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4,
.page-home h5,
.page-product h1,
.page-product h2,
.page-product h3,
.page-product h4,
.page-product h5,
.page-category h1,
.page-category h2,
.page-category h3,
.page-category h4,
.page-category h5,
.page-categories h1,
.page-categories h2,
.page-categories h3,
.page-categories h4,
.page-categories h5 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home a:hover,
.page-product a:hover,
.page-category a:hover,
.page-categories a:hover {
  color: var(--g) !important;
}

/* Slider */
.page-home .home-sliders-scale {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.page-home #carouselBannerWrap {
  margin-bottom: 0 !important;
}

.page-home #mySlider.slider {
  position: relative;
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh);
  background: #f7f4ec;
  aspect-ratio: 1500 / 500;
  font-size: 0;
}

.page-home #mySlider .slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.page-home #mySlider .slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-home #mySlider .slide > a {
  display: flex;
  width: 100%;
  height: 100%;
}

.page-home #mySlider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home #mySlider .caption {
  position: absolute;
  left: 40px;
  bottom: 28px;
  padding: 1rem 1.25rem;
  background: rgba(36, 64, 10, 0.72);
  color: #fff !important;
  border-radius: 10px;
  max-width: 42%;
}

.page-home #mySlider .caption h5,
.page-home #mySlider .caption p {
  color: #fff;
  margin: 0;
}

.page-home #mySlider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: var(--sh);
  color: var(--g-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.page-home #mySlider .arrow.prev {
  left: 14px;
}

.page-home #mySlider .arrow.next {
  right: 14px;
}

.page-home #mySlider .arrow:hover {
  background: #fff;
}

.page-home #mySlider .dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home #mySlider .dots li {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.page-home #mySlider .dots li.active {
  background: var(--beige);
}

.page-home .ae-promo-banners > div {
  border-radius: 14px;
  padding: 32px 34px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.page-home .ae-promo-banners .a {
  background: var(--beige-soft);
  color: #2b2208;
  border: 1px solid var(--beige-line);
}

.page-home .ae-promo-banners .b {
  background: var(--g);
  color: #fff;
}

.page-home .ae-promo-banners .b h3,
.page-home .ae-promo-banners .b p {
  color: #fff;
}

.page-home .ae-promo-banners h3 {
  font-size: 24px;
  margin: 0;
}

.page-home .ae-promo-banners p {
  font-size: 13.5px;
  max-width: 42ch;
  margin: 0;
}

.page-home .ae-promo-banners .ae-btn {
  align-self: flex-start;
  margin-top: 8px;
}

.page-home .ae-promo-banners .a .ae-btn {
  background: var(--g);
  color: #fff !important;
}

.page-home .ae-promo-banners .a .ae-btn:hover {
  background: var(--g-mid);
  color: #fff !important;
}

.page-home .ae-promo-banners .b .ae-btn {
  background: var(--beige);
  color: #2b2208 !important;
}

.page-home .ae-promo-banners .b .ae-btn:hover {
  background: var(--beige-dark);
  color: #fff !important;
}

/* ---------- CATEGORY PAGE ---------- */
.page-category .breadcrumb-section {
  display: none !important;
}

.page-category section.product.spad {
  padding: 8px 0 48px;
}

.page-category .ae-crumbs,
.page-category .breadcrumbs.ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-category .ae-crumbs a,
.page-category .breadcrumbs.ae-crumbs a {
  color: var(--muted) !important;
}

.page-category .ae-crumbs a:hover,
.page-category .breadcrumbs.ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-category .ae-crumbs b,
.page-category .breadcrumbs.ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-category .breadcrumbs.ae-crumbs a + a::before {
  content: none;
}

.page-category .ae-cat-layout.row {
  display: grid !important;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
  margin-left: 0;
  margin-right: 0;
}

.page-category .ae-cat-layout > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding-left: 0;
  padding-right: 0;
}

.page-category .ae-cat-side .producentsStyle {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-bottom: 14px;
}

.page-category .ae-cat-side .producentsStyle > hr {
  display: none;
}

.page-category .sidebar-collapsible__toggle h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g);
  font-family: var(--head);
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--beige-soft);
  margin: 0 0 12px;
  width: 100%;
}

.page-category .sidebar-collapsible__arrow {
  color: var(--muted);
}

.page-category .sidebar-collapsible label[for="price-sort"] {
  display: none;
}

.page-category .shop-filter-field .form-control,
.page-category .shop-filter-field .nice-select,
.page-category .ae-cat-side select,
.page-category .ae-cat-side input[type="number"] {
  width: 100%;
  border: 1px solid var(--line) !important;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  height: auto !important;
  line-height: 1.4;
  background: #fff;
}

.page-category .shop-filter-field .nice-select {
  width: 100%;
}

.page-category .ae-pricerow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.page-category .ae-pricerow .shop-filter-field {
  margin-bottom: 8px !important;
}

.page-category .price-range-slider__range {
  background: var(--g);
}

.page-category .price-range-slider__input::-webkit-slider-thumb {
  background: var(--g);
}

.page-category .price-range-slider__input::-moz-range-thumb {
  background: var(--g);
}

.page-category #price-range-label,
.page-category .price-range-slider-field .form-label {
  font-size: 12px;
  color: var(--muted);
}

.page-category .price-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-category .price-preset-btn {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: var(--ink);
}

.page-category .price-preset-btn:hover,
.page-category .price-preset-btn.active {
  background: var(--beige-soft);
  border-color: var(--beige);
  color: var(--g);
}

.page-category .filter-container--sidebar {
  gap: 0;
}

.page-category .filter-option {
  display: block;
  position: relative;
  padding: 4px 0;
}

.page-category .filter-option input[type="checkbox"].flag-filter {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.page-category .filter-container--sidebar .flag-filter-label {
  width: 100%;
  box-sizing: border-box;
}

.page-category .flag-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--flag-c, #999);
  border-radius: 4px;
  background: #fff;
  color: var(--flag-c, #999);
  padding: 0 9px 0 0;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 0;
  opacity: 0.88;
  box-shadow: none;
  cursor: pointer;
  transition: box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.page-category .filter-option .flag-filter-label:hover {
  opacity: 1;
}

.page-category .flag-filter-label svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 5px;
  background: var(--flag-c, #999);
  color: #fff;
  border-radius: 3px 0 0 3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-sizing: border-box;
}

.page-category .flag-filter-label--promo { --flag-c: #c4483b; }

.page-category .flag-filter-label--bestseller { --flag-c: #d48a2c; }

.page-category .flag-filter-label--vege { --flag-c: #5a9a4e; }

.page-category .flag-filter-label--bio { --flag-c: #3f7d3a; }

.page-category .flag-filter-label--short { --flag-c: #b8791f; }

.page-category .flag-filter-label--free { --flag-c: #3b7f8c; }

.page-category .flag-filter-label--set { --flag-c: #7a6bae; }

.page-category .flag-filter-label--bundle { --flag-c: #8f6a45; }

.page-category .flag-filter-label--ostatnie { --flag-c: #d48a2c; }

.page-category .filter-option input[type="checkbox"].flag-filter:checked + .flag-filter-label {
  opacity: 1;
  background: color-mix(in srgb, var(--flag-c, #999) 11%, #fff);
  box-shadow:
    0 0 0 2px var(--flag-c, #999),
    0 2px 10px color-mix(in srgb, var(--flag-c, #999) 20%, transparent);
}

.page-category #level2-category-links {
  overflow: visible !important;
  max-height: none !important;
  padding-right: 0;
}

.page-category .level2-category-link {
  display: block;
  padding: 7px 0;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink) !important;
  background: transparent;
}

.page-category .level2-category-link.active {
  color: var(--g-dark) !important;
  background: transparent;
  font-weight: 800;
}

.page-category .level3-category-link {
  display: block;
  padding: 4px 0;
  font-weight: 600;
  font-size: 13px;
  color: #444 !important;
  background: transparent;
}

.page-category .level4-category-link {
  display: block;
  padding: 4px 0;
  font-weight: 400;
  font-size: 12.5px;
  color: #555 !important;
  background: transparent;
}

.page-category .level2-category-link:hover,
.page-category .level3-category-link:hover,
.page-category .level4-category-link:hover {
  color: var(--g-dark) !important;
  background: transparent;
}

.page-category .level3-category-list {
  padding: 4px 0 6px 10px;
}

.page-category .level4-category-list {
  padding: 2px 0 4px 12px;
}

.page-category .sidebar-cat-expand {
  color: var(--muted);
}

.page-category .sidebar-cat-expand:hover {
  color: var(--g);
  background-color: var(--beige-soft);
}

.page-category #manufacturer-filters {
  overflow: visible !important;
  max-height: none !important;
}

.page-category #manufacturer-filters .row {
  display: flex;
  margin: 0;
  width: 100%;
}

.page-category .manufacturer-filter {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 400;
  text-transform: none !important;
  color: var(--ink);
  cursor: pointer;
}

.page-category .manufacturer-filter.active {
  color: var(--g);
  font-weight: 700;
}

.page-category #manufacturer-filters:not(.is-expanded) .manufacturer-filter-item.is-collapsed {
  display: none;
}

.page-category .manufacturer-filters-toggle-row {
  margin-top: 4px;
}

.page-category .manufacturer-filters-toggle {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 8px 0 2px;
  border: 0;
  background: transparent;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--g);
  cursor: pointer;
  transition: color 0.15s ease;
}

.page-category .manufacturer-filters-toggle:hover {
  color: var(--g-dark);
}

.page-category .products-per-page {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.page-category .products-per-page .form-label {
  display: none;
}

.page-category .products-per-page .products-per-page-select,
.page-category .products-per-page .nice-select {
  display: none !important;
}

.page-category .ae-sidebar-pp {
  display: flex;
  width: 100%;
  gap: 6px;
}

.page-category .ae-sidebar-pp .ae-pp-btn {
  flex: 1;
  margin: 0;
}

.page-category .ae-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-category .ae-active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.page-category .ae-active-filters[hidden] {
  display: none !important;
}

.page-category .ae-active-filter {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--beige-soft);
  color: var(--g);
  font-weight: 700;
  border: 0;
  line-height: 1.2;
  cursor: pointer;
}

.page-category .ae-active-filter i {
  font-style: normal;
  font-weight: 700;
  margin-left: 6px;
  cursor: pointer;
  color: inherit;
}

.page-category .ae-active-filter-clear {
  background: #fff;
  border: 1px solid var(--line);
  color: #555;
  cursor: pointer;
}

.page-category .ae-list-head h1 {
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 4px;
}

.page-category .ae-list-cnt {
  color: var(--muted);
  font-size: 13px;
}

.page-category .ae-list-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
}

.page-category .ae-list-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

.page-category .ae-list-sort select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  font: inherit;
  font-size: 12.5px;
  background: #fff;
  color: var(--ink);
  height: 38px;
  line-height: 34px;
  box-sizing: border-box;
}

.page-category .ae-list-sort .nice-select {
  height: 38px;
  line-height: 36px;
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12.5px;
  float: none;
}

.page-category .ae-list-sort .nice-select .current {
  display: block;
  line-height: 36px;
}

.page-category .ae-list-sort .nice-select:after {
  top: 50%;
  margin-top: -2px;
}

.page-category .ae-list-pp {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.page-category .ae-pp-btn {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 0;
  font-weight: 700;
  font-size: 12.5px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.2;
}

.page-category .ae-pp-btn:hover {
  border-color: var(--beige);
  color: var(--g);
}

.page-category .ae-pp-btn.on {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.page-category .ae-cat-main > .row.mb-4 img {
  border-radius: 12px;
  width: 100%;
}

.page-category .active-manufacturers {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.page-category .active-manufacturers h5 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--g);
}

.page-category #product-container.ae-cat-products,
.page-category #product-container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0 !important;
  margin-left: 0;
  margin-right: 0;
}

.page-category #product-container > .product-grid-item,
.page-category #product-container > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
  padding: 0;
  margin: 0;
}

.page-category #product-container .product__item.ae-card,
.page-category #product-container .ae-card {
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  box-shadow: none;
}

.page-category #product-container .product__item.ae-card:hover,
.page-category #product-container .ae-card:hover {
  box-shadow: var(--sh);
  border-color: var(--beige-line);
}

.page-category #product-container .ae-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #999;
  cursor: pointer;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  box-shadow: none;
  flex: none;
}

.page-category #product-container .ae-wish svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.page-category #product-container .ae-wish:hover,
.page-category #product-container .ae-wish.is-on {
  color: var(--red);
  border-color: var(--red);
}

.page-category #product-container .ae-wish.is-on svg {
  fill: currentColor;
}

.page-category #product-container .ae-pic {
  height: 150px;
  margin: 18px 0 2px;
}

.page-category #product-container .ae-flags {
  top: 6px;
  left: 6px;
  gap: 4px;
}

.page-category #product-container .ae-flag {
  font-size: 0.62rem;
  gap: 5px;
  padding: 0 7px 0 0;
  border-radius: 3px;
}

.page-category #product-container .ae-flag svg {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 2px 0 0 2px;
}

.page-category #product-container .ae-card-brand {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin: 0 0 1px;
  min-width: 0;
  max-width: 100%;
}

.page-category #product-container .ae-card-brand img {
  position: static;
  transform: none;
  width: 56px;
  height: 42px;
  flex: none;
}

.page-category #product-container .ae-card-brand span {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  text-align: left;
  padding: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-category #product-container .ae-card h3,
.page-category #product-container .ae-card h3 a {
  text-align: left;
}

.page-category #product-container .ae-pic img,
.page-category #product-container .productImageClass {
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 150px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto;
}

.page-category #product-container .ae-card h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  min-height: 40px;
  margin: 1px 0 2px;
  min-width: 0;
  overflow: hidden;
}

.page-category #product-container .ae-card h3.product__item__text {
  padding: 0;
  min-height: 40px;
  display: block;
  text-align: left;
  margin-top: 1px;
}

.page-category #product-container .ae-card h3 a {
  color: var(--ink) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-category #product-container .ae-card h3 a:hover {
  color: var(--g-dark) !important;
}

.page-category #product-container .ae-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  min-width: 0;
}

.page-category #product-container .ae-card-rating__stars {
  display: inline-flex;
  gap: 1px;
  flex: none;
}

.page-category #product-container .ae-card-rating__stars .star {
  font-size: 16px;
  line-height: 1;
  color: #ddd;
}

.page-category #product-container .ae-card-rating__stars .star.filled {
  color: var(--beige);
}

.page-category #product-container .ae-card-rating__avg {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.page-category #product-container .ae-card-rating__count {
  font-size: 14px;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}

.page-category #product-container .ae-card-pack {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--g);
  line-height: 1.2;
  margin: 0 0 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--beige-soft);
}

.page-category #product-container .ae-bottom {
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: auto;
  gap: 6px;
}

.page-category #product-container .ae-price.promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
  color: var(--red);
  font-weight: 800;
}

.page-category #product-container .ae-price.promo s,
.page-category #product-container .ae-price.promo .original-price {
  display: block;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}

.page-category #product-container .add-to-cart-form {
  margin: 0;
  flex: none;
}

.page-category #product-container .qty-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-category #product-container .qty-hint {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #333;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.page-category #product-container .ae-card.is-qty-hint-visible {
  overflow: visible;
  z-index: 50;
}

.page-category #product-container .add-to-cart-form .form-control {
  width: 63px !important;
  height: 42px !important;
  padding: 6px 8px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-category #product-container .ae-add.site-btn,
.page-category #product-container .product-purchase-box__cart-btn.ae-add {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 10px;
  background: var(--g) !important;
  color: #fff !important;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 1;
}

.page-category #product-container .ae-add.site-btn:hover,
.page-category #product-container .product-purchase-box__cart-btn.ae-add:hover {
  background: var(--beige) !important;
  color: #2b2208 !important;
}

.page-category #product-container .ae-add i {
  font-size: 16px;
  color: inherit;
}

.page-category #pagination-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 26px 0;
}

.page-category .product__pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-category .page-btn {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.page-category .page-btn:hover {
  color: var(--g);
  border-color: var(--beige);
}

.page-category .page-btn.active,
.page-category .page-btn.active:hover {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.page-category .dots {
  display: grid;
  place-items: center;
  width: 24px;
  color: var(--muted);
}

.page-category .ae-cat-desc {
  margin-top: 20px;
  padding: 22px;
  background: var(--soft);
  border-radius: 12px;
  font-size: 13.5px;
}

.page-category .ae-cat-desc h1,
.page-category .ae-cat-desc h2,
.page-category .ae-cat-desc h3 {
  font-size: 18px;
  color: var(--g);
  margin-bottom: 8px;
}

@media (max-width: 1100px) {
  .page-category #product-container.ae-cat-products,
  .page-category #product-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .page-category .ae-cat-layout.row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .page-category #product-container.ae-cat-products,
  .page-category #product-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-category #product-container > .product-grid-item {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .page-category #product-container > .product-grid-item > .ae-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100%;
  }

  .page-category .ae-list-head h1 {
    font-size: 22px;
  }

  .page-category .ae-cat-side .producentsStyle {
    margin-bottom: 10px;
  }

  .page-category .sidebar-collapsible--per-page {
    display: none !important;
  }

  .page-category #product-container .ae-card-pack {
    margin-bottom: 4px;
  }

  .page-category #product-container .ae-bottom {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0;
    gap: 6px;
  }

  .page-category #product-container .ae-bottom .ae-price {
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 38px;
    display: flex;
    align-items: center;
  }

  .page-category #product-container .ae-bottom .ae-price.promo {
    line-height: 1.2;
    align-items: flex-start;
    align-self: center;
  }

  .page-category #product-container .add-to-cart-form,
  .page-category #product-container .ae-bottom .ae-unavailable {
    margin-top: 0;
    padding-top: 0;
    flex: 0 0 auto;
  }

  .page-category #product-container .add-to-cart-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .page-category #product-container .add-to-cart-form .form-control {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 38px !important;
    flex: 0 0 32px !important;
    padding: 4px 0 !important;
    font-size: 15px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
  }

  .page-category #product-container .add-to-cart-form .form-control::-webkit-outer-spin-button,
  .page-category #product-container .add-to-cart-form .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .page-category #product-container .add-to-cart-form .site-btn.product-purchase-box__cart-btn.ae-add,
  .page-category #product-container .add-to-cart-form button.ae-add {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 33px !important;
    flex: 0 0 32px !important;
    padding: 0 !important;
    border-radius: 8px;
  }

  .page-category #product-container .add-to-cart-form .site-btn.product-purchase-box__cart-btn.ae-add i,
  .page-category #product-container .add-to-cart-form button.ae-add i {
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .page-category section.product.spad,
  .page-category .container,
  .page-category .ae-cat-layout,
  .page-category .ae-cat-main {
    max-width: 100%;
    min-width: 0;
  }

  .page-category .ae-cat-layout.row,
  .page-category .ae-cat-main > .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .page-category .ae-cat-layout > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
  }

  .page-category .ae-list-head,
  .page-category .ae-list-tools {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-category .ae-list-sort {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }

  .page-category .ae-list-sort .nice-select,
  .page-category .ae-list-sort select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-category .ae-list-sort .nice-select .list {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-category .ae-list-pp {
    max-width: 100%;
  }

  .page-category #product-container.ae-cat-products,
  .page-category #product-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-category #product-container > .product-grid-item {
    min-width: 0;
    max-width: 100%;
  }

  .page-category #product-container .ae-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 8px;
  }

  .page-category #product-container .ae-pic img,
  .page-category #product-container .productImageClass {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
  }

  .page-category #product-container .ae-bottom,
  .page-category #product-container .add-to-cart-form {
    min-width: 0;
    max-width: 100%;
  }

  .page-category .sidebar-collapsible .sidebar-collapsible__toggle {
    align-items: center;
  }

  .page-category .sidebar-collapsible .sidebar-collapsible__toggle h4 {
    flex: 1 1 auto;
    min-width: 0;
    padding-bottom: 0;
    margin: 0;
    border-bottom: 0;
    width: auto;
    line-height: 1.25;
  }

  .page-category .sidebar-collapsible:not(.is-collapsed) .sidebar-collapsible__toggle {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--beige-soft);
    margin-bottom: 12px;
  }

  .page-category .sidebar-collapsible .sidebar-collapsible__arrow {
    font-size: 12px;
    margin-left: 6px;
    flex-shrink: 0;
  }

  .page-category .ae-cat-side .producentsStyle.sidebar-collapsible.is-collapsed {
    padding: 8px 12px;
    margin-bottom: 4px !important;
  }

  .page-category .sidebar-collapsible.is-collapsed .sidebar-collapsible__toggle {
    padding: 0;
    min-height: 0;
    border-bottom: 0;
    margin-bottom: 0;
  }
}

/* ---------- CATEGORY TREE PAGE ---------- */
.page-categories .ae-cat-tree-page {
  padding: 8px 0 48px;
}

.page-categories .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-categories .ae-crumbs a {
  color: var(--muted) !important;
}

.page-categories .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-categories .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-categories .ae-cat-tree-page .ae-sec-head h1 {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--g);
  letter-spacing: 0.02em;
  margin: 0;
}

.page-categories .ae-tree-root {
  font-size: 18px;
  color: var(--g-dark);
  margin: 28px 0 10px;
}

.page-categories .ae-tree-root a {
  color: var(--g-dark) !important;
}

.page-categories .ae-tree-root a:hover {
  color: var(--g) !important;
}

.page-categories .ae-tree-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.page-categories .ae-tree-grid + .ae-tree-grid {
  margin-top: 28px;
}

.page-categories .ae-tree-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}

.page-categories .ae-tree-card h3 {
  font-size: 16px;
  color: var(--g);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--beige-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.page-categories .ae-tree-card h3 a {
  color: var(--g) !important;
}

.page-categories .ae-tree-card h3 a:hover {
  color: var(--g-dark) !important;
}

.page-categories .ae-tree-card h3 small {
  font-family: var(--body);
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.page-categories .ae-tree-card > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-categories .ae-tree-card > ul > li {
  margin-bottom: 8px;
}

.page-categories .ae-tree-card > ul > li > b {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.page-categories .ae-tree-card > ul > li > b a {
  color: var(--ink) !important;
}

.page-categories .ae-tree-card > ul > li > b a:hover {
  color: var(--g) !important;
}

.page-categories .ae-tree-card ul ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-categories .ae-tree-card ul ul li a {
  font-size: 12px;
  color: #555 !important;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  display: inline-block;
}

.page-categories .ae-tree-card ul ul li a:hover {
  background: var(--beige-soft);
  color: var(--g) !important;
}

.page-categories .ae-tree-card p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

@media (max-width: 1100px) {
  .page-categories .ae-tree-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .page-categories .ae-tree-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- MANUFACTURERS PAGE ---------- */
.page-manufacturers .breadcrumb-section {
  display: none !important;
}

.page-manufacturers .ae-manufacturers-page {
  padding: 8px 0 48px;
  background: #fff;
}

.page-manufacturers .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-manufacturers .ae-crumbs a {
  color: var(--muted) !important;
}

.page-manufacturers .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-manufacturers .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-manufacturers .ae-sec-head--manufacturers {
  margin-bottom: 24px;
}

.page-manufacturers .ae-sec-head--manufacturers h2 {
  font-family: var(--head);
}

.page-manufacturers .ae-manufacturers-toolbar {
  margin-bottom: 28px;
}

.page-manufacturers .ae-manufacturer-search {
  display: flex;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto 18px;
  border: 1.5px solid var(--g);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.page-manufacturers .ae-manufacturer-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 11px 18px;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  background: transparent;
}

.page-manufacturers .ae-manufacturer-search input:focus {
  outline: none;
}

.page-manufacturers .ae-manufacturer-search input::placeholder {
  color: #aaa;
}

.page-manufacturers .ae-manufacturer-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--g);
  font-size: 14px;
}

.page-manufacturers .ae-manufacturer-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.page-manufacturers .ae-manufacturer-letters button {
  min-width: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-manufacturers .ae-manufacturer-letters button:hover {
  border-color: var(--beige-line);
  color: var(--g-dark);
  background: var(--soft);
}

.page-manufacturers .ae-manufacturer-letters button.active {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}

.page-manufacturers .ae-manufacturers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.page-manufacturers .ae-manufacturer-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 14px 16px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-manufacturers .ae-manufacturer-card__link:hover {
  border-color: var(--beige);
  box-shadow: var(--sh);
}

.page-manufacturers .ae-manufacturer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
}

.page-manufacturers .ae-manufacturer-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 152px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-manufacturers .ae-manufacturer-card__name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}

.page-manufacturers .ae-manufacturers-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.page-manufacturers .ae-manufacturers-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--g);
  font-size: 20px;
  margin-bottom: 14px;
}

.page-manufacturers .ae-manufacturers-empty h3 {
  font-family: var(--head);
  font-size: 20px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 8px;
}

.page-manufacturers .ae-manufacturers-empty p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .page-manufacturers .ae-manufacturers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .page-manufacturers .ae-manufacturers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-manufacturers .ae-manufacturer-card__logo {
    height: 130px;
  }

  .page-manufacturers .ae-manufacturer-card__logo img {
    max-height: 122px;
  }

  .page-manufacturers .ae-manufacturer-letters button {
    min-width: 30px;
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .page-manufacturers .ae-manufacturers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-manufacturers .ae-manufacturer-card__logo {
    height: 140px;
  }

  .page-manufacturers .ae-manufacturer-card__logo img {
    max-height: 132px;
  }

  .page-manufacturers .ae-manufacturer-search {
    max-width: 100%;
  }
}

/* ---------- PRODUCER PAGE ---------- */
.page-producer .breadcrumb-section {
  display: none !important;
}

.page-producer .ae-producer-page {
  padding-top: 8px;
  padding-bottom: 48px;
  background: #fff;
}

.page-producer .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-producer .ae-crumbs a {
  color: var(--muted) !important;
}

.page-producer .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-producer .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-producer .ae-producer-info {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 24px;
  margin-bottom: 28px;
}

.page-producer .ae-producer-info__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.page-producer .ae-producer-info__media img {
  display: block;
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-producer .ae-producer-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-producer .ae-producer-info__name {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 14px;
  line-height: 1.2;
}

.page-producer .ae-producer-info__meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

.page-producer .ae-producer-info__meta div + div {
  margin-top: 4px;
}

.page-producer .ae-producer-info__meta a {
  color: var(--g) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.page-producer .ae-producer-info__meta a:hover {
  color: var(--g-dark) !important;
}

.page-producer .ae-producer-info__desc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.page-producer .ae-producer-info__desc p:last-child {
  margin-bottom: 0;
}

.page-producer .ae-list-head--producer {
  margin-bottom: 20px;
}

.page-producer .ae-list-head--producer h2 {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-producer .ae-producer-filters {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 6px;
  margin-bottom: 24px !important;
}

.page-producer .ae-producer-filters .form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}

.page-producer .ae-producer-filters .form-control,
.page-producer .ae-producer-filters .nice-select {
  height: 44px !important;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.page-producer .ae-producer-filters .nice-select {
  line-height: 42px;
  padding-left: 14px;
  padding-right: 36px;
}

.page-producer .ae-producer-filters .shop-filter-field {
  margin-bottom: 12px;
}

.page-producer .ae-producer-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.page-producer #product-container.ae-cat-products,
.page-producer #product-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-producer #product-container > .product-grid-item {
  min-width: 0;
}

.page-producer .product__pagination {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .page-producer #product-container.ae-cat-products,
  .page-producer #product-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-producer .ae-producer-info {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .page-producer .ae-producer-info__media {
    min-height: 120px;
  }

  .page-producer .ae-producer-info__name {
    font-size: 24px;
  }

  .page-producer #product-container.ae-cat-products,
  .page-producer #product-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* ---------- PRODUCT PAGE ---------- */
.page-product .breadcrumb-section {
  display: none !important;
}

.page-product section.product-details.spad {
  padding: 8px 0 48px;
}

.page-product .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-product .ae-crumbs a {
  color: var(--muted) !important;
}

.page-product .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-product .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-product .product__details__pic {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  min-height: 460px;
  position: relative;
  background: #fff;
  width: 100%;
  display: grid;
  place-items: center;
}

.page-product .product__details__pic .ae-flags {
  position: absolute;
  top: 16px;
  left: 16px;
}

.page-product .product-image-wrapper,
.page-product .product__details__pic__item {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 380px;
  display: grid;
  place-items: center;
  margin: 0;
}

.page-product .main-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  cursor: zoom-in;
}

.page-product .ae-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.page-product .ae-thumbs .ae-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 4px;
  background: #fff;
  overflow: hidden;
}

.page-product .ae-thumbs .ae-thumb.on,
.page-product .ae-thumbs .ae-thumb:hover {
  border-color: var(--g);
}

.page-product .ae-thumbs .ae-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-product .product-top-category {
  display: none;
}

.page-product .product-top-title {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 6px 0 10px;
  color: var(--ink);
}

.page-product .ae-flags-row {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.page-product .product-short-desc {
  margin: 10px 0 14px;
}

.page-product .product-short-desc ul {
  display: block;
  list-style: disc outside !important;
  margin: 0 0 0.5em !important;
  padding: 0 0 0 1.25em !important;
}

.page-product .product-short-desc ol {
  display: block;
  list-style: decimal outside !important;
  margin: 0 0 0.5em !important;
  padding: 0 0 0 1.25em !important;
}

.page-product .product-short-desc li {
  display: list-item !important;
  list-style: inherit !important;
  position: static;
  padding-left: 0;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0.35em 0;
}

.page-product .product-short-desc li::before {
  content: none !important;
  display: none !important;
}

.page-product .product-purchase-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 18px 0 14px;
  width: 100%;
}

.page-product .product-purchase-box__price-row {
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 4px;
}

.page-product .product-purchase-box__main-price,
.page-product .product__details__price {
  font-family: var(--head) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--g) !important;
  line-height: 1;
}

.page-product .product-purchase-box__main-price .discount-price {
  font-family: var(--head) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--red) !important;
  line-height: 1;
}

.page-product .product-purchase-box__main-price .original-price,
.page-product .original-price,
.page-product .original-price del {
  font-family: var(--body) !important;
  font-size: 14px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  text-decoration: line-through;
}

.page-product .product-purchase-box__unit-price {
  font-size: 12px;
  color: var(--muted);
}

.page-product .product-purchase-box__meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

.page-product .product-purchase-box__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-product .product-purchase-box__actions .pro-qty {
  width: auto;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.page-product .product-purchase-box__actions .pro-qty .qtybtn {
  width: 40px;
  height: 48px;
  line-height: 48px;
  background: #fff;
  border-radius: 0;
  color: var(--ink);
  font-size: 18px;
}

.page-product .product-purchase-box__actions .pro-qty .qtybtn:hover {
  background: var(--soft);
  color: var(--g);
}

.page-product .product-purchase-box__actions .pro-qty input {
  width: 48px;
  font-weight: 700;
  color: var(--ink);
}

.page-product .product-purchase-box__cart-btn,
.page-product .product-purchase-box__actions .site-btn {
  flex: 1;
  padding: 14px 20px;
  height: 48px;
  border-radius: 8px;
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  border: 0;
}

.page-product .product-purchase-box__cart-btn:hover,
.page-product .product-purchase-box__actions .site-btn:hover {
  background: var(--g-dark) !important;
  color: #fff !important;
}

.page-product .ae-fav-btn {
  flex: 0 0 52px;
  width: 52px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.page-product .ae-fav-btn:hover {
  border-color: var(--beige);
  color: var(--g);
}

.page-product .ae-fav-btn .favorite-heart {
  width: 22px !important;
  height: 22px !important;
}

.page-product .ae-fav-btn .favorite-label {
  display: none;
}

.page-product .product-rating-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  margin: 12px 0 0;
}

.page-product .product-rating-row:hover {
  color: var(--muted);
}

.page-product .product-rating-link,
.page-product .product-rating-row:hover .product-rating-link {
  color: var(--g-mid) !important;
  font-weight: 700;
}

.page-product .product-rating-row .star.filled {
  color: var(--beige);
}

.page-product .product-company-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 13px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.page-product .product-company-section > * {
  grid-column: 1 / -1;
}

.page-product .product-company-section > .row {
  display: flex;
}

.page-product .product-company-block--inline {
  margin-bottom: 8px;
}

.page-product .product-company-block__title {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.page-product .product-company-block a {
  color: var(--g) !important;
  font-weight: 700;
}

.page-product .ae-pbrand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
}

.page-product .ae-pbrand-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-product .ae-plogo-link {
  flex: none;
  display: inline-flex;
  line-height: 0;
  border-radius: 6px;
}

.page-product .ae-plogo-link:hover .ae-plogo {
  border-color: var(--g);
}

.page-product .ae-plogo {
  width: 144px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px;
  flex: none;
}

.page-product .product-company-block__meta {
  color: var(--muted);
  font-size: 12px;
}

.page-product .product-company-section--variants {
  border-top: 0;
  padding-top: 8px;
  display: block;
}

.page-product .ae-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 8px;
}

.page-product .ae-variants a,
.page-product .ae-variants span {
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  display: inline-block;
}

.page-product .ae-variants a:hover {
  color: var(--g) !important;
  border-color: var(--beige);
}

.page-product .ae-variants .on,
.page-product .ae-variants span.on {
  border-color: var(--beige);
  background: var(--beige-soft);
  color: var(--g);
}

.page-product .product-top-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  flex-wrap: wrap;
  padding-top: 0;
}

.page-product .product-top-actions__item {
  color: var(--g) !important;
  border-bottom: 1.5px solid var(--beige);
  font-size: 12.5px;
  font-weight: 700;
  gap: 6px;
  text-decoration: none;
  padding-bottom: 1px;
}

.page-product .product-top-actions__item:hover {
  color: var(--g-dark) !important;
}

.page-product .product-top-actions__item i {
  color: var(--g);
}

.page-product .ae-delivery {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  gap: 0;
  font-size: 13px;
}

.page-product .ae-delivery h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 4px;
}

.page-product .ae-delivery-opt {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}

.page-product .ae-delivery-opt:last-child {
  border: 0;
}

.page-product .ae-delivery-opt b {
  color: var(--g);
  font-weight: 700;
}

.page-product .product__details__tab {
  margin-top: 36px;
}

.page-product .product__details__tab .nav-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  position: relative;
  list-style: none;
  padding-left: 0;
}

.page-product .product__details__tab .nav-tabs .nav-item {
  list-style: none;
}

.page-product .product__details__tab .nav-tabs:before,
.page-product .product__details__tab .nav-tabs:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

.page-product .product__details__tab .nav-item,
.page-product .product__details__tab .nav-tabs li {
  margin: 0;
}

.page-product .product__details__tab .nav-link {
  font-family: var(--head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted) !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  padding: 10px 16px;
  margin-bottom: -1px;
  text-transform: uppercase;
}

.page-product .product__details__tab .nav-link.active,
.page-product .nav-tabs .nav-link.active {
  color: var(--g) !important;
  border-bottom-color: var(--beige) !important;
  background: transparent !important;
}

.page-product .product__details__tab__desc {
  padding: 22px 0;
  font-size: 14px;
  max-width: 900px;
  text-align: left !important;
}

.page-product .product__details__tab__desc * {
  text-align: left !important;
}

.page-product .product__details__tab__desc h1,
.page-product .product__details__tab__desc h2,
.page-product .product__details__tab__desc h3 {
  font-size: 18px;
  color: var(--g);
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.page-product .product__details__tab__desc table {
  max-width: 600px;
}

@media (max-width: 991px) {
  .page-product .product__details__tab .tab-pane:not(.active) {
    display: none !important;
  }

  .page-product .product__details__tab .tab-pane.active {
    display: block;
  }

  .page-product #tabs-files .product__details__tab__desc {
    width: 92%;
    max-width: 92%;
    margin-inline: auto;
    padding-top: 6px;
    margin-top: 14px;
  }

  .page-product #tabs-files .list-group {
    --product-files-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: var(--product-files-radius);
    overflow: visible;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-color: #fff;
    content-visibility: visible;
    isolation: isolate;
  }

  .page-product #tabs-files .list-group.overflow-hidden {
    overflow: visible !important;
  }

  .page-product #tabs-files .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
  }

  .page-product #tabs-files .list-group-item:first-child {
    border-top: 0;
    border-top-left-radius: var(--product-files-radius);
    border-top-right-radius: var(--product-files-radius);
  }

  .page-product #tabs-files .list-group-item:last-child {
    border-bottom-left-radius: var(--product-files-radius);
    border-bottom-right-radius: var(--product-files-radius);
  }

  .page-product #tabs-files .list-group-item:only-child {
    border-top-left-radius: var(--product-files-radius);
    border-top-right-radius: var(--product-files-radius);
    border-bottom-left-radius: var(--product-files-radius);
    border-bottom-right-radius: var(--product-files-radius);
  }

  .page-product #tabs-files .list-group-item > .d-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-product #tabs-files .list-group-item .fa-lg {
    font-size: 1.25em;
    flex-shrink: 0;
  }

  .page-product #tabs-files .list-group-item a.fw-semibold {
    font-weight: 600;
    color: var(--ink, #212529);
    text-decoration: none;
  }

  .page-product #tabs-files .list-group-item > a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--g, #305308);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
  }

  .page-product #tabs-files h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .page-product #tabs-files .fa-file-pdf {
    color: #dc3545;
  }

  .page-product #tabs-files .fa-file-word {
    color: #0d6efd;
  }

  .page-product #tabs-files .fa-file-excel {
    color: #198754;
  }

  .page-product #tabs-files .fa-file-image {
    color: #ffc107;
  }

  .page-product #tabs-files .fa-file.text-secondary,
  .page-product #tabs-files .fa-file {
    color: #6c757d;
  }
}

.page-product .faq-box {
  background: transparent;
  padding: 22px 0;
  position: static;
  max-width: 900px;
}

.page-product .ae-faqi {
  margin: 12px 0;
}

.page-product .ae-faqi b {
  display: block;
  color: var(--g);
  font-family: var(--head);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}

.page-product .ae-faqi-answer {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.page-product .ae-faqi-answer p {
  margin: 0 0 0.5em;
}

.page-product .titleStyle h2,
.page-product .ae-sec-head h2 {
  font-size: 22px;
  color: var(--g-dark);
  text-align: left;
}

.page-product .product-reviews-section {
  margin-bottom: 24px;
}

.page-product #opinionsSection {
  scroll-margin-top: 188px;
}

@media (max-width: 860px) {
  .page-product #opinionsSection {
    scroll-margin-top: 240px;
  }
}

.page-product .review-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.page-product .review-header .email-preview {
  font-weight: 700;
  color: var(--ink);
}

.page-product .product-delivery-grid {
  display: grid;
  gap: 8px;
}

.page-product .product-delivery-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.page-product .discount-timer {
  gap: 12px;
  margin: 8px 0 12px;
}

.page-product .discount-title,
.page-product .time-number {
  color: var(--g);
  font-family: var(--head);
  font-size: 18px;
}

@media (max-width: 860px) {
  .page-product .product-purchase-box__actions {
    flex-wrap: wrap;
  }
  .page-product .product-purchase-box__cart-btn {
    flex: 1 1 100%;
  }
}

.page-product .ae-products .ae-card {
  height: 100%;
}

.page-product .ae-products .ae-flags {
  top: 6px;
  left: 6px;
  gap: 4px;
}

.page-product .ae-products .ae-flag {
  font-size: 0.62rem;
  gap: 5px;
  padding: 0 7px 0 0;
  border-radius: 3px;
}

.page-product .ae-products .ae-flag svg {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 2px 0 0 2px;
}

.page-product .ae-products .ae-card-brand {
  min-height: 28px;
  align-items: center;
}

.page-product .ae-products .ae-card-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  flex: none;
}

.page-product .ae-products .ae-card-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.page-product .ae-products .ae-card-brand__name,
.page-product .ae-products .ae-card-brand a {
  min-width: 0;
  flex: 1 1 auto;
}

.page-product .ae-products .ae-card-pack {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--g);
  line-height: 1.2;
  margin-top: auto;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--beige-soft);
}

.page-product .ae-products .ae-bottom {
  margin-top: 0;
  padding-top: 0;
}

.page-product .ae-products .ae-card:not(:has(.ae-card-pack)) .ae-bottom {
  margin-top: auto;
}


.page-cart .gemini-cart-item__badge.gemini-cart-item__badge--flag.ae-flag {
  margin-bottom: 10px;
  cursor: default;
  background: #fff;
  border-radius: 4px;
  padding: 0 9px 0 0;
  color: var(--flag-c, #999);
  border: 1px solid var(--flag-c, #999);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* ---------- BLOG PAGE ---------- */
.page-blog .breadcrumb-section {
  display: none !important;
}

.page-blog .ae-blog-page {
  padding: 8px 0 56px;
}

.page-blog .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-blog .ae-crumbs a {
  color: var(--muted) !important;
}

.page-blog .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-blog .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-blog .ae-sec-head--blog {
  margin-top: 8px;
}

.page-blog .ae-sec-head--blog h2 {
  font-family: var(--head);
}

.page-blog .ae-blog--page {
  margin-bottom: 8px;
}

.page-blog .ae-post {
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.page-blog .ae-post:hover {
  box-shadow: var(--sh);
  border-color: var(--beige-line);
}

.page-blog .ae-post .thumb img {
  transition: transform 0.35s ease;
}

.page-blog .ae-post:hover .thumb img {
  transform: scale(1.03);
}

.page-blog .ae-post h3 a:hover {
  color: var(--g-dark) !important;
}

.page-blog .ae-post a.more:hover {
  color: var(--g-dark) !important;
  border-bottom-color: var(--g);
}

.page-blog .ae-blog-empty {
  max-width: 560px;
  margin: 32px auto 12px;
  padding: 40px 32px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.page-blog .ae-blog-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--g-soft);
  color: var(--g);
  font-size: 26px;
}

.page-blog .ae-blog-empty h3 {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 10px;
}

.page-blog .ae-blog-empty p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 860px) {
  .page-blog .ae-blog--page {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .page-blog .ae-blog--page {
    grid-template-columns: 1fr;
  }

  .page-blog .ae-blog-empty {
    padding: 32px 22px;
  }
}

/* ---------- CONTACT PAGE ---------- */
.page-contact .breadcrumb-section {
  display: none !important;
}

.page-contact .ae-contact-page {
  padding: 8px 0 56px;
}

.page-contact .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-contact .ae-crumbs a {
  color: var(--muted) !important;
}

.page-contact .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-contact .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-contact .ae-sec-head--contact {
  margin-top: 8px;
  margin-bottom: 24px;
}

.page-contact .ae-sec-head--contact h2 {
  font-family: var(--head);
}

.page-contact .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.page-contact .contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-contact .contact-info-card:hover {
  border-color: var(--beige-line);
  box-shadow: var(--sh);
}

.page-contact .contact-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--g-soft);
  color: var(--g);
  font-size: 22px;
  margin-bottom: 14px;
}

.page-contact .contact-info-card h4 {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 8px;
}

.page-contact .contact-info-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.page-contact .contact-info-card a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-contact .contact-info-card a:hover {
  color: var(--g) !important;
}

.page-contact .contact-map-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh);
  margin-bottom: 40px;
}

.page-contact .contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.page-contact .contact-form-panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 34px 28px;
}

.page-contact .contact-form-panel__title {
  text-align: center;
  margin-bottom: 28px;
}

.page-contact .contact-form-panel__title h2 {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-contact .contact-form-panel__title p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.page-contact .contact-field {
  margin-bottom: 18px;
}

.page-contact .contact-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-contact .contact-field label span {
  color: var(--red);
}

.page-contact .contact-field input,
.page-contact .contact-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-contact .contact-field input {
  height: 46px;
  padding: 0 14px;
}

.page-contact .contact-field textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.page-contact .contact-field input:focus,
.page-contact .contact-field textarea:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

.page-contact .contact-field input::placeholder,
.page-contact .contact-field textarea::placeholder {
  color: #aaa;
}

.page-contact .contact-field-error {
  margin-top: 6px;
  font-size: 13px;
  color: var(--red);
}

.page-contact .contact-captcha-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.page-contact .contact-captcha-box label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-contact .contact-captcha-box label span {
  color: var(--red);
}

.page-contact .contact-captcha-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 12px;
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.page-contact .captcha-container {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 5px;
  user-select: none;
  pointer-events: none;
  width: 250px;
  height: 50px;
}

.page-contact .captcha-char {
  position: absolute;
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}

.page-contact .contact-captcha-box .form-control {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
}

.page-contact .contact-captcha-box .form-control:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

.page-contact .contact-captcha-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #a94442;
  font-size: 13px;
}

.page-contact .contact-captcha-alert ul {
  margin: 0;
  padding-left: 18px;
}

.page-contact .contact-submit-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
}

.page-contact .contact-submit-wrap .site-btn {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--g);
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-contact .contact-submit-wrap .site-btn:hover {
  background: var(--g-mid);
  color: #fff !important;
}

@media (max-width: 991px) {
  .page-contact .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-contact .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-form-panel {
    padding: 22px 16px 20px;
  }

  .page-contact .contact-map-wrap iframe {
    height: 300px;
  }

  .page-contact .contact-submit-wrap {
    margin-top: 8px;
  }
}

/* ---------- AUTH PAGES (LOGIN / REGISTER) ---------- */
.page-auth .ae-auth-page {
  padding: 8px 0 56px;
}

.page-auth .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-auth .ae-crumbs a {
  color: var(--muted) !important;
}

.page-auth .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-auth .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-login .ae-auth-stack {
  max-width: 520px;
  margin: 0 auto;
}

.page-login .ae-auth-switch {
  text-align: center;
  margin: 12px 0 14px;
}

.page-register .ae-auth-stack {
  max-width: 920px;
  margin: 0 auto;
}

.page-register .ae-auth-switch {
  text-align: center;
  margin: 12px 0 14px;
}

.page-auth .ae-auth-switch {
  margin: 12px 0 22px;
  font-size: 14px;
  color: var(--muted);
}

.page-auth .ae-auth-switch strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 6px;
}

.page-auth .ae-auth-switch a {
  color: var(--g) !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--beige);
}

.page-auth .ae-auth-switch a:hover {
  color: var(--g-dark) !important;
  border-bottom-color: var(--g);
}

.page-auth .ae-auth-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 34px 28px;
}

.page-auth .ae-auth-panel--wide {
  max-width: 920px;
}

.page-auth .ae-auth-panel__head {
  text-align: center;
  margin-bottom: 28px;
}

.page-auth .ae-auth-panel__head h2 {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-auth .ae-auth-panel__head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.page-auth .checkout__input {
  margin-bottom: 18px;
}

.page-auth .checkout__input p {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-auth .checkout__input p span {
  color: var(--red);
}

.page-auth .checkout__input input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-auth .checkout__input input:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

.page-auth .checkout__input input::placeholder {
  color: #aaa;
}

.page-auth .ae-auth-forgot {
  margin-top: -4px;
  margin-bottom: 22px;
}

.page-auth .link-przypomnienie {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.page-auth .link-przypomnienie:hover {
  color: var(--g) !important;
  text-decoration: underline;
}

.page-auth .link-przypomnienie:visited {
  color: var(--muted);
}

.page-auth .ae-auth-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--red);
}

.page-auth .ae-auth-success {
  display: block;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--g);
}

.page-auth .ae-auth-form .site-btn {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--g);
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-auth .ae-auth-form .site-btn:hover {
  background: var(--g-mid);
  color: #fff !important;
}

.page-register .ae-auth-form .site-btn {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .page-auth .ae-auth-panel,
  .page-auth .ae-auth-panel--wide {
    padding: 22px 16px 20px;
  }

  .page-register .ae-auth-form .row > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .page-register .ae-auth-form .row > .col:last-child:empty {
    display: none;
  }
}

/* ---------- FAVOURITES PAGE ---------- */
.page-favourites .breadcrumb-section {
  display: none !important;
}

.page-favourites .ae-favourites-page {
  padding: 8px 0 56px;
}

.page-favourites .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-favourites .ae-crumbs a {
  color: var(--muted) !important;
}

.page-favourites .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-favourites .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-favourites .ae-sec-head--favourites {
  margin-top: 8px;
  margin-bottom: 24px;
}

.page-favourites .ae-sec-head--favourites h2 {
  font-family: var(--head);
}

.page-favourites .ae-favourites-grid {
  margin-bottom: 8px;
}

.page-favourites .ae-fav-card {
  height: 100%;
}

.page-favourites .ae-fav-card .ae-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #999;
  cursor: pointer;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  box-shadow: none;
  flex: none;
}

.page-favourites .ae-fav-card .ae-wish svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.page-favourites .ae-fav-card .ae-wish:hover,
.page-favourites .ae-fav-card .ae-wish.is-on {
  color: var(--red);
  border-color: var(--red);
}

.page-favourites .ae-fav-card .ae-wish.is-on svg {
  fill: currentColor;
}

.page-favourites .ae-fav-card .ae-pic {
  margin-top: 28px;
}

.page-favourites .ae-fav-card .product__item__text {
  margin-top: 0;
  padding: 0;
  min-height: 0;
  text-align: left;
}

.page-favourites .ae-bottom--fav {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.page-favourites .ae-bottom--fav .ae-price {
  width: auto;
  flex: 1;
  min-width: 0;
}

.page-favourites .ae-fav-card .add-to-cart-form {
  width: auto;
  margin: 0;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-favourites .ae-fav-card .qty-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-favourites .ae-fav-card .qty-hint {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  background: #333;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-favourites .ae-fav-card .add-to-cart-form .form-control {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 42px !important;
  min-height: 42px !important;
  flex: 0 0 36px !important;
  padding: 6px 8px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.page-favourites .ae-fav-card .add-to-cart-form .form-control::-webkit-outer-spin-button,
.page-favourites .ae-fav-card .add-to-cart-form .form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-favourites .ae-fav-card .add-to-cart-form .ae-add.site-btn,
.page-favourites .ae-fav-card .add-to-cart-form .product-purchase-box__cart-btn.ae-add {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--g) !important;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-favourites .ae-fav-card .add-to-cart-form .ae-add.site-btn:hover,
.page-favourites .ae-fav-card .add-to-cart-form .product-purchase-box__cart-btn.ae-add:hover {
  background: var(--beige) !important;
  color: #2b2208 !important;
}

.page-favourites .ae-fav-card .add-to-cart-form .ae-add i {
  font-size: 16px;
  color: inherit;
}

.page-favourites .ae-unavailable {
  margin: 0;
  text-align: center;
}

.page-favourites .ae-favourites-empty {
  max-width: 560px;
  margin: 32px auto 12px;
  padding: 40px 32px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.page-favourites .ae-favourites-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--g-soft);
  color: var(--g);
  font-size: 26px;
}

.page-favourites .ae-favourites-empty h3 {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 10px;
}

.page-favourites .ae-favourites-empty p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.page-favourites .ae-fav-card.is-removed-pending {
  pointer-events: none;
}

.page-favourites .ae-fav-card.is-removed-pending > :not(.ae-fav-undo-overlay) {
  opacity: 0.32;
  filter: grayscale(0.9);
}

.page-favourites .ae-fav-card .ae-fav-undo-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border-radius: inherit;
  background: rgba(248, 246, 240, 0.82);
  pointer-events: auto;
}

.page-favourites .ae-fav-undo-panel {
  width: 100%;
  max-width: 220px;
  text-align: center;
}

.page-favourites .ae-fav-undo-ring {
  --ae-fav-undo-duration: 3s;
  --ae-fav-undo-circumference: 125.664;
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
}

.page-favourites .ae-fav-undo-ring__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.page-favourites .ae-fav-undo-ring__track,
.page-favourites .ae-fav-undo-ring__progress {
  fill: none;
  stroke-width: 3.5;
}

.page-favourites .ae-fav-undo-ring__track {
  stroke: var(--line);
}

.page-favourites .ae-fav-undo-ring__progress {
  stroke: var(--g);
  stroke-linecap: round;
  stroke-dasharray: var(--ae-fav-undo-circumference);
  stroke-dashoffset: 0;
  animation: ae-fav-undo-ring-countdown var(--ae-fav-undo-duration) linear forwards;
}

.page-favourites .ae-fav-undo-ring__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--g);
}

.page-favourites .ae-fav-undo-ring__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.page-favourites .ae-fav-undo-message {
  margin: 0 0 12px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--g-dark);
}

.page-favourites .ae-fav-card .ae-fav-undo-btn {
  min-width: 120px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r);
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-favourites .ae-fav-card .ae-fav-undo-btn:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

@media (max-width: 860px) {
  .page-favourites .ae-favourites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .page-favourites .ae-bottom--fav {
    align-items: center;
    gap: 10px;
  }

  .page-favourites .ae-bottom--fav .ae-price {
    font-size: 16px;
    line-height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .page-favourites .ae-bottom--fav .ae-price.promo {
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
  }

  .page-favourites .ae-bottom--fav .ae-price.promo s {
    display: inline;
    margin: 0;
    font-size: 10px;
    line-height: 1.2;
  }

  .page-favourites .ae-fav-card .add-to-cart-form {
    gap: 4px;
  }

  .page-favourites .ae-fav-card .add-to-cart-form .form-control {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 33px !important;
    min-height: 33px !important;
    max-height: 33px !important;
    flex: 0 0 32px !important;
    padding: 0 !important;
    font-size: 15px;
    line-height: 33px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
  }

  .page-favourites .ae-fav-card .qty-hint {
    top: 37px;
  }

  .page-favourites .ae-fav-card .add-to-cart-form .form-control::-webkit-outer-spin-button,
  .page-favourites .ae-fav-card .add-to-cart-form .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .page-favourites .ae-fav-card .add-to-cart-form .ae-add.site-btn,
  .page-favourites .ae-fav-card .add-to-cart-form .product-purchase-box__cart-btn.ae-add {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 33px !important;
    min-height: 33px !important;
    max-height: 33px !important;
    flex: 0 0 32px !important;
    border-radius: 8px;
  }

  .page-favourites .ae-unavailable {
    flex: none;
    text-align: right;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .page-favourites .ae-favourites-grid {
    grid-template-columns: 1fr;
  }

  .page-favourites .ae-favourites-empty {
    padding: 32px 22px;
  }
}

/* ---------- PROFILE PAGE ---------- */
.page-profile .breadcrumb-section {
  display: none !important;
}

.page-profile .ae-profile-page {
  padding: 8px 0 56px;
}

.page-profile .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-profile .ae-crumbs a {
  color: var(--muted) !important;
}

.page-profile .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-profile .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-profile .ae-sec-head--profile {
  margin-top: 8px;
  margin-bottom: 24px;
}

.page-profile .ae-sec-head--profile h2 {
  font-family: var(--head);
}

.page-profile .ae-profile-nav {
  margin-bottom: 20px;
}

.page-profile .ae-profile-nav .custom-link.site-btn {
  display: block;
  width: 100% !important;
  max-width: 420px;
  margin: 0 auto 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff !important;
  color: var(--g-dark) !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-profile .ae-profile-nav .custom-link.site-btn:hover {
  background: var(--g-soft) !important;
  border-color: var(--beige-line);
  color: var(--g) !important;
}

.page-profile .ae-profile-panel {
  max-width: 920px;
  margin: 0 auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 34px 28px;
}

.page-profile .ae-profile-form .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-profile .ae-profile-form .form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-profile .ae-profile-form .form-control:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(48, 83, 8, 0.1);
}

.page-profile .ae-profile-form .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0;
}

.page-profile .ae-profile-form .row > .col {
  margin-bottom: 18px;
}

.page-profile .ae-profile-form .text-danger {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--red) !important;
}

.page-profile .ae-profile-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.page-profile .ae-profile-actions .site-btn {
  min-width: 180px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r);
  background: var(--g) !important;
  color: #fff !important;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-profile .ae-profile-actions .site-btn:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .page-profile .ae-profile-panel {
    padding: 22px 16px 20px;
  }

  .page-profile .ae-profile-actions {
    justify-content: stretch;
  }

  .page-profile .ae-profile-actions .site-btn {
    width: 100%;
  }
}

/* ---------- ORDER HISTORY (profile) ---------- */
.page-profile .ae-order-history-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-profile .order-history-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--sh);
}

.page-profile .order-history-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-profile .order-history-card__title {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
}

.page-profile .order-history-card__date {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.page-profile .order-history-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--soft);
  color: var(--muted);
}

.page-profile .order-history-status--anulowane {
  background: #fdecea;
  color: var(--red);
}

.page-profile .order-history-status--zrealizowane,
.page-profile .order-history-status--completed {
  background: var(--g-soft);
  color: var(--g-dark);
}

.page-profile .order-history-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-bottom: 18px;
}

.page-profile .order-history-meta__label {
  display: block;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.page-profile .order-history-meta__value {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
  word-break: break-word;
}

.page-profile .order-history-pay-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 8px;
}

.page-profile .order-history-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--g);
  background: #fff;
  border: 1px solid var(--beige-line);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-profile .order-history-pay-link:hover {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}

.page-profile .order-history-pay-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.page-profile .order-history-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink);
}

.page-profile .order-history-summary__total {
  font-family: var(--head);
  font-weight: 800;
  color: var(--g-dark);
}

.page-profile .order-history-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.page-profile .order-history-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-profile .order-history-product:hover {
  border-color: var(--beige-line);
  box-shadow: 0 4px 14px -8px rgba(36, 64, 10, 0.18);
  color: inherit;
}

.page-profile .order-history-product__image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 4px;
  flex-shrink: 0;
}

.page-profile .order-history-product__name {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.35;
}

.page-profile .order-history-product__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-profile .order-history-product__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--g-dark);
}

.page-profile .order-history-product__returned {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}

.page-profile .order-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-profile .order-history-actions .site-btn {
  border-radius: var(--r);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border: 0;
  background: var(--g) !important;
  color: #fff !important;
  box-shadow: none;
  transition: background 0.15s ease;
}

.page-profile .order-history-actions .site-btn:hover {
  background: var(--g-dark) !important;
  color: #fff !important;
}

.page-profile .ae-order-history-empty {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 16px;
}

.page-profile .ae-order-history-empty strong {
  color: var(--ink);
}

@media (max-width: 767px) {
  .page-profile .order-history-card {
    padding: 16px 14px;
  }

  .page-profile .order-history-meta {
    grid-template-columns: 1fr;
  }

  .page-profile .order-history-products {
    grid-template-columns: 1fr;
  }

  .page-profile .order-history-product__image {
    width: 64px;
    height: 64px;
  }

  .page-profile .order-history-actions {
    flex-direction: column;
  }

  .page-profile .order-history-actions .site-btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- RATE PRODUCTS (profile) ---------- */
.page-profile .ae-rate-products-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 720px;
}

.page-profile .ae-rate-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-profile .review-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex: 1 1 calc(50% - 10px);
  min-width: min(100%, 480px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 12px -6px rgba(36, 64, 10, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-profile .review-card:hover {
  border-color: var(--beige-line);
  box-shadow: 0 4px 18px -8px rgba(36, 64, 10, 0.16);
}

.page-profile .review-image-section {
  width: 38%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.page-profile .review-image-section a {
  display: block;
  width: 100%;
}

.page-profile .review-image {
  width: 100%;
  max-width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 8px;
}

.page-profile .product-name {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 0;
  line-height: 1.35;
}

.page-profile .review-content-section {
  width: 62%;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.page-profile .rating-cst {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 12px;
  direction: rtl;
  unicode-bidi: bidi-override;
}

.page-profile .rating-cst .star {
  font-size: 26px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.page-profile .rating-cst .star:hover,
.page-profile .rating-cst .star:hover ~ .star {
  color: #e6b800;
}

.page-profile .rating-cst .star.selected {
  color: #e6b800;
}

.page-profile .opinion-text {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  min-height: 88px;
  background: #fff;
  font-family: inherit;
  line-height: 1.45;
}

.page-profile .opinion-text:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(76, 140, 43, 0.12);
}

.page-profile .opinion-text:disabled {
  background: var(--soft);
  color: var(--muted);
}

.page-profile .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid var(--g);
  background: var(--g);
  color: #fff;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-profile .btn-submit:hover:not(:disabled) {
  background: var(--g-dark);
  border-color: var(--g-dark);
}

.page-profile .btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .page-profile .review-card {
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 100%;
    min-width: 100%;
    padding: 16px 14px;
  }

  .page-profile .review-image-section,
  .page-profile .review-content-section {
    width: 100%;
    padding-left: 0;
  }

  .page-profile .review-content-section {
    margin-top: 14px;
  }

  .page-profile .review-image {
    max-width: 200px;
    margin: 0 auto;
  }

  .page-profile .btn-submit {
    width: 100%;
    align-self: stretch;
  }
}

/* ---------- CART PAGE ---------- */
.page-cart .breadcrumb-section {
  display: none !important;
}

.page-cart .ae-cart-steps {
  padding-top: 8px;
  padding-bottom: 18px;
}

.page-cart .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-cart .ae-crumbs a {
  color: var(--muted) !important;
}

.page-cart .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-cart .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-cart .cart-steps .step-circle {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.page-cart .cart-steps .step-title {
  color: var(--muted);
  font-family: var(--head);
}

.page-cart .cart-steps .cartRouteDesc {
  color: var(--muted);
  font-size: 13px;
}

.page-cart .cart-steps .active-step .step-circle {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.page-cart .cart-steps .active-step .step-title {
  color: var(--g-dark);
}

.page-cart .cart-steps .completed-step .step-circle {
  background: var(--beige);
  color: #2b2208;
  border-color: var(--beige);
}

.page-cart .cart-steps .completed-step .step-title {
  color: var(--beige-dark);
}

.page-cart .cart-steps hr {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-color: var(--line);
  opacity: 1;
}

.page-cart .gemini-cart-page {
  --cart-accent: var(--g);
  --cart-accent-hover: var(--g-mid);
  --cart-bg: #fff;
  --cart-card: #fff;
  --cart-text: var(--ink);
  --cart-muted: var(--muted);
  --cart-border: var(--line);
  background: var(--cart-bg);
  padding-top: 8px;
  padding-bottom: 48px;
}

.page-cart .gemini-cart-card {
  background: var(--cart-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.page-cart .gemini-cart-card__title {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-cart .gemini-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cart-border);
}

.page-cart .gemini-cart-item:last-child {
  border-bottom: none;
}

.page-cart .gemini-cart-item__media {
  flex-shrink: 0;
}

.page-cart .shoppingCartImg.cart-product-thumb {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--cart-border);
  border-radius: 10px;
  padding: 6px;
  margin-right: 0 !important;
}

.page-cart .gemini-cart-item__info {
  flex: 1;
  min-width: 0;
}

.page-cart .gemini-cart-item__name {
  display: block;
  color: var(--cart-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  margin-bottom: 6px;
}

.page-cart .gemini-cart-item__name:hover {
  color: var(--cart-accent);
}

.page-cart .gemini-cart-item__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--beige-dark);
  background: var(--beige-soft);
  border: 1px solid var(--beige-line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.page-cart .gemini-cart-item__price,
.page-cart .gemini-cart-item .total-price {
  display: block;
  font-family: var(--head);
  font-size: 20px;
  font-weight: 800;
  color: var(--g);
  line-height: 1.2;
}

.page-cart .gemini-cart-item__unit {
  display: block;
  font-size: 12px;
  color: var(--cart-muted);
  margin-top: 4px;
}

.page-cart .gemini-cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  min-width: 120px;
}

.page-cart .gemini-cart-item .cart-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 4px;
}

.page-cart .qty-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: var(--cart-accent);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background-color 0.15s ease;
}

.page-cart .qty-btn:hover {
  background-color: var(--g-soft);
  color: var(--cart-accent-hover);
}

.page-cart .product-quantity-input {
  width: 40px !important;
  height: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--cart-text);
  border: none;
  background: transparent;
  padding: 0;
  -moz-appearance: textfield;
}

.page-cart .product-quantity-input::-webkit-outer-spin-button,
.page-cart .product-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-cart .gemini-cart-remove {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.page-cart .gemini-cart-remove:hover {
  color: #b82e24;
  text-decoration: underline;
}

.page-cart .gemini-cart-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-cart .gemini-cart-btns .cart-btn,
.page-cart .gemini-cart-btns .primary-btn {
  border-radius: var(--r);
  font-size: 12px;
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #fff !important;
  color: var(--g-dark) !important;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-cart .gemini-cart-btns .cart-btn:hover,
.page-cart .gemini-cart-btns .primary-btn:hover {
  background: var(--g-soft) !important;
  border-color: var(--beige-line);
  color: var(--g) !important;
}

.page-cart .gemini-cart-btns .cart-btn-clear,
.page-cart .gemini-cart-btns .cart-btn-clear-confirm {
  border-color: #e8c4c1;
  color: var(--red) !important;
}

.page-cart .gemini-cart-btns .cart-btn-clear:hover,
.page-cart .gemini-cart-btns .cart-btn-clear-confirm:hover {
  background: #fff5f4 !important;
  border-color: #ddb8b5;
  color: #b82e24 !important;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__dialog {
  max-width: 420px;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__content {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh);
  background: #fff;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--g);
  padding: 16px 20px;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--beige);
  font-size: 14px;
  flex-shrink: 0;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.page-cart #clearCartModal .gemini-clear-cart-modal__body {
  background: var(--soft);
  padding: 24px 28px;
  text-align: center;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__text {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-cart #clearCartModal .gemini-clear-cart-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.page-cart #clearCartModal .gemini-clear-cart-modal__btn {
  flex: 1 1 0;
  min-width: 140px;
  border-radius: var(--r);
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--g-dark);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__btn--cancel:hover {
  background: var(--g-soft);
  border-color: var(--beige-line);
  color: var(--g);
}

.page-cart #clearCartModal .gemini-clear-cart-modal__btn--confirm {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}

.page-cart #clearCartModal .gemini-clear-cart-modal__btn--confirm:hover {
  background: var(--g-mid);
  border-color: var(--g-mid);
  color: #fff;
}

@media (max-width: 767px) {
  .page-cart #clearCartModal .gemini-clear-cart-modal__dialog {
    margin: 12px;
  }

  .page-cart #clearCartModal .gemini-clear-cart-modal__body {
    padding: 20px 18px;
  }

  .page-cart #clearCartModal .gemini-clear-cart-modal__footer {
    flex-direction: column;
  }

  .page-cart #clearCartModal .gemini-clear-cart-modal__btn {
    width: 100%;
    min-width: 0;
  }
}

.page-cart .gemini-summary-card.shoping__checkout,
.page-cart .gemini-summary-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 24px;
  margin-top: 0;
  position: sticky;
  top: 96px;
}

.page-cart .gemini-cart-page > .ae-wrap > .row:first-of-type {
  align-items: flex-start;
}

.page-cart .gemini-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.page-cart .gemini-summary-total__label {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--g-dark);
}

.page-cart .gemini-summary-total__value {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--g);
  white-space: nowrap;
}

.page-cart .gemini-summary-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.page-cart .gemini-summary-breakdown__value {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-cart .gemini-summary-discount {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--g-mid);
  margin: -6px 0 14px;
}

.page-cart .gemini-summary-action {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--g) !important;
  border-color: var(--g) !important;
  color: #fff !important;
  border-radius: var(--r) !important;
  padding: 14px 20px !important;
  font-family: var(--head);
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.page-cart .gemini-summary-action:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

.page-cart .gemini-free-delivery__bar {
  height: 10px;
  background: #fff;
  border: 2px solid var(--beige);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.page-cart .gemini-free-delivery__fill {
  height: 100%;
  background: var(--beige);
  border-radius: 999px;
  transition: width 0.35s ease;
  max-width: 100%;
}

.page-cart .gemini-free-delivery__text {
  font-size: 14px;
  color: var(--cart-text);
  margin: 0 0 4px;
  line-height: 1.4;
}

.page-cart .gemini-free-delivery__text strong {
  color: var(--g);
  font-weight: 700;
}

.page-cart .gemini-cart-empty {
  padding: 28px 0;
  text-align: center;
  color: var(--cart-muted);
  font-size: 16px;
}

.page-cart .ae-sec-head--cart-promo {
  margin-top: 32px;
  margin-bottom: 18px;
}

.page-cart .ae-sec-head--cart-promo h2 {
  font-family: var(--head);
}

.page-cart .cart-promo-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.page-cart .cart-promo-card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  margin-bottom: 10px;
  overflow: visible;
}

.page-cart .cart-promo-card__flags {
  top: 6px;
  left: 6px;
  gap: 4px;
  max-width: calc(100% - 12px);
}

.page-cart .cart-promo-card__flags .ae-flag {
  font-size: 0.62rem;
  gap: 5px;
  padding: 0 7px 0 0;
  border-radius: 3px;
}

.page-cart .cart-promo-card__flags .ae-flag svg {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 2px 0 0 2px;
}

.page-cart .cart-promo-card__media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  border-radius: 8px;
}

.page-cart .cart-promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.page-cart .cart-promo-card__title {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
}

.page-cart .cart-promo-card__title a {
  color: var(--ink) !important;
  text-decoration: none;
}

.page-cart .cart-promo-card__title a:hover {
  color: var(--g-dark) !important;
}

.page-cart .cart-promo-card__price {
  margin: 0;
}

.page-cart .cart-promo-card__price .discount-price {
  color: var(--red);
  font-family: var(--head);
  font-weight: 800;
  font-size: 18px;
}

.page-cart .cart-promo-card__price .original-price,
.page-cart .cart-promo-card__price .original-price del {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.page-cart .baner_element .site-btn,
.page-cart .baner_element .product-purchase-box__cart-btn {
  background: var(--g) !important;
  color: #fff !important;
  border: 0;
  border-radius: var(--r);
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-cart .baner_element .site-btn:hover,
.page-cart .baner_element .product-purchase-box__cart-btn:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

@media only screen and (max-width: 991px) {
  .page-cart .gemini-summary-card {
    position: static;
    margin-top: 8px;
  }
}

@media only screen and (max-width: 767px) {
  .page-cart .gemini-cart-card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .page-cart .gemini-cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-cart .shoppingCartImg.cart-product-thumb {
    width: 56px !important;
    height: 56px !important;
  }

  .page-cart .gemini-cart-item__info {
    flex: 1 1 calc(100% - 80px);
  }

  .page-cart .gemini-cart-item__actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }

  .page-cart .gemini-cart-item__price,
  .page-cart .gemini-cart-item .total-price {
    font-size: 18px;
  }

  .page-cart .gemini-cart-btns .cart-btn,
  .page-cart .gemini-cart-btns .primary-btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- CART CONFIRM PAGE ---------- */
.page-cart-confirm .breadcrumb-section {
  display: none !important;
}

.page-cart-confirm .ae-cart-steps {
  padding-top: 8px;
  padding-bottom: 18px;
}

.page-cart-confirm .ae-crumbs {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.page-cart-confirm .ae-crumbs a {
  color: var(--muted) !important;
}

.page-cart-confirm .ae-crumbs a:hover {
  color: var(--g-dark) !important;
}

.page-cart-confirm .ae-crumbs b {
  color: var(--ink);
  font-weight: 700;
}

.page-cart-confirm .cart-steps .step-circle {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.page-cart-confirm .cart-steps .step-title {
  color: var(--muted);
  font-family: var(--head);
}

.page-cart-confirm .cart-steps .cartRouteDesc {
  color: var(--muted);
  font-size: 13px;
}

.page-cart-confirm .cart-steps .active-step .step-circle {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.page-cart-confirm .cart-steps .active-step .step-title {
  color: var(--g-dark);
}

.page-cart-confirm .cart-steps .completed-step .step-circle {
  background: var(--beige);
  color: #2b2208;
  border-color: var(--beige);
}

.page-cart-confirm .cart-steps .completed-step .step-title {
  color: var(--beige-dark);
}

.page-cart-confirm .cart-steps hr {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-color: var(--line);
  opacity: 1;
}

.page-cart-confirm .ae-checkout-page {
  background: #fff;
  padding-top: 8px;
  padding-bottom: 48px;
}

.page-cart-confirm .ae-checkout-page > .ae-wrap > .row {
  align-items: flex-start;
}

.page-cart-confirm .checkout__form > h4,
.page-cart-confirm .checkout-details-panel + .checkout__order h4,
.page-cart-confirm .checkout__order h4 {
  font-family: var(--head);
  font-size: 20px;
  font-weight: 800;
  color: var(--g-dark);
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-cart-confirm .checkout-details-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px 16px;
  box-shadow: var(--sh);
}

.page-cart-confirm .checkout-details-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-cart-confirm .checkout__form .checkout__input {
  margin-bottom: 4px;
}

.page-cart-confirm .checkout__form .checkout__input p {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.page-cart-confirm .checkout__form .checkout__input p span {
  color: var(--red);
}

.page-cart-confirm .checkout__form .checkout__input input[type="text"],
.page-cart-confirm .checkout__form .checkout__input input[type="tel"],
.page-cart-confirm .checkout__form .checkout__input input[type="email"],
.page-cart-confirm .checkout__form .checkout__input input[type="number"] {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-cart-confirm .checkout__form .checkout__input input:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.page-cart-confirm .checkout__form .checkout__input input::placeholder {
  color: #aaa;
}

.page-cart-confirm input.is-invalid {
  border-color: var(--red) !important;
  background-color: #fff5f5;
}

.page-cart-confirm .text-danger {
  color: var(--red) !important;
}

.page-cart-confirm .checkout-option-row {
  margin-top: 6px;
  margin-bottom: 4px;
}

.page-cart-confirm .checkout-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.page-cart-confirm .checkout-option input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--g);
}

.page-cart-confirm .checkout-option label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  cursor: pointer;
}

.page-cart-confirm #invoice_requestForm,
.page-cart-confirm #delivery_address {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px 8px;
  margin: 10px 0 16px;
}

.page-cart-confirm #invoice_requestForm .form-check,
.page-cart-confirm .checkout-details-panel .form-check,
.page-cart-confirm .checkout__order .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  padding-left: 0 !important;
  margin: 0 0 14px;
  min-height: 0;
}

.page-cart-confirm #invoice_requestForm .form-check-input,
.page-cart-confirm .checkout-details-panel .form-check-input[type="checkbox"],
.page-cart-confirm .checkout__order .form-check-input[type="radio"] {
  float: none;
  position: static;
  margin: 4px 0 0 !important;
  margin-left: 0 !important;
  flex-shrink: 0;
  accent-color: var(--g);
}

.page-cart-confirm #invoice_requestForm .form-check-input:checked,
.page-cart-confirm .checkout-details-panel .form-check-input[type="checkbox"]:checked,
.page-cart-confirm .checkout__order .form-check-input[type="radio"]:checked {
  background-color: var(--g);
  border-color: var(--g);
}

.page-cart-confirm #invoice_requestForm .form-check-label,
.page-cart-confirm .checkout__order .form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.page-cart-confirm .checkout__order .checkout__order__subtotal .row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.page-cart-confirm .checkout__order .form-check-label img {
  flex-shrink: 0;
  max-width: 30px;
  width: 30px;
  height: auto;
  margin-right: 0;
  vertical-align: top;
}

.page-cart-confirm .checkout__order .form-check-label span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.page-cart-confirm .checkout-consent-section {
  padding: 14px 0 0 24px;
}

.page-cart-confirm .checkout-consent-section .checkout-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}

.page-cart-confirm .checkout-consent-section .checkout-consent-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--g);
  cursor: pointer;
}

.page-cart-confirm .checkout-consent-section .checkout-consent-item label {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  cursor: pointer;
}

.page-cart-confirm .checkout-consent-section .checkout-consent-item label a {
  color: var(--g);
  font-weight: 600;
}

.page-cart-confirm .checkout__order {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 24px;
  margin-top: 0;
  position: sticky;
  top: 96px;
}

.page-cart-confirm .checkout__order .checkout__order__subtotal {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--g-dark);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 14px;
}

.page-cart-confirm .checkout__order .checkout__order__subtotal span {
  float: right;
  color: var(--g);
}

.page-cart-confirm .checkout__order .checkout__order__summary {
  margin-bottom: 12px;
}

.page-cart-confirm .checkout__order .checkout__order__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.page-cart-confirm .checkout__order .checkout__order__item span {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-cart-confirm .checkout__order .checkout__order__total {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--g-dark);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.page-cart-confirm .checkout__order .checkout__order__total span {
  color: var(--g);
  font-size: 22px;
  white-space: nowrap;
}

.page-cart-confirm .checkout__order .checkout__input {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.page-cart-confirm .checkout__order .checkout__input input[type="text"] {
  flex: 1;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
}

.page-cart-confirm .checkout__order .checkout__input input[type="text"]:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.page-cart-confirm .checkout__order small {
  color: var(--muted) !important;
  font-size: 12px;
}

.page-cart-confirm .checkout__order .ae-free-delivery-hint {
  color: var(--red);
}

.page-cart-confirm .payment-methods-grid .payment-method-tile {
  display: block;
  position: relative;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 14px 10px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  height: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 10px;
  user-select: none;
  background: #fff;
}

.page-cart-confirm .payment-method-tile input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.page-cart-confirm .payment-method-tile__label {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.page-cart-confirm .payment-method-tile__img {
  display: block;
  width: 100px;
  height: 42px;
  margin: 0 auto 10px;
  object-fit: contain;
  object-position: center;
}

.page-cart-confirm .payment-method-tile--selected {
  border-color: var(--g);
  background-color: var(--g-soft);
}

.page-cart-confirm .checkout__order .site-btn,
.page-cart-confirm .checkout__order #applyDiscountBtn.site-btn {
  background: var(--g) !important;
  color: #fff !important;
  border: 0;
  border-radius: var(--r) !important;
  font-family: var(--head);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 18px !important;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.page-cart-confirm .checkout__order .site-btn:hover,
.page-cart-confirm .checkout__order #applyDiscountBtn.site-btn:hover {
  background: var(--g-mid) !important;
  color: #fff !important;
}

.page-cart-confirm .checkout__order #submitOrderButton.site-btn {
  display: block;
  width: 100%;
  padding: 14px 20px !important;
  font-size: 14px !important;
  margin-top: 8px;
}

.page-cart-confirm .checkout__order #submitOrderButton.site-btn small {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.page-cart-confirm #inPostContener {
  margin-top: 10px;
  font-size: 14px;
}

.page-cart-confirm #wybranyPaczkomat {
  font-size: 14px;
  color: var(--ink);
}

.page-cart-confirm #packagesCountInfo {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.page-cart-confirm .orlen-widget-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.page-cart-confirm .modal-dialog,
.page-cart-confirm .customModalDialogDeliveries {
  width: 90% !important;
  max-width: 100% !important;
}

.page-cart-confirm .orlen-widget-modal__dialog {
  width: 90% !important;
  max-width: 100% !important;
}

.page-cart-confirm .orlen-widget-marker-list {
  width: 20% !important;
}

.page-cart-confirm .orlen-widget-map {
  width: 75% !important;
}

@media only screen and (max-width: 991px) {
  .page-cart-confirm .checkout__order {
    position: static;
    margin-top: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .page-cart-confirm .checkout-details-panel {
    padding: 16px 14px 12px;
  }

  .page-cart-confirm .checkout-consent-section {
    padding: 12px 0 0 14px;
  }

  .page-cart-confirm .modal-dialog,
  .page-cart-confirm .customModalDialogDeliveries,
  .page-cart-confirm .orlen-widget-modal__dialog {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-cart-confirm .orlen-widget-marker-list,
  .page-cart-confirm .orlen-widget-map {
    width: 100% !important;
  }

  .page-cart-confirm .orlen-widget-wrapper {
    flex-direction: column;
  }

  .page-cart-confirm .checkout__order .checkout__input {
    flex-wrap: wrap;
  }

  .page-cart-confirm .checkout__order #applyDiscountBtn.site-btn {
    width: 100%;
    text-align: center;
  }
}
