/* ============================================================================
   PetraZone — Ana səhifə modern brend qatı
   ----------------------------------------------------------------------------
   home.css-dən SONRA yüklənir. Məhsul kartlarını və kampaniya karuselini
   brend rənglərinə (mavi #1e2a78 + qızılı #ffc600) gətirir, modernləşdirir.
   design-system.css token-lərini işlədir. 4 işlək düymə qorunur.
   ========================================================================== */

/* ---------- Grid ---------- */
.latest-grid {
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 20px;
}
#latest-products-list .slider-item { display: flex; height: 100%; }

/* ---------- Kart gövdəsi ---------- */
#latest-products-list .product-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--pz-surface);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r);
  box-shadow: var(--pz-shadow-sm);
  overflow: hidden;
  transition: transform var(--pz-transition),
              box-shadow var(--pz-transition),
              border-color var(--pz-transition);
}
#latest-products-list .product-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--pz-shadow-lg);
  border-color: var(--pz-primary-tint-2);
}
#latest-products-list .product-block-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---------- Şəkil ---------- */
#latest-products-list .product-block-inner .image {
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;                 /* bütün kartlarda eyni ölçü = ahəng */
  border-bottom: 1px solid var(--pz-line-2);
}
#latest-products-list .product-block-inner .image > a { display: block; height: 100%; }
#latest-products-list .product-block-inner .image img.reg-image {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
#latest-products-list .product-block-inner .image:hover img.reg-image { transform: scale(1.07); }
#latest-products-list .product-block-inner .image img.hover-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; padding: 16px;
  opacity: 0;
  transition: opacity .35s ease;
}
#latest-products-list .product-block-inner .image:hover img.hover-image { opacity: 1; }

/* ---------- 4 aksiya düyməsi (wishlist / tez baxış / compare / səbət) ---------- */
#latest-products-list .product-block-inner .image .button-group {
  top: 12px; left: 12px;
}
#latest-products-list .product-block-inner .image .top-btn { gap: 9px; }

#latest-products-list .product-block-inner .image .top-btn button,
#latest-products-list .product-block-inner .image .top-btn a {
  width: 42px; height: 42px;
  border-radius: var(--pz-r-pill);
  border: 1px solid var(--pz-line);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--pz-shadow-sm);
  transition: transform var(--pz-transition-fast),
              box-shadow var(--pz-transition),
              background var(--pz-transition),
              border-color var(--pz-transition);
}
#latest-products-list .product-block-inner .image .top-btn i { color: var(--pz-ink); font-size: 15px; }

/* Hover: mavi ilə dolsun, ikon ağ */
#latest-products-list .product-block-inner .image .top-btn button:hover,
#latest-products-list .product-block-inner .image .top-btn a:hover {
  background: rgb(30, 42, 120);
  border-color: transparent;
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--pz-shadow-primary);
}
#latest-products-list .product-block-inner .image .top-btn button:hover i,
#latest-products-list .product-block-inner .image .top-btn a:hover i { color: #fff; }

/* Səbət düyməsi = qızılı vurğu (əsas aksiya) */
#latest-products-list .product-block-inner .image .top-btn .addtocart:hover {
  background: var(--pz-grad-accent);
  box-shadow: var(--pz-shadow-accent);
}
#latest-products-list .product-block-inner .image .top-btn .addtocart:hover i { color: #3a2c00; }

/* Wishlist üstünə gələndə ürək qırmızı vurğu */
#latest-products-list .product-block-inner .image .top-btn .wishlist:hover {
  background: var(--pz-danger);
  box-shadow: 0 8px 22px rgba(226, 59, 59, .30);
}

