:root {
    --brand-950: #102319;
    --brand-900: #173323;
    --brand-800: #1e492d;
    --brand-700: #236337;
    --brand-600: #2a7e40;
    --brand-500: #3aa34d;
    --brand-400: #72c65d;
    --brand-100: #e9f5e5;
    --brand-50: #f4faf2;
    --ink: #142019;
    --muted: #667069;
    --line: #dfe6df;
    --surface: #ffffff;
    --canvas: #f4f6f3;
    --warning: #a35b00;
    --warning-bg: #fff5df;
    --danger: #a32f2f;
    --danger-bg: #fff0f0;
    --success: #256d37;
    --success-bg: #eaf7ec;
    --shadow-lg: 0 32px 80px rgba(20, 46, 27, 0.13);
    --shadow-md: 0 18px 46px rgba(20, 46, 27, 0.09);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 14px;
    color-scheme: light;
    font-family:
        Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--canvas);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--brand-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.brand-link {
    display: inline-flex;
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(42, 126, 64, 0.16);
    border-radius: 999px;
    color: var(--brand-800);
    background: var(--brand-100);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 5px rgba(58, 163, 77, 0.13);
}

.maintenance-page {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(18px, 4vw, 56px);
    background: var(--canvas);
}

.maintenance-message {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 1360px);
    height: min(100%, 680px);
    align-content: center;
    justify-items: center;
    gap: clamp(18px, 4vh, 42px);
    overflow: hidden;
    padding: clamp(18px, 5vw, 76px);
    text-align: center;
}

.brand-logo-maintenance {
    width: min(72vw, 660px);
    height: clamp(96px, 14vw, 180px);
    object-fit: cover;
    object-position: center;
}

.maintenance-message h1 {
    max-width: 100%;
    margin: 0;
    color: var(--brand-950);
    font-size: clamp(3rem, 11vw, 9rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.9;
    text-transform: uppercase;
}

.auth-page {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.92fr) minmax(500px, 1.08fr);
}

.auth-brand-panel {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(34px, 5vw, 70px);
    color: #fff;
    background:
        radial-gradient(circle at 86% 16%, rgba(114, 198, 93, 0.34), transparent 28%),
        linear-gradient(145deg, var(--brand-950), var(--brand-800));
}

.brand-logo-auth {
    width: 270px;
    height: 130px;
    object-position: left center;
}

.status-pill-dark {
    margin-bottom: 24px;
    border-color: rgba(255, 255, 255, 0.15);
    color: #dcf5d7;
    background: rgba(255, 255, 255, 0.08);
}

.auth-brand-copy {
    max-width: 560px;
}

.auth-brand-copy h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4.8vw, 5.1rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.auth-brand-copy p {
    max-width: 500px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.06rem;
    line-height: 1.7;
}

.auth-form-panel {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 42px;
    background:
        radial-gradient(circle at 92% 8%, rgba(114, 198, 93, 0.18), transparent 30%),
        var(--surface);
}

.auth-form-wrap {
    width: min(440px, 100%);
}

.auth-form-wrap-wide {
    width: min(500px, 100%);
}

.auth-form-wrap h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.045em;
}

.form-intro {
    margin: 14px 0 30px;
    color: var(--muted);
    line-height: 1.65;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form label {
    margin-top: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 750;
}

.auth-form input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #cbd5cd;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(58, 163, 77, 0.13);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 86px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-height: 36px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    color: var(--brand-700);
    background: var(--brand-50);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.field-help {
    margin: -2px 0 4px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--brand-700);
    box-shadow: 0 12px 28px rgba(35, 99, 55, 0.2);
}

.button-primary:hover {
    background: var(--brand-800);
}

.button-secondary {
    border-color: var(--line);
    color: var(--brand-800);
    background: #fff;
}

