/* LBL Studio — страница каталога */
.lbl-catalog-app {
    --cat-radius: 20px;
    --cat-radius-sm: 14px;
    --cat-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    --cat-sticky-top: calc(var(--lbl-header-height, 60px) + env(safe-area-inset-top, 0px));
}

body.lbl-catalog-app {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary, #0f172a);
    background: linear-gradient(165deg, #e0e7ff 0%, #f8fafc 28%, #e0f2fe 55%, #f5f3ff 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body.lbl-catalog-app.lbl-site-chrome {
    padding-top: var(--cat-sticky-top);
}

html[data-theme="dark"] .lbl-catalog-app body {
    background: linear-gradient(165deg, #0a0f1a 0%, #111827 40%, #0f172a 100%);
}

.lbl-catalog-app h1,
.lbl-catalog-app h2,
.lbl-catalog-app h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.cat-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

/* Header — поиск и подборки вверху */
.cat-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0);
    background: var(--surface-header, rgba(255, 255, 255, 0.92));
    backdrop-filter: var(--liquid-blur, blur(20px) saturate(180%));
    border-bottom: 1px solid var(--liquid-border, rgba(255, 255, 255, 0.5));
    transition: box-shadow 0.2s ease;
}

.cat-header.is-scrolled {
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.cat-header__content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: var(--lbl-header-height, 60px);
    box-sizing: border-box;
}

.cat-header__logo.logo {
    flex-shrink: 0;
}

.cat-header__search-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    max-width: 560px;
    margin: 0 auto;
}

.cat-header .header-search-bar,
.cat-header .cat-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0 4px 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s;
}

html[data-theme="dark"] .cat-header .header-search-bar,
html[data-theme="dark"] .cat-header .cat-search {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
}

.cat-header .header-search-bar:focus-within,
.cat-header .cat-search:focus-within {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cat-header .header-search-bar input,
.cat-header .cat-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 8px 10px 0;
    font: inherit;
    font-size: 15px;
    color: inherit;
    min-width: 0;
}

.cat-header .header-search-bar input::placeholder {
    color: var(--text-muted, #64748b);
}

.cat-header .header-search-bar input:focus,
.cat-header .cat-search input:focus {
    outline: none;
}

.cat-search__submit {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 4px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.15s, transform 0.15s;
}

.cat-search__submit:hover {
    filter: brightness(1.06);
}

.cat-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cat-header .idx-nav-center.is-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Панель: заголовок + подборки + счётчик */
.cat-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: var(--cat-radius);
    background: var(--liquid-bg, rgba(255, 255, 255, 0.65));
    border: 1px solid var(--liquid-border, rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.cat-toolbar .cat-page-title {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    flex: 0 1 auto;
}

.cat-toolbar .cat-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 200px;
    justify-content: center;
}

.cat-toolbar__side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-left: auto;
}

.cat-toolbar .cat-result-count {
    margin: 0;
    white-space: nowrap;
}

.cat-theme-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
}

.btn--sm {
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
}

/* Hero */
.cat-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 32px 0 28px;
}

@media (max-width: 900px) {
    .cat-hero {
        grid-template-columns: 1fr;
    }
}

.cat-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color, #2563eb);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 14px;
}

.cat-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cat-hero__lead {
    font-size: 1.05rem;
    color: var(--text-muted, #64748b);
    max-width: 520px;
    margin-bottom: 22px;
    line-height: 1.65;
}

.cat-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-hero__panel {
    position: relative;
    border-radius: 24px;
    padding: 28px;
    background: var(--liquid-bg, rgba(255, 255, 255, 0.6));
    border: 1px solid var(--liquid-border);
    backdrop-filter: blur(18px);
    box-shadow: var(--cat-shadow);
}

.cat-hero__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 50%, rgba(139, 92, 246, 0.1));
    pointer-events: none;
}

.cat-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cat-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-step strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.cat-step span {
    font-size: 13px;
    color: var(--text-muted);
}

