@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap");

:root {
    --dash-bg: #08111f;
    --dash-soft: #0f1d31;
    --dash-panel: rgba(10, 20, 36, 0.9);
    --dash-line: rgba(255, 255, 255, 0.09);
    --dash-text: #edf4ff;
    --dash-muted: #9fb0cb;
    --dash-brand: #f97316;
    --dash-brand-2: #fb7185;
    --dash-cyan: #38bdf8;
    --dash-green: #22c55e;
    --dash-red: #ef4444;
    --dash-radius: 26px;
    --dash-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

/* Compact shared layout for client registration pages. */
.client-form-page .dashboard-main {
    padding: 18px 0 34px;
}

body.client-form-page {
    max-width: 100%;
    overflow-x: hidden;
}

.client-form-page .client-hero-panel {
    gap: 14px;
    margin-bottom: 14px;
    padding: 18px 22px;
    border-radius: 20px;
}

.client-form-page .client-hero-panel > div:first-child {
    display: grid;
    gap: 6px;
}

.client-form-page .client-hero-panel h1 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.client-form-page .client-hero-panel > div:first-child > p:not(.computer-registration-note) {
    font-size: 0.9rem;
    line-height: 1.5;
}

.client-form-page .client-hero-panel > div:first-child > .status-pill {
    min-height: 30px;
    width: fit-content;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.computer-registration-note {
    display: inline-flex;
    width: fit-content;
    max-width: 760px;
    align-items: center;
    gap: 5px;
    margin-top: 2px !important;
    padding: 6px 9px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    color: #bae6fd !important;
    background: rgba(14, 116, 144, 0.09);
    font-size: 0.78rem;
    line-height: 1.4 !important;
}

.computer-registration-note strong {
    color: #f0f9ff;
}

.client-form-page .client-hero-actions {
    gap: 8px;
}

.client-form-page .client-hero-actions .solid-btn,
.client-form-page .client-hero-actions .outline-btn {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 13px;
    font-size: 0.86rem;
}

.client-form-page .panel-grid {
    gap: 15px;
    margin-bottom: 16px;
}

.client-form-page .panel-card {
    padding: 18px;
    border-radius: 20px;
}

.client-form-page .panel-head {
    gap: 12px;
    margin-bottom: 13px;
}

.client-form-page .panel-title {
    font-size: 1.08rem;
    letter-spacing: -0.035em;
}

.client-form-page .panel-subtitle {
    margin-top: 5px;
    font-size: 0.84rem;
    line-height: 1.5;
}

.client-form-page .dash-form,
.client-form-page .client-primary-form {
    gap: 11px;
}

.client-form-page .form-columns {
    gap: 11px 12px;
}

.client-form-page .form-field {
    gap: 5px;
}

.client-form-page .form-field label {
    font-size: 0.8rem;
}

.client-form-page .form-field input,
.client-form-page .form-field select,
.client-form-page .form-field textarea {
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 0.88rem;
}

.client-form-page .form-field textarea {
    min-height: 84px;
    line-height: 1.55;
}

.client-form-page .field-help {
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.client-form-page .inline-stack {
    gap: 8px;
}

.client-form-page .dash-form > .solid-btn,
.client-form-page .inline-stack .solid-btn,
.client-form-page .inline-stack .outline-btn {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
}

.client-form-page .product-editor-form,
.client-form-page .product-editor-grid {
    gap: 14px 12px;
}

.client-form-page .product-form-divider {
    gap: 9px;
    margin-top: 2px;
    padding-top: 14px;
}

.client-form-page .product-form-divider:first-child {
    padding-top: 0;
}

.client-form-page .product-form-divider > span {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 10px;
    font-size: 0.82rem;
}

.client-form-page .product-form-divider strong {
    font-size: 0.88rem;
}

.client-form-page .product-form-divider small {
    margin-top: 1px;
    font-size: 0.75rem;
    line-height: 1.35;
}

.client-form-page .product-field--description textarea {
    min-height: 168px;
}

.client-form-page .product-form-footnote,
.client-form-page .product-photo-replacement-note {
    font-size: 0.78rem;
    line-height: 1.45;
}

.client-form-page .ai-tips-card {
    gap: 11px;
    padding: 14px;
    border-radius: 15px;
    font-size: 0.82rem;
}

.client-form-page .ai-tips-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
    font-size: 0.7rem;
}

.client-form-page .ai-tips-head {
    gap: 9px;
}

.client-form-page .ai-tips-head strong {
    font-size: 0.88rem;
}

.client-form-page .ai-tips-head small {
    font-size: 0.74rem;
}

.client-form-page .ai-tips-card ul {
    gap: 6px;
    padding-left: 17px;
    line-height: 1.45;
}

.client-form-page .ai-prompt-tip {
    padding: 10px;
    border-radius: 11px;
}

.client-form-page .ai-prompt-tip strong {
    font-size: 0.72rem;
}

.client-form-page .ai-prompt-tip p {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.ai-tips-card.ai-tips-card--full {
    grid-column: 1 / -1;
}

.ai-tips-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: 12px;
    align-items: stretch;
}

.ai-tips-columns .ai-prompt-tip {
    align-self: stretch;
}

.client-form-page .product-image-guidance {
    gap: 10px;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 0.8rem;
}

.client-form-page .product-image-guidance-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.72rem;
}

.client-form-page .product-image-guidance p {
    margin-top: 2px;
    line-height: 1.4;
}

.client-form-page .product-photo-field {
    padding: 11px;
    border-radius: 14px;
}

.client-form-page .product-photo-label span {
    padding: 3px 7px;
    font-size: 0.68rem;
}

.client-form-page .product-photo-field input[type="file"] {
    min-height: 44px;
    padding: 5px;
    font-size: 0.76rem;
}

.client-form-page .product-photo-field input[type="file"]::file-selector-button {
    min-height: 32px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.76rem;
}

.client-form-page .product-setting-field .check-row {
    padding: 12px;
    border-radius: 13px;
}

.client-form-page .product-setting-field .check-row strong {
    font-size: 0.82rem;
}

.client-form-page .product-setting-field .check-row small {
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .ai-tips-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .client-form-page .dashboard-main {
        padding-top: 12px;
    }

    .client-form-page .client-hero-panel,
    .client-form-page .panel-card {
        padding: 14px;
        border-radius: 16px;
    }

    .client-form-page .client-hero-panel h1 {
        font-size: clamp(1.35rem, 7vw, 1.85rem);
    }

    .computer-registration-note {
        width: 100%;
        font-size: 0.74rem;
    }

    .client-form-page .form-field input,
    .client-form-page .form-field select,
    .client-form-page .form-field textarea {
        font-size: 16px;
    }

    .client-form-page .product-field--description textarea {
        min-height: 132px;
    }
}

/* Marketplace integrations and live client analytics. */
.integration-intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 15px;
}

.integration-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.integration-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.integration-flow li {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.integration-flow li > span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 8px;
    color: #ecfeff;
    background: rgba(6, 182, 212, 0.22);
    font-size: 0.72rem;
    font-weight: 800;
}

.integration-flow strong {
    margin-top: 4px;
    font-size: 0.82rem;
}

.integration-flow small {
    color: var(--dash-muted);
    font-size: 0.7rem;
    line-height: 1.35;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.integration-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--dash-line);
    border-radius: 19px;
    background: var(--dash-panel);
    box-shadow: var(--dash-shadow);
}

.integration-card--meli { border-top-color: rgba(250, 204, 21, 0.65); }
.integration-card--shopee { border-top-color: rgba(249, 115, 22, 0.65); }
.integration-card--amazon { border-top-color: rgba(56, 189, 248, 0.65); }

.integration-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.integration-logo {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #08111f;
    background: #f8fafc;
    font-family: "Sora", sans-serif;
    font-weight: 900;
}

.integration-card h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.integration-card p,
.integration-card li {
    color: var(--dash-muted);
    font-size: 0.76rem;
    line-height: 1.52;
}

.integration-card p { margin: 0; }
.integration-card ul { display: grid; gap: 5px; margin: 0; padding-left: 17px; }
.integration-card .mini-btn { justify-self: start; margin-top: 2px; }

.integration-roadmap { margin-bottom: 20px; }

.integration-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.integration-requirements > div {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.integration-requirements strong { font-size: 0.78rem; }
.integration-requirements span { color: var(--dash-muted); font-size: 0.72rem; line-height: 1.45; }

.analytics-hero { margin-bottom: 14px; }

.analytics-hero .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13);
}

.analytics-updated {
    margin: 6px 0 0 !important;
    color: var(--dash-muted) !important;
    font-size: 0.72rem !important;
}

.analytics-updated[data-tone="error"] { color: #fecaca !important; }
.analytics-updated[data-tone="success"] { color: #a7f3d0 !important; }

.analytics-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 12px;
}

.analytics-kpi {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.13);
}

.analytics-kpi > span,
.analytics-kpi > small {
    overflow: hidden;
    color: var(--dash-muted);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-kpi strong {
    overflow: hidden;
    color: #f8fafc;
    font-family: "Sora", sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: -0.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-kpi--money {
    border-color: rgba(34, 197, 94, 0.28);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.11), rgba(255, 255, 255, 0.025));
}

.analytics-chart-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.analytics-chart-card {
    grid-column: span 2;
    display: grid;
    align-content: start;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 17px;
    background: var(--dash-panel);
    box-shadow: var(--dash-shadow);
}

.analytics-chart-card--wide { grid-column: span 3; }

.analytics-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 43px;
}

.analytics-chart-head h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.84rem;
    letter-spacing: -0.025em;
}

.analytics-chart-head p {
    margin: 3px 0 0;
    color: var(--dash-muted);
    font-size: 0.68rem;
}

.chart-badge {
    padding: 4px 7px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.1);
    font-size: 0.65rem;
    white-space: nowrap;
}

.analytics-canvas-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    min-width: 0;
    overflow: hidden;
}

.analytics-canvas-wrap canvas { display: block; max-width: 100%; }
.analytics-canvas-wrap--donut { height: 155px; }

.analytics-donut-layout {
    display: grid;
    grid-template-columns: minmax(125px, 0.85fr) minmax(110px, 1.15fr);
    gap: 5px;
    align-items: center;
}

.analytics-legend { display: grid; gap: 7px; min-width: 0; }

