.catalog-preview-page { margin: 0; background: #fffaf5; color: #494949; font-family: AMPPFont, Arial, sans-serif; }
.catalog-preview-shell { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.catalog-preview-kicker { margin: 0 0 12px; color: #ea4e1a; font-weight: 700; letter-spacing: .12em; }
.catalog-preview-shell h1 { max-width: 760px; margin: 0; font-size: clamp(34px, 6vw, 60px); line-height: 1.05; }
.catalog-preview-lead { max-width: 650px; margin: 18px 0 42px; color: #5d5d5d; font-size: 18px; line-height: 1.5; }

.ampp-catalog { --ac-accent: #ea4e1a; --ac-accent-dark: #cf3c0d; --ac-ink: #494949; --ac-muted: #747474; --ac-paper: #fff; --ac-border: #ded8d3; color: var(--ac-ink); font-family: AMPPFont, Arial, sans-serif !important; }
.ampp-catalog, .ampp-catalog * { box-sizing: border-box; }
.ampp-catalog__filters { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr) auto; gap: 12px; margin: 0 0 24px; padding: 20px; border: 1px solid rgba(222, 216, 211, .92); border-radius: 20px; background: rgba(255, 255, 255, .76); box-shadow: 0 12px 32px rgba(71, 54, 45, .05); }
.ampp-catalog input, .ampp-catalog select, .ampp-catalog button { min-height: 50px !important; margin: 0 !important; border: 1px solid var(--ac-border) !important; border-radius: 999px !important; padding: 0 18px !important; background: var(--ac-paper) !important; color: var(--ac-ink) !important; font-family: AMPPFont, Arial, sans-serif !important; font-size: 15px !important; line-height: 1.2 !important; box-shadow: none !important; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease; }
.ampp-catalog select { padding-right: 36px !important; }
.ampp-catalog input::placeholder { color: #97918d; opacity: 1; }
.ampp-catalog input:focus, .ampp-catalog select:focus { outline: none !important; border-color: var(--ac-accent) !important; box-shadow: 0 0 0 4px rgba(234, 78, 26, .13) !important; }
.ampp-catalog button { cursor: pointer; border-color: var(--ac-accent) !important; background: var(--ac-accent) !important; color: #fff !important; font-weight: 700 !important; }
.ampp-catalog button:hover { border-color: var(--ac-accent-dark) !important; background: var(--ac-accent-dark) !important; transform: translateY(-1px); }
.ampp-catalog__result { margin: 0 0 18px; color: var(--ac-muted); font-size: 15px; }
.ampp-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.ampp-card { display: flex; flex-direction: column; min-height: 482px; overflow: hidden; border: 1px solid var(--ac-border); border-radius: 24px; background: var(--ac-paper); box-shadow: 0 14px 34px rgba(71, 54, 45, .08); transition: transform .22s ease, box-shadow .22s ease; }
.ampp-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(71, 54, 45, .13); }
.ampp-card__visual { position: relative; height: 232px; overflow: hidden; background: linear-gradient(135deg, #f6ece4 0%, #e8ddd4 100%); }
.ampp-card__photo { display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; color: #927b6d; font-family: Georgia, serif; font-size: 54px; letter-spacing: .04em; }
.ampp-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ampp-card__verified { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(255,255,255,.92); color: #4d4d4d; font-size: 12px; font-weight: 700; box-shadow: 0 4px 14px rgba(40, 29, 22, .1); }
.ampp-card__verified::before { content: '✓'; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--ac-accent); color: #fff; font-size: 11px; }
.ampp-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 20px; }
.ampp-card__title { margin: 0 0 8px !important; color: #343434 !important; font-family: AMPPFont, Arial, sans-serif !important; font-size: 25px !important; font-weight: 700 !important; line-height: 1.14 !important; }
.ampp-card__meta { margin: 0 !important; color: var(--ac-muted) !important; font-family: AMPPFont, Arial, sans-serif !important; font-size: 15px !important; line-height: 1.45 !important; }
.ampp-card__trust { display: flex; align-items: center; gap: 8px; margin: 15px 0 0; color: #666; font-size: 13px; font-weight: 700; }
.ampp-card__trust::before { content: '✓'; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #eff8e9; color: #57982e; font-size: 12px; }
.ampp-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 8px; }
.ampp-card__tag { padding: 6px 10px; border-radius: 999px; background: #fff1ec; color: #aa3b17; font-size: 13px; line-height: 1.2; }
.ampp-card__bio { display: -webkit-box; margin: 13px 0 18px !important; overflow: hidden; color: #5d5d5d !important; font-family: AMPPFont, Arial, sans-serif !important; font-size: 15px !important; line-height: 1.48 !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ampp-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 17px; border-top: 1px solid #eee9e5; }
.ampp-card__price { color: #494949; font-size: 14px; font-weight: 700; }
.ampp-card__open { min-height: 42px !important; padding: 0 16px !important; font-size: 14px !important; white-space: nowrap; }
.ampp-catalog__empty { padding: 38px; border: 1px dashed var(--ac-border); border-radius: 18px; color: var(--ac-muted); text-align: center; }

.ampp-modal[hidden] { display: none; }
.ampp-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(39, 35, 33, .58); }
.ampp-modal__dialog { position: relative; width: min(780px, 100%); max-height: 90vh; overflow: auto; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: var(--ac-paper); padding: 36px; box-shadow: 0 24px 70px rgba(31, 24, 20, .28); }
.ampp-modal__close { position: absolute; top: 16px; right: 16px; display: flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; width: 48px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--ac-accent) !important; color: transparent !important; font-family: Arial, sans-serif !important; font-size: 0 !important; line-height: 1 !important; }
.ampp-modal__close::before { content: '×'; display: block; color: #fff; font-family: Arial, sans-serif; font-size: 34px; font-weight: 300; line-height: 1; }
.ampp-modal__close:hover { background: var(--ac-accent-dark) !important; transform: rotate(90deg); }
.ampp-profile__head { display: flex; gap: 22px; align-items: center; padding-right: 42px; }
.ampp-profile__head h2, .ampp-modal__dialog h3 { color: #343434 !important; font-family: AMPPFont, Arial, sans-serif !important; }
.ampp-profile__head h2 { margin: 0 0 8px !important; font-size: 30px !important; line-height: 1.15 !important; }
.ampp-modal__dialog h3 { margin: 28px 0 14px !important; font-size: 20px !important; }
.ampp-profile__avatar { display: grid; width: 112px; height: 112px; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, #f6ece4, #e8ddd4); color: #927b6d; font-family: Georgia, serif; font-size: 29px; }
.ampp-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ampp-profile__body { margin: 26px 0; color: #575757; font-family: AMPPFont, Arial, sans-serif; line-height: 1.65; white-space: pre-line; }
.ampp-profile__diplomas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ampp-profile__diploma { color: #494949 !important; font-family: AMPPFont, Arial, sans-serif; font-weight: 700; text-decoration: none; }
.ampp-profile__diploma img { display: block; width: 100%; aspect-ratio: .72; object-fit: cover; border: 1px solid var(--ac-border); border-radius: 12px; }
.ampp-profile__diploma span { display: block; margin-top: 7px; font-size: 13px; }
.ampp-profile__contact { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 26px; padding: 0 22px; border-radius: 999px; background: var(--ac-accent); color: #fff !important; font-family: AMPPFont, Arial, sans-serif; font-weight: 700; text-decoration: none !important; }
.ampp-profile__contact:hover { background: var(--ac-accent-dark); }

@media (max-width: 1000px) { .ampp-catalog__filters { grid-template-columns: 1fr 1fr; } .ampp-catalog__filters input { grid-column: 1 / -1; } .ampp-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .catalog-preview-shell { padding: 48px 16px; } .ampp-catalog__filters, .ampp-catalog__grid { grid-template-columns: 1fr; } .ampp-catalog__filters { padding: 14px; border-radius: 16px; } .ampp-catalog__filters input { grid-column: auto; } .ampp-card { min-height: 450px; } .ampp-profile__head { align-items: flex-start; } .ampp-profile__avatar { width: 78px; height: 78px; } .ampp-profile__head h2 { font-size: 24px !important; } .ampp-modal__dialog { padding: 27px 20px; } .ampp-profile__diplomas { grid-template-columns: 1fr 1fr; } }
