/* ===== BigHits home v2 ===== */

.main-menu--v2 {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.main-menu--v2 .logo-link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
}

.main-menu--v2 .logo {
  height: 92px;
  width: auto;
  display: block;
}

.main-menu--v2 .wyszukiwarka {
  flex: 1 1 420px;
  position: relative;
  min-width: 280px;
}

.main-menu--v2 .search-form {
  width: 100%;
  margin: 0;
  display: block;
}

.main-menu--v2 .search-input {
  width: 100%;
  box-sizing: border-box;
  height: 56px;
  padding: 0 22px 0 52px;
  border-radius: 999px;
  border: 1.5px solid #c9a227;
  background: #0d0d0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23c9a227' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 18px center;
  color: #f5e6b8;
  font-size: 1.08rem;
  line-height: 56px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.main-menu--v2 .search-input::placeholder {
  color: #8a7a4a;
}

.main-menu--v2 .search-input:focus {
  border-color: #ffcd00;
  box-shadow: 0 0 0 2px rgba(255, 205, 0, 0.25);
}

.menu--icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.main-menu--v2 .menuGuzik--icon,
a.menuGuzik.menuGuzik--icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  box-sizing: border-box !important;
  height: 56px !important;
  min-width: 130px;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid #c9a227 !important;
  background: linear-gradient(180deg, #1a1508 0%, #0a0a0a 100%) !important;
  color: #ffcd00 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1 !important;
}

.main-menu--v2 .menuGuzik--icon:hover,
a.menuGuzik.menuGuzik--icon:hover {
  background: linear-gradient(180deg, #2a220c 0%, #151000 100%) !important;
  box-shadow: 0 0 12px rgba(255, 205, 0, 0.35);
  color: #ffe566 !important;
}

.menuIcon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Pasek kategorii – wyśrodkowany, rośnie z liczbą ===== */
.catStrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 12px 12px 16px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.2);
}

.catStripTrack {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center; /* wyśrodkowanie gdy mało kategorii */
  gap: 10px 14px;
  flex: 0 1 auto;          /* szerokość wg treści, nie na całą stronę */
  max-width: calc(100% - 100px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px;
  margin: 0 auto;
}

.catStripTrack::-webkit-scrollbar {
  display: none;
}

/* gdy jest overflow – track może zająć więcej, strzałki po bokach */
.catStrip.is-scrollable .catStripTrack {
  flex: 1 1 auto;
  justify-content: flex-start;
  max-width: none;
}

.catStripTrack a {
  flex: 0 0 auto;
  color: #e8d48b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.catStripTrack a:hover {
  color: #ffcd00;
  border-color: rgba(255, 205, 0, 0.55);
  background: rgba(255, 205, 0, 0.1);
}

.catStripArrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #c9a227;
  background: linear-gradient(180deg, #1a1508 0%, #0a0a0a 100%);
  color: #ffcd00;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: none; /* domyślnie ukryte – JS pokazuje gdy overflow */
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.15s, box-shadow 0.15s;
}

.catStrip.is-scrollable .catStripArrow {
  display: flex;
}

.catStripArrow:hover:not(:disabled) {
  box-shadow: 0 0 10px rgba(255, 205, 0, 0.35);
}

.catStripArrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ===== Karty kategorii – wyższe ===== */
.homeCategories {
  max-width: 1100px;
  margin: 14px auto 24px;
  padding: 0 16px;
  text-align: center;
}

.homeCategoriesTitle,
.homeCategoriesSub {
  display: none !important;
}

.homeCategoriesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 800px) {
  .homeCategoriesGrid {
    grid-template-columns: 1fr;
  }
  .main-menu--v2 .logo {
    height: 72px;
  }
}

.homeCatCard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background-color: #0a0a0a;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.homeCatCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.homeCatCard:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: #ffcd00;
  box-shadow: 0 0 0 1px rgba(255, 205, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.5);
}

.homeCatCardBody {
  position: relative;
  z-index: 1;
  padding: 18px 14px 20px;
  text-align: center;
}

.homeCatCardBody h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #000;
}

.homeCatBtn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8c547 0%, #b8860b 100%);
  color: #1a1200;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border: none;
}

/* trust bar */
.trustBar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  max-width: 1100px;
  margin: 0 auto 36px;
  padding: 18px 20px;
  border-top: 1px solid rgba(201, 162, 39, 0.4);
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(0, 0, 0, 0.35);
}

.trustItem {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  color: #e8d48b;
}

.trustIcon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 205, 0, 0.45);
  background: rgba(255, 205, 0, 0.08);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trustItem strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #ffcd00;
}

.trustItem small {
  color: #9a8a55;
  font-size: 0.75rem;
}

/* ukryj stare sekcje */
section.bestseller,
.bestseller,
section.randomProducts,
.randomProducts,
section.cards,
.openCards,
#openCards,
.randomProductsTitle {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: none !important;
}
