/* ===========================
   SECO COSMETICS - B2B STYLES
   Strona produktu dla klienta B2B
   Wykorzystuje zmienne z głównego styles.css
   =========================== */

/* ===========================
   ZMIENNE B2B (rozszerzenie głównych)
   =========================== */
:root {
  /* Specyficzne dla B2B - pomarańczowy highlight */
  --color-b2b-highlight: #FF8C00;
  
  /* Wysokości pasków B2B */
  --b2b-topbar-height: 44px;
  --b2b-header-info-height: 40px;
  --b2b-header-main-height: 70px;
  
  /* Pozycja startu tekstu info (wyrównanie) */
  --b2b-info-left: 280px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===========================
   PASEK 1 - TOPBAR (CZARNY)
   Wysokość: 44px
   Tło: --color-bg-dark
   =========================== */
.b2b-topbar {
  background-color: var(--color-bg-dark);
  height: var(--b2b-topbar-height);
  display: flex;
  align-items: center;
  position: relative;
}

.b2b-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

/* --- Lewa strona: Język --- */
.b2b-topbar__lang {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.b2b-topbar__lang-icon {
  color: var(--color-text-inverse);
  font-size: var(--fs-body);
}

.b2b-topbar__lang-options {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
}

.b2b-topbar__lang-link {
  color: var(--color-text-inverse);
  opacity: 0.7;
  font-weight: var(--fw-regular);
}

.b2b-topbar__lang-link:hover {
  opacity: 1;
}

.b2b-topbar__lang-link--active {
  opacity: 1;
  font-weight: var(--fw-semibold);
}

.b2b-topbar__lang-separator {
  color: var(--color-text-inverse);
  opacity: 0.4;
}

/* --- Środek: Info limit i grupa (stała pozycja) --- */
.b2b-topbar__info {
  position: absolute;
  left: var(--b2b-info-left);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
}

.b2b-topbar__info-label {
  color: var(--color-text-inverse);
  font-weight: var(--fw-regular);
}

.b2b-topbar__info-value {
  color: var(--color-b2b-highlight);
  font-weight: var(--fw-bold);
}

.b2b-topbar__info-separator {
  color: var(--color-text-inverse);
  opacity: 0.4;
  margin: 0 var(--space-xs);
}

/* --- Prawa strona: Linki --- */
.b2b-topbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-left: auto;
}

.b2b-topbar__link {
  color: var(--color-text-inverse);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
}

.b2b-topbar__link:hover {
  opacity: 0.75;
}

/* ===========================
   PASEK 2 - HEADER INFO (CZERWONY)
   Wysokość: 40px
   Tło: --color-accent
   =========================== */
.b2b-header-info {
  background-color: var(--color-accent);
  height: var(--b2b-header-info-height);
  display: flex;
  align-items: center;
  position: relative;
}

.b2b-header-info .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

/* --- Logo obrazkowe --- */
.b2b-header-info__logo {
  display: block;
  height: 12px;
}

.b2b-header-info__logo img {
  height: 100%;
  width: auto;
  
}

/* --- Logo tekstowe (fallback) --- */
.b2b-header-info__logo-text {
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Opiekun handlowy (ta sama pozycja co topbar info) --- */
.b2b-header-info__advisor {
  position: absolute;
  left: var(--b2b-info-left);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-inverse);
  font-size: var(--fs-small);
}

.b2b-header-info__advisor-label {
  font-weight: var(--fw-bold);
  color: var(--color-bg-dark);
}

.b2b-header-info__advisor-name {
  font-weight: var(--fw-bold);
}

.b2b-header-info__advisor-separator {
  opacity: 0.6;
  margin: 0 var(--space-xs);
}

.b2b-header-info__advisor-phone {
  font-weight: var(--fw-regular);
}

.b2b-header-info__advisor-email {
  font-weight: var(--fw-regular);
}

.b2b-header-info__advisor-email:hover {
  text-decoration: underline;
}

/* ===========================
   HR SEPARATOR (CZARNY)
   Między paskiem 2 i 3
   =========================== */
.b2b-header-separator {
  width: 100%;
  height: 1px;
  background-color: var(--color-bg-dark);
  border: none;
  margin: 0;
  padding: 0;
}

/* ===========================
   PASEK 3 - HEADER MAIN (CZERWONY)
   Wysokość: 70px
   Tło: --color-accent
   =========================== */
.b2b-header-main {
  background-color: var(--color-accent);
  height: var(--b2b-header-main-height);
  display: flex;
  align-items: center;
  padding-bottom: var(--space-xs);
    padding-top: var(--space-xs);
}

.b2b-header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}

/* --- Badge STREFA BARBERPRO (obrazek) --- */
.b2b-badge-pro {
  display: block;
  flex-shrink: 0;
}

.b2b-badge-pro__img {
  height: 34px;
  width: auto;
}

