/* Local homepage header: calm editorial layout inspired by the reference. */
body .top_info_head,
body .free_shipping_header,
body .three_col_cat_prom .katsy_klik,
body .three_col_cat_prom .wyszukiwarka_ajax,
body .three_col_cat_prom .promka_head { display: none !important; }
body .three_col_cat_prom { height: 0; margin: 0; overflow: visible; }

.amix-home-trust {
  background: #faf7f3;
  border-bottom: 1px solid #eee9e4;
  color: #363636;
  font-size: 12px;
}
.amix-home-trust__inner {
  width: 100%;
  max-width: 1350px;
  min-height: 36px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.amix-home-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.amix-home-trust__dispatch { font-weight: 650; }
.amix-home-trust__official { color: #222222; font-weight: 700; }
.amix-home-trust__official .amix-home-trust__icon { color: #c8102e; }
.amix-home-trust__rating { margin-left: auto; }
.amix-home-trust a:hover { color: #b80824; }
.amix-home-trust__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f1e8e6;
  color: #bd0d29;
}
.amix-home-trust__icon svg { display: block; width: 15px; height: 15px; }
.amix-home-trust__google { font-weight: 800; letter-spacing: -.02em; }
.amix-home-trust__stars { color: #e5a72b; font-size: 12px; letter-spacing: 1px; }
.amix-home-trust__rating strong { font-size: 12px; }

#header_stick_pp.amix-vilgain-home {
  padding: 0;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
}
.amix-vilgain-home .back_head { background: #fff; }
.amix-vilgain-home .container_pp { max-width: 1350px; padding: 0 24px; }
.amix-vilgain-home .header_top {
  display: grid;
  grid-template-columns: minmax(145px, 185px) minmax(330px, 1fr) auto;
  grid-template-areas: "logo search actions" "category nav nav";
  align-items: center;
  column-gap: clamp(24px, 4vw, 68px);
  row-gap: 0;
  width: 100%;
  position: relative;
}
.amix-vilgain-home .logo_top { grid-area: logo; width: 100%; max-width: 185px; padding: 0; }
.amix-vilgain-home .logo_top a { display: block; }
.amix-vilgain-home .logo_top img { display: block; width: 100%; max-width: 165px; height: auto; padding: 0; }
.amix-vilgain-home .amix-home-search { grid-area: search; min-width: 0; padding: 12px 0; }
.amix-vilgain-home .amix-home-search .dgwt-wcas-search-wrapp { max-width: none; width: 100%; }
.amix-vilgain-home .amix-home-search .dgwt-wcas-sf-wrapp { max-width: none; }
.amix-vilgain-home .amix-home-search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 24px;
  background: #f5f5f6;
  padding-left: 20px;
  font-size: 14px;
  box-shadow: none;
}
.amix-vilgain-home .amix-home-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  height: 44px;
  border-radius: 0 24px 24px 0;
  background: #292929;
}
.amix-vilgain-home .btn_gzk_log {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0;
  white-space: nowrap;
}
.amix-vilgain-home .wdg_user_log { display: block !important; position: relative; }
.amix-vilgain-home .wdg_user_log > span > a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 11px 4px 5px;
  border: 1px solid #eee;
  border-radius: 24px;
  color: #272727;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.amix-vilgain-home .wdg_user_log > span > a:hover,
.amix-vilgain-home .wdg_user_log > span > a:focus-visible { border-color: #c7c7c7; background: #fafafa; }
.amix-vilgain-home .wdg_user_log svg {
  display: block;
  position: static;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #202020;
}
.amix-vilgain-home header .widget_shopping_cart_content,
.amix-vilgain-home .widget_shopping_cart_content { margin-right: 0 !important; }
.amix-vilgain-home .btn_gzk_log > .widget_shopping_cart_content { position: relative; }
.amix-vilgain-home .voir_cart .cart_obj {
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: 15px 17px;
  align-items: center;
  column-gap: 9px;
  min-height: 44px;
  padding: 5px 12px 5px 5px;
  border: 1px solid #eee;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}
.amix-vilgain-home .voir_cart .cart_obj:hover { border-color: #c7c7c7; background: #fafafa; }
.amix-vilgain-home .voir_cart .cart_obj::before {
  content: 'Koszyk';
  grid-column: 2;
  grid-row: 1;
  color: #292929;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
}
.amix-vilgain-home .ikon_cart_obj {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #202020;
}
.amix-vilgain-home .ikon_cart_obj svg { width: 19px; height: 19px; }
.amix-vilgain-home .count_obj_kart {
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 28px;
  right: auto;
  width: 18px;
  height: 18px;
  background: #c20d29;
  border: 2px solid #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}
.amix-vilgain-home .count_obj_kart.is-empty { display: none; }
.amix-vilgain-home .total_cena {
  grid-column: 2;
  grid-row: 2;
  position: static;
  left: auto;
  color: #292929;
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
}
.amix-vilgain-home .total_cena::after { display: none; }
.amix-vilgain-home .wdg_user_log .pos__user_lg__submenu,
.amix-vilgain-home .widget_shopping_cart_content .mini_mini__cart {
  top: calc(100% - 1px);
  right: 0;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 28, 28, .13);
  z-index: 1000;
}
.amix-vilgain-home .wdg_user_log .pos__user_lg__submenu {
  width: 264px;
  max-width: min(264px, calc(100vw - 28px));
  min-width: 0;
  padding: 12px;
}
.amix-vilgain-home .pos__user_lg__submenu > a {
  margin: 0 !important;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.amix-vilgain-home .pos__user_lg__submenu > a:hover,
.amix-vilgain-home .pos__user_lg__submenu > a:focus-visible {
  background: #f7f7f8;
  color: #b80824;
  opacity: 1;
}
.amix-vilgain-home .pos__user_lg__submenu > a:first-child {
  margin-bottom: 7px !important;
  background: #c20d29;
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.amix-vilgain-home .pos__user_lg__submenu > a:first-child:hover,
.amix-vilgain-home .pos__user_lg__submenu > a:first-child:focus-visible { background: #a90a23; color: #fff; }
.amix-vilgain-home .pos__user_lg__submenu .empty__acnt__p1 {
  margin: 8px 0 0;
  padding: 8px 12px 2px;
  color: #777;
  text-align: left;
  font-size: 12px;
}
.amix-vilgain-home .widget_shopping_cart_content .mini_mini__cart {
  box-sizing: border-box;
  width: 320px;
  max-width: min(320px, calc(100vw - 28px));
  padding: 18px;
  white-space: normal;
}
.amix-vilgain-home .mini_mini__cart .woocommerce-mini-cart__empty-message {
  padding: 18px 10px;
  border-radius: 9px;
  background: #f7f7f8;
  color: #515151;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
.amix-vilgain-home .menu_top {
  grid-area: nav;
  display: block;
  width: 100%;
  border-top: 1px solid #f1f1f1;
}
.amix-home-categories { grid-area: category; align-self: stretch; border-top: 1px solid #f1f1f1; }
.amix-home-categories__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #242424;
  text-align: left;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.amix-home-categories__trigger:hover,
.amix-home-categories__trigger:focus-visible,
.amix-home-categories.is-open .amix-home-categories__trigger { color: #b80824; }
.amix-home-categories__hamburger { font-size: 21px; line-height: 1; font-weight: 400; }
.amix-home-categories__count { margin-left: auto; color: #777; font-size: 11px; font-weight: 600; }
.amix-home-categories__panel {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-top: 3px solid #be0b29;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 22px 55px rgba(19, 19, 19, .18);
}
.amix-home-categories__panel[hidden], .amix-home-categories__detail[hidden] { display: none !important; }
.amix-home-categories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
}
.amix-home-categories__head strong { display: block; color: #1f1f1f; font-size: 20px; line-height: 1.3; }
.amix-home-categories__head span { display: block; margin-top: 2px; color: #777; font-size: 12px; }
.amix-home-categories__head button { border: 0; background: none; color: #555; font-size: 29px; line-height: 1; cursor: pointer; }
.amix-home-categories__body { display: grid; grid-template-columns: minmax(230px, 31%) 1fr; }
.amix-home-categories__roots {
  max-height: min(62vh, 525px);
  overflow-y: auto;
  border-right: 1px solid #eee;
  padding: 10px;
}
.amix-home-categories__root { display: flex; align-items: center; border-radius: 8px; }
.amix-home-categories__root:hover, .amix-home-categories__root.is-active { background: #f8f2f3; }
.amix-home-categories__root-name {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border: 0;
  background: transparent;
  color: #303030;
  text-align: left;
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.amix-home-categories__root.is-active .amix-home-categories__root-name { color: #b80824; font-weight: 750; }
.amix-home-categories__expand { width: 34px; height: 36px; border: 0; background: transparent; color: #777; font-size: 23px; cursor: pointer; }
.amix-home-categories__details { max-height: min(62vh, 525px); overflow-y: auto; padding: 25px 30px; }
.amix-home-categories__detail-heading > span { color: #b80824; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.amix-home-categories__detail-heading h3 { margin: 5px 0 20px; color: #222; font-size: 23px; line-height: 1.25; }
.amix-home-categories__subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.amix-home-categories__subgrid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.amix-home-categories__subgrid a:hover, .amix-home-categories__subgrid a:focus-visible { border-color: #d58a98; color: #b80824; background: #fff9fa; }
.amix-home-categories__subgrid a .amix-home-categories__link-arrow { color: #aaa; }
.amix-home-categories__subgrid a .amix-home-categories__link-label { flex: 1; }
.amix-home-categories__detail--lines .amix-home-categories__subgrid { gap: 10px; }
.amix-home-categories__detail--lines .amix-home-categories__subgrid a { min-height: 64px; }
.amix-home-categories__line-mark {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
}
.amix-home-categories__line-mark img { display: block; width: 46px; height: 46px; object-fit: contain; }
.amix-home-categories__more { display: none; }
.amix-vilgain-home .menu-menu-1-container,
.amix-vilgain-home .main-navigation { width: 100%; }
.amix-home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
}
.amix-vilgain-home .amix-home-nav a {
  color: #303030;
  text-transform: none;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.amix-vilgain-home .amix-home-nav a:hover,
.amix-vilgain-home .amix-home-nav a:focus-visible { color: #bc102b; }
.amix-vilgain-home .amix-home-nav .amix-home-nav__promo { color: #188449; font-weight: 800; }
.amix-vilgain-home .amix-home-nav .amix-home-nav__promo:hover,
.amix-vilgain-home .amix-home-nav .amix-home-nav__promo:focus-visible { color: #0b6635; }
.amix-vilgain-home .amix-home-nav__expert { display: inline-flex; gap: 5px; align-items: center; }
.amix-vilgain-home .amix-home-nav__expert span {
  padding: 2px 5px;
  border-radius: 3px;
  background: #278e4f;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1199px) and (min-width: 1001px) {
  .amix-home-trust__inner { padding: 0 18px; gap: 12px; }
  .amix-home-trust__brand { display: none; }
  .amix-home-trust__item { font-size: 11.5px; }
  .amix-vilgain-home .container_pp { padding: 0 18px; }
  .amix-vilgain-home .header_top { column-gap: 22px; grid-template-columns: 155px minmax(250px, 1fr) auto; }
  .amix-home-nav { gap: 11px; }
  .amix-vilgain-home .amix-home-nav a { font-size: 11.5px; }
}

@media (max-width: 1000px) {
  .amix-home-trust__inner {
    justify-content: flex-start;
    gap: 25px;
    min-height: 32px;
    padding: 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .amix-home-trust__inner::-webkit-scrollbar { display: none; }
  .amix-home-trust__item { flex: 0 0 auto; font-size: 11px; }
  .amix-home-trust__rating { margin-left: 0; }
  .amix-home-trust__stars { font-size: 10px; }
  .amix-vilgain-home .container_pp { padding: 0 14px; }
  .amix-vilgain-home .header_top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo actions" "search search" "category category";
    gap: 0 12px;
  }
  .amix-vilgain-home .button_menu_pp { display: none !important; }
  .amix-vilgain-home .logo_top { grid-area: logo; display: block !important; max-width: none; width: auto; order: unset; flex: none; }
  .amix-vilgain-home .logo_top img { width: 125px; max-width: 100%; margin: 0; }
  .amix-vilgain-home .btn_gzk_log { grid-area: actions; order: unset; gap: 6px; flex: none; }
  .amix-vilgain-home .wdg_user_log > span > a { width: 38px; height: 38px; min-height: 38px; padding: 2px; border: 0; }
  .amix-vilgain-home .wdg_user_log svg { width: 34px; height: 34px; }
  .amix-vilgain-home .amix-home-account__label { display: none; }
  .amix-vilgain-home .voir_cart .cart_obj { width: 38px; height: 38px; min-height: 38px; padding: 2px; border: 0; }
  .amix-vilgain-home .voir_cart .cart_obj::before,
  .amix-vilgain-home .total_cena { display: none; }
  .amix-vilgain-home .count_obj_kart { top: -4px; left: 26px; }
  .amix-vilgain-home .amix-home-search { grid-area: search; padding: 8px 0 12px; }
  .amix-vilgain-home .amix-home-search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { height: 42px; min-height: 42px; }
  .amix-vilgain-home .menu_top { display: none; }
  .amix-home-categories { margin-top: 2px; }
  .amix-home-categories__trigger { height: 42px; border-top: 1px solid #eee; }
  .amix-home-categories__panel { left: -14px; right: -14px; border-radius: 0 0 12px 12px; }
  .amix-home-categories__head { padding: 13px 16px; }
  .amix-home-categories__head strong { font-size: 17px; }
  .amix-home-categories__body { grid-template-columns: 1fr; max-height: min(66vh, 560px); overflow-y: auto; }
  .amix-home-categories__roots { max-height: 240px; border-right: 0; border-bottom: 1px solid #eee; }
  .amix-home-categories__details { max-height: none; overflow: visible; padding: 17px 15px 22px; }
  .amix-home-categories__detail-heading h3 { font-size: 18px; margin-bottom: 12px; }
  .amix-home-categories__subgrid { gap: 7px; }
  .amix-home-categories__subgrid a { padding: 10px; font-size: 12px; }
  .amix-home-categories__more { display: block; padding: 18px 15px 22px; border-top: 1px solid #eee; }
  .amix-home-categories__more > strong { display: block; margin-bottom: 12px; color: #242424; font-size: 14px; }
  .amix-home-categories__more > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .amix-home-categories__more a { display: block; padding: 10px; border: 1px solid #eee; border-radius: 8px; color: #323232; font-size: 12px; font-weight: 600; text-decoration: none; }
  .amix-home-categories__more a:focus-visible,
  .amix-home-categories__more a:hover { border-color: #c20d29; color: #b80824; }
}

/* On phones the category drawer is opened from the first header row. */
@media (max-width: 767px) {
  .amix-home-trust__official { order: -2; }
  .amix-home-trust__rating { order: -1; }
  .amix-vilgain-home .header_top {
    grid-template-columns: 90px minmax(0, 1fr) 90px;
    grid-template-areas: "category logo actions" "search search search";
    column-gap: 0;
  }
  .amix-vilgain-home .logo_top {
    justify-self: center;
    align-self: center;
  }
  .amix-vilgain-home .logo_top img { width: 125px; }
  .amix-vilgain-home .btn_gzk_log { justify-self: end; }
  .amix-vilgain-home .amix-home-search { padding: 12px 0 8px; }
  .amix-vilgain-home .amix-home-categories {
    position: static;
    justify-self: start;
    align-self: center;
    margin: 0;
    border: 0;
  }
  .amix-vilgain-home .amix-home-categories__trigger {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    color: #c20d29;
  }
  .amix-vilgain-home .amix-home-categories__trigger:hover,
  .amix-vilgain-home .amix-home-categories__trigger:focus-visible,
  .amix-vilgain-home .amix-home-categories.is-open .amix-home-categories__trigger {
    border-color: #c20d29;
    background: #fff5f6;
  }
  .amix-vilgain-home .amix-home-categories__hamburger { font-size: 23px; line-height: 1; }
  .amix-vilgain-home .amix-home-categories__trigger > span:not(.amix-home-categories__hamburger) { display: none; }
  .amix-vilgain-home .amix-home-categories__panel { top: 100%; }
}

/* One clear action and a compact, modern search toolbar on touch devices. */
@media (max-width: 767px) {
  body .amix-smart-search-panel--touch .amix-mobile-search-header {
    grid-template-columns: 42px minmax(0, 1fr) 40px 40px;
    gap: 7px;
    min-height: 68px;
    padding: 10px 14px !important;
    border-bottom: 1px solid #e9e9e9;
    box-shadow: 0 4px 14px rgba(25, 25, 25, .04);
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-back {
    position: relative;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 12px;
    background: #f5f5f5;
    color: #292929 !important;
    font-size: 0 !important;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-back::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 13px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-back::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 14px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-input {
    box-sizing: border-box;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    outline: none;
    background: #f7f7f8;
    color: #262626;
    font: 500 16px/1.25 Arial, sans-serif;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-input:focus {
    border-color: #c8102e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .08);
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-input::-webkit-search-cancel-button,
  body .amix-smart-search-panel--touch .amix-mobile-search-input::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
    appearance: none;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-input::-ms-clear { display: none; }
  body .amix-smart-search-panel--touch .amix-mobile-search-voice,
  body .amix-smart-search-panel--touch .amix-mobile-search-clear {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-voice { color: #bd0d29; }
  body .amix-smart-search-panel--touch .amix-mobile-search-clear {
    background: #f5f5f5;
    color: #5b5b5b;
    font-size: 25px;
    font-weight: 300;
  }
  body .amix-smart-search-panel--touch .amix-mobile-search-back:focus-visible,
  body .amix-smart-search-panel--touch .amix-mobile-search-voice:focus-visible,
  body .amix-smart-search-panel--touch .amix-mobile-search-clear:focus-visible {
    outline: 2px solid #c8102e;
    outline-offset: 2px;
  }
}

/* ==========================================================================
   Kategorie: wspólna struktura desktop + mobilna szuflada (2 poziomy)
   Desktop: lewa kolumna (kategorie główne) | prawa kolumna (podkategorie)
   Mobile:  poziom 1 (kategorie główne)  →  poziom 2 (podkategorie)
   ========================================================================== */
.amix-home-categories__main { min-width: 0; border-right: 1px solid #eee; }
.amix-home-categories__main .amix-home-categories__roots { border-right: 0; }
.amix-home-categories__quick,
.amix-home-categories__section-label,
.amix-home-categories__root-count,
.amix-home-categories__back,
.amix-home-categories__all,
.amix-home-categories__backdrop { display: none; }

@keyframes amixDrawerIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes amixFadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1000px) {
  html.amix-categories-lock,
  html.amix-categories-lock body { overflow: hidden !important; }

  .amix-vilgain-home .amix-home-categories__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(20, 20, 20, .5);
    animation: amixFadeIn .2s ease-out;
  }
  .amix-vilgain-home .amix-home-categories__backdrop[hidden] { display: none; }

  /* Szuflada */
  .amix-vilgain-home .amix-home-categories__panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    width: min(420px, calc(100vw - 48px));
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-top: 3px solid #be0b29;
    border-radius: 0 16px 16px 0;
    box-shadow: 12px 0 40px rgba(19, 19, 19, .22);
    animation: amixDrawerIn .28s cubic-bezier(.2, .8, .2, 1);
  }
  .amix-vilgain-home .amix-home-categories__head {
    flex: none;
    gap: 12px;
    padding: 16px 14px 14px 18px;
    border-bottom: 1px solid #eee;
  }
  .amix-vilgain-home .amix-home-categories__head strong { font-size: 18px; }
  .amix-vilgain-home .amix-home-categories__head span { font-size: 11.5px; }
  .amix-vilgain-home .amix-home-categories__head button {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #333;
    font-size: 26px;
  }

  /* Dwa poziomy przesuwane w poziomie */
  .amix-vilgain-home .amix-home-categories__body {
    position: relative;
    display: block;
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }
  .amix-vilgain-home .amix-home-categories__main,
  .amix-vilgain-home .amix-home-categories__details {
    position: absolute;
    inset: 0;
    max-height: none;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 0;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
  }
  .amix-vilgain-home .amix-home-categories__details {
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
  }
  .amix-vilgain-home .amix-home-categories__panel.is-drilled .amix-home-categories__main {
    transform: translateX(-25%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
  }
  .amix-vilgain-home .amix-home-categories__panel.is-drilled .amix-home-categories__details {
    transform: translateX(0);
    visibility: visible;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
  }

  /* Poziom 1: skróty (jak górna nawigacja desktop) */
  .amix-vilgain-home .amix-home-categories__quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 16px 4px;
  }
  .amix-vilgain-home .amix-home-categories__quick a {
    display: block;
    padding: 11px 6px;
    border: 1px solid #ececec;
    border-radius: 10px;
    color: #303030;
    text-align: center;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
  }
  .amix-vilgain-home .amix-home-categories__quick a:hover,
  .amix-vilgain-home .amix-home-categories__quick a:focus-visible { border-color: #d58a98; color: #b80824; }
  .amix-vilgain-home .amix-home-categories__quick .amix-home-categories__quick-promo {
    border-color: #cfe9d9;
    background: #f1f9f4;
    color: #188449;
  }

  .amix-vilgain-home .amix-home-categories__section-label {
    display: block;
    margin: 18px 18px 4px;
    color: #b80824;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  /* Poziom 1: kategorie główne (lewa kolumna desktop) */
  .amix-vilgain-home .amix-home-categories__roots {
    max-height: none;
    overflow: visible;
    padding: 0 8px;
    border: 0;
  }
  .amix-vilgain-home .amix-home-categories__root {
    min-height: 50px;
    border-radius: 0;
    padding-right: 2px;
  }
  .amix-vilgain-home .amix-home-categories__root + .amix-home-categories__root { border-top: 1px solid #f2f2f2; }
  .amix-vilgain-home .amix-home-categories__root-name {
    padding: 14px 10px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
  }
  .amix-vilgain-home .amix-home-categories__root-count {
    display: inline-block;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f4f4f5;
    color: #7a7a7a;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
  }
  .amix-vilgain-home .amix-home-categories__expand { width: 38px; height: 48px; color: #b0b0b0; font-size: 24px; }

  /* Poziom 1: strony informacyjne */
  .amix-vilgain-home .amix-home-categories__more {
    display: block;
    margin-top: 14px;
    padding: 18px 16px 28px;
    border-top: 8px solid #f6f6f7;
  }

  /* Poziom 2: podkategorie (prawa kolumna desktop) */
  .amix-vilgain-home .amix-home-categories__detail { padding-bottom: 28px; }
  .amix-vilgain-home .amix-home-categories__back {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, .97);
    color: #333;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .amix-vilgain-home .amix-home-categories__back span { color: #b80824; font-size: 24px; line-height: .8; }
  .amix-vilgain-home .amix-home-categories__detail-heading { padding: 18px 18px 0; }
  .amix-vilgain-home .amix-home-categories__detail-heading h3 { margin: 4px 0 12px; font-size: 21px; }
  .amix-vilgain-home .amix-home-categories__all {
    display: inline-flex;
    gap: 6px;
    margin: -4px 18px 12px;
    color: #b80824;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }
  .amix-vilgain-home .amix-home-categories__subgrid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }
  .amix-vilgain-home .amix-home-categories__subgrid a {
    min-height: 50px;
    padding: 13px 4px;
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
  }
  .amix-vilgain-home .amix-home-categories__subgrid a:hover,
  .amix-vilgain-home .amix-home-categories__subgrid a:focus-visible { background: #fff9fa; }
  .amix-vilgain-home .amix-home-categories__subgrid a .amix-home-categories__link-arrow { color: #c4c4c4; }

  /* Linie Amix: kafle z ikonami, jak na desktopie */
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__subgrid a {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 112px;
    padding: 14px 8px 12px;
    border: 1px solid #ececec;
    border-radius: 12px;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__subgrid a:hover,
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__subgrid a:focus-visible { border-color: #d58a98; }
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__link-label { flex: none; }
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__link-arrow { display: none; }
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__line-mark,
  .amix-vilgain-home .amix-home-categories__detail--lines .amix-home-categories__line-mark img { width: 52px; height: 52px; flex-basis: 52px; }
}

@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .amix-vilgain-home .amix-home-categories__panel,
  .amix-vilgain-home .amix-home-categories__backdrop { animation: none; }
  .amix-vilgain-home .amix-home-categories__main,
  .amix-vilgain-home .amix-home-categories__details { transition: none !important; }
}

/* Ikona menu (hamburger) jako SVG – równe kreski; na telefonie kwadrat z zaokrągleniem jak pozostałe elementy */
.amix-home-categories__hamburger svg { display: block; width: 22px; height: 22px; }
@media (max-width: 1000px) {
  .amix-vilgain-home .amix-home-categories__trigger {
    width: 44px; height: 44px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; color: #c20d29;
  }
  .amix-vilgain-home .amix-home-categories__trigger:hover,
  .amix-vilgain-home .amix-home-categories__trigger:focus-visible,
  .amix-vilgain-home .amix-home-categories.is-open .amix-home-categories__trigger { border-color: #c20d29; background: #fff5f6; color: #c20d29; }
  .amix-vilgain-home .amix-home-categories__hamburger svg { width: 28px; height: 28px; }
}

/* Brak przewijania strony w prawo/lewo na telefonie.
   overflow-x: clip nie psuje przyklejonego nagłówka (w przeciwieństwie do hidden na html). */
html, body { overflow-x: clip; }
@media (max-width: 1000px) {
  /* Strzałki starych karuzel i przyciski „Załaduj więcej” wystawały poza ekran */
  .p_home_next, .wpd-slider-next { right: 0 !important; }
  .p_home_prev, .wpd-slider-prev { left: 0 !important; }
  .wpcpl-load-more-button { box-sizing: border-box; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
}

/* Telefon/tablet (lub ekran dotykowy): kliknięcie w koszyk od razu przechodzi do /koszyk/ – bez rozwijanego mini‑koszyka */
@media (max-width: 1000px), (hover: none) {
  .widget_shopping_cart_content .mini_mini__cart,
  .amix-vilgain-home .widget_shopping_cart_content .mini_mini__cart { display: none !important; visibility: hidden !important; }
}

/* Menu kategorii (telefon): pasek „Nie wiesz, co wybrać?” pod kategoriami + strony informacyjne na delikatnie szarym tle */
.amix-home-categories__advisor { display: none; }
@media (max-width: 1000px) {
  .amix-home-categories .amix-home-categories__advisor {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 4px 12px;
    margin: 18px 16px 20px;
    padding: 16px;
    border-radius: 14px;
    background: #1f1f1f;
    color: #fff;
    text-decoration: none;
  }
  .amix-home-categories__advisor-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
  .amix-home-categories__advisor-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .amix-home-categories__advisor-text strong { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; }
  .amix-home-categories__advisor-text span { color: #c4c4c4; font-size: 12.5px; line-height: 1.4; }
  .amix-home-categories__advisor-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px; border-radius: 10px; background: #c20d29; color: #fff; font-size: 14px; font-weight: 700; }
  .amix-home-categories__advisor:hover .amix-home-categories__advisor-cta,
  .amix-home-categories__advisor:focus-visible .amix-home-categories__advisor-cta { background: #a50b22; }
  .amix-home-categories__advisor:focus-visible { outline: 2px solid #c20d29; outline-offset: 2px; }

  html .amix-home-categories .amix-home-categories__more {
    margin-top: 0;
    padding: 18px 16px 32px;
    border-top: 0;
    background: #f6f6f7;
  }
  html .amix-home-categories .amix-home-categories__more a { border-color: #ececec; background: #fff; }
}

/* Wyszukiwarka: „Pomoc i informacje” (wysyłka, płatności, zwroty…) – panel podpowiedzi i strona wyników */
.amix-help-hits { margin: 0 0 14px; }
.amix-help-hits__title { margin: 0 0 8px; color: #777; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.amix-help-hits__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px; }
.amix-help-hits__item { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 12px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; color: #222; text-decoration: none; transition: border-color .15s, color .15s; }
.amix-help-hits__item:hover, .amix-help-hits__item:focus-visible { border-color: #c20d29; color: #222; }
.amix-help-hits__item:focus-visible { outline: 2px solid #c20d29; outline-offset: 2px; }
.amix-help-hits__icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f4f4f5; color: #444; }
.amix-help-hits__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.amix-help-hits__text strong { font-size: 14px; font-weight: 700; line-height: 1.25; }
.amix-help-hits__text small { color: #666; font-size: 12.5px; line-height: 1.3; }
.amix-help-hits__item > svg { flex: 0 0 auto; color: #999; }
.amix-help-hits__item:hover > svg { color: #c20d29; }
.amix-help-hits--panel { padding: 16px 24px 0; }
.amix-help-hits--results { width: 100%; margin: 4px 0 22px; }
.amix-help-hits--results .amix-help-hits__list { grid-template-columns: repeat(auto-fill, minmax(330px, 400px)); }
@media (max-width: 1000px) {
  .amix-help-hits--panel { padding: 14px 16px 0; }
  .amix-help-hits__list, .amix-help-hits--results .amix-help-hits__list { grid-template-columns: 1fr; }
}

/* Pasek zaufania na telefonie – przewijanie w pętli (js/amix-home-header.js) */
@media (max-width: 1000px) {
  .amix-home-trust__inner.is-looping { scroll-behavior: auto; scroll-snap-type: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .amix-home-trust__inner.is-looping::-webkit-scrollbar { display: none; }
}

/* Panel podpowiedzi wyszukiwarki: cena promocyjna (przekreślona + nowa) nie mieści się obok ocen – zawijamy do nowej linii */
.amix-smart-search-panel .amix-product-meta { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
.amix-smart-search-panel .amix-smart-price del { margin-right: 4px; color: #888; font-size: .88em; font-weight: 500; text-decoration: line-through; }
.amix-smart-search-panel .amix-smart-price ins { color: #c8102e; text-decoration: none; }
