.AP_Shop_Catalog { min-width: 0; }
.AP_Shop_Toolbar { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin: 0 0 24px; padding: 14px 16px; border: 1px solid #e4e4e7; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(9, 9, 11, .04); flex-wrap: wrap; }
.AP_TbarLeft { flex: 1 1 auto; min-width: 0; }
.AP_TbarRight { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 100%; }
.AP_ResultCount { font: 500 14px/1.6 system-ui; color: #6b7280; }
.AP_ResultCount b { color: #09090b; }
.AP_Shop_FilterTrigger { gap: 9px; border-radius: 999px !important; }
.AP_Shop_FilterIcon { position: relative; width: 17px; height: 14px; display: inline-block; background: linear-gradient(currentColor,currentColor) 0 1px/17px 1.5px no-repeat, linear-gradient(currentColor,currentColor) 0 6px/17px 1.5px no-repeat, linear-gradient(currentColor,currentColor) 0 11px/17px 1.5px no-repeat; }
.AP_Shop_FilterIcon::before { content: ""; position: absolute; width: 4px; height: 4px; top: -1px; left: 4px; border: 1.5px solid currentColor; border-radius: 50%; background: #fff; box-sizing: border-box; box-shadow: 5px 5px 0 -1.5px #fff, 5px 5px 0 0 currentColor, -2px 10px 0 -1.5px #fff, -2px 10px 0 0 currentColor; }
.AP_Shop_FilterTrigger:hover .AP_Shop_FilterIcon::before,
.AP_Shop_FilterTrigger:focus-visible .AP_Shop_FilterIcon::before { background: #09090b; box-shadow: 5px 5px 0 -1.5px #09090b, 5px 5px 0 0 #fff, -2px 10px 0 -1.5px #09090b, -2px 10px 0 0 #fff; }
.AP_Filter_ActiveCount { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #09090b; color: #fff; font: 700 11px/1 "Lexend Deca", system-ui, sans-serif; }
.AP_Filter_ActiveCount[hidden] { display: none !important; }
.AP_Shop_FilterTrigger:hover .AP_Filter_ActiveCount,
.AP_Shop_FilterTrigger:focus-visible .AP_Filter_ActiveCount { background: #fff; color: #09090b; }
.AP_Shop_Grid, .AP_Shop_SkeletonGrid { display: grid; gap: 20px; }
.AP_Shop_Loading { grid-column: 1 / -1; border: 1px dashed #FF2800; border-radius: 14px; padding: 20px; text-align: center; font: 500 14px/1.6 system-ui; }
#AP_Shop_GridWrap { position: relative; min-width: 0; scroll-margin-top: 100px; }
#AP_Shop_GridWrap.is-loading::before { content: "Loading products..."; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 10px 16px; border-radius: 8px; background: #fff; color: #A80714; box-shadow: 0 2px 12px #0002; font: 500 14px/1.5 system-ui; white-space: nowrap; pointer-events: none; }
#AP_Shop_GridWrap .AP_Shop_Grid { transition: opacity .18s ease; }
#AP_Shop_GridWrap.is-loading .AP_Shop_Grid { opacity: .5; }
#AP_Shop_GridWrap.is-loading .AP_Shop_Page { cursor: progress; }
#AP_Shop_GridWrap:focus-visible { outline: 2px solid #C90818; outline-offset: 5px; }
.AP_Shop_Feedback { margin: 0 0 12px; padding: 12px 16px; border-radius: 10px; background: #fff4f1; color: #A80714; font: 500 14px/1.5 system-ui; overflow-wrap: anywhere; }
.AP_Shop_Feedback a { color: inherit; text-decoration: underline; }
/* Keep successful update announcements available without moving the layout. */
.AP_Shop_Feedback:not(.is-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  #AP_Shop_GridWrap .AP_Shop_Grid { transition: none; }
}

@media (max-width: 1024px) {
  html.ap-filter-mobile-ready .AP_Shop_Toolbar {
    display: block;
    min-height: 0;
    margin: 0 0 16px;
    padding: 0 2px 11px;
    border: 0;
    border-bottom: 1px solid #e4e4e7;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  html.ap-filter-mobile-ready .AP_TbarLeft {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    text-align: left !important;
  }

  html.ap-filter-mobile-ready .AP_ResultCount {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.45;
    text-align: left !important;
  }

  html.ap-filter-mobile-ready .AP_TbarRight--shop-filter {
    display: contents !important;
  }

  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger {
    position: fixed !important;
    z-index: 999998;
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto !important;
    min-width: 142px;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 17px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 999px !important;
    background: #18181b !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(9, 9, 11, .28), 0 4px 12px rgba(9, 9, 11, .18) !important;
    font: 700 13px/1 "Lexend Deca", system-ui, sans-serif !important;
    appearance: none;
    transform: none !important;
    transition: background-color .2s ease, opacity .2s ease, visibility .2s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:hover,
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:focus,
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:focus-visible,
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:active {
    border-color: rgba(255, 255, 255, .24) !important;
    background: #09090b !important;
    color: #fff !important;
    box-shadow: 0 16px 38px rgba(9, 9, 11, .32), 0 4px 12px rgba(9, 9, 11, .2) !important;
    outline: none;
    transform: none !important;
  }

  html.ap-filter-mobile-ready .AP_Shop_FilterIcon::before,
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:hover .AP_Shop_FilterIcon::before,
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger:focus-visible .AP_Shop_FilterIcon::before {
    background: #09090b;
    box-shadow: 5px 5px 0 -1.5px #09090b, 5px 5px 0 0 #fff, -2px 10px 0 -1.5px #09090b, -2px 10px 0 0 #fff;
  }

  html.ap-filter-mobile-ready .AP_Filter_ActiveCount {
    background: #fff;
    color: #09090b;
  }

  html.ap-filter-open .AP_Shop_FilterTrigger,
  html.avl-floating-contact-open .AP_Shop_FilterTrigger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  html.ap-filter-open .avl-floating-contact {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .AP_Filter_Overlay {
    z-index: 1000000;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .AP_Filter_Panel {
    z-index: 1000001;
  }
}

@media (max-width: 767px) {
  .AP_Shop_Toolbar { align-items: stretch; margin-bottom: 18px; padding: 12px; }
  .AP_TbarLeft, .AP_TbarRight { flex: 1 1 100%; }
  html.ap-filter-mobile-ready .AP_TbarRight .AP_Shop_FilterTrigger {
    right: calc(13px + env(safe-area-inset-right, 0px));
    bottom: calc(81px + env(safe-area-inset-bottom, 0px));
    width: 56px !important;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  html.ap-filter-mobile-ready .AP_Shop_Toolbar {
    margin-bottom: 14px;
    padding: 0 2px 10px;
  }

  html.ap-filter-mobile-ready .AP_Shop_FilterLabel {
    display: none;
  }

  html.ap-filter-mobile-ready .AP_Shop_FilterIcon {
    width: 19px;
    height: 16px;
  }

  html.ap-filter-mobile-ready .AP_Filter_ActiveCount {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    font-size: 10px;
  }

  .AP_Filter_Panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(88vh, 780px);
    height: min(88dvh, 780px);
    border: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(102%);
  }

  .AP_Filter_Panel.is-open {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ap-filter-mobile-ready .AP_Shop_FilterTrigger,
  .AP_Filter_Overlay,
  .AP_Filter_Panel {
    transition: none !important;
  }
}
