.main {
  margin: 54px auto 0 auto;
}
.main__hero {
  background: linear-gradient(0deg, white 20%, rgba(255, 255, 255, 0) 100%);
}
@media only screen and (max-width: 1200px) {
  .main {
    margin: 49px auto 0 auto;
  }
}
@media only screen and (max-width: 600px) {
  .main {
    margin: 46px auto 0 auto;
  }
  .main__hero {
    min-height: 160px;
  }
}

.stWrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 114px;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(128, 0, 0, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(128, 0, 0, 0.05) 0%, transparent 100%),
    linear-gradient(180deg, #f9f6f6 0%, #ffffff 40%, #f7f3f4 70%, #ffffff 100%);
}
.stWrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../images/catalog/clock.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.stWrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, #800000 50%, transparent 90%);
  opacity: 0.3;
  pointer-events: none;
}

.st {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95vw;
  max-width: none;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 1050px) {
  .st {
    padding: 30px 15px 50px 15px;
  }
}
@media only screen and (max-width: 600px) {
  .stWrapper {
    padding-top: 120px;
  }
  .st {
    padding: 20px 10px 40px 10px;
  }
  .st__dateInput {
    min-width: auto;
    width: 100%;
  }
  .st__categoriesToggle {
    min-width: auto;
  }
}

.st__h1 {
  color: #800000;
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px 0;
  line-height: 1.2em;
}
@media only screen and (max-width: 1050px) {
  .st__h1 {
    font-size: 28px;
  }
}
@media only screen and (max-width: 600px) {
  .st__h1 {
    font-size: 24px;
  }
}

.st__subtitle {
  color: #656263;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 40px 0;
}
@media only screen and (max-width: 1050px) {
  .st__subtitle {
    font-size: 16px;
    margin: 0 0 25px 0;
  }
}

/* ====== GUARANTEED BANNER ====== */
.st__guaranteedBanner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(47, 125, 50, 0.08), rgba(47, 125, 50, 0.03));
  border: 2px solid rgba(47, 125, 50, 0.2);
  border-radius: 16px;
  padding: 20px 30px;
  margin: 0 0 30px 0;
}
.st__guaranteedBanner__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7d32, #43a047);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(47, 125, 50, 0.3);
}
.st__guaranteedBanner__icon i {
  font-size: 22px;
  color: #fff;
}
.st__guaranteedBanner__title {
  font-size: 18px;
  font-weight: 800;
  color: #2f7d32;
  margin: 0 0 2px 0;
  line-height: 1.2;
}
.st__guaranteedBanner__text {
  font-size: 15px;
  font-weight: 400;
  color: #444;
  margin: 0;
  line-height: 1.5;
}
@media only screen and (max-width: 600px) {
  .st__guaranteedBanner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px 20px;
  }
  .st__guaranteedBanner__icon {
    width: 46px;
    height: 46px;
  }
  .st__guaranteedBanner__icon i {
    font-size: 20px;
  }
  .st__guaranteedBanner__title {
    font-size: 16px;
  }
  .st__guaranteedBanner__text {
    font-size: 14px;
  }
}

/* ====== FILTERS ====== */
.st__filters {
  width: 100%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 25px 30px;
  margin: 0 0 30px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 100px;
}
@media only screen and (max-width: 1050px) {
  .st__filters {
    padding: 20px 15px;
  }
}

.st__filtersRow {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}
@media only screen and (max-width: 850px) {
  .st__filtersRow {
    flex-direction: column;
    align-items: stretch;
  }
  .st__filterGroup {
    flex: 0 0 auto !important;
  }
}

.st__filterGroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.st__filterGroup--search {
  flex: 1 1 250px;
}
.st__searchInput {
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  background: white;
  transition: 0.3s;
  width: 100%;
  box-sizing: border-box;
}
.st__searchInput:focus {
  outline: none;
  border-color: #800000;
}
.st__filterGroup--categories {
  flex: 1 1 300px;
  position: relative;
}
.st__filterGroup--guaranteed {
  flex: 0 0 auto;
}
.st__filterGroup--btn {
  flex: 0 0 auto;
}