.analytics-legend > div {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.analytics-legend i { width: 7px; height: 7px; border-radius: 50%; }
.analytics-legend span { overflow: hidden; color: var(--dash-muted); font-size: 0.65rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-legend strong { font-size: 0.68rem; }
.analytics-legend-empty { white-space: normal !important; }

.analytics-order-list { display: grid; gap: 6px; margin-top: 5px; }

.analytics-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 9px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.analytics-order-row > div { display: grid; min-width: 0; }
.analytics-order-row > div:last-child { justify-items: end; text-align: right; }
.analytics-order-row strong { overflow: hidden; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-order-row span { overflow: hidden; color: var(--dash-muted); font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-empty { padding: 18px; color: var(--dash-muted); font-size: 0.72rem; text-align: center; }

@media (max-width: 1080px) {
    .integration-grid { grid-template-columns: 1fr; }
    .analytics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-chart-card,
    .analytics-chart-card--wide { grid-column: span 3; }
}

@media (max-width: 820px) {
    .integration-intro { grid-template-columns: 1fr; }
    .integration-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .integration-requirements { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .analytics-chart-grid { grid-template-columns: 1fr; }
    .analytics-chart-card,
    .analytics-chart-card--wide { grid-column: 1; }
    .analytics-donut-layout { grid-template-columns: 1fr; }
    .analytics-canvas-wrap--donut { height: 175px; }
    .analytics-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
    .analytics-kpis,
    .integration-flow { grid-template-columns: 1fr; }
}

* {
    box-sizing: border-box;
}

body.dashboard-body,
body.catalog-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--dash-text);
    background:
        radial-gradient(circle at top left, rgba(251, 113, 133, 0.18), transparent 26%),
        radial-gradient(circle at right, rgba(56, 189, 248, 0.15), transparent 24%),
        linear-gradient(180deg, #08111f 0%, #09111f 45%, #060c17 100%);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    body.dashboard-body {
        background:
            radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--dash-brand) 32%, transparent), transparent 30%),
            radial-gradient(circle at 90% 8%, color-mix(in srgb, var(--dash-brand) 18%, transparent), transparent 24%),
            linear-gradient(180deg, color-mix(in srgb, var(--dash-brand) 12%, #08111f) 0%, #09111f 48%, #060c17 100%);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.dashboard-shell,
.catalog-shell {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
}

.dashboard-header,
.catalog-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(7, 14, 25, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-header-inner,
.catalog-topbar-inner {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
}

.dash-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.dash-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.18);
}

.dash-brand-copy strong,
.dash-brand-copy span {
    display: block;
}

.dash-brand-copy strong {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.dash-brand-copy span,
.top-actions small {
    color: var(--dash-muted);
}

.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-actions small {
    display: block;
    margin-bottom: 3px;
}

.pill-btn,
.outline-btn,
.solid-btn,
.mini-btn,
.danger-btn {
    border: 0;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.pill-btn,
.outline-btn,
.solid-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
}

.solid-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.2);
}

.outline-btn {
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.danger-btn {
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #fb7185);
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.pill-btn:hover,
.outline-btn:hover,
.solid-btn:hover,
.mini-btn:hover,
.danger-btn:hover {
    transform: translateY(-2px);
}

.dashboard-main {
    padding: 28px 0 42px;
}

.hero-panel,
.panel-card,
.table-card,
.catalog-hero,
.catalog-section,
.catalog-empty,
.notice-card {
    background: var(--dash-panel);
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius);
    box-shadow: var(--dash-shadow);
}

.hero-panel {
    padding: 30px;
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.client-hero-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.client-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.dashboard-shortcuts a {
    display: grid;
    gap: 6px;
    min-height: 96px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dashboard-shortcuts a:hover,
.dashboard-shortcuts a:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--dash-brand) 42%, rgba(255, 255, 255, 0.14));
    background: color-mix(in srgb, var(--dash-brand) 12%, rgba(255, 255, 255, 0.055));
    outline: none;
}

.dashboard-shortcuts strong {
    color: var(--dash-text);
    font-family: "Sora", sans-serif;
    letter-spacing: -0.03em;
}

.dashboard-shortcuts span {
    color: var(--dash-muted);
    line-height: 1.45;
    font-size: 0.9rem;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.dashboard-tabs a,
.dashboard-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    color: var(--dash-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.dashboard-tabs a:hover,
.dashboard-tabs a:focus-visible,
.dashboard-tabs a.is-active,
.dashboard-tabs button:hover,
.dashboard-tabs button:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    border-color: rgba(255, 255, 255, 0.16);
    outline: none;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.dashboard-action-card {
    display: grid;
    gap: 12px;
    align-content: start;
    width: 100%;
    min-height: 220px;
    padding: 20px;
    border-radius: 22px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--dash-brand) 42%, rgba(255, 255, 255, 0.14));
    background: color-mix(in srgb, var(--dash-brand) 12%, rgba(255, 255, 255, 0.055));
    outline: none;
}

.dashboard-action-card .status-pill {
    justify-self: start;
}

.dashboard-action-card h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.dashboard-action-card p {
    margin: 0;
    color: var(--dash-muted);
    line-height: 1.6;
}

.dashboard-action-card > strong {
    margin-top: auto;
    color: #fff;
}

.setup-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.setup-list li {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 14px 14px 14px 46px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.setup-list li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.setup-list li.is-done::before {
    background: var(--dash-green);
    border-color: rgba(216, 255, 229, 0.72);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.setup-list strong {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.03em;
}

.setup-list span {
    color: var(--dash-muted);
    line-height: 1.5;
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .dashboard-header,
    .hero-panel,
    .panel-card,
    .stat-card {
        border-color: color-mix(in srgb, var(--dash-brand) 18%, var(--dash-line));
    }
}

.hero-panel h1,
.panel-title,
.catalog-hero h1,
.catalog-section h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.06em;
}

.hero-panel h1,
.catalog-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.hero-panel p,
.panel-subtitle,
.catalog-hero p,
.catalog-section p {
    margin: 0;
    color: var(--dash-muted);
    line-height: 1.72;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-chip,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.status-pill--ok {
    color: #d8ffe5;
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.12);
}

.status-pill--warning {
    color: #ffe7cb;
    border-color: rgba(249, 115, 22, 0.28);
    background: rgba(249, 115, 22, 0.12);
}

.status-pill--danger {
    color: #ffd9df;
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card small {
    display: block;
    color: var(--dash-muted);
    margin-bottom: 8px;
}

.stat-card strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.65rem;
    letter-spacing: -0.05em;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.panel-card {
    padding: 24px;
}

.panel-card--full {
    grid-column: 1 / -1;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.panel-title {
    font-size: 1.35rem;
}

.panel-subtitle {
    margin-top: 8px;
}

.notice-card {
    margin-bottom: 20px;
    padding: 18px 20px;
}

.notice-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Sora", sans-serif;
}

.notice-card p {
    margin: 0;
    color: var(--dash-muted);
    line-height: 1.72;
}

.notice-card--warning {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.1);
}

.notice-card--danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

.notice-card--success {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
}

.monitor-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
}

.monitor-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.2), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(56, 189, 248, 0.16), transparent 24%);
    pointer-events: none;
}

.monitor-panel > * {
    position: relative;
    z-index: 1;
}

.monitor-head {
    align-items: center;
}

.monitor-eyebrow {
    margin-bottom: 10px;
    color: #fff;
    border-color: rgba(249, 115, 22, 0.36);
    background: rgba(249, 115, 22, 0.16);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.monitor-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.monitor-actions form {
    margin: 0;
}

.monitor-sound-btn {
    min-height: 42px;
}

.monitor-clear-btn {
    min-height: 42px;
    color: #ffdbe2;
    border-color: rgba(244, 63, 94, 0.32);
    background: rgba(244, 63, 94, 0.14);
}

.monitor-sound-btn.is-muted {
    color: #fecdd3;
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.12);
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.monitor-card,
.monitor-live-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.monitor-card {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.monitor-card small,
.monitor-card span,
.monitor-live-head p,
.monitor-row small,
.monitor-visitor small,
.monitor-visitor span,
.monitor-ranking small {
    color: var(--dash-muted);
}

.monitor-card strong {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 1.65rem;
    letter-spacing: -0.05em;
}

.monitor-live-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: 16px;
    margin-bottom: 16px;
}

.monitor-live-card {
    min-height: 340px;
    padding: 16px;
}

.monitor-live-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.monitor-live-head h3 {
    margin: 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.monitor-live-head p {
    margin: 5px 0 0;
    line-height: 1.5;
}

.monitor-pulse {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 5px;
    border-radius: 999px;
    background: var(--dash-green);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.44);
    animation: monitorPulse 1.5s ease-out infinite;
}

.monitor-list,
.monitor-visitors {
    display: grid;
    align-content: start;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}

.monitor-row,
.monitor-visitor {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.monitor-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.monitor-row.is-fresh {
    border-color: rgba(249, 115, 22, 0.42);
    background: rgba(249, 115, 22, 0.1);
    animation: monitorFresh 900ms ease;
}

.monitor-row-main {
    min-width: 0;
}

.monitor-row-main strong,
.monitor-visitor strong {
    color: #fff;
    font-family: "Sora", sans-serif;
}

.monitor-row-main span {
    display: block;
    min-width: 0;
    margin-top: 3px;
    color: #c7d2fe;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-row time {
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.monitor-row small {
    justify-self: end;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-weight: 800;
}

.monitor-visitor span,
.monitor-visitor small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-ranking-card {
    min-height: auto;
}

.monitor-ranking {
    display: grid;
    gap: 10px;
}

.monitor-rank-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.monitor-rank-row strong {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-rank-row small {
    justify-self: end;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-weight: 900;
    white-space: nowrap;
}

.monitor-chart-card {
    min-height: auto;
}

.monitor-hour-chart {
    display: grid;
    gap: 10px;
}

.monitor-hour-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 96px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.monitor-hour-row span,
.monitor-hour-row strong {
    color: #fff;
    font-weight: 900;
}

.monitor-hour-row strong {
    text-align: right;
    font-size: 0.84rem;
}

.monitor-hour-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.monitor-hour-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.26);
}

.crm-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.crm-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.crm-filter {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.crm-table-scroll {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.crm-table th,
.crm-table td {
    vertical-align: middle;
}

.crm-table th.crm-actions-th,
.crm-table td:last-child {
    width: 104px;
    min-width: 104px;
}

.crm-table td strong {
    color: #fff;
}

.crm-table td div,
.crm-table td small {
    color: var(--dash-muted);
}

.crm-table-row {
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.crm-table-row:hover {
    background: rgba(249, 115, 22, 0.08);
    box-shadow: inset 3px 0 0 var(--dash-brand);
}

.crm-row-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
}

.crm-row-actions form {
    margin: 0;
}

.crm-icon-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 10px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.crm-icon-btn:hover {
    transform: translateY(-1px) scale(1.04);
    border-color: rgba(249, 115, 22, 0.46);
    background: rgba(249, 115, 22, 0.16);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.12);
}

.crm-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.crm-modal[hidden] {
    display: none !important;
}

.crm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
}

.crm-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 20, 36, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
}

.crm-form-modal-dialog {
    width: min(920px, 100%);
}

.crm-form-modal-dialog .panel-head {
    padding-right: 46px;
}

.crm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 900;
}

.crm-modal-open {
    overflow: hidden;
}

.crm-grid {
    display: grid;
    gap: 18px;
}

