:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-2: #eef2f5;
    --text: #17212b;
    --muted: #66717d;
    --line: #dce3ea;
    --primary: #155eef;
    --primary-dark: #0f46b8;
    --green: #16794c;
    --green-bg: #e8f7ef;
    --amber: #a15c00;
    --amber-bg: #fff4dc;
    --red: #b42318;
    --red-bg: #ffe9e7;
    --shadow: 0 12px 30px rgba(17, 24, 39, .08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
}

textarea {
    min-height: 104px;
    resize: vertical;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
}

label input,
label select,
label textarea {
    color: var(--text);
    font-weight: 400;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

td small,
.topbar small,
.muted {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: 280px;
    padding: 18px;
    background: #111827;
    color: #fff;
    transform: translateX(-105%);
    transition: transform .2s ease;
}

body.sidebar-open .sidebar {
    transform: translateX(0);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: #23a36b;
    color: #fff;
    font-size: 13px;
}

.nav {
    display: grid;
    gap: 6px;
    margin-top: 18px;
}

.nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 10px 12px;
    color: #d8dee8;
}

.nav a:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.main-shell {
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
}

.content {
    display: grid;
    gap: 16px;
    padding: 14px;
}

.panel,
.auth-panel,
.stat-card,
.report-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 14px;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-heading h2,
.panel h2 {
    margin: 0;
    font-size: 18px;
}

.btn,
.icon-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 800;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light,
.icon-btn {
    background: var(--surface-2);
    border-color: var(--line);
    color: var(--text);
}

.btn-block {
    width: 100%;
}

.btn-large {
    min-height: 54px;
    font-size: 16px;
}