/* --- Badge STREFA BARBERPRO (tekstowy fallback) --- */
.b2b-badge-pro--text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}

.b2b-badge-pro__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.5625rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.b2b-badge-pro__title {
  display: flex;
  align-items: baseline;
}

.b2b-badge-pro__title-barber {
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
}

.b2b-badge-pro__title-pro {
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
}

/* --- Wyszukiwarka --- */
.b2b-search {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.b2b-search__input {
  width: 100%;
  height: 38px;
  padding: 0 70px 0 var(--space-xl);
  font-size: var(--fs-body);
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius-pill);
  outline: none;
  transition: var(--transition-base);
}

.b2b-search__input::placeholder {
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.b2b-search__input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.b2b-search__btn {
  position: absolute;
  right: var(--space-xs);
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  cursor: pointer;
  transition: var(--transition-base);
}

.b2b-search__btn:hover {
  color: var(--color-accent);
}

/* --- Akcje użytkownika --- */
.b2b-header-main__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Przycisk użytkownika (czarny pill) */
.b2b-user-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-bg-dark);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--color-text-inverse);
  font-size: var(--fs-small);
  white-space: nowrap;
  transition: var(--transition-base);
}

.b2b-user-btn:hover {
  background: #1a1a1a;
}

.b2b-user-btn__greeting {
  font-weight: var(--fw-regular);
}

.b2b-user-btn__name {
  font-weight: var(--fw-bold);
}

/* Ikony (serduszko, koszyk) */
.b2b-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--color-text-inverse);
  font-size: 1.375rem;
  position: relative;
  transition: var(--transition-base);
}

.b2b-action-btn:hover {
  opacity: 0.75;
}

/* Badge koszyka */
.b2b-action-btn__badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-accent);
}

/* ===========================
   RESPONSIVE - TABLET (1024px)
   =========================== */
@media (max-width: 1024px) {
  :root {
    --b2b-info-left: 220px;
  }
  
  .b2b-topbar__info {
    font-size: 0.75rem;
  }
  
  .b2b-topbar__links {
    gap: var(--space-lg);
  }
  
  .b2b-topbar__link {
    font-size: 0.8125rem;
  }
  
  .b2b-header-info__advisor {
    font-size: 0.75rem;
  }
  
  .b2b-search {
    max-width: 400px;
  }
  
  .b2b-badge-pro__img {
    height: 38px;
  }
  
  .b2b-badge-pro__title-barber,
  .b2b-badge-pro__title-pro {
    font-size: 1.625rem;
  }
  
  .b2b-user-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
  }
}

