@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
  border-left: 2px solid #000000;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:window-inactive {
  background-color: #646464;
  border-radius: 24px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b3b3b3;
}

html {
  scroll-behavior: smooth !important;
}

strong,
b {
  font-weight: 600;
}

.header {
  transition: padding 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
}

.header_logo img {
  transition: height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), width 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#brx-header.x-header_sticky-active .header {
  padding-top: var(--gap-s) !important;
  padding-bottom: var(--gap-s) !important;
  transition: padding 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.0470588235);
}
#brx-header.x-header_sticky-active .header_logo img {
  width: 150px;
  transition: height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), width 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@media (max-width: 450px) {
  .header_logo img {
    width: auto;
  }
}
body:has(.x-header-search_toggle-open[aria-expanded=true])::after,
body:has(.x-header-search_toggle-close[aria-expanded=true])::after {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  z-index: 100;
  pointer-events: none;
}

.iworks-omnibus {
  font-size: var(--fs-body-min) !important;
}

.anim-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.anim-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, color 0.35s ease;
}

/* kliknięcie — rysuje linię od lewej do prawej */
.anim-link:focus::after,
.anim-link:active::after {
  transform: scaleX(1);
}

/* najechanie — pokazuje linię */
.anim-link:hover::after {
  transform: scaleX(1);
}

/* odjechanie myszką — chowa linię w prawo */
.anim-link::after {
  transform-origin: right;
}

.anim-link:hover::after {
  transform-origin: left;
}

/* ═══ REVEAL ON SCROLL ═══ */
/* Fallback: bez JS wszystko widoczne */
.reveal {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ukrycie TYLKO gdy JS działa */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modyfikatory */
.js-ready .reveal.reveal-delay-1 {
  transition-delay: 0.1s;
}

.js-ready .reveal.reveal-delay-2 {
  transition-delay: 0.2s;
}

.js-ready .reveal.reveal-delay-3 {
  transition-delay: 0.3s;
}

.js-ready .reveal.reveal-delay-4 {
  transition-delay: 0.4s;
}

.js-ready .reveal.reveal-delay-5 {
  transition-delay: 0.5s;
}

.js-ready .reveal.reveal-delay-6 {
  transition-delay: 0.6s;
}

.customMA__container {
  max-width: 1400px;
  margin: 50px auto;
}
.customMA__container .woocommerce-MyAccount-navigation {
  color: var(--clr-text);
}
.customMA__container .woocommerce-MyAccount-navigation li {
  border: 0.1rem solid var(--clr-grey);
  transition: background-color 0.3s color 3s;
  border-radius: var(--br-s);
  margin-bottom: 5px;
  background-color: #f2f2f2;
}
.customMA__container .woocommerce-MyAccount-navigation li:hover {
  background-color: var(--clr-secondary);
  color: var(--clr-white);
}
.customMA__container .woocommerce-MyAccount-navigation li.is-active {
  background-color: var(--clr-secondary);
  color: var(--clr-white);
}

/* ========================================
   PORÓWNYWARKA PRODUKTÓW v4 - STICKY COLUMN
   ======================================== */
:root {
  --compare-card-width: 200px;
  --compare-label-width: 200px;
}

.compare-container {
  max-width: 100%;
}

/* ========================================
   INFO BAR
   ======================================== */
.compare-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--clr-white);
  border-radius: var(--br-xs);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-info-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-total {
  font-size: 15px;
  color: var(--clr-dark-ligt);
  font-weight: 500;
}

/* Komunikat o grupowaniu - BARDZIEJ WIDOCZNY */
.compare-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-primary);
  background: #f3ffef;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--clr-primary);
}

.compare-notice svg {
  color: var(--clr-primary);
  flex-shrink: 0;
}

/* Przycisk wyczyść wszystko */
.compare-clear-all-wrapper .x-favorite,
.compare-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--br-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.compare-clear-all-wrapper .x-favorite:hover,
.compare-clear-all:hover {
  border-color: var(--clr-primary);
  color: var(--clr-text);
  background: #f7fef5;
}

/* ========================================
   TABS
   ======================================== */
.compare-tabs {
  margin-bottom: 20px;
}

.compare-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--clr-border);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.compare-tabs__nav::-webkit-scrollbar {
  display: none;
}

.compare-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--clr-text);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.compare-tabs__tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}

.compare-tabs__tab:hover {
  color: var(--clr-primary);
}

.compare-tabs__tab.is-active {
  color: var(--clr-primary);
}

.compare-tabs__tab.is-active::after {
  background: var(--clr-primary);
}

.compare-tabs__tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--clr-white);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.compare-tabs__tab.is-active .count {
  background: var(--clr-primary);
  color: white;
}

/* ========================================
   PANELS
   ======================================== */
.compare-panel {
  display: none;
}

.compare-panel.is-active {
  display: block;
  animation: compareFadeIn 0.3s ease;
}

@keyframes compareFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ========================================
   SCROLL WRAPPER
   ======================================== */
.compare-scroll-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  position: relative;
  isolation: isolate;
}

.compare-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.compare-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--clr-white);
  border-radius: 4px;
}

.compare-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.compare-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* ========================================
   TABELA - STICKY PIERWSZA KOLUMNA
   ======================================== */
.compare-table-full {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--br-xs);
}

/* ========================================
   NAGŁÓWEK TABELI
   ======================================== */
.compare-table-full thead th {
  padding: 20px 16px;
  vertical-align: top;
  background: white;
  border-bottom: 2px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  min-width: var(--compare-card-width);
}