.crm-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.crm-card:target {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), 0 22px 58px rgba(249, 115, 22, 0.12);
}

.crm-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.crm-card h3 {
    margin: 10px 0 4px;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 1.28rem;
    letter-spacing: -0.04em;
}

.crm-card p {
    margin: 0;
    color: var(--dash-muted);
    line-height: 1.55;
}

.crm-card-actions,
.crm-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.crm-card-actions form {
    margin: 0;
}

.crm-delete-btn {
    color: #fecdd3;
    border-color: rgba(239, 68, 68, 0.28);
    background: rgba(239, 68, 68, 0.12);
}

.crm-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.crm-meta span {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: 15px;
    color: var(--dash-muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 0.82rem;
}

.crm-meta strong {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crm-note {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.18);
}

.crm-message-box {
    display: grid;
    gap: 12px;
    padding: 15px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.crm-message-box > label,
.crm-history > strong {
    color: #fff;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.035em;
}

.crm-message-box textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px;
    border-radius: 16px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    resize: vertical;
}

.crm-contact-fields {
    grid-template-columns: 1fr 1fr;
}

.crm-history {
    display: grid;
    gap: 10px;
}

.crm-history article {
    display: grid;
    gap: 6px;
    padding: 11px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.crm-history span {
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 800;
}

.crm-history p {
    margin: 0;
    font-size: 0.9rem;
}

@keyframes monitorPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.44);
    }
    100% {
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    }
}

@keyframes monitorFresh {
    0% {
        transform: translateY(-3px);
        box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.62), 0 0 28px rgba(249, 115, 22, 0.18);
    }
    100% {
        transform: translateY(0);
        box-shadow: none;
    }
}

.dashboard-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(10px);
}

.dashboard-alert-modal[hidden] {
    display: none !important;
}

.dashboard-alert-dialog {
    width: min(420px, 100%);
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(34, 197, 94, 0.34);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36), 0 0 44px rgba(34, 197, 94, 0.16);
    text-align: center;
}

.dashboard-alert-dialog strong {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 1.18rem;
}

.dashboard-alert-logo {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff7a18, #ff4f7b);
    box-shadow: 0 14px 32px rgba(249, 115, 22, 0.28), 0 0 28px rgba(255, 255, 255, 0.12);
}

.dashboard-alert-logo img {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
}

.dashboard-policy-footer {
    display: flex;
    justify-content: center;
    padding: 12px 0 42px;
}

.dashboard-policy-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dashboard-policy-button:hover,
.dashboard-policy-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.46);
    background: rgba(249, 115, 22, 0.12);
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.14);
}

.dashboard-policy-button svg {
    width: 18px;
    height: 18px;
}

.dashboard-policy-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
}

.dashboard-policy-modal[hidden] {
    display: none !important;
}

.dashboard-policy-dialog {
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 32px));
    overflow-y: auto;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(249, 115, 22, 0.26);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.dashboard-policy-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-policy-head h2 {
    margin: 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.03em;
}

.dashboard-policy-head p,
.dashboard-policy-body p,
.dashboard-policy-body li {
    color: var(--dash-muted);
    line-height: 1.68;
}

.dashboard-policy-logo {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff7a18, #ff4f7b);
    box-shadow: 0 14px 32px rgba(249, 115, 22, 0.24);
}

.dashboard-policy-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.dashboard-policy-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-size: 1.35rem;
}

.dashboard-policy-body {
    display: grid;
    gap: 12px;
}

.dashboard-policy-body p {
    margin: 0;
}

.dashboard-policy-body ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.reviews-panel {
    margin-bottom: 22px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.review-item {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.review-item h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.review-item span,
.review-item small,
.review-item p {
    color: var(--dash-muted);
}

.review-item-head span {
    display: block;
    margin-top: 4px;
    font-size: 0.84rem;
}

.review-item small {
    flex: 0 0 auto;
    font-size: 0.76rem;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars span {
    color: rgba(255, 255, 255, 0.22);
    font-size: 1rem;
}

.review-stars .is-active {
    color: var(--dash-brand);
}

.review-item p {
    margin: 0;
    line-height: 1.6;
}

body.client-dashboard-modal-open {
    overflow: hidden;
}

.client-dashboard-modal {
    position: fixed;
    inset: 0;
    z-index: 92;
    display: grid;
    place-items: center;
    padding: 24px;
}

.client-dashboard-modal[hidden] {
    display: none;
}

.client-dashboard-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 24, 0.78);
    backdrop-filter: blur(14px);
}

.client-dashboard-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(88vh, 860px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 24px;
    color: var(--dash-text);
    background: var(--dash-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.client-dashboard-modal-dialog--wide {
    width: min(1080px, 100%);
}

.client-dashboard-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

.client-modal-head {
    padding-right: 58px;
}

.access-public-link {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.access-public-link span {
    color: var(--dash-muted);
    font-size: 0.82rem;
}

.access-public-link strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-access-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 16px;
}

.client-access-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.client-access-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-access-card--full {
    margin-top: 0;
}

.client-access-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.client-access-card-head h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.client-access-card-head span {
    color: var(--dash-muted);
    font-size: 0.84rem;
}

.client-access-rank,
.client-access-hours,
.client-access-chart {
    display: grid;
    gap: 10px;
}

.client-access-chart-row {
    display: grid;
    gap: 7px;
}

.client-access-chart-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.client-access-chart-label span {
    min-width: 0;
    overflow: hidden;
    color: var(--dash-muted);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-access-chart-label strong {
    color: #fff;
    font-family: "Sora", sans-serif;
}

.client-access-chart-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.client-access-chart-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 0 18px color-mix(in srgb, var(--dash-brand) 42%, transparent);
}

.client-access-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
}

.client-access-row span,
.client-access-hour-row span {
    min-width: 0;
    color: var(--dash-muted);
    font-weight: 800;
}

.client-access-row strong,
.client-access-hour-row strong {
    color: #fff;
    font-family: "Sora", sans-serif;
}

.client-access-hour-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
}

.client-access-hour-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.client-access-hour-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 0 18px color-mix(in srgb, var(--dash-brand) 42%, transparent);
}

.client-access-table-wrap {
    overflow-x: auto;
}

.client-access-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.client-access-table th,
.client-access-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.client-access-table th {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.client-access-table td {
    color: var(--dash-muted);
    font-size: 0.9rem;
}

.client-access-table td strong {
    display: block;
    color: #fff;
}

.client-access-table td small {
    display: block;
    margin-top: 4px;
    color: var(--dash-muted);
}

.client-marketplace-orders-table {
    min-width: 980px;
}

.client-order-items {
    display: grid;
    gap: 4px;
}

.client-order-items span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(147, 197, 253, 0.16);
    font-size: 0.8rem;
}

.client-modal-reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.payment-gate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    margin-bottom: 22px;
}

.payment-modal-open {
    overflow: hidden;
}

body.admin-finance-modal-open {
    overflow: hidden;
}

body.admin-repasse-alert-open {
    overflow: hidden;
}

.admin-finance-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-finance-modal[hidden] {
    display: none !important;
}

.admin-finance-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 12, 22, 0.78);
    cursor: pointer;
}

.admin-finance-dialog {
    position: relative;
    width: min(1180px, 96vw);
    max-height: min(86vh, 860px);
    overflow: auto;
    padding: 24px;
    border-radius: 24px;
    background: #101827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.admin-finance-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.4rem;
}

.finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.finance-summary-grid article {
    min-width: 0;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-summary-grid small {
    display: block;
    color: var(--dash-muted);
    font-weight: 800;
}

.finance-summary-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--dash-text);
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.finance-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    color: var(--dash-muted);
}

.finance-table th,
.finance-table td {
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-table th {
    color: var(--dash-text);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.04);
}

.finance-table strong {
    color: var(--dash-text);
}

.finance-table a {
    color: #fed7aa;
    font-weight: 900;
}

.finance-row-pending-transfer {
    background: rgba(249, 115, 22, 0.08);
}

.finance-repasse-action {
    width: 100%;
    margin-top: 10px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-color: rgba(251, 146, 60, 0.65);
}

.finance-repasse-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-top: 10px;
    padding: 0 10px;
    border-radius: 999px;
    color: #dcfce7;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(134, 239, 172, 0.45);
    font-size: 0.8rem;
    font-weight: 900;
}

.admin-repasse-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-repasse-alert-modal[hidden] {
    display: none !important;
}

.admin-repasse-alert-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 12, 22, 0.78);
    cursor: pointer;
}

.admin-repasse-alert-dialog {
    position: relative;
    width: min(560px, 94vw);
    max-height: min(88vh, 720px);
    overflow: auto;
    padding: 28px;
    border-radius: 24px;
    color: var(--dash-text);
    background: #101827;
    border: 1px solid rgba(251, 146, 60, 0.35);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.admin-repasse-alert-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.4rem;
}

.finance-alert-bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #fb923c);
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.3);
    font-size: 1.4rem;
    font-weight: 1000;
}

.admin-repasse-alert-dialog h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.admin-repasse-alert-dialog p {
    margin: 0;
    color: var(--dash-muted);
}

.finance-alert-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-alert-card small {
    display: block;
    color: var(--dash-muted);
    font-weight: 800;
}

.finance-alert-card strong {
    display: block;
    margin-top: 4px;
    color: var(--dash-text);
}

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

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    margin: 0;
}

.payment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 24, 0.82);
    backdrop-filter: blur(12px);
}

.payment-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
}

.payment-card,
.payment-steps {
    background: var(--dash-panel);
    border: 1px solid var(--dash-line);
    border-radius: var(--dash-radius);
    box-shadow: var(--dash-shadow);
}

.payment-card {
    padding: 28px;
}

.payment-modal .payment-card,
.payment-modal .payment-steps {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.payment-card h2 {
    margin: 18px 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.06em;
}

.payment-card > p {
    margin: 0;
    max-width: 760px;
    color: var(--dash-muted);
    line-height: 1.72;
}

.pix-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 22px;
}

.pix-qrcode {
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pix-qrcode img {
    width: 100%;
    border-radius: 14px;
}

.pix-copy {
    display: grid;
    gap: 10px;
}

.pix-copy label {
    color: var(--dash-muted);
    font-size: 0.92rem;
}

.pix-copy textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px;
    border-radius: 16px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    resize: vertical;
    word-break: break-all;
}

.sales-pix-tool {
    display: grid;
    gap: 16px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.sales-pix-tool h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.sales-pix-tool p {
    margin: 6px 0 0;
    color: var(--dash-muted);
    line-height: 1.6;
}

.sales-pix-result[hidden],
.sales-pix-tool [hidden] {
    display: none !important;
}

.sales-pix-tool [data-tone="error"] {
    color: #fecdd3;
}

.sales-pix-tool [data-tone="success"] {
    color: #bbf7d0;
}

.payment-document-form {
    margin-top: 20px;
    max-width: 520px;
}

.payment-steps {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 24px;
}

.payment-steps h3 {
    margin: 0 0 4px;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.payment-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dash-muted);
    line-height: 1.55;
}