/* ===========================
   RESPONSIVE - MOBILE (767px)
   =========================== */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Topbar */
  .b2b-topbar {
    height: auto;
    padding: var(--space-sm) 0;
  }
  
  .b2b-topbar .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .b2b-topbar__info {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 0.6875rem;
    gap: var(--space-2xs);
  }
  
  .b2b-topbar__info-separator {
    margin: 0 var(--space-2xs);
  }
  
  .b2b-topbar__links {
    display: none;
  }
  
  /* Header Info */
  .b2b-header-info {
    height: auto;
    padding: var(--space-sm) 0;
  }
  
  .b2b-header-info .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .b2b-header-info__logo {
    height: 18px;
  }
  
  .b2b-header-info__advisor {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.6875rem;
    text-align: center;
  }
  
  /* Header Main */
  .b2b-header-main {
    height: auto;
    padding: var(--space-sm) 0;
  }
  
  .b2b-header-main .container {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .b2b-badge-pro {
    display: none;
  }
  
  .b2b-search {
    order: 10;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .b2b-search__input {
    height: 44px;
    font-size: var(--fs-small);
  }
  
  .b2b-header-main__actions {
    gap: var(--space-xs);
  }
  
  .b2b-user-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
  }
  
  .b2b-action-btn {
    width: 38px;
    height: 38px;
    font-size: 1.125rem;
  }
}

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  .b2b-topbar,
  .b2b-header-info,
  .b2b-header-main {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* ===========================
   PROMO BAR (shared with B2C)
   =========================== */
.b2c-promo-bar {
   background: var(--color-bg-alt);
   padding: var(--space-md) 0;
}

.b2c-promo-bar__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.b2c-promo-bar__arrow {
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: transparent;
   border: 1px solid var(--color-text);
   cursor: pointer;
   color: var(--color-text);
   font-size: 0.875rem;
}

.b2c-promo-bar__arrow:hover {
   background: var(--color-text);
   color: var(--color-text-inverse);
}

.b2c-promo-bar__content {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: var(--space-md);
}

.b2c-promo-bar__text {
   font-size: 1rem;
   font-weight: var(--fw-bold);
   color: var(--color-text);
}

.b2c-promo-bar__link {
   font-size: 0.875rem;
   color: var(--color-text);
   text-decoration: underline;
}

.b2c-promo-bar__link:hover {
   color: var(--color-accent);
}

.b2c-promo-bar__slide {
   display: none;
   align-items: center;
   justify-content: center;
   gap: var(--space-md);
}

.b2c-promo-bar__slide.active {
   display: flex;
}

/* ===========================
   BREADCRUMBS (unified B2C/B2B structure)
   =========================== */
.breadcrumbs {
  padding: var(--space-md) 0;
  background: var(--color-bg);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-small);
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumbs__item::after {
  content: '→';
  color: var(--color-text-muted);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__item a {
  color: var(--color-text-muted);
}

.breadcrumbs__item a:hover {
  color: var(--color-text);
}

.breadcrumbs__item span {
  color: var(--color-text);
  font-weight: var(--fw-medium);
}

/* ===========================
   STRONA PRODUKTU - LAYOUT
   =========================== */
.product-page {
  background: var(--color-bg);
  padding: var(--space-xl) 0 var(--space-3xl);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* ===========================
   GALERIA PRODUKTU
   =========================== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.product-gallery__wrapper {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-md);
  position: sticky;
  top: var(--space-lg);
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-gallery__thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumb:hover {
  border-color: var(--color-text-muted);
}

.product-gallery__thumb.active {
  border-color: var(--color-accent);
}

.product-gallery__thumb--more {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 1rem;
}

.product-gallery__thumb--more:hover {
  background: var(--color-border);
}

.product-gallery__main {
  position: relative;
  background: var(--color-bg);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.product-gallery__image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Strzałki galerii - używa klas z głównego CSS */
.product-gallery__main .carousel-arrow--prev {
  left: var(--space-md);
}

.product-gallery__main .carousel-arrow--next {
  right: var(--space-md);
}

/* ===========================
   INFORMACJE O PRODUKCIE
   =========================== */
.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* SKU */
.product-info__sku {
  display: inline-block;
  background: var(--color-bg-alt);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.product-info__sku strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

/* Header (tytuł + serduszko) */
.product-info__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.product-info__title {
  font-family: var(--font-base);
  font-size: 2rem;
  font-weight: var(--fw-black);
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}

.product-info__wishlist {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-info__wishlist:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Ocena */
.product-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.product-info__stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  font-size: 0.875rem;
}

.product-info__rating-text {
  color: var(--color-text);
  font-size: var(--fs-small);
}

.product-info__rating-separator {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.product-info__rating-link {
  color: var(--color-accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.product-info__rating-link:hover {
  text-decoration: underline;
}

/* Cena */
.product-info__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

.product-info__price-current {
  display: flex;
  align-items: baseline;
}

.product-info__price-value {
  font-size: 3rem;
  font-weight: var(--fw-black);
  color: var(--color-accent);
  line-height: 1;
}

.product-info__price-currency {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
}

.product-info__price-old {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-info__price-unit {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* Box ceny hurtowej */
.product-info__wholesale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
}

.product-info__wholesale-col {
  background: var(--color-bg);
  padding: var(--space-md);
}

.product-info__wholesale-label {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

.product-info__wholesale-value {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.product-info__wholesale-discount {
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.product-info__wholesale-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* Pasek rabatowy */
.product-info__promo {
  display: flex;
  border-radius: 0;
  overflow: hidden;
}

.product-info__promo-text {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  font-size: var(--fs-small);
  color: var(--color-text);
}

.product-info__promo-code {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: #f5d742;
  color: var(--color-bg-dark);
}

.product-info__promo-code-label {
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  opacity: 0.7;
}

.product-info__promo-code-value {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
}

/* Warianty */
.product-info__variants {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-info__variants-label {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-info__variants-options {
  display: flex;
  gap: var(--space-sm);
}

.product-info__variant {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-base);
}

.product-info__variant:hover {
  border-color: var(--color-text-muted);
}

.product-info__variant.active {
  border-color: var(--color-accent);
}

.product-info__variant-name {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.product-info__variant-price {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

/* Ilość + Dodaj do koszyka */
.product-info__actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  align-items: flex-end;
}

.product-add-form {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  align-items: flex-end;
  flex: 1;
}

.product-info__quantity {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-info__quantity-label {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  text-transform: uppercase;
}

.product-info__quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
}

.product-info__quantity-btn {
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border: none;
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.product-info__quantity-btn:hover {
  background: var(--color-bg-alt);
}

.product-info__quantity-input {
  width: 60px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-base);
}

.product-info__quantity-input::-webkit-outer-spin-button,
.product-info__quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-info__add-to-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text-inverse);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-base);
}

.product-info__add-to-cart:hover {
  background: var(--color-accent-dark);
}

.product-info__add-to-cart i {
  font-size: 1.125rem;
}

/* Grid dostawy */
.product-info__delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.product-info__delivery-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: 0;
}

.product-info__delivery-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-info__delivery-text {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-small);
}

.product-info__delivery-text strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.product-info__delivery-text span {
  color: var(--color-text-muted);
}

/* Sekcja B2B */
.product-info__b2b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.product-info__b2b-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
}

.product-info__b2b-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-info__b2b-text {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-small);
}

.product-info__b2b-text > strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.product-info__b2b-text span {
  color: var(--color-text-muted);
}

.product-info__b2b-text span strong {
  color: var(--color-text);
}

/* Box dostawa paletowa */
.product-info__pallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border: 1px dashed var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
}

.product-info__pallet-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.product-info__pallet-cta {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
}

/* ===========================
   OPIS PRODUKTU
   =========================== */
.product-description {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.product-description__title {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.product-description__content {
  max-width: 700px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.product-description__content p {
  margin-bottom: var(--space-md);
}

/* ===========================
   RESPONSIVE - STRONA PRODUKTU
   =========================== */
@media (max-width: 1024px) {
  .product-layout {
    gap: var(--space-xl);
  }
  
  .product-gallery__main {
    min-height: 500px;
  }
  
  .product-info__title {
    font-size: 1.5rem;
  }
  
  .product-info__price-value {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .breadcrumbs__list {
    font-size: 0.75rem;
  }
  
  .product-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .product-gallery {
    gap: var(--space-lg);
  }
  
  .product-gallery__wrapper {
    grid-template-columns: 1fr;
    position: static;
  }
  
  .product-gallery__thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    padding-bottom: var(--space-xs);
  }
  
  .product-gallery__thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .product-gallery__main {
    order: 1;
    min-height: 300px;
  }
  
  .product-info__header {
    flex-direction: column;
  }
  
  .product-info__title {
    font-size: 1.25rem;
  }
  
  .product-info__price-value {
    font-size: 2rem;
  }
  
  .product-info__wholesale {
    grid-template-columns: 1fr;
  }
  
  .product-info__promo {
    flex-direction: column;
  }
  
  .product-info__variants-options {
    flex-direction: column;
  }
  
  .product-info__actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .product-info__quantity {
    width: 100%;
  }
  
  .product-info__quantity-controls {
    width: 100%;
    justify-content: center;
  }
  
  .product-info__quantity-input {
    flex: 1;
  }
  
  .product-info__delivery {
    grid-template-columns: 1fr;
  }
  
  .product-info__b2b {
    grid-template-columns: 1fr;
  }
  
  .product-info__pallet {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }
}
/* ===========================
   ACCORDION - ROZWIJANE SEKCJE
   =========================== */
.product-accordion {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.product-accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.product-accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.product-accordion__title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.product-accordion__icon {
  width: 55px;
  height: 55px;
  padding: var(--space-sm);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.product-accordion__item.active .product-accordion__icon {
  transform: rotate(180deg);
}

.product-accordion__content {
  display: none;
  padding-bottom: var(--space-lg);
  color: var(--color-text);
  line-height: 1.7;
}

.product-accordion__item.active .product-accordion__content {
  display: block;
}

.product-accordion__content ul {
  margin: 0;
  padding-left: var(--space-lg);
}

.product-accordion__content li {
  margin-bottom: var(--space-xs);
}

.product-accordion__content p {
  margin: 0;
}

/* Wizualizacja składników */
.ingredients {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ingredients__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
}

.ingredients__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.ingredients__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.ingredients__info strong {
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.ingredients__info span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ===========================
   SEKCJA OPINII KLIENTÓW
   =========================== */
.reviews-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
}

.reviews-section__title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

/* Wrapper */
.reviews-layout {
  /* wrapper dla gridu i nawigacji */
}

/* Grid opinii - 7 kart, summary nachodzi */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr auto;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  position: relative;
}

/* Karta opinii */
.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  grid-row: 1;
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.review-card__stars {
  display: flex;
  gap: 1px;
}

.review-card__stars i {
  color: var(--color-accent);
  font-size: 0.75rem;
}

.review-card__stars i.fa-regular {
  color: var(--color-border);
}

.review-card__score {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.review-card__text {
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
}

.review-card__author strong {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.review-card__author span {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

/* Podsumowanie oceny - nachodzi na karty z prawej */
.reviews-summary {
  position: absolute;
  right: 0;
  top: -40px;
  width: 200px;
  background: var(--color-bg);
  border: 2px solid var(--color-bg-dark);
  border-radius: 0;
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.reviews-summary__score {
  font-size: 3rem;
  font-weight: var(--fw-black);
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.reviews-summary__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-xs);
}

.reviews-summary__stars i {
  color: var(--color-accent);
  font-size: 1.25rem;
}

.reviews-summary__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.reviews-summary__count {
  margin-bottom: var(--space-sm);
}

.reviews-summary__count strong {
  display: block;
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1;
}

.reviews-summary__count span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.reviews-summary__link {
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  text-decoration: underline;
  transition: var(--transition-base);
}

.reviews-summary__link:hover {
  color: var(--color-accent);
}

/* Pasek postępu */
.reviews-progress {
  grid-column: 1 / 8;
  grid-row: 2;
  height: 4px;
  background: var(--color-border);
  position: relative;
  align-self: start;
  margin-top: var(--space-sm);
}

.reviews-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 33.33%;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

/* Nawigacja opinii */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding-top: var(--space-lg);
}

.reviews-nav .carousel-arrow {
  position: static;
  transform: none;
}

.reviews-nav__dots {
  display: flex;
  gap: var(--space-sm);
}

.reviews-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-base);
}

.reviews-nav__dot.active {
  background: var(--color-accent);
}

/* ===========================
   SEKCJA OPIEKUNA HANDLOWEGO
   =========================== */
.advisor-section {
  background: var(--color-bg);
  padding: var(--space-2xl) 0;
}

.advisor-wrapper {
  position: relative;
}

/* Czerwony pasek nagłówka - 80% od lewej */
.advisor-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  background: var(--color-accent);
  padding: var(--space-sm) var(--space-lg);
  z-index: 1;
}

.advisor-header__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
  text-transform: uppercase;
  margin: 0;
}

/* Czarny pasek footer - 80% od prawej */
.advisor-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 40px;
  background: var(--color-bg-dark);
  z-index: 1;
}

/* Kontener główny */
.advisor-content {
  position: relative;
  z-index: 2;
  padding-top: 42px;
  padding-bottom: 40px;
}

.advisor-layout {
  display: grid;
  grid-template-columns: 45% 1fr 1fr;
  align-items: stretch;
  background: var(--color-bg);
  min-height: 200px;
  border: 2px solid var(--color-bg-dark);
}

/* Zdjęcie opiekuna */
.advisor-photo {
  position: relative;
}

.advisor-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.advisor-photo__badge {
  position: absolute;
  left: var(--space-lg);
  bottom: var(--space-lg);
}

.advisor-photo__badge-label {
  display: block;
  color: var(--color-text-inverse);
  font-size: 0.5rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.advisor-photo__badge-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
}

.advisor-photo__badge-barber {
  color: var(--color-text-inverse);
}

.advisor-photo__badge-pro {
  color: var(--color-accent);
}

/* Dane kontaktowe */
.advisor-contact {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advisor-contact__name {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.advisor-contact__phone,
.advisor-contact__email {
  display: block;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-2xs);
  transition: var(--transition-base);
}

.advisor-contact__phone:hover,
.advisor-contact__email:hover {
  color: var(--color-accent-dark);
}

/* Informacje B2B */
.advisor-info {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advisor-info__item {
  margin-bottom: var(--space-md);
}

.advisor-info__item:last-child {
  margin-bottom: 0;
}

.advisor-info__label {
  display: block;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  margin-bottom: 0;
}

.advisor-info__value {
  display: block;
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
}

/* ===========================
   RESPONSIVE - REVIEWS & ADVISOR
   =========================== */
@media (max-width: 1400px) {
  .reviews-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .reviews-grid .review-card:nth-child(7) {
    display: none;
  }
  
  .reviews-summary {
    width: 180px;
  }
  
  .reviews-progress {
    grid-column: 1 / 7;
  }
}

@media (max-width: 1200px) {
  .reviews-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .reviews-grid .review-card:nth-child(6),
  .reviews-grid .review-card:nth-child(7) {
    display: none;
  }
  
  .reviews-summary {
    width: 160px;
    padding: var(--space-lg);
  }
  
  .reviews-progress {
    grid-column: 1 / 6;
  }
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .reviews-grid .review-card:nth-child(5),
  .reviews-grid .review-card:nth-child(6),
  .reviews-grid .review-card:nth-child(7) {
    display: none;
  }
  
  .reviews-summary {
    width: 140px;
    padding: var(--space-md);
  }
  
  .reviews-summary__score {
    font-size: 2rem;
  }
  
  .reviews-summary__count strong {
    font-size: 1.25rem;
  }
  
  .reviews-progress {
    grid-column: 1 / 5;
  }
  
  .advisor-layout {
    grid-template-columns: 40% 1fr 1fr;
  }
  
  .advisor-contact__name {
    font-size: 1.125rem;
  }
  
  .advisor-info__value {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-sm);
  }
  
  .reviews-grid .review-card {
    grid-row: auto;
  }
  
  .reviews-grid .review-card:nth-child(4),
  .reviews-grid .review-card:nth-child(5),
  .reviews-grid .review-card:nth-child(6),
  .reviews-grid .review-card:nth-child(7) {
    display: block;
  }
  
  .reviews-summary {
    position: static;
    width: 100%;
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    order: -1;
  }
  
  .reviews-summary__score {
    font-size: 2rem;
    margin-bottom: 0;
  }
  
  .reviews-summary__count strong {
    font-size: 1.5rem;
  }
  
  .reviews-progress {
    grid-column: 1;
    grid-row: auto;
    order: 10;
  }
  
  .advisor-section {
    padding: var(--space-lg) 0;
  }
  
  .advisor-header {
    width: 100%;
    position: relative;
    left: 0;
  }
  
  .advisor-footer {
    width: 100%;
    position: relative;
    right: 0;
    height: 30px;
  }
  
  .advisor-content {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .advisor-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .advisor-photo {
    height: 200px;
    overflow: hidden;
  }
  
  .advisor-photo__img {
    object-position: top;
  }
  
  .advisor-photo__badge {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .advisor-contact,
  .advisor-info {
    padding: var(--space-md);
  }
}
/* ===========================
   SEKCJE DOLNE - TŁO
   =========================== */
.promo-banner-section {
  background: var(--color-bg);
  padding: var(--space-2xl) 0;
}

.promo-products.section {
  background: var(--color-bg);
}

.edu-section {
  background: var(--color-bg);
}

.newsletter-section {
  background: var(--color-bg);
}

.site-footer {
  background: var(--color-bg-alt);
}
/* ===========================
   KARTY PRODUKTÓW B2B
   =========================== */

/* Czerwony pasek STREFA BARBERPRO u góry */
.product-card__b2b-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-accent);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.product-card__b2b-label {
  font-size: 0.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
  text-transform: uppercase;
}

.product-card__b2b-title {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
  text-transform: uppercase;
}

.product-card__b2b-pro {
  color: var(--color-bg-dark);
}

/* Karta B2B - bez zaokrągleń na dole */
.product-card--b2b .product-badge {
  top: 28px;
}

.product-card--b2b .product-fav {
  top: 32px;
}

/* Czarny pasek z etykietą */
.product-card__b2b-tag {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  text-align: center;
  padding: 6px 8px;
  margin: 8px 0 0 0;
}

.product-card__b2b-tag--code {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.product-card__b2b-tag-label {
  color: #888;
}

.product-card__b2b-tag-value {
  color: var(--color-text-inverse);
}

/* Status dostępności */
.product-card__b2b-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.product-card__b2b-stock img {
  width: 18px;
  height: 18px;
}

.product-card__b2b-stock--available {
  color: #2e7d32;
}

.product-card__b2b-stock--unavailable {
  color: #757575;
}

/* Czerwony kafelek z cenami hurtowymi */
.product-card__b2b-wholesale {
  background: var(--color-accent);
  padding: 10px 15px;
  text-align: center;
  margin: 0 -15px -18px -15px;
  border-radius: 0;
  width: calc(100% + 30px);
}

.product-card__b2b-wholesale-header {
  font-size: 0.5625rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  margin-bottom: 2px;
  color: var(--color-text-inverse);
}

.product-card__b2b-wholesale-name {
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  margin-bottom: 2px;
  color: var(--color-text-inverse);
}

.product-card__b2b-wholesale-price {
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
}

.product-card__b2b-wholesale-price span {
  font-weight: var(--fw-normal);
  color: var(--color-text-inverse);
}

/* Karta B2B - bez zaokrągleń na dole */
.product-card--b2b {
  padding-top: 28px;
  border-radius: 0;
}
/* ===========================
   B2B MOBILE HEADER (z STREFA BARBER PRO)
   =========================== */

/* Ukryj mobilny header na desktop */
.b2b-mobile-header {
  display: none;
}

@media (max-width: 1024px) {
  /* Pokaż mobilny header */
  .b2b-mobile-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* Ukryj desktop header */
  .b2b-topbar,
  .b2b-header-info,
  .b2b-header-separator,
  .b2b-header-main,
  .nav-main,
  .mega-menu {
    display: none !important;
  }
}

/* Pasek STREFA BARBER PRO - pomarańczowy */
.b2b-mobile-header__pro-bar {
  background: var(--color-accent);
  padding: 10px 0;
}

.b2b-mobile-header__pro-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.b2b-mobile-header__pro-bar img {
  height: 18px;
  width: auto;

}

/* Pasek główny - czarny */
.b2b-mobile-header__main {
  background: var(--color-bg-dark);
  padding: 10px 0;
}

.b2b-mobile-header__main .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger w mobilnym headerze */
.b2b-mobile-header .hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.b2b-mobile-header .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.b2b-mobile-header .hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.b2b-mobile-header .hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.b2b-mobile-header .hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Search button */
.b2b-mobile-header__search-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User greeting */
.b2b-mobile-header__user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
}

.b2b-mobile-header__user span {
  color: rgba(255,255,255,0.7);
}

.b2b-mobile-header__user strong {
  font-size: 0.8125rem;
  color: #fff;
}

/* Icon buttons */
.b2b-mobile-header__icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.b2b-mobile-header__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   B2B MOBILE STYLES - POZOSTAŁE
   =========================== */

/* Reviews Section Mobile */
@media (max-width: 767px) {
  .reviews-section {
    padding: var(--space-xl) 0;
  }
  
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .reviews-summary {
    position: static;
    width: 100%;
    order: -1;
  }
}

/* Product Layout Mobile */
@media (max-width: 991px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .product-gallery {
    order: 1;
  }
  
  .product-info {
    order: 2;
  }
}

/* ===========================
   ADVISOR SECTION MOBILE - NAWIĄZANIE DO DESKTOP
   =========================== */
@media (max-width: 767px) {
  .advisor-section {
    padding: var(--space-xl) 0;
  }
  
  .advisor-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  /* Czerwony header - WIDOCZNY na mobile */
  .advisor-header {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    padding: 12px 16px;
    background: #E53935 !important;
    order: 1;
  }
  
  .advisor-header__title {
    font-size: 1rem;
    text-align: center;
    color: #fff;
  }
  
  /* Czarny footer - WIDOCZNY na mobile */
  .advisor-footer {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 24px;
    background: #1a1a1a !important;
    order: 3;
  }
  
  .advisor-content {
    padding: 0;
    border-left: 3px solid #1a1a1a;
    border-right: 3px solid #1a1a1a;
    order: 2;
  }
  
  .advisor-layout {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
    background: #fff;
    border: none !important;
    grid-template-columns: none !important;
  }
  
  /* Zdjęcie opiekuna */
  .advisor-photo {
    width: 180px;
    height: 180px;
    position: relative;
  }
  
  .advisor-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .advisor-photo__badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    text-align: center;
  }
  
  .advisor-photo__badge-label {
    font-size: 0.625rem;
  }
  
  .advisor-photo__badge-title {
    font-size: 1rem;
  }
  
  /* Dane kontaktowe */
  .advisor-contact {
    padding: 0;
  }
  
  .advisor-contact__name {
    font-size: 1.375rem;
    margin-bottom: 12px;
  }
  
  .advisor-contact__phone,
  .advisor-contact__email {
    display: block;
    font-size: 1.0625rem;
    margin-bottom: 6px;
  }
  
  /* Info B2B */
  .advisor-info {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }
  
  .advisor-info__item {
    margin-bottom: 12px;
  }
  
  .advisor-info__label {
    font-size: 0.9375rem;
  }
  
  .advisor-info__value {
    font-size: 1.125rem;
  }
}

/* ===========================
   REVIEWS CAROUSEL MOBILE
   =========================== */
@media (max-width: 767px) {
  .reviews-section {
    padding: var(--space-xl) 0;
  }
  
  .reviews-section__title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  
  .reviews-layout {
    position: relative;
    overflow: visible;
  }
  
  /* Karuzela opinii */
  .reviews-grid {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px 16px 16px;
    margin: 0 -16px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  
  /* Wszystkie karty opinii widoczne */
  .reviews-grid .review-card {
    display: flex !important;
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    scroll-snap-align: start;
    grid-row: auto !important;
  }
}

/* ===========================
   PRODUCT CAROUSEL MOBILE - NAPRAWA
   =========================== */
@media (max-width: 767px) {
  .promo-products.section {
    padding: var(--space-xl) 0;
  }
  
  .promo-products-title {
    font-size: 1.25rem !important;
    margin-bottom: 20px;
  }
  
  /* GŁÓWNY FIX - align-items: stretch zamiast center */
  .product-carousel-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* TO NAPRAWIA CENTROWANIE */
    overflow: visible !important;
  }
  
  .product-carousel-wrapper .carousel-arrow {
    display: none !important;
  }
  
  .product-carousel-inner {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    padding: 0 0 10px 0 !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: none !important; /* Usuwa flex: 1 z desktop */
  }
  
  .product-carousel-inner::-webkit-scrollbar {
    display: none;
  }
  
  .product-carousel {
    width: max-content !important;
  }
  
  .product-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 0 16px !important;
    width: max-content !important;
    justify-content: flex-start !important;
  }
  
  .product-carousel-track .product-card,
  .product-carousel-track .product-card--b2b,
  .product-carousel-track article.product-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    scroll-snap-align: start;
  }
  
  /* KROPKI - widoczne i aktywne */
  .product-carousel-wrapper .carousel-dots {
    display: flex !important;
    justify-content: center;
    order: 2;
    margin-top: 16px;
    padding: 0;
    width: 100%;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
  }
  
  .carousel-dot--active,
  .carousel-dot.active {
    background: #E53935;
  }
}

/* ===========================
   EDU CAROUSEL MOBILE - NAPRAWA
   =========================== */
@media (max-width: 767px) {
  .edu-section {
    padding: var(--space-xl) 0;
  }
  
  /* GŁÓWNY FIX - align-items: stretch zamiast center */
  .edu-carousel-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: visible !important;
  }
  
  .edu-carousel-wrapper .carousel-arrow {
    display: none !important;
  }
  
  .edu-carousel-inner {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    padding: 0 0 10px 0 !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: none !important;
  }
  
  .edu-carousel-inner::-webkit-scrollbar {
    display: none;
  }
  
  .edu-carousel {
    width: max-content !important;
  }
  
  .edu-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 0 16px !important;
    width: max-content !important;
    justify-content: flex-start !important;
  }
  
  .edu-carousel-track .edu-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    scroll-snap-align: start;
  }
  
  /* KROPKI */
  .edu-carousel-wrapper .carousel-dots {
    display: flex !important;
    justify-content: center;
    order: 2;
    margin-top: 16px;
    padding: 0;
    width: 100%;
  }
}

/* ===========================
   B2B MOBILE MENU STYLES
   =========================== */

/* B2B Mobile Menu - dark theme */
.mobile-menu--b2b {
  background: var(--color-bg-dark);
  color: #fff;
}

/* Header z logo STREFA BARBER PRO */
.mobile-menu-header--b2b {
  background: var(--color-accent);
  border-bottom: none;
}

.mobile-menu--b2b .mobile-menu-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.mobile-menu--b2b .mobile-menu-close {
  background: rgba(255,255,255,0.15);
}

.mobile-menu--b2b .mobile-menu-close:hover {
  background: rgba(255,255,255,0.25);
}

/* User greeting */
.mobile-menu-user {
  padding: 15px 20px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-user__greeting {
  font-size: 1rem;
  color: #fff;
}

.mobile-menu-user__greeting strong {
  color: var(--color-accent);
}

/* B2B Info - limit i grupa cenowa */
.mobile-menu-b2b-info {
  padding: 15px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-b2b-info__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.mobile-menu-b2b-info__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-b2b-info__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Search in B2B menu */
.mobile-menu--b2b .mobile-menu-search {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu--b2b .mobile-menu-search input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 8px;
}

.mobile-menu--b2b .mobile-menu-search input::placeholder {
  color: rgba(255,255,255,0.5);
}

.mobile-menu--b2b .mobile-menu-search input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-accent);
}

/* Nav in B2B menu */
.mobile-menu--b2b .mobile-menu-nav {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu--b2b .mobile-menu-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu--b2b .mobile-menu-nav a {
  color: #fff;
}

.mobile-menu--b2b .mobile-menu-nav a:hover,
.mobile-menu--b2b .mobile-menu-nav a.active {
  color: var(--color-accent);
  background: rgba(255,255,255,0.05);
}

.mobile-menu--b2b .submenu-toggle {
  color: rgba(255,255,255,0.5);
}

.mobile-menu--b2b .mobile-submenu {
  background: rgba(0,0,0,0.3);
}

.mobile-menu--b2b .mobile-submenu a {
  color: rgba(255,255,255,0.8) !important;
}

.mobile-menu--b2b .mobile-submenu a:hover {
  color: var(--color-accent) !important;
}

.mobile-menu--b2b .mobile-submenu .see-all {
  color: var(--color-accent) !important;
}

/* Extra links in B2B menu */
.mobile-menu--b2b .mobile-menu-extra {
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu--b2b .mobile-menu-extra a {
  color: rgba(255,255,255,0.7);
}

.mobile-menu--b2b .mobile-menu-extra a:hover {
  color: var(--color-accent);
}

/* Advisor section */
.mobile-menu-advisor {
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-advisor__title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.mobile-menu-advisor__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.mobile-menu-advisor__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-advisor__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  text-decoration: none;
}

.mobile-menu-advisor__contact a:hover {
  color: var(--color-accent);
}

.mobile-menu-advisor__contact i {
  width: 16px;
  color: var(--color-accent);
}

/* Social in B2B menu */
.mobile-menu--b2b .mobile-menu-social {
  padding: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  border-top: none;
  margin-top: auto;
}

.mobile-menu--b2b .mobile-menu-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}


.mobile-menu--b2b .mobile-menu-social a:hover {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 767px) {
  body {
    padding-top: 0 !important;
  }
}
/* ===========================
   B2C MODE - Hide B2B sections
   When main has class 'product-page--b2c', hide B2B-only content
   =========================== */
.product-page--b2c .product-info__wholesale,
.product-page--b2c .product-info__b2b,
.product-page--b2c .product-info__pallet,
.product-page--b2c .product-info__promo,
.product-page--b2c .b2b-mobile-header,
.product-page--b2c .b2b-topbar,
.product-page--b2c .b2b-header-info,
.product-page--b2c .mobile-menu--b2b .mobile-menu-b2b-info,
.product-page--b2c .mobile-menu--b2b .mobile-menu-user {
  display: none !important;
}

/* B2C: Show regular price more prominently */
.product-page--b2c .product-info__price {
  margin-bottom: var(--space-lg);
}