.btn-small {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-panel {
    max-width: 980px;
}

.grid-2,
.grid-3,
.filters-grid,
.stats-grid,
.report-grid {
    display: grid;
    gap: 12px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.form-field-action {
    display: grid;
    align-content: end;
}

.form-field-action .btn {
    width: 100%;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    padding-top: 10px;
    background: var(--surface);
}

.finance-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.finance-preview div {
    display: grid;
    gap: 4px;
}

.finance-preview span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.finance-preview strong {
    font-size: 17px;
}

.order-builder {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.item-entry-grid,
.variant-list,
.document-layout {
    display: grid;
    gap: 12px;
}

.variant-builder {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f9fbfc;
}

.variant-builder .section-heading {
    margin-bottom: 0;
}

.variant-builder .section-heading p {
    margin: 5px 0 0;
}

.variant-row {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.variant-remove {
    align-self: end;
}

.variant-empty {
    margin: 0;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.item-price-input {
    min-width: 120px;
    min-height: 38px;
    padding: 7px 9px;
}

.variant-readonly {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.variant-readonly strong {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.document-filters {
    flex-wrap: wrap;
}

.document-hero,
.document-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.document-hero h2 {
    margin: 4px 0;
    font-size: 25px;
}

.document-hero p,
.document-summary p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-actions {
    justify-content: flex-start;
}

.document-actions form {
    margin: 0;
}

.btn-whatsapp {
    background: #168c55;
    border-color: #168c55;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #0f7043;
}

.document-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.document-status.open {
    background: var(--amber-bg);
    color: var(--amber);
}

.document-status.converted {
    background: var(--green-bg);
    color: var(--green);
}

.document-status.cancelled {
    background: var(--red-bg);
    color: var(--red);
}

.document-origin {
    color: var(--primary);
    font-weight: 800;
}

.document-summary {
    align-content: start;
    display: grid;
    gap: 0;
}

.document-summary > div {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.document-summary > div:last-child {
    border-bottom: 0;
}

.document-summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.document-summary strong {
    font-size: 16px;
}

.document-summary .document-total strong {
    color: var(--primary);
    font-size: 25px;
}

.items-table {
    min-width: 620px;
}

.items-table th:last-child,
.items-table td:last-child {
    width: 1%;
    white-space: nowrap;
}

.search-form {
    display: flex;
    flex: 1;
    gap: 8px;
    min-width: 240px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.actions {
    width: 1%;
    white-space: nowrap;
}

.empty {
    color: var(--muted);
    text-align: center;
    padding: 24px;
}

.product-thumb,
.product-photo-preview {
    display: block;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.product-thumb {
    width: 58px;
    height: 58px;
}

.product-thumb-empty {
    display: inline-grid;
    place-items: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.product-photo-preview {
    width: 160px;
    height: 120px;
}

.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
    padding: 16px;
}

.stat-card span,
.report-card span {
    color: var(--muted);
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.stat-card.warning {
    border-color: #f2c76b;
    background: var(--amber-bg);
}

.stat-card.danger,
.report-card.danger {
    border-color: #ffb4ae;
    background: var(--red-bg);
}

.stock-badge,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 800;
}

.stock-badge.normal,
.pill.entry {
    background: var(--green-bg);
    color: var(--green);
}

.stock-badge.low,
.pill.correction {
    background: var(--amber-bg);
    color: var(--amber);
}

.stock-badge.negative,
.pill.exit {
    background: var(--red-bg);
    color: var(--red);
}

.alert {
    border-radius: var(--radius);
    padding: 12px 14px;
    font-weight: 800;
}

.alert-success {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid #a6e7c4;
}

.alert-error {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid #ffb4ae;
}

.autocomplete {
    position: relative;
}

.suggestions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 40;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.suggestions.is-open {
    display: block;
}

.suggestion {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.suggestion:hover {
    background: var(--surface-2);
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 18px;
}

.auth-shell {
    width: min(100%, 420px);
}

.auth-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.auth-panel h1 {
    margin: 0;
}

.auth-brand {
    color: var(--text);
}

.muted-link,
.reset-link {
    color: var(--primary);
    font-weight: 800;
}

.reset-link {
    overflow-wrap: anywhere;
}

.report-grid {
    grid-template-columns: 1fr;
}

.report-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.public-page {
    background: var(--bg);
}

.public-page main {
    min-height: 100vh;
}

.public-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.public-footer a:hover {
    color: var(--primary);
}

.public-hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 28px 16px;
    border-top: 8px solid #23a36b;
}

.public-hero-inner {
    width: min(100%, 960px);
    display: grid;
    gap: 20px;
    margin: 0 auto;
}

.public-brand {
    color: var(--text);
}

.public-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 36px;
    line-height: 1.05;
}

.public-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.public-offer {
    max-width: 720px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.public-offer span {
    color: var(--muted);
}

.public-form-shell {
    min-height: 100vh;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    padding: 20px;
}

.public-form-shell .form-panel {
    width: min(100%, 720px);
}

.subscription-box {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid #a6e7c4;
    border-radius: var(--radius);
    background: var(--green-bg);
    color: var(--green);
}

.subscription-box span {
    color: var(--text);
}

.subscription-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 12px 14px;
    border: 1px solid #a6e7c4;
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    background: var(--green-bg);
}

.subscription-banner.is-limited {
    border-color: #f2c76b;
    border-left-color: var(--amber);
    background: var(--amber-bg);
}

.subscription-banner div {
    display: grid;
    gap: 3px;
}

.subscription-banner span {
    color: var(--muted);
    font-weight: 700;
}

.company-settings-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.company-settings-hero h2 {
    margin: 4px 0;
    font-size: 25px;
}

.company-settings-hero p {
    margin: 0;
    color: var(--muted);
}

.company-url-box,
.catalog-help {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f9fbfc;
}

.company-url-box > div,
.catalog-help {
    gap: 5px;
}

.company-url-box span,
.catalog-help span,
label small {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.45;
}

.copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.copy-field input {
    min-width: 0;
    background: var(--surface-2);
    font-weight: 700;
}

.catalog-page {
    --catalog-dark: #111827;
    --catalog-ink: #17212b;
    --catalog-green: #19a66a;
    --catalog-blue: #155eef;
    margin: 0;
    background: #f7f8fa;
    color: var(--catalog-ink);
}

.catalog-page main {
    min-height: 100vh;
}

.catalog-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 10px max(18px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(220, 227, 234, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.catalog-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-brand > span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--catalog-dark);
    color: #fff;
    font-weight: 900;
}

.catalog-brand strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-nav nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
}

.catalog-nav nav > a:first-child {
    display: none;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(35, 163, 107, .28), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(21, 94, 239, .22), transparent 28%),
        var(--catalog-dark);
    color: #fff;
}

.catalog-hero::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .025), 0 0 0 104px rgba(255, 255, 255, .018);
}

.catalog-hero-inner,
.catalog-products-section,
.catalog-contact-section {
    position: relative;
    z-index: 1;
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
}

.catalog-hero-inner {
    min-height: 560px;
    display: grid;
    align-items: center;
    gap: 38px;
    padding: 70px 0;
}

.catalog-kicker,
.catalog-section-heading span,
.catalog-contact-copy > span {
    color: #71dcaa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.catalog-hero h1 {
    max-width: 760px;
    margin: 16px 0 20px;
    font-size: clamp(42px, 8vw, 78px);
    line-height: .97;
    letter-spacing: -.045em;
}

.catalog-hero h1 em {
    color: #71dcaa;
    font-style: normal;
}

.catalog-hero-inner > div > p {
    max-width: 650px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.55;
}

.catalog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.catalog-outline-btn {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.catalog-outline-btn:hover {
    background: rgba(255, 255, 255, .14);
}

.catalog-hero-card {
    max-width: 310px;
    display: grid;
    gap: 7px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}

.catalog-hero-card span,
.catalog-hero-card p {
    color: #cbd5e1;
}

.catalog-hero-card strong {
    font-size: 58px;
    line-height: 1;
}

.catalog-hero-card p {
    margin: 0;
    line-height: 1.45;
}

.catalog-products-section {
    padding: 76px 0 88px;
}

.catalog-section-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
}

.catalog-section-heading span {
    color: var(--catalog-blue);
}

.catalog-section-heading h2,
.catalog-contact-copy h2 {
    margin: 7px 0 0;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -.03em;
}

.catalog-section-heading > p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.catalog-product-grid {
    display: grid;
    gap: 18px;
}

.catalog-product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(17, 24, 39, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.catalog-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(17, 24, 39, .12);
}

.catalog-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf1f4;
}

.catalog-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.catalog-product-card:hover .catalog-product-media img {
    transform: scale(1.025);
}

.catalog-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(21, 94, 239, .1), transparent 55%),
        linear-gradient(315deg, rgba(35, 163, 107, .16), transparent 55%),
        #edf1f4;
}

.catalog-product-placeholder span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: #fff;
    color: var(--catalog-dark);
    box-shadow: 0 14px 30px rgba(17, 24, 39, .11);
    font-size: 32px;
    font-weight: 900;
}

.catalog-availability {
    position: absolute;
    top: 14px;
    right: 14px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 18px rgba(17, 24, 39, .12);
    font-size: 12px;
    font-weight: 900;
}

.catalog-availability.available {
    color: var(--green);
}

.catalog-availability.on-request {
    color: var(--amber);
}

.catalog-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.catalog-category {
    color: var(--catalog-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.catalog-product-content h3 {
    margin: 8px 0 2px;
    font-size: 21px;
    line-height: 1.2;
}

.catalog-product-content > small {
    color: var(--muted);
}

.catalog-variants {
    display: grid;
    gap: 7px;
    margin-top: 16px;
}

.catalog-variants > strong {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.catalog-variants > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.catalog-variants span {
    min-width: 34px;
    min-height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px 8px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.catalog-variants span.is-unavailable {
    color: #9aa4af;
    text-decoration: line-through;
}

.catalog-product-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
}

.catalog-product-footer > div {
    display: grid;
    gap: 2px;
}

.catalog-product-footer span,
.catalog-product-footer small {
    color: var(--muted);
    font-size: 11px;
}

.catalog-product-footer strong {
    font-size: 20px;
}

.catalog-empty,
.catalog-contact-unavailable {
    padding: 38px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.catalog-empty strong {
    font-size: 22px;
}

.catalog-empty p {
    color: var(--muted);
}

.catalog-contact-section {
    display: grid;
    gap: 30px;
    margin-bottom: 88px;
    padding: 38px 22px;
    border-radius: 22px;
    background: var(--catalog-dark);
    color: #fff;
    box-shadow: 0 28px 65px rgba(17, 24, 39, .2);
}

.catalog-contact-copy > span {
    color: #71dcaa;
}

.catalog-contact-copy p {
    max-width: 520px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.6;
}

.catalog-contact-copy > strong {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(113, 220, 170, .12);
    color: #71dcaa;
}

.catalog-contact-form {
    display: grid;
    gap: 13px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    color: var(--catalog-ink);
}

.catalog-contact-form > small {
    color: var(--muted);
    line-height: 1.45;
    text-align: center;
}

.catalog-contact-unavailable {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .07);
}

.catalog-floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 18px;
    background: #168c55;
    color: #fff;
    box-shadow: 0 14px 34px rgba(15, 112, 67, .34);
    font-weight: 900;
}

.catalog-footer {
    background: #fff;
}

@media (min-width: 760px) {
    .public-hero {
        padding: 44px 28px;
    }

    .public-hero h1 {
        font-size: 54px;
    }

    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filters-grid {
        grid-template-columns: repeat(6, minmax(130px, 1fr));
        align-items: end;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .report-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .item-entry-grid-variant {
        grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) minmax(110px, .7fr) auto;
        align-items: end;
    }

    .variant-row {
        grid-template-columns: minmax(130px, 1.3fr) minmax(110px, 1fr) minmax(110px, .8fr) minmax(110px, .8fr) auto;
        align-items: end;
    }

    .document-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }

    .catalog-nav nav > a:first-child {
        display: inline-flex;
    }

    .catalog-hero-inner {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .catalog-section-heading {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
        align-items: end;
        justify-content: space-between;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-contact-section {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr);
        align-items: center;
        padding: 48px;
    }
}

@media (min-width: 1120px) {
    .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .app-shell {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        transform: none;
    }

    .icon-btn {
        display: none;
    }

    .content {
        padding: 22px;
    }
}
