@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda Fa";
  src: url("../fonts/Peyda-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #0033cc;
  --secondary: #ff8000;
  --cyan: #4dc3ff;
  --bg: #f6f6f6;
  --white: #fff;
  --text: #303030;
  --muted: #717171;
  --border: #eeeeee;
  --danger: #c0392b;
  --ok: #1f8a4c;
  --font: "Peyda Fa", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: ltr;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 20px; }
.top {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top a { color: #fff; margin-left: 12px; opacity: .95; }
.top a:hover { color: #ffd7a8; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 5px 20px rgba(23,44,82,.08);
  margin-bottom: 16px;
}
h1,h2 { margin: 0 0 12px; color: #1f1f25; }
.muted { color: var(--muted); font-size: 13px; }
.btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--primary);
  color: #fff !important;
  cursor: pointer;
  font: inherit;
}
.btn:hover { background: var(--secondary); }
.btn-secondary { background: #5a6a89; }
.btn-danger { background: var(--danger); }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.flash {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.flash.ok { background: #e8f7ee; color: var(--ok); }
.flash.err { background: #fdecea; color: var(--danger); }
label { display: block; margin: 10px 0 4px; font-weight: 700; }
input[type=text], input[type=password], input[type=number], textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
}
.table th { font-size: 13px; color: var(--muted); }
.thumb {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.login-box {
  max-width: 420px; margin: 8vh auto; background: #fff;
  padding: 28px; border-radius: 14px; border-top: 4px solid var(--secondary);
  box-shadow: 0 10px 36px rgba(13,38,59,.12);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }

/* PDF block inside admin */
.catalog-pdf-cta {
  margin: 0 0 18px;
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(0, 51, 204, 0.06), rgba(255, 128, 0, 0.08)),
    #fff;
  box-shadow: 0 5px 20px rgba(23, 44, 82, 0.08);
  border: 1px solid rgba(0, 51, 204, 0.12);
  overflow: hidden;
}
.catalog-pdf-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 28px;
}
.catalog-pdf-cta h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--primary);
}
.catalog-pdf-cta p {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  max-width: 52ch;
}
.catalog-pdf-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.catalog-pdf-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 22px;
  background: var(--secondary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 14.5px;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 128, 0, 0.35);
}
.catalog-pdf-cta__btn:hover { filter: brightness(1.05); }
.catalog-pdf-cta__btn--secondary {
  background: #5a6a89;
  box-shadow: none;
}
.catalog-pdf-cta__soon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  background: rgba(0, 51, 204, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
