/* ═══════════════════════════════════════════════════════════
   SANITARA — catalog.css  (products.php layout)
   Design inspirat din Santehnika.ru:
   sidebar compact stânga + grid produse dens 4 coloane
   ═══════════════════════════════════════════════════════════ */

/* ── Hero pagina ────────────────────────────────────────────── */
.cat-page-hero {
  background: #fff;
  padding: 14px 0 10px;
  border-bottom: 1px solid #eef0f4;
}
.cat-bc {
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap; font-size: 11px; color: #9aa3b0; margin-bottom: 5px;
}
.cat-bc a { color: #6b7a8d; text-decoration: none; }
.cat-bc a:hover { color: #0057d9; }
.cat-bc span { color: #bcc4d0; }
.cat-page-h1 {
  font-size: 22px; font-weight: 800; color: #1a2233;
  margin: 0 0 2px; letter-spacing: -.02em; line-height: 1.2;
}
.cat-page-desc { font-size: 12px; color: #8090a8; margin: 0; }

/* ── Showcase (bannere + deals) ─────────────────────────────── */
.cat-showcase { padding: 10px 0 12px; background: #f4f6fa; }
.cat-hero-slider { min-height: 200px; border-radius: 10px; overflow: hidden; }
.cat-hero-slider .hero-slide { min-height: 200px; }
.hero-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px; align-items: start;
}
.hero-split--full { grid-template-columns: 1fr; }

.cat-daily-panel {
  background: #fff; border-radius: 10px;
  border: 1px solid #e4e8f0; overflow: hidden;
}
.cat-daily-panel .daily-header {
  padding: 10px 12px 8px;
  border-bottom: 1px solid #f0f2f6;
}
.cat-daily-panel .daily-title {
  font-size: 12px; font-weight: 800; color: #1a2233;
  text-transform: uppercase; letter-spacing: .4px;
}
.cat-daily-panel .daily-card {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; text-decoration: none; color: #1a2233;
  border-bottom: 1px solid #f5f6f9; transition: background .12s;
}
.cat-daily-panel .daily-card:last-child { border-bottom: none; }
.cat-daily-panel .daily-card:hover { background: #f7f9fd; }
.cat-daily-panel .daily-card-img {
  width: 54px; height: 54px; border-radius: 8px;
  background: #f4f6fa; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cat-daily-panel .daily-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-daily-panel .daily-card-name {
  font-size: 11px; font-weight: 600; line-height: 1.3; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-daily-panel .daily-card-price {
  font-size: 13px; font-weight: 900; color: #d32f2f; white-space: nowrap;
}

/* ── Subcategorii chips ─────────────────────────────────────── */
.subcat-strip {
  background: #fff; border-bottom: 1px solid #e8eaf0; padding: 10px 0 12px;
}
.subcat-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.subcat-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 8px;
  background: #f5f7fb; border: 1px solid #e4e8f0;
  border-radius: 20px; text-decoration: none; transition: all .15s;
  flex-shrink: 0;
}
.subcat-chip:hover, .subcat-chip.active {
  border-color: #0057d9; background: #e8f0fe; color: #0057d9;
}
.subcat-chip-ico {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: #e8edf5; flex-shrink: 0;
}
.subcat-chip-ico img { width: 100%; height: 100%; object-fit: contain; }
.subcat-chip span {
  font-size: 12px; font-weight: 600; color: #2a3448; white-space: nowrap;
}
.subcat-chip small {
  font-size: 10px; color: #8a97b0;
  background: #e8edf5; padding: 1px 5px; border-radius: 8px;
}

/* ── Layout principal: sidebar + main ───────────────────────── */
.cat-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px; align-items: start;
  padding: 14px 0 40px;
}

/* ══ SIDEBAR ════════════════════════════════════════════════ */
.cat-sidebar {
  background: #fff; border-radius: 8px;
  border: 1px solid #e4e8f0;
  position: sticky; top: 8px;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  font-size: 12px;
}
.cat-sidebar::-webkit-scrollbar { width: 6px; }
.cat-sidebar::-webkit-scrollbar-thumb {
  background: #dde2ec;
  border-radius: 8px;
}
.cat-sidebar::-webkit-scrollbar-track { background: transparent; }
.csb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid #eef0f6;
  font-size: 11px; font-weight: 800; color: #1a2233;
  text-transform: uppercase; letter-spacing: .5px; gap: 6px;
}
.csb-reset {
  font-size: 10px; font-weight: 700; color: #0057d9;
  text-decoration: none; white-space: nowrap;
  background: #e8f0fe; padding: 2px 7px; border-radius: 5px;
}
.csb-reset:hover { background: #d2e3fc; }
.csb-close {
  display: none; background: none; border: none;
  font-size: 18px; cursor: pointer; color: #9e9e9e; padding: 0;
}
.csb-section { border-bottom: 1px solid #f2f4f8; }
.csb-section:last-child { border-bottom: none; }
.csb-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 11px; font-weight: 700;
  color: #3a4560; cursor: pointer; user-select: none;
  text-transform: uppercase; letter-spacing: .3px; transition: background .12s;
  gap: 4px;
}
.csb-title:hover { background: #f8f9fc; }
.csb-title--active { color: #0057d9; }
.csb-dot {
  width: 5px; height: 5px; background: #0057d9;
  border-radius: 50%; margin-right: auto; margin-left: 5px; flex-shrink: 0;
}
.csb-chev {
  width: 12px; height: 12px; flex-shrink: 0; transition: transform .18s;
}
.csb-section.closed .csb-chev { transform: rotate(-90deg); }
.csb-body { padding: 3px 10px 8px; }
.csb-body.hidden { display: none; }
.csb-scroll { max-height: 180px; overflow-y: auto; scrollbar-width: thin; }
.csb-scroll::-webkit-scrollbar { width: 3px; }
.csb-scroll::-webkit-scrollbar-thumb { background: #dde2ec; border-radius: 3px; }

.csb-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 3px; color: #3a4560; text-decoration: none;
  border-radius: 4px; transition: background .1s; gap: 4px;
}
.csb-item:hover, .csb-item.active {
  background: #eef4ff; color: #0057d9; font-weight: 700;
}
.csb-check {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 3px; color: #3a4560; text-decoration: none;
  border-radius: 4px; transition: background .1s; cursor: pointer;
}
.csb-check:hover, .csb-check.active { background: #eef4ff; color: #1a2233; }
.csb-chkbox {
  width: 14px; height: 14px; border: 1.5px solid #c4cbd8;
  border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .12s;
}
.csb-chkbox.on { background: #0057d9; border-color: #0057d9; }
.csb-chkbox.on::after { content: '✓'; color: #fff; font-size: 9px; font-weight: 900; }
.csb-lbl { flex: 1; line-height: 1.3; }
.csb-cnt {
  font-size: 10px; color: #9aA3b5;
  background: #f2f4f8; padding: 1px 4px;
  border-radius: 6px; flex-shrink: 0;
}
.csb-colors { display: flex; flex-direction: column; gap: 2px; }
.csb-color {
  display: flex; align-items: center; gap: 6px;
  padding: 3px; color: #3a4560; text-decoration: none;
  border-radius: 4px; transition: background .1s;
}
.csb-color:hover, .csb-color.active { background: #eef4ff; }
.csb-cdot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.1); flex-shrink: 0;
}

/* Preț slider */
/* Slider preț — compatibil Chrome + Firefox, zero inline styles */
:root {
  --slider-track:    #f7f8fb;
  --slider-active:   #f7f8fb;
  --slider-thumb:    #049cd9;
}
.price-slider-wrap {
  position: relative; height: 20px; margin-bottom: 12px;
}
.price-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--slider-track); outline: none; border: none;
  position: absolute; top: 8px; left: 0;
  pointer-events: none; margin: 0; padding: 0;
  border-radius: 2px;
}
/* Track Chrome/Safari */
.price-slider::-webkit-slider-runnable-track {
  height: 4px; background: var(--slider-track); border-radius: 2px;
}
/* Track Firefox */
.price-slider::-moz-range-track {
  height: 4px; background: var(--slider-track); border-radius: 2px; border: none;
}
/* Thumb Chrome/Safari */
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--slider-thumb); cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(4,156,217,.4);
  margin-top: -6px;
}
/* Thumb Firefox */
.price-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--slider-thumb); cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(4,156,217,.4);
}
/* Track progres Firefox (zona activa stânga thumb) */
.price-slider::-moz-range-progress {
  height: 4px; background: var(--slider-active); border-radius: 2px;
}
#psMin { z-index: 3; }
#psMax { z-index: 4; }
#psMin::-webkit-slider-thumb { z-index: 3; }
#psMax::-webkit-slider-thumb { z-index: 4; }
.price-inputs-row {
  display: flex; align-items: center; gap: 5px; margin-bottom: 8px;
}
.price-inp {
  width: 100%; padding: 5px 6px; border: 1.5px solid #dde2ec;
  border-radius: 5px; font-size: 11px; text-align: center; font-family: inherit;
}
.price-inp:focus { border-color: #0057d9; outline: none; }
.price-apply-btn {
  width: 100%; padding: 7px; background: #0057d9; color: #fff;
  border: none; border-radius: 6px; font-size: 11px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.price-apply-btn:hover { background: #0046b0; }
/* Track fill vizual între cele 2 thumb-uri */
.price-track-fill {
  position: absolute; top: 10px; left: 0;
  height: 4px; background: var(--slider-thumb); border-radius: 2px;
  pointer-events: none; z-index: 2;
}

/* ══ MAIN — sort + grid ════════════════════════════════════ */
.cat-main { min-width: 0; }
.cat-sort-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; flex-wrap: wrap;
  background: #fff; padding: 8px 12px;
  border-radius: 8px; border: 1px solid #e4e8f0;
}
.csb-toggle {
  display: none; align-items: center; gap: 5px;
  padding: 6px 12px; background: #f5f7fb;
  border: 1.5px solid #dde2ec; border-radius: 6px;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.csb-toggle:hover { border-color: #0057d9; color: #0057d9; }
.csb-badge {
  background: #0057d9; color: #fff; font-size: 9px; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cat-count { font-size: 12px; color: #6b7a8d; }
.cat-count strong { color: #1a2233; font-weight: 800; }

/* Sort tabs */
.sort-tabs { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.sort-tab {
  padding: 5px 10px; background: #f5f7fb; border: 1.5px solid #e4e8f0;
  border-radius: 5px; font-size: 11px; font-weight: 600; color: #5a6580;
  text-decoration: none; cursor: pointer; transition: all .12s; white-space: nowrap;
}
.sort-tab:hover { border-color: #0057d9; color: #0057d9; background: #eef4ff; }
.sort-tab.active { background: #0057d9; border-color: #0057d9; color: #fff; }
.sort-sel {
  padding: 6px 10px; border: 1.5px solid #e4e8f0; border-radius: 6px;
  font-size: 11px; font-family: inherit; background: #f5f7fb;
  color: #2a3448; cursor: pointer; margin-left: auto;
}
.sort-sel:focus { border-color: #0057d9; outline: none; }

/* Filtre active chips */
.active-filters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.af-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; background: #e8f0fe; color: #0057d9;
  border-radius: 20px; font-size: 11px; font-weight: 600;
  text-decoration: none; border: 1px solid #c8d8fc; transition: background .12s;
}
.af-chip:hover { background: #d2e3fc; }

/* ══ GRID PRODUSE ══════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* ── Card produs (redesign complet) ─────────────────────── */
.product-card {
  background: #fff; border-radius: 8px;
  border: 1px solid #e4e8ef;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  transform: translateY(-2px); border-color: #c4d2f0;
}

/* Imagine */
.product-card-img {
  aspect-ratio: 1; background: #f7f8fb;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; text-decoration: none;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px; transition: transform .3s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .placeholder { font-size: 44px; opacity: .25; }

/* Badges */
.product-badge {
  position: absolute; top: 7px; left: 7px;
  padding: 2px 7px; border-radius: 4px;
  font-size: 10px; font-weight: 800; letter-spacing: .2px; z-index: 2;
  text-transform: uppercase;
}
.badge-sale    { background: #f44336; color: #fff; }
.badge-new     { background: #4caf50; color: #fff; }
.badge-hit     { background: #ff9800; color: #fff; }
.badge-premium { background: #7c3aed; color: #fff; }

/* Discount badge (preț) */
.product-disc-badge {
  position: absolute; top: 7px; right: 36px;
  background: #f44336; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px; z-index: 2;
}

/* Wishlist */
.product-fav {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: none;
  font-size: 14px; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; backdrop-filter: blur(2px);
}
.product-fav:hover { background: #fff; transform: scale(1.12); }
.product-fav.active { color: #f44336; }

/* Body card */
.product-card-body {
  padding: 10px 10px 12px; flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.product-brand {
  font-size: 10px; font-weight: 700; color: #0057d9;
  text-transform: uppercase; letter-spacing: .3px;
}
.product-name {
  font-size: 12px; font-weight: 600; color: #1a2233;
  line-height: 1.35; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.product-name:hover { color: #0057d9; }
.product-sku { font-size: 10px; color: #aab0bf; }

/* Rating */
.product-rating {
  display: flex; align-items: center; gap: 3px; margin-top: 2px;
}
.stars { color: #f9a825; font-size: 11px; letter-spacing: -1px; }
.rating-count { font-size: 10px; color: #9aa3b5; }
.reviews-link {
  font-size: 10px; color: #0057d9; text-decoration: none;
}
.reviews-link:hover { text-decoration: underline; }

/* Preț */
.product-price-row {
  display: flex; align-items: baseline;
  gap: 6px; flex-wrap: wrap; margin-top: 4px;
}
.price-current {
  font-size: 15px; font-weight: 900; color: #1a2233;
}
.price-old {
  font-size: 11px; color: #aab0bf;
  text-decoration: line-through;
}
.price-discount {
  font-size: 11px; font-weight: 800; color: #f44336;
  background: #ffebee; padding: 1px 5px; border-radius: 3px;
}

/* Disponibilitate */
.product-stock {
  font-size: 10px; color: #4caf50; font-weight: 600;
}
.product-stock.out { color: #f44336; }

/* Butoane acțiune */
.product-actions {
  display: flex; gap: 6px; margin-top: auto; padding-top: 8px;
}
.btn-cart {
  flex: 1; padding: 8px 6px;
  background: #0057d9; color: #fff;
  border: none; border-radius: 6px;
  font-size: 11px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-cart:hover { background: #0046b0; }
.btn-cart.added { background: #2e7d32; }
.btn-compare {
  width: 32px; height: 32px; border: 1.5px solid #e4e8ef;
  border-radius: 6px; background: #f5f7fb; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; transition: all .12s;
}
.btn-compare:hover { border-color: #0057d9; color: #0057d9; }

/* Banner inline în grid */
.grid-banner {
  grid-column: span 2;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(120deg, #1a237e, #1565c0);
  min-height: 140px; display: flex; align-items: center;
  padding: 20px 24px; position: relative; text-decoration: none;
}
.grid-banner-content { position: relative; z-index: 2; }
.grid-banner-tag {
  display: inline-block; background: #f9a825; color: #1a2233;
  font-size: 10px; font-weight: 800; padding: 2px 8px;
  border-radius: 3px; text-transform: uppercase; margin-bottom: 8px;
}
.grid-banner-title {
  font-size: 20px; font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 6px;
}
.grid-banner-sub { font-size: 12px; color: rgba(255,255,255,.75); }
.grid-banner-btn {
  display: inline-block; margin-top: 12px;
  padding: 8px 16px; background: #fff; color: #1565c0;
  border-radius: 6px; font-size: 12px; font-weight: 800;
  text-decoration: none;
}

/* Fără rezultate */
.no-results {
  text-align: center; padding: 60px 20px;
  background: #fff; border-radius: 8px; border: 1px solid #e4e8f0;
}
.no-results-ico { font-size: 48px; margin-bottom: 12px; }
.no-results-title { font-size: 18px; font-weight: 800; color: #1a2233; margin-bottom: 6px; }
.no-results-sub { font-size: 13px; color: #7a8699; margin-bottom: 20px; }
.no-results-btn {
  display: inline-block; padding: 10px 24px;
  background: #0057d9; color: #fff; border-radius: 7px;
  font-size: 13px; font-weight: 700; text-decoration: none;
}

/* Paginare */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; flex-wrap: wrap;
}
.pag-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1.5px solid #e4e8f0; background: #fff;
  font-size: 13px; font-weight: 600; color: #3a4560;
  text-decoration: none; transition: all .12s;
}
.pag-link:hover { border-color: #049cd9; color: #049cd9; }
.pag-link.active {
  background: radial-gradient(35.4% 70.8% at 50% 100.06%, #0090d760, #06142400), #123f5e;
  border-color: #123f5e; color: #fff;
}
.pag-dots {
  display: flex; align-items: center; justify-content: center;
  width: 28px; font-size: 13px; color: #9aa3b5; font-weight: 600;
}
.pag-info {
  text-align: center; font-size: 12px; color: #8090a8;
}
.pag-info strong { color: #1a2233; }

/* Overlay sidebar mobil */
.csb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 998;
}

/* ── Toast ──────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(40px);
  background: #1a2233; color: #fff; padding: 10px 20px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Catalog principal (catalog.php) ────────────────────────── */
.catalog-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
  padding: 28px 0 24px; margin-bottom: 0;
}
.catalog-hero h1 {
  font-size: 28px; font-weight: 900; color: #fff;
  margin: 0 0 6px; letter-spacing: -.02em;
}
.catalog-hero p { font-size: 13px; color: rgba(255,255,255,.65); margin: 0 0 10px; }
.cat-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.5); flex-wrap: wrap;
}
.cat-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.cat-breadcrumb a:hover { color: #fff; }
.cat-hero-bc { color: rgba(255,255,255,.8); }

/* Categorii grid (catalog.php) */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px; padding: 20px 0;
}
.cat-block { background: #fff; border-radius: 10px; border: 1px solid #e4e8f0; overflow: hidden; }
.cat-block-main {
  display: flex; flex-direction: column; text-decoration: none;
  transition: background .12s;
}
.cat-block-main:hover { background: #f8f9fc; }
.cat-block-img {
  aspect-ratio: 4/3; background: #f5f7fb; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cat-block-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-block-ph { font-size: 32px; opacity: .35; }
.cat-block-body { padding: 10px 12px 8px; }
.cat-block-name { font-size: 13px; font-weight: 700; color: #1a2233; line-height: 1.3; margin-bottom: 6px; }
.cat-block-foot { display: flex; align-items: center; justify-content: space-between; }
.cat-block-cnt { font-size: 11px; color: #8090a8; }
.cat-block-arr { font-size: 14px; color: #0057d9; }
.cat-card-desc { padding: 0 12px 10px; border-top: 1px solid #f0f2f8; }
.cat-block-sub {
  display: block; padding: 4px 0; font-size: 12px; color: #5a6a88;
  text-decoration: none; transition: color .1s;
}
.cat-block-sub:hover { color: #0057d9; }
.cat-block-more-btn {
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
  font-size: 11px; font-weight: 700; color: #0057d9;
  background: none; border: none; cursor: pointer; font-family: inherit; padding: 0;
}
.cat-block-more-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.cat-block-more-btn.open svg { transform: rotate(180deg); }
.cat-block-dropdown { display: none; }
.cat-block-dropdown.open { display: block; }
.cats-empty { padding: 40px; text-align: center; color: #8090a8; }

/* Branduri (catalog.php) */
.brands-strip { background: #f4f6fa; padding: 24px 0; margin-top: 8px; }
.brands-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.brand-tile {
  background: #fff; border-radius: 8px; border: 1px solid #e4e8f0;
  padding: 14px 10px; text-align: center; text-decoration: none;
  transition: all .15s; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.brand-tile:hover { border-color: #0057d9; box-shadow: 0 4px 14px rgba(0,87,217,.1); }
.brand-tile-logo {
  width: 70px; height: 40px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.brand-tile-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-tile-text { font-size: 18px; font-weight: 900; color: #3a4560; }
.brand-tile-name { font-size: 12px; font-weight: 700; color: #1a2233; }
.brand-tile-cnt { font-size: 10px; color: #8090a8; }

/* Branduri alfabetic */
.brands-alpha-section { padding: 24px 0; }
.brands-alpha-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.alpha-col { display: flex; flex-direction: column; gap: 2px; }
.alpha-letter {
  font-size: 12px; font-weight: 900; color: #0057d9;
  padding: 6px 0 3px; display: block;
}
.alpha-brand {
  font-size: 12px; color: #3a4560; text-decoration: none;
  padding: 2px 0; display: flex; align-items: center; gap: 4px;
}
.alpha-brand:hover { color: #0057d9; }
.alpha-brand-cnt { font-size: 10px; color: #aab0bf; }
.alpha-spacer { height: 8px; }

/* Avantaje */
.adv-strip { background: #f4f6fa; padding: 24px 0; margin-top: 8px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-item { display: flex; align-items: flex-start; gap: 12px; }
.adv-ico { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.adv-ttl { font-size: 13px; font-weight: 800; color: #1a2233; margin-bottom: 3px; }
.adv-sub { font-size: 11px; color: #6b7a8d; line-height: 1.4; }

/* sec-title */
.sec-title {
  font-size: 16px; font-weight: 900; color: #1a2233;
  margin-bottom: 0; padding: 16px 0 2px; letter-spacing: -.01em;
}
.sec-title--mt { margin-top: 4px; }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brands-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .cat-layout { grid-template-columns: 210px 1fr; gap: 12px; }
  .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar {
    position: fixed; top: 0; left: -250px; width: 250px;
    height: 100dvh; max-height: 100dvh; z-index: 999; border-radius: 0;
    overflow-y: auto; overflow-x: hidden; transition: left .25s ease;
  }
  .cat-sidebar.open { left: 0; }
  .csb-overlay.open { display: block; }
  .csb-close { display: block; }
  .csb-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands-alpha-wrap { grid-template-columns: repeat(3, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .cat-daily-panel { display: none; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-page-h1 { font-size: 18px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands-alpha-wrap { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .grid-banner { grid-column: span 2; min-height: 110px; padding: 14px 16px; }
  .grid-banner-title { font-size: 16px; }
}
@media (max-width: 400px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}

/* ══ SIDEBAR CATEGORII — header cu back + subcategorii ═════ */
.csb-cat-header {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid #eef0f6;
  background: #f8f9fc;
}
.csb-cat-back {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 40px; flex-shrink: 0;
  font-size: 18px; font-weight: 700; color: #6b7a8d;
  text-decoration: none; border-right: 1px solid #eef0f6;
  transition: background .12s, color .12s;
}
.csb-cat-back:hover { background: #eef4ff; color: #0057d9; }
.csb-cat-title {
  flex: 1; padding: 0 10px; font-size: 12px; font-weight: 800;
  color: #1a2233; text-decoration: none; line-height: 40px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; transition: color .12s;
}
.csb-cat-title:hover { color: #0057d9; }
.csb-item--all {
  font-style: italic; font-size: 11px; color: #6b7a8d;
  border-bottom: 1px dashed #eef0f6; margin-bottom: 2px;
}
.csb-item--all.active { color: #0057d9; background: #eef4ff; font-style: normal; font-weight: 700; }

/* ══ RESPONSIVE 360px și mai mic ══════════════════════════ */
@media (max-width: 359px) {
  .w { padding: 0 8px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .product-card-body { padding: 7px 7px 9px; gap: 3px; }
  .product-name { font-size: 11px; -webkit-line-clamp: 2; }
  .price-current { font-size: 13px; }
  .btn-cart { font-size: 10px; padding: 7px 4px; }
  .btn-compare { width: 28px; height: 28px; font-size: 11px; }
  .cat-sort-bar { padding: 6px 8px; gap: 6px; }
  .pag-link { width: 28px; height: 28px; font-size: 11px; }
  .subcat-chip { padding: 5px 8px 5px 6px; }
  .subcat-chip span { font-size: 11px; }
  .subcat-chip-ico { width: 22px; height: 22px; font-size: 12px; }
  .cat-page-h1 { font-size: 16px; }
}

/* 360px — dimensiunea țintă minimă */
@media (max-width: 400px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .product-card-body { padding: 8px 8px 10px; }
  .product-name { font-size: 11px; -webkit-line-clamp: 2; }
  .price-current { font-size: 13px; }
  .price-old { font-size: 10px; }
  .price-discount { font-size: 10px; padding: 1px 4px; }
  .btn-cart { font-size: 10px; padding: 7px 5px; }
  .btn-compare { width: 28px; height: 28px; font-size: 12px; }
  .product-fav { width: 24px; height: 24px; font-size: 12px; }
  .product-badge { font-size: 9px; padding: 1px 5px; }
  .product-disc-badge { font-size: 9px; padding: 1px 4px; right: 30px; }
  .sort-sel { font-size: 11px; padding: 5px 8px; }
  .cat-count { font-size: 11px; }
  .pag-link { width: 30px; height: 30px; font-size: 12px; }
  .af-chip { font-size: 10px; padding: 2px 7px; }
  .subcat-chip { padding: 5px 8px 5px 6px; gap: 5px; }
  .subcat-chip span { font-size: 11px; }
  .subcat-chip-ico { width: 22px; height: 22px; }
  .cat-page-h1 { font-size: 17px; }
  .cat-sidebar { width: 240px; left: -245px; }
  /* Sidebar intern 360px */
  .csb-title { font-size: 10px; padding: 8px 10px; }
  .csb-body { padding: 3px 8px 7px; }
  .csb-item { font-size: 11px; }
  .csb-check { font-size: 11px; }
  .csb-cat-title { font-size: 11px; }
  .price-apply-btn { padding: 6px; font-size: 10px; }
}

/* ══ DEALS SLIDER ══════════════════════════════════════════ */
.deals-slider-wrap {
  padding: 16px 0;
  overflow: hidden;
}

/* Layout outer: flex row, înălțime fixă */
.deals-slider-outer {
  background:#00021F;
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  height: 280px; /* înălțime fixă — bannerul și cardurile sunt aliniate */
}

/* Banner stânga — fix, nu scrollează, umple toată înălțimea */
.deal-promo-card {
  flex-shrink: 0;
  width: 200px;
  height: 100%;
  padding: 20px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.deal-promo-custom-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.deal-promo-glow {
  position: absolute; top: 2px; left: 74%; transform: translateX(-50%);
  width: 99px; height: 100px;
  background: radial-gradient(circle, rgba(0,120,255,.5) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.deal-promo-icon {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  font-size: 90px; font-weight: 900; line-height: 1;
  color: rgba(80,140,255,.22); font-family: Georgia, serif;
  pointer-events: none; user-select: none;
}
.deal-promo-title {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  z-index: 3;
  pointer-events: none;
}
.deal-promo-btn {
  display: inline-block; padding: 9px 16px;
  background: #2563eb; color: #fff; border-radius: 8px;
  font-size: 12px; font-weight: 700; text-decoration: none;
  position: relative; z-index: 2; white-space: nowrap;
  transition: background .15s;
}
.deal-promo-btn:hover { background: #1d4ed8; }

/* Zona scroll dreapta — umple restul lățimii, scroll orizontal */
.deals-scroll-zone {
  flex: 1; min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.deals-slider-row {
  display: flex;
  align-items: stretch; /* cardurile umplu toată înălțimea rândului */
  gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 44px 12px 14px; /* padding-right pt buton next */
  height: 100%;
  box-sizing: border-box;
}
.deals-slider-row::-webkit-scrollbar { display: none; }

/* Card produs — înălțime completă a rândului */
.deal-card {
  flex-shrink: 0;
  width: 160px;
  height: 100%; /* umple înălțimea fixată de outer */
  background: #fff; border-radius: 14px;
  border: none; text-decoration: none;
  display: flex; flex-direction: column;
  overflow: hidden; scroll-snap-align: start;
  transition: transform .15s, box-shadow .15s;
  position: relative;
  box-sizing: border-box;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Imagine — înălțime flexibilă, umple spațiul disponibil */
.deal-card-img {
  flex: 1; min-height: 0; /* important: permite shrink */
  background: #f7f8fb;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.deal-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 10px; transition: transform .3s;
}
.deal-card:hover .deal-card-img img { transform: scale(1.05); }
.deal-card-ph { font-size: 36px; opacity: .3; }

/* Body jos — înălțime fixă, nu crește */
.deal-card-body {
  flex-shrink: 0;
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 3px;
  background: #fff;
}
.deal-card-name {
  font-size: 11px; font-weight: 600; color: #1a2233; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.deal-card-prices {
  display: flex; align-items: baseline;
  gap: 5px; flex-wrap: wrap; margin-top: 3px;
}
.deal-price-cur { font-size: 14px; font-weight: 900; color: #1a2233; }
.deal-price-old { font-size: 11px; color: #aab0bf; text-decoration: line-through; }

/* Badge discount — sus stânga, vizibil pe imaginea albă */
.deal-card-disc {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: #ef4444; color: #fff;
  font-size: 11px; font-weight: 900;
  padding: 3px 7px; border-radius: 6px;
  letter-spacing: .2px;
}

/* Butoane nav */
.deals-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,27,53,.85); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: all .15s; line-height: 1;
}
.deals-nav:hover { background: rgba(13,27,53,1); }
.deals-nav--prev { left: 4px; }
.deals-nav--next { right: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .deals-slider-outer { height: 250px; }
  .deal-promo-card { width: 180px; }
  .deal-card { width: 148px; }
}
@media (max-width: 640px) {
  .deals-slider-outer {
    height: auto;
    flex-direction: column;
    border-radius: 16px;
  }
  .deal-promo-card {
    width: 100%;
    height: 118px;
    padding: 14px 16px 14px 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    
}
  .deal-promo-custom-img {
    inset: 10px auto 10px 12px;
    width: 88px;
    height: calc(100% - 20px);
    object-fit: contain;
    object-position: center;
  }
  .deal-promo-title {
    position: static;
    transform: none;
    width: auto;
    margin: 0;
    padding: 0 124px 0 0;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
    pointer-events: none;
  }
  .deal-promo-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 14px;
    font-size: 11px;
    border-radius: 10px;
  }
  .deals-scroll-zone {
    height: 192px;
  }
  .deals-slider-row {
    padding: 10px 12px 12px 12px;
  }
  .deal-card { width: 120px; }
  .deals-nav { display: none; }
}
@media (max-width: 400px) {
  .deal-promo-card {
    height: 106px;
    padding: 12px 12px 12px 60px;
  }
  .deal-promo-custom-img {
    inset: 10px auto 10px 10px;
    width: 76px;
    height: calc(100% - 20px);
  }
  .deal-promo-title {
    padding-right: 110px;
    font-size: 19px;
    line-height: 1.1;
  }
  .deal-promo-btn {
    right: 12px;
    padding: 9px 12px;
    font-size: 10px;
  }
  .deals-scroll-zone {
    height: 176px;
  }
  .deal-card { width: 114px; }
  .deal-price-cur { font-size: 12px; }
  .deal-card-disc { font-size: 10px; padding: 2px 5px; }
}

/* ── Loading state grid produse (fetch preț live) ─── */
.products-loading {
  opacity: .45;
  pointer-events: none;
  transition: opacity .2s;
  position: relative;
}
.products-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.4);
  z-index: 10;
}

/* ── Buton Afișează mai multe ──────────────────────────────── */
.load-more-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 20px; margin-bottom: 8px;
}
.btn-load-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 40px;
  background: radial-gradient(35.4% 70.8% at 50% 100.06%, #0090d760, #06142400), #123f5e;
  border: none; border-radius: 10px; cursor: pointer;
  font-family: inherit; transition: opacity .18s, transform .18s;
  min-width: 260px;
}
.btn-load-more:hover { opacity: .88; transform: translateY(-1px); }
.btn-load-more:disabled { opacity: .5; cursor: wait; transform: none; }
.lm-text {
  font-size: 14px; font-weight: 700; color: #fff;
  transition: opacity .2s;
}
.lm-count { display: none; }
.lm-spinner {
  font-size: 15px; animation: spin .8s linear infinite; color: #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Animatie intrare carduri noi */
.card-appear {
  opacity: 0; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}
.card-appear--in {
  opacity: 1; transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   SEARCH RESULTS PAGE — .srp-*
   Afișat în products.php când există ?q= fără categorie
   ═══════════════════════════════════════════════════════════ */

/* ── Hero search ──────────────────────────────────────────── */
.srp-hero {
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  border-bottom: 1px solid #dde4f4;
  padding: 18px 0 0;
}
.srp-hero-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.srp-hero-left { flex: 1; min-width: 0; }
.srp-query-label {
  font-size: 11px; font-weight: 600; color: #8090a8;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px;
}
.srp-query-text {
  font-size: 26px; font-weight: 900; color: #1a2233;
  margin: 0 0 6px; line-height: 1.15; letter-spacing: -.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.srp-count {
  font-size: 13px; color: #4a5568;
}
.srp-count strong { color: #1976d2; font-weight: 800; }
.srp-nores { color: #e53935; font-weight: 700; }

/* Formular rafinare căutare (dreapta în hero) */
.srp-refine-form {
  display: flex; align-items: center;
  background: #fff; border: 1.5px solid #d0d9f0;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(21,101,192,.07);
  flex-shrink: 0; height: 44px;
}
.srp-refine-input {
  border: none; background: transparent; padding: 0 14px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  outline: none; width: 260px; color: #1a2233;
}
.srp-refine-btn {
  background: #1976d2; color: #fff; border: none;
  padding: 0 16px; height: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.srp-refine-btn:hover { background: #0d47a1; }

/* ── Bara categorii ───────────────────────────────────────── */
.srp-cats-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; padding: 12px 0 14px;
  border-top: 1px solid #dde4f4;
}
.srp-cats-label {
  font-size: 12px; color: #6b7a8d;
  white-space: nowrap; flex-shrink: 0;
}
.srp-cats-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.srp-cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px;
  background: #fff; border: 1.5px solid #d4daf0;
  font-size: 12px; font-weight: 600; color: #2a3448;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.srp-cat-chip:hover {
  border-color: #1976d2; background: #e8f0fe; color: #1976d2;
}
.srp-cat-chip.active {
  background: #1976d2; border-color: #1976d2;
  color: #fff; box-shadow: 0 2px 8px rgba(25,118,210,.3);
}
.srp-cat-chip span {
  background: rgba(0,0,0,.08); border-radius: 10px;
  padding: 1px 6px; font-size: 11px; font-weight: 700;
}
.srp-cat-chip.active span { background: rgba(255,255,255,.25); }

/* ── No results ───────────────────────────────────────────── */
.srp-no-results {
  text-align: center; padding: 60px 20px;
}
.srp-no-results-ico { font-size: 56px; margin-bottom: 14px; }
.srp-no-results-title {
  font-size: 20px; font-weight: 800; color: #1a2233; margin-bottom: 8px;
}
.srp-no-results-sub {
  font-size: 13px; color: #8090a8; margin-bottom: 20px; line-height: 1.6;
}
.srp-no-results-tips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 24px;
}
.srp-tip {
  background: #f0f4ff; border: 1px solid #d0daf5;
  border-radius: 8px; padding: 8px 14px;
  font-size: 12px; color: #3a4a6b;
}
.srp-tip strong { color: #1976d2; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .srp-query-text { font-size: 19px; }
  .srp-refine-form { width: 100%; flex: 0 0 100%; }
  .srp-refine-input { width: 100%; }
  .srp-cats-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .srp-query-text { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════
   PROMO SLIDER HOMEPAGE — clase separate, nu afectează deals-slider din catalog
   .ps-outer / .ps-banner / .ps-img / .ps-title / .ps-btn / .ps-scroll
═══════════════════════════════════════════════════════════════ */
.ps-outer{
  display:flex;align-items:stretch;border-radius:20px;overflow:hidden;height:320px
}
/* Banner stânga 320×320 */
.ps-banner{
  flex-shrink:0;width:320px;height:100%;
  padding:18px 16px 20px;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;
  position:relative;overflow:hidden
}
/* Imaginea umple tot bannerul în spate */
.ps-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
  z-index:0
}
.ps-glow{display:none}
.ps-icon{
  position:relative;z-index:2;
  font-size:90px;font-weight:900;line-height:1;
  color:rgba(255,255,255,.15);font-family:Georgia,serif;
  pointer-events:none;user-select:none
}
/* Titlu sus */
.ps-title{
  position:relative;z-index:3;
  width:100%;margin:0;
  text-align:center;font-size:24px;font-weight:900;
  line-height:1.15;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5)
}
/* Buton jos */
.ps-btn{
  display:inline-block;padding:10px 20px;
  background:var(--ps-btn-color,#2563eb);
  color:var(--ps-btn-text,#fff) !important;
  border-radius:10px;font-size:13px;font-weight:700;
  text-decoration:none;position:relative;z-index:3;
  white-space:nowrap;transition:opacity .15s
}
.ps-btn:hover{opacity:.88}

/* Zona scroll dreapta */
.ps-scroll{
  flex:1;min-width:0;height:100%;position:relative;overflow:hidden
}
.ps-row{
  display:flex;align-items:stretch;gap:10px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
  padding:12px 44px 12px 14px;height:100%;box-sizing:border-box
}
.ps-row::-webkit-scrollbar{display:none}

/* Responsive */
@media(max-width:1024px){
  .ps-outer{height:300px}
  .ps-banner{width:280px}
  .ps-title{font-size:22px}
}
@media(max-width:900px){
  .ps-outer{height:280px}
  .ps-banner{width:240px}
  .ps-title{font-size:20px}
}
/* Mobile ≤640px: fără imagine, doar background + titlu + buton dedesubt */
@media(max-width:640px){
  .ps-outer{height:auto;flex-direction:column;border-radius:16px}
  .ps-banner{
    width:100%;height:auto;
    padding:18px 20px 16px;
    flex-direction:column;align-items:flex-start;justify-content:flex-start;
    border-bottom:1px solid rgba(255,255,255,.1)
  }
  .ps-img{display:none}
  .ps-glow{display:none}
  .ps-icon{display:none}
  .ps-title{
    position:static;transform:none;width:100%;
    margin:0 0 12px;padding:0;text-align:left;
    font-size:20px;pointer-events:auto
  }
  .ps-btn{
    position:static;transform:none;
    padding:11px 20px;font-size:13px;border-radius:10px
  }
  .ps-scroll{height:200px}
  .ps-row{padding:10px 12px 12px}
}
@media(max-width:400px){
  .ps-title{font-size:18px}
  .ps-btn{padding:10px 16px;font-size:12px}
  .ps-scroll{height:185px}
}
@media(max-width:360px){
  .ps-banner{padding:14px 16px 12px}
  .ps-title{font-size:16px;margin-bottom:10px}
  .ps-btn{padding:9px 14px;font-size:12px}
  .ps-scroll{height:176px}
}