/* ---------- Detallar ---------- */
#latest-products-list .product-details { padding: 16px; flex: 1; display: flex; }
#latest-products-list .product-details .caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
#latest-products-list .product-details .caption .rating { margin: 0; line-height: 1; }
#latest-products-list .product-details .caption .rating .fa-star,
#latest-products-list .product-details .caption .rating .fa-star-o { color: var(--pz-accent); }
#latest-products-list .product-details .caption h4 { margin: 0; }
#latest-products-list .product-details .caption h4 a {
  color: rgb(30, 42, 120);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  transition: color var(--pz-transition-fast);
}
#latest-products-list .product-details .caption h4 a:hover { color: rgb(30, 42, 120); }
#latest-products-list .product-details .caption .price {
  margin: 2px 0 0;
  font-weight: 900;
  color: var(--pz-primary-700);
  letter-spacing: -.2px;
}

/* ============================================================================
   Kampaniya karuseli (.box.special) — brendə uyğunlaşma
   ========================================================================== */
.box.special .product-block { border-radius: var(--pz-r); overflow: hidden; }

/* Endirim nişanı → qızılı pill */
.box.special .percentsaving {
  background: var(--pz-grad-accent);
  color: #3a2c00;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--pz-r-pill);
  box-shadow: var(--pz-shadow-accent);
  border: none;
}

/* Ulduzlar qızılı */
.box.special .rating .fa-star,
.box.special .rating .fa-star-o { color: var(--pz-accent); }

/* Qiymət */
.box.special .price .price-new { color: var(--pz-primary-700); font-weight: 900; font-size: 20px; }
.box.special .price .price-old { color: var(--pz-faint); text-decoration: line-through; margin-left: 6px; }
.box.special .price .price-tax { display: block; color: var(--pz-muted); font-size: 12px; margin-top: 3px; }

/* Aşağı "Səbətə əlavə et" düyməsi → brend mavi (bənövşəyi qradiyenti əvəz edir) */
#latest-products-list .product-details .caption > .addtocart,
.box.special .caption > .addtocart {
  margin-top: 12px;
  width: 100%;
  border: none;
  border-radius: var(--pz-r-sm);
  background: var(--pz-grad-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  box-shadow: var(--pz-shadow-primary);
  transition: transform var(--pz-transition-fast), box-shadow var(--pz-transition);
}
#latest-products-list .product-details .caption > .addtocart:hover,
.box.special .caption > .addtocart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 42, 120, .38);
}
.box.special .caption > .addtocart .text-white { color: #fff !important; }

/* ============================================================================
   Bölmə başlıqları — qızılı vurğu xətti (kiçik "vau" toxunuşu)
   ========================================================================== */
.latest-products-head__title,
.home-short-section__title,
.partners-box__title {
  position: relative;
  padding-bottom: 10px;
}
.latest-products-head__title::after,
.home-short-section__title::after,
.partners-box__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  border-radius: var(--pz-r-pill);
  background: var(--pz-grad-accent);
}

/* "Bütün məhsullar" düyməsi brend mavi */
.latest-products-head .btn.btn-primary {
  background: rgb(30, 42, 120);
  border: none;
  border-radius: var(--pz-r-sm);
  font-weight: 700;
  box-shadow: var(--pz-shadow-primary);
  transition: transform var(--pz-transition-fast), box-shadow var(--pz-transition);
}
.latest-products-head .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 42, 120, .38);
  color: #fff;
}

/* ============================================================================
   Kateqoriya / Brend bölmələri — indiqo (#1e2a78) → brend mavi (#1e2a78)
   ========================================================================== */
/* "Hamısına bax" düyməsi */
.home-short-section__all {
  background: var(--pz-grad-primary) !important;
  box-shadow: var(--pz-shadow-primary) !important;
  border-radius: var(--pz-r-sm);
}
.home-short-section__all:hover {
  background: var(--pz-grad-primary) !important;
  box-shadow: 0 12px 24px rgba(30, 42, 120, .30) !important;
}

/* Kart kənarları və hover */
.home-short-card { border-color: var(--pz-line); border-radius: var(--pz-r); }
.home-short-card:hover { border-color: var(--pz-primary); }