.st__filterLabel {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* Categories dropdown */
.st__categoriesToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
  min-width: 240px;
}
.st__categoriesToggle:hover {
  border-color: #800000;
}
.st__categoriesToggle.open {
  border-color: #800000;
  border-radius: 10px 10px 0 0;
}
.st__categoriesToggle i {
  font-size: 12px;
  color: #800000;
  transition: transform 0.3s;
}
.st__categoriesToggle.open i {
  transform: rotate(180deg);
}

.st__categoriesDropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #800000;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 10px 0;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.st__categoriesDropdown.open {
  display: block;
}

.st__categoriesActions {
  display: flex;
  gap: 10px;
  padding: 5px 15px 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 5px;
}
.st__catAction {
  background: none;
  border: none;
  color: #800000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  text-decoration: underline;
}
.st__catAction:hover {
  color: #a00000;
}

.st__catGroup {
  padding: 5px 15px;
}
.st__catGroupName {
  font-size: 13px;
  font-weight: 700;
  color: #800000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 4px 0;
}
.st__catCheckbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.st__catCheckbox input {
  accent-color: #800000;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.st__catCheckbox:hover span {
  color: #800000;
}

/* Date inputs */
.st__dateInput {
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background: white;
  min-width: 160px;
  transition: 0.3s;
}
.st__dateInput:focus {
  outline: none;
  border-color: #800000;
}

/* Guaranteed toggle */
.st__guaranteedLabel {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding: 10px 0;
  white-space: nowrap;
}
.st__guaranteedLabel input {
  display: none;
}
.st__guaranteedToggle {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
}
.st__guaranteedToggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.st__guaranteedLabel input:checked + .st__guaranteedToggle {
  background: #2f7d32;
}
.st__guaranteedLabel input:checked + .st__guaranteedToggle::after {
  left: 23px;
}

/* Search button */
.st__searchBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 30px;
  background: #800000;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}
.st__searchBtn:hover {
  background: #a00000;
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* ====== RESULTS ====== */
.st__resultsHeader {
  width: 100%;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 15px;
}
.st__resultsCount {
  font-size: 22px;
  font-weight: 500;
  color: #333;
}
.st__resultsCount strong {
  color: #800000;
  font-weight: 800;
  font-size: 26px;
}
.st__resultsRange {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}
@media only screen and (max-width: 600px) {
  .st__resultsHeader {
    flex-direction: column;
    gap: 4px;
  }
  .st__resultsCount {
    font-size: 18px;
  }
  .st__resultsCount strong {
    font-size: 22px;
  }
}

.st__loading {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #800000;
}

.st__noResults {
  text-align: center;
  padding: 40px;
  font-size: 17px;
  color: #656263;
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

.st__results {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st__row {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 150px 130px 80px 150px 140px 130px auto;
  column-gap: 10px;
  align-items: center;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 8px 15px;
  min-height: 55px;
  text-decoration: none;
  outline: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
  z-index: 0;
}
.st__row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(128, 0, 0, 0.08), transparent);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
}
.st__row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #800000;
  border-radius: 12px 0 0 12px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}