.payment-step strong {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    font-family: "Sora", sans-serif;
}

.dash-form,
.inline-form {
    display: grid;
    gap: 14px;
}

.form-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--dash-muted);
    font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 14px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
}

.form-field select option {
    color: #0f172a;
    background: #fff;
}

.form-field input[type="color"] {
    min-height: 48px;
    padding: 6px;
}

.form-field input[type="checkbox"] {
    width: auto;
    min-height: 18px;
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.form-field input[readonly] {
    color: #d8ffe5;
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
}

.form-field input[readonly].is-negative {
    color: #ffd9df;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.24);
}

.product-editor-form {
    gap: 22px;
}

.product-editor-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px 16px;
    align-items: start;
}

.product-form-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.product-form-divider:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.product-form-divider > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.18);
    font-family: "Sora", sans-serif;
    font-weight: 900;
}

.product-form-divider strong,
.product-form-divider small {
    display: block;
}

.product-form-divider strong {
    color: var(--dash-text);
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.product-form-divider small {
    margin-top: 3px;
    color: var(--dash-muted);
    line-height: 1.45;
}

.product-field--category {
    grid-column: span 4;
}

.product-field--name {
    grid-column: span 8;
}

.product-field--price {
    grid-column: span 4;
}

.product-field--shipping {
    grid-column: span 3;
}

.product-field--description {
    grid-column: span 8;
}

.product-field--description textarea {
    min-height: 250px;
    line-height: 1.7;
}

.product-form-footnote,
.product-photo-replacement-note {
    grid-column: 1 / -1;
    margin: -4px 0 0;
    color: var(--dash-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.ai-tips-card {
    grid-column: span 4;
    display: grid;
    gap: 15px;
    min-width: 0;
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 18px;
    color: #ddd6fe;
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.22), transparent 38%),
        linear-gradient(145deg, rgba(76, 29, 149, 0.2), rgba(15, 23, 42, 0.6));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ai-tips-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ai-tips-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.24);
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
}

.ai-tips-head strong,
.ai-tips-head small {
    display: block;
}

.ai-tips-head strong {
    color: #fff;
    font-family: "Sora", sans-serif;
}

.ai-tips-head small {
    margin-top: 2px;
    color: #c4b5fd;
}

.ai-tips-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 20px;
    line-height: 1.55;
}

.ai-tips-card li::marker {
    color: #c084fc;
}

.ai-prompt-tip {
    align-self: end;
    padding: 12px;
    border: 1px solid rgba(196, 181, 253, 0.16);
    border-radius: 13px;
    background: rgba(15, 23, 42, 0.46);
}

.ai-prompt-tip strong {
    color: #f5f3ff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ai-prompt-tip p {
    margin: 7px 0 0;
    color: #ddd6fe;
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-image-guidance {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 16px;
    color: #bae6fd;
    background: rgba(14, 116, 144, 0.1);
}

.product-image-guidance-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ecfeff;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(125, 211, 252, 0.3);
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
}

.product-image-guidance strong {
    color: #f0f9ff;
}

.product-image-guidance p {
    margin: 4px 0 0;
    color: #bae6fd;
    line-height: 1.55;
}

.product-photo-field {
    grid-column: span 4;
    min-width: 0;
    height: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.025);
}

.product-photo-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-photo-label span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.12);
    font-size: 0.74rem;
    font-weight: 800;
}

.product-photo-field input[type="file"] {
    min-height: 54px;
    overflow: hidden;
    padding: 7px;
    font-size: 0.84rem;
}

.product-photo-field input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 10px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    font-weight: 800;
    cursor: pointer;
}

.product-setting-field {
    grid-column: span 6;
    height: 100%;
}

.product-setting-field .check-row {
    height: 100%;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.product-setting-field .check-row:hover {
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.25);
    background: rgba(249, 115, 22, 0.055);
}

.product-setting-field input[type="checkbox"] {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-top: 2px;
    accent-color: var(--dash-brand);
}

.product-setting-field .check-row span,
.product-setting-field .check-row strong,
.product-setting-field .check-row small {
    display: block;
}

.product-setting-field .check-row strong {
    color: var(--dash-text);
    font-size: 0.94rem;
}

.product-setting-field .check-row small {
    margin-top: 5px;
    color: var(--dash-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .product-field--category,
    .product-field--name,
    .product-field--price,
    .product-field--shipping,
    .product-photo-field,
    .product-setting-field {
        grid-column: span 6;
    }

    .product-field--description,
    .ai-tips-card {
        grid-column: 1 / -1;
    }

    .product-field--description textarea {
        min-height: 190px;
    }
}

@media (max-width: 720px) {
    .product-editor-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .product-editor-grid > .form-field,
    .product-editor-grid > .ai-tips-card,
    .product-editor-grid > .product-form-divider,
    .product-editor-grid > .product-form-footnote,
    .product-editor-grid > .product-image-guidance,
    .product-editor-grid > .product-photo-replacement-note {
        grid-column: 1;
    }

    .product-form-divider {
        padding-top: 18px;
    }

    .product-image-guidance {
        align-items: start;
    }
}

@media (max-width: 430px) {
    .product-form-divider {
        align-items: flex-start;
    }

    .product-form-divider > span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 11px;
    }

    .product-image-guidance {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .ai-tips-card,
    .product-photo-field,
    .product-setting-field .check-row {
        padding: 14px;
    }
}

.product-list-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 560px) minmax(260px, 1fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
}

.empty-state[hidden],
.product-row[hidden],
.bulk-delete-panel form[hidden] {
    display: none !important;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dash-muted);
}

.bulk-delete-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 4px;
}

.bulk-delete-panel form {
    display: flex;
    min-width: 220px;
}

.bulk-delete-panel--category {
    justify-content: flex-start;
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.16);
}

.bulk-delete-check {
    min-height: 42px;
    font-weight: 900;
    color: #fecaca;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.bulk-delete-check input {
    width: 20px;
    height: 20px;
    accent-color: #ef4444;
}

.bulk-delete-button {
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 1000;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.2);
}

.bulk-delete-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.25);
    box-shadow: none;
}

.bulk-delete-button:disabled:hover {
    transform: none;
}

.marketplace-optin,
.marketplace-admin-panel {
    margin-bottom: 22px;
}

.marketplace-toggle-form,
.marketplace-admin-panel .dash-form {
    display: grid;
    gap: 16px;
}

.marketplace-checkbox {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dash-muted);
    cursor: pointer;
}

.marketplace-checkbox input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--dash-brand);
}

.marketplace-checkbox strong,
.marketplace-checkbox small {
    display: block;
}

.marketplace-checkbox strong {
    color: var(--dash-text);
    font-family: "Sora", sans-serif;
    letter-spacing: -0.03em;
}

.marketplace-checkbox small {
    margin-top: 4px;
    line-height: 1.5;
}

.marketplace-checkbox--payment {
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(249, 115, 22, 0.24);
}

.marketplace-checkbox input:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.marketplace-fee-line {
    color: #fed7aa;
    font-weight: 900;
}

.marketplace-warning-line {
    color: #fecaca;
    font-weight: 900;
}

.marketplace-share-link {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px !important;
}

.marketplace-share-link a {
    color: #dbeafe;
    font-weight: 900;
    word-break: break-all;
}

.marketplace-share-link button {
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: var(--dash-text);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
}

.marketplace-requirements,
.marketplace-admin-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.marketplace-requirements span,
.marketplace-admin-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    color: #ffe7cb;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.24);
    font-size: 0.9rem;
    font-weight: 800;
}

.marketplace-requirements span.is-done,
.marketplace-admin-summary span.is-on {
    color: #d8ffe5;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.24);
}

.marketplace-admin-summary span.is-off {
    color: #ffd9df;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.24);
}

.marketplace-admin-summary strong {
    margin-right: 6px;
    color: var(--dash-text);
}

.marketplace-admin-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
}

.marketplace-admin-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    flex: 1 1 620px;
}

.marketplace-admin-banner-card {
    display: grid;
    gap: 8px;
    margin: 0;
}

.marketplace-admin-banner-card figcaption {
    color: var(--dash-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.marketplace-admin-banner {
    width: 100%;
    height: 148px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marketplace-admin-logo {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.marketplace-client-form {
    margin-top: 10px;
}

.table-card {
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: top;
}

.data-table th {
    color: #dce7fa;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.data-table td {
    color: var(--dash-muted);
}

.data-table td strong {
    display: block;
    color: var(--dash-text);
    margin-bottom: 4px;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.table-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-list,
.product-grid,
.product-list {
    display: grid;
    gap: 16px;
}

.category-item,
.product-item {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-item-head,
.product-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.category-item h3,
.product-item h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.category-item p,
.product-item p,
.field-help {
    margin: 8px 0 0;
    color: var(--dash-muted);
    line-height: 1.68;
}

.field-help {
    font-size: 0.9rem;
}

.product-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-media img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.price-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dash-muted);
}

.price-chip--success {
    color: #d8ffe5;
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.1);
}

.price-chip--danger {
    color: #ffd9df;
    border-color: rgba(239, 68, 68, 0.26);
    background: rgba(239, 68, 68, 0.1);
}

.product-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-row-media {
    position: relative;
    min-height: 104px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-row-media img {
    width: 100%;
    height: 100%;
    min-height: 104px;
    object-fit: cover;
    display: block;
}

.product-row-media span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
}

.product-row-placeholder {
    display: grid;
    height: 100%;
    min-height: 104px;
    place-items: center;
    color: var(--dash-muted);
    font-size: 0.82rem;
}

.product-row-body {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.product-row-head,
.product-row-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.product-row-head {
    align-items: flex-start;
}

.product-row-footer {
    align-items: flex-end;
}

.product-row h3 {
    margin: 0;
    color: var(--dash-text);
    font-family: "Sora", sans-serif;
    line-height: 1.25;
}

.product-row p {
    margin: 6px 0 0;
    color: var(--dash-muted);
    line-height: 1.45;
}

.product-row-status {
    justify-content: flex-end;
    min-width: max-content;
}

.product-row .product-prices {
    margin-top: 0;
}

.preview-banner {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.brand-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
}

.brand-preview-card {
    display: grid;
    gap: 8px;
}

.brand-preview-card > span {
    color: var(--dash-muted);
    font-size: 0.88rem;
}

.brand-preview-card--logo {
    justify-items: center;
}

.empty-state {
    padding: 18px;
    border-radius: 18px;
    color: var(--dash-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.security-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.security-box h3 {
    margin: 0 0 8px;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.security-box p {
    margin: 0 0 14px;
    color: var(--dash-muted);
    line-height: 1.68;
}

.catalog-main {
    padding: 30px 0 48px;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 24px;
}

.catalog-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(56, 189, 248, 0.18));
    opacity: 0.9;
}

.catalog-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.catalog-logo {
    width: 124px;
    height: 124px;
    object-fit: cover;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.catalog-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.catalog-contact a,
.catalog-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(5, 13, 24, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
}

.catalog-sidebar,
.catalog-products {
    display: grid;
    gap: 18px;
}

.catalog-section {
    padding: 24px;
}

.category-nav {
    display: grid;
    gap: 10px;
}

.category-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dash-muted);
}

.category-block {
    display: grid;
    gap: 14px;
}

.category-block + .category-block {
    margin-top: 16px;
}

.category-block h2 {
    font-size: 1.5rem;
}

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

.catalog-product-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(56, 189, 248, 0.12));
}

.catalog-product-content {
    padding: 18px;
}

.catalog-product-content h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.catalog-product-content p {
    margin: 10px 0 16px;
    color: var(--dash-muted);
    line-height: 1.68;
}

.catalog-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: "Sora", sans-serif;
}

.catalog-price strong {
    font-size: 1.4rem;
    letter-spacing: -0.05em;
}

.catalog-empty {
    padding: 24px;
}

.catalog-empty h2 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
}