/* Kateqoriya ikonu → brend mavi çalar */
.home-short-card__icon {
  color: var(--pz-primary);
  background: var(--pz-primary-tint);
  border-color: var(--pz-primary-tint-2);
}
.home-short-card__title { color: var(--pz-ink); }
.home-short-card:hover .home-short-card__title { color: var(--pz-primary-700); }

/* Brend bölməsi vurğusu qızılıya uyğunlaşdırılır (isti ton onsuz da uyğun) */
.home-short-section--brands { background: linear-gradient(135deg, #fffdf6 0%, var(--pz-accent-tint) 100%); }
.home-short-section--categories { background: linear-gradient(135deg, #f8fbff 0%, var(--pz-primary-tint) 100%); }

/* ============================================================================
   Tərəfdaşlar bölməsi — brend mavi
   ========================================================================== */
.partners-box__shell {
  background: linear-gradient(135deg, #f6fafe 0%, var(--pz-primary-tint) 100%);
  border-color: var(--pz-primary-tint-2);
}
.partners-box .partners-box__card { border-color: var(--pz-line); border-radius: var(--pz-r-lg); }
.partners-box .partners-box__card:hover { border-color: var(--pz-primary-tint-2); }

/* Naviqasiya oxları → brend mavi */
.partners-box .partners-box__nav {
  background: rgb(30, 42, 120)!important;
  box-shadow: var(--pz-shadow-primary) !important;
}
.partners-box .partners-box__nav:hover {
  box-shadow: 0 14px 28px rgba(30, 42, 120, .34) !important;
}

/* ============================================================================
   Kampaniya karuseli oxları (.product-nav) → brend mavi dairə
   ========================================================================== */
.box.special .product-nav {
  width: 42px; height: 42px;
  border-radius: var(--pz-r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pz-grad-primary);
  color: #fff;
  box-shadow: var(--pz-shadow-primary);
  border: none;
  transition: transform var(--pz-transition-fast), box-shadow var(--pz-transition);
}
.box.special .product-nav:hover { transform: translateY(-2px) scale(1.05); color: #fff; }
.box.special .product-nav i { font-size: 18px; }

/* ============================================================================
   Kart içi kateqoriya etiketi (məhsul siyahısı səhifəsi)
   ========================================================================== */
#latest-products-list .product-details .caption .product-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--pz-primary);
  background: var(--pz-primary-tint);
  padding: 3px 9px;
  border-radius: var(--pz-r-pill);
  order: -1;                 /* rating-dən yuxarı */
}

/* ============================================================================
   Kataloq (məhsul siyahısı) başlığı — brend
   ========================================================================== */
.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 22px 26px;
  border-radius: var(--pz-r-lg);
  background: linear-gradient(135deg, #ffffff 0%, var(--pz-primary-tint) 120%);
  border: 1px solid var(--pz-line);
  box-shadow: var(--pz-shadow-sm);
}
.catalog-head__left { display: flex; flex-direction: column; gap: 6px; }
.catalog-head__title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: var(--pz-ink);
  line-height: 1.2;
  position: relative;
  padding-bottom: 10px;
}
.catalog-head__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  border-radius: var(--pz-r-pill);
  background: var(--pz-grad-accent);
}
.catalog-head__desc { margin: 0; font-size: 14px; color: var(--pz-muted); }
.catalog-head__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pz-grad-primary);
  border: none;
  border-radius: var(--pz-r-sm);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  box-shadow: var(--pz-shadow-primary);
  transition: transform var(--pz-transition-fast), box-shadow var(--pz-transition);
}
.catalog-head__btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 12px 28px rgba(30, 42, 120, .38);
}

@media (max-width: 767px) {
  .catalog-head { padding: 18px; }
  .catalog-head__title { font-size: 21px; }
  .catalog-head__btn { width: 100%; justify-content: center; }
  .catalog-head__right, .catalog-head { }
}

