/* Catalog shared styles (RO/EN/HU) */
.catalog-filter-bar {
  max-width: 1100px;
  margin: 12px auto 6px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(44, 46, 50, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}
.filter-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-label {
  color: var(--text-1);
  font-size: 13px;
  letter-spacing: 0.3px;
}
.filter-breadcrumb {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gold-0);
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}
.filter-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text-0);
  font-size: 14px;
}
.filter-select.small {
  width: auto;
  min-width: 120px;
}
.filter-search {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text-0);
  font-size: 13px;
  min-width: 180px;
}
.filter-search::placeholder {
  color: rgba(184, 188, 194, 0.7);
}
.filter-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.filter-row-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.filter-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text-0) !important;
  font-size: 13px;
  font-weight: 600;
  min-width: 72px;
  text-align: center;
  cursor: pointer;
}
.filter-btn.primary {
  border-color: rgba(191,159,105,.6);
  color: var(--gold-0) !important;
  background: rgba(191,159,105,.08);
  box-shadow: 0 0 0 2px rgba(191,159,105,.12) inset;
}
.filter-btn.ghost {
  color: var(--text-0) !important;
  opacity: 0.85;
}
.catalog-filter-meta {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-1);
}

/* SEO intro block – same layout, just a short text under H1 */
.catalog-intro {
  max-width: 1100px;
  margin: 12px auto 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at 0 0, rgba(191,159,105,0.16) 0, transparent 55%), rgba(20,22,26,0.96);
  color: var(--text-0);
}
.catalog-intro h2 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-0);
}
.catalog-intro p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-1);
}
@media (max-width: 768px) {
  .catalog-intro {
    margin-top: 8px;
    padding: 12px 12px;
  }
}
.filter-chips {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 0 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text-1);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip.active {
  color: var(--gold-0);
  border-color: rgba(191,159,105,.7);
  box-shadow: 0 0 0 2px rgba(191,159,105,.12) inset;
}
.filter-chip.secondary {
  opacity: 0.7;
}
.filter-note {
  color: var(--gold-0);
}
@media (max-width: 768px) {
  .catalog-filter-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    position: sticky;
    top: 64px; /* sub header; nu schimbă layout-ul, doar o fixează la scroll */
    z-index: 30;
  }
  .filter-right {
    justify-content: flex-start;
  }
  .filter-row-secondary {
    flex-direction: row;
    justify-content: flex-start;
  }
  .filter-search {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
  .catalog-filter-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-select { font-size: 16px; min-height: 44px; }
  .filter-btn { font-size: 14px; padding: 12px 14px; min-height: 44px; }
  /* Mobile: avoid 2 selects squished on one row */
  .filter-row-secondary {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-row-secondary .filter-select.small {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .catalog-filter-bar {
    padding: 10px 12px;
  }
  .filter-right {
    width: 100%;
  }
  .filter-select.small {
    width: 100%;
  }
}

/* Extra-small phones: prevent horizontal overflow from grid min-width */
@media (max-width: 380px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
  .catalog-list {
    padding: 0 12px;
  }
  .catalog-controls {
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  .filter-chips { gap: 6px; }
  .filter-chip { font-size: 11px; padding: 5px 8px; }
}
.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.color-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  white-space: nowrap;
}

.color-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  background: var(--chip-color, #bbb);
  border: 1px solid var(--chip-border, rgba(255, 255, 255, 0.35));
}

.product-title,
.product-card .product-title,
.product-list-colors-label,
.pdf-product-colors-label {
  color: var(--gold-0) !important;
}

.product-title {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.product-description,
.catalog-header-title p,
.catalog-header-contact span {
  color: var(--text-1);
}

/* CALL BUTTON – desktop: auriu; mobil: aceeași formă ca WhatsApp / Cere ofertă, colorat (albastru apel) */
.btnCall{
  background: var(--gold-0);
  color: #1A1C1E !important;
  border: 1px solid var(--gold-0);
  flex: 1;
  min-width: 0;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
  font-weight: 600;
}
.btnCall:hover,
.btnCall:active,
.btnCall:focus{
  border-color: var(--gold-0);
  filter: none;
  outline: none;
  color: #1A1C1E !important;
}
.btnCall:hover { background: var(--gold-0); transform: scale(1.03); }
.btnCall:focus { background: var(--gold-0); }
/* Butonul Sună de sub produse – text mereu vizibil pe mobil */
.prodActions .btnCall {
  color: #1A1C1E !important;
}
.prodActions .btnCall:hover,
.prodActions .btnCall:active {
  color: #1A1C1E !important;
}

.product-essence,
.product-list-essence {
  font-size: 13px;
  color: var(--text-1);
  margin: 6px 0 10px;
}
.product-essence strong,
.product-list-essence strong {
  color: var(--gold-0);
}

.view-toggle { display: none !important; }
.catalog-list { display: none !important; }
.catalog-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-card-gap); }
.catalog-grid.hidden { display: grid !important; }
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}
@media (min-width: 1441px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card.gama-twx { background: rgba(44, 46, 50, 0.9); }
.product-card.gama-economica { background: rgba(38, 40, 44, 0.9); }
.product-card.gama-premium { background: rgba(52, 54, 60, 0.92); }
.product-gama {
  font-size: 12px;
  color: var(--text-1);
  margin-top: 6px;
}
.product-gama strong { color: var(--gold-0); }
.product-video-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(191,159,105,.12);
  color: var(--gold-0);
  font-size: 12px;
  text-decoration: none;
}