/* How strip */
.cat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .cat-strip {
        grid-template-columns: 1fr;
    }
}

.cat-strip__item {
    text-align: center;
    padding: 20px 16px;
    border-radius: var(--cat-radius);
    background: var(--liquid-bg);
    border: 1px solid var(--liquid-border);
    backdrop-filter: blur(14px);
}

.cat-strip__val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.cat-strip__label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Gallery section */
.cat-gallery__head {
    text-align: center;
    margin-bottom: 24px;
}

.cat-gallery__head h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 8px;
}

.cat-gallery__head p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* Sticky toolbar */
.cat-sticky {
    position: sticky;
    top: var(--cat-sticky-top);
    z-index: 90;
    margin-bottom: 20px;
    padding: 12px 0;
    transition: box-shadow 0.2s;
}

.cat-sticky.is-elevated {
    padding-bottom: 14px;
}

.cat-sticky.is-elevated .cat-toolbar {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.cat-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 18px;
    border-radius: var(--cat-radius);
    background: var(--liquid-bg);
    border: 1px solid var(--liquid-border);
    backdrop-filter: blur(20px) saturate(160%);
}

.cat-search {
    flex: 1;
    min-width: min(100%, 260px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid #e2e8f0;
}

html[data-theme="dark"] .cat-search {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

.cat-search i {
    color: var(--text-muted);
    font-size: 15px;
}

.cat-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font: inherit;
    color: inherit;
    min-width: 0;
}

.cat-search input:focus {
    outline: none;
}

.cat-search button {
    border: none;
    background: var(--primary-color, #2563eb);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.cat-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cat-sort button {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-secondary);
    transition: all 0.15s;
}

html[data-theme="dark"] .cat-sort button {
    background: rgba(15, 23, 42, 0.5);
}

.cat-sort button.is-active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.cat-result-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.cat-result-count strong {
    color: var(--text-primary);
}

/* Grid */
.idx-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* Cards */
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: calc(var(--cat-radius) + 2px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px) saturate(165%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 28px rgba(37, 99, 235, 0.1),
        0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html[data-theme="dark"] .cat-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 56px rgba(37, 99, 235, 0.18),
        0 8px 20px rgba(15, 23, 42, 0.08);
}

.cat-card > * {
    position: relative;
    z-index: 2;
}

.cat-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}

.cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cat-card:hover .cat-card__media img {
    transform: scale(1.04);
}

.cat-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.35) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.cat-card:hover .cat-card__media::after {
    opacity: 1;
}

.cat-card__price-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cat-card__price-tag.is-paid {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}

.cat-card__likes {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
    backdrop-filter: blur(6px);
}

.cat-card__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.cat-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card__title a {
    color: inherit;
    text-decoration: none;
}

.cat-card__title a:hover {
    color: var(--primary-color);
}

.cat-card__author {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.cat-card__author i {
    margin-right: 4px;
    opacity: 0.7;
}

.cat-card__license {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cat-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.cat-card__actions .btn-blue,
.cat-card__actions .btn-ghost {
    padding: 11px 12px;
    font-size: 13px;
    border-radius: 12px;
    justify-content: center;
}

@media (max-width: 400px) {
    .cat-card__actions {
        grid-template-columns: 1fr;
    }
}

/* Skeleton */
.cat-card--skeleton {
    pointer-events: none;
}

.cat-card--skeleton .cat-card__media {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: cat-shimmer 1.2s ease-in-out infinite;
}

.cat-card--skeleton .cat-skel-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: cat-shimmer 1.2s ease-in-out infinite;
}

.cat-card--skeleton .cat-skel-line.w60 { width: 60%; }
.cat-card--skeleton .cat-skel-line.w90 { width: 90%; }

@keyframes cat-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Status */
.idx-catalog-status {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin: 16px 0;
    min-height: 1.5em;
}

.idx-catalog-status--loading {
    color: var(--primary-color);
}

.idx-catalog-status--loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: cat-spin 0.65s linear infinite;
    vertical-align: -3px;
}