@media (max-width: 575px) {
  .latest-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  #latest-products-list .product-details { padding: 12px; }
  #latest-products-list .product-details .caption h4 a { font-size: 14px; }
  #latest-products-list .product-details .caption .price { font-size: 17px; }
}

/* ============================================================================
   Kateqoriya üzrə alış-veriş + Top Brendlər (referans üslubu, 2 sütun)
   ========================================================================== */
.pz-shop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;   /* minmax(0,…) → sol sütun məzmuna görə genişlənmir */
  gap: 22px;
  margin: 34px 0 26px;
  align-items: stretch;   /* sağ sütun sol sütunun hündürlüyünə bərabərləşir */
}
/* Sağ sütun xanası: sidebar-ı sol sütun hündürlüyünə kilidləmək üçün nisbi çərçivə */
.pz-topbrands-cell { position: relative; min-width: 0; }
/* Sol sütun: kateqoriya slideri + (altında) etibar zolağı yığılır */
.pz-shop-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Ortaq "Hamısına bax" düyməsi --- */
.pz-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgb(30, 42, 120);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--pz-transition-fast), gap var(--pz-transition-fast);
}
.pz-viewall:hover { color: rgb(30, 42, 120); gap: 9px; }
.pz-viewall--sm { font-size: 12.5px; }

/* --- SOL: Kateqoriya üzrə alış-veriş --- */
.pz-shop-cats {
  background: var(--pz-surface);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-lg);
  box-shadow: var(--pz-shadow-sm);
  padding: 20px 22px;
  min-width: 0;          /* daşmanın qarşısını alır — track daxildə scroll olur */
  overflow: hidden;      /* künc radiusundan kənara çıxan track kəsilsin */
}
.pz-shop-cats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.pz-shop-cats__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--pz-ink);
  position: relative;
  padding-bottom: 8px;
}
.pz-shop-cats__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  border-radius: var(--pz-r-pill);
  background: var(--pz-grad-accent);
}
/* Üfüqi slider: tək sətir, sağa-sola sürüşür (2-ci sətrə keçmir) */
.pz-catslider { position: relative; }
.pz-shop-cats__track {
  display: flex;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;              /* Firefox */
  -ms-overflow-style: none;          /* IE/Edge */
  padding: 6px 2px 8px;              /* hover qalxması kəsilməsin */
}
.pz-shop-cats__track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

