/* ISOLITE CATALOG LIBRARY */
.catalogs-page,
.catalog-viewer-page{background:#f7f9fa;color:#1b2a3e}
.catalog-hero{padding:74px 0 66px;background:linear-gradient(135deg,#f7f9fa 0%,#eef8f2 100%);border-bottom:1px solid #dfe5e9}
.catalog-breadcrumb{display:flex;align-items:center;gap:9px;color:#7b8794;font-size:12px;margin-bottom:34px}
.catalog-breadcrumb a:hover{color:#10a95d}
.catalog-breadcrumb strong{color:#0a2f5c}
.catalog-hero-grid{display:grid;grid-template-columns:1fr auto;gap:60px;align-items:end}
.catalog-hero h1{margin:0;color:#0a2f5c;font-size:clamp(52px,6vw,86px);line-height:.94;letter-spacing:-.055em}
.catalog-hero p{max-width:720px;margin:24px 0 0;color:#657386;font-size:17px;line-height:1.72}
.catalog-count{min-width:185px;padding:27px;border:1px solid #d9e4df;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(10,47,92,.05)}
.catalog-count strong{display:block;color:#10a95d;font-size:56px;line-height:1}
.catalog-count span{display:block;margin-top:8px;color:#657386;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.catalog-library{padding:72px 0 100px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.catalog-card{overflow:hidden;border:1px solid #dfe5e9;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(10,47,92,.045);transition:.22s ease}
.catalog-card:hover{transform:translateY(-5px);border-color:#bddfca;box-shadow:0 20px 42px rgba(10,47,92,.09)}
.catalog-art{aspect-ratio:16/9;background:#eef5f2;overflow:hidden}
.catalog-art svg{width:100%;height:100%;display:block}
.catalog-card-copy{padding:24px}
.catalog-card-copy>span{color:#10a95d;font-size:10px;font-weight:850;letter-spacing:.14em}
.catalog-card-copy h2{margin:10px 0 9px;color:#0a2f5c;font-size:22px;line-height:1.13;letter-spacing:-.03em}
.catalog-card-copy p{min-height:47px;margin:0 0 25px;color:#657386;font-size:13px;line-height:1.65}
.catalog-card-copy b{display:flex;justify-content:space-between;color:#0a2f5c;font-size:12px}
.catalog-entry{display:grid;grid-template-columns:1fr .85fr;gap:70px;align-items:center;padding:45px;border:1px solid #dfe5e9;border-radius:26px;background:linear-gradient(135deg,#fff,#f3faf6);box-shadow:0 14px 35px rgba(10,47,92,.05)}
.catalog-entry-copy h2{margin:7px 0 17px;color:#0a2f5c;font-size:clamp(38px,4vw,58px);line-height:1;letter-spacing:-.045em}
.catalog-entry-copy p{max-width:660px;margin:0 0 25px;color:#657386;line-height:1.72}
.catalog-entry-visual{position:relative;min-height:310px}
.catalog-stack-card{position:absolute;width:230px;height:285px;padding:24px;border-radius:20px;background:#fff;border:1px solid #dfe5e9;box-shadow:0 22px 50px rgba(10,47,92,.12);display:flex;flex-direction:column;justify-content:space-between}
.catalog-stack-card span{color:#10a95d;font-weight:850;font-size:12px}
.catalog-stack-card strong{color:#0a2f5c;font-size:28px;letter-spacing:-.04em}
.catalog-stack-card.c1{left:4%;top:18px;transform:rotate(-7deg)}
.catalog-stack-card.c2{left:30%;top:0;z-index:2}
.catalog-stack-card.c3{left:56%;top:24px;transform:rotate(7deg)}

.catalog-card-main{
  display:block;
  color:inherit;
  text-decoration:none;
}
.catalog-download{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 24px 22px;
  padding:11px 14px;
  border:1px solid #dfe5e9;
  border-radius:10px;
  color:#0a2f5c;
  background:#f9fbfb;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  transition:.18s ease;
}
.catalog-download:hover{
  border-color:#b8dcc6;
  background:#eef8f2;
  color:#07874a;
}
.catalog-download span{
  color:#10a95d;
  font-size:14px;
}


/* Odoo-managed View/Download actions inside the original catalog cards. */
.barakeh-catalog-file-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 22px;
}
.barakeh-catalog-file-actions .catalog-download {
  margin: 0;
  justify-content: center;
  text-align: center;
  min-width: 0;
  font-size: 11px;
}
.barakeh-extra-catalog-art {
  display: grid;
  place-items: center;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -.04em;
  font-weight: 800;
  color: #0a2f5c;
  background: linear-gradient(135deg, #eff9f3, #edf1f7);
}
@media (max-width: 420px) {
  .barakeh-catalog-file-actions { grid-template-columns: 1fr; }
}