@keyframes cat-spin {
    to { transform: rotate(360deg); }
}

.idx-catalog-status--error {
    text-align: left;
    color: #92400e;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--cat-radius-sm);
    padding: 16px 20px;
    line-height: 1.55;
}

.idx-catalog-status--error a {
    color: var(--primary-color);
    font-weight: 600;
}

.is-hidden {
    display: none !important;
}

/* Empty */
.cat-empty {
    text-align: center;
    padding: 48px 24px;
    border-radius: var(--cat-radius);
    background: var(--liquid-bg);
    border: 1px dashed rgba(148, 163, 184, 0.4);
}

.cat-empty i {
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
}

.cat-empty h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cat-empty p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Load more */
.cat-load-more {
    display: flex;
    justify-content: center;
    margin: 32px 0 16px;
}

.cat-load-more button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.cat-load-more button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.cat-end-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    padding: 12px;
    display: none;
}

/* Bottom CTA */
.cat-bottom-cta {
    margin-top: 48px;
    padding: 36px 28px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.cat-bottom-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cat-bottom-cta p {
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 20px;
}

/* Buttons shared */
.btn-blue,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-blue {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-blue:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

html[data-theme="dark"] .btn-ghost {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Scroll top */
.cat-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 800;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.cat-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Modal (order) */
.lbl-order-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lbl-order-modal.show {
    display: flex;
}

.lbl-order-modal-panel {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 22px;
    background: var(--surface-elevated, rgba(255, 255, 255, 0.98));
    border: 1px solid var(--liquid-border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.lbl-order-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.lbl-order-modal-head h3 {
    font-size: 20px;
    margin: 0;
}

.lbl-order-modal-close {
    border: none;
    background: rgba(148, 163, 184, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.lbl-order-field {
    margin-bottom: 14px;
}

.lbl-order-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.lbl-order-field input,
.lbl-order-field select,
.lbl-order-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font: inherit;
    box-sizing: border-box;
    background: var(--input-bg, #fff);
    color: inherit;
}

.lbl-order-preview-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.06);
    margin-bottom: 14px;
}

.lbl-order-preview-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.lbl-order-file-zone {
    padding: 16px;
    border: 1.5px dashed rgba(37, 99, 235, 0.35);
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.lbl-order-file-zone.has-file {
    border-style: solid;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.lbl-order-auth-hint {
    font-size: 13px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    margin-bottom: 14px;
}

.lbl-order-error {
    display: none;
    font-size: 14px;
    color: #dc2626;
    margin-bottom: 12px;
}

.lbl-order-submit {
    width: 100%;
    margin-top: 8px;
}

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .cat-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .cat-toolbar .cat-sort {
        justify-content: flex-start;
    }

    .cat-toolbar__side {
        margin-left: 0;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cat-header__search-wrap {
        max-width: none;
        order: 3;
        flex: 1 1 100%;
        margin: 0;
    }

    .cat-header__content {
        flex-wrap: wrap;
        padding-bottom: 8px;
        gap: 8px;
    }

    .cat-header__logo {
        order: 1;
    }

    .cat-header__actions {
        order: 2;
        margin-left: auto;
    }

    body.lbl-catalog-app.lbl-site-chrome {
        padding-top: calc(var(--lbl-header-height, 60px) + 52px + env(safe-area-inset-top, 0px));
    }

    .cat-toolbar .cat-sort button span {
        display: none;
    }

    .cat-toolbar .cat-sort button {
        padding: 10px 12px;
    }

    .idx-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cat-card__body {
        padding: 12px 10px 14px;
    }

    .cat-card__title {
        font-size: 14px;
    }

    .cat-card__actions .btn-blue,
    .cat-card__actions .btn-ghost {
        padding: 9px 8px;
        font-size: 12px;
    }

    .cat-card__actions {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