/* Naviqasiya oxları */
.pz-catslider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: var(--pz-r-pill);
  border: 1px solid var(--pz-line);
  background: #fff;
  color: var(--pz-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--pz-shadow);
  transition: background var(--pz-transition-fast), color var(--pz-transition-fast), opacity var(--pz-transition-fast);
}
.pz-catslider__nav:hover { background: rgb(30, 42, 120); color: #fff; border-color: transparent; }
.pz-catslider__nav--prev { left: -8px; }
.pz-catslider__nav--next { right: -8px; }
.pz-catslider__nav.is-hidden { opacity: 0; pointer-events: none; }

.pz-catcard {
  flex: 0 0 180px;                    /* daha böyük — sırada ~4-5 görünür */
  width: 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 20px 14px;
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r);
  background: var(--pz-surface);
  text-decoration: none;
  text-align: center;
  transition: transform var(--pz-transition), box-shadow var(--pz-transition), border-color var(--pz-transition);
}
.pz-catcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--pz-shadow);
  border-color: var(--pz-primary-tint-2);
}
.pz-catcard__img {
  width: 90px; height: 90px;
  border-radius: 18px;
  background: var(--pz-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pz-catcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pz-catcard__img.is-empty,
.pz-catcard__img i { color: var(--pz-primary); font-size: 34px; }
.pz-catcard__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--pz-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pz-catcard:hover .pz-catcard__name { color: rgb(30, 42, 120); }
.pz-catcard__meta { font-size: 12.5px; color: var(--pz-muted); font-weight: 600; }

/* --- SAĞ: Top Brendlər sidebar --- */
.pz-topbrands {
  position: absolute;          /* xananı (=sol sütun hündürlüyü) tam doldurur */
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--pz-surface);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-lg);
  box-shadow: var(--pz-shadow-sm);
  overflow: hidden;
}
.pz-topbrands__head {
  flex: 0 0 auto;             /* başlıq sabit qalır */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--pz-line-2);
  background: linear-gradient(135deg, #ffffff 0%, var(--pz-primary-tint) 140%);
}
.pz-topbrands__title { margin: 0; font-size: 16px; font-weight: 800; color: var(--pz-ink); }
.pz-topbrands__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  flex: 1 1 auto;            /* qalan yeri tutur */
  min-height: 0;
  overflow-y: auto;         /* sığmayan brendlər içəridə scroll */
  scrollbar-width: thin;
  scrollbar-color: var(--pz-line) transparent;
}
.pz-topbrands__list::-webkit-scrollbar { width: 6px; }
.pz-topbrands__list::-webkit-scrollbar-thumb { background: var(--pz-line); border-radius: 20px; }
.pz-topbrands__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--pz-r-sm);
  text-decoration: none;
  transition: background var(--pz-transition-fast);
}
.pz-topbrands__list li + li .pz-topbrands__item { border-top: 0; }
.pz-topbrands__item:hover { background: var(--pz-primary-tint); }
.pz-topbrands__logo {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1px solid var(--pz-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 800;
  color: var(--pz-primary-700);
  font-size: 16px;
}
.pz-topbrands__logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pz-topbrands__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pz-topbrands__name {
  font-size: 15.5px; font-weight: 700; color: var(--pz-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pz-topbrands__item:hover .pz-topbrands__name { color: rgb(30, 42, 120); }
.pz-topbrands__meta { font-size: 12px; color: var(--pz-muted); font-weight: 600; }
.pz-topbrands__arrow { color: var(--pz-faint); font-size: 15px; transition: transform var(--pz-transition-fast), color var(--pz-transition-fast); }
.pz-topbrands__item:hover .pz-topbrands__arrow { color: var(--pz-primary); transform: translateX(3px); }

/* Responsiv: sidebar aşağı düşür */
@media (max-width: 991px) {
  .pz-shop-row { grid-template-columns: 1fr; }
  /* Tək sütunda absolute kilidi sıfırla — sidebar normal axına qayıdır */
  .pz-topbrands-cell { position: static; }
  .pz-topbrands { position: static; inset: auto; }
  .pz-topbrands__list { overflow-y: visible; max-height: none; }
}
@media (max-width: 575px) {
  .pz-shop-cats { padding: 16px; }
  .pz-catcard { flex-basis: 118px; width: 118px; }
  .pz-catcard__img { width: 60px; height: 60px; }
  .pz-catslider__nav { display: none; }   /* mobil: barmaqla sürüşdür */
}

/* ============================================================================
   Etibar zolağı (kateqoriya altı) — Global Sourcing / Verified Suppliers ...
   ========================================================================== */
.pz-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;                 /* sol sütun daxilində — aralıq .pz-shop-left gap ilə */
  padding: 18px 22px;
  background: var(--pz-surface);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-lg);
  box-shadow: var(--pz-shadow-sm);
}
.pz-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  position: relative;
}
/* İncə ayırıcı xətt (sonuncudan başqa) */
.pz-trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 40px; width: 1px;
  background: var(--pz-line);
}
.pz-trust__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgb(30, 42, 120);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background var(--pz-transition), color var(--pz-transition);
}
.pz-trust__item:hover .pz-trust__icon {
  background: rgb(30, 42, 120);
  color: #fff;
}
.pz-trust__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pz-trust__title { font-size: 15px; font-weight: 800; color: var(--pz-ink); line-height: 1.25; }
.pz-trust__sub { font-size: 12.5px; color: var(--pz-muted); line-height: 1.3; }