.inline-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-note {
    display: flex;
    justify-content: center;
    text-align: center;
    color: var(--dash-muted);
    padding: 26px 0 40px;
}

body.catalog-store-body {
    min-height: 100svh;
    min-height: 100dvh;
    color: #1f2937;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    overscroll-behavior-y: contain;
    touch-action: manipulation;
}

html:fullscreen,
html:-webkit-full-screen {
    width: 100%;
    min-height: 100%;
    overflow-y: auto;
    background: #f8fafc;
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    body.catalog-store-body {
        background:
            radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--dash-brand) 18%, transparent), transparent 34%),
            linear-gradient(180deg, color-mix(in srgb, var(--dash-brand) 10%, #f8fafc) 0%, #eef3f8 100%);
    }
}

.catalog-store-body .catalog-topbar {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-store-body .dash-brand-copy span,
.catalog-store-body .footer-note {
    color: #667085;
}

.catalog-store-body .dash-brand-mark {
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.catalog-store-body .outline-btn {
    color: #1f2937;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.12);
}

.catalog-store-body .catalog-shell {
    width: min(980px, calc(100% - 24px));
}

.catalog-store-main {
    min-height: var(--catalog-viewport-height, 100dvh);
    padding: calc(12px + env(safe-area-inset-top)) 0 calc(112px + env(safe-area-inset-bottom));
}

.catalog-native-fullscreen .catalog-store-main {
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
}

.catalog-brand-footer .dash-brand {
    color: #1f2937;
    justify-content: center;
}

.storefront-hero {
    --storefront-cover-height: clamp(96px, 16vw, 150px);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .storefront-hero {
        border-color: color-mix(in srgb, var(--dash-brand) 18%, transparent);
        background: color-mix(in srgb, var(--dash-brand) 4%, #fff);
    }
}

.catalog-fullscreen-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.catalog-fullscreen-btn:hover,
.catalog-fullscreen-btn:focus-visible {
    transform: translateY(-1px) scale(1.04);
    background: #fff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.catalog-fullscreen-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.storefront-cover {
    display: block;
    width: 100%;
    height: var(--storefront-cover-height);
    object-fit: fill;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(56, 189, 248, 0.12));
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .storefront-cover {
        background: linear-gradient(135deg, color-mix(in srgb, var(--dash-brand) 22%, #fff), rgba(56, 189, 248, 0.12));
    }
}

.storefront-summary {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 14px 20px 18px;
    text-align: center;
}

.storefront-cover + .storefront-summary {
    padding-top: 0;
}

.storefront-logo {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 999px;
    background: #fff;
    border: 6px solid #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.storefront-brand-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.storefront-cover + .storefront-summary .storefront-brand-row {
    margin-top: -54px;
}

.storefront-title-row {
    display: grid;
    grid-template-columns: minmax(110px, auto) minmax(0, 1fr) minmax(110px, auto);
    align-items: center;
    gap: 12px;
    width: min(100%, 920px);
}

.storefront-title {
    min-width: 0;
}

.storefront-title-row .store-auth-btn {
    justify-self: center;
    width: 100%;
    max-width: 155px;
}

.storefront-title h1 {
    margin: 0;
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.45rem, 4vw, 2.4rem);
    letter-spacing: -0.04em;
}

.storefront-title--compact h1 {
    max-width: min(100%, 900px);
    font-size: clamp(1.35rem, 3.4vw, 2rem);
    line-height: 1.08;
}

.storefront-title p {
    max-width: 650px;
    margin: 10px auto 0;
    color: #667085;
    line-height: 1.6;
}

.storefront-actions {
    position: absolute;
    top: calc(var(--storefront-cover-height) + 12px);
    right: 22px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-top: 0;
}

.store-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-social-btn:hover,
.store-social-btn:focus-visible {
    transform: translateY(-1px) scale(1.04);
}

.store-auth-btn {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.store-whatsapp {
    background: #16a34a;
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.2);
}

.store-instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
    box-shadow: 0 12px 24px rgba(221, 42, 123, 0.22);
}

.store-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.store-instagram svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.catalog-controls {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px 0 14px;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(14px);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .catalog-controls {
        background: color-mix(in srgb, var(--dash-brand) 4%, rgba(248, 250, 252, 0.94));
    }
}

.catalog-search {
    display: grid;
    gap: 7px;
}

.catalog-search span {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
}

.catalog-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    color: #1f2937;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    outline: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.catalog-search input:focus {
    border-color: var(--dash-brand);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .catalog-search input:focus {
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--dash-brand) 18%, transparent);
    }
}

.catalog-category-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.catalog-category-rail::-webkit-scrollbar {
    display: none;
}

.catalog-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #475467;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    font-size: 0.9rem;
    font-weight: 800;
    font: inherit;
    cursor: pointer;
}

.catalog-chip--active {
    color: #fff;
    background: linear-gradient(135deg, var(--dash-brand), var(--dash-brand-2));
    border-color: transparent;
}

.catalog-products {
    display: grid;
    gap: 24px;
}

.catalog-category-section {
    display: grid;
    gap: 14px;
    scroll-margin-top: 178px;
}

.catalog-category-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.catalog-category-head h2 {
    margin: 0;
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}

.catalog-category-head p {
    margin: 6px 0 0;
    color: #667085;
    line-height: 1.5;
}

.catalog-category-head > span {
    flex: 0 0 auto;
    color: #667085;
    font-size: 0.84rem;
    font-weight: 800;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.catalog-product-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.catalog-product-card:hover,
.catalog-product-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    outline: none;
}

.catalog-product-card.is-unavailable .catalog-product-image {
    filter: grayscale(0.78);
    opacity: 0.68;
}

.catalog-product-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    overflow: hidden;
}

.catalog-product-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    background: transparent;
}

.catalog-carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 620ms ease;
    will-change: transform;
}

.catalog-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.catalog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--dash-brand);
    font-size: 0.72rem;
    font-weight: 800;
}

.catalog-unavailable-badge {
    position: absolute;
    top: 54px;
    right: 10px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: #475467;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
    font-size: 0.72rem;
    font-weight: 900;
}

.catalog-share-product {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 50%;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.catalog-share-product:hover,
.catalog-share-product:focus-visible {
    color: #fff;
    background: var(--dash-brand);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

.catalog-share-product svg {
    width: 18px;
    height: 18px;
}

.catalog-share-toast {
    position: fixed;
    left: 50%;
    bottom: 104px;
    z-index: 190;
    max-width: min(420px, calc(100vw - 24px));
    padding: 11px 16px;
    border-radius: 999px;
    color: #fff;
    background: #17233c;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    transform: translateX(-50%);
}

.catalog-share-toast[hidden] {
    display: none !important;
}

.catalog-photo-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.catalog-product-content {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.catalog-product-content h3 {
    margin: 0;
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
}

.catalog-product-content p {
    margin: 0;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #1f2937;
    font-family: "Sora", sans-serif;
}

.catalog-price span {
    font-size: 0.76rem;
    font-weight: 800;
}

.catalog-price strong {
    font-size: 1.08rem;
    letter-spacing: -0.04em;
}

.catalog-buy-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--dash-brand);
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.24);
}

.catalog-buy-btn:disabled,
.catalog-modal-add:disabled {
    color: #fff;
    background: #98a2b3;
    box-shadow: none;
    cursor: not-allowed;
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .catalog-buy-btn {
        box-shadow: 0 10px 20px color-mix(in srgb, var(--dash-brand) 28%, transparent);
    }
}

.catalog-cart-bar[hidden],
.catalog-cart-empty[hidden] {
    display: none !important;
}

.catalog-cart-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    width: 100%;
    max-width: 100vw;
    min-height: 86px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    padding: 12px max(18px, calc((100vw - 1180px) / 2 + 14px)) calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    color: #fff;
    text-align: left;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.38), transparent 30%),
        linear-gradient(135deg, var(--dash-brand), #111827);
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-bottom: 0;
    backdrop-filter: blur(12px);
    box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.62), inset 0 -12px 22px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.catalog-cart-bar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
    pointer-events: none;
}

.catalog-cart-bar:hover,
.catalog-cart-bar:focus-visible {
    filter: saturate(1.08);
    box-shadow: 0 -22px 44px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72), inset 0 -12px 22px rgba(15, 23, 42, 0.14);
}

.catalog-cart-bar:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: -6px;
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .catalog-cart-bar {
        background:
            radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.38), transparent 30%),
            linear-gradient(135deg, color-mix(in srgb, var(--dash-brand) 92%, #ffffff 8%), color-mix(in srgb, var(--dash-brand) 76%, #111827));
        box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.2), 0 -8px 22px color-mix(in srgb, var(--dash-brand) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.62), inset 0 -12px 22px rgba(15, 23, 42, 0.16);
    }
}

.catalog-cart-open {
    position: relative;
    z-index: 1;
    grid-column: 1 / span 4;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 58px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(15, 23, 42, 0.18));
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.36), inset 0 -8px 12px rgba(15, 23, 42, 0.1);
    font-weight: 900;
}

.catalog-cart-open strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
}

