.bba-live-products,
.bba-live-products * {
  box-sizing: border-box;
}

.bba-live-products {
  --bba-live-ink: #1d130e;
  --bba-live-muted: #74665d;
  --bba-live-line: rgba(44, 28, 18, 0.14);
  --bba-live-paper: #fbf7f1;
  --bba-live-card: #fffdf9;
  --bba-live-accent: #c86a2e;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(72px, 8vw, 128px) 24px;
  color: var(--bba-live-ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(200, 106, 46, 0.1), transparent 28rem),
    var(--bba-live-paper);
  font-family: inherit;
}

.bba-live-products__shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.bba-live-products__header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--bba-live-line);
}

.bba-live-products__kicker {
  margin: 0 0 14px;
  color: var(--bba-live-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bba-live-products__header h2 {
  max-width: 800px;
  margin: 0;
  color: var(--bba-live-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.bba-live-products__description {
  margin: 0;
  color: var(--bba-live-muted);
  font-size: 15px;
  line-height: 1.75;
}

.bba-live-products__toolbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.bba-live-products__search {
  position: relative;
  display: block;
  width: min(420px, 100%);
}

.bba-live-products__search input {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--bba-live-line);
  border-radius: 999px;
  outline: 0;
  color: var(--bba-live-ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bba-live-products__search input:focus {
  border-color: var(--bba-live-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 106, 46, 0.1);
}

.bba-live-products__search b {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-53%);
  color: var(--bba-live-accent);
  font-size: 22px;
  font-weight: 500;
  pointer-events: none;
}

.bba-live-products__count {
  margin: 0;
  color: var(--bba-live-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bba-live-products__status {
  padding: 40px 24px;
  border: 1px solid var(--bba-live-line);
  border-radius: 18px;
  color: var(--bba-live-muted);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.bba-live-products__fallback {
  color: var(--bba-live-accent);
  font-weight: 800;
}

.bba-live-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bba-live-products__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bba-live-line);
  border-radius: 18px;
  background: var(--bba-live-card);
  box-shadow: 0 14px 40px rgba(38, 23, 14, 0.05);
  animation: bba-live-card-in 480ms both;
  animation-delay: calc(var(--bba-card-index, 0) * 35ms);
}

@keyframes bba-live-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.bba-live-products__card-link {
  display: flex;
  height: 100%;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}

.bba-live-products__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 228, 218, 0.72));
  place-items: center;
}

.bba-live-products__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(29, 19, 14, 0.06));
  content: '';
  pointer-events: none;
}

.bba-live-products__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.bba-live-products__card:hover .bba-live-products__media img {
  transform: scale(1.035);
}

.bba-live-products__number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  min-width: 42px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(29, 19, 14, 0.86);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  place-items: center;
}

