.app-page {
    min-height: 100vh;
    padding: 145px 24px 70px;
    background:
        linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.95)),
        url('IMG/img13.jpeg') center / cover fixed;
}

.app-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.app-heading {
    margin-bottom: 28px;
    text-align: center;
}

.app-heading h1,
.app-card h1,
.app-card h2 {
    color: #cabd7c;
    font-family: var(--font-title);
}

.app-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 5vw, 3rem);
}

.app-heading p,
.app-muted {
    color: var(--text-muted);
}

.app-card {
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 34px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 10px;
    background: rgba(18, 18, 18, 0.95);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
}

.app-card--wide {
    width: 100%;
}

.app-card h1,
.app-card h2 {
    margin-bottom: 24px;
}

.app-form {
    display: grid;
    gap: 18px;
}

.app-form label {
    display: grid;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.app-form input,
.app-form select,
.app-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 5px;
    outline: none;
    background: #171717;
    color: var(--text-light);
    font: inherit;
}

.app-form input:focus,
.app-form select:focus,
.app-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.app-form textarea {
    min-height: 145px;
    resize: vertical;
}

.app-form input[type="file"] {
    padding: 10px;
}

.app-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #cabd7c;
    color: #0a0a0a;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.app-button:hover {
    background: #e0d59c;
}

.app-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(242, 139, 130, 0.55);
    border-radius: 5px;
    background: rgba(180, 50, 45, 0.15);
    color: #ffd2ce;
}

.app-alert--success {
    border-color: rgba(185, 208, 139, 0.55);
    background: rgba(100, 140, 70, 0.16);
    color: #d5e8b8;
}

.app-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.app-actions a,
.app-text-link {
    color: #d7c77d;
}

.app-actions form {
    margin: 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.catalog-card {
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 8px;
    background: #121212;
}

.catalog-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #202020;
}

.catalog-card__body {
    padding: 20px;
}

.catalog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #d7c77d;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.catalog-card h2 {
    margin-bottom: 8px;
    color: var(--text-light);
    font-family: var(--font-title);
    font-size: 1.25rem;
}

.catalog-card__price {
    margin-bottom: 12px;
    color: #cabd7c;
    font-size: 1.15rem;
    font-weight: 700;
}

.catalog-card__description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.catalog-empty {
    padding: 34px 20px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 600px) {
    .app-page {
        padding: 155px 16px 50px;
    }

    .app-card {
        padding: 24px 18px;
    }

    .app-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