.catalog-cart-total {
    position: relative;
    z-index: 1;
    grid-column: 9 / span 4;
    min-width: 160px;
    display: grid;
    gap: 2px;
    justify-self: end;
    width: min(100%, 280px);
    padding: 8px 18px 8px 22px;
    text-align: right;
    background: rgba(15, 23, 42, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.catalog-cart-total span,
.catalog-drawer-head span,
.catalog-cart-summary span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-cart-total strong {
    font-family: "Sora", sans-serif;
    font-size: 1.24rem;
}

.catalog-cart-total::after {
    content: "Clique para conferir pedido";
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.74rem;
    font-weight: 800;
}

.catalog-cart-layer,
.catalog-product-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.catalog-cart-layer.is-open,
.catalog-product-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.catalog-layer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
    cursor: pointer;
}

.catalog-cart-drawer {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(560px, 96vw);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 20px;
    color: #1f2937;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
    transform: translateX(105%);
    transition: transform 0.24s ease;
    overflow: hidden;
}

.catalog-cart-layer.is-open .catalog-cart-drawer {
    transform: translateX(0);
}

.catalog-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.catalog-drawer-head span,
.catalog-cart-summary span {
    color: #667085;
}

.catalog-drawer-head h2 {
    margin: 4px 0 0;
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 1.35rem;
}

.catalog-icon-btn {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #1f2937;
    background: #f2f4f7;
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.catalog-cart-items {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 0;
    max-height: min(270px, 34dvh);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 4px;
}

.catalog-cart-items-panel {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.catalog-cart-items-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-cart-items-head strong {
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 0.96rem;
}

.catalog-cart-items-head span {
    color: #667085;
    font-size: 0.8rem;
    font-weight: 800;
}

.catalog-checkout-scroll {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--dash-brand) #eef2f7;
}

.catalog-checkout-scroll::-webkit-scrollbar {
    width: 8px;
}

.catalog-checkout-scroll::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
}

.catalog-checkout-scroll::-webkit-scrollbar-thumb {
    background: var(--dash-brand);
    border-radius: 999px;
}

.catalog-cart-empty {
    margin: 0;
    padding: 18px;
    border-radius: 16px;
    color: #667085;
    background: #f8fafc;
    text-align: center;
    font-weight: 700;
}

.catalog-order-form {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-fulfillment {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
}

.catalog-order-form .catalog-fulfillment,
.catalog-order-form [data-pickup-fields],
.catalog-order-form [data-delivery-fields],
.catalog-order-form [data-online-fields] {
    display: none !important;
}

.catalog-fulfillment legend {
    margin-bottom: 2px;
    color: #475467;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.catalog-choice {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px 9px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.catalog-choice input {
    margin-top: 3px;
    accent-color: var(--dash-brand);
}

.catalog-choice strong,
.catalog-choice small {
    display: block;
}

.catalog-choice strong {
    color: #1f2937;
    font-size: 0.88rem;
}

.catalog-choice small {
    margin-top: 1px;
    color: #667085;
    font-size: 0.78rem;
    line-height: 1.25;
}

.catalog-order-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.catalog-order-fields[hidden] {
    display: none;
}

.catalog-order-fields label,
.catalog-review-field {
    display: grid;
    gap: 4px;
}

.catalog-order-field--full {
    grid-column: 1 / -1;
}

.catalog-order-fields span,
.catalog-review-field span {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 800;
}

.catalog-order-fields input,
.catalog-order-fields textarea,
.catalog-order-fields select,
.catalog-review-field input,
.catalog-review-field textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 11px;
    color: #1f2937;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    outline: none;
}

.catalog-order-fields textarea,
.catalog-review-field textarea {
    resize: vertical;
}

.catalog-order-fields input:focus,
.catalog-order-fields textarea:focus,
.catalog-order-fields select:focus,
.catalog-review-field input:focus,
.catalog-review-field textarea:focus {
    border-color: var(--dash-brand);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.catalog-online-fields {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-order-status {
    margin: 2px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    color: #14532d;
    background: #dcfce7;
    font-weight: 800;
    line-height: 1.35;
}

.catalog-order-status[data-tone="error"] {
    color: #991b1b;
    background: #fee2e2;
}

.catalog-order-status[data-tone="neutral"] {
    color: #7c2d12;
    background: #ffedd5;
}

.catalog-cart-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
}

.catalog-cart-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
}

.catalog-cart-item div {
    min-width: 0;
}

.catalog-cart-item strong,
.catalog-cart-item b {
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
}

.catalog-cart-item span {
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-cart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.catalog-cart-control {
    min-width: 30px;
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 10px;
    color: #1f2937;
    background: #eef2f7;
    cursor: pointer;
    font-weight: 900;
}

.catalog-cart-summary {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-cart-summary strong {
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 1.18rem;
}

.catalog-cart-actions {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.catalog-send-order,
.catalog-pay-online,
.catalog-modal-add {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: #16a34a;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.catalog-pay-online {
    background: linear-gradient(135deg, #fb923c, #f97316);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.24);
}

.catalog-whatsapp-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: currentColor;
}

.catalog-whatsapp-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.catalog-send-order:disabled,
.catalog-pay-online:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

.catalog-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.catalog-auth-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.catalog-auth-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border-radius: 22px;
    color: #1f2937;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.catalog-auth-dialog--compact {
    width: min(440px, 100%);
}

.catalog-auth-content {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.catalog-auth-content h2,
.catalog-auth-content p {
    margin: 0;
}

.catalog-auth-content p {
    color: #667085;
    font-weight: 700;
    line-height: 1.4;
}

.catalog-auth-content label {
    display: grid;
    gap: 5px;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
}

.catalog-auth-content input,
.catalog-auth-content select {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    border-radius: 12px;
    color: #1f2937;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    outline: none;
}

.catalog-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.catalog-auth-full {
    grid-column: 1 / -1;
}

.catalog-auth-status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    color: #14532d;
    background: #dcfce7;
    font-weight: 800;
}

.catalog-auth-status[data-tone="error"] {
    color: #991b1b;
    background: #fee2e2;
}

.catalog-auth-status[data-tone="neutral"] {
    color: #7c2d12;
    background: #ffedd5;
}

.catalog-auth-link,
.catalog-auth-outline {
    min-height: 42px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    color: #1f2937;
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

.catalog-auth-link {
    border: 0;
    color: var(--dash-brand);
}

.catalog-auth-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.catalog-account-dialog {
    width: min(720px, 100%);
}

.catalog-account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-account-tab {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: #1f2937;
    background: #f1f5f9;
    cursor: pointer;
    font-weight: 900;
}

.catalog-account-tab.is-active {
    color: #fff;
    background: var(--dash-brand);
    border-color: var(--dash-brand);
}

.catalog-account-refresh {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: var(--dash-brand);
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

.catalog-account-panel[hidden] {
    display: none !important;
}

.catalog-account-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.catalog-account-logout {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    background: #fff5f5;
    cursor: pointer;
    font-weight: 900;
}

.catalog-account-orders {
    display: grid;
    gap: 10px;
    max-height: min(430px, 52vh);
    overflow-y: auto;
    padding-right: 2px;
}

.catalog-account-order {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #f8fafc;
}

.catalog-account-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    color: #1f2937;
    font-weight: 900;
}

.catalog-account-order-side {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.catalog-account-store-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.catalog-account-store-row strong {
    min-width: 0;
}

.catalog-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    font-size: 0.72rem;
    font-weight: 1000;
    text-transform: uppercase;
}

.catalog-order-badge.is-paid {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.catalog-order-delete {
    border-color: #fecaca;
    color: #991b1b;
    background: #fff5f5;
}

.catalog-order-whatsapp {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #fff;
    background: #16a34a;
    border: 1px solid #16a34a;
    text-decoration: none;
}

.catalog-order-whatsapp:hover {
    color: #fff;
    background: #15803d;
    border-color: #15803d;
}

.catalog-order-whatsapp .catalog-whatsapp-icon,
.catalog-order-whatsapp .catalog-whatsapp-icon svg {
    width: 16px;
    height: 16px;
}

.catalog-account-order small,
.catalog-account-order li {
    color: #667085;
}

.catalog-account-order ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
}

.catalog-payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.catalog-payment-options button {
    width: 100%;
}

.catalog-product-modal {
    display: grid;
    place-items: center;
    padding: 16px;
}

.catalog-product-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 24px;
    color: #1f2937;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.22s ease;
}

.catalog-product-modal.is-open .catalog-product-dialog {
    transform: translateY(0) scale(1);
}

.catalog-product-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.catalog-dialog-media {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .catalog-dialog-media {
        background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--dash-brand) 6%, #f8fafc) 100%);
    }
}

.catalog-dialog-media img {
    width: 100%;
    height: 360px;
    max-height: 360px;
    object-fit: fill;
    object-position: center center;
}

.catalog-dialog-content {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.catalog-dialog-content h2 {
    margin: 0;
    color: #1f2937;
    font-family: "Sora", sans-serif;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.catalog-dialog-content p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.catalog-review-dialog {
    width: min(460px, 100%);
}

.catalog-rating-group {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.catalog-rating-group label {
    cursor: pointer;
}

.catalog-rating-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.catalog-rating-group span {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #475467;
    background: #f2f4f7;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 900;
}

.catalog-rating-group input:checked + span {
    color: #fff;
    background: var(--dash-brand);
    border-color: transparent;
}

.catalog-review-status {
    padding: 11px 12px;
    border-radius: 12px;
    color: #166534;
    background: #dcfce7;
    font-size: 0.9rem;
    font-weight: 800;
}

.catalog-review-status[data-tone="error"] {
    color: #991b1b;
    background: #fee2e2;
}

.catalog-review-status[data-tone="neutral"] {
    color: #475467;
    background: #eef2f7;
}

.catalog-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.catalog-modal-add {
    padding: 0 16px;
    background: var(--dash-brand);
    box-shadow: none;
}

body.catalog-cart-open,
body.catalog-product-open,
body.catalog-review-open,
body.catalog-auth-open {
    overflow: hidden;
}

.catalog-product-card[hidden],
.catalog-category-section[hidden] {
    display: none;
}

.catalog-store-body .empty-state,
.catalog-store-body .catalog-section,
.catalog-store-body .catalog-empty {
    color: #667085;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.08);
}

.catalog-store-body .catalog-empty h2,
.catalog-store-body .catalog-section h2 {
    color: #1f2937;
}

.vitrine-link {
    color: var(--dash-brand);
    font-weight: 900;
}

.vitrine-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .stats-grid,
    .panel-grid,
    .monitor-grid,
    .monitor-live-layout,
    .dashboard-shortcuts,
    .dashboard-action-grid,
    .client-hero-panel,
    .crm-hero,
    .payment-gate,
    .payment-modal-panel,
    .pix-layout,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-hero-content {
        grid-template-columns: 1fr;
    }

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

    .crm-filter {
        grid-template-columns: minmax(0, 1fr) 210px auto auto;
    }

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

    .client-access-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-access-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .admin-finance-modal {
        padding: 10px;
        align-items: stretch;
    }

    .admin-repasse-alert-modal {
        padding: 10px;
        align-items: stretch;
    }

    .admin-finance-dialog {
        width: 100%;
        max-height: 92vh;
        padding: 18px;
        border-radius: 18px;
    }

    .admin-repasse-alert-dialog {
        width: 100%;
        max-height: 92vh;
        padding: 22px;
        border-radius: 18px;
    }

    .finance-alert-card {
        grid-template-columns: 1fr;
    }

    .finance-alert-actions .solid-btn,
    .finance-alert-actions .outline-btn {
        width: 100%;
    }

    .finance-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header-inner,
    .catalog-topbar-inner,
    .top-actions,
    .monitor-actions,
    .client-hero-actions,
    .hero-meta,
    .product-prices,
    .table-actions,
    .card-actions,
    .inline-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .form-columns {
        grid-template-columns: 1fr;
    }

    .brand-preview-grid {
        grid-template-columns: 1fr;
    }

    .brand-preview-card--logo {
        justify-items: start;
    }

    .product-list-toolbar {
        grid-template-columns: 1fr;
    }

    .bulk-delete-panel {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .bulk-delete-panel form,
    .bulk-delete-button {
        width: 100%;
    }

    .product-row {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 12px;
    }

    .product-row-media,
    .product-row-media img,
    .product-row-placeholder {
        min-height: 86px;
    }

    .product-row-head,
    .product-row-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-row-status {
        justify-content: flex-start;
        min-width: 0;
    }

    .dashboard-shortcuts a {
        min-height: auto;
    }

    .data-table th,
    .data-table td {
        padding: 14px;
    }

    .monitor-row {
        grid-template-columns: 1fr;
    }

    .monitor-head,
    .monitor-live-head {
        flex-direction: column;
        align-items: stretch;
    }

    .monitor-row time,
    .monitor-row small {
        justify-self: start;
    }

    .monitor-hour-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .monitor-hour-row strong {
        grid-column: 1 / -1;
        text-align: left;
    }

    .catalog-store-body .catalog-topbar-inner {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-tabs a,
    .dashboard-tabs button {
        flex: 1 1 140px;
    }

    .client-dashboard-modal {
        align-items: start;
        padding: 10px;
    }

    .client-dashboard-modal-dialog {
        max-height: calc(100dvh - 20px);
        padding: 16px;
        border-radius: 20px;
    }

    .client-dashboard-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .client-modal-head {
        padding-right: 46px;
    }

    .client-access-stats {
        grid-template-columns: 1fr;
    }

    .client-access-card {
        padding: 14px;
        border-radius: 18px;
    }

    .client-access-card-head {
        flex-direction: column;
        gap: 4px;
    }

    .client-access-hour-row {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
    }

    .client-access-table {
        min-width: 640px;
    }

    .catalog-store-body .catalog-shell {
        width: min(100% - 20px, 980px);
    }

    .catalog-store-main {
        padding-top: calc(10px + env(safe-area-inset-top));
    }

    .storefront-hero {
        --storefront-cover-height: 100px;
        border-radius: 20px;
    }

    .catalog-fullscreen-btn {
        width: 34px;
        height: 34px;
    }

    .storefront-cover {
        object-fit: fill;
    }

    .storefront-summary {
        gap: 7px;
        padding: 12px 12px 16px;
    }

    .storefront-cover + .storefront-summary {
        padding-top: 0;
    }

    .storefront-cover + .storefront-summary .storefront-brand-row {
        margin-top: -36px;
    }

    .storefront-logo {
        width: 82px;
        height: 82px;
        border-width: 5px;
    }

    .storefront-actions {
        top: calc(var(--storefront-cover-height) + 10px);
        right: 12px;
        gap: 6px;
    }

    .storefront-title-row {
        grid-template-columns: minmax(82px, 1fr) minmax(0, auto) minmax(82px, 1fr);
        gap: 6px;
        width: 100%;
    }

    .storefront-title-row .store-auth-btn {
        min-height: 34px;
        max-width: 118px;
        padding: 0 8px;
        border-radius: 12px;
        font-size: 0.72rem;
        line-height: 1.1;
    }

    .store-social-btn {
        width: 34px;
        height: 34px;
    }

    .storefront-title--compact h1 {
        font-size: clamp(0.95rem, 5vw, 1.22rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .catalog-controls {
        top: 0;
        margin-right: -10px;
        margin-left: -10px;
        padding-right: 10px;
        padding-left: 10px;
    }

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

    .catalog-category-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .catalog-product-content {
        padding: 10px;
    }

    .catalog-product-media {
        padding: 9px;
    }

    .catalog-cart-bar {
        min-height: 82px;
        gap: 10px;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
    }

    .catalog-cart-open {
        grid-column: 1 / span 6;
        min-height: 56px;
        padding: 0 12px;
    }

    .catalog-cart-total {
        grid-column: 7 / span 6;
        min-width: 0;
        width: 100%;
        padding: 8px 12px;
    }

    .catalog-cart-total::after {
        font-size: 0.68rem;
    }

    .catalog-cart-drawer {
        width: min(560px, 96vw);
        padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .catalog-cart-items {
        max-height: min(230px, 30dvh);
    }

    .catalog-order-fields {
        grid-template-columns: 1fr;
    }

    .catalog-auth-grid,
    .catalog-auth-actions,
    .catalog-account-actions {
        grid-template-columns: 1fr;
    }

    .catalog-order-fields[data-pickup-fields] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-cart-item {
        grid-template-columns: 52px 1fr;
    }

    .catalog-cart-item b {
        grid-column: 2;
        justify-self: end;
    }

    .catalog-product-modal {
        padding: 10px;
    }

    .catalog-product-dialog {
        border-radius: 20px;
    }

    .catalog-dialog-media {
        min-height: 220px;
        padding: 22px;
    }

    .catalog-dialog-content {
        padding: 16px;
    }

    .catalog-dialog-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-modal-add {
        width: 100%;
    }

    .client-dashboard-body .dashboard-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: min(100% - 20px, 1260px);
        padding: 8px 0;
    }

    .client-dashboard-body .dash-brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 9px;
    }

    .client-dashboard-body .dash-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        flex: 0 0 auto;
    }

    .client-dashboard-body .dash-brand-copy {
        min-width: 0;
    }

    .client-dashboard-body .dash-brand-copy strong,
    .client-dashboard-body .dash-brand-copy span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .client-dashboard-body .dash-brand-copy strong {
        font-size: 0.95rem;
    }

    .client-dashboard-body .dash-brand-copy span {
        font-size: 0.78rem;
    }

    .client-dashboard-body .top-actions {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .client-dashboard-body .top-actions > div {
        display: none;
    }

    .client-dashboard-body .top-actions .outline-btn,
    .client-dashboard-body .top-actions .danger-btn {
        min-height: 34px;
        padding: 0 9px;
        border-radius: 11px;
        font-size: 0.74rem;
        line-height: 1;
        white-space: nowrap;
    }

    .client-dashboard-body .dashboard-main {
        padding-top: 16px;
    }

    .client-dashboard-body .dashboard-shell {
        width: min(100% - 18px, 1260px);
    }

    .client-dashboard-body .hero-panel,
    .client-dashboard-body .panel-card {
        border-radius: 20px;
        padding: 18px;
    }

    .client-dashboard-body .client-hero-panel {
        gap: 16px;
    }

    .client-dashboard-body .client-hero-panel h1 {
        font-size: clamp(1.55rem, 8vw, 2.35rem);
        letter-spacing: -0.045em;
        line-height: 1.08;
    }

    .client-dashboard-body .client-hero-panel p,
    .client-dashboard-body .panel-subtitle {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .client-dashboard-body .dashboard-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .client-dashboard-body .dashboard-tabs a,
    .client-dashboard-body .dashboard-tabs button {
        flex: initial;
        min-height: 44px;
        padding: 0 10px;
        border-radius: 14px;
        font-size: 0.88rem;
    }

    .client-dashboard-body .dash-form {
        gap: 14px;
    }

    .client-dashboard-body .form-field input,
    .client-dashboard-body .form-field select,
    .client-dashboard-body .form-field textarea {
        min-height: 46px;
        font-size: 16px;
    }

    .client-dashboard-body .form-field textarea {
        min-height: 108px;
    }

    .client-dashboard-body .inline-stack,
    .client-dashboard-body .client-hero-actions {
        gap: 10px;
    }

    .client-dashboard-body .inline-stack .solid-btn,
    .client-dashboard-body .inline-stack .outline-btn,
    .client-dashboard-body .inline-stack .danger-btn,
    .client-dashboard-body .client-hero-actions .solid-btn,
    .client-dashboard-body .client-hero-actions .outline-btn {
        min-height: 46px;
    }

    .crm-body .dashboard-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: min(100% - 20px, 1260px);
        padding: 8px 0;
    }

    .crm-body .dash-brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 9px;
    }

    .crm-body .dash-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        flex: 0 0 auto;
    }

    .crm-body .dash-brand-copy {
        min-width: 0;
    }

    .crm-body .dash-brand-copy strong,
    .crm-body .dash-brand-copy span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .crm-body .top-actions {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .crm-body .top-actions > div {
        display: none;
    }

    .crm-body .top-actions .outline-btn,
    .crm-body .top-actions .danger-btn {
        min-height: 34px;
        padding: 0 9px;
        border-radius: 11px;
        font-size: 0.74rem;
        line-height: 1;
        white-space: nowrap;
    }

    .crm-hero,
    .crm-body .panel-card {
        border-radius: 20px;
        padding: 18px;
    }

    .crm-hero h1 {
        font-size: clamp(1.55rem, 8vw, 2.35rem);
        line-height: 1.08;
    }

    .crm-stats,
    .crm-filter,
    .crm-meta,
    .crm-contact-fields {
        grid-template-columns: 1fr;
    }

    .crm-table th,
    .crm-table td {
        padding: 12px;
        white-space: nowrap;
    }

    .crm-row-actions {
        flex-wrap: nowrap;
    }

    .crm-table th.crm-actions-th,
    .crm-table td:last-child {
        width: 104px;
        min-width: 104px;
    }

    .crm-icon-btn {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .crm-modal {
        align-items: stretch;
        padding: 10px;
    }

    .crm-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
        padding: 18px;
        border-radius: 20px;
    }

    .crm-modal-close {
        top: 10px;
        right: 10px;
    }

    .crm-card {
        padding: 14px;
        border-radius: 18px;
    }

    .crm-card-head,
    .crm-card-actions,
    .crm-message-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .crm-message-actions .mini-btn,
    .crm-message-actions .solid-btn,
    .crm-message-actions .outline-btn,
    .crm-card-actions .mini-btn {
        width: 100%;
        min-height: 44px;
    }

    .crm-message-box textarea {
        min-height: 170px;
        font-size: 16px;
    }
}

@media (max-width: 720px) {
    .client-dashboard-body.client-form-page .client-hero-panel,
    .client-dashboard-body.client-form-page .panel-card {
        padding: 14px;
        border-radius: 16px;
    }

    .client-dashboard-body.client-form-page .client-hero-panel h1 {
        font-size: clamp(1.35rem, 7vw, 1.85rem);
        line-height: 1.08;
    }

    .client-dashboard-body.client-form-page .client-hero-panel p,
    .client-dashboard-body.client-form-page .panel-subtitle {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .client-dashboard-body.client-form-page .computer-registration-note {
        width: 100%;
        font-size: 0.74rem;
    }

    .client-dashboard-body.client-form-page .dash-form {
        gap: 10px;
    }

    .client-dashboard-body.client-form-page .form-field input,
    .client-dashboard-body.client-form-page .form-field select,
    .client-dashboard-body.client-form-page .form-field textarea {
        min-height: 40px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 16px;
    }

    .client-dashboard-body.client-form-page .form-field textarea {
        min-height: 82px;
    }
}

/* Dense desktop layout for the client administration screens. */
.client-form-page .company-side-column {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    gap: 14px;
    align-items: stretch;
}

.client-form-page .company-side-column > .company-ai-tips,
.client-form-page .company-side-column > #seguranca,
.client-form-page .company-side-column > .company-sales-pix {
    width: 100% !important;
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
}

.client-form-page .company-ai-tips {
    height: auto;
}

.client-form-page .company-sales-pix {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    gap: 11px;
    margin-top: 0;
    padding: 15px;
    border-radius: 17px;
    box-shadow: var(--dash-shadow);
}

.client-form-page .company-sales-pix h3 {
    font-size: 1rem;
}

.client-form-page .company-sales-pix p {
    font-size: 0.8rem;
    line-height: 1.45;
}

.client-form-page .company-sales-pix .form-columns {
    grid-template-columns: minmax(150px, 0.85fr) minmax(190px, 1.15fr);
    align-items: end;
}

.client-form-page .company-sales-pix .solid-btn {
    width: 100%;
    min-height: 40px;
    white-space: nowrap;
}

.client-form-page .form-columns > .form-field {
    align-content: start;
}

.client-form-page .cep-lookup-status {
    margin-top: 0;
    padding: 6px 8px;
    border-radius: 8px;
}

.client-form-page .cep-lookup-status[data-tone="success"] {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.08);
}

.client-form-page .cep-lookup-status[data-tone="error"] {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.08);
}

.client-form-page .company-side-column > .panel-card {
    width: 100%;
}

.client-form-page .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.client-form-page .category-item {
    min-width: 0;
    padding: 10px;
    border-radius: 13px;
}

.client-form-page .category-item-head {
    gap: 8px;
}

.client-form-page .category-item h3 {
    font-size: 0.88rem;
    letter-spacing: -0.025em;
}

.client-form-page .category-item p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: var(--dash-muted);
    font-size: 0.73rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.client-form-page .category-item .status-pill {
    flex: 0 0 auto;
    padding: 5px 7px;
    font-size: 0.65rem;
}

.client-form-page .category-item-actions {
    gap: 5px;
    margin-top: 8px;
}

.client-form-page .category-item-actions .mini-btn {
    min-height: 30px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.72rem;
}

.client-form-page .bulk-delete-panel--category {
    gap: 8px;
    margin-bottom: 10px;
    padding: 9px;
    border-radius: 12px;
}

.client-form-page .bulk-delete-panel--category .bulk-delete-check {
    min-height: 32px;
    font-size: 0.72rem;
}

.client-form-page .bulk-delete-panel--category .bulk-delete-button {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.client-form-page .product-shipping-toggle {
    grid-column: 1 / -1;
}

.client-form-page .product-shipping-toggle .check-row {
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    background: rgba(14, 116, 144, 0.08);
    cursor: pointer;
}

.client-form-page .product-shipping-toggle input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    accent-color: var(--dash-brand);
}

.client-form-page .product-shipping-toggle span,
.client-form-page .product-shipping-toggle strong,
.client-form-page .product-shipping-toggle small {
    display: block;
}

.client-form-page .product-shipping-toggle strong {
    color: var(--dash-text);
    font-size: 0.82rem;
}

.client-form-page .product-shipping-toggle small {
    margin-top: 2px;
    color: var(--dash-muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

.client-form-page .product-field--shipping {
    transition: opacity 160ms ease;
}

.client-form-page .product-field--shipping.is-disabled {
    opacity: 0.46;
}

.client-form-page .product-list-toolbar {
    grid-template-columns: minmax(240px, 430px) minmax(260px, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.client-form-page .product-list {
    gap: 8px;
}

.client-form-page .product-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
    border-radius: 13px;
}

.client-form-page .product-row-media,
.client-form-page .product-row-media img,
.client-form-page .product-row-placeholder {
    min-height: 72px;
}

.client-form-page .product-row-media {
    border-radius: 11px;
}

.client-form-page .product-row-media span {
    right: 4px;
    bottom: 4px;
    padding: 3px 5px;
    font-size: 0.62rem;
}

.client-form-page .product-row-body {
    gap: 7px;
}

.client-form-page .product-row-head,
.client-form-page .product-row-footer {
    gap: 8px;
}

.client-form-page .product-row h3 {
    font-size: 0.9rem;
    line-height: 1.2;
}

.client-form-page .product-row p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    font-size: 0.73rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.client-form-page .product-row-status {
    gap: 5px;
}

.client-form-page .product-row-status .status-pill {
    padding: 4px 7px;
    font-size: 0.62rem;
}

.client-form-page .product-row .product-prices {
    gap: 5px;
}

.client-form-page .product-row .price-chip {
    gap: 4px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 0.7rem;
}

.client-form-page .product-row .card-actions {
    gap: 5px;
}

.client-form-page .product-row .mini-btn,
.client-form-page .product-row .danger-btn {
    min-height: 30px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
}

.client-form-page .product-list-toolbar .bulk-delete-panel {
    gap: 8px;
}

.client-form-page .product-list-toolbar .bulk-delete-check {
    min-height: 34px;
    font-size: 0.72rem;
}

.client-form-page .product-list-toolbar .bulk-delete-button {
    min-height: 36px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.client-overview-page .dashboard-main {
    padding: 16px 0 30px;
}

.client-overview-page .client-hero-panel {
    gap: 12px;
    margin-bottom: 12px;
    padding: 16px 20px;
    border-radius: 18px;
}

.client-overview-page .client-hero-panel h1 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.05;
}

.client-overview-page .client-hero-panel p {
    max-width: 650px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.client-overview-page .client-hero-panel .status-pill {
    padding: 6px 9px;
    font-size: 0.72rem;
}

.client-overview-page .client-hero-actions {
    gap: 7px;
}

.client-overview-page .client-hero-actions .solid-btn,
.client-overview-page .client-hero-actions .outline-btn {
    min-height: 36px;
    padding: 7px 11px;
    border-radius: 11px;
    font-size: 0.76rem;
}

.client-overview-page .dashboard-tabs {
    gap: 7px;
    margin-bottom: 14px;
}

.client-overview-page .dashboard-tabs a,
.client-overview-page .dashboard-tabs button {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 11px;
    font-size: 0.78rem;
}

.client-overview-page .stats-grid {
    gap: 10px;
    margin-bottom: 14px;
}

.client-overview-page .stat-card {
    padding: 13px 15px;
    border-radius: 15px;
}

.client-overview-page .stat-card small {
    margin-bottom: 4px;
    font-size: 0.72rem;
}

.client-overview-page .stat-card strong {
    font-size: 1.2rem;
}

.client-overview-page .panel-card {
    padding: 16px;
    border-radius: 18px;
}

.client-overview-page .panel-head {
    gap: 10px;
    margin-bottom: 12px;
}

.client-overview-page .panel-title {
    font-size: 1.02rem;
}

.client-overview-page .panel-subtitle {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.client-overview-page .marketplace-optin,
.client-overview-page .dashboard-action-grid,
.client-overview-page .panel-grid {
    gap: 11px;
    margin-bottom: 14px;
}

.client-overview-page .marketplace-toggle-form {
    gap: 9px;
}

.client-overview-page .marketplace-checkbox {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
    border-radius: 13px;
}

.client-overview-page .marketplace-checkbox input {
    width: 17px;
    height: 17px;
}

.client-overview-page .marketplace-checkbox strong {
    font-size: 0.82rem;
}

.client-overview-page .marketplace-checkbox small {
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.4;
}

.client-overview-page .marketplace-toggle-form > .solid-btn {
    min-height: 36px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
}

.client-overview-page .dashboard-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-overview-page .dashboard-action-card {
    gap: 7px;
    min-height: 142px;
    padding: 13px;
    border-radius: 15px;
}

.client-overview-page .dashboard-action-card .status-pill {
    padding: 5px 8px;
    font-size: 0.68rem;
}

.client-overview-page .dashboard-action-card h2 {
    font-size: 0.94rem;
}

.client-overview-page .dashboard-action-card p,
.client-overview-page .dashboard-action-card > strong {
    font-size: 0.76rem;
    line-height: 1.4;
}

.client-overview-page .setup-list {
    gap: 7px;
}

.client-overview-page .setup-list li {
    gap: 2px;
    padding: 9px 10px 9px 38px;
    border-radius: 12px;
    font-size: 0.78rem;
}

.client-overview-page .setup-list li::before {
    top: 12px;
    left: 12px;
    width: 13px;
    height: 13px;
}

.client-overview-page .form-field input,
.client-overview-page .form-field select,
.client-overview-page .form-field textarea {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.84rem;
}

@media (max-width: 1100px) {
    .client-overview-page .dashboard-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .client-form-page .company-side-column {
        grid-row: auto;
    }

    .client-overview-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .client-form-page .company-sales-pix .form-columns,
    .client-form-page .category-list,
    .client-overview-page .dashboard-action-grid {
        grid-template-columns: 1fr;
    }

    .client-form-page .product-list-toolbar {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    .client-form-page .product-list-toolbar > .form-field,
    .client-form-page .product-list-toolbar .bulk-delete-panel {
        width: 100%;
        min-width: 0;
    }

    .client-form-page .product-list-toolbar .bulk-delete-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
    }

    .client-form-page .product-list-toolbar .bulk-delete-check,
    .client-form-page .product-list-toolbar .bulk-delete-panel form {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .client-form-page .product-list-toolbar .bulk-delete-check,
    .client-form-page .product-list-toolbar .bulk-delete-button {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .client-form-page .product-row {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .client-form-page .product-row-media,
    .client-form-page .product-row-media img,
    .client-form-page .product-row-placeholder {
        min-height: 62px;
    }

    .client-form-page .product-row-status {
        min-width: 0;
    }

    .client-overview-page .client-hero-panel,
    .client-overview-page .panel-card {
        padding: 14px;
        border-radius: 16px;
    }

    .client-overview-page .client-hero-panel h1 {
        font-size: 1.45rem;
    }

    .client-overview-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .client-overview-page .stat-card {
        padding: 11px;
    }

    .client-overview-page .form-field input,
    .client-overview-page .form-field select,
    .client-overview-page .form-field textarea {
        font-size: 16px;
    }
}