@media (max-width: 767px) {
  .pz-trust { grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .pz-trust__item:nth-child(2)::after { display: none; }  /* orta xətti gizlət */
}
@media (max-width: 479px) {
  .pz-trust { grid-template-columns: 1fr; gap: 4px; }
  .pz-trust__item::after { display: none !important; }
}

/* ============================================================================
   Referans zolağı: Top Brendlər (logo grid) + Kampaniyalar + Yan bannerlər
   ========================================================================== */
.pz-band {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 260px);
  gap: 20px;
  align-items: stretch;   /* hamısı eyni hündürlükdə (orta aksiya menyusu baza) */
  margin: 30px 0 26px;
}
.pz-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pz-band__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--pz-ink);
  position: relative;
  padding-bottom: 8px;
}
.pz-band__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  border-radius: var(--pz-r-pill);
  background: var(--pz-grad-accent);
}

/* SOL: Top Brendlər logo grid (4x2) */
.pz-band__brands,
.pz-band__deals {
  background: var(--pz-surface);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-lg);
  box-shadow: var(--pz-shadow-sm);
  padding: 20px;
  min-width: 0;
}
/* SOL: Top Brendlər — logolar böyük, 2 sütun, kartı hündürlüyə görə doldurur */
.pz-band__brands { display: flex; flex-direction: column; }
.pz-brandgrid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}
.pz-brandlogo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 12px;
  background: var(--pz-surface-2);
  border: 1px solid var(--pz-line);
  border-radius: var(--pz-r-sm);
  transition: transform var(--pz-transition), box-shadow var(--pz-transition), border-color var(--pz-transition);
}
.pz-brandlogo:hover {
  transform: translateY(-3px);
  box-shadow: var(--pz-shadow);
  border-color: var(--pz-primary-tint-2);
}
.pz-brandlogo img { max-width: 100%; max-height: 56px; object-fit: contain; }
.pz-brandlogo span { font-weight: 800; color: var(--pz-primary-700); font-size: 18px; }

/* ORTA: Kampaniyalar — hündürlüyü müəyyən edən baza sütun */
.pz-band__deals { overflow: hidden; display: flex; flex-direction: column; }

/* SAĞ: Yan bannerlər — ortanın hündürlüyünə KİLİDLƏNİR, boş ağ yer qalmır */
.pz-band__side-cell { position: relative; min-width: 0; }
.pz-band__side {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
/* iki banner sahəni bərabər bölür və tam doldurur (cover) */
.pz-band__side .czleftofferbanner-block,
.pz-band__side .czrightofferbanner-block {
  flex: 1 1 0;
  min-height: 0;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.pz-band__side .left-offerbanner,
.pz-band__side .right-offerbanner,
.pz-band__side .banner_link {
  display: block;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  float: none !important;
  transition: transform var(--pz-transition);
}
.pz-band__side .banner_link:hover { transform: translateY(-2px); }
.pz-band__side img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--pz-r-lg);
  border: 1px solid var(--pz-line);
  box-shadow: var(--pz-shadow-sm);
  object-fit: cover;
}