.st__row:hover {
  border-color: #800000;
  transform: translateX(6px);
  box-shadow: 0 4px 25px rgba(128, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1;
}
.st__row:hover::before {
  width: 40%;
}
.st__row:hover::after {
  transform: scaleY(1);
}
.st__row:hover .st__rowLogoImg {
  filter: grayscale(0%);
  opacity: 1;
}
.st__row:hover .st__rowH3 {
  color: #800000;
}

@media only screen and (max-width: 1200px) {
  .st__row {
    grid-template-columns: 50px 1fr 140px 120px 70px 140px 130px 120px auto;
    padding: 8px 10px;
  }
}
@media only screen and (max-width: 1050px) {
  .st__row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
    padding: 15px;
    height: auto;
  }
}
@media only screen and (max-width: 500px) {
  .st__row {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Row elements */
.st__rowLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.st__rowLogoImg {
  max-height: 40px;
  max-width: 55px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}
@media only screen and (max-width: 1050px) {
  .st__rowLogo {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .st__rowLogoImg {
    filter: grayscale(0%);
    opacity: 1;
  }
}

.st__rowTitle {
  padding: 0 10px;
  position: relative;
  z-index: 2;
}
.st__rowH3 {
  color: black;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2em;
  transition: color 0.3s ease;
}
.st__rowCategory {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  line-height: 1em;
}
@media only screen and (max-width: 1050px) {
  .st__rowTitle {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0;
  }
  .st__rowH3 {
    font-size: 18px;
  }
}

.st__rowTrainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  min-width: 0;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(128, 0, 0, 0.05);
  border: 1px solid rgba(128, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.st__rowTrainer:hover {
  background: rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.3);
  transform: scale(1.03);
}
.st__rowTrainerPhoto {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(128, 0, 0, 0.2);
  flex-shrink: 0;
}
.st__rowTrainerPhoto--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 0, 0.1);
  color: #800000;
  font-size: 14px;
}
.st__rowTrainerName {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.st__rowTrainer:hover .st__rowTrainerName {
  color: #800000;
}
.st__rowTooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  color: white;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 14px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 100;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.st__rowTooltip strong {
  font-weight: 700;
  display: block;
  font-size: 13px;
}
.st__rowTooltip span {
  font-weight: 400;
  opacity: 0.8;
  font-size: 11px;
}
.st__rowTrainer:hover .st__rowTooltip {
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 1050px) {
  .st__rowTooltip {
    display: none;
  }
}
@media only screen and (max-width: 1050px) {
  .st__rowTrainer {
    justify-content: center;
    min-width: auto;
  }
}

.st__rowDate {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  position: relative;
  z-index: 2;
}
.st__rowDate i {
  color: #800000;
  font-size: 14px;
}
@media only screen and (max-width: 1050px) {
  .st__rowDate {
    justify-content: center;
  }
}

.st__rowDays {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  position: relative;
  z-index: 2;
}
.st__rowDays i {
  color: #800000;
  font-size: 13px;
}
@media only screen and (max-width: 1050px) {
  .st__rowDays {
    justify-content: center;
  }
}

/* Status */
.st__rowStatus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1em;
  position: relative;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.st__rowStatus i {
  font-size: 14px;
}
.st__status--1 {
  background: #e8f5e9;
  color: #2e7d32;
}
.st__status--2 {
  background: #fff8e1;
  color: #f57f17;
}
.st__status--3 {
  background: #ffebee;
  color: #c62828;
}
@media only screen and (max-width: 1050px) {
  .st__rowStatus {
    justify-content: center;
    font-size: 13px;
  }
}

/* Guaranteed */
.st__guaranteed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  line-height: 1em;
  position: relative;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.st__guaranteed i {
  font-size: 15px;
}
.st__guaranteed--false {
  visibility: hidden;
}

.st__row:has(.gtip:hover) {
  z-index: 10;
}

@media only screen and (max-width: 1050px) {
  .st__guaranteed {
    justify-content: center;
    font-size: 13px;
  }
  .st__guaranteed--false {
    display: none;
  }
}

/* Price */
.st__rowPrice {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  position: relative;
  z-index: 2;
}
.st__oldPrice {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}
.st__newPrice {
  font-size: 15px;
  font-weight: 800;
  color: #800000;
}
.st__priceLabel {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.3px;
}
@media only screen and (max-width: 1050px) {
  .st__rowPrice {
    align-items: center;
    grid-column: 1 / -1;
  }
  .st__newPrice {
    font-size: 18px;
  }
}

/* ====== PAGINATION ====== */
.st__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 30px 0 0 0;
  flex-wrap: wrap;
}

.st__pageBtn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: white;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  padding: 0 8px;
}
.st__pageBtn:hover {
  border-color: #800000;
  color: #800000;
  background: rgba(128, 0, 0, 0.05);
}
.st__pageBtn--active {
  background: #800000;
  color: white;
  border-color: #800000;
}
.st__pageBtn--active:hover {
  background: #a00000;
  color: white;
}

.st__pageDots {
  font-size: 16px;
  color: #999;
  padding: 0 4px;
}

/* ====== "SPRAWDZ" BUTTON ====== */
.st__rowBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #800000;
  background: rgba(128, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(128, 0, 0, 0.15);
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}
.st__rowBtn i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.st__row:hover .st__rowBtn {
  background: rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.3);
  color: #600000;
  box-shadow: 0 2px 12px rgba(128, 0, 0, 0.15);
}
.st__row:hover .st__rowBtn i {
  transform: translateX(3px);
}
@media only screen and (max-width: 1050px) {
  .st__rowBtn {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 10px 30px;
    font-size: 15px;
  }
}
