/* AleEko layout (wariant 7) — nawigacja i stopka na wszystkich stronach (body.page-aleeko) */
.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;
  --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-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;
}

.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: 36px;
  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,
.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;
}

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

.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 li:first-child {
    flex: 0 1 auto;
  }

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

.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 #clear-search {
  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 #clear-search::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%;
  gap: 2px;
}

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

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

.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 {
  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;
}

/* 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);
}

/* 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-pane {
  display: none;
}

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

.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: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.ae-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px 2px 6px;
  border-radius: 3px;
  background: #f7f5f0;
  color: #4a4f45;
  border-left: 3px solid var(--fc, #999);
  line-height: 1.3;
  white-space: nowrap;
}

.ae-flag i {
  color: var(--fc);
  font-size: 10px;
}

.ae-flag.promocja { --fc: var(--red); }
.ae-flag.bestseller { --fc: var(--orange); }
.ae-flag.vege { --fc: #4caf50; }
.ae-flag.bio { --fc: var(--teal); }
.ae-flag.krotka { --fc: var(--gold); }
.ae-flag.dostawa { --fc: var(--blue); }
.ae-flag.warianty { --fc: var(--purple); }
.ae-flag.zestaw { --fc: var(--indigo); }
.ae-flag.ostatnie { --fc: var(--orange); }

.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 {
  color: var(--red);
}

.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 */
.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;
}

/* Producers */
#producenci {
  scroll-margin-top: 96px;
}

.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;
}

/* 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.2fr 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;
  }

  .page-aleeko .mobile-menu-wrapper {
    z-index: 55;
  }

  .page-aleeko .mobile-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
  }

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

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

  .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;
  }

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

.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, 1fr); }
  .ae-producers { grid-template-columns: repeat(4, 1fr); }
  .ae-usp { grid-template-columns: 1fr 1fr; }
  .page-aleeko .ae-ft {
    grid-template-columns: 1fr 1fr 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 #clear-search::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-usp,
  .ae-legend,
  .ae-blog,
  .ae-two {
    grid-template-columns: 1fr 1fr;
  }
  .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; }
  .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 {
    display: block !important;
    overflow: visible;
  }

  .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;
  }

  .page-aleeko .header__top .row {
    gap: 0;
    flex-wrap: nowrap;
  }

  .page-aleeko .header__top .col-lg-6 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-aleeko .home-topbar-blog {
    padding: 0 10px;
    font-size: 11px !important;
    flex-shrink: 0;
    position: relative;
    left: 8px;
    top: -3px;
  }

  .page-aleeko .home-topbar-meta {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
  }

  .page-aleeko .home-topbar-meta p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .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: 14px;
    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;
  }

  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li > a {
    font-size: 0 !important;
    padding: 6px 10px;
    gap: 0;
  }

  .page-aleeko .navbarStyle .col-lg-8 .header__menu ul li > a .home-hdr-icon {
    width: 22px;
    height: 22px;
  }

  .page-aleeko #clear-search::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;
  }

  /* 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;
    width: auto !important;
    float: none;
    height: auto !important;
  }

  .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;
  }
}

@media (max-width: 600px) {
  .ae-usp,
  .ae-legend,
  .ae-blog,
  .ae-two,
  .ae-goals {
    grid-template-columns: 1fr;
  }
  .ae-producers {
    grid-template-columns: repeat(2, 1fr);
  }
  .ae-store { width: 100%; }
  .page-aleeko .cookie-settings-trigger {
    bottom: 72px;
  }
  .page-home #mySlider .caption {
    max-width: 70%;
    left: 16px;
    bottom: 28px;
  }
  .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: 6px 8px;
  }

  .page-aleeko .custom-align-end .header__menu ul li > a {
    padding: 8px 12px;
    margin-left: 4px;
  }
}

/* ---------- 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-purchase-box__main-price .discount-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 .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 {
  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;
}

.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;
}

.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 .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%;
  }
}

/* ---------- 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 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: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.page-category .filter-option input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  accent-color: var(--g);
  flex: none;
  margin: 0;
  cursor: pointer;
}

.page-category .flag-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px 2px 6px;
  background: #f7f5f0;
  color: #4a4f45;
  border-left-width: 3px;
  border-radius: 3px;
  min-width: 0;
  opacity: 1;
  box-shadow: none;
}

.page-category .filter-option input[type="checkbox"]:checked + .flag-filter-label {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--beige-line);
}

.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 .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: 5px 10px;
  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, 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: none;
  flex: none;
  padding: 0;
  margin: 0;
}

.page-category #product-container .product__item.ae-card,
.page-category #product-container .ae-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  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: 32px;
  height: 32px;
  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: 16px;
  height: 16px;
  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 {
  margin-top: 28px;
}

.page-category #product-container .ae-card-brand {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-height: 56px;
}

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

.page-category #product-container .ae-card-brand span {
  display: block;
  width: auto;
  flex: 1 1 auto;
  text-align: left;
  padding: 0;
  font-size: 14px;
}

.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: 170px;
  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.35;
  min-height: 54px;
  margin: 3px 0 6px;
}

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

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

.page-category #product-container .ae-bottom {
  align-items: flex-end;
  flex-wrap: wrap;
}

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

.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, 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, 1fr);
    gap: 10px;
  }

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

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

@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: 10px;
  }

  .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 .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;
  }

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

  .page-category .sidebar-collapsible.is-collapsed .sidebar-collapsible__arrow {
    font-size: 12px;
    margin-left: 6px;
  }
}

/* ---------- 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;
  }
}