/* Responsiv */
@media (max-width: 1100px) {
  .pz-band { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); align-items: start; }
  .pz-band__deals { grid-column: 1 / -1; order: 3; }   /* kampaniyalar tam enə düşür */
  .pz-band__brands { order: 1; }
  .pz-band__side-cell { order: 2; position: static; }
  /* dar ekranda absolute kilidini sıfırla — bannerlər normal axına qayıdır */
  .pz-band__side { position: static; inset: auto; }
  .pz-band__side .czleftofferbanner-block,
  .pz-band__side .czrightofferbanner-block { flex: none; }
  .pz-band__side .left-offerbanner,
  .pz-band__side .right-offerbanner,
  .pz-band__side .banner_link,
  .pz-band__side img { height: auto; }
}
@media (max-width: 680px) {
  .pz-band { grid-template-columns: 1fr; }
  .pz-band__brands, .pz-band__side-cell, .pz-band__deals { order: initial; grid-column: auto; }
  .pz-brandgrid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Kampaniya (deals) slideri — təmiz, owl-suz ---- */
.pz-deals { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.pz-deals__track {
  display: flex; gap: 12px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity;
  scrollbar-width: none; padding: 4px 2px 8px;
}
.pz-deals__track::-webkit-scrollbar { display: none; }
.pz-deal {
  flex: 0 0 195px; width: 195px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  border: 1px solid var(--pz-line); border-radius: var(--pz-r);
  overflow: hidden; background: #fff;
  transition: transform var(--pz-transition), box-shadow var(--pz-transition), border-color var(--pz-transition);
}
.pz-deal:hover { transform: translateY(-4px); box-shadow: var(--pz-shadow-lg); border-color: var(--pz-primary-tint-2); }
.pz-deal__img { position: relative; display: block; aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--pz-line-2); overflow: hidden; }
.pz-deal__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pz-deal__badge { position: absolute; top: 8px; left: 8px; background: var(--pz-grad-accent); color: #3a2c00; font-weight: 800; font-size: 11px; padding: 3px 9px; border-radius: var(--pz-r-pill); box-shadow: var(--pz-shadow-accent); }
.pz-deal__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.pz-deal__name { font-size: 13px; font-weight: 700; color: var(--pz-ink); text-decoration: none; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pz-deal__name:hover { color: var(--pz-primary); }
.pz-deal__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pz-deal__new { font-size: 16px; font-weight: 900; color: var(--pz-primary-700); }
.pz-deal__old { font-size: 12px; color: var(--pz-faint); text-decoration: line-through; }
.pz-deal__btn { margin-top: 2px; border: 0; border-radius: var(--pz-r-sm); background: var(--pz-grad-primary); color: #fff; font-weight: 700; font-size: 12.5px; padding: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--pz-shadow-primary); transition: transform var(--pz-transition-fast); }
.pz-deal__btn:hover { transform: translateY(-2px); }
.pz-deals__nav { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--pz-r-pill); border: 1px solid var(--pz-line); background: #fff; color: var(--pz-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--pz-shadow); z-index: 2; transition: background var(--pz-transition-fast), color var(--pz-transition-fast); }
.pz-deals__nav:hover { background: var(--pz-grad-primary); color: #fff; border-color: transparent; }
.pz-deals__nav.is-hidden { opacity: 0; pointer-events: none; }
.pz-deals__empty { flex: 1 1 auto; text-align: center; padding: 34px 16px; color: var(--pz-muted); }
.pz-deals__empty i { font-size: 34px; color: var(--pz-line); display: block; margin-bottom: 10px; }
.pz-deals__empty p { margin: 0 0 4px; font-weight: 700; color: var(--pz-body); }
.pz-deals__empty span { font-size: 13px; }
@media (max-width: 680px){ .pz-deal { flex-basis: 160px; width: 160px; } }

.pz-deal__ask { font-size: 12.5px; font-weight: 700; color: var(--pz-muted); }

/* ============================================================
   Kampaniya (aksiya) — kart badge + qiymət göstərimi
   ============================================================ */
.product-block .image { position: relative; }

.pz-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff4d4f, #d9363e);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
    box-shadow: 0 4px 12px rgba(217, 54, 62, .35);
}

.product-block .price .price-old {
    display: inline-block;
    margin-right: 6px;
    color: #9aa4b2;
    text-decoration: line-through;
    font-size: 13px;
    font-weight: 600;
}

.product-block .price .price-now {
    color: #1e2a78;
    font-weight: 800;
}
