.catalog-page {

    max-width: 1140px;

    margin: 0 auto;

    padding: 24px 18px 48px;

    font-family: var(--st-font, "Nunito Sans", "Segoe UI", sans-serif);

}



.catalog-header {

    margin-bottom: 24px;

}



.catalog-header h1 {

    margin: 0 0 8px;

    font-size: 1.85rem;

    font-weight: 800;

    color: #3C2A21;

    letter-spacing: -0.02em;

    position: relative;

    display: inline-block;

}



.catalog-header h1::after {

    content: "";

    display: block;

    width: 48px;

    height: 4px;

    margin-top: 8px;

    border-radius: 999px;

    background: linear-gradient(90deg, #B26B5D, #5B2C30);

}



.catalog-header p {

    margin: 0;

    color: #757575;

    line-height: 1.5;

    font-size: 1rem;

}



.catalog-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    align-items: center;

    margin-bottom: 24px;

    padding: 14px 18px;

    background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);

    border: 1px solid rgba(0, 100, 40, 0.1);

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0, 60, 30, 0.06);

}



.catalog-filters label {

    font-size: 0.8rem;

    font-weight: 700;

    color: #333;

    text-transform: uppercase;

    letter-spacing: 0.04em;

}



.catalog-filters select {

    min-width: 160px;

    border: 1px solid #ccc;

    border-radius: 4px;

    padding: 10px 12px;

    font-size: 0.95rem;

    color: #333;

    background: #fff;

}



.catalog-filters select:focus {

    border-color: #5B2C30;

    outline: none;

    box-shadow: 0 0 0 3px rgba(0, 138, 34, 0.2);

}



.catalog-count {

    margin-left: auto;

    font-size: 0.9rem;

    font-weight: 600;

    color: #757575;

}



.business-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 20px;

}



.business-card {

    display: flex;

    flex-direction: column;

    text-decoration: none;

    color: inherit;

    background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);

    border: 1px solid rgba(0, 100, 40, 0.1);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0, 60, 30, 0.06);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

    min-height: 240px;

}



.business-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0, 60, 30, 0.12);

}



.business-card-media {

    height: 160px;

    background: linear-gradient(145deg, #FAF0ED 0%, #F5EDE8 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.business-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initials avatar — Google Meet style fallback */
.card-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    user-select: none;
    flex-shrink: 0;
}

.card-avatar-card {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    font-size: 1.65rem;
}

.card-avatar-sm {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 1.35rem;
}

.card-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: 2.25rem;
}

.business-card-body {

    padding: 16px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    flex: 1;

}



.business-card-body h3 {

    margin: 0;

    font-size: 1rem;

    font-weight: 700;

    color: #230f33;

    line-height: 1.3;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.business-card-meta {
    margin: 0;
    font-size: 0.85rem;
    color: #757575;
    line-height: 1.4;
}

.business-card-cta {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5B2C30;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.business-card:hover .business-card-cta {
    text-decoration: underline;
}

.offerings-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 20px;

}



.offering-card {

    display: flex;

    flex-direction: column;

    text-decoration: none;

    color: inherit;

    background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);

    border: 1px solid rgba(0, 100, 40, 0.1);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0, 60, 30, 0.06);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

    min-height: 300px;

}



.offering-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0, 60, 30, 0.12);

}



.offering-card-media {

    height: 168px;

    background: linear-gradient(145deg, #FAF0ED 0%, #F5EDE8 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    position: relative;

}



.offering-card-media img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.offering-card-body {

    padding: 16px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    flex: 1;

}



.offering-card-body h3 {

    margin: 0;

    font-size: 1rem;

    font-weight: 700;

    color: #230f33;

    line-height: 1.3;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.offering-card-desc {

    margin: 0;

    color: #757575;

    font-size: 0.88rem;

    line-height: 1.45;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.catalog-empty {

    color: #757575;

    background: #fafafa;

    border: 1px dashed #ccc;

    border-radius: 8px;

    padding: 28px;

    text-align: center;

}



.catalog-search-input {

    min-width: 200px;

    border: 1px solid #ccc;

    border-radius: 4px;

    padding: 10px 12px;

    font-size: 0.95rem;

}



.catalog-search-input:focus {

    border-color: #5B2C30;

    outline: none;

    box-shadow: 0 0 0 3px rgba(0, 138, 34, 0.2);

}



.catalog-chat {

    margin-bottom: 28px;

    padding: 20px;

    background: #fff;

    border: 1px solid #e0e0e0;

    border-radius: 8px;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);

}



.catalog-chat-header {

    margin-bottom: 16px;

}



.catalog-chat-header h3 {

    margin: 0 0 6px;

    font-size: 1.15rem;

    font-weight: 800;

    color: #230f33;

}



.catalog-chat-header p {

    margin: 0;

    color: #757575;

    font-size: 0.9rem;

    line-height: 1.45;

}



.catalog-chat .chat-messages {

    min-height: 220px;

    max-height: 320px;

    overflow-y: auto;

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 0;

    padding: 4px 2px;

}



.catalog-chat .chat-bubble {

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 0.9rem;

    line-height: 1.5;

    max-width: 92%;

    white-space: pre-wrap;

}



.catalog-chat .chat-bubble.bot {

    background: #e8f5e9;

    color: #230f33;

    align-self: flex-start;

}



.catalog-chat .chat-bubble.user {

    background: #5B2C30;

    color: #fff;

    align-self: flex-end;

}



.catalog-chat .chat-bubble.typing {

    opacity: 0.6;

}



.catalog-chat .chat-compose {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 12px;

    padding-top: 12px;

    border-top: 1px solid #e0e0e0;

}



.catalog-chat .chat-textarea {

    width: 100%;

    min-height: 80px;

    border: 1px solid #ccc;

    border-radius: 4px;

    padding: 12px 14px;

    font-size: 0.95rem;

    font-family: inherit;

    line-height: 1.45;

    resize: vertical;

}



.catalog-chat .chat-textarea:focus {

    outline: none;

    border-color: #5B2C30;

    box-shadow: 0 0 0 3px rgba(0, 138, 34, 0.2);

}



.catalog-chat .chat-send {

    width: 100%;

    padding: 13px 18px;

    border: none;

}



@media (max-width: 640px) {

    .catalog-filters {

        flex-direction: column;

        align-items: stretch;

    }



    .catalog-count {

        margin-left: 0;

    }



    .catalog-filters select {

        width: 100%;

    }

}