.button-ghost {
    min-height: 40px;
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.button-block {
    width: 100%;
    margin-top: 16px;
}

.alert {
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.alert-error {
    border-color: #f0caca;
    color: var(--danger);
    background: var(--danger-bg);
}

.alert-success {
    border-color: #c5e7ca;
    color: var(--success);
    background: var(--success-bg);
}

.alert-warning {
    border-color: #f0d6a5;
    color: var(--warning);
    background: var(--warning-bg);
}

.alert code {
    font-weight: 800;
}

.setup-link,
.auth-security-note {
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.setup-link {
    margin: 22px 0 0;
}

.setup-link a {
    font-weight: 800;
}

.auth-security-note {
    margin: 14px 0 0;
}

.admin-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 100% 0, rgba(114, 198, 93, 0.14), transparent 26%),
        var(--canvas);
}

.admin-header {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 12px clamp(22px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.admin-brand {
    display: inline-flex;
}

.admin-brand img {
    width: 176px;
    height: 60px;
    object-fit: contain;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user > div {
    display: grid;
    gap: 2px;
    text-align: right;
}

.admin-user strong {
    font-size: 0.9rem;
}

.admin-user span {
    color: var(--muted);
    font-size: 0.74rem;
}

.admin-main {
    width: min(1220px, calc(100% - 44px));
    margin: 0 auto;
    padding: 58px 0 80px;
}

.admin-welcome {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.admin-welcome h1 {
    max-width: 730px;
    margin: 0;
    font-size: clamp(2.25rem, 4.7vw, 4.7rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.admin-welcome p:not(.eyebrow) {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.maintenance-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.maintenance-badge.is-active {
    border-color: #f0d6a5;
    color: var(--warning);
    background: var(--warning-bg);
}

.maintenance-badge.is-active .status-dot {
    background: #d47a00;
    box-shadow: 0 0 0 5px rgba(212, 122, 0, 0.13);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    display: grid;
    min-height: 176px;
    align-content: space-between;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(24, 49, 33, 0.05);
}

.metric-card span,
.metric-card small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.metric-card strong {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    letter-spacing: -0.055em;
}

.metric-card-accent {
    border-color: var(--brand-700);
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(114, 198, 93, 0.3), transparent 34%),
        var(--brand-800);
}

.metric-card-accent span,
.metric-card-accent small {
    color: rgba(255, 255, 255, 0.68);
}

.next-steps-card {
    display: grid;
    margin-top: 18px;
    padding: clamp(28px, 5vw, 54px);
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.next-steps-card h2 {
    max-width: 430px;
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.8rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.next-steps-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.next-steps-list li {
    display: grid;
    padding: 16px 0;
    grid-template-columns: 52px 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.5;
}

.next-steps-list li:last-child {
    border-bottom: 0;
}

.next-steps-list span {
    color: var(--brand-600);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.error-page {
    display: grid;
    min-height: 100vh;
    place-content: center;
    justify-items: start;
    padding: 36px;
    background:
        radial-gradient(circle at 75% 20%, rgba(114, 198, 93, 0.2), transparent 24%),
        #fff;
}

.brand-logo-error {
    width: 210px;
    height: 100px;
    margin-bottom: 44px;
}

.error-page h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.3rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.error-page > p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px 0 30px;
    color: var(--muted);
    line-height: 1.7;
}

.debug-message {
    max-width: 800px;
    overflow: auto;
    padding: 16px;
    border-radius: 12px;
    color: var(--danger);
    background: var(--danger-bg);
    white-space: pre-wrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.admin-header-stacked {
    display: block;
    min-height: 0;
    padding: 0 clamp(22px, 5vw, 72px);
}

.admin-header-top {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admin-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-top: 1px solid rgba(223, 230, 223, 0.7);
    scrollbar-width: none;
}

.admin-nav::-webkit-scrollbar {
    display: none;
}

.admin-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 14px 16px 15px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-nav a::after {
    position: absolute;
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    content: "";
}

.admin-nav a:hover,
.admin-nav a.is-active {
    color: var(--brand-700);
}

.admin-nav a.is-active::after {
    background: var(--brand-500);
}

.admin-main-catalog,
.admin-main-form {
    width: min(1420px, calc(100% - 44px));
}

.admin-main-form {
    width: min(1280px, calc(100% - 44px));
}

.admin-main-product-form {
    width: min(1420px, calc(100% - 44px));
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.page-heading h1 {
    margin: 0;
    font-size: clamp(2.3rem, 4.6vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.page-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.page-heading-compact {
    align-items: flex-start;
    margin-bottom: 26px;
}

.page-heading-compact h1 {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.form-breadcrumb {
    display: flex;
    gap: 9px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.form-breadcrumb a {
    color: var(--brand-700);
}

.filter-bar {
    display: grid;
    margin-bottom: 18px;
    padding: 16px;
    grid-template-columns: minmax(240px, 1fr) minmax(150px, 190px) auto auto;
    align-items: end;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 24px rgba(20, 46, 27, 0.04);
}

.filter-bar-wide {
    grid-template-columns: minmax(240px, 1fr) minmax(170px, 230px) minmax(140px, 170px) auto auto;
}

.filter-bar-products {
    grid-template-columns:
        minmax(230px, 1.3fr)
        minmax(140px, 0.65fr)
        minmax(160px, 0.75fr)
        minmax(125px, 0.5fr)
        minmax(125px, 0.5fr)
        auto
        auto;
}

.filter-bar > div {
    display: grid;
    gap: 6px;
}

.filter-bar label,
.field label {
    color: var(--ink);
    font-size: 0.77rem;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select,
.field input:not([type="checkbox"]):not([type="file"]),
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #cbd5cd;
    border-radius: 10px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

.rich-editor {
    overflow: hidden;
    border: 1px solid #cbd5cd;
    border-radius: 12px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rich-editor:focus-within {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(58, 163, 77, 0.12);
}

.rich-editor .rich-editor-toolbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px 9px;
    border-bottom: 1px solid var(--line);
    background: #f6f8f5;
}

.rich-editor .rich-editor-toolbar[hidden],
.rich-editor .rich-editor-content[hidden] {
    display: none;
}

.rich-editor-toolbar > span {
    width: 1px;
    height: 26px;
    margin-inline: 3px;
    background: var(--line);
}

.rich-editor-toolbar button {
    min-width: 34px;
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 750;
}

.rich-editor-toolbar button:hover,
.rich-editor-toolbar button:focus-visible {
    border-color: #cad5cb;
    color: var(--brand-700);
    background: #fff;
    outline: none;
}

.rich-editor-content {
    min-height: 260px;
    max-height: 620px;
    padding: 18px;
    overflow-y: auto;
    outline: none;
    color: var(--ink);
    line-height: 1.7;
}

.rich-content {
    color: var(--muted);
    line-height: 1.75;
}

.rich-content > :first-child {
    margin-top: 0;
}

.rich-content > :last-child {
    margin-bottom: 0;
}

.rich-content p {
    margin: 0 0 1em;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.35em 0 0.55em;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.rich-content h2 { font-size: 1.55rem; }
.rich-content h3 { font-size: 1.25rem; }
.rich-content h4 { font-size: 1rem; }

.rich-content ul,
.rich-content ol {
    display: grid;
    margin: 0 0 1.2em;
    padding-left: 1.4em;
    gap: 0.45em;
}

.rich-content li::marker {
    color: var(--brand-600);
    font-weight: 800;
}

.rich-content li > p {
    margin: 0;
}

.rich-content blockquote {
    margin: 1.2em 0;
    padding: 12px 16px;
    border-left: 4px solid var(--brand-500);
    border-radius: 0 10px 10px 0;
    color: var(--ink);
    background: var(--brand-50);
}

.rich-content a {
    color: var(--brand-700);
    font-weight: 750;
}

.rich-editor-content.rich-content {
    color: var(--ink);
}

.rich-editor.is-uploading .rich-editor-content { opacity: .58; cursor: progress; }
.rich-content img.rich-image { display: block; max-width: 100%; height: auto; margin-block: 14px; border-radius: 8px; }
.rich-editor-content img.rich-image { cursor: pointer; transition: box-shadow 150ms ease, width 150ms ease; }
.rich-editor-content img.rich-image.is-selected { box-shadow: 0 0 0 4px rgba(58, 163, 77, .34); }
.rich-content .rich-image-left { margin-right: auto; margin-left: 0; }
.rich-content .rich-image-center { margin-right: auto; margin-left: auto; }
.rich-content .rich-image-right { margin-right: 0; margin-left: auto; }
.rich-content .rich-image-w-10 { width: 10%; }
.rich-content .rich-image-w-20 { width: 20%; }
.rich-content .rich-image-w-30 { width: 30%; }
.rich-content .rich-image-w-40 { width: 40%; }
.rich-content .rich-image-w-50 { width: 50%; }
.rich-content .rich-image-w-60 { width: 60%; }
.rich-content .rich-image-w-70 { width: 70%; }
.rich-content .rich-image-w-80 { width: 80%; }
.rich-content .rich-image-w-90 { width: 90%; }
.rich-content .rich-image-w-100 { width: 100%; }

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

body.has-open-modal { overflow: hidden; }

.interest-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

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

.interest-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 31, 17, .64);
    backdrop-filter: blur(4px);
}

.interest-modal-card {
    position: relative;
    width: min(100%, 480px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
    text-align: center;
}

.interest-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f0f4f0;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.5rem;
}

.interest-modal-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-600);
    font-size: 1.8rem;
}

.interest-modal-card h2 { margin: 0 0 8px; font-size: 1.55rem; }
.interest-modal-card > p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.interest-modal-card form { display: grid; gap: 14px; text-align: left; }
.interest-modal-card label { display: grid; gap: 6px; font-size: .78rem; font-weight: 750; }
.interest-modal-card input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd5cd;
    border-radius: 10px;
    font: inherit;
}
.interest-modal-card form > small { color: var(--muted); font-size: .7rem; line-height: 1.45; text-align: center; }
.interest-modal-error { padding: 9px 11px; border-radius: 8px; color: #9d2929; background: #fff0f0; font-size: .75rem; }

@media (max-width: 680px) {
    .permission-grid { grid-template-columns: 1fr; }
    .interest-modal-card { padding: 28px 20px 22px; }
}

.filter-bar input:focus,
.filter-bar select:focus,
.field input:not([type="checkbox"]):not([type="file"]):focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(58, 163, 77, 0.12);
}

.field .is-invalid {
    border-color: #d56868 !important;
    box-shadow: 0 0 0 3px rgba(163, 47, 47, 0.08);
}

.filter-clear {
    align-self: center;
    padding: 8px 3px;
    font-size: 0.8rem;
    font-weight: 800;
}

.data-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 12px 38px rgba(20, 46, 27, 0.055);
}

.data-card-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.data-card-summary strong {
    font-size: 0.86rem;
}

.data-card-summary span {
    color: var(--muted);
    font-size: 0.76rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.admin-table th,
.admin-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #e8ede8;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    background: #fafcf9;
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.admin-table tbody tr {
    transition: background 150ms ease;
}

.admin-table tbody tr:hover {
    background: #fbfdfb;
}

.entity-cell {
    display: flex;
    min-width: 220px;
    align-items: center;
    gap: 12px;
}

.entity-cell img,
.entity-placeholder {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: contain;
    background: #f7faf6;
}

.entity-placeholder {
    display: grid;
    place-items: center;
    color: var(--brand-700);
    background: var(--brand-50);
    font-size: 1.1rem;
    font-weight: 900;
}

.entity-cell-product img,
.entity-placeholder-product {
    width: 68px;
    height: 68px;
}

.entity-cell > div {
    display: grid;
    gap: 4px;
}

.entity-cell strong {
    max-width: 330px;
    font-size: 0.86rem;
}

.entity-cell span:not(.entity-placeholder) {
    max-width: 330px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 850;
    white-space: nowrap;
}

.badge-success {
    border-color: #c6e8cb;
    color: var(--success);
    background: var(--success-bg);
}

.badge-warning {
    border-color: #efd9ad;
    color: var(--warning);
    background: var(--warning-bg);
}

.badge-muted {
    border-color: var(--line);
    color: var(--muted);
    background: #f4f6f3;
}

.table-actions {
    display: flex;
    min-width: max-content;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.table-actions form {
    margin: 0;
}

.button-small {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 0.72rem;
}

.button-danger-ghost {
    border-color: #efcece;
    color: var(--danger);
    background: #fffafa;
}

.button-danger-ghost:hover {
    border-color: #dfa8a8;
    background: var(--danger-bg);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
}

.reference-code {
    display: block;
    color: var(--brand-800);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
}

.table-secondary {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.7rem;
    white-space: nowrap;
}

.empty-state {
    display: grid;
    min-height: 360px;
    place-content: center;
    justify-items: center;
    padding: 44px 24px;
    text-align: center;
}

.empty-state img {
    width: 74px;
    height: 74px;
    margin-bottom: 12px;
    object-fit: contain;
}

.empty-state h2,
.empty-state h3 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.025em;
}

.empty-state p {
    max-width: 460px;
    margin: 10px 0 22px;
    color: var(--muted);
    line-height: 1.55;
}

.empty-state-compact {
    min-height: 250px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}

.pagination a {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

.pagination a:hover,
.pagination a.is-active {
    border-color: var(--brand-600);
    color: #fff;
    background: var(--brand-700);
}

.pagination a.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.catalog-form {
    display: grid;
    gap: 20px;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    align-items: start;
    gap: 18px;
}

.product-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    align-items: start;
    gap: 18px;
}

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

.form-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 12px 36px rgba(20, 46, 27, 0.05);
}

.form-card-side {
    display: grid;
    gap: 24px;
}

.form-card-sticky {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 24px;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}

.form-section-heading > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: var(--brand-700);
    background: var(--brand-100);
    font-size: 0.69rem;
    font-weight: 900;
}

.form-section-heading h2 {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.form-section-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.77rem;
    line-height: 1.45;
}

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

.field {
    display: grid;
    align-content: start;
    gap: 7px;
}

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

.field label em {
    color: var(--danger);
    font-style: normal;
}

.field input[type="file"] {
    width: 100%;
    color: var(--muted);
    font-size: 0.77rem;
}

.field-error {
    color: var(--danger);
    font-size: 0.72rem;
    font-weight: 700;
}

.field-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.taxonomy-quick-link {
    width: fit-content;
    padding: 0;
    border: 0;
    color: var(--brand-700);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    text-align: left;
}

.taxonomy-quick-link:hover,
.taxonomy-quick-link:focus-visible {
    color: var(--brand-900);
    text-decoration: underline;
}

.taxonomy-modal {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

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

.taxonomy-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(12, 31, 17, .68);
    backdrop-filter: blur(4px);
    cursor: default;
}

.taxonomy-modal-card {
    position: relative;
    width: min(100%, 720px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.taxonomy-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: #f0f4f0;
    cursor: pointer;
    font-size: 1.45rem;
}

.taxonomy-modal-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding-right: 38px;
    margin-bottom: 24px;
}

.taxonomy-modal-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--brand-600);
    font-size: 1.45rem;
    font-weight: 800;
}

.taxonomy-modal-heading small { color: var(--brand-700); font-size: .69rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.taxonomy-modal-heading h2 { margin: 3px 0 4px; font-size: 1.45rem; }
.taxonomy-modal-heading p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.taxonomy-modal form { display: grid; gap: 16px; }

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

.taxonomy-modal-error {
    padding: 10px 12px;
    border: 1px solid #edc3c3;
    border-radius: 9px;
    color: var(--danger);
    background: #fff4f4;
    font-size: .75rem;
    font-weight: 700;
}

.taxonomy-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.field-switches {
    gap: 10px;
}

.switch-row {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
}

.switch-row-contained {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fafcf9;
}

.switch-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--brand-600);
}

.switch-row span {
    display: grid;
    gap: 2px;
}

.switch-row strong {
    font-size: 0.79rem;
}

.switch-row small {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.4;
}

.image-upload {
    display: grid;
    gap: 10px;
}

.image-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.image-preview {
    display: grid;
    min-height: 240px;
    place-items: center;
    overflow: hidden;
    border: 1px dashed #bdcabc;
    border-radius: 16px;
    background:
        linear-gradient(45deg, #f7faf6 25%, transparent 25%),
        linear-gradient(-45deg, #f7faf6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f7faf6 75%),
        linear-gradient(-45deg, transparent 75%, #f7faf6 75%),
        #fff;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.image-preview-product {
    min-height: 320px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
}

.image-preview span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.file-drop {
    display: grid !important;
    min-height: 124px;
    place-content: center;
    gap: 7px;
    padding: 22px;
    border: 1px dashed #aebdae;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    background: #fafcf9;
}

.file-drop strong {
    color: var(--brand-700);
    font-size: 0.86rem;
}

.file-drop span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
}

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

.gallery-item {
    display: grid;
    gap: 9px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fafcf9;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 9px;
    object-fit: contain;
    background: #fff;
}

.gallery-item .button {
    width: 100%;
}

.publish-note {
    padding: 15px;
    border: 1px solid #cce4c8;
    border-radius: 12px;
    color: var(--brand-800);
    background: var(--brand-50);
}

.publish-note strong {
    font-size: 0.79rem;
}

.publish-note p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.form-actions-bar {
    position: sticky;
    z-index: 4;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(203, 213, 205, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 44px rgba(20, 46, 27, 0.14);
    backdrop-filter: blur(18px);
}

.quick-actions {
    display: grid;
    margin-bottom: 18px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.quick-actions a {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 46, 27, 0.04);
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.quick-actions a:hover {
    border-color: #b8d5b6;
    box-shadow: 0 14px 32px rgba(20, 46, 27, 0.08);
    transform: translateY(-2px);
}

.quick-actions a > span {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--brand-700);
    font-size: 1.4rem;
}

.quick-actions a > div {
    display: grid;
    gap: 4px;
}

.quick-actions strong {
    font-size: 0.86rem;
}

.quick-actions small {
    color: var(--muted);
    font-size: 0.69rem;
}

.dashboard-content-grid {
    display: grid;
    margin-top: 18px;
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
    align-items: stretch;
    gap: 18px;
}

.section-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
    border-bottom: 1px solid var(--line);
}

.section-card-heading h2 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -0.035em;
}

.section-card-heading a {
    font-size: 0.75rem;
    font-weight: 800;
}

.recent-product-list {
    display: grid;
}

.recent-product-list > a {
    display: grid;
    padding: 13px 20px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}

.recent-product-list > a:last-child {
    border-bottom: 0;
}

.recent-product-list > a:hover {
    background: #fbfdfb;
}

.recent-product-list img,
.recent-product-list .entity-placeholder {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.recent-product-list > a > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.recent-product-list strong {
    overflow: hidden;
    font-size: 0.79rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-product-list small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.next-steps-card-dashboard {
    margin: 0;
    grid-template-columns: 1fr;
    gap: 14px;
}

.admin-nav .admin-preview-link {
    margin-left: auto;
    color: var(--brand-700);
}

.catalog-page {
    min-height: 100vh;
    background: #f3f5f2;
}

.preview-bar {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 8px 20px;
    color: #eaf7ec;
    background: var(--brand-950);
    font-size: 0.72rem;
}

.preview-bar a {
    color: #a9e294;
    font-weight: 800;
}

.catalog-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.catalog-header-main,
.catalog-nav,
.catalog-section,
.catalog-listing,
.catalog-detail,
.catalog-footer {
    width: min(1420px, calc(100% - 44px));
    margin-inline: auto;
}

.catalog-header-main {
    display: grid;
    min-height: 88px;
    grid-template-columns: 210px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.catalog-brand img {
    width: 190px;
    height: 70px;
    object-fit: cover;
    object-position: center;
}

.catalog-search {
    display: flex;
    overflow: hidden;
    border: 1px solid #bdc9be;
    border-radius: 12px;
    background: #fff;
}

.catalog-search input {
    width: 100%;
    min-height: 48px;
    padding: 11px 15px;
    border: 0;
    outline: 0;
}

.catalog-search button {
    padding: 0 22px;
    border: 0;
    color: #fff;
    background: var(--brand-700);
    cursor: pointer;
    font-weight: 800;
}

.catalog-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.catalog-cart span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-700);
}

.catalog-nav {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 26px;
    border-top: 1px solid #edf0ed;
    font-size: 0.78rem;
}

.catalog-nav a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.catalog-nav span {
    margin-left: auto;
    color: var(--muted);
}

.catalog-hero,
.catalog-banner {
    display: grid;
    min-height: 470px;
    width: min(1500px, calc(100% - 28px));
    margin: 18px auto 0;
    overflow: hidden;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 25%, rgba(114, 198, 93, 0.45), transparent 28%),
        linear-gradient(130deg, #102319, #236337);
}

.catalog-hero > div:first-child,
.catalog-banner > div {
    padding: clamp(38px, 7vw, 90px);
}

.catalog-kicker,
.catalog-banner > div > span {
    color: #a9e294;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catalog-hero h1,
.catalog-banner h1 {
    max-width: 850px;
    margin: 14px 0 22px;
    font-size: clamp(2.8rem, 6vw, 6rem);
    letter-spacing: -0.065em;
    line-height: 0.95;
}

.catalog-hero p,
.catalog-banner p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.catalog-hero-mark {
    display: grid;
    justify-items: center;
    padding: clamp(32px, 4vw, 60px);
}

.catalog-hero-mark img {
    width: min(520px, 96%);
    height: 230px;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.catalog-hero-mark strong {
    margin-top: 12px;
    font-size: 2rem;
}

.catalog-hero-mark span {
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
}

.catalog-banner {
    position: relative;
}

.catalog-banner > img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: cover;
}

.catalog-section {
    padding-block: 64px;
}

.catalog-section-soft {
    width: 100%;
    max-width: none;
    padding-inline: max(22px, calc((100% - 1420px) / 2));
    background: #e9ede8;
}

.catalog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.catalog-section-heading span,
.catalog-listing-heading span,
.catalog-description > span {
    color: var(--brand-600);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.catalog-section-heading h2,
.catalog-listing-heading h1 {
    margin: 5px 0 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -.055em;
}

.catalog-section-heading > a {
    font-size: .78rem;
    font-weight: 850;
}

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

.catalog-group-grid a {
    display: grid;
    min-height: 190px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    text-align: center;
    text-decoration: none;
}

.catalog-group-grid img,
.catalog-group-icon {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.catalog-group-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-700);
    background: var(--brand-100);
    font-size: 2rem;
    font-weight: 900;
}

.catalog-group-grid small {
    color: var(--muted);
}

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

.catalog-product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,46,27,.05);
}

.catalog-product-image {
    position: relative;
    display: grid;
    min-height: 240px;
    place-items: center;
    padding: 18px;
    background: #f8faf7;
}

.catalog-product-image img {
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.catalog-product-image > span {
    color: var(--muted);
    font-size: .78rem;
}

.preview-draft-badge {
    display: inline-flex;
    width: max-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: #7a4800;
    background: #ffe7ad;
    font-size: .65rem;
    font-weight: 900;
}

.catalog-product-image .preview-draft-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

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

.catalog-product-category {
    color: var(--brand-600);
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.catalog-product-content h3 {
    min-height: 46px;
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.catalog-product-content h3 a {
    color: var(--ink);
    text-decoration: none;
}

.catalog-product-content p {
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-reference {
    margin-bottom: 14px;
    color: var(--muted);
    font-family: Consolas, monospace;
    font-size: .73rem;
}

.catalog-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-category-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.catalog-category-list span {
    color: var(--brand-600);
}

.catalog-listing,
.catalog-detail {
    padding-block: 54px 80px;
}

.catalog-listing-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.catalog-listing-heading > strong {
    color: var(--muted);
    font-size: .8rem;
}

.catalog-filters {
    display: grid;
    margin-bottom: 24px;
    padding: 14px;
    grid-template-columns: minmax(220px,1fr) 220px 220px auto;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.catalog-filters input,
.catalog-filters select {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd5cd;
    border-radius: 10px;
    background: #fff;
}

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

.catalog-empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    padding: 30px;
    border: 1px dashed #bdc9be;
    border-radius: 16px;
    color: var(--muted);
    background: #fff;
    text-align: center;
}

.catalog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: .75rem;
}

.catalog-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
    gap: 34px;
}

.catalog-detail-gallery,
.catalog-detail-content,
.catalog-description {
    padding: clamp(24px,4vw,46px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.catalog-detail-main-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
}

.catalog-detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
}

.catalog-detail-thumbs img {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    object-fit: contain;
}

.catalog-detail-content h1 {
    margin: 12px 0;
    font-size: clamp(2.3rem,4.5vw,4.4rem);
    letter-spacing: -.06em;
    line-height: .98;
}

.catalog-detail-subtitle {
    color: var(--muted);
    line-height: 1.6;
}

.catalog-reference-box {
    display: grid;
    margin: 28px 0;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog-reference-box > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.catalog-reference-box span {
    color: var(--muted);
    font-size: .65rem;
    text-transform: uppercase;
}

.catalog-reference-box strong {
    font-family: Consolas,monospace;
    font-size: .82rem;
}

.catalog-no-price {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.catalog-description {
    margin-top: 20px;
}

.catalog-description > h2 {
    margin: 6px 0 16px;
    font-size: 2rem;
}

.catalog-description > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.catalog-footer {
    display: grid;
    min-height: 190px;
    grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(170px, 0.75fr) minmax(200px, 0.65fr);
    align-items: start;
    gap: clamp(22px, 3vw, 48px);
    padding-block: 34px 30px;
    border-top: 1px solid var(--line);
}

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

.catalog-footer-brand img {
    width: 190px;
    height: 86px;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
}

.catalog-footer-brand > div,
.catalog-footer-map,
.catalog-footer-meta {
    display: grid;
    min-width: 0;
}

.catalog-footer-brand > div {
    gap: 4px;
}

.catalog-footer-map,
.catalog-footer-meta {
    gap: 8px;
}

.catalog-footer-brand strong,
.catalog-footer-map strong {
    color: var(--brand-900);
    font-size: 0.82rem;
}

.catalog-footer span,
.catalog-footer small,
.catalog-footer-map a,
.catalog-footer-meta a {
    color: var(--muted);
    font-size: 0.7rem;
}

.catalog-footer-map a,
.catalog-footer-meta a {
    text-decoration: none;
}

.catalog-footer-map a:hover,
.catalog-footer-meta a:hover {
    color: var(--brand-700);
    text-decoration: underline;
}

.catalog-footer-meta {
    justify-items: end;
    text-align: right;
}

@media (max-width: 980px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: 380px;
    }

    .auth-form-panel {
        min-height: auto;
        padding-block: 70px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .next-steps-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .filter-bar,
    .filter-bar-wide,
    .filter-bar-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-search {
        grid-column: 1 / -1;
    }

    .form-layout,
    .product-form-grid,
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .form-card-sticky {
        position: static;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-header-main {
        grid-template-columns: 170px 1fr;
    }

    .catalog-cart {
        display: none;
    }

    .catalog-hero,
    .catalog-banner,
    .catalog-detail-grid {
        grid-template-columns: 1fr;
    }

    .catalog-hero-mark {
        display: none;
    }

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

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

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

@media (max-width: 680px) {
    .maintenance-page {
        padding: 18px;
    }

    .brand-logo-maintenance {
        width: min(86vw, 360px);
        height: clamp(86px, 27vw, 120px);
    }

    .maintenance-message h1 {
        font-size: clamp(2.25rem, 11.4vw, 3.7rem);
    }

    .auth-brand-panel {
        min-height: 330px;
        padding: 30px 24px;
    }

    .brand-logo-auth {
        width: 210px;
        height: 94px;
    }

    .auth-brand-copy h1 {
        font-size: 2.4rem;
    }

    .auth-brand-copy p {
        display: none;
    }

    .auth-form-panel {
        padding: 50px 22px;
    }

    .admin-header {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .admin-header-stacked {
        padding: 0 14px;
    }

    .admin-header-top {
        min-height: 72px;
    }

    .admin-brand img {
        width: 140px;
    }

    .admin-user > div {
        display: none;
    }

    .admin-main {
        width: min(100% - 28px, 1220px);
        padding-top: 38px;
    }

    .admin-welcome {
        flex-direction: column;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: 150px;
    }

    .admin-main-catalog,
    .admin-main-form,
    .admin-main-product-form {
        width: min(100% - 28px, 1420px);
    }

    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .page-heading .button {
        width: 100%;
    }

    .filter-bar,
    .filter-bar-wide,
    .filter-bar-products {
        grid-template-columns: 1fr;
    }

    .filter-search {
        grid-column: auto;
    }

    .data-card-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .taxonomy-modal-fields,
    .taxonomy-modal-switches {
        grid-template-columns: 1fr;
    }

    .taxonomy-modal { padding: 10px; }
    .taxonomy-modal-card { max-height: calc(100vh - 20px); padding: 24px 18px; border-radius: 15px; }
    .taxonomy-modal-actions { display: grid; grid-template-columns: 1fr 1fr; }

    .field-full {
        grid-column: auto;
    }

    .form-card {
        padding: 22px 18px;
    }

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

    .form-actions-bar {
        bottom: 8px;
    }

    .form-actions-bar .button {
        flex: 1;
    }

    .pagination a:not(.is-active):not(:first-child):not(:last-child) {
        display: none;
    }

    .preview-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .catalog-header-main {
        padding-block: 12px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .catalog-brand img {
        width: 150px;
        height: 54px;
    }

    .catalog-nav {
        overflow-x: auto;
    }

    .catalog-nav span {
        display: none;
    }

    .catalog-hero {
        min-height: 520px;
    }

    .catalog-hero > div:first-child {
        padding: 36px 24px;
    }

    .catalog-group-grid,
    .catalog-product-grid,
    .catalog-product-grid-listing {
        grid-template-columns: 1fr;
    }

    .catalog-group-grid a {
        min-height: 150px;
    }

    .catalog-section,
    .catalog-listing,
    .catalog-detail {
        padding-block: 40px;
    }

    .catalog-section-heading,
    .catalog-listing-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .catalog-detail-main-image {
        height: 340px;
    }

    .catalog-reference-box {
        grid-template-columns: 1fr;
    }

    .catalog-footer {
        align-items: flex-start;
        grid-template-columns: 1fr 1fr;
        padding-block: 28px;
    }

    .catalog-footer-brand,
    .catalog-footer-meta {
        grid-column: 1 / -1;
    }

    .catalog-footer-meta {
        justify-items: start;
        text-align: left;
    }
}

/* Padronização das relações administrativas e revisão responsiva 3.1 */
.admin-main-catalog .page-heading h1 {
    max-width: 820px;
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
}

.professional-admin-table {
    min-width: 1120px;
}

.category-table {
    min-width: 1280px;
}

.professional-admin-table thead th {
    position: sticky;
    z-index: 2;
    top: 0;
    padding-block: 12px;
    box-shadow: inset 0 -1px #dde5dd;
}

.professional-admin-table tbody tr:nth-child(even) { background: #fcfdfc; }
.professional-admin-table tbody tr:hover { background: #f4f9f3; }

.professional-admin-table .table-id {
    width: 72px;
    padding-right: 8px;
}

.professional-admin-table td.table-id strong {
    display: inline-flex;
    padding: 5px 7px;
    border-radius: 7px;
    color: var(--brand-800);
    background: var(--brand-100);
    font-family: Consolas, monospace;
    font-size: 0.68rem;
}

.professional-admin-table .entity-cell {
    min-width: 245px;
}

.table-number {
    min-width: 92px;
}

.table-number > strong,
.table-number > span {
    display: block;
}

.table-number > strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.table-number > span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.62rem;
}

.admin-table-wrap {
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #a8b5a9 #eef2ee;
    -webkit-overflow-scrolling: touch;
}

.catalog-detail-content h1 {
    max-width: 680px;
    font-size: clamp(1.8rem, 3.15vw, 3.05rem);
    letter-spacing: -0.045em;
    line-height: 1.06;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.catalog-detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
}

.catalog-detail-actions .button {
    min-width: 0;
    min-height: 48px;
    padding: 10px 9px;
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: center;
}

.catalog-detail-grid > *,
.catalog-detail-content,
.catalog-detail-actions > * {
    min-width: 0;
}

@media (max-width: 980px) {
    .admin-main-catalog .page-heading h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .catalog-detail-content h1 {
        max-width: 820px;
        font-size: clamp(1.85rem, 5vw, 2.7rem);
    }

    .catalog-detail-gallery,
    .catalog-detail-content,
    .catalog-description {
        padding: clamp(22px, 4vw, 36px);
    }
}

@media (max-width: 680px) {
    .admin-main {
        padding-bottom: 54px;
    }

    .admin-main-catalog .page-heading h1 {
        font-size: clamp(1.9rem, 10vw, 2.55rem);
        line-height: 1.04;
    }

    .admin-main-catalog .page-heading p:not(.eyebrow) {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .professional-admin-table .entity-cell {
        min-width: 215px;
    }

    .catalog-detail-content h1 {
        margin-block: 10px;
        font-size: clamp(1.6rem, 8.5vw, 2.15rem);
        line-height: 1.08;
    }

    .catalog-detail-gallery,
    .catalog-detail-content,
    .catalog-description {
        padding: 20px;
        border-radius: 16px;
    }

    .catalog-reference-box {
        margin-block: 20px;
    }

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

    .catalog-detail-actions .button {
        min-height: 46px;
        padding-inline: 7px;
        font-size: 0.66rem;
    }

    .catalog-detail-actions .button svg {
        width: 16px;
    }

    .catalog-breadcrumb {
        overflow: hidden;
    }

    .catalog-breadcrumb > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .analytics-metric-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-stacked {
        padding-inline: 10px;
    }

    .admin-nav a {
        padding-inline: 12px;
    }

    .data-card-summary > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .catalog-detail-actions .button {
        gap: 5px;
        padding-inline: 5px;
        font-size: 0.63rem;
    }

    .cart-page-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .cart-page-item > img,
    .cart-page-item > i {
        width: 58px;
        height: 58px;
    }
}

/* Management workspace, visual ordering and machines catalog */
.admin-nav-icon {
    display: inline-grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 6px;
    color: var(--brand-700);
    background: var(--brand-50);
    font-size: .82rem;
    line-height: 1;
}

.admin-nav-divider {
    width: 1px;
    height: 24px;
    align-self: center;
    margin-inline: 4px;
    background: var(--line);
}

.admin-command-center {
    width: min(1420px, calc(100% - 44px));
}

.admin-command-hero {
    position: relative;
    display: flex;
    min-height: 210px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 18px;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 83% 18%, rgba(137, 212, 105, .25), transparent 27%),
        linear-gradient(120deg, #12351f, #225c2e 60%, #367b3b);
    box-shadow: 0 22px 55px rgba(20, 61, 31, .17);
}

.admin-command-hero::after {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.025);
    content: "";
}

.admin-command-copy,
.admin-site-status { position: relative; z-index: 1; }
.admin-command-copy h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.065em; line-height: .95; }
.admin-command-copy .eyebrow { color: #aee69c; }
.admin-command-copy > p:last-child { max-width: 610px; margin: 18px 0 0; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.6; }

.admin-site-status {
    display: grid;
    min-width: 295px;
    padding: 18px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(7, 31, 16, .46);
    backdrop-filter: blur(14px);
}
.admin-site-status div { display: grid; gap: 3px; }
.admin-site-status small { color: rgba(255,255,255,.62); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.admin-site-status strong { font-size: .88rem; }
.status-orb { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.status-orb.is-online { background: #8ee777; }
.status-orb.is-offline { background: #f3bd5d; }

.admin-primary-actions { display: grid; margin-bottom: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.admin-action-card { display: grid; min-height: 145px; padding: 22px; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: #fff; text-decoration: none; box-shadow: 0 10px 28px rgba(22,53,29,.055); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.admin-action-card:hover { border-color: #b3d0b4; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(22,53,29,.1); }
.admin-action-card .action-card-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: #fff; background: var(--brand-700); font-size: 1.45rem; font-weight: 800; }
.admin-action-card.is-vehicle .action-card-icon { background: #b86928; }
.admin-action-card.is-order .action-card-icon { color: var(--brand-800); background: var(--brand-100); }
.admin-action-card div { display: grid; gap: 4px; }
.admin-action-card small { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.admin-action-card strong { font-size: 1.05rem; }
.admin-action-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.admin-action-card > b { color: var(--brand-600); font-size: 1.4rem; }

.admin-overview-strip { display: grid; margin-bottom: 18px; padding: 8px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(22,53,29,.04); }
.admin-overview-strip article { position: relative; display: grid; min-height: 142px; align-content: center; padding: 20px 24px; border-right: 1px solid var(--line); }
.admin-overview-strip article:last-child { border-right: 0; }
.admin-overview-strip span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.admin-overview-strip strong { margin-top: 4px; font-size: 2.35rem; letter-spacing: -.05em; }
.admin-overview-strip small { color: var(--muted); font-size: .68rem; }
.admin-overview-strip a { position: absolute; right: 20px; bottom: 18px; font-size: .69rem; font-weight: 850; }
.admin-overview-strip .is-attention { border-radius: 14px; background: #fffaf0; }

.admin-workspace-grid { display: grid; margin-bottom: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.admin-recent-card .section-card-heading { padding: 22px; }
.admin-shortcuts { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.admin-shortcuts > div { display: grid; margin-right: auto; gap: 2px; }
.admin-shortcuts > div span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.admin-shortcuts > div strong { font-size: .9rem; }
.admin-shortcuts > a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--brand-800); background: #fafcf9; font-size: .7rem; font-weight: 800; text-decoration: none; }

.page-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.catalog-subnav,.order-jump-nav { display: flex; margin: -8px 0 18px; padding: 6px; overflow-x: auto; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.catalog-subnav a,.order-jump-nav a { padding: 10px 14px; border-radius: 9px; color: var(--muted); font-size: .74rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.catalog-subnav a:hover,.catalog-subnav a.is-active,.order-jump-nav a:hover { color: var(--brand-800); background: var(--brand-50); }
.filter-bar-vehicles { grid-template-columns: minmax(250px,1.25fr) repeat(4,minmax(130px,.6fr)) auto; }
.text-action { color: var(--brand-700); font-size: .74rem; font-weight: 800; }
.badge-info { border-color: #bdd9e6; color: #245c74; background: #edf8fc; }
.empty-state-icon { display: grid; width: 68px; height: 68px; margin-bottom: 13px; place-items: center; border-radius: 20px; background: var(--brand-50); font-size: 2rem; }

.order-field-link { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px dashed #b9cbb9; border-radius: 11px; color: var(--ink); background: #fafcf9; text-decoration: none; }
.order-field-link > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--brand-700); background: var(--brand-100); font-size: 1rem; }
.order-field-link div { display: grid; gap: 2px; }
.order-field-link strong { font-size: .78rem; }
.order-field-link small { color: var(--muted); font-size: .67rem; }
.form-save-hint { margin-right: auto; color: var(--muted); font-size: .7rem; }

.admin-main-order { width: min(1060px,calc(100% - 44px)); }
.order-help-chip { padding: 10px 13px; border-radius: 999px; color: var(--brand-800); background: var(--brand-100); font-size: .74rem; font-weight: 850; }
.order-sections { display: grid; gap: 18px; }
.order-card { scroll-margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(20,46,27,.05); }
.order-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.order-card > header span { color: var(--brand-700); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.order-card > header h2 { margin: 4px 0; font-size: 1.35rem; }
.order-card > header p { margin: 0; color: var(--muted); font-size: .74rem; }
.order-card > header > strong { padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #f3f6f2; font-size: .7rem; white-space: nowrap; }
.sortable-list { display: grid; max-height: 610px; margin: 0; padding: 12px; overflow-y: auto; gap: 7px; list-style: none; counter-reset: item; }
.sortable-list li { display: grid; min-height: 68px; padding: 8px 10px; grid-template-columns: auto 48px minmax(0,1fr) auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .15s ease,box-shadow .15s ease,opacity .15s ease; }
.sortable-list li:hover { border-color: #b9d1ba; box-shadow: 0 6px 18px rgba(20,46,27,.07); }
.sortable-list li.is-dragging { border-color: var(--brand-500); opacity: .45; }
.sortable-list img,.sortable-list i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 10px; object-fit: contain; color: var(--brand-700); background: var(--brand-50); font-style: normal; font-weight: 900; }
.sortable-list li > div:not(.sortable-buttons) { display: grid; min-width: 0; gap: 3px; }
.sortable-list li strong { overflow: hidden; font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.sortable-list li small { overflow: hidden; color: var(--muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.drag-handle { display: grid; width: 34px; height: 42px; place-content: center; gap: 3px; border: 0; color: var(--muted); background: transparent; cursor: grab; }
.drag-handle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
.sortable-position { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--brand-800); background: var(--brand-50); font-size: .7rem; font-weight: 900; }
.sortable-buttons { display: flex; gap: 4px; }
.sortable-buttons button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; cursor: pointer; }
.sortable-buttons button:disabled { cursor: default; opacity: .3; }
.order-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fafcf9; }
.order-save-bar span { color: var(--muted); font-size: .7rem; }
.has-order-changes .order-save-bar { background: #f1f9ee; }
.order-empty { padding: 35px; color: var(--muted); text-align: center; }

.catalog-contact-cta { white-space: nowrap; }
.home-vehicle-showcase { display: grid; width: min(1420px,calc(100% - 44px)); min-height: 350px; margin: 34px auto; padding: clamp(30px,5vw,64px); grid-template-columns: minmax(0,.8fr) minmax(430px,1.2fr); align-items: center; gap: 45px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 82% 15%,rgba(237,168,78,.25),transparent 30%),linear-gradient(125deg,#132d1d,#244b2c 58%,#695022); box-shadow: 0 22px 54px rgba(24,55,30,.16); }
.home-vehicle-copy > span,.vehicle-catalog-hero > div > span { color: #bde9aa; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.home-vehicle-copy h2 { max-width: 620px; margin: 10px 0 15px; font-size: clamp(2rem,4vw,4.1rem); letter-spacing: -.055em; line-height: 1; }
.home-vehicle-copy p { max-width: 540px; margin: 0 0 24px; color: rgba(255,255,255,.72); line-height: 1.65; }
.home-vehicle-preview { display: grid; gap: 10px; }
.home-vehicle-preview > a { display: grid; min-height: 82px; padding: 9px; grid-template-columns: 74px 1fr; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; color: #fff; background: rgba(255,255,255,.08); text-decoration: none; backdrop-filter: blur(8px); }
.home-vehicle-preview img,.home-vehicle-preview i { display: grid; width: 74px; height: 64px; place-items: center; border-radius: 10px; object-fit: cover; background: rgba(255,255,255,.1); font-style: normal; font-weight: 900; }
.home-vehicle-preview span { display: grid; gap: 4px; }
.home-vehicle-preview small { color: rgba(255,255,255,.62); font-size: .66rem; }
.home-vehicle-preview strong { font-size: .86rem; }
.home-vehicle-empty { display: grid; min-height: 150px; place-content: center; gap: 6px; padding: 22px; border: 1px dashed rgba(255,255,255,.23); border-radius: 16px; text-align: center; }
.home-vehicle-empty span { color: rgba(255,255,255,.65); font-size: .75rem; }

.vehicle-catalog-page { background: #f4f5f1; }
.vehicle-catalog-hero { display: flex; width: min(1420px,calc(100% - 44px)); min-height: 260px; align-items: center; justify-content: space-between; gap: 28px; margin: 18px auto 12px; padding: clamp(26px,3.5vw,44px); border-radius: 22px; color: #fff; background: radial-gradient(circle at 78% 20%,rgba(219,161,74,.34),transparent 28%),linear-gradient(125deg,#122c1b,#285533 62%,#765728); }
.vehicle-catalog-hero h1 { max-width: 720px; margin: 8px 0 10px; font-size: clamp(2.15rem,4vw,4.3rem); letter-spacing: -.055em; line-height: .98; }
.vehicle-catalog-hero p { max-width: 660px; margin: 0 0 18px; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.55; }
.vehicle-hero-stat { display: grid; min-width: 150px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(8,28,14,.3); }
.vehicle-hero-stat strong { font-size: 2.6rem; letter-spacing: -.06em; }
.vehicle-hero-stat span { color: rgba(255,255,255,.65); font-size: .72rem; }
.vehicle-type-rail { display: flex; width: min(1420px,calc(100% - 44px)); margin: 0 auto 8px; padding: 7px; overflow-x: auto; gap: 5px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.vehicle-type-rail a { padding: 11px 15px; border-radius: 9px; color: var(--muted); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.vehicle-type-rail a:hover,.vehicle-type-rail a.is-active { color: #fff; background: var(--brand-800); }
.vehicle-listing { padding-top: 28px; }
.vehicle-listing .catalog-listing-heading h2 { margin: 4px 0 0; font-size: clamp(2rem,4vw,4rem); letter-spacing: -.055em; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.vehicle-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(19,45,26,.055); transition: transform .18s ease,box-shadow .18s ease; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(19,45,26,.11); }
.vehicle-card-image { position: relative; display: grid; aspect-ratio: 1.35; place-items: center; overflow: hidden; color: var(--muted); background: #eef1ec; text-decoration: none; }
.vehicle-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vehicle-card:hover .vehicle-card-image img { transform: scale(1.025); }
.vehicle-card-image > b { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(17,48,25,.86); font-size: .63rem; }
.vehicle-card-content { display: grid; padding: 18px; gap: 9px; }
.vehicle-card-type { color: #9b641f; font-size: .64rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.vehicle-card-content h3 { margin: 0; font-size: 1.03rem; line-height: 1.25; }
.vehicle-card-content h3 a { color: var(--ink); text-decoration: none; }
.vehicle-card-content p { min-height: 2.7em; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.vehicle-spec-chips { display: flex; min-height: 28px; flex-wrap: wrap; gap: 5px; }
.vehicle-spec-chips span { padding: 5px 7px; border-radius: 7px; color: var(--muted); background: #f1f4ef; font-size: .63rem; font-weight: 750; }
.vehicle-card-actions { display: grid; margin-top: 4px; grid-template-columns: 1fr 1fr; gap: 7px; }
.vehicle-card-actions .button { min-width: 0; padding-inline: 8px; font-size: .68rem; }
.vehicle-detail-main-image { object-fit: cover; background: #eef1ec; }
.vehicle-detail-specs { display: grid; margin: 22px 0; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.vehicle-detail-specs div { display: grid; min-height: 72px; align-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fafcf9; }
.vehicle-detail-specs span { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.vehicle-detail-specs strong { margin-top: 4px; font-size: .78rem; }
.vehicle-contact-box { padding: 20px; border: 1px solid #bdddb9; border-radius: 16px; background: linear-gradient(135deg,#eff9ed,#fff); }
.vehicle-contact-box > span { color: var(--brand-700); font-size: .66rem; font-weight: 850; text-transform: uppercase; }
.vehicle-contact-box > strong { display: block; margin-top: 4px; font-size: 1.1rem; }
.vehicle-contact-box p { margin: 8px 0 14px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.vehicle-related { width: 100%; padding-inline: 0; }
.catalog-detail-thumbs img { cursor: pointer; }
.catalog-detail-thumbs img.is-active { outline: 3px solid var(--brand-500); outline-offset: 2px; }

@media (max-width: 1100px) {
    .admin-primary-actions,.vehicle-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-primary-actions .admin-action-card:last-child { grid-column: 1 / -1; }
    .admin-overview-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-overview-strip article:nth-child(2) { border-right: 0; }
    .admin-overview-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .filter-bar-vehicles { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .home-vehicle-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .admin-nav-divider { display: none; }
    .admin-command-center,.admin-main-order { width: min(100% - 24px,1420px); }
    .admin-command-hero,.vehicle-catalog-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 24px 20px; border-radius: 18px; }
    .admin-site-status { min-width: 0; }
    .admin-primary-actions,.admin-overview-strip,.admin-workspace-grid,.vehicle-grid { grid-template-columns: 1fr; }
    .admin-primary-actions .admin-action-card:last-child { grid-column: auto; }
    .admin-overview-strip article,.admin-overview-strip article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .admin-overview-strip article:last-child { border-bottom: 0; }
    .admin-shortcuts { align-items: stretch; flex-direction: column; }
    .admin-shortcuts > div { margin: 0 0 6px; }
    .filter-bar-vehicles { grid-template-columns: 1fr; }
    .form-save-hint { display: none; }
    .home-vehicle-showcase { width: calc(100% - 24px); margin-block: 22px; padding: 30px 22px; grid-template-columns: 1fr; border-radius: 20px; }
    .vehicle-catalog-hero,.vehicle-type-rail { width: calc(100% - 24px); }
    .vehicle-hero-stat { min-width: 0; }
    .vehicle-detail-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sortable-list li { grid-template-columns: auto 42px minmax(0,1fr) auto; }
    .sortable-position { display: none; }
    .sortable-buttons { grid-column: 3 / -1; justify-content: flex-end; }
    .order-save-bar { align-items: stretch; flex-direction: column; }
}

.catalog-search-wrap,
.catalog-actions,
.mega-nav-wrap {
    position: relative;
}

.catalog-header-main > *,
.catalog-search-wrap,
.catalog-search,
.catalog-search input,
.catalog-hero > div:first-child {
    min-width: 0;
}

.catalog-search input {
    width: auto;
    flex: 1 1 auto;
}

.catalog-actions {
    justify-self: end;
}

.catalog-cart {
    position: relative;
    border: 0;
    cursor: pointer;
    background: transparent;
}

.catalog-cart svg {
    width: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.catalog-cart > span {
    position: absolute;
    top: -10px;
    left: 19px;
    width: 20px;
    height: 20px;
    font-size: .62rem;
}

.search-suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    max-height: min(620px, 72vh);
    overflow-y: auto;
    border: 1px solid #cfd9d0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(13, 36, 22, .22);
}

.search-suggestions section > strong {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px 8px;
    color: var(--brand-700);
    font-size: .65rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.search-suggestions section > strong span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-100);
}

.search-suggestions section + section {
    border-top: 1px solid var(--line);
}

.search-suggestions a {
    display: grid;
    padding: 9px 14px;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.search-suggestions a:hover {
    background: var(--brand-50);
}

.search-suggestions img,
.search-suggestions i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 9px;
    object-fit: contain;
    color: var(--brand-700);
    background: #f1f5f0;
    font-style: normal;
    font-weight: 900;
}

.search-suggestions a span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.search-suggestions b,
.search-suggestions small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestions b { font-size: .78rem; }
.search-suggestions small { color: var(--muted); font-size: .66rem; }

.mega-nav-trigger {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px 9px 0 0;
    color: #fff;
    background: var(--brand-700);
    cursor: pointer;
    font-weight: 850;
}

.mega-menu {
    position: absolute;
    z-index: 35;
    top: 100%;
    left: 0;
    display: grid;
    width: min(900px, 92vw);
    min-height: 430px;
    grid-template-columns: 250px 1fr 260px;
    border: 1px solid #cfd9d0;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(13, 36, 22, .24);
}

.mega-menu[hidden] { display: none; }
.mega-menu > div { padding: 18px; }
.mega-menu > div + div { border-left: 1px solid var(--line); }
.mega-menu span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.mega-menu a {
    display: flex;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink);
    font-size: .77rem;
    text-decoration: none;
}
.mega-menu a:hover { color: var(--brand-700); background: var(--brand-50); }
.mega-menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 2px 8px;
}
.mega-menu-categories > span { grid-column: 1/-1; }
.mega-menu-categories a[hidden] { display: none; }
.mega-menu-highlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, var(--brand-950), var(--brand-700));
    color: #fff;
}
.mega-menu-highlight img { width: 190px; height: 88px; object-fit: cover; object-position: center; }
.mega-menu-highlight strong { margin-top: 15px; font-size: 1.4rem; }
.mega-menu-highlight p { color: rgba(255,255,255,.68); font-size: .75rem; line-height: 1.6; }
.mega-menu-highlight a { padding: 0; color: #a9e294; font-weight: 900; }

.cart-popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + 18px);
    right: 0;
    width: min(410px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #cfd9d0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(13, 36, 22, .24);
}
.cart-popover[hidden] { display: none; }
.cart-popover-head {
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}
.cart-popover-head button,
.whatsapp-chat header button {
    border: 0;
    cursor: pointer;
    background: transparent;
    font-size: 1.4rem;
}
.cart-popover-items { max-height: 370px; overflow-y: auto; }
.cart-popover-items article {
    display: grid;
    padding: 12px 15px;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}
.cart-popover-items img,
.cart-popover-items article > i {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 9px;
    object-fit: contain;
    background: #f4f7f3;
    font-style: normal;
}
.cart-popover-items article > div { display: grid; gap: 4px; }
.cart-popover-items strong { font-size: .75rem; }
.cart-popover-items small { color: var(--muted); font-size: .65rem; }
.cart-popover-items article span { display: flex; align-items: center; gap: 8px; }
.cart-popover-items article span button {
    width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: #fff;
}
.cart-popover-items article > button { border: 0; color: var(--danger); cursor: pointer; background: transparent; }
.cart-popover-footer { padding: 14px 17px; background: #f7faf6; }
.cart-popover-footer > span { display: block; color: var(--muted); font-size: .72rem; }
.cart-empty { padding: 36px 20px; color: var(--muted); text-align: center; }

.catalog-slider {
    position: relative;
    width: 100%;
    height: clamp(480px, 40vw, 650px);
    overflow: hidden;
    background: var(--brand-950);
}
.catalog-slide {
    position: absolute;
    inset: 0;
    display: grid;
    visibility: hidden;
    opacity: 0;
    transition: opacity .55s ease, visibility .55s;
}
.catalog-slide.is-active { visibility: visible; opacity: 1; }
.catalog-slide > img { width: 100%; height: 100%; object-fit: cover; }
.catalog-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: max(5vw, calc((100% - 1420px) / 2));
    color: #fff;
    background: linear-gradient(90deg, rgba(8,25,14,.9), rgba(8,25,14,.35) 55%, transparent);
}
.catalog-slide-overlay > * { max-width: 760px; }
.catalog-slide-overlay > span { color: #a9e294; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.catalog-slide-overlay h1 { margin: 12px 0; font-size: clamp(3rem,6vw,6rem); letter-spacing: -.065em; line-height: .94; }
.catalog-slide-overlay p { color: rgba(255,255,255,.75); line-height: 1.7; }
.catalog-slider .catalog-hero { width: 100%; min-height: 100%; margin: 0; border-radius: 0; }
.catalog-hero-secondary {
    background:
        radial-gradient(circle at 82% 45%, rgba(245, 177, 66, .34), transparent 25%),
        linear-gradient(125deg, #12251a 0%, #275f35 58%, #183f27 100%);
}
.catalog-hero-tertiary {
    background:
        radial-gradient(circle at 78% 30%, rgba(151, 220, 121, .4), transparent 26%),
        linear-gradient(125deg, #0c2014, #1a7138);
}
.catalog-hero-symbol {
    display: grid;
    width: min(360px, 72%);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    align-content: center;
    gap: 4px;
    transform: rotate(-5deg);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 38% 62% 55% 45% / 46% 44% 56% 54%;
    color: #fff;
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 0 80px rgba(255,255,255,.07), 0 32px 80px rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
}
.catalog-hero-symbol span { color: #b6e899; font-size: 1.1rem; font-weight: 900; letter-spacing: .18em; }
.catalog-hero-symbol strong { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -.08em; line-height: .95; }
.catalog-hero-symbol small { color: rgba(255,255,255,.65); font-weight: 800; text-transform: uppercase; }
.catalog-hero-symbol-chat { transform: rotate(4deg); border-radius: 50%; }
.catalog-hero-symbol-chat span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-950);
    background: #b6e899;
    font-size: 2rem;
}
.catalog-hero-symbol-chat strong { font-size: clamp(2rem, 4vw, 3.6rem); }
.slider-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 46px; height: 46px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(10,28,16,.55);
    cursor: pointer;
    font-size: 2rem;
}
.slider-prev { left: 22px; } .slider-next { right: 22px; }
.slider-arrow[hidden],
.slider-dots[hidden] { display: none; }
.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 22px;
    left: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); }
.slider-dots button.is-active { width: 28px; border-radius: 8px; background: #fff; }

.catalog-benefit-rail {
    position: relative;
    z-index: 3;
    display: grid;
    width: min(1420px, calc(100% - 44px));
    margin: -25px auto 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(20,46,27,.1);
}
.catalog-benefit-rail article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
}
.catalog-benefit-rail article + article { border-left: 1px solid var(--line); }
.catalog-benefit-rail article > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    color: var(--brand-700);
    background: var(--brand-100);
}
.catalog-benefit-rail svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.catalog-benefit-rail article > div { display: grid; min-width: 0; gap: 3px; }
.catalog-benefit-rail strong { font-size: .78rem; }
.catalog-benefit-rail small { color: var(--muted); font-size: .67rem; line-height: 1.4; }

.catalog-card-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.catalog-card-actions .button { min-height: 42px; padding-inline: 10px; font-size: .72rem; }
.catalog-card-actions [data-cart-add],
.catalog-detail-content [data-cart-add] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.catalog-card-actions [data-cart-add] svg,
.catalog-detail-content [data-cart-add] svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}
.catalog-product-card { transition: transform .2s ease, box-shadow .2s ease; }
.catalog-product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(20,46,27,.13); }

.whatsapp-widget { position: fixed; z-index: 55; right: 22px; bottom: 22px; }
.whatsapp-fab {
    display: grid;
    width: 62px; height: 62px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #22c763;
    box-shadow: 0 14px 35px rgba(21,124,63,.32);
    cursor: pointer;
}
.whatsapp-fab svg { width: 34px; fill: #fff; }
.whatsapp-chat {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(370px, calc(100vw - 28px));
    overflow: hidden;
    border-radius: 18px;
    background: #efeae2;
    box-shadow: 0 24px 70px rgba(13,36,22,.28);
}
.whatsapp-chat[hidden] { display: none; }
.whatsapp-chat header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: #fff;
    background: #075e54;
}
.whatsapp-chat header > div { display: grid; flex: 1; }
.whatsapp-chat header small { color: rgba(255,255,255,.7); }
.whatsapp-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #fff; color: #075e54; font-weight: 900; }
.whatsapp-chat-body { min-height: 190px; padding: 22px 15px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 35%), #efeae2; }
.whatsapp-message { max-width: 82%; padding: 11px 13px; border-radius: 4px 13px 13px 13px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.08); font-size: .78rem; line-height: 1.5; }
.whatsapp-chat footer { display: grid; padding: 9px; grid-template-columns: 1fr 44px; gap: 7px; background: #f7f7f7; }
.whatsapp-chat textarea { resize: none; padding: 10px; border: 0; border-radius: 12px; outline: 0; }
.whatsapp-chat footer button { border: 0; border-radius: 50%; color: #fff; background: #22c763; cursor: pointer; }
.maintenance-control { display: flex; align-items: center; gap: 10px; }

@media (max-width: 980px) {
    .catalog-cart { display: flex; }
    .catalog-header-main {
        grid-template-columns: 170px minmax(220px, 1fr) auto;
        gap: 14px;
    }
    .catalog-nav {
        width: 100%;
        padding-inline: 22px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .catalog-benefit-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-benefit-rail article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .catalog-benefit-rail article:nth-child(4) { border-top: 1px solid var(--line); }
    .catalog-hero-symbol { display: none; }
}

@media (max-width: 680px) {
    .catalog-header-main {
        min-height: 146px;
        grid-template-columns: 1fr auto;
        align-content: center;
        padding-bottom: 14px;
    }
    .catalog-brand img { width: 150px; height: 56px; }
    .catalog-search-wrap { grid-column: 1 / -1; grid-row: 2; }
    .catalog-actions { position: static; grid-column: 2; grid-row: 1; }
    .catalog-cart strong { display: none; }
    .catalog-hero h1 { overflow-wrap: anywhere; font-size: clamp(2.55rem, 12vw, 3.35rem); }
    .mega-menu { width: calc(100vw - 28px); grid-template-columns: 1fr 1fr; min-height: 360px; }
    .mega-menu-highlight { display: none; }
    .mega-menu-categories { grid-template-columns: 1fr; max-height: 360px; overflow-y: auto; }
    .catalog-slider { height: 540px; }
    .slider-arrow { top: auto; bottom: 14px; width: 38px; height: 38px; transform: none; }
    .slider-prev { left: 10px; } .slider-next { right: 10px; }
    .catalog-slide-overlay { padding: 30px 24px; }
    .catalog-benefit-rail {
        display: flex;
        width: calc(100% - 28px);
        overflow-x: auto;
        border-radius: 15px;
        scroll-snap-type: x mandatory;
    }
    .catalog-benefit-rail article {
        min-width: 82%;
        border-top: 0 !important;
        border-left: 1px solid var(--line) !important;
        scroll-snap-align: start;
    }
    .catalog-benefit-rail article:first-child { border-left: 0 !important; }
    .catalog-card-actions { grid-template-columns: 1fr; }
    .whatsapp-widget { right: 14px; bottom: 14px; }
    .whatsapp-fab { width: 56px; height: 56px; }
}

/* Catálogo 2.1 — navegação, vitrine, filtros e atendimento */
.catalog-header {
    position: sticky;
    z-index: 50;
    top: 0;
    box-shadow: 0 8px 30px rgba(14, 39, 23, 0.07);
}

.catalog-header-main {
    min-height: 98px;
    grid-template-columns: minmax(270px, 300px) minmax(360px, 1fr) auto;
    gap: clamp(18px, 2.4vw, 38px);
}

.catalog-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.catalog-brand img {
    width: 152px;
    height: 62px;
    flex: 0 0 auto;
    object-fit: cover;
}

.catalog-brand > span {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.catalog-brand > span strong {
    color: var(--brand-900);
    font-size: 0.82rem;
}

.catalog-brand > span small {
    color: var(--muted);
    font-size: 0.62rem;
    white-space: nowrap;
}

.catalog-search {
    min-height: 54px;
    border: 1px solid #b9c8bb;
    border-radius: 15px;
    box-shadow: 0 7px 22px rgba(20, 46, 27, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.catalog-search:focus-within {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 4px rgba(58, 163, 77, 0.12), 0 10px 28px rgba(20, 46, 27, 0.08);
}

.catalog-search input {
    min-height: 52px;
    padding-inline: 18px;
    font-size: 0.9rem;
}

.catalog-search button {
    display: grid;
    width: 58px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
}

.catalog-search button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.catalog-cart {
    min-height: 50px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f7faf6;
}

.catalog-cart:hover {
    color: var(--brand-700);
    border-color: #b9c8bb;
}

.catalog-nav-bar {
    color: #fff;
    background: linear-gradient(90deg, var(--brand-950), #154b2b 58%, var(--brand-800));
}

.catalog-nav {
    min-height: 58px;
    gap: 5px;
    border: 0;
}

.catalog-nav-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 13px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.82) !important;
    white-space: nowrap;
    transition: color 160ms ease, background 160ms ease;
}

.catalog-nav-link:hover,
.catalog-nav-link[aria-current="page"] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

.catalog-nav-link-featured {
    min-height: 42px;
    padding-inline: 18px;
    color: var(--brand-950) !important;
    background: #b9ef9d;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 7px 18px rgba(2,18,8,.16);
    font-weight: 900 !important;
}

.catalog-nav-link-featured:hover,
.catalog-nav-link-featured[aria-current="page"] {
    color: var(--brand-950) !important;
    background: #d0f7bc;
}

.mega-nav-trigger {
    display: flex;
    min-width: 246px;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 0;
    background: #23723d;
}

.mega-nav-trigger > svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.mega-nav-trigger > span {
    display: grid;
    flex: 1;
    gap: 0;
    margin-left: 0;
    color: #fff;
    text-align: left;
}

.mega-nav-trigger small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.57rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mega-nav-trigger > b {
    font-size: 1rem;
    transition: transform 160ms ease;
}

.mega-nav-trigger[aria-expanded="true"] > b {
    transform: rotate(180deg);
}

.mega-menu {
    width: min(1080px, calc(100vw - 44px));
    min-height: 450px;
    grid-template-columns: 300px minmax(350px, 1fr) 300px;
    overflow: hidden;
    border: 0;
    border-top: 4px solid #43a84f;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 32px 90px rgba(6, 25, 13, 0.32);
}

.mega-menu > div {
    padding: 24px;
}

.mega-menu .mega-menu-heading {
    display: flex;
    min-height: 48px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.mega-menu .mega-menu-heading > span,
.mega-menu-highlight-label {
    display: block;
    margin: 0;
    color: var(--brand-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mega-menu .mega-menu-heading > small {
    color: var(--muted);
    font-size: 0.62rem;
    text-align: right;
}

.mega-menu-groups {
    overflow-y: auto;
    background: #f6f9f5;
}

.mega-menu-groups > a {
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid transparent;
}

.mega-menu-groups > a > span {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 2px;
    margin: 0;
}

.mega-menu-groups > a strong {
    overflow: hidden;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mega-menu-groups > a small {
    color: var(--muted);
    font-size: 0.61rem;
}

.mega-menu-groups > a:hover,
.mega-menu-groups > a.is-active {
    border-color: #c7dcc9;
    color: var(--brand-800);
    background: #fff;
}

.mega-menu-groups > a.is-active > b {
    transform: translateX(2px);
}

.mega-menu-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 7px;
}

.mega-menu-categories .mega-menu-heading {
    grid-column: 1 / -1;
}

.mega-menu-categories > a {
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid #edf1ed;
    background: #fff;
}

.mega-menu-categories > a > span {
    display: block;
    min-width: 0;
    flex: 1;
    margin: 0;
    overflow: hidden;
    font-size: 0.72rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mega-menu-categories > a > small {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-700);
    background: var(--brand-100);
    font-size: 0.58rem;
}

.mega-menu-highlight {
    align-items: flex-start;
    padding: 30px !important;
}

.mega-menu-highlight .mega-menu-highlight-label {
    color: #b9ef9d;
}

.mega-menu-highlight img {
    width: 100%;
    height: 76px;
    margin: 24px 0 14px;
    object-fit: cover;
}

.mega-menu-highlight strong {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.mega-menu-highlight p {
    margin: 12px 0 20px;
}

.mega-menu-highlight .button-light {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    color: var(--brand-900);
    background: #fff;
}

.search-suggestions {
    border-top: 4px solid var(--brand-600);
}

.catalog-slider {
    height: clamp(520px, 39vw, 650px);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12);
}

.catalog-slide.is-active .catalog-hero-visual {
    animation: catalogHeroVisualIn 720ms cubic-bezier(.2, .75, .2, 1) both;
}

.catalog-slide.is-active .catalog-hero-mark img {
    animation: catalogLogoFloat 5s ease-in-out 850ms infinite;
}

.catalog-slide.is-active .catalog-hero-symbol {
    animation: catalogHeroVisualIn 720ms cubic-bezier(.2, .75, .2, 1) both,
        catalogHeroGlow 4.5s ease-in-out 850ms infinite;
}

.catalog-hero-symbol {
    --hero-rotation: -5deg;
}

.catalog-hero-symbol-chat {
    --hero-rotation: 4deg;
}

@keyframes catalogHeroVisualIn {
    from {
        opacity: 0;
        transform: translate3d(90px, 18px, 0) scale(0.9) rotate(var(--hero-rotation, 0deg));
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(var(--hero-rotation, 0deg));
    }
}

@keyframes catalogLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes catalogHeroGlow {
    0%, 100% { box-shadow: inset 0 0 80px rgba(255,255,255,.07), 0 32px 80px rgba(0,0,0,.18); }
    50% { box-shadow: inset 0 0 110px rgba(185,239,157,.13), 0 38px 95px rgba(0,0,0,.24); }
}

.slider-arrow {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(7, 28, 15, 0.68);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    font-size: 0;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slider-arrow svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.slider-arrow:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: var(--brand-700);
}

.slider-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.slider-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}

.slider-pagination {
    position: absolute;
    z-index: 5;
    bottom: 24px;
    left: 50%;
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 12px;
    padding: 8px 13px;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    background: rgba(7, 28, 15, .58);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}

.slider-pagination[hidden] {
    display: none;
}

.slider-pagination > span {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.slider-dots {
    position: static;
    transform: none;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.is-active {
    width: 24px;
}

.catalog-benefit-rail {
    z-index: 2;
    margin-top: 22px;
    border-radius: 20px;
}

.catalog-benefit-rail article {
    min-height: 88px;
}

.catalog-listing-heading {
    align-items: center;
}

.catalog-listing-total {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    background: #fff;
}

.catalog-listing-total strong {
    color: var(--brand-800);
    font-size: 1.35rem;
}

.catalog-listing-total span {
    font-size: 0.7rem;
}

.catalog-listing-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.catalog-filter-sidebar {
    position: sticky;
    top: 178px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20, 46, 27, 0.07);
}

.catalog-filter-sidebar > form {
    display: grid;
}

.catalog-filter-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 19px 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-950), var(--brand-700));
}

.catalog-filter-sidebar-heading > div {
    display: grid;
    gap: 2px;
}

.catalog-filter-sidebar-heading span {
    color: #b9ef9d;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-filter-sidebar-heading strong {
    font-size: 1.02rem;
}

.catalog-filter-sidebar-heading a {
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.catalog-filter-search,
.catalog-filter-sort {
    display: grid;
    gap: 7px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
}

.catalog-filter-search > label,
.catalog-filter-sort > label {
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 800;
}

.catalog-filter-search > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    border: 1px solid #c7d2c8;
    border-radius: 10px;
}

.catalog-filter-search svg {
    width: 18px;
    justify-self: end;
    fill: none;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-width: 1.7;
}

.catalog-filter-search input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.74rem;
}

.catalog-filter-group {
    border-bottom: 1px solid var(--line);
}

.catalog-filter-group summary {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    cursor: pointer;
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 850;
    list-style: none;
}

.catalog-filter-group summary::-webkit-details-marker {
    display: none;
}

.catalog-filter-group summary::after {
    content: "−";
    margin-left: 8px;
    color: var(--brand-700);
    font-size: 1rem;
}

.catalog-filter-group:not([open]) summary::after {
    content: "+";
}

.catalog-filter-group summary > span {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--brand-700);
    background: var(--brand-100);
    font-size: 0.56rem;
}

.catalog-filter-options {
    display: grid;
    gap: 2px;
    padding: 0 12px 14px;
}

.catalog-filter-options-scroll {
    max-height: 310px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.catalog-filter-option {
    display: grid;
    min-height: 36px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 7px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.7rem;
}

.catalog-filter-option:hover {
    color: var(--ink);
    background: var(--brand-50);
}

.catalog-filter-option input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--brand-700);
}

.catalog-filter-option:has(input:checked) {
    color: var(--brand-800);
    background: var(--brand-100);
    font-weight: 800;
}

.catalog-filter-option small {
    color: var(--muted);
    font-size: 0.6rem;
}

.catalog-filter-option[hidden] {
    display: none;
}

.catalog-filter-sort select {
    width: 100%;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #c7d2c8;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    font-size: 0.72rem;
}

.catalog-filter-sidebar .button {
    margin: 16px 18px 18px;
    width: calc(100% - 36px);
}

.catalog-listing-results {
    min-width: 0;
}

.catalog-results-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    background: #fff;
    font-size: 0.7rem;
}

.catalog-results-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.catalog-results-toolbar strong {
    color: var(--ink);
}

.catalog-results-toolbar a {
    color: var(--brand-700);
    font-weight: 800;
}

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

.catalog-empty-filtered {
    min-height: 320px;
    align-content: center;
    gap: 10px;
}

.catalog-empty-filtered strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.catalog-empty-filtered .button {
    margin-top: 8px;
}

.whatsapp-widget {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.whatsapp-fab {
    display: flex;
    width: auto;
    min-width: 218px;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 7px 6px 16px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #118b50, #20bd66);
    box-shadow: 0 18px 45px rgba(16, 112, 60, .3);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(16, 112, 60, .38);
}

.whatsapp-fab-label {
    display: grid;
    gap: 1px;
    text-align: left;
}

.whatsapp-fab-label strong {
    font-size: 0.74rem;
    white-space: nowrap;
}

.whatsapp-fab-label small {
    color: rgba(255,255,255,.74);
    font-size: 0.6rem;
    white-space: nowrap;
}

.whatsapp-fab > i {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #118b50;
    background: #fff;
}

.whatsapp-fab > i svg {
    width: 27px;
    fill: currentColor;
    stroke: none;
}

.whatsapp-chat {
    bottom: 80px;
    width: min(400px, calc(100vw - 28px));
    border: 1px solid rgba(7, 94, 84, .18);
    border-radius: 22px;
    background: #efeae2;
    box-shadow: 0 28px 80px rgba(13,36,22,.32);
    transform-origin: right bottom;
    animation: whatsappChatIn 220ms ease-out both;
}

@keyframes whatsappChatIn {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-chat header {
    min-height: 74px;
    padding: 13px 15px;
    background: linear-gradient(135deg, #075e54, #087967);
}

.whatsapp-chat header > div {
    gap: 2px;
}

.whatsapp-chat header strong {
    font-size: 0.88rem;
}

.whatsapp-chat header small {
    font-size: 0.65rem;
}

.whatsapp-chat header button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
}

.whatsapp-chat header button:hover {
    background: rgba(255,255,255,.12);
}

.whatsapp-chat header button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.whatsapp-avatar {
    position: relative;
    width: 46px;
    height: 46px;
    overflow: visible;
    border: 2px solid rgba(255,255,255,.82);
    background: #fff;
}

.whatsapp-avatar img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.whatsapp-avatar i {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border: 2px solid #075e54;
    border-radius: 50%;
    background: #25d366;
}

.whatsapp-chat-body {
    display: flex;
    min-height: 220px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 15px 24px;
    background-color: #efeae2;
    background-image:
        radial-gradient(circle at 10px 10px, rgba(7,94,84,.045) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

.whatsapp-chat-date {
    align-self: center;
    padding: 4px 9px;
    border-radius: 7px;
    color: #60716b;
    background: rgba(255,255,255,.72);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    font-size: 0.56rem;
    text-transform: uppercase;
}

.whatsapp-message {
    display: grid;
    max-width: 88%;
    gap: 5px;
    padding: 12px 13px 8px;
    border-radius: 4px 14px 14px;
    color: #23312b;
    font-size: 0.76rem;
}

.whatsapp-message > strong {
    color: #075e54;
}

.whatsapp-message > span {
    line-height: 1.5;
}

.whatsapp-message > small {
    justify-self: end;
    color: #82908a;
    font-size: 0.54rem;
}

.whatsapp-cart-hint {
    align-self: flex-end;
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 13px 4px 13px 13px;
    color: #153d29;
    background: #d9fdd3;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    font-size: 0.69rem;
    line-height: 1.45;
}

.whatsapp-cart-hint[hidden] {
    display: none;
}

.whatsapp-chat footer {
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: end;
    gap: 8px;
    padding: 10px;
    background: #f5f6f4;
}

.whatsapp-chat textarea {
    min-height: 48px;
    max-height: 116px;
    padding: 12px 14px;
    border: 1px solid #e1e5e1;
    border-radius: 15px;
    color: var(--ink);
    background: #fff;
    line-height: 1.4;
}

.whatsapp-chat footer button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    background: #16a75a;
    transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-chat footer button:hover {
    transform: scale(1.05);
    background: #0d8f4a;
}

.whatsapp-chat footer button svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.catalog-featured-collection {
    overflow: hidden;
}

.catalog-detail > .catalog-section {
    width: 100%;
}

.catalog-related-products {
    margin-top: 26px;
    padding-top: 34px;
    padding-bottom: 12px;
}

.catalog-related-products + .catalog-related-products {
    margin-top: 6px;
}

.catalog-featured-collection-soft {
    width: 100%;
    max-width: none;
    padding-inline: max(22px, calc((100% - 1420px) / 2));
    background: #e9ede8;
}

.catalog-collection-heading {
    align-items: center;
}

.catalog-collection-heading > div {
    min-width: 0;
}

.catalog-collection-heading h2 {
    margin-bottom: 0;
}

.catalog-collection-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.catalog-collection-heading > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #bfd0c0;
    border-radius: 11px;
    color: var(--brand-800);
    background: #fff;
    white-space: nowrap;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.catalog-collection-heading > a:hover {
    transform: translateY(-2px);
    border-color: var(--brand-600);
    box-shadow: 0 10px 24px rgba(20,46,27,.1);
}

.catalog-collection-heading > a svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.catalog-product-marquee {
    position: relative;
    overflow: hidden;
    padding: 5px 0 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

.catalog-product-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: catalogProductsMarquee 48s linear infinite;
}

.catalog-product-marquee:hover .catalog-product-marquee-track,
.catalog-product-marquee:focus-within .catalog-product-marquee-track {
    animation-play-state: paused;
}

.catalog-product-marquee-set {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

.catalog-product-marquee .catalog-product-card {
    width: clamp(260px, 21vw, 310px);
    flex: 0 0 clamp(260px, 21vw, 310px);
}

.catalog-product-marquee.is-static {
    -webkit-mask-image: none;
    mask-image: none;
}

.catalog-product-marquee.is-static .catalog-product-marquee-track {
    width: 100%;
    animation: none;
}

.catalog-product-marquee.is-static .catalog-product-marquee-set {
    width: 100%;
    flex-wrap: nowrap;
}

@keyframes catalogProductsMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1160px) {
    .catalog-header-main {
        grid-template-columns: 170px minmax(300px, 1fr) auto;
    }

    .catalog-brand > span {
        display: none;
    }

    .catalog-nav-link:nth-last-child(-n+2) {
        display: none;
    }

    .mega-menu {
        grid-template-columns: 280px minmax(330px, 1fr) 260px;
    }

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

    .catalog-product-marquee .catalog-product-card {
        width: 285px;
        flex-basis: 285px;
    }
}

@media (max-width: 980px) {
    .catalog-header {
        position: relative;
    }

    .catalog-header-main {
        grid-template-columns: 160px minmax(260px, 1fr) auto;
    }

    .catalog-nav {
        width: min(100% - 28px, 1420px);
        padding: 0;
    }

    .catalog-nav-link {
        display: none !important;
    }

    .mega-nav-wrap,
    .mega-nav-trigger {
        width: 100%;
    }

    .mega-menu {
        width: min(900px, calc(100vw - 28px));
        grid-template-columns: 270px 1fr;
    }

    .mega-menu-highlight {
        display: none;
    }

    .catalog-listing-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filter-sidebar {
        position: static;
    }

    .catalog-filter-sidebar > form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-filter-sidebar-heading {
        grid-column: 1 / -1;
    }

    .catalog-filter-search,
    .catalog-filter-group,
    .catalog-filter-sort {
        border-right: 1px solid var(--line);
    }

    .catalog-filter-sidebar .button {
        align-self: end;
    }
}

@media (max-width: 680px) {
    .catalog-header-main {
        min-height: 144px;
        grid-template-columns: 1fr auto;
        padding: 12px 14px 14px;
    }

    .catalog-brand img {
        width: 144px;
        height: 52px;
    }

    .catalog-search-wrap {
        grid-column: 1 / -1;
    }

    .catalog-search {
        min-height: 48px;
    }

    .catalog-search input {
        min-height: 46px;
        font-size: 0.76rem;
    }

    .catalog-search button {
        width: 50px;
    }

    .catalog-cart {
        min-width: 52px;
        justify-content: center;
        padding: 7px;
    }

    .catalog-nav {
        min-height: 54px;
    }

    .mega-nav-trigger {
        min-height: 54px;
    }

    .mega-menu {
        left: 50%;
        width: calc(100vw - 28px);
        max-height: min(70vh, 620px);
        grid-template-columns: 1fr;
        transform: translateX(-50%);
        overflow-y: auto;
    }

    .mega-menu-groups,
    .mega-menu-categories {
        overflow: visible;
    }

    .mega-menu-categories {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .catalog-slider {
        height: 560px;
    }

    .catalog-hero > div:first-child {
        padding: 46px 24px 100px;
    }

    .catalog-hero h1 {
        font-size: clamp(2.45rem, 11.5vw, 3.35rem);
    }

    .slider-arrow {
        top: 50%;
        bottom: auto;
        width: 42px;
        height: 42px;
        transform: translateY(-50%);
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-prev:hover {
        transform: translateY(-50%) translateX(-2px);
    }

    .slider-next:hover {
        transform: translateY(-50%) translateX(2px);
    }

    .slider-pagination {
        bottom: 18px;
    }

    .catalog-benefit-rail {
        margin-top: 14px;
    }

    .catalog-listing-heading {
        align-items: flex-start;
    }

    .catalog-listing-total {
        width: 100%;
    }

    .catalog-filter-sidebar > form {
        grid-template-columns: 1fr;
    }

    .catalog-filter-sidebar-heading {
        grid-column: auto;
    }

    .catalog-filter-search,
    .catalog-filter-group,
    .catalog-filter-sort {
        border-right: 0;
    }

    .catalog-product-grid-listing {
        grid-template-columns: 1fr;
    }

    .catalog-collection-heading > a {
        width: 100%;
        justify-content: space-between;
        white-space: normal;
    }

    .catalog-product-marquee {
        margin-inline: -14px;
        padding-inline: 14px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .catalog-product-marquee .catalog-product-card {
        width: min(82vw, 300px);
        flex-basis: min(82vw, 300px);
    }

    .catalog-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .catalog-footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-footer-brand img {
        width: 180px;
        height: 80px;
    }

    .whatsapp-fab {
        min-width: 58px;
        width: 58px;
        height: 58px;
        padding: 5px;
    }

    .whatsapp-fab-label {
        display: none;
    }

    .whatsapp-fab > i {
        width: 48px;
        height: 48px;
    }

    .whatsapp-chat {
        position: fixed;
        right: 14px;
        bottom: 84px;
        width: calc(100vw - 28px);
        max-height: calc(100vh - 110px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Painel e catálogo — dashboard, tabela e carrinho 3.0 */
.admin-welcome-compact {
    align-items: center;
    margin-bottom: 24px;
}

.admin-welcome-compact h1 {
    max-width: 760px;
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.admin-welcome-compact p:not(.eyebrow) {
    margin-top: 12px;
}

.dashboard-content-single {
    grid-template-columns: 1fr;
}

.admin-main-analytics {
    width: min(1420px, calc(100% - 44px));
}

.analytics-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.analytics-heading h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.analytics-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.analytics-range {
    display: grid;
    min-width: 205px;
    gap: 6px;
}

.analytics-range label {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.analytics-range select {
    min-height: 46px;
    padding: 10px 38px 10px 13px;
    border: 1px solid #c8d3ca;
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    font-weight: 750;
}

.analytics-empty-note,
.analytics-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid #cfe2cf;
    border-radius: 12px;
    color: var(--brand-800);
    background: var(--brand-50);
    font-size: 0.75rem;
}

.analytics-empty-note span {
    color: var(--muted);
}

.analytics-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.analytics-metric-grid article {
    display: grid;
    min-height: 142px;
    align-content: space-between;
    gap: 12px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 46, 27, 0.045);
}

.analytics-metric-grid article.is-accent {
    color: #fff;
    border-color: var(--brand-700);
    background: linear-gradient(145deg, var(--brand-900), var(--brand-700));
}

.analytics-metric-grid article > span {
    min-height: 30px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.35;
}

.analytics-metric-grid article.is-accent > span,
.analytics-metric-grid article.is-accent > small {
    color: rgba(255, 255, 255, 0.72);
}

.analytics-metric-grid article > strong {
    font-size: clamp(1.75rem, 2.5vw, 2.55rem);
    letter-spacing: -0.05em;
}

.analytics-metric-grid article > small {
    color: var(--muted);
    font-size: 0.61rem;
    line-height: 1.35;
}

.analytics-metric-grid small.is-positive { color: var(--success); }
.analytics-metric-grid small.is-negative { color: var(--danger); }

.analytics-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.analytics-grid-main {
    grid-template-columns: minmax(0, 1.55fr) minmax(390px, 0.75fr);
}

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

.analytics-grid-thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 46, 27, 0.05);
}

.analytics-card > header {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.analytics-card > header > div:first-child {
    display: grid;
    gap: 3px;
}

.analytics-card > header span {
    color: var(--brand-600);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.analytics-card > header h2 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.analytics-card > header > a {
    font-size: 0.7rem;
    font-weight: 850;
}

.analytics-legend {
    display: flex !important;
    align-items: center;
    grid-auto-flow: column;
    gap: 14px !important;
}

.analytics-legend span {
    position: relative;
    padding-left: 15px;
    color: var(--muted) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.analytics-legend span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--brand-600);
    content: "";
}

.analytics-legend .is-products::before { background: #e4a126; }

.analytics-line-chart {
    padding: 18px 18px 10px;
}

.analytics-line-chart svg {
    display: block;
    width: 100%;
    min-height: 230px;
    overflow: visible;
}

.analytics-line-chart text {
    fill: #879088;
    font-family: inherit;
    font-size: 9px;
}

.chart-grid {
    stroke: #e6ebe6;
    stroke-width: 1;
}

.chart-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line-visits { stroke: var(--brand-600); }
.chart-line-products { stroke: #e4a126; }

.analytics-funnel {
    display: grid;
    padding: 12px 20px 20px;
}

.analytics-funnel > div {
    position: relative;
    display: grid;
    min-height: 58px;
    padding: 10px 0 10px 46px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.analytics-funnel > div:last-child { border-bottom: 0; }

.analytics-funnel > div > span {
    position: absolute;
    left: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    color: var(--brand-700);
    background: var(--brand-100);
    font-size: 0.68rem;
    font-weight: 900;
}

.analytics-funnel > div > strong {
    grid-column: 1;
    font-size: 1.12rem;
}

.analytics-funnel > div > small {
    grid-column: 1;
    color: var(--muted);
    font-size: 0.67rem;
}

.analytics-funnel > div > em {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--brand-700);
    font-size: 0.61rem;
    font-style: normal;
    font-weight: 800;
}

.analytics-product-list > a {
    display: grid;
    min-height: 70px;
    padding: 10px 16px;
    grid-template-columns: 20px 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}

.analytics-product-list > a:last-child { border-bottom: 0; }
.analytics-product-list > a:hover { background: #fafcfa; }

.analytics-product-list > a > b {
    color: #a0a8a1;
    font-size: 0.68rem;
}

.analytics-product-list img,
.analytics-product-list > a > i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    object-fit: contain;
    background: #f7faf6;
    font-style: normal;
}

.analytics-product-list > a > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.analytics-product-list > a > div > strong {
    overflow: hidden;
    font-size: 0.73rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-product-list small {
    color: var(--muted);
    font-size: 0.6rem;
}

.analytics-product-list svg,
.analytics-group-list svg {
    width: 100%;
    height: 4px;
}

.analytics-product-list > a > span {
    display: grid;
    justify-items: end;
    gap: 1px;
}

.analytics-product-list > a > span strong { font-size: 0.86rem; }
.bar-track { fill: #edf1ed; }
.bar-value { fill: var(--brand-500); }
.bar-value-cart { fill: #e4a126; }

.analytics-search-list {
    display: grid;
    padding: 8px 18px 14px;
}

.analytics-search-list > div {
    display: grid;
    min-height: 48px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 9px;
    border-bottom: 1px solid var(--line);
}

.analytics-search-list > div:last-child { border-bottom: 0; }
.analytics-search-list b { color: #99a29a; font-size: 0.62rem; }
.analytics-search-list span { overflow: hidden; font-size: 0.72rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.analytics-search-list strong { font-size: 0.78rem; }
.analytics-search-list small { grid-column: 2 / -1; color: var(--muted); font-size: 0.58rem; }

.analytics-group-list {
    display: grid;
    padding: 8px 18px 14px;
}

.analytics-group-list article {
    display: grid;
    gap: 7px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.analytics-group-list article:last-child { border-bottom: 0; }

.analytics-group-list article > div {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.analytics-group-list b {
    color: #9aa39b;
    font-size: 0.64rem;
}

.analytics-group-list strong { font-size: 0.72rem; }
.analytics-group-list span,
.analytics-group-list small { color: var(--muted); font-size: 0.61rem; }
.analytics-group-list svg { height: 7px; }

.analytics-simple-list,
.analytics-device-list,
.analytics-source-list {
    display: grid;
    padding: 8px 18px 14px;
}

.analytics-simple-list > div,
.analytics-device-list > div,
.analytics-source-list > div {
    display: grid;
    min-height: 43px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    border-bottom: 1px solid var(--line);
}

.analytics-simple-list span,
.analytics-device-list span,
.analytics-source-list span {
    overflow: hidden;
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-simple-list strong,
.analytics-device-list strong,
.analytics-source-list strong { font-size: 0.74rem; }

.analytics-simple-list small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.58rem;
}

.analytics-source-list {
    padding-top: 0;
    border-top: 1px solid var(--line);
    background: #fafcfa;
}

.analytics-card-empty {
    margin: 0;
    padding: 38px 22px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.55;
    text-align: center;
}

.analytics-recent-card {
    margin-top: 16px;
}

.analytics-recent-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-recent-list > div {
    display: grid;
    min-height: 60px;
    padding: 10px 20px;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.analytics-recent-list > div:nth-child(odd) { border-right: 1px solid var(--line); }

.analytics-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 4px var(--brand-100);
}

.analytics-recent-list > div > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.analytics-recent-list strong,
.analytics-recent-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analytics-recent-list strong { font-size: 0.7rem; }
.analytics-recent-list small,
.analytics-recent-list time { color: var(--muted); font-size: 0.6rem; }

/* Tabela administrativa de produtos */
.product-table {
    min-width: 1180px;
}

.product-table thead th {
    position: sticky;
    z-index: 2;
    top: 0;
    padding-block: 12px;
    box-shadow: inset 0 -1px #dde5dd;
}

.product-table tbody tr:nth-child(even) { background: #fcfdfc; }
.product-table tbody tr:hover { background: #f4f9f3; }

.table-sort {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-decoration: none;
}

.table-sort b {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid #dce4dc;
    border-radius: 6px;
    color: #89928a;
    background: #fff;
    font-size: 0.7rem;
}

.table-sort:hover,
.table-sort.is-active { color: var(--brand-700); }

.table-sort.is-active b {
    color: #fff;
    border-color: var(--brand-600);
    background: var(--brand-600);
}

.product-table .table-id {
    width: 72px;
    padding-right: 8px;
}

.product-table td.table-id strong {
    display: inline-flex;
    padding: 5px 7px;
    border-radius: 7px;
    color: var(--brand-800);
    background: var(--brand-100);
    font-family: Consolas, monospace;
    font-size: 0.68rem;
}

.product-table .entity-cell-product {
    min-width: 270px;
}

.product-table .entity-cell-product img,
.product-table .entity-placeholder-product {
    width: 58px;
    height: 58px;
}

.data-card-summary > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.table-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-page-size label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
}

.table-page-size select {
    min-height: 36px;
    padding: 7px 28px 7px 10px;
    border: 1px solid #ccd6cd;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.table-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-actions .button svg {
    width: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button-edit {
    border-color: var(--brand-700);
    color: #fff;
    background: var(--brand-700);
}

.button-edit:hover {
    color: #fff;
    background: var(--brand-800);
}

/* Filtros navegáveis em uma única área de rolagem */
.catalog-filter-sidebar {
    max-height: calc(100dvh - 198px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a9b7aa transparent;
}

.catalog-filter-options-scroll {
    max-height: none;
    overflow: visible;
}

/* Ações rápidas e carrinho */
.button-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: #149652;
    color: #fff;
    background: linear-gradient(135deg, #128c50, #20b965);
}

.button-whatsapp:hover {
    color: #fff;
    border-color: #087a40;
    background: #087a40;
}

.button-whatsapp svg,
.button-product-whatsapp svg,
.catalog-detail-actions .button svg,
.cart-page-summary .button svg {
    width: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.catalog-card-actions .button-product-whatsapp {
    grid-column: 1 / -1;
}

.catalog-detail-actions {
    display: grid;
    gap: 10px;
}

.cart-popover-footer {
    display: grid;
    gap: 9px;
}

.cart-popover-footer > span { margin-bottom: 2px; }

.cart-popover-footer .button {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-decoration: none;
}

.catalog-cart-page {
    width: min(1220px, calc(100% - 44px));
    margin-inline: auto;
    padding-block: 44px 80px;
}

.cart-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.cart-page-heading > div:first-child > span {
    color: var(--brand-600);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-page-heading h1 {
    margin: 6px 0 10px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.cart-page-heading p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.cart-page-total {
    display: grid;
    min-width: 150px;
    justify-items: end;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.cart-page-total strong {
    color: var(--brand-700);
    font-size: 1.8rem;
}

.cart-page-total span { color: var(--muted); font-size: 0.68rem; }

.cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.6fr);
    align-items: start;
    gap: 18px;
}

.cart-page-products,
.cart-page-summary {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 46, 27, 0.05);
}

.cart-page-products > header {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.cart-page-products > header strong { font-size: 0.9rem; }
.cart-page-products > header span { color: var(--muted); font-size: 0.65rem; }

.cart-page-item {
    display: grid;
    min-height: 112px;
    padding: 16px 20px;
    grid-template-columns: 84px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.cart-page-item:last-child { border-bottom: 0; }

.cart-page-item > img,
.cart-page-item > i {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: contain;
    background: #f7faf6;
    font-style: normal;
}

.cart-page-item-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.cart-page-item-copy > span {
    color: var(--brand-600);
    font-size: 0.61rem;
    font-weight: 850;
    text-transform: uppercase;
}

.cart-page-item-copy strong {
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-page-item-copy small { color: var(--muted); font-size: 0.66rem; }

.cart-page-quantity {
    display: grid;
    justify-items: center;
    gap: 7px;
}

.cart-page-quantity > span {
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 750;
    text-transform: uppercase;
}

.cart-page-quantity > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    border: 1px solid #d4ddd5;
    border-radius: 10px;
}

.cart-page-quantity button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    color: var(--brand-800);
    background: var(--brand-100);
    cursor: pointer;
}

.cart-page-quantity b { min-width: 22px; text-align: center; font-size: 0.76rem; }

.cart-page-remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border: 0;
    color: var(--danger);
    background: transparent;
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 800;
}

.cart-page-remove span { font-size: 1.15rem; }

.cart-page-empty {
    display: grid;
    min-height: 390px;
    place-content: center;
    justify-items: center;
    padding: 36px;
    text-align: center;
}

.cart-page-empty[hidden] { display: none; }

.cart-page-empty-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 18px;
    color: var(--brand-700);
    background: var(--brand-100);
}

.cart-page-empty-icon svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.cart-page-empty > strong { font-size: 1.1rem; }
.cart-page-empty p { max-width: 390px; margin: 8px 0 20px; color: var(--muted); line-height: 1.55; }

.cart-page-summary {
    position: sticky;
    top: 178px;
    display: grid;
    gap: 14px;
    padding: 24px;
}

.cart-page-summary h2 { margin: -5px 0 4px; font-size: 1.45rem; }

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cart-summary-row span { color: var(--muted); font-size: 0.7rem; }
.cart-summary-row strong { font-size: 0.86rem; }
.cart-page-summary > p { margin: 2px 0; color: var(--muted); font-size: 0.7rem; line-height: 1.55; }
.cart-page-summary > small { color: var(--muted); font-size: 0.61rem; line-height: 1.5; text-align: center; }
.cart-page-summary .button { min-height: 46px; text-decoration: none; }

@media (max-width: 1180px) {
    .analytics-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .analytics-grid-main { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr); }
}

@media (max-width: 980px) {
    .analytics-grid-main,
    .analytics-grid-equal { grid-template-columns: 1fr; }
    .analytics-grid-thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-page-layout { grid-template-columns: 1fr; }
    .cart-page-summary { position: static; }
    .catalog-filter-sidebar { max-height: none; overflow: visible; }
}

@media (max-width: 680px) {
    .admin-main-analytics { width: min(100% - 28px, 1420px); }
    .analytics-heading,
    .cart-page-heading { align-items: stretch; flex-direction: column; }
    .analytics-range { width: 100%; }
    .analytics-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-metric-grid article { min-height: 126px; padding: 15px; }
    .analytics-grid-thirds { grid-template-columns: 1fr; }
    .analytics-recent-list { grid-template-columns: 1fr; }
    .analytics-recent-list > div:nth-child(odd) { border-right: 0; }
    .analytics-line-chart { overflow-x: auto; }
    .analytics-line-chart svg { width: 680px; }
    .data-card-summary { align-items: stretch; }
    .data-card-summary > div { justify-content: space-between; }
    .table-page-size { justify-content: space-between; }
    .catalog-card-actions { grid-template-columns: 1fr; }
    .catalog-card-actions .button-product-whatsapp { grid-column: auto; }
    .catalog-cart-page { width: min(100% - 28px, 1220px); padding-top: 30px; }
    .cart-page-total { min-width: 0; align-items: center; grid-auto-flow: column; justify-content: space-between; }
    .cart-page-products > header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .cart-page-item {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }
    .cart-page-item > img,
    .cart-page-item > i { width: 68px; height: 68px; }
    .cart-page-quantity { grid-column: 1 / -1; grid-row: 2; justify-items: start; }
    .cart-page-remove { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
}

/* Garantias finais de cascade para telas compactas */
.catalog-detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

@media (max-width: 680px) {
    .catalog-detail-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
}

@media (max-width: 420px) {
    .analytics-metric-grid { grid-template-columns: 1fr; }
    .admin-header-stacked { padding-inline: 10px; }
    .admin-nav a { padding-inline: 12px; }
    .data-card-summary > div { align-items: flex-start; flex-direction: column; gap: 3px; }
    .catalog-detail-actions { gap: 6px; }
    .catalog-detail-actions .button { gap: 5px; padding-inline: 5px; font-size: 0.63rem; }
    .cart-page-item { grid-template-columns: 58px minmax(0, 1fr); }
    .cart-page-item > img,
    .cart-page-item > i { width: 58px; height: 58px; }
}

/* Carrinho estável e busca rápida acionável 3.2 */
.cart-popover-head {
    align-items: center;
}

.cart-popover-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line) !important;
    border-radius: 9px;
    color: var(--muted);
    background: #f7faf6 !important;
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.cart-popover-close:hover {
    color: var(--ink);
    border-color: #bdc9be !important;
    background: #eef3ed !important;
}

.cart-popover-close svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.9;
}

.cart-popover-items {
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a9b7aa transparent;
}

.cart-popover-items article {
    min-width: 0;
    align-items: center;
}

.cart-popover-items article > div {
    min-width: 0;
}

.cart-popover-items article > div > strong,
.cart-popover-items article > div > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-popover-items .cart-item-remove {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid #efcaca;
    border-radius: 9px;
    color: var(--danger);
    background: var(--danger-bg);
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.cart-popover-items .cart-item-remove:hover {
    color: #fff;
    border-color: var(--danger);
    background: var(--danger);
    transform: translateY(-1px);
}

.cart-item-remove svg,
.cart-page-remove svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cart-page-remove {
    gap: 7px;
    padding: 9px 11px;
    border: 1px solid #efcaca;
    border-radius: 10px;
    background: var(--danger-bg);
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.cart-page-remove span {
    font-size: 0.66rem;
}

.cart-page-remove:hover {
    color: #fff;
    border-color: var(--danger);
    background: var(--danger);
    transform: translateY(-1px);
}

.search-product-result {
    display: grid;
    min-width: 0;
    padding: 10px 13px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    transition: background 150ms ease;
}

.search-product-result + .search-product-result,
.search-suggestions section > a + a {
    border-top: 1px solid #e7ece7;
}

.search-product-result:nth-of-type(even),
.search-suggestions section > a:nth-of-type(even) {
    background: #f7faf6;
}

.search-product-result:hover {
    background: var(--brand-50);
}

.search-suggestions .search-product-copy {
    display: grid;
    min-width: 0;
    padding: 2px 0;
    grid-template-columns: 1fr;
    gap: 4px;
    color: var(--ink);
    background: transparent;
    text-decoration: none;
}

.search-suggestions .search-product-copy:hover {
    color: var(--brand-700);
    background: transparent;
}

.search-product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-suggestions .search-product-action {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid #cbd6cc;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.search-product-action svg {
    width: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.search-suggestions .search-product-action-add {
    color: #fff;
    border-color: var(--brand-700);
    background: var(--brand-700);
}

.search-suggestions .search-product-action-add:hover {
    border-color: var(--brand-800);
    background: var(--brand-800);
}

.search-suggestions .search-product-action-view {
    color: var(--brand-800);
    background: #fff;
}

.search-suggestions .search-product-action-view:hover {
    color: var(--brand-900);
    border-color: #9eb0a0;
    background: var(--brand-100);
}

@media (max-width: 680px) {
    .search-product-result {
        padding: 9px 10px;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .search-product-result > img,
    .search-product-result > i {
        width: 40px;
        height: 40px;
    }

    .search-product-actions {
        gap: 4px;
    }

    .search-suggestions .search-product-action {
        width: 36px;
        min-height: 36px;
        padding: 0;
    }

    .search-product-action span {
        display: none;
    }
}

@media (max-width: 420px) {
    .cart-popover {
        right: -4px;
        width: calc(100vw - 20px);
    }

    .cart-popover-items article {
        padding: 11px;
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .cart-popover-items img,
    .cart-popover-items article > i {
        width: 50px;
        height: 50px;
    }

    .cart-popover-items .cart-item-remove {
        width: 32px;
        height: 32px;
    }
}

/* Feedback global de ações 3.3 */
.toast-stack {
    position: fixed;
    z-index: 45;
    top: var(--toast-offset, 110px);
    right: 22px;
    display: grid;
    width: min(390px, calc(100vw - 44px));
    max-height: calc(100dvh - var(--toast-offset, 110px) - 18px);
    gap: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    scrollbar-width: none;
}

.toast-stack::-webkit-scrollbar {
    display: none;
}

.app-toast {
    display: grid;
    min-width: 0;
    padding: 13px 12px;
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 11px;
    overflow: hidden;
    border: 1px solid #d8e1d9;
    border-left: 4px solid var(--brand-600);
    border-radius: 14px;
    opacity: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(13, 36, 22, 0.2);
    pointer-events: auto;
    transform: translateX(24px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(16px);
}

.app-toast.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.app-toast.is-leaving {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
}

.app-toast-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: var(--brand-800);
    background: var(--brand-100);
}

.app-toast-icon svg,
.app-toast-close svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.app-toast-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.app-toast-copy strong,
.app-toast-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-toast-copy strong {
    font-size: 0.76rem;
}

.app-toast-copy small {
    display: -webkit-box;
    color: var(--muted);
    font-size: 0.67rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.app-toast-close {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #7d877f;
    background: transparent;
    cursor: pointer;
}

.app-toast-close:hover {
    color: var(--ink);
    background: #eef3ed;
}

.app-toast-info {
    border-left-color: #4d7e62;
}

.app-toast-info .app-toast-icon {
    color: #315d44;
    background: #e8f1ea;
}

.app-toast-warning {
    border-left-color: #d48817;
}

.app-toast-warning .app-toast-icon {
    color: #955b08;
    background: var(--warning-bg);
}

.app-toast-error {
    border-left-color: var(--danger);
}

.app-toast-error .app-toast-icon {
    color: var(--danger);
    background: var(--danger-bg);
}

@media (max-width: 680px) {
    .toast-stack {
        right: 14px;
        width: calc(100vw - 28px);
    }

    .app-toast {
        padding: 11px 10px;
        grid-template-columns: 36px minmax(0, 1fr) 30px;
        gap: 9px;
        border-radius: 12px;
    }

    .app-toast-icon {
        width: 36px;
        height: 36px;
    }
}

/* Carrinho compacto, atalhos administrativos e filtros internos 3.4 */
.catalog-header-compact .catalog-header-main {
    min-height: 72px;
    grid-template-columns: minmax(210px, 250px) minmax(320px, 1fr) auto;
    gap: 18px;
}

.catalog-header-compact .catalog-brand img {
    width: 150px;
    height: 52px;
}

.catalog-header-compact .catalog-brand > span {
    display: none;
}

.catalog-header-compact .catalog-search {
    min-height: 44px;
}

.catalog-header-compact .catalog-search input {
    min-height: 42px;
    padding-inline: 14px;
}

.catalog-header-compact .catalog-search button {
    width: 48px;
}

.catalog-header-compact .catalog-cart {
    min-height: 44px;
}

.catalog-header-compact .catalog-nav,
.catalog-header-compact .mega-nav-trigger {
    min-height: 48px;
}

.catalog-header-compact .catalog-nav-link {
    min-height: 48px;
    padding-block: 0;
}

.catalog-header-compact + .catalog-cart-page,
.catalog-cart-page {
    padding-top: 24px;
}

.catalog-cart-page > .catalog-breadcrumb {
    margin-bottom: 13px;
}

.cart-page-heading {
    align-items: center;
    gap: 18px;
    margin-bottom: 17px;
}

.cart-page-heading > div:first-child > span {
    font-size: 0.61rem;
}

.cart-page-heading h1 {
    margin: 3px 0 6px;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    letter-spacing: -0.05em;
}

.cart-page-heading p {
    font-size: 0.76rem;
    line-height: 1.5;
}

.cart-page-total {
    min-width: 132px;
    padding: 10px 13px;
    border-radius: 12px;
}

.cart-page-total strong {
    font-size: 1.5rem;
}

.cart-popover-head-actions,
.cart-clear-button {
    display: inline-flex;
    align-items: center;
}

.cart-popover-head-actions {
    gap: 7px;
}

.cart-clear-button {
    min-height: 36px;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #efcaca;
    border-radius: 9px;
    color: var(--danger);
    background: var(--danger-bg);
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 850;
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.cart-popover-head .cart-clear-button {
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid #efcaca;
    color: var(--danger);
    background: var(--danger-bg);
    font-size: 0.62rem;
}

.cart-clear-button svg {
    width: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cart-clear-button:hover:not(:disabled) {
    color: #fff;
    border-color: var(--danger);
    background: var(--danger);
}

.cart-clear-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.cart-page-products > header > div {
    display: grid;
    gap: 3px;
}

.button-preview-product {
    border-color: #b9cbbb;
    color: var(--brand-800);
    background: var(--brand-50);
}

.button-preview-product:hover {
    color: #fff;
    border-color: var(--brand-700);
    background: var(--brand-700);
}

.product-table {
    min-width: 1320px;
}

.catalog-filter-sidebar {
    max-height: none;
    overflow: hidden;
}

.catalog-filter-sidebar-heading {
    padding: 14px 16px;
}

.catalog-filter-search,
.catalog-filter-sort {
    gap: 5px;
    padding: 12px 14px;
}

.catalog-filter-search input,
.catalog-filter-sort select {
    min-height: 40px;
}

.catalog-filter-group summary {
    min-height: 44px;
    padding: 10px 15px;
}

.catalog-filter-options-scroll {
    max-height: clamp(108px, calc((100dvh - 610px) / 2), 226px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #91a493 #edf2ed;
}

.catalog-filter-options-scroll::-webkit-scrollbar {
    width: 7px;
}

.catalog-filter-options-scroll::-webkit-scrollbar-track {
    border-radius: 8px;
    background: #edf2ed;
}

.catalog-filter-options-scroll::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #91a493;
}

.catalog-filter-scroll-note {
    display: block;
    padding: 0 15px 8px;
    color: var(--muted);
    font-size: 0.58rem;
    line-height: 1.35;
}

.catalog-filter-sidebar .button {
    margin: 12px 15px 14px;
    width: calc(100% - 30px);
}

@media (min-width: 981px) and (max-height: 780px) {
    .catalog-filter-sidebar {
        position: static;
    }
}

@media (max-width: 980px) {
    .catalog-header-compact .catalog-header-main {
        grid-template-columns: 145px minmax(250px, 1fr) auto;
    }

    .catalog-header-compact .catalog-brand img {
        width: 140px;
        height: 48px;
    }
}

@media (max-width: 680px) {
    .catalog-header-compact .catalog-header-main {
        min-height: 116px;
        padding-block: 8px;
        grid-template-columns: 1fr auto;
    }

    .catalog-header-compact .catalog-brand img {
        width: 132px;
        height: 46px;
    }

    .catalog-header-compact .catalog-nav,
    .catalog-header-compact .mega-nav-trigger {
        min-height: 48px;
    }

    .catalog-cart-page {
        padding-top: 20px;
    }

    .cart-page-heading {
        gap: 12px;
        margin-bottom: 14px;
    }

    .cart-page-heading h1 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
    }

    .cart-page-heading p {
        font-size: 0.71rem;
    }

    .cart-page-products > header {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .cart-page-products > header > div {
        min-width: 0;
    }

    .cart-page-products > header > div span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cart-page-products > header .cart-clear-button {
        flex: 0 0 auto;
        padding-inline: 8px;
    }
}

@media (max-width: 420px) {
    .cart-page-products > header {
        padding-inline: 13px;
    }

    .cart-page-products > header > div span,
    .cart-page-products > header .cart-clear-button svg {
        display: none;
    }

    .cart-page-products > header .cart-clear-button::after {
        content: "Limpar";
    }

    .cart-page-products > header .cart-clear-button {
        font-size: 0;
    }

    .cart-page-products > header .cart-clear-button::after {
        font-size: 0.63rem;
    }
}

/* Changelog administrativo 3.5 */
.admin-main-changelog {
    width: min(1420px, calc(100% - 44px));
}

.changelog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.changelog-heading h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.changelog-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 13px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.changelog-current-version {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 3px;
    padding: 12px 15px;
    border: 1px solid #c9ddcc;
    border-radius: 13px;
    color: var(--muted);
    background: var(--brand-50);
    font-size: 0.64rem;
    font-weight: 750;
}

.changelog-current-version strong {
    color: var(--brand-800);
    font-size: 1.05rem;
}

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

.changelog-summary article {
    display: grid;
    min-height: 118px;
    align-content: space-between;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 46, 27, 0.045);
}

.changelog-summary span,
.changelog-summary small {
    color: var(--muted);
    font-size: 0.65rem;
}

.changelog-summary span {
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.changelog-summary strong {
    color: var(--brand-900);
    font-size: clamp(1.4rem, 2.4vw, 2.15rem);
    letter-spacing: -0.035em;
}

.changelog-jump {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}

.changelog-jump a {
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--brand-800);
    background: var(--brand-100);
    font-size: 0.7rem;
    font-weight: 850;
    text-decoration: none;
}

.changelog-jump span {
    margin-left: auto;
    padding-right: 8px;
    color: var(--muted);
    font-size: 0.64rem;
}

.changelog-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.changelog-version-index {
    position: sticky;
    top: 18px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.changelog-version-index > strong {
    padding: 14px 15px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.changelog-version-index a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 13px;
    border-bottom: 1px solid #edf1ed;
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 800;
    text-decoration: none;
}

.changelog-version-index a:last-child {
    border-bottom: 0;
}

.changelog-version-index a:hover,
.changelog-version-index a.is-current {
    color: var(--brand-800);
    background: var(--brand-50);
}

.changelog-version-index a.is-current {
    box-shadow: inset 3px 0 var(--brand-600);
}

.changelog-version-index small {
    color: var(--muted);
    font-size: 0.58rem;
}

.changelog-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    padding-left: 24px;
}

.changelog-timeline::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 6px;
    width: 2px;
    border-radius: 2px;
    background: #cfdbd0;
    content: "";
}

.changelog-release {
    position: relative;
    scroll-margin-top: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 46, 27, 0.05);
}

.changelog-release.is-current {
    border-color: #bdd7c1;
    box-shadow: 0 16px 42px rgba(35, 99, 55, 0.1);
}

.changelog-timeline-dot {
    position: absolute;
    top: 25px;
    left: -24px;
    width: 14px;
    height: 14px;
    transform: translateX(-1px);
    border: 3px solid var(--canvas);
    border-radius: 50%;
    background: #91a493;
    box-shadow: 0 0 0 1px #91a493;
}

.changelog-release.is-current .changelog-timeline-dot {
    background: var(--brand-600);
    box-shadow: 0 0 0 1px var(--brand-600), 0 0 0 6px rgba(58, 163, 77, 0.12);
}

.changelog-release > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.changelog-release > header span {
    color: var(--brand-600);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.changelog-release h2 {
    margin: 5px 0 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    letter-spacing: -0.025em;
}

.changelog-release > header > strong {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--brand-800);
    background: var(--brand-100);
    font-family: Consolas, monospace;
    font-size: 0.7rem;
}

.changelog-release > p {
    margin: 11px 0 18px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.6;
}

.changelog-routines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}

.changelog-routines section {
    padding: 14px;
    border: 1px solid #e4eae4;
    border-radius: 12px;
    background: #fafcfa;
}

.changelog-routines h3 {
    margin: 0 0 9px;
    color: var(--brand-800);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.changelog-routines ul {
    display: grid;
    margin: 0;
    padding-left: 16px;
    gap: 6px;
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.5;
}

.changelog-routines li::marker {
    color: var(--brand-500);
}

.development-diary {
    scroll-margin-top: 20px;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(20, 46, 27, 0.055);
}

.development-diary > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.development-diary > header span {
    color: var(--brand-600);
    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.development-diary h2 {
    margin: 4px 0 0;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    letter-spacing: -0.035em;
}

.development-diary > header p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.55;
    text-align: right;
}

.development-day-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.development-day-list article {
    display: grid;
    min-height: 92px;
    align-content: start;
    gap: 5px;
    padding: 15px 17px;
    border-bottom: 1px solid var(--line);
}

.development-day-list article:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.development-day-list article:nth-last-child(-n+2) {
    border-bottom: 0;
}

.development-day-list time {
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 850;
}

.development-day-list article > span {
    width: max-content;
    padding: 3px 6px;
    border-radius: 6px;
    color: #8c5907;
    background: var(--warning-bg);
    font-size: 0.54rem;
    font-weight: 800;
}

.development-day-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .changelog-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .changelog-version-index {
        position: static;
        display: flex;
        overflow-x: auto;
        border-radius: 13px;
    }

    .changelog-version-index > strong {
        display: none;
    }

    .changelog-version-index a {
        min-width: 88px;
        border-right: 1px solid #edf1ed;
        border-bottom: 0;
    }

    .changelog-version-index a.is-current {
        box-shadow: inset 0 3px var(--brand-600);
    }
}

@media (max-width: 680px) {
    .admin-main-changelog {
        width: min(100% - 28px, 1420px);
    }

    .changelog-heading,
    .development-diary > header {
        align-items: stretch;
        flex-direction: column;
    }

    .changelog-heading h1 {
        font-size: clamp(2.3rem, 13vw, 3.3rem);
    }

    .changelog-current-version {
        justify-items: start;
    }

    .changelog-jump {
        align-items: stretch;
        flex-direction: column;
    }

    .changelog-jump span {
        margin: 2px 0 0;
        padding: 6px;
    }

    .changelog-timeline {
        padding-left: 18px;
    }

    .changelog-release {
        padding: 18px;
    }

    .changelog-timeline-dot {
        left: -18px;
    }

    .changelog-release > header {
        gap: 10px;
    }

    .changelog-routines,
    .development-day-list {
        grid-template-columns: 1fr;
    }

    .development-diary {
        padding: 18px;
    }

    .development-diary > header p {
        text-align: left;
    }

    .development-day-list article,
    .development-day-list article:nth-child(odd),
    .development-day-list article:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .development-day-list article:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .changelog-summary {
        grid-template-columns: 1fr;
    }

    .changelog-summary article {
        min-height: 105px;
    }

    .changelog-release > header {
        flex-direction: column-reverse;
    }
}