.bba-live-products__placeholder {
  max-width: 120px;
  color: var(--bba-live-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.bba-live-products__body {
  display: flex;
  min-height: 190px;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.bba-live-products__body h3 {
  margin: 0;
  color: var(--bba-live-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.bba-live-products__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: var(--bba-live-muted);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bba-live-products__price {
  margin-top: 14px;
  color: var(--bba-live-ink);
  font-size: 14px;
  font-weight: 800;
}

.bba-live-products__price del {
  margin-right: 6px;
  color: var(--bba-live-muted);
  font-weight: 500;
}

.bba-live-products__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--bba-live-line);
  color: var(--bba-live-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bba-live-products__action b {
  color: var(--bba-live-accent);
  font-size: 18px;
  transition: transform 180ms ease;
}

.bba-live-products__card:hover .bba-live-products__action b {
  transform: translate(3px, -3px);
}

.bba-live-products__actions {
  display: flex;
  justify-content: center;
  padding-top: 36px;
}

.bba-live-products__more {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--bba-live-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.bba-live-products__more:hover {
  transform: translateY(-2px);
  background: var(--bba-live-accent);
}

.bba-live-products__actions[hidden],
.bba-live-products__more[hidden] {
  display: none !important;
}

/* Katalóguskártyák */
.bba-catalogs,
.bba-catalogs * {
  box-sizing: border-box;
}

.bba-catalogs {
  --bba-catalog-ink: #21140e;
  --bba-catalog-muted: #74655c;
  --bba-catalog-line: rgba(49, 29, 18, 0.14);
  --bba-catalog-paper: #f4eadf;
  --bba-catalog-card: #fffaf4;
  --bba-catalog-accent: #c96f32;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 8vw, 124px) 24px;
  color: var(--bba-catalog-ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(201, 111, 50, 0.13), transparent 28rem),
    var(--bba-catalog-paper);
  font-family: inherit;
}

.bba-catalogs__shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.bba-catalogs__header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--bba-catalog-line);
}

.bba-catalogs__kicker {
  margin: 0 0 13px !important;
  color: var(--bba-catalog-accent) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.bba-catalogs__header h2 {
  margin: 0;
  color: var(--bba-catalog-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.bba-catalogs__header > p {
  margin: 0;
  color: var(--bba-catalog-muted);
  font-size: 15px;
  line-height: 1.75;
}

.bba-catalogs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: clamp(34px, 5vw, 58px);
}

.bba-catalogs--count-1 .bba-catalogs__grid {
  max-width: 650px;
  grid-template-columns: 1fr;
}

.bba-catalogs--count-2 .bba-catalogs__grid {
  max-width: 880px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bba-catalogs__card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bba-catalog-line);
  border-radius: 18px;
  background: var(--bba-catalog-card);
  box-shadow: 0 16px 44px rgba(42, 24, 14, 0.06);
  grid-template-columns: minmax(138px, 40%) minmax(0, 1fr);
}

.bba-catalogs__cover {
  display: grid;
  min-height: 310px;
  overflow: hidden;
  background: linear-gradient(145deg, #eee3d8, #faf5ef);
  place-items: center;
}

.bba-catalogs__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.bba-catalogs__card:hover .bba-catalogs__cover img {
  transform: scale(1.025);
}

.bba-catalogs__placeholder {
  color: var(--bba-catalog-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bba-catalogs__placeholder--online {
  display: grid;
  gap: 12px;
  padding: 28px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-align: center;
  background: linear-gradient(145deg, #171717, #302421);
}

.bba-catalogs__placeholder--online small {
  color: #df9c56;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.bba-catalogs__body {
  display: flex;
  min-width: 0;
  padding: 25px 23px;
  flex-direction: column;
}

.bba-catalogs__meta {
  margin: 0 0 14px !important;
  color: var(--bba-catalog-accent) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.bba-catalogs__body h3 {
  margin: 0;
  color: var(--bba-catalog-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.bba-catalogs__summary {
  margin: 14px 0 24px !important;
  color: var(--bba-catalog-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.bba-catalogs__actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.bba-catalogs__actions a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--bba-catalog-line);
  color: var(--bba-catalog-ink);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.bba-catalogs__actions a:first-child {
  border-color: var(--bba-catalog-ink);
  color: #fff;
  background: var(--bba-catalog-ink);
}

.bba-catalogs__actions a:hover {
  border-color: var(--bba-catalog-accent);
  color: #fff;
  background: var(--bba-catalog-accent);
}

.bba-catalogs__all {
  margin: 34px 0 0 !important;
}

.bba-catalogs__all a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bba-catalog-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.bba-catalogs__all a span {
  color: var(--bba-catalog-accent);
  font-size: 18px;
}

.bba-live-products__sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .bba-live-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bba-catalogs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bba-live-products { padding: 64px 18px; }
  .bba-live-products__header { grid-template-columns: 1fr; gap: 22px; }
  .bba-live-products__toolbar { align-items: stretch; flex-direction: column; }
  .bba-live-products__search { width: 100%; }
  .bba-live-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bba-live-products__body { min-height: 170px; padding: 17px; }
  .bba-live-products__body h3 { font-size: 22px; }
  .bba-catalogs { padding: 64px 18px; }
  .bba-catalogs__header { grid-template-columns: 1fr; gap: 20px; }
  .bba-catalogs__grid,
  .bba-catalogs--count-2 .bba-catalogs__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .bba-live-products__grid { grid-template-columns: 1fr; }
  .bba-live-products__media { aspect-ratio: 4 / 4.3; }
  .bba-catalogs__card { grid-template-columns: minmax(118px, 37%) minmax(0, 1fr); }
  .bba-catalogs__cover { min-height: 290px; }
  .bba-catalogs__body { padding: 20px 17px; }
  .bba-catalogs__summary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bba-live-products__card { animation: none; }
  .bba-live-products__media img,
  .bba-live-products__action b,
  .bba-live-products__more,
  .bba-catalogs__cover img,
  .bba-catalogs__actions a { transition: none; }
}