.compare-table-full thead th:last-child {
  border-right: none;
}

/* STICKY - pierwsza kolumna nagłówka */
.compare-table-full thead th:first-child {
  min-width: var(--compare-label-width);
  width: var(--compare-label-width);
  background: #f8f8f8;
  position: sticky;
  left: 0;
  z-index: 20;
  border-right: 2px solid var(--clr-border);
  box-shadow: 4px 0 8px -2px rgba(0, 0, 0, 0.08);
}

/* ========================================
   KARTA PRODUKTU W NAGŁÓWKU
   ======================================== */
.compare-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: var(--compare-card-width);
}

.compare-product-card__remove-wrapper {
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 10;
}

.compare-product-card__remove-wrapper .x-favorite,
.compare-product-card__remove {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-grey);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-text);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.compare-product-card__remove-wrapper .x-favorite:hover,
.compare-product-card__remove:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
}

.compare-product-card__image {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.compare-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.compare-product-card__name {
  font-size: var(--fs-body-min);
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.4;
  max-width: 180px;
}

.compare-product-card__name a {
  color: var(--clr-dark-ligt);
  text-decoration: none;
  transition: color 0.3s;
}

.compare-product-card__name a:hover {
  color: var(--clr-primary);
}

.compare-product-card__price {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 12px;
}

.compare-product-card__price del {
  font-size: var(--fs-body-min);
  color: var(--clr-text);
  font-weight: 400;
  display: block;
}

.compare-product-card__price ins {
  text-decoration: none;
}

.compare-product-card__actions p {
  border: none !important;
  padding: 0 !important;
}

.compare-product-card__actions .button,
.compare-product-card__actions .add_to_cart_button {
  padding: var(--gap-s) var(--gap-m);
  font-size: var(--fs-body);
  background: var(--clr-primary);
  color: white;
  border: none;
  border-radius: var(--br-xs);
  white-space: nowrap;
}

.compare-product-card__actions .button:hover,
.compare-product-card__actions .add_to_cart_button:hover {
  background: var(--clr-primary-hover);
}

/* ========================================
   BODY TABELI
   ======================================== */
.compare-table-full tbody td {
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  min-width: var(--compare-card-width);
  border-right: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.compare-table-full tbody tr:last-child td {
  border-bottom: none;
}

.compare-table-full tbody td:last-child {
  border-right: none;
}

/* Zebra stripes */
.compare-table-full tbody tr:nth-child(odd) td {
  background: #fafafa;
}

.compare-table-full tbody tr:nth-child(even) td {
  background: white;
}

/* STICKY - pierwsza kolumna body */
.compare-table-full tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--clr-dark-ligt);
  min-width: var(--compare-label-width);
  width: var(--compare-label-width);
  position: sticky;
  left: 0;
  z-index: 10;
  border-right: 2px solid var(--clr-border);
  box-shadow: 4px 0 8px -2px rgba(0, 0, 0, 0.08);
}

/* Tło dla sticky - nadpisanie zebra */
.compare-table-full tbody tr:nth-child(odd) td:first-child {
  background: #efefef;
}

.compare-table-full tbody tr:nth-child(even) td:first-child {
  background: #f8f8f8;
}

.compare-no-attributes {
  text-align: center !important;
  color: var(--clr-primary);
  font-style: italic;
  padding: 30px !important;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.compare-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--clr-white);
  border-radius: var(--br-xs);
}

.compare-empty__icon {
  color: var(--clr-border);
  margin-bottom: 24px;
}

.compare-empty h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--clr-dark-ligt);
}

.compare-empty p {
  color: var(--clr-primary);
  margin: 0 0 24px;
  font-size: 15px;
}

.compare-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--clr-primary);
  color: white !important;
  text-decoration: none;
  border-radius: var(--br-xs);
  font-weight: 500;
  transition: all 0.2s;
}

.compare-btn-primary:hover {
  background: var(--clr-primary-hover);
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 768px) {
  :root {
    --compare-card-width: 160px;
    --compare-label-width: 120px;
  }
  .compare-info-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .compare-info-bar__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .compare-notice {
    font-size: 12px;
    padding: 6px 10px;
  }
  .compare-clear-all-wrapper {
    width: 100%;
  }
  .compare-clear-all-wrapper .x-favorite,
  .compare-clear-all {
    width: 100%;
    justify-content: center;
  }
  .compare-tabs__tab {
    padding: 12px 16px;
    font-size: 14px;
  }
  .compare-table-full thead th,
  .compare-table-full tbody td {
    padding: 12px 10px;
    font-size: 13px;
  }
  .compare-table-full thead th:first-child,
  .compare-table-full tbody td:first-child {
    font-size: 12px;
    padding: 10px 8px;
  }
  .compare-product-card__image {
    width: 80px;
    height: 80px;
  }
  .compare-product-card__name {
    font-size: 11px;
    max-width: 140px;
  }
  .compare-product-card__price {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .compare-product-card__actions .button,
  .compare-product-card__actions .add_to_cart_button {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }
}
/* reszta styli w bricks --- */
/* Kropka statusu */
.ms-shops__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-wave 2s infinite;
}

.ms-shops__dot--open {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: pulse-open 2s infinite;
}

.ms-shops__dot--closed {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
  animation: pulse-closed 2s infinite;
}

@keyframes pulse-open {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}
@keyframes pulse-closed {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}/*# sourceMappingURL=main.css.map */