.catalogOfferPanel {
  max-width: 1100px;
  margin: 12px auto 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  /* Mai vizibil decât rgba(255,255,255,.03) – altfel chenarul pare „gol” pe unele ecrane / culori brand */
  background:
    radial-gradient(circle at 0 0, rgba(191, 159, 105, 0.14) 0, transparent 52%),
    rgba(20, 22, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.offerPanelText {
  flex: 1 1 260px;
  min-width: 0;
}
.catalogB2cWrap {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 18px;
}
.catalogB2cBox {
  background: linear-gradient(135deg, rgba(191,159,105,.15), rgba(191,159,105,.05));
  border: 1px solid rgba(191,159,105,.3);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.catalogB2cText {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}
.catalogB2cActions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.catalogB2cBtn {
  padding: 12px 24px;
  background: rgba(191,159,105,.2);
  border: 1px solid rgba(191,159,105,.5);
  border-radius: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.catalogB2cBtn.wa {
  background: rgba(37,211,102,.2);
  border-color: rgba(37,211,102,.5);
  color: #25D366;
}
.catalogDownloadActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.catalogOfferPanel h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--gold-0, #c9a962);
}
.catalogOfferPanel p {
  margin: 0;
  font-size: 13px;
  color: var(--text-1, #c8ccd2);
  line-height: 1.45;
}
.catalogOfferPanel p a {
  color: var(--gold-0, #c9a962);
  text-decoration: underline;
}
.catalogOfferPanel p a:hover {
  filter: brightness(1.08);
}
.offerPanelActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* Guardrail: daca tema/override extern ascunde elementele bannerului, le readucem explicit */
.catalogOfferPanel .offerPanelText,
.catalogOfferPanel .offerPanelActions {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.catalogOfferPanel .offerPanelText {
  flex-direction: column;
}
.catalogOfferPanel h3,
.catalogOfferPanel p,
.catalogOfferPanel .offerPanelActions .btn {
  visibility: visible !important;
  opacity: 1 !important;
}

.prodCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #1e2328 0%, #1a1f24 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}
.prodLink {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.prodLink:hover .prodCard,
.prodLink:focus-visible .prodCard {
  box-shadow: 0 0 0 1px rgba(148,163,255,0.4), 0 0 24px rgba(56,189,248,0.65), 0 24px 50px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.prodMedia {
  position: relative;
  width: 100%;
  height: 310px;
  padding: 12px;
  background: linear-gradient(180deg, #15171b 0%, #0f1114 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prodMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none;
}
.prodImg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
  background: #2c2f33;
}

/* Tabletă */
@media (max-width: 1024px) {
  .prodMedia {
    height: 280px;
    padding: 12px;
  }
}

/* Mobil: aspect 4:3 proporțional, evită imaginile turtite */
@media (max-width: 768px) {
  .prodMedia {
    height: auto;
    min-height: 260px;
    aspect-ratio: 4 / 3;
    padding: 10px;
  }
}
.prodImgMissing {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gold-0);
  font-size: 11px;
  letter-spacing: 0.6px;
}
.prodBadge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 10px;
}
.prodBody {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  gap: 12px;
}
.prodTop { display: flex; flex-direction: column; gap: 6px; }
.prodTitle {
  margin: 0;
  font-size: 17px;
  color: var(--gold-0);
  line-height: 1.25;
  max-height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  border-bottom: 1px solid rgba(212,175,55,.3);
  padding-bottom: 6px;
}
.prodMeta {
  font-size: 11px;
  color: var(--text-1);
  line-height: 1.35;
}
.prodOneLine {
  font-size: 11px;
  color: var(--text-1);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  letter-spacing: .15px;
}
.prodColorsWrap {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}
.prodColors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--text-1);
  margin-top: 8px;
}
.colorMore {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--text-1);
}
.colorMoreLink {
  background: transparent;
  border: 0;
  color: rgba(212,175,55,.9);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 6px;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 4px;
}
.colorMoreLink:hover {
  text-decoration: underline;
  opacity: 1;
}
.colorPopover {
  position: fixed;
  z-index: 9999;
  min-width: 220px;
  max-width: 320px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(18,20,24,.96);
  border: 1px solid rgba(212,175,55,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.colorPopover .colorChip {
  margin: 4px 6px 0 0;
}
.colorChip {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--text-0);
  transition: border-color 0.2s ease;
}
.colorChip:hover {
  border-color: rgba(212,175,55,.5);
}
.prodActions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}
.prodActions .btn{
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.prodActions .btn.btn-secondary,
.prodActions .btn.btnWA,
.prodActions .btnCall{
  border-radius: 12px;
}
.btn.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-0);
  flex: 1;
  min-width: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease, border-color .2s ease;
}
.btn.btnWA {
  background: rgba(37,211,102,0.22);
  border: 1px solid rgba(37,211,102,0.55);
  color: #25D366;
  flex: 1;
  min-width: 0;
  transition: transform .15s ease, border-color .2s ease;
}
.iconCall {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(191,159,105,0.35);
  background: rgba(0,0,0,0.35);
  color: var(--gold-0);
  flex: 0 0 36px;
  text-decoration: none;
}
.prodBottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn.btnWA:hover,
.btn.btn-secondary:hover,
.iconCall:hover {
  transform: scale(1.03);
}

/* Product cards rendered by JS (grid) – refine spacing & typography */
.product-card{
  border-radius: 18px;
}
.product-content{
  padding: 14px 14px 12px;
}
.product-card .product-title{
  margin: 10px 0 8px;
  letter-spacing: .2px;
}
.product-card .product-description,
.product-list-description{
  line-height: 1.55;
  letter-spacing: .12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.product-image-wrapper{
  border-radius: 16px;
  overflow: hidden;
}

/* Buttons: consistent height and nicer wrap on small screens */
@media (max-width: 768px){
  .prodActions{ flex-wrap: wrap; }
  .prodActions .btn{ flex: 1 1 calc(50% - 6px); }
  .prodActions .btnCall{ flex: 1 1 100%; }
}

@media (max-width: 768px) {
  .catalogOfferPanel {
    flex-direction: column;
    align-items: flex-start;
  }
  .offerPanelActions { width: 100%; }
  .offerPanelActions .btn { flex: 1; }
  /* Sună – text vizibil pe mobil: contrast ridicat (text închis pe fundal albastru deschis) */
  .offerPanelActions .btnCall {
    background: rgba(14, 165, 233, 0.35);
    border: 1px solid rgba(14, 165, 233, 0.7);
    color: #0c4a6e !important;
    font-weight: 600;
    font-size: 15px;
  }
  .offerPanelActions .btnCall:hover,
  .offerPanelActions .btnCall:active {
    background: rgba(14, 165, 233, 0.5);
    color: #075985 !important;
    transform: scale(1.03);
  }
}
@media (max-width: 520px) {
  .catalogOfferPanel {
    padding: 12px 12px;
  }
  .offerPanelActions {
    flex-direction: column;
  }
  .offerPanelActions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .prodBody { padding: 14px; }
  .prodTitle { font-size: 16px; }
  .prodMeta, .prodOneLine { font-size: 11px; }
  .prodActions { gap: 6px; }
  .btn.btn-secondary, .btn.btnWA { font-size: 12px; padding: 8px 10px; min-height: 44px; }
  .offerPanelActions .btnCall { font-size: 14px !important; padding: 10px 12px; min-height: 44px; }
  .prodActions .btnCall { font-size: 14px !important; padding: 10px 12px; min-height: 44px; color: #1A1C1E !important; }
  .iconCall { width: 34px; height: 34px; flex-basis: 34px; }
}

@media (max-width: 520px) {
  .prodActions {
    flex-wrap: wrap;
  }
  .btn.btn-secondary,
  .btn.btnWA,
  .prodActions .btnCall,
  .offerPanelActions .btnCall {
    flex: 1 1 100%;
  }
  .prodActions .btnCall {
    color: #1A1C1E !important;
  }
  .iconCall {
    order: 3;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .prodBody { padding: 16px; }
  .prodTitle { font-size: 17px; }
}

.color-white { --chip-color: #ffffff; --chip-border: #bdbdbd; }
.color-black { --chip-color: #111111; }
.color-brown { --chip-color: #7b4a22; }
.color-mahogany { --chip-color: #6b2b26; }
.color-walnut { --chip-color: #5b3a29; }
.color-oak { --chip-color: #b8895b; }
.color-beech { --chip-color: #c8a77a; }
.color-burgundy { --chip-color: #7a1e1e; }
.color-gray { --chip-color: #8b8b8b; }
.color-degrade-light::before {
  background: linear-gradient(135deg, #f3e3c5, #caa46a);
}
.color-degrade-dark::before {
  background: linear-gradient(135deg, #7a4a2a, #2a1a12);
}
.color-degrade::before {
  background: linear-gradient(135deg, #e2c9a1, #7a4a2a);
}

@media (max-width: 700px) {
  .color-item {
    padding: 5px 10px;
    font-size: 13px;
  }
}

/* Legacy catalog layout styles (shared) */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  scroll-behavior:smooth;
  line-height:1.6;
  overflow-x:hidden;
  width:100%;
  max-width:100%;
}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:18px}

/* HEADER - Reused from theme-industrial; meniu mobil mereu deasupra conținutului */
.topbar{
  position:sticky;top:0;z-index:1001;
  isolation:isolate;
  background:rgba(44,46,50,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar .container.nav{
  overflow:visible;
}
.topbar .mobile-menu-btn{
  position:relative;
  z-index:3;
  color:rgba(255,255,255,.92);
  -webkit-tap-highlight-color:transparent;
  tap-highlight-color:transparent;
}
.topbar .mobile-menu-btn:hover{
  color:var(--gold-0);
}
.topbar .mobile-menu-btn:active{
  background:rgba(255,255,255,.1);
  color:var(--gold-0);
}
.topbar .mobile-menu-btn:focus:not(:focus-visible){
  outline:none;
}
.topbar .mobile-menu{
  display:none;
}
.topbar .mobile-menu.active{
  display:block !important;
  position:relative;
  z-index:2;
  background:rgba(44,46,50,.98);
  pointer-events:auto;
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px}
.brand img{
  width:46px;height:46px;border-radius:14px;
  object-fit:contain;background:#000;cursor:zoom-in
}
.small{font-size:12px;color:var(--muted)}
.menu{display:flex;gap:14px}
.menu a{padding:10px 14px;border-radius:14px;color:var(--muted)}
.menu a:hover{background:rgba(255,255,255,.06);color:var(--text)}
.menu a.active{color:var(--gold)}
.lang{display:flex;gap:8px}
.lang a{border:1px solid var(--line);padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04)}

/* MOBILE MENU – stil global în theme-industrial.css */

/* CATALOG PAGE HEADER - PDF Style */
.catalog-header-section{
  max-width:1100px;
  margin:0 auto;
  padding:40px 18px 30px;
  border-bottom:1px solid var(--line);
  margin-bottom:30px;
}
.catalog-header-logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  margin-bottom:40px;
  text-align:center;
}
.catalog-header-logo img{
  width:120px;
  height:120px;
  object-fit:contain;
}
.catalog-header-company{
  font-size:22px;
  font-weight:700;
  color:var(--text);
  margin-bottom:4px;
}
.catalog-header-contact{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin:0 auto;
  font-size:14px;
  color:var(--muted);
  justify-content:center;
  text-align:center;
}
.catalog-header-contact span{
  display:flex;
  align-items:center;
  gap:6px;
  justify-content:center;
}
.catalog-header-title{
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.catalog-header-title h1{
  margin:0 0 8px;
  font-size:28px;
  color:var(--gold);
}
.catalog-header-title p{
  color:var(--muted);
  margin:0;
  font-size:16px;
}

.trust-block{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--text);
  margin-top: var(--space-2xl);
}

.trust-block h3{
  color: var(--gold-0);
  margin-top: 0;
}

.trust-block p{
  color: var(--text-1);
  margin: 0;
}

/* CATEGORY TABS */
.category-tabs{
  display:flex;
  gap:8px;
  margin:30px auto 20px;
  max-width:1100px;
  padding:0 18px;
  overflow-x:auto;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.category-tabs::-webkit-scrollbar{
  height:4px;
}
.category-tabs::-webkit-scrollbar-thumb{
  background:var(--line);
  border-radius:2px;
}
.category-tab{
  padding:12px 24px;
  border:none;
  background:var(--card);
  color:var(--text);
  border-radius:12px;
  cursor:pointer;
  font-size:15px;
  font-weight:500;
  transition:all 0.3s ease;
  white-space:nowrap;
  border:1.5px solid var(--line);
  position:relative;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.category-tab:hover{
  background:var(--bg-alt);
  border-color:var(--gold-light);
  color:var(--gold-dark);
}
.category-tab.active{
  background:var(--gold);
  color:#ffffff;
  border-color:var(--gold);
  box-shadow:0 2px 8px rgba(184,149,106,0.3);
  font-weight:600;
}
.category-tab.active::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:50%;
  transform:translateX(-50%);
  width:40%;
  height:3px;
  background:var(--gold-dark);
  border-radius:2px;
}
.category-tab:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
}

/* VIEW TOGGLE & CONTROLS */
.catalog-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:20px auto 30px;
  max-width:1100px;
  padding:0 18px;
  flex-wrap:wrap;
  gap:15px;
}
.catalog-controls-left{
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
}
.view-toggle{
  display:flex;
  gap:8px;
  background:rgba(255,255,255,.05);
  padding:4px;
  border-radius:12px;
  align-items:center;
}
.view-toggle button{
  padding:8px 16px;
  border:none;
  background:transparent;
  color:var(--muted);
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
  transition:all 0.2s;
  height:100%;
  display:flex;
  align-items:center;
}
.view-toggle button.active{
  background:var(--gold);
  color:#000;
  font-weight:600;
}
.download-btn{
  padding:12px 24px;
  border-radius:16px;
  font-weight:700;
  border:1px solid rgba(191,159,105,.55);
  background:rgba(191,159,105,.12);
  color:var(--gold);
  cursor:pointer;
  font-size:14px;
  transition:all 0.2s;
}
.download-btn.alt{
  background: var(--bg-alt);
  color: var(--text);
  border: 1.5px solid var(--line);
}
.download-btn:hover{
  background:rgba(191,159,105,.2);
}

/* GRID VIEW */
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
  gap:24px;
  margin:30px auto;
  max-width:1100px;
  padding:0 18px;
}
.product-card{
  background:var(--card);
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  transition:all 0.3s ease;
}
.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(0,0,0,.25);
  border-color:rgba(191,159,105,.4);
}
.product-image-wrapper{
  position:relative;
  overflow:hidden;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  background:rgba(0,0,0,.2);
}
.product-image{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  transition:transform 0.3s ease;
  cursor:zoom-in;
}

/* Mobil: aspect 4:3 proporțional, mai mult spațiu pentru poze (evită turtirea) */
@media (max-width: 768px) {
  .product-image-wrapper {
    min-height: 220px;
    aspect-ratio: 4 / 3;
    background: rgba(0,0,0,.15);
  }
  .product-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

.product-card:hover .product-image{
  transform:scale(1.04);
}
.product-card--focused {
  box-shadow: 0 0 0 2px rgba(221, 184, 116, 0.55), 0 18px 38px rgba(0,0,0,0.22);
  transform: translateY(-2px);
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-image-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.45), transparent);
  opacity:0;
  transition:opacity .3s;
}
.product-card:hover .product-image-overlay{
  opacity:1;
}
.product-category-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:rgba(0,0,0,.55);
  padding:6px 10px;
  border-radius:10px;
  font-size:12px;
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
}
.product-content{
  padding:16px;
}

/* LIST VIEW (still in DOM for PDF template) */
.catalog-list{
  max-width:1100px;
  margin:30px auto;
  padding:0 18px;
}
.product-list-item{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:18px;
  padding:18px;
  border-radius:18px;
  background:var(--card);
  border:1px solid var(--line);
  margin-bottom:18px;
}
.product-list-image{
  width:100%;
  height:140px;
  object-fit:contain;
  border-radius:12px;
  cursor:zoom-in;
}

@media (max-width: 768px) {
  .product-list-item {
    grid-template-columns: 1fr;
  }
  .product-list-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
    background: rgba(0,0,0,.15);
  }
}

.product-list-content h2{
  margin:0 0 6px;
  font-size:20px;
}
.product-list-code{
  display:inline-block;
  background:rgba(255,255,255,.06);
  border-radius:8px;
  padding:4px 8px;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.product-list-description{
  color:var(--muted);
  margin:8px 0 10px;
}
.product-list-colors{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* IMG MODAL */
.img-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}
.img-modal img{
  max-width:90vw;
  max-height:90vh;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
.img-modal.active{display:flex}

/* Lead capture modal */
.lead-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:10000;
  padding:18px;
}
.lead-modal.active{display:flex}
.lead-modal-content{
  width:min(460px, 92vw);
  background:var(--bg-1);
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  box-shadow:0 16px 40px rgba(0,0,0,.45);
  position:relative;
}
.lead-modal-content h3{
  margin:0 0 6px;
  color:var(--gold-0);
}
.lead-modal-content p{
  margin:0 0 14px;
  color:var(--text-1);
  font-size:14px;
}
.lead-modal-content label{
  display:block;
  font-size:13px;
  color:var(--text-1);
  margin:10px 0 6px;
}
.lead-modal-content input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--bg-0);
  color:var(--text-0);
}
.lead-modal-content .lead-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.lead-company-row{
  display:none;
}
.footer-nap{
  margin-bottom:20px;
}
.footer-links{
  margin-top:20px;
  text-align:center;
}
.footer-links a{
  color:var(--gold);
  margin:0 10px;
}
.footer-links.secondary{
  margin-top:15px;
}
.filter-btn.ghost.is-hidden{
  display:none;
}
.lead-modal-content .lead-actions button{
  flex:1 1 auto;
}
.lead-close{
  position:absolute;
  top:8px;
  right:10px;
  background:none;
  border:none;
  color:var(--text-1);
  font-size:20px;
  cursor:pointer;
}
.lead-error{
  margin-top:8px;
  font-size:13px;
  color:#ffbdb3;
}

/* PDF TEMPLATE (hidden, used for render) */
.pdf-template{
  width: 800px;
  padding: 24px;
  background: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  display: none;
}
.pdf-header{
  text-align: center;
  margin-bottom: 20px;
}
.pdf-logo{
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.pdf-company{
  font-size: 22px;
  font-weight: bold;
  margin-top: 6px;
}
.pdf-subtitle{
  font-size: 14px;
  margin-top: 4px;
}
.pdf-contact{
  font-size: 12px;
  margin-top: 6px;
}
.pdf-product{
  margin: 10px 0;
}
.pdf-product-title{
  font-size: 16px;
  font-weight: bold;
}
.pdf-product-description{
  font-size: 12px;
}
.pdf-product-image{
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  margin-top: 6px;
}
.pdf-product-colors-label{
  font-size: 12px;
  margin-top: 6px;
}
.pdf-product-colors-chips{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.pdf-product-colors-chip{
  font-size: 10px;
  padding: 4px 8px;
}
.pdf-separator{
  border-bottom:1px solid #e0e0e0;
  margin:12px 0;
}
.pdf-footer{
  text-align:center;
  margin-top:12px;
}
.pdf-qr{
  width:90px;
  height:90px;
}

@media (max-width: 768px) {
  .category-tabs{padding:0 12px}
  .catalog-grid{grid-template-columns:repeat(auto-fill, minmax(260px, 1fr))}
  .product-image-wrapper{min-height:220px;aspect-ratio:4/3}
  .product-list-item{grid-template-columns:1fr}
  .product-list-image{height:220px;min-height:200px;object-fit:contain}
  .container, .page, .layout, .wrapper, main, section{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:16px;
    padding-right:16px;
  }
}

@media (max-width: 480px) {
  .catalog-header-section{padding:28px 14px}
  .catalog-header-logo img{width:96px;height:96px}
  .category-tab{padding:10px 16px;font-size:14px}
  .download-btn{padding:10px 16px;font-size:13px}
  .catalog-controls{padding:0 12px}
  .catalog-grid{grid-template-columns:1fr}
  .product-image-wrapper{min-height:240px;aspect-ratio:4/3}
  .product-list-image{height:240px;min-height:200px;object-fit:contain}
}
