:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-strong: #111827;
    --text: #18212f;
    --muted: #5f6b7a;
    --border: #d9e1ec;
    --primary: #4658ff;
    --primary-dark: #3141d3;
    --success: #087f5b;
    --danger: #b42318;
    --radius: 20px;
    --shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    --shell-width: 1360px;
    --font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-heading: "Instrument Serif", Georgia, serif;
    --base-font-size: 16px;
    --body-line-height: 1.58;
    --heading-weight: 700;
    --heading-tracking: -0.03em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-family-body);
    font-size: var(--base-font-size);
    line-height: var(--body-line-height);
    color: var(--text);
    background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.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;
}
a, button, input, select, textarea {
    font-family: var(--font-family-body);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: Consolas, monospace; }
main { min-height: calc(100vh - 152px); }
.shell { width: min(max(var(--shell-width), 1360px), calc(100% - 20px)); margin: 0 auto; }
.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 60;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface-strong);
    color: #fff;
    transform: translateY(-150%);
}
.skip-link:focus-visible {
    transform: translateY(0);
}
.whatsapp-floating-button {
    position: fixed;
    right: 14px;
    bottom: 16px;
    z-index: 32;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(224, 229, 236, 0.98);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.98) 100%);
    color: #0f172a;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    opacity: 0.99;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.whatsapp-floating-button::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 48%);
    pointer-events: none;
}
.whatsapp-floating-button:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 221, 229, 1);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.16),
        0 4px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}
.whatsapp-floating-button .ui-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2eea71 0%, #25d366 54%, #1ebc57 100%);
    color: #ffffff;
    box-shadow:
        0 6px 14px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.whatsapp-floating-button .ui-icon svg {
    width: 16px;
    height: 16px;
}
.surface {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        var(--shadow);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-family-body);
}
.btn,
.desktop-nav a,
.mobile-nav a,
.mobile-nav-section a,
.header-trust-badge,
.header-trust-text,
.density-pill,
.badge-link,
.price,
.price-old,
.price-small,
.section-density-bar,
.helper,
.text-link {
    font-family: var(--font-family-body);
}
body:not(.admin-body) .brand-copy strong,
body:not(.admin-body) .hero-copy h1,
body:not(.admin-body) .home-slide-content h2,
body:not(.admin-body) .section h2,
body:not(.admin-body) .section-head h2,
body:not(.admin-body) .listing-hero-copy h1,
body:not(.admin-body) .product-page-hero h1,
body:not(.admin-body) .product-detail-copy h1,
body:not(.admin-body) .footer-showcase-copy h2,
body:not(.admin-body) .article-card h1,
body:not(.admin-body) .product-card h3,
body:not(.admin-body) .post-card-body h2,
body:not(.admin-body) .rich-text h2,
body:not(.admin-body) .rich-text h3 {
    font-family: var(--font-family-heading);
    font-feature-settings: "liga" 1, "kern" 1;
}
body:not(.admin-body) .brand-copy strong,
body:not(.admin-body) .hero-copy h1,
body:not(.admin-body) .home-slide-content h2,
body:not(.admin-body) .listing-hero-copy h1,
body:not(.admin-body) .product-page-hero h1,
body:not(.admin-body) .product-detail-copy h1,
body:not(.admin-body) .footer-showcase-copy h2 {
    font-weight: var(--heading-weight);
    letter-spacing: var(--heading-tracking);
    text-wrap: balance;
}
body:not(.admin-body) .section h2,
body:not(.admin-body) .section-head h2,
body:not(.admin-body) .article-card h1,
body:not(.admin-body) .product-card h3,
body:not(.admin-body) .post-card-body h2,
body:not(.admin-body) .rich-text h2,
body:not(.admin-body) .rich-text h3 {
    font-weight: var(--heading-weight);
    letter-spacing: calc(var(--heading-tracking) * 0.52);
    text-wrap: balance;
}
body:not(.admin-body) p,
body:not(.admin-body) li,
body:not(.admin-body) .article-meta,
body:not(.admin-body) .hero-copy p,
body:not(.admin-body) .narrative p,
body:not(.admin-body) .product-card p,
body:not(.admin-body) .post-card-body p:last-of-type {
    font-family: var(--font-family-body);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: rgba(249, 251, 255, 0.84);
    border-bottom: 1px solid rgba(217, 225, 236, 0.85);
}
.navbar, .footer-grid, .hero, .section-head, .admin-head, .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.navbar {
    min-height: 56px;
    padding: 6px 0;
    min-width: 0;
    flex-wrap: nowrap;
}
.brand {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    flex: 0 0 auto;
}
body:not(.admin-body) .brand-copy strong,
body:not(.admin-body) .brand strong {
    font-size: clamp(1.02rem, 1.3vw, 1.16rem);
    line-height: 0.98;
}
.nav-toggle,
.mobile-nav-close,
.offcanvas-toggle,
.offcanvas-close {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.nav-toggle,
.offcanvas-toggle {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    border: 1px solid rgba(217, 225, 236, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.nav-toggle:hover,
.offcanvas-toggle:hover,
.mobile-nav-close:hover,
.offcanvas-close:hover {
    transform: translateY(-1px);
    border-color: rgba(70, 88, 255, 0.24);
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.08);
}
.nav-toggle[aria-expanded="true"],
.offcanvas-toggle[aria-expanded="true"] {
    border-color: rgba(70, 88, 255, 0.24);
    background: rgba(70, 88, 255, 0.08);
    color: var(--primary-dark);
    box-shadow: 0 12px 24px rgba(70, 88, 255, 0.12);
}
.offcanvas-toggle-icon {
    display: inline-grid;
    gap: 3px;
    flex: 0 0 auto;
}
.nav-toggle[aria-expanded="true"] .offcanvas-toggle-icon,
.offcanvas-toggle[aria-expanded="true"] .offcanvas-toggle-icon {
    gap: 0;
}
.offcanvas-toggle-icon span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(1),
.offcanvas-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(2),
.offcanvas-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(3),
.offcanvas-toggle[aria-expanded="true"] .offcanvas-toggle-icon span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}
.offcanvas-toggle-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.mobile-nav-head,
.offcanvas-head {
    display: none;
}
.mobile-nav-close,
.offcanvas-close {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
    font-size: 1.3rem;
    line-height: 1;
}
.offcanvas-head-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.offcanvas-head-copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}
.offcanvas-head-copy span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 700;
}
.offcanvas-head-copy-dark span {
    color: rgba(248, 250, 252, 0.68);
}
.mobile-nav-summary,
.mobile-nav-sections {
    display: grid;
    gap: 8px;
}
.mobile-nav-summary {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(217, 225, 236, 0.72);
}
.offcanvas-top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.offcanvas-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text) !important;
    font-size: 0.8rem;
    font-weight: 700;
}
.offcanvas-pill strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(70, 88, 255, 0.12);
    color: var(--primary-dark);
    font-size: 0.76rem;
}
.offcanvas-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}
.offcanvas-section-muted {
    background: #f8fafc;
}
.offcanvas-section-label {
    grid-column: 1 / -1;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 800;
}
.mobile-nav-panel .offcanvas-section a:not(.header-cta) {
    justify-content: flex-start;
    width: 100%;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
}
.mobile-nav-panel .offcanvas-section a.is-active:not(.header-cta) {
    color: var(--primary-dark);
    background: rgba(70, 88, 255, 0.12);
    border-color: rgba(70, 88, 255, 0.2);
    box-shadow: inset 2px 0 0 var(--primary);
}

.system-landing-shell {
    padding-top: 24px;
}
.system-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 20px;
    padding: 22px;
    overflow: hidden;
}
.system-hero-copy,
.system-hero-visual,
.system-visual-stack,
.system-stat-grid,
.system-feature-grid,
.system-journey-grid,
.system-journey-media-stack,
.system-audience-grid,
.system-audience-cards,
.system-proof-metrics,
.system-highlight-list {
    display: grid;
    gap: 14px;
}
.system-density-bar {
    justify-content: flex-start;
}
.system-hero-copy h1,
.system-signal-panel h2,
.system-feature-card h3,
.system-journey-panel h2,
.system-audience-panel h2,
.system-proof-content h2,
.system-cta-copy h2 {
    margin: 0;
}
.system-hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 4.5rem);
    line-height: 0.92;
    max-width: 11ch;
}
.system-hero-copy p,
.system-signal-intro,
.system-feature-card p,
.system-journey-step p,
.system-audience-card p,
.system-proof-content p,
.system-cta-copy p {
    margin: 0;
    color: var(--muted);
}
.system-hero-actions,
.system-cta-actions,
.system-proof-row,
.system-signal-grid,
.system-journey-steps {
    display: flex;
    gap: 12px;
}
.system-hero-actions,
.system-cta-actions {
    flex-wrap: wrap;
}
.system-proof-row {
    flex-wrap: wrap;
}
.system-proof-card {
    flex: 1 1 180px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 255, 0.9) 100%);
}
.system-proof-card strong,
.system-stat-card strong,
.system-proof-metrics strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    letter-spacing: -0.04em;
    font-weight: 800;
}
.system-proof-card span,
.system-stat-card span,
.system-proof-metrics span {
    display: block;
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--muted);
}
.system-hero-visual {
    align-content: start;
}
.system-visual-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 225, 236, 0.8);
    border-radius: 24px;
    background: #0f172a;
    min-height: 0;
}
.system-visual-card img,
.system-image-panel img,
.system-signal-media img,
.system-proof-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.system-visual-card-main {
    min-height: 360px;
}
.system-visual-overlay,
.system-visual-content,
.system-image-caption,
.system-signal-media-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.24) 0%, rgba(15, 23, 42, 0.78) 100%);
    color: #f8fafc;
    backdrop-filter: blur(8px);
}
.system-visual-overlay p,
.system-visual-content strong,
.system-image-caption strong,
.system-signal-media-card p {
    margin: 0;
}
.system-visual-overlay strong,
.system-visual-content strong,
.system-image-caption strong,
.system-signal-media-card strong {
    font-size: 1.02rem;
    line-height: 1.15;
}
.system-visual-overlay p,
.system-signal-media-card p {
    color: rgba(241, 245, 249, 0.82);
}
.system-visual-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.system-visual-card-compact {
    min-height: 210px;
}
.system-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.system-stat-card {
    padding: 16px;
    border-radius: 20px;
}
.system-signal-grid,
.system-journey-grid,
.system-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.system-signal-panel,
.system-journey-panel,
.system-audience-panel,
.system-proof-panel,
.system-cta-panel {
    padding: 22px;
}
.system-highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.system-signal-media,
.system-image-panel,
.system-proof-panel {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 24px;
}
.system-signal-media {
    min-height: 340px;
}
.system-card-label {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}
.system-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.system-feature-card {
    padding: 18px;
}
.system-feature-card h3 {
    font-size: 1.35rem;
    line-height: 1.04;
}
.system-feature-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.system-feature-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}
.system-feature-list li::before {
    content: "";
    position: absolute;
    top: 0.56rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 5px rgba(70, 88, 255, 0.08);
}
.system-journey-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%),
        var(--surface);
}
.system-journey-steps {
    flex-direction: column;
    margin-top: 6px;
}
.system-journey-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid rgba(217, 225, 236, 0.72);
}
.system-journey-step:first-child {
    border-top: 0;
    padding-top: 0;
}
.system-step-index {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(70, 88, 255, 0.1);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.system-journey-step strong,
.system-audience-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}
.system-journey-media-stack {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.system-image-panel {
    min-height: 240px;
}
.system-audience-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.system-audience-card {
    padding: 16px;
    border: 1px solid rgba(217, 225, 236, 0.8);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.92) 100%);
}
.system-proof-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
    align-items: stretch;
}
.system-proof-panel img {
    border-radius: 20px;
    min-height: 100%;
}
.system-proof-content {
    display: grid;
    gap: 12px;
    align-content: center;
}
.system-proof-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.system-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.96) 100%),
        var(--surface);
}
.system-cta-copy {
    display: grid;
    gap: 10px;
}
@media (max-width: 1180px) {
    .system-hero,
    .system-signal-grid,
    .system-journey-grid,
    .system-audience-grid,
    .system-proof-panel,
    .system-cta-panel {
        grid-template-columns: 1fr;
    }
    .system-feature-grid,
    .system-highlight-list,
    .system-proof-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .system-hero,
    .system-signal-panel,
    .system-journey-panel,
    .system-audience-panel,
    .system-proof-panel,
    .system-cta-panel {
        padding: 18px;
    }
    .system-visual-stack,
    .system-stat-grid,
    .system-feature-grid,
    .system-highlight-list,
    .system-audience-cards,
    .system-proof-metrics {
        grid-template-columns: 1fr;
    }
    .system-hero-copy h1 {
        font-size: clamp(2.2rem, 8vw, 3.4rem);
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    .system-landing-shell {
        padding-top: 16px;
    }
    .system-hero,
    .system-signal-panel,
    .system-journey-panel,
    .system-audience-panel,
    .system-proof-panel,
    .system-cta-panel {
        padding: 16px;
        border-radius: 22px;
    }
    .system-visual-card-main {
        min-height: 280px;
    }
    .system-visual-card-compact,
    .system-image-panel,
    .system-signal-media {
        min-height: 220px;
    }
    .system-proof-row,
    .system-hero-actions,
    .system-cta-actions {
        flex-direction: column;
    }
    .system-hero-actions .btn,
    .system-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
.mobile-nav-cta {
    width: 100%;
    min-height: 42px;
    justify-content: center;
}
.mobile-nav-backdrop,
.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(17, 24, 39, 0.42);
    opacity: 0;
    pointer-events: none;
}
.mobile-nav-backdrop {
    z-index: 29;
}
.offcanvas-backdrop {
    z-index: 34;
}
.mobile-nav-backdrop.is-visible,
.offcanvas-backdrop.is-visible {
    backdrop-filter: blur(3px);
}
body.has-mobile-nav-open,
body.has-offcanvas-open {
    overflow: hidden;
}
.offcanvas-toggle-dark,
.offcanvas-close-dark {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
.admin-nav-toggle {
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
    border-color: rgba(217, 225, 236, 0.95);
}
.offcanvas-panel {
    will-change: transform, opacity;
}
.offcanvas-panel.is-open {
    box-shadow: -24px 0 56px rgba(17, 24, 39, 0.16);
}
.offcanvas-backdrop-dark {
    background: rgba(2, 6, 23, 0.56);
}
.desktop-nav, .mobile-nav-panel, .admin-sidebar nav { display: flex; gap: 8px; flex-wrap: wrap; }
.desktop-nav a, .mobile-nav-panel a, .admin-sidebar nav a, .text-link { color: var(--muted); }
.desktop-nav a:not(.header-cta),
.mobile-nav-panel a:not(.header-cta) {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.88rem;
}
.desktop-nav a.is-active:not(.header-cta),
.mobile-nav-panel a.is-active:not(.header-cta) {
    color: var(--primary-dark);
    background: rgba(70, 88, 255, 0.12);
    border: 1px solid rgba(70, 88, 255, 0.18);
}
.desktop-nav a:hover,
.mobile-nav-panel a:hover,
.admin-sidebar nav a:hover,
.text-link:hover {
    color: var(--text);
}
.desktop-nav a:not(.header-cta):hover,
.mobile-nav-panel a:not(.header-cta):hover {
    background: rgba(70, 88, 255, 0.08);
}
.desktop-nav {
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
}
.mobile-nav-panel {
    display: none;
}
.header-cta {
    color: #fff !important;
    background: var(--primary);
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
}
.admin-entry-link {
    border: 1px solid rgba(70, 88, 255, 0.14);
    background: rgba(70, 88, 255, 0.06);
    color: var(--primary-dark) !important;
    font-weight: 700;
}
.desktop-nav a.admin-entry-link:hover {
    background: rgba(70, 88, 255, 0.12);
}
.offcanvas-pill-admin {
    background: rgba(70, 88, 255, 0.08);
    border-color: rgba(70, 88, 255, 0.16);
    color: var(--primary-dark) !important;
}
.header-cta:hover {
    background: var(--primary-dark);
}
.home-slider-block {
    padding: 10px 0 8px;
    position: relative;
}
.home-slider-block::after {
    content: "";
    display: block;
    height: 14px;
    margin: 10px 8px 0;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(70, 88, 255, 0.08) 0%, rgba(70, 88, 255, 0) 68%);
    filter: blur(10px);
    pointer-events: none;
}
.home-slider {
    position: relative;
    min-height: min(var(--slide-height-desktop, 388px), 64vh);
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(circle at top left, rgba(70, 88, 255, 0.24), transparent 30%),
        linear-gradient(135deg, #08101f 0%, #0f172a 48%, #111827 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    touch-action: pan-y;
}
.home-slider[data-active-kind="video"] {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.26), transparent 30%),
        linear-gradient(135deg, #08101f 0%, #0b1326 48%, #111827 100%);
}
.home-slider[data-active-kind="image"] {
    background:
        radial-gradient(circle at top left, rgba(70, 88, 255, 0.24), transparent 30%),
        linear-gradient(135deg, #08101f 0%, #0f172a 48%, #111827 100%);
}
.home-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 22%, transparent 74%, rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
}
.home-slider-track,
.home-slide,
.home-slide-media,
.home-slide-overlay {
    position: absolute;
    inset: 0;
}
.home-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-slide {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.025);
    filter: saturate(0.92) brightness(0.92);
    transition: opacity 0.55s ease, transform 0.9s ease, filter 0.9s ease;
}
.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    filter: saturate(1) brightness(1);
}
.home-slide-image,
.home-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-slide-overlay {
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(4, 10, 24, 0.06) 0%, rgba(4, 10, 24, 0.02) 34%, rgba(4, 10, 24, 0.16) 66%, rgba(4, 10, 24, 0.76) 100%),
        linear-gradient(90deg, rgba(4, 10, 24, 0.34) 0%, rgba(4, 10, 24, 0.08) 24%, rgba(4, 10, 24, 0) 54%, rgba(4, 10, 24, 0.1) 100%);
    opacity: var(--slide-overlay-opacity, 0.42);
    pointer-events: none;
}
.home-slide.is-video .home-slide-overlay {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.04) 0%, rgba(2, 6, 23, 0.02) 34%, rgba(2, 6, 23, 0.16) 66%, rgba(2, 6, 23, 0.8) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.32) 0%, rgba(8, 47, 73, 0.08) 26%, rgba(2, 6, 23, 0) 54%, rgba(2, 6, 23, 0.12) 100%);
}
.home-slide.is-image .home-slide-overlay {
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(4, 10, 24, 0.06) 0%, rgba(4, 10, 24, 0.02) 34%, rgba(4, 10, 24, 0.16) 66%, rgba(4, 10, 24, 0.76) 100%),
        linear-gradient(90deg, rgba(4, 10, 24, 0.34) 0%, rgba(15, 23, 42, 0.08) 24%, rgba(4, 10, 24, 0) 54%, rgba(4, 10, 24, 0.1) 100%);
}
.home-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    min-height: min(var(--slide-height-desktop, 388px), 64vh);
    padding: clamp(12px, 1.7vw, 18px) clamp(12px, 2vw, 20px) 48px;
}
.home-slide.align-center .home-slide-inner {
    justify-content: center;
}
.home-slide.align-right .home-slide-inner {
    justify-content: end;
}
.home-slide-layout {
    width: 100%;
    max-width: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    color: #fff;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.45s ease;
}
.home-slide.is-active .home-slide-layout {
    transform: translateY(0);
    opacity: 1;
}
.home-slide-content {
    width: min(100%, 460px);
    max-width: 460px;
    display: grid;
    gap: 6px;
    padding: clamp(8px, 1vw, 10px) clamp(9px, 1.2vw, 12px);
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.14) 42%, rgba(2, 6, 23, 0.34) 100%);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.1);
    backdrop-filter: blur(4px);
}
.home-slide.is-video .home-slide-content {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.14) 42%, rgba(3, 7, 18, 0.38) 100%);
    border-color: rgba(125, 211, 252, 0.12);
}
.home-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.home-slide-content .eyebrow {
    gap: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    opacity: 0.92;
}
.home-slide-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-slide-badge-soft {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
}
.home-slide.width-narrow .home-slide-layout { max-width: 360px; }
.home-slide.width-medium .home-slide-layout { max-width: 480px; }
.home-slide.width-wide .home-slide-layout { max-width: 620px; }
.home-slide.align-left .home-slide-layout {
    margin-right: auto;
}
.home-slide.align-center .home-slide-layout {
    margin-inline: auto;
    text-align: center;
}
.home-slide.align-right .home-slide-layout {
    margin-left: auto;
    text-align: right;
}
.home-slide.align-center .home-slide-meta,
.home-slide.align-center .home-slide-actions {
    justify-content: center;
}
.home-slide.align-center .home-slide-content {
    justify-items: center;
}
.home-slide.align-right .home-slide-meta,
.home-slide.align-right .home-slide-actions {
    justify-content: flex-end;
}
.home-slide.align-right .home-slide-content {
    justify-items: end;
}
.home-slide.align-right .home-slide-content,
.home-slide.align-center .home-slide-content {
    margin-inline: auto;
}
.home-slide.align-right p {
    margin-left: auto;
}
.home-slide-content h2 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(1.26rem, 2vw, 1.82rem);
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
}
.home-slide-content p {
    margin: 0;
    max-width: 40ch;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.78rem, 0.82vw, 0.86rem);
    line-height: 1.28;
    text-shadow: 0 4px 14px rgba(2, 6, 23, 0.22);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0;
}
.home-slide-actions .btn {
    min-height: 27px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.05);
}
.home-slide-actions .btn-primary {
    background: rgba(70, 88, 255, 0.9);
    border-color: rgba(70, 88, 255, 0.9);
}
.home-slide-actions .btn-primary:hover {
    background: rgba(49, 65, 211, 0.94);
    border-color: rgba(49, 65, 211, 0.94);
}
.home-slide-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.22);
    color: #18212f;
}
.home-slide-content > * {
    min-width: 0;
}
.home-slider-nav {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.home-slider-arrow,
.home-slider-dot {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(15, 23, 42, 0.48);
    color: #fff;
    cursor: pointer;
}
.home-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    width: 34px;
    padding: 0;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(10px);
}
.home-slider-indicators {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 160px);
    overflow-x: auto;
    scrollbar-width: none;
}
.home-slider-indicators::-webkit-scrollbar {
    display: none;
}
.home-slider-dot {
    width: 10px;
    min-width: 10px;
    height: 10px;
    min-height: 10px;
    padding: 0;
    display: inline-flex;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
}
.home-slider-dot.is-active {
    width: 24px;
    min-width: 24px;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.hero {
    padding: 14px 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.72fr);
    align-items: start;
    gap: 14px;
}
.hero-showcase {
    align-items: stretch;
}
.hero-copy-rich {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
    gap: 12px 16px;
    align-content: start;
}
.hero-copy-rich > .eyebrow,
.hero-copy-rich > .hero-density-bar,
.hero-copy-rich > .hero-action-strip {
    grid-column: 1 / -1;
}
.hero-copy-rich > h1,
.hero-copy-rich > p {
    grid-column: 1;
}
.hero-copy-rich > .hero-compact-meta {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: stretch;
}
.hero-copy h1, .section h2, .article-card h1, .admin-head h1 {
    margin: 12px 0;
    line-height: 1.05;
}
.hero-copy h1 {
    margin: 10px 0 4px;
    max-width: 13.5ch;
    font-size: clamp(1.96rem, 4.2vw, 3.28rem);
    letter-spacing: var(--heading-tracking);
    line-height: 0.99;
    text-wrap: balance;
}
.hero-copy p, .narrative p, .posts-panel span, .helper, .article-meta { color: var(--muted); }
.hero-copy p {
    max-width: 47ch;
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.6;
}
.hero-density-bar {
    margin: 0;
    align-self: start;
}
.hero-action-strip {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2px;
}
.hero-compact-meta {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.14) 0%, rgba(70, 88, 255, 0) 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 248, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 18px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    position: relative;
}
.hero-compact-meta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(70, 88, 255, 0.04) 100%);
    pointer-events: none;
}
.hero-compact-meta > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.helper-stack {
    display: grid;
    gap: 6px;
    color: var(--muted);
}
.helper-stack-compact {
    gap: 4px;
    padding: 8px 9px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.78);
}
.helper-stack-compact span,
.helper-stack-compact strong {
    line-height: 1.35;
}
.hero-actions, .hero-points, .preview-stack { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions {
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.85rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}
.hero-points {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}
.hero-compact-meta > .hero-points:only-child,
.customizer-preview-hero-meta > .hero-points:only-child {
    grid-column: 1 / -1;
}
.hero-points li,
.badge {
    background: rgba(70, 88, 255, 0.08);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.74rem;
    font-weight: 700;
}
.hero-compact-meta .hero-points li,
.customizer-preview-hero-meta .hero-points li {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px 10px 36px;
    border-radius: 14px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 245, 255, 0.88) 100%);
    color: var(--text);
    font-size: 0.77rem;
    line-height: 1.35;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 20px rgba(15, 23, 42, 0.04);
}
.hero-compact-meta .hero-points li::before,
.customizer-preview-hero-meta .hero-points li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 13px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 4px rgba(70, 88, 255, 0.12);
    transform: translateY(-50%);
}
.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.hero-metric-card {
    padding: 10px 12px;
    display: grid;
    gap: 4px;
    min-width: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 255, 0.96) 100%);
}
.hero-metric-card span,
.hero-metric-card small {
    color: var(--muted);
}
.hero-metric-card span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}
.hero-metric-card strong {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1;
}
.hero-metric-card small {
    font-size: 0.8rem;
}
.badge-soft {
    background: #f4f6fb;
    color: var(--text);
}
.badge-stock-low {
    background: rgba(180, 35, 24, 0.08);
    color: var(--danger);
}
.badge-stock-ready {
    background: rgba(8, 127, 91, 0.08);
    color: var(--success);
}
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
}
.hero-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    min-width: 0;
    gap: 8px;
}
.badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.76rem;
    line-height: 1.2;
    min-width: 0;
    text-align: center;
}
.badge-link:hover {
    border-color: rgba(70, 88, 255, 0.24);
    background: rgba(70, 88, 255, 0.06);
    transform: translateY(-1px);
}
.hero-quick-links .badge-link,
.customizer-preview-quick-links .badge-link {
    position: relative;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 30px 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    color: var(--text);
    text-align: left;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(15, 23, 42, 0.04);
}
.hero-quick-links .badge-link::after,
.customizer-preview-quick-links .badge-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0.48;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.hero-quick-links .badge-link:hover,
.customizer-preview-quick-links .badge-link:hover {
    border-color: rgba(70, 88, 255, 0.26);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(239, 245, 255, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 14px 26px rgba(70, 88, 255, 0.08);
}
.hero-quick-links .badge-link:hover::after,
.customizer-preview-quick-links .badge-link:hover::after {
    opacity: 0.82;
    transform: translate(2px, -50%) rotate(45deg);
}
.hero-card {
    padding: 14px;
}
.hero-visual {
    display: grid;
    gap: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 225, 236, 0.92);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.18), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.hero-visual-grid > * {
    min-width: 0;
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(70, 88, 255, 0.04) 0%, transparent 32%, rgba(70, 88, 255, 0.08) 100%);
    pointer-events: none;
}
.hero-visual > * {
    position: relative;
    z-index: 1;
}
.hero-visual-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}
.hero-visual-head > div {
    display: grid;
    gap: 2px;
}
.hero-visual-head strong {
    line-height: 1.2;
    font-size: 1rem;
}
.hero-visual-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.hero-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(224px, 0.96fr);
    gap: 10px;
    min-width: 0;
}
.hero-feature-card {
    min-height: 248px;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 12px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.86) 100%),
        linear-gradient(135deg, #111827 0%, #1e293b 100%);
    background-position: center;
    background-size: cover;
    color: #fff;
}
.hero-feature-card.is-empty {
    background:
        radial-gradient(circle at top left, rgba(70, 88, 255, 0.34), transparent 42%),
        linear-gradient(135deg, #111827 0%, #0f172a 100%);
}
.hero-feature-card-copy {
    display: grid;
    gap: 6px;
    width: min(100%, 30rem);
}
.hero-feature-card-copy strong {
    font-size: clamp(1.16rem, 2.2vw, 1.66rem);
    line-height: 1.02;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.hero-feature-card-copy span:last-of-type {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.8rem;
}
.hero-feature-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(70, 88, 255, 0.1);
    border: 1px solid rgba(70, 88, 255, 0.16);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-feature-card .hero-feature-label {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.hero-side-stack {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.hero-side-card,
.hero-inline-product {
    display: grid;
    gap: 6px;
    padding: 10px;
}
.hero-side-card strong,
.hero-inline-product strong {
    line-height: 1.2;
    font-size: 0.92rem;
}
.hero-side-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.35;
    font-size: 0.82rem;
}
.hero-inline-product {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label label"
        "content cta";
    gap: 8px 10px;
    align-items: end;
}
.hero-inline-product > .hero-feature-label {
    grid-area: label;
}
.hero-inline-product > div {
    grid-area: content;
    display: grid;
    gap: 2px;
    min-width: 0;
}
.hero-inline-product > .text-link {
    grid-area: cta;
    justify-self: end;
    align-self: center;
    white-space: nowrap;
}
.hero-inline-product span:last-child {
    color: var(--muted);
    font-size: 0.78rem;
}
.hero-inline-product strong,
.product-card h3,
.product-title-link {
    overflow-wrap: anywhere;
}
.hero-card dl { display: grid; gap: 10px; margin: 12px 0 0; }
.hero-card dt { font-size: 0.85rem; color: var(--muted); }
.hero-card dd { margin: 4px 0 0; font-weight: 700; }
.section {
    padding: 14px 0;
    position: relative;
}
.section + .section::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(217, 225, 236, 0) 0%, rgba(217, 225, 236, 0.72) 20%, rgba(217, 225, 236, 0.72) 80%, rgba(217, 225, 236, 0) 100%);
    opacity: 0.7;
    pointer-events: none;
}
.section-head {
    margin-bottom: 10px;
    align-items: flex-end;
}
.section-head > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.section-head h2 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: calc(var(--heading-tracking) * 0.52);
    font-size: clamp(1.24rem, 2vw, 1.6rem);
}
.section-head p {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.48;
}
.section-head > .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}
.section-head > .text-link:hover {
    border-color: rgba(70, 88, 255, 0.24);
    background: rgba(70, 88, 255, 0.08);
}
.listing-shell {
    display: grid;
    gap: 10px;
}
.listing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(176px, 0.58fr);
    gap: 8px;
    align-items: stretch;
    padding: 10px 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.97) 100%);
}
.listing-hero-blog {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 250, 255, 0.97) 100%);
}
.listing-hero-copy,
.listing-hero-aside {
    display: grid;
    gap: 8px;
    align-content: start;
}
.listing-hero-copy h1,
.product-page-hero h1 {
    margin: 0;
    line-height: 1.02;
    font-size: clamp(1.58rem, 3.5vw, 2.46rem);
}
.listing-hero-copy .article-meta,
.product-page-hero .article-meta {
    margin: 0;
    max-width: 56ch;
    font-size: 0.86rem;
    line-height: 1.48;
}
.listing-stat-card {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 16px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.96) 100%);
}
.listing-stat-card span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 800;
}
.listing-stat-card strong {
    font-size: 1.32rem;
    line-height: 1;
}
.section-head-tight {
    margin-bottom: 8px;
    gap: 8px;
}
.section-density-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 8px;
}
.density-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(70, 88, 255, 0.06);
    border: 1px solid rgba(70, 88, 255, 0.12);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
}
.product-grid, .metric-grid, .admin-grid {
    display: grid;
    gap: 12px;
}
.product-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.product-grid.is-compact {
    grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
    gap: 7px;
}
.product-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    position: relative;
    border: 1px solid rgba(217, 225, 236, 0.86);
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12) 0%, rgba(70, 88, 255, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 14px 28px rgba(15, 23, 42, 0.05);
}
.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: linear-gradient(90deg, rgba(70, 88, 255, 0) 0%, rgba(70, 88, 255, 0.28) 50%, rgba(70, 88, 255, 0) 100%);
    pointer-events: none;
}
.product-card-premium {
    border: 1px solid rgba(217, 225, 236, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.97) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    min-height: 100%;
}
.product-card-premium .product-media {
    aspect-ratio: 1.24 / 1;
}
.product-grid-catalog {
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 8px;
}
.product-grid-catalog .product-card {
    min-height: 100%;
}
.product-grid-catalog .product-body {
    grid-template-rows: auto auto minmax(2.68rem, auto) auto;
}
.product-grid-catalog .product-meta {
    align-items: flex-start;
}
.product-grid-catalog .product-price-row {
    align-items: end;
    margin-top: auto;
}
.product-grid-catalog .product-price-row > div:last-child {
    min-width: 126px;
}
.product-grid-catalog .product-actions {
    width: 100%;
}
.product-grid-catalog .product-actions > * {
    flex: 1 1 0;
}
.product-grid-catalog .product-card p {
    min-height: 2.14rem;
}
.product-price-row form { margin: 0; }
.catalog-toolbar {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}
.catalog-toolbar-premium {
    padding: 10px 11px;
    border-radius: calc(var(--radius) + 2px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}
.catalog-toolbar-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.catalog-toolbar-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.catalog-toolbar-copy strong {
    font-size: 0.88rem;
    line-height: 1.15;
}
.catalog-density-bar {
    justify-content: flex-end;
    margin: 0;
}
.catalog-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
    align-items: end;
}
.catalog-toolbar-premium .article-meta {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.42;
}
.catalog-filter-form label,
.catalog-filter-form label span {
    min-width: 0;
}
.catalog-filter-form label {
    gap: 4px;
}
.catalog-filter-form label span {
    font-size: 0.78rem;
}
.catalog-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    grid-column: 1 / -1;
}
.catalog-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}
.catalog-pagination-premium {
    margin-top: 10px;
    padding: 10px 12px;
}
.catalog-pagination-premium .article-meta {
    margin: 0;
}
.product-media-link {
    display: block;
    color: inherit;
}
.product-media {
    aspect-ratio: 1 / 1;
    background: #eef2ff;
    margin: 0;
    overflow: hidden;
}
.product-grid.is-compact .product-media {
    aspect-ratio: 1.35 / 1;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-body, .panel, .article-card { padding: 12px; }
.product-body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 7px;
    padding: 11px;
}
.product-meta, .product-price-row, .two-columns {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.product-meta {
    align-items: center;
    flex-wrap: wrap;
}
.product-card h3, .article-card h1 { font-size: 1.2rem; }
.product-card h3 {
    margin: 0;
    line-height: 1.16;
    font-size: 0.98rem;
    letter-spacing: calc(var(--heading-tracking) * 0.36);
}
.product-grid.is-compact .product-body {
    padding: 11px;
    gap: 7px;
}
.product-grid.is-compact .product-card h3 {
    font-size: 0.98rem;
}
.product-card p {
    color: var(--muted);
    min-height: 0;
    margin: 0;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
}
.product-grid.is-compact .product-card p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.76rem;
    line-height: 1.3;
}
.product-title-link {
    color: inherit;
    text-decoration: none;
}
.product-title-link:hover { color: var(--primary); }
.product-title-link:focus-visible,
.text-link:focus-visible,
.header-cta:focus-visible,
.header-secondary-cta:focus-visible,
.admin-entry-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(70, 88, 255, 0.14);
    border-radius: 10px;
}
.product-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.product-actions form { margin: 0; }
.product-actions > * {
    flex: 1 1 140px;
}
.product-grid.is-compact .product-actions > * {
    flex: 1 1 104px;
}
.product-actions .btn,
.product-actions button,
.catalog-filter-actions .btn {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.76rem;
}
.product-price-row {
    align-items: flex-end;
    margin-top: auto;
    gap: 8px;
}
.product-price-row > div:first-child {
    min-width: 0;
}
.product-price-row strong {
    display: block;
    font-size: 1rem;
    line-height: 1.02;
    letter-spacing: -0.02em;
}
.price-old {
    display: block;
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.78rem;
}
.rating {
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}
.btn-secondary:hover {
    border-color: rgba(70, 88, 255, 0.28);
    color: var(--text);
}
.btn-small { min-height: 34px; padding: 0 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.split-content {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
}
.narrative,
.posts-panel {
    padding: 14px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.08) 0%, rgba(70, 88, 255, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 16px 32px rgba(15, 23, 42, 0.05);
}
.narrative-compact {
    display: grid;
    gap: 10px;
    align-content: start;
}
.narrative-compact p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.56;
}
.narrative-highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.narrative-inline-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.narrative-inline-metrics > div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 255, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.narrative-inline-metrics strong {
    font-size: 1rem;
    line-height: 1;
}
.narrative-inline-metrics span {
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.35;
}
.post-item {
    display: grid;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.posts-panel-compact {
    display: grid;
    gap: 8px;
    align-content: start;
}
.posts-compact-grid {
    display: grid;
    gap: 8px;
}
.posts-compact-grid.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-item-compact {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-height: 100%;
    padding: 10px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 10px 20px rgba(15, 23, 42, 0.04);
}
.post-item-compact:hover,
.product-card:hover,
.hero-side-card:hover,
.hero-inline-product:hover,
.hero-feature-card:hover {
    border-color: rgba(70, 88, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}
.post-item-compact:first-child {
    border-top: 1px solid var(--border);
}
.post-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.post-item-copy strong {
    line-height: 1.2;
    font-size: 0.91rem;
    letter-spacing: -0.01em;
}
.post-item-copy span {
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-cover-compact {
    width: 64px;
    height: 64px;
    max-height: none;
    border-radius: 12px;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.posts-grid-premium {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}
.post-card {
    display: grid;
    gap: 12px;
    overflow: hidden;
    grid-template-rows: auto 1fr;
    height: 100%;
}
.post-card-premium {
    border: 1px solid rgba(217, 225, 236, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.97) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}
.post-card-premium .post-cover {
    max-height: 200px;
}
.post-card-body {
    display: grid;
    gap: 8px;
    padding: 0 16px 16px;
    grid-template-rows: auto auto auto 1fr auto;
}
.post-card-meta {
    justify-content: flex-start;
}
.post-card-body h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: calc(var(--heading-tracking) * 0.34);
}
.post-card-body p:last-of-type {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-actions {
    display: flex;
}
.post-card-actions .btn {
    width: 100%;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 12px;
}
.blog-filter-form {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
}
.post-cover,
.article-cover,
.preview-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    background: #eef2ff;
}
.article-layout { max-width: 720px; }
.article-head {
    display: grid;
    gap: 6px;
}
.article-card.center-content {
    text-align: center;
    display: grid;
    gap: 12px;
    justify-items: center;
}
.article-card.center-content > p {
    max-width: 56ch;
    margin: 0;
}
.not-found-card {
    gap: 12px;
    padding-block: 28px;
}
.not-found-actions {
    display: flex;
    justify-content: center;
}
.route-code {
    display: inline-block;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 10px;
    background: #f4f6fb;
    border: 1px solid var(--border);
    overflow-wrap: anywhere;
}
.tracking-result {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}
.rich-text {
    display: grid;
    gap: 12px;
}
.rich-text > :first-child {
    margin-top: 0;
}
.rich-text > :last-child {
    margin-bottom: 0;
}
.rich-text p,
.rich-text li {
    line-height: 1.7;
    color: var(--text);
}
.rich-text h2,
.rich-text h3 {
    margin: 10px 0 0;
    line-height: 1.2;
}
.rich-text ul,
.rich-text ol {
    margin: 0;
    padding-left: 20px;
}
.site-footer {
    padding: 18px 0 22px;
    border-top: 1px solid rgba(217, 225, 236, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.footer-grid {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 14px;
}
.footer-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}
.footer-grid a, .footer-label {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}
.footer-grid a:hover {
    color: var(--text);
}
.header-utility-bar {
    border-bottom: 1px solid rgba(217, 225, 236, 0.9);
    background:
        linear-gradient(90deg, rgba(70, 88, 255, 0.08) 0%, rgba(255, 255, 255, 0.94) 28%, rgba(255, 255, 255, 0.94) 100%);
}
.header-utility-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
}
.header-utility-inner.is-trust-only {
    justify-content: flex-end;
}
.header-utility-links,
.header-actions,
.header-trust-copy,
.footer-badge-list,
.footer-showcase-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.header-utility-link,
.header-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    gap: 7px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}
.header-utility-link:hover,
.header-secondary-cta:hover {
    border-color: rgba(70, 88, 255, 0.24);
    background: rgba(70, 88, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(70, 88, 255, 0.08);
}
.ui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}
.ui-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-social-link .ui-icon svg,
.footer-contact-link .ui-icon svg,
.header-utility-link .ui-icon svg {
    transition: transform 0.2s ease;
}
.header-trust-copy {
    flex: 1 1 280px;
    min-width: 0;
    max-width: 360px;
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.9) 100%);
    color: var(--muted);
    font-size: 0.78rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}
.header-trust-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.header-trust-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(249, 251, 255, 0.86);
    border-bottom: 1px solid rgba(217, 225, 236, 0.85);
}
.navbar-rich {
    display: grid;
    grid-template-columns: minmax(220px, 0.92fr) minmax(320px, 1.08fr);
    grid-template-areas:
        "brand actions"
        "nav nav";
    align-items: center;
    min-height: 74px;
    padding: 10px 0;
    gap: 8px 14px;
}
.brand-rich {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    text-transform: none;
    letter-spacing: 0;
    font-size: inherit;
}
.brand-logo {
    width: auto;
    max-height: 40px;
    object-fit: contain;
}
.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.brand-copy strong {
    font-size: 1rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: none;
}
.brand-copy small {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
}
.desktop-nav {
    grid-area: nav;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px 6px;
    flex-wrap: wrap;
    overflow: visible;
    padding-top: 4px;
    border-top: 1px solid rgba(217, 225, 236, 0.74);
}
.header-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-self: end;
    width: min(100%, 520px);
    min-width: 0;
    gap: 6px;
}
.header-action-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-height: 38px;
    padding: 4px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 10px 20px rgba(15, 23, 42, 0.04);
}
.header-secondary-cta {
    color: var(--primary-dark);
    background: rgba(70, 88, 255, 0.08);
}
.header-cta {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(70, 88, 255, 0.14);
}
.admin-entry-link,
.header-secondary-cta,
.header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.75rem;
    box-shadow: none;
}
.desktop-nav a:not(.header-cta) {
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.82rem;
}
.admin-entry-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    line-height: 1;
    border: 1px solid rgba(70, 88, 255, 0.14);
    background: rgba(70, 88, 255, 0.06);
    color: var(--primary-dark) !important;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.header-secondary-cta {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(70, 88, 255, 0.1);
    font-weight: 700;
}
.header-cta {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    text-decoration: underline;
    text-decoration-color: rgba(70, 88, 255, 0.22);
    text-underline-offset: 0.14em;
    text-decoration-thickness: 0.08em;
}
.text-link:hover {
    text-decoration-color: currentColor;
}
.desktop-nav a:not(.header-cta),
.mobile-nav-panel a:not(.header-cta),
.admin-sidebar nav a,
.text-link,
.footer-grid-rich a,
.badge-link,
.product-card,
.post-item-compact,
.footer-showcase-media > img,
.footer-showcase-card,
.hero-feature-card,
.hero-side-card,
.hero-inline-product {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.desktop-nav a:not(.header-cta):hover,
.mobile-nav-panel a:not(.header-cta):hover {
    transform: translateY(-1px);
}
.desktop-nav a.is-active:not(.header-cta),
.mobile-nav-panel a.is-active:not(.header-cta) {
    box-shadow: inset 0 0 0 1px rgba(70, 88, 255, 0.04);
}
.mobile-brand-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
}
.mobile-brand-logo {
    width: auto;
    max-width: 112px;
    max-height: 38px;
    object-fit: contain;
}
.mobile-brand-card div {
    display: grid;
    gap: 2px;
}
.mobile-brand-card strong {
    font-size: 0.98rem;
}
.mobile-brand-card span {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}
.mobile-utility-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.site-footer {
    padding: 12px 0 10px;
    border-top: 1px solid rgba(217, 225, 236, 0.9);
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(245, 248, 255, 0.72) 0%, #eef3fb 100%);
}
.footer-shell {
    display: grid;
    gap: 12px;
}
.footer-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(217, 225, 236, 0.95);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12) 0%, rgba(70, 88, 255, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 16px 34px rgba(15, 23, 42, 0.05);
    align-items: stretch;
}
.footer-showcase:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 22px 42px rgba(15, 23, 42, 0.06);
}
.footer-showcase-copy {
    display: grid;
    gap: 8px;
    align-content: start;
}
.footer-brand {
    align-items: flex-start;
}
.footer-brand .brand-logo {
    max-height: 34px;
}
.footer-brand .brand-copy strong {
    font-size: 0.92rem;
}
.footer-brand .brand-copy small {
    font-size: 0.7rem;
}
.footer-showcase-copy h2 {
    margin: 0;
    font-size: clamp(1.18rem, 1.8vw, 1.56rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 20ch;
}
.footer-showcase-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.46;
    max-width: 62ch;
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.footer-showcase-media {
    position: relative;
    min-height: 174px;
    border-radius: 18px;
    overflow: hidden;
    background: #dbe4f0;
}
.footer-showcase:hover .footer-showcase-media > img {
    transform: scale(1.02);
}
.footer-showcase-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.18) 52%, rgba(15, 23, 42, 0.82) 100%);
}
.footer-showcase-card {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: grid;
    gap: 2px;
    padding: 10px 11px;
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(10px);
}
.footer-showcase-card .footer-label {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}
.footer-showcase-card strong {
    font-size: 0.86rem;
    line-height: 1.15;
}
.footer-showcase-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
    font-size: 0.74rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.footer-badge-list {
    gap: 6px;
}
.footer-badge-list .badge-link {
    padding: 5px 8px;
    font-size: 0.72rem;
}
.footer-showcase-actions .btn {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.78rem;
}
.footer-grid-rich {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.footer-column {
    display: grid;
    gap: 5px;
    align-content: start;
    padding: 10px 12px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 255, 0.84) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.footer-grid-rich a,
.footer-grid-rich .footer-inline-copy,
.footer-grid-rich .footer-label {
    margin: 0;
}
.footer-grid-rich .footer-label {
    margin-bottom: 1px;
}
.footer-grid-rich a {
    color: var(--muted);
    line-height: 1.28;
    font-size: 0.8rem;
}
.footer-grid-rich a:hover {
    color: var(--text);
    transform: translateX(2px);
}
.footer-contact-link,
.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-social-link:hover .ui-icon svg,
.footer-contact-link:hover .ui-icon svg,
.header-utility-link:hover .ui-icon svg {
    transform: scale(1.08);
}
.footer-inline-copy {
    color: var(--muted);
    line-height: 1.28;
    font-size: 0.76rem;
}
.footer-inline-copy strong {
    color: var(--text);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(217, 225, 236, 0.9);
    color: var(--muted);
    font-size: 0.74rem;
}
.footer-bottom span {
    line-height: 1.35;
}
.admin-body {
    background: #eef2f6;
    --admin-sidebar-width: 196px;
    --admin-gap: 10px;
    --admin-panel-padding: 10px;
    --admin-radius: 12px;
}
.admin-body .surface {
    border-radius: var(--admin-radius);
    border-color: #dbe2ea;
    box-shadow: none;
}
.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
}
.admin-sidebar {
    background: #0f1720;
    color: #f8fafc;
    padding: 10px;
    display: grid;
    gap: 10px;
    align-content: start;
    position: sticky;
    top: 0;
    min-height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(248, 250, 252, 0.06);
}
.admin-sidebar-brand {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    font-size: 0.92rem;
}
.admin-sidebar nav {
    flex-direction: column;
    gap: 4px;
}
.admin-sidebar-summary {
    display: grid;
    gap: 2px;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
.admin-sidebar-summary-label,
.admin-menu-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}
.admin-sidebar-summary-label {
    color: rgba(248, 250, 252, 0.62);
}
.admin-sidebar-summary strong {
    font-size: 0.88rem;
    line-height: 1.2;
}
.admin-sidebar-summary span:last-child {
    color: rgba(248, 250, 252, 0.72);
    line-height: 1.35;
}
.admin-menu-groups {
    display: grid;
    gap: 6px;
    align-content: start;
}
.admin-sidebar nav.admin-menu-group {
    display: grid;
    gap: 2px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
.admin-menu-label {
    color: rgba(248, 250, 252, 0.62);
}
.admin-sidebar .admin-menu-group a {
    min-height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.82rem;
}
.admin-sidebar nav a {
    color: rgba(248, 250, 252, 0.74);
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
}
.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.admin-sidebar nav a.is-active {
    background: linear-gradient(135deg, rgba(70, 88, 255, 0.36) 0%, rgba(70, 88, 255, 0.18) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.92);
}
.admin-session {
    display: grid;
    gap: 4px;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
.admin-session span { color: rgba(248, 250, 252, 0.74); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-session strong {
    font-size: 0.86rem;
}
.admin-session .btn {
    width: 100%;
}
.admin-mobile-bar {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    position: sticky;
    top: 10px;
    z-index: 12;
    min-width: 0;
    overflow: hidden;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(217, 225, 236, 0.92);
}
.admin-sidebar.is-open .admin-menu-group,
.admin-sidebar.is-open .admin-sidebar-summary,
.admin-sidebar.is-open .admin-session {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 250, 252, 0.12);
}
.admin-mobile-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.admin-mobile-meta span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 700;
}
.admin-mobile-meta strong {
    font-size: 0.94rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-mobile-bar .offcanvas-toggle {
    margin-left: auto;
    max-width: 100%;
}
.admin-offcanvas-head strong.brand {
    font-size: 1rem;
}
.admin-content {
    padding: 10px;
    display: grid;
    gap: 10px;
    align-content: start;
}
.admin-head {
    gap: 10px;
    margin-bottom: 0;
    align-items: flex-start;
    min-width: 0;
}
.admin-head h1 {
    margin: 4px 0 0;
    font-size: clamp(1.28rem, 2.1vw, 1.6rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.admin-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}
.admin-head.compact { margin-bottom: 8px; }
.admin-head .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}
.admin-head .hero-actions {
    justify-content: flex-end;
    gap: 6px;
}
.admin-head .btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.82rem;
}
.metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 4px 0;
    gap: 8px;
}
.metric-card {
    padding: 10px;
    display: grid;
    gap: 2px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}
.metric-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(70, 88, 255, 0.85) 0%, rgba(70, 88, 255, 0.18) 100%);
}
.metric-card span { display: block; color: var(--muted); margin-bottom: 0; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.metric-card strong { font-size: 1.12rem; line-height: 1.05; }
.admin-grid { grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.75fr); gap: 10px; }
.form-layout { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr); }
.form-layout-dense {
    grid-template-columns: minmax(0, 1.72fr) minmax(240px, 0.56fr);
    gap: 8px;
    align-items: start;
}
.customizer-grid {
    grid-template-columns: 1fr;
    align-items: start;
}
.preview-panel {
    position: sticky;
    top: 10px;
}
.preview-panel-dense {
    padding: 10px;
}
.preview-panel-dense .panel-head {
    margin-bottom: 2px;
}
.preview-panel-dense .badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
}
.preview-panel-dense .preview-stack {
    gap: 7px;
}
.preview-panel-dense .preview-image {
    max-height: 156px;
    object-fit: cover;
}
.preview-panel-dense .preview-stack strong {
    font-size: 0.94rem;
    line-height: 1.25;
}
.preview-panel-dense .preview-stack p,
.preview-panel-dense .preview-stack span {
    line-height: 1.3;
}
.admin-side-panel {
    position: sticky;
    top: 10px;
    align-self: start;
}
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}
.table-wrap-dense {
    border-radius: 10px;
}
.admin-table,
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.admin-table th,
.admin-table td,
th, td {
    text-align: left;
    padding: 8px 8px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.admin-table th,
th {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    background: #f7f9fc;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}
.admin-table td,
td {
    font-size: 0.86rem;
}
.admin-table tbody tr:hover,
tbody tr:hover {
    background: rgba(70, 88, 255, 0.03);
}
.admin-table-actions {
    white-space: nowrap;
}
.admin-inline-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.admin-inline-actions form {
    margin: 0;
}
.admin-table-dense {
    min-width: 460px;
}
.admin-table-dense th,
.admin-table-dense td {
    padding: 6px 8px;
}
.admin-table-dense th {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}
.admin-table-dense td {
    font-size: 0.82rem;
    line-height: 1.3;
}
.admin-table-dense .badge,
.admin-table-dense .status-badge {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.69rem;
}
.admin-table-dense .btn-small {
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
}
.admin-table-dense .text-link {
    font-size: 0.78rem;
}
.admin-table-actions-dense {
    width: 1%;
    white-space: nowrap;
}
.admin-inline-actions-dense {
    gap: 4px;
}
.admin-cell-main,
.admin-cell-stack {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.admin-cell-main strong,
.admin-cell-stack strong {
    line-height: 1.2;
}
.admin-cell-meta {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.28;
    word-break: break-word;
}
.admin-cell-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.mini-product-list { display: grid; gap: 10px; }
.mini-product-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: center;
}
.mini-product-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2ff;
}
.product-form, .preview-stack { display: grid; gap: 10px; }
.product-form label { display: grid; gap: 6px; }
.product-form label span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}
.admin-form {
    gap: 10px;
}
.admin-form-dense {
    gap: 8px;
}
.admin-form-dense label {
    gap: 4px;
}
.admin-form-dense label span {
    font-size: 0.77rem;
    letter-spacing: 0.01em;
}
.admin-form-dense input:not([type="checkbox"]):not([type="color"]),
.admin-form-dense select,
.admin-form-dense textarea {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.84rem;
}
.admin-form-dense textarea {
    min-height: 72px;
    line-height: 1.42;
}
.admin-form-dense select[multiple] {
    min-height: 108px;
    padding-block: 6px;
}
.admin-form-dense .btn:last-child {
    min-height: 38px;
}
.admin-form-dense h3 {
    margin-top: 2px;
    padding-top: 8px;
}
.admin-form-dense .helper {
    display: none;
}
.field-span-2 {
    grid-column: span 2;
}
.customizer-form {
    gap: 7px;
}
.customizer-form label {
    gap: 3px;
}
.customizer-form label span {
    font-size: 0.76rem;
    font-weight: 700;
}
.customizer-form input,
.customizer-form select,
.customizer-form textarea {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.82rem;
}
.customizer-form textarea {
    min-height: 68px;
}
.customizer-form .helper {
    display: none;
}
.customizer-workspace-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: end;
}
.customizer-search-field {
    display: grid;
    gap: 4px;
}
.customizer-toolbar-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.customizer-toolbar-actions .btn {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.72rem;
}
.customizer-filter-empty {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px dashed rgba(217, 225, 236, 0.9);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.72);
}
.customizer-filter-empty strong {
    font-size: 0.94rem;
}
.customizer-filter-empty span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}
.customizer-menu-group {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fcfdff;
    overflow: hidden;
}
.customizer-menu-group[open] {
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.035);
}
.customizer-menu-summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #f8fafc;
}
.customizer-menu-summary::-webkit-details-marker {
    display: none;
}
.customizer-menu-summary strong {
    display: block;
    font-size: 0.86rem;
    line-height: 1.2;
}
.customizer-menu-summary span {
    display: none;
}
.customizer-menu-summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text);
    background: #fff;
    font-weight: 700;
    font-size: 0.82rem;
}
.customizer-menu-group[open] .customizer-menu-summary::after {
    content: "-";
}
.customizer-menu-body {
    display: grid;
    gap: 6px;
    padding: 8px;
}
.customizer-conditional-block {
    display: grid;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(217, 225, 236, 0.86);
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.64);
}
.customizer-conditional-block[hidden] {
    display: none;
}
.customizer-media-preview-card {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
}
.customizer-media-preview-frame {
    position: relative;
    min-height: 112px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(241, 245, 249, 0.92) 100%);
}
.customizer-media-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
.customizer-media-preview-frame.is-empty {
    display: grid;
    place-items: center;
}
.customizer-media-preview-placeholder {
    padding: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}
.customizer-media-preview-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.customizer-media-preview-copy strong {
    font-size: 0.88rem;
    line-height: 1.3;
}
.customizer-media-preview-copy span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}
.customizer-media-actions,
.customizer-media-field-stack {
    display: grid;
    gap: 6px;
}
.customizer-media-actions {
    grid-template-columns: repeat(3, max-content);
    align-items: center;
}
.customizer-media-upload-button {
    cursor: pointer;
}
.customizer-media-upload-status {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}
.customizer-savebar {
    position: sticky;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(217, 225, 236, 0.94);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 12px 26px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}
.admin-form > .btn:last-child,
.admin-form .btn-primary:last-child {
    width: 100%;
}
.product-form h3 {
    margin: 0;
    font-size: 0.96rem;
    padding-top: 0;
    border-top: 0;
}
.admin-form > h3:first-of-type {
    padding-top: 0;
    border-top: 0;
}
.product-form-compact-hero {
    display: grid;
    gap: 6px;
    padding: 9px 10px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.96) 100%);
}
.product-form-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.product-compact-metric {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 12px 24px rgba(15, 23, 42, 0.04);
}
.product-compact-metric span,
.product-media-library-summary .eyebrow {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.product-compact-metric strong,
.product-media-library-summary strong {
    font-size: 1rem;
    line-height: 1.15;
}
.product-compact-metric small {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
}
.product-edit-actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
}
.product-edit-actioncopy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.product-edit-actioncopy strong {
    font-size: 0.84rem;
    line-height: 1.2;
}
.product-edit-actioncopy span {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.35;
}
.product-edit-actionbuttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.product-form-cluster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}
.product-form-section {
    display: grid;
    gap: 7px;
    padding: 9px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.72);
    align-content: start;
}
.product-form-section .panel-head {
    margin-bottom: 0;
}
.product-form-split {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(220px, 0.84fr);
    gap: 8px;
    align-items: start;
}
.product-form-split-main,
.product-inline-summary {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.product-inline-summary-card {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border: 1px solid rgba(217, 225, 236, 0.84);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
}
.product-inline-summary-card strong {
    line-height: 1.25;
}
.product-inline-summary-card span:last-child {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}
.product-inline-checkbox {
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid rgba(217, 225, 236, 0.84);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
}
.product-media-section {
    gap: 8px;
}
.product-media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
    gap: 10px;
    align-items: start;
}
.product-media-layout-single {
    grid-template-columns: minmax(0, 1fr);
}
.product-media-main,
.product-media-sidebar,
.product-gallery-upload-stack {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.product-media-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 8px;
    align-items: start;
}
.product-media-featured-shell,
.product-media-gallery-shell {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 225, 236, 0.9);
}
.product-media-featured-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 8px;
    align-items: start;
}
.product-media-gallery-builder {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(248px, 0.92fr);
    gap: 8px;
    align-items: start;
}
.product-media-control-card {
    display: grid;
    gap: 7px;
    padding: 9px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(217, 225, 236, 0.82);
}
.product-media-control-card label {
    margin: 0;
}
.product-media-block-label {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
}
.product-library-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.product-library-panel,
.product-gallery-actions-card {
    align-self: stretch;
}
.product-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 8px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}
.product-library-card {
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    text-align: left;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.product-library-card:hover {
    border-color: rgba(70, 88, 255, 0.28);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}
.product-library-card.is-picked {
    border-color: rgba(70, 88, 255, 0.48);
    box-shadow: 0 0 0 2px rgba(70, 88, 255, 0.12);
    background: rgba(238, 242, 255, 0.82);
}
.product-library-card.is-in-gallery {
    cursor: default;
    background: rgba(248, 250, 252, 0.98);
    border-style: dashed;
    opacity: 0.82;
}
.product-library-card-preview {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(241, 245, 249, 0.92) 100%);
}
.product-library-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-library-card-preview .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-library-card-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.product-library-card-copy strong {
    font-size: 0.8rem;
    line-height: 1.3;
    word-break: break-word;
}
.product-library-card-copy span {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
    word-break: break-word;
}
.product-media-native-select {
    display: none;
}
.product-media-builder-actions {
    justify-content: flex-start;
}
.product-media-sidebar {
    align-self: start;
}
.product-media-library-summary {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.94) 100%);
}
.product-media-library-summary strong {
    font-size: 1.45rem;
    line-height: 1;
}
.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    align-items: start;
}
.product-gallery-card {
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    min-width: 0;
    overflow: hidden;
}
.product-gallery-card[data-gallery-draggable="true"] {
    cursor: grab;
}
.product-gallery-card.is-dragging {
    opacity: 0.6;
    transform: scale(0.98);
}
.product-gallery-card.is-drag-over {
    border-color: rgba(70, 88, 255, 0.42);
    box-shadow: 0 0 0 2px rgba(70, 88, 255, 0.12);
}
.product-gallery-card.is-legacy {
    border-style: dashed;
    background: rgba(248, 250, 252, 0.94);
}
.product-gallery-card-preview {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(241, 245, 249, 0.92) 100%);
}
.product-gallery-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-card-preview .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
    padding-inline: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-gallery-card-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.product-gallery-card-copy strong {
    font-size: 0.82rem;
    line-height: 1.3;
    word-break: break-word;
}
.product-gallery-card-copy span {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
    word-break: break-word;
}
.product-gallery-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(70, 88, 255, 0.08);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}
.product-gallery-empty {
    display: grid;
    place-items: center;
    min-height: 132px;
    padding: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.45;
}
.product-media-section > .helper {
    margin-top: -2px;
}
.product-media-gallery-shell .helper,
.product-media-library-summary .helper {
    max-width: 58ch;
}
.product-preview-block {
    display: grid;
    gap: 6px;
}
.product-preview-metrics {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.84);
}
.product-preview-metrics span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.product-preview-metrics strong {
    font-size: 0.82rem;
}
.product-preview-snippet {
    padding: 10px 12px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
}
.product-preview-actions {
    display: grid;
    gap: 6px;
}
.product-form select[multiple] {
    min-height: 220px;
}
.product-gallery-order-inputs {
    display: none;
}
.admin-form textarea {
    line-height: 1.5;
}
@media (max-width: 1360px) {
    .product-form-cluster-grid {
        grid-template-columns: 1fr;
    }
    .product-form-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1180px) {
    .product-edit-actionbar {
        display: grid;
    }
    .product-form-split,
    .product-media-layout {
        grid-template-columns: 1fr;
    }
    .product-media-featured-grid,
    .product-media-gallery-builder,
    .product-media-control-grid {
        grid-template-columns: 1fr;
    }
    .product-library-grid {
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    }
    .product-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    }
}
@media (max-width: 720px) {
    .product-form-meta-grid {
        grid-template-columns: 1fr;
    }
    .product-edit-actionbuttons {
        justify-content: stretch;
    }
    .product-edit-actionbuttons .btn {
        width: 100%;
    }
    .product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-gallery-card-preview .badge {
        font-size: 0.68rem;
    }
}
@media (max-width: 520px) {
    .product-gallery-grid {
        grid-template-columns: 1fr;
    }
}
.customizer-slide-card {
    display: grid;
    gap: 6px;
    padding: 8px;
}
.customizer-slide-list {
    display: grid;
    gap: 6px;
}
.customizer-slide-toolbar {
    padding: 0;
}
.customizer-slide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.customizer-slide-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}
.customizer-slide-heading p {
    display: none;
}
.customizer-slide-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}
.customizer-slide-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}
.customizer-slide-preview {
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fcfdff;
}
.customizer-slide-preview-media {
    position: relative;
    min-height: min(var(--slide-height-desktop, 360px), 58vh);
    border-radius: 14px;
    overflow: hidden;
    background-color: #0f172a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.customizer-slide-preview-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(4, 10, 24, 0.06) 0%, rgba(4, 10, 24, 0.02) 34%, rgba(4, 10, 24, 0.16) 66%, rgba(4, 10, 24, 0.76) 100%),
        linear-gradient(90deg, rgba(4, 10, 24, 0.34) 0%, rgba(15, 23, 42, 0.08) 24%, rgba(4, 10, 24, 0) 54%, rgba(4, 10, 24, 0.1) 100%);
}
.customizer-slide-preview-media > * {
    position: relative;
    z-index: 1;
}
.customizer-slide-preview-media.is-empty {
    background-image: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
}
.customizer-slide-preview-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.customizer-slide-preview-empty {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: 22ch;
    color: #fff;
    font-size: 0.76rem;
    line-height: 1.4;
}
.customizer-slide-preview-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    min-height: min(var(--slide-height-desktop, 360px), 58vh);
    padding: clamp(12px, 2vw, 18px) clamp(12px, 2vw, 20px) 52px;
}
.customizer-slide-preview-stage.align-center {
    justify-content: center;
}
.customizer-slide-preview-stage.align-right {
    justify-content: flex-end;
}
.customizer-slide-preview-body {
    width: min(100%, 460px);
    max-width: 460px;
    display: grid;
    gap: 6px;
    align-content: start;
    padding: clamp(8px, 1.2vw, 12px) clamp(9px, 1.3vw, 13px);
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.14) 42%, rgba(2, 6, 23, 0.34) 100%);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.1);
    backdrop-filter: blur(4px);
    color: #fff;
}
.customizer-slide-preview-media[data-preview-media] .customizer-slide-preview-body {
    position: relative;
}
.customizer-slide-preview-media[data-preview-media].is-empty .customizer-slide-preview-body {
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.18) 0%, rgba(10, 18, 34, 0.42) 100%);
}
.customizer-slide-preview-stage.width-narrow .customizer-slide-preview-body { max-width: 360px; }
.customizer-slide-preview-stage.width-medium .customizer-slide-preview-body { max-width: 480px; }
.customizer-slide-preview-stage.width-wide .customizer-slide-preview-body { max-width: 620px; }
.customizer-slide-preview-stage.align-center .customizer-slide-preview-body {
    text-align: center;
    justify-items: center;
}
.customizer-slide-preview-stage.align-right .customizer-slide-preview-body {
    text-align: right;
    justify-items: end;
}
.customizer-slide-preview-stage.align-right .customizer-slide-preview-body,
.customizer-slide-preview-stage.align-center .customizer-slide-preview-body {
    margin-inline: auto;
}
.customizer-slide-preview-stage.align-center .customizer-slide-preview-meta,
.customizer-slide-preview-stage.align-center .customizer-slide-preview-actions {
    justify-content: center;
}
.customizer-slide-preview-stage.align-right .customizer-slide-preview-meta,
.customizer-slide-preview-stage.align-right .customizer-slide-preview-actions {
    justify-content: flex-end;
}
.customizer-slide-preview-body strong {
    max-width: 14ch;
    font-size: clamp(1.48rem, 2.8vw, 2.32rem);
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
}
.customizer-slide-preview-body p {
    margin: 0;
    max-width: 40ch;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.42;
    font-size: clamp(0.84rem, 0.92vw, 0.94rem);
    text-shadow: 0 4px 14px rgba(2, 6, 23, 0.22);
}
.customizer-slide-preview-meta,
.customizer-slide-preview-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.customizer-slide-preview-body .eyebrow {
    gap: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: #c7d2fe;
}
.customizer-slide-preview-body .badge-soft {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.customizer-slide-preview-actions .btn {
    pointer-events: none;
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.74rem;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.05);
}
.customizer-slide-card.is-dragging {
    opacity: 0.72;
    border-color: rgba(70, 88, 255, 0.35);
    box-shadow: 0 18px 40px rgba(70, 88, 255, 0.16);
}
.slide-drag-handle {
    min-height: 32px;
    padding: 0 9px;
    border-radius: 12px;
    border: 1px dashed var(--border);
    background: #f8fafc;
    color: var(--text);
    cursor: grab;
    font: inherit;
    font-weight: 700;
}
.four-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.slide-drag-handle:active {
    cursor: grabbing;
}
.customizer-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fcfdff;
}
.customizer-slide-card h4 {
    margin: 0;
    font-size: 0.98rem;
}
.customizer-range {
    align-content: start;
}
.preview-stack {
    align-content: start;
}
.preview-stack strong {
    line-height: 1.3;
}
.preview-stack p,
.preview-stack span {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}
.customizer-side-nav {
    display: grid;
    gap: 8px;
}
.customizer-side-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
    font-weight: 600;
}
.customizer-side-nav a span:first-child {
    min-width: 0;
}
.customizer-nav-count {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(70, 88, 255, 0.08);
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.customizer-side-nav a:hover {
    border-color: rgba(70, 88, 255, 0.28);
    background: rgba(70, 88, 255, 0.06);
}
.customizer-side-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 14px 30px rgba(15, 23, 42, 0.04);
}
.customizer-density-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.customizer-mini-stat {
    display: grid;
    gap: 4px;
    padding: 10px 11px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.82);
}
.customizer-mini-stat small {
    color: var(--muted);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.customizer-mini-stat strong {
    font-size: 1.08rem;
    line-height: 1;
    letter-spacing: -0.03em;
}
.customizer-mini-stat span {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.38;
}
.customizer-status-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.customizer-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    background: rgba(248, 250, 252, 0.76);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.customizer-status-chip.is-active {
    border-color: rgba(70, 88, 255, 0.18);
    background: rgba(70, 88, 255, 0.08);
    color: var(--primary-dark);
}
.customizer-status-chip.is-muted {
    color: var(--muted);
}
.customizer-guidance-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.customizer-guidance-list li {
    padding: 0 0 8px;
    border-bottom: 1px dashed rgba(217, 225, 236, 0.9);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}
.customizer-guidance-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.customizer-preview-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    overflow: hidden;
}
.customizer-preview-topline,
.customizer-preview-navbar,
.customizer-preview-brand,
.customizer-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.customizer-preview-topline {
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.76rem;
}
.customizer-preview-utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.customizer-preview-utility-links .badge-link {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.71rem;
}
.customizer-preview-chip-inline {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.customizer-preview-navbar {
    justify-content: space-between;
    padding: 10px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}
.customizer-preview-brand {
    min-width: 0;
}
.customizer-preview-brand img {
    width: auto;
    max-width: 124px;
    max-height: 34px;
    object-fit: contain;
}
.customizer-preview-brand div {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.customizer-preview-brand strong {
    font-size: 0.92rem;
    line-height: 1.05;
}
.customizer-preview-brand span {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
}
.customizer-preview-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}
.customizer-preview-actions .btn {
    pointer-events: none;
}
.customizer-preview-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
    gap: 14px;
}
.customizer-preview-hero-copy,
.customizer-preview-hero-visual {
    display: grid;
    gap: 9px;
    min-width: 0;
}
.customizer-preview-density {
    margin: 0;
    align-self: start;
}
.customizer-preview-hero-copy h4 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(1.16rem, 2.1vw, 1.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}
.customizer-preview-hero-copy p {
    margin: 0;
    max-width: 46ch;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.5;
}
.customizer-preview-hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(217, 225, 236, 0.92);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.12) 0%, rgba(70, 88, 255, 0) 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 248, 255, 0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
}
.customizer-preview-hero-meta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(70, 88, 255, 0.04) 100%);
    pointer-events: none;
}
.customizer-preview-hero-meta > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.customizer-preview-hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.customizer-preview-hero-points li {
    font-size: 0.7rem;
    min-height: 40px;
    padding: 8px 10px 8px 32px;
}
.customizer-preview-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.customizer-preview-quick-links .badge-link {
    font-size: 0.72rem;
    min-height: 40px;
    padding: 8px 26px 8px 10px;
    border-radius: 12px;
}
.customizer-preview-quick-links .badge-link::after {
    right: 11px;
}
.customizer-preview-hero-actions {
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 2px;
}
.customizer-preview-hero-actions .btn {
    min-height: 34px;
    padding: 0 11px;
}
.customizer-preview-hero-visual {
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
}
.customizer-preview-hero-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.customizer-preview-hero-visual > strong {
    font-size: 0.96rem;
    line-height: 1.18;
}
.customizer-preview-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.customizer-preview-stat {
    display: grid;
    gap: 3px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(217, 225, 236, 0.82);
    background: rgba(255, 255, 255, 0.88);
}
.customizer-preview-stat small {
    color: var(--muted);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}
.customizer-preview-stat strong {
    font-size: 1rem;
    line-height: 1;
}
.customizer-preview-stat span {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.3;
}
.customizer-preview-footer {
    gap: 12px;
}
.customizer-preview-products,
.customizer-preview-content {
    gap: 12px;
}
.customizer-preview-product-grid,
.customizer-preview-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.customizer-preview-product-card,
.customizer-preview-content-block {
    display: grid;
    gap: 6px;
    padding: 11px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 10px 22px rgba(15, 23, 42, 0.04);
}
.customizer-preview-product-card strong,
.customizer-preview-content-block h4 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.12;
}
.customizer-preview-product-card span:last-child,
.customizer-preview-content-block p {
    margin: 0;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.42;
}
.customizer-preview-content-block.is-accent {
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.08) 0%, rgba(70, 88, 255, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
}
.customizer-preview-inline-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.customizer-preview-inline-metrics span {
    display: grid;
    gap: 3px;
    padding: 8px 9px;
    border-radius: 12px;
    border: 1px solid rgba(70, 88, 255, 0.12);
    background: rgba(70, 88, 255, 0.05);
}
.customizer-preview-inline-metrics strong {
    font-size: 0.94rem;
    line-height: 1;
}
.customizer-preview-inline-metrics small {
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.35;
}
.customizer-preview-post-lines {
    display: grid;
    gap: 6px;
}
.customizer-preview-post-lines span {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(70, 88, 255, 0.06);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
}
.customizer-preview-footer-copy {
    display: grid;
    gap: 8px;
}
.customizer-preview-footer-copy strong {
    font-size: 1rem;
    line-height: 1.08;
}
.customizer-preview-footer-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}
.customizer-preview-footer-media {
    position: relative;
    min-height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #dbe4f0;
}
.customizer-preview-footer-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customizer-preview-footer-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(8px);
}
.customizer-preview-footer-overlay .footer-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}
.customizer-preview-footer-overlay strong {
    font-size: 0.94rem;
}
.customizer-preview-footer-overlay span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}
.panel-head h2,
.panel-head h3 {
    margin: 0;
}
.panel-head-compact {
    margin-bottom: 2px;
}
.helper {
    font-size: 0.86rem;
    line-height: 1.45;
}
.commerce-layout {
    grid-template-columns: minmax(0, 1.42fr) minmax(236px, 0.58fr);
    align-items: start;
    gap: 8px;
}
.cart-list {
    display: grid;
    gap: 6px;
}
.cart-list.compact {
    gap: 4px;
}
.cart-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 13px;
    background: rgba(248, 250, 252, 0.76);
}
.cart-item.simple {
    grid-template-columns: 1fr auto;
}
.cart-item img {
    width: 68px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    background: #eef2ff;
}
.cart-item-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.cart-unit-price {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.32;
}
.cart-line-total {
    font-size: 0.9rem;
    white-space: nowrap;
}
.cart-variant {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.3;
}
.cart-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.info-card {
    display: grid;
    gap: 4px;
    padding: 9px;
    border-radius: 13px;
    border: 1px solid rgba(70, 88, 255, 0.14);
    background: linear-gradient(180deg, rgba(70, 88, 255, 0.06) 0%, rgba(70, 88, 255, 0.03) 100%);
}
.info-card-premium {
    border-color: rgba(14, 165, 233, 0.14);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 100%);
}
.info-card strong {
    font-size: 0.84rem;
    line-height: 1.25;
}
.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.35;
    font-size: 0.76rem;
}
.cart-actions .btn,
.checkout-submit-row .btn {
    width: 100%;
}
.checkout-hero-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    margin-bottom: 8px;
}
.checkout-hero-card > div:first-child {
    display: grid;
    gap: 2px;
}
.checkout-hero-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.32;
    font-size: 0.76rem;
}
.checkout-sidebar {
    position: sticky;
    top: 68px;
    display: grid;
    gap: 6px;
}
.checkout-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.checkout-metric-card {
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
}
.checkout-metric-card span {
    font-size: 0.64rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.checkout-metric-card strong {
    font-size: 0.88rem;
    line-height: 1.18;
}
.checkout-metric-card small {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.28;
}
.checkout-metric-card-total {
    border-color: rgba(70, 88, 255, 0.2);
    background: linear-gradient(180deg, rgba(70, 88, 255, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}
.checkout-summary {
    display: grid;
    gap: 2px;
}
.checkout-summary div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-summary div:last-child {
    padding-top: 8px;
    border-bottom: 0;
    font-size: 0.92rem;
}
.checkout-summary strong {
    text-align: right;
}
.admin-order-summary div strong {
    text-align: right;
}
.admin-order-summary-dense div {
    gap: 8px;
    padding: 6px 0;
}
.admin-order-summary-dense div:last-child {
    padding-top: 8px;
}
.admin-order-summary-dense span,
.admin-order-summary-dense strong {
    font-size: 0.82rem;
    line-height: 1.3;
}
.order-side-stack {
    display: grid;
    gap: 8px;
}
.badge-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 10px;
    padding: 12px;
    align-items: start;
}
.product-page-shell {
    display: grid;
    gap: 10px;
}
.product-page-hero {
    display: grid;
    gap: 8px;
    padding: 11px 12px;
    background:
        radial-gradient(circle at top right, rgba(70, 88, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
}
.product-detail-premium {
    gap: 10px;
    padding: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.97) 100%);
}
.product-gallery-premium {
    position: sticky;
    top: 12px;
}
.product-detail-copy-premium {
    gap: 10px;
}
.product-gallery, .product-detail-copy {
    display: grid;
    gap: 10px;
    align-content: start;
}
.product-back-link {
    font-size: 0.82rem;
}
.product-detail-main {
    margin: 0;
    position: relative;
    min-height: 296px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
    background: #eef2ff;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.product-detail-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    min-width: 42px;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
}
.product-gallery-nav.is-prev {
    left: 10px;
}
.product-gallery-nav.is-next {
    right: 10px;
}
.product-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
}
.product-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 8px;
}
.product-thumb {
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    cursor: pointer;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2ff;
}
.product-thumb.is-active {
    border-color: rgba(70, 88, 255, 0.48);
    box-shadow: 0 0 0 2px rgba(70, 88, 255, 0.12);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.product-detail-copy h1 {
    margin: 0;
    font-size: clamp(1.54rem, 3.6vw, 2.28rem);
}
.product-detail-summary {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.46;
}
.product-detail-price {
    display: grid;
    gap: 4px;
    padding: 6px 0 2px;
}
.product-detail-price-premium {
    padding: 4px 0 0;
}
.product-detail-price strong {
    font-size: clamp(1.42rem, 3vw, 2rem);
}
.product-variant-block {
    display: grid;
    gap: 6px;
}
.product-detail-form select {
    width: 100%;
}
.product-detail-form {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fcfdff;
}
.product-detail-form-premium {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 255, 0.97) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}
.product-detail-form-premium label {
    gap: 4px;
}
.product-detail-form-premium label span {
    font-size: 0.78rem;
}
.product-detail-form,
.checkout-section,
.panel-subtle {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.product-detail-actions {
    display: flex;
}
.product-detail-actions .btn {
    width: 100%;
}
.checkout-form {
    gap: 8px;
}
.checkout-section {
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fcfdff;
}
.checkout-submit-row {
    display: flex;
}
.checkout-section .panel-head h3 {
    font-size: 0.86rem;
}
.checkout-section .helper {
    font-size: 0.74rem;
    line-height: 1.32;
}
.checkout-form label {
    gap: 3px;
}
.checkout-form label span {
    font-size: 0.72rem;
}
.checkout-error-summary {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
}
.checkout-error-summary strong {
    font-size: 0.84rem;
}
.checkout-error-summary p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.35;
}
.field-error {
    display: block;
    color: var(--danger);
    font-size: 0.7rem;
    line-height: 1.3;
}
.field-error-block {
    margin: 0 0 2px;
}
.checkout-form input.is-invalid,
.checkout-form select.is-invalid,
.checkout-form textarea.is-invalid,
.checkout-payment-option.is-invalid {
    border-color: rgba(180, 35, 24, 0.5);
}
.checkout-form input.is-invalid,
.checkout-form select.is-invalid,
.checkout-form textarea.is-invalid {
    background: rgba(254, 242, 242, 0.72);
}
.checkout-form input.is-invalid:focus,
.checkout-form select.is-invalid:focus,
.checkout-form textarea.is-invalid:focus {
    outline: 2px solid rgba(180, 35, 24, 0.14);
    border-color: rgba(180, 35, 24, 0.7);
}
.checkout-payment-options {
    display: grid;
    gap: 6px;
}
.checkout-payment-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.82);
    cursor: pointer;
}
.checkout-payment-option.is-selected {
    border-color: rgba(70, 88, 255, 0.38);
    background: rgba(238, 242, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(70, 88, 255, 0.08);
}
.checkout-payment-option input {
    margin-top: 3px;
}
.checkout-payment-copy {
    display: grid;
    gap: 2px;
}
.checkout-payment-copy strong {
    font-size: 0.8rem;
}
.checkout-payment-copy small {
    color: var(--muted);
    line-height: 1.3;
    font-size: 0.73rem;
}
.checkout-payment-active {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px dashed rgba(70, 88, 255, 0.2);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(244, 247, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}
.checkout-payment-active > div {
    display: grid;
    gap: 2px;
}
.checkout-payment-active strong {
    font-size: 0.82rem;
}
.checkout-payment-active p {
    margin: 0;
    color: var(--muted);
    line-height: 1.3;
    font-size: 0.74rem;
}
.checkout-order-stack {
    display: grid;
    gap: 6px;
}
.checkout-cart-list {
    gap: 6px;
}
.checkout-cart-item {
    padding: 7px 8px;
    align-items: start;
}
.checkout-cart-item .cart-item-body {
    gap: 2px;
}
.checkout-cart-item .cart-item-body strong {
    font-size: 0.82rem;
    line-height: 1.28;
}
.checkout-item-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.checkout-assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.checkout-assurance-card {
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: 12px;
    background: #fcfdff;
}
.checkout-assurance-label {
    font-size: 0.64rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.checkout-assurance-card strong {
    font-size: 0.8rem;
}
.checkout-assurance-card p,
.checkout-summary-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.32;
}
.pix-payment-card {
    display: grid;
    gap: 10px;
}
.pix-reissue-form {
    display: inline-flex;
}
.pix-reissue-form .btn {
    width: auto;
}
.pix-payment-card-dense {
    gap: 8px;
    padding: 10px;
}
.pix-payment-card-dense .panel-head {
    margin-bottom: 0;
}
.pix-payment-card-dense .badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
}
.pix-payment-card-dense .pix-payment-copy {
    gap: 6px;
}
.pix-payment-card-dense .pix-copy-field {
    gap: 4px;
}
.pix-payment-card-dense .pix-copy-field textarea {
    min-height: 88px;
    padding: 8px 9px;
    font-size: 0.8rem;
}
.pix-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
    gap: 12px;
    align-items: start;
}
.pix-payment-copy {
    display: grid;
    gap: 8px;
}
.pix-payment-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}
.pix-copy-field {
    display: grid;
    gap: 5px;
}
.pix-copy-field textarea {
    min-height: 108px;
    resize: vertical;
    font-size: 0.78rem;
    line-height: 1.4;
}
.pix-qr-figure {
    margin: 0;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}
.pix-qr-figure img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}
.editor-shell {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.editor-shell-dense {
    border-radius: 12px;
}
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}
.editor-toolbar button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font: inherit;
}
.editor-shell-dense .editor-toolbar {
    gap: 6px;
    padding: 7px 8px;
}
.editor-shell-dense .editor-toolbar button {
    min-height: 30px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 0.74rem;
}
.editor-surface {
    min-height: 240px;
    padding: 14px;
    outline: none;
}
.editor-shell-dense .editor-surface {
    min-height: 190px;
    padding: 10px;
}
.editor-surface h2,
.editor-surface h3,
.editor-surface p {
    margin-top: 0;
}
.editor-shell textarea[data-editor-source] {
    min-height: 120px;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: #f8fafc;
}
.editor-shell-dense textarea[data-editor-source] {
    min-height: 92px;
    padding: 9px 10px;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.media-admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
}
.media-upload-panel {
    margin-bottom: 10px;
}
.media-library-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.55fr);
    align-items: start;
}
.media-library-main {
    display: grid;
    gap: 10px;
}
.media-library-main-compact {
    gap: 8px;
}
.media-panel-head {
    align-items: flex-start;
}
.media-panel-head-compact {
    margin-bottom: 2px;
}
.media-panel-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}
.media-toolbar-form {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(140px, 0.42fr) minmax(140px, 0.42fr) auto;
    gap: 8px;
    align-items: end;
    padding: 10px;
    border: 1px solid rgba(217, 225, 236, 0.88);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.78);
}
.media-search-field,
.media-filter-field {
    min-width: 0;
}
.media-toolbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.media-toolbar-form-compact {
    grid-template-columns: minmax(0, 1.35fr) minmax(110px, 0.34fr) minmax(110px, 0.34fr) auto;
    gap: 7px;
    padding: 8px;
    border-radius: 14px;
}
.media-upload-form-dense {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 1.15fr) auto;
    gap: 8px;
    align-items: end;
}
.media-upload-form-dense .btn {
    min-height: 36px;
}
.media-grid-dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.media-grid-ultra-dense {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 10px;
    align-items: stretch;
}
.media-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.media-card-dense {
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.media-card > a {
    display: block;
}
.media-card-preview {
    position: relative;
}
.media-card-preview-dense img,
.media-card-preview-dense video {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}
.media-card-preview-dense {
    overflow: hidden;
    border-radius: 12px;
    background: #eef2ff;
}
.media-card-overlay-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 5px;
    align-items: center;
}
.media-card img,
.media-card video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2ff;
}
.media-card-body {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
}
.media-card-body-dense {
    gap: 7px;
    padding: 0;
}
.media-card-body-ultra-dense {
    display: grid;
    gap: 5px;
    padding: 0;
    align-content: start;
}
.media-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.media-card-topline-dense {
    gap: 4px;
    align-items: flex-start;
}
.media-card-topline strong {
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(0.82rem * 1.15 * 2);
}
.media-card-meta-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    min-height: 22px;
}
.media-meta-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 20px;
    padding: 0 6px;
    border: 1px solid rgba(217, 225, 236, 0.94);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.media-icon-form {
    margin: 0;
}
.media-card-meta {
    font-size: 0.79rem;
}
.media-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(217, 225, 236, 0.94);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.media-icon-button .ui-icon {
    width: 13px;
    height: 13px;
}
.media-icon-button .ui-icon svg {
    width: 13px;
    height: 13px;
}
.media-icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(70, 88, 255, 0.24);
    background: rgba(244, 246, 255, 0.9);
}
.media-icon-button-danger {
    color: #991b1b;
}
.media-icon-button-danger:hover {
    border-color: rgba(239, 68, 68, 0.22);
    background: rgba(254, 242, 242, 0.95);
}
.media-icon-button-muted {
    color: var(--muted);
    background: rgba(248, 250, 252, 0.96);
}
.media-inline-field {
    display: grid !important;
    gap: 4px !important;
}
.media-inline-field span {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.media-inline-field input {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.76rem;
    border-radius: 12px;
    background: #f8fafc;
}
.media-card-actions .btn {
    min-height: 34px;
}
.media-card-ultra-dense {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
    min-height: 100%;
}
.media-meta-form {
    display: grid;
    gap: 7px;
}
.media-delete-form {
    margin-top: 2px;
}
.media-protection-note {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(244, 246, 251, 0.9);
    border: 1px solid rgba(217, 225, 236, 0.88);
    font-size: 0.78rem;
}
.media-upload-card,
.media-empty-state {
    border-radius: 16px;
}
.media-upload-rules {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(217, 225, 236, 0.88);
}
.media-card-body span,
.media-card-body code {
    color: var(--muted);
    font-size: 0.86rem;
    word-break: break-word;
}
.theme-color-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.theme-font-select {
    grid-column: 1 / -1;
}
.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
}
.checkbox-row input {
    width: 18px;
    height: 18px;
    margin: 0;
}
.three-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
input[type="color"] {
    min-height: 42px;
    padding: 6px;
}
input, textarea, select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
    font: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(70, 88, 255, 0.14);
    border-color: var(--primary);
}
.checkbox-field {
    align-content: center;
}
.checkbox-field input {
    width: 20px;
    height: 20px;
    padding: 0;
}
.checkbox-field-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}
.checkbox-field-compact span {
    margin: 0;
}
.checkbox-field-compact input {
    width: 16px;
    height: 16px;
    margin: 0;
}
.access-panel-compact {
    padding: 10px;
}
.access-toolbar-head {
    gap: 6px;
    align-items: center;
}
.access-inline-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.access-toolbar-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: end;
}
.access-filter-grid {
    grid-template-columns: minmax(180px, 1.35fr) repeat(2, minmax(130px, 0.72fr));
    gap: 6px;
}
.access-toolbar-actions {
    justify-content: flex-end;
    align-self: end;
}
.access-form-shell {
    gap: 8px;
}
.access-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
}
.access-hero-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.access-mini-metric {
    padding: 8px 10px;
    display: grid;
    gap: 2px;
    border-radius: 12px;
}
.access-mini-metric span {
    font-size: 0.69rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    font-weight: 700;
}
.access-mini-metric strong {
    font-size: 0.92rem;
    line-height: 1.15;
}
.access-mini-metric small {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.25;
}
.access-summary-grid {
    gap: 6px;
}
.access-summary-grid span {
    font-size: 0.78rem;
    line-height: 1.32;
}
.access-reset-form {
    gap: 6px;
}
.access-checkbox-row {
    min-height: 32px;
    padding-inline: 9px;
}
.access-permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.access-module-card {
    gap: 6px;
}
.access-permission-list {
    display: grid;
    gap: 4px;
}
.access-module-card .panel-head h3 {
    margin: 0;
    font-size: 0.84rem;
}
.auth-shell {
    width: min(520px, calc(100% - 32px));
    margin: 36px auto;
}
.auth-card {
    padding: 22px;
    display: grid;
    gap: 12px;
}
.auth-hint {
    display: grid;
    gap: 4px;
    color: var(--muted);
}
.auth-hint code {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    background: #f4f6fb;
    border: 1px solid var(--border);
    color: var(--text);
}
.flash {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 0;
    border: 1px solid transparent;
    display: grid;
    gap: 4px;
}
.flash.success { background: rgba(8, 127, 91, 0.08); border-color: rgba(8, 127, 91, 0.2); color: var(--success); }
.flash.error { background: rgba(180, 35, 24, 0.08); border-color: rgba(180, 35, 24, 0.18); color: var(--danger); }
.flash p {
    margin: 0;
}
.flash strong {
    color: inherit;
}
.muted { color: var(--muted); }
.panel-subtle {
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.admin-body .btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    box-shadow: none;
    font-size: 0.84rem;
}
.admin-body .panel,
.admin-body .panel-subtle {
    padding: var(--admin-panel-padding);
}
.admin-body .panel-head {
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}
.admin-body .panel-head h2,
.admin-body .panel-head h3 {
    font-size: 0.98rem;
    line-height: 1.15;
}
.admin-body .panel-head p,
.admin-body .helper,
.admin-body .preview-stack p,
.admin-body .preview-stack span {
    font-size: 0.82rem;
    line-height: 1.35;
}
.admin-body .badge,
.admin-body .status-badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
}
.admin-body .two-columns {
    gap: 8px;
}
.admin-body .product-form,
.admin-body .preview-stack,
.admin-body .admin-form,
.admin-body .customizer-form {
    gap: 8px;
}
.admin-body .product-form label span {
    font-size: 0.8rem;
}
.admin-body input:not([type="checkbox"]):not([type="color"]),
.admin-body textarea,
.admin-body select {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.88rem;
}
.admin-body textarea {
    line-height: 1.4;
}
.admin-body .admin-inline-actions {
    gap: 4px;
}
.admin-body .admin-table-dense th,
.admin-body .admin-table-dense td {
    padding: 6px 7px;
}
.admin-body .admin-table-dense td {
    font-size: 0.8rem;
}
.admin-body .admin-cell-meta {
    font-size: 0.74rem;
}
.admin-body .table-wrap table tbody tr:last-child td {
    border-bottom: 0;
}
.admin-body .preview-image {
    border-radius: 12px;
    max-height: 180px;
}
.admin-body .helper-list {
    gap: 8px;
}
.admin-body .helper-list span {
    font-size: 0.82rem;
    line-height: 1.35;
}
.admin-body .access-panel-compact {
    padding: 9px;
}
.admin-body .access-toolbar-form {
    gap: 5px;
}
.admin-body .access-filter-grid,
.admin-body .access-form-grid,
.admin-body .access-hero-strip,
.admin-body .access-permission-grid {
    gap: 5px 6px;
}
.admin-body .access-mini-metric {
    padding: 7px 9px;
}
.admin-body .access-mini-metric strong {
    font-size: 0.86rem;
}
.admin-body .access-mini-metric small,
.admin-body .access-summary-grid span {
    font-size: 0.74rem;
}
.admin-body .access-checkbox-row {
    min-height: 30px;
    padding-inline: 8px;
}
.helper-list {
    display: grid;
    gap: 10px;
}
.helper-list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.5;
}
.helper-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--primary);
    flex: 0 0 auto;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}
.status-neutral {
    background: #f4f6fb;
    color: var(--text);
    border-color: var(--border);
}
.status-success {
    background: rgba(8, 127, 91, 0.1);
    color: var(--success);
    border-color: rgba(8, 127, 91, 0.18);
}
.status-progress {
    background: rgba(70, 88, 255, 0.1);
    color: var(--primary-dark);
    border-color: rgba(70, 88, 255, 0.16);
}
.status-danger {
    background: rgba(180, 35, 24, 0.1);
    color: var(--danger);
    border-color: rgba(180, 35, 24, 0.18);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(70, 88, 255, 0.18);
    outline-offset: 2px;
}
@media (max-width: 1240px) {
    .admin-shell,
    .admin-grid,
    .form-layout,
    .customizer-grid {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 35;
        width: min(240px, calc(100vw - 34px));
        min-height: 100vh;
        padding: 10px;
        gap: 10px;
        border-bottom: 0;
        box-shadow: 22px 0 48px rgba(2, 6, 23, 0.32);
        transform: translateX(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.24s ease, opacity 0.24s ease;
    }
    .admin-sidebar.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .admin-sidebar > .brand,
    .admin-sidebar > .admin-sidebar-brand {
        display: none;
    }
    .admin-sidebar nav {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .admin-sidebar nav a {
        min-height: 38px;
        padding: 0 10px;
    }
    .admin-sidebar .admin-menu-group {
        padding: 6px;
        gap: 2px;
    }
    .admin-sidebar-summary,
    .admin-session {
        padding: 8px 9px;
    }
    .admin-offcanvas-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(248, 250, 252, 0.12);
    }
    .admin-mobile-bar .offcanvas-toggle,
    .admin-offcanvas-head .offcanvas-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }
    .offcanvas-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
    .admin-mobile-bar {
        display: flex;
    }
    .admin-content { padding: 12px; }
    .preview-panel,
    .admin-side-panel { position: static; }
}
@media (max-width: 1360px) {
    .navbar-rich {
        grid-template-columns: minmax(190px, 0.88fr) minmax(280px, 1.12fr);
        gap: 10px;
    }
    .desktop-nav a:not(.header-cta) {
        padding: 0 6px;
        font-size: 0.79rem;
    }
    .header-secondary-cta,
    .admin-entry-link,
    .header-cta {
        min-height: 30px;
        padding-inline: 9px;
        font-size: 0.76rem;
    }
    .header-trust-copy {
        max-width: 320px;
        padding-inline: 7px;
    }
}
@media (max-width: 1280px) {
    .header-trust-text {
        display: none;
    }
    .navbar-rich {
        grid-template-columns: minmax(176px, 0.96fr) auto;
    }
    .header-actions {
        width: auto;
        grid-template-columns: auto auto;
    }
    .header-trust-copy {
        flex: 0 0 auto;
        padding-inline: 6px;
    }
}
@media (max-width: 920px) {
    .header-trust-copy {
        width: 100%;
    }
}
@media (max-width: 920px) {
    .customizer-preview-product-grid,
    .customizer-preview-content-grid,
    .customizer-preview-inline-metrics {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 920px) {
    .hero, .split, .admin-grid, .metric-grid, .media-grid, .product-detail, .posts-grid { grid-template-columns: 1fr; }
    .media-admin-metrics,
    .media-library-layout,
    .media-grid-dense,
    .media-toolbar-form,
    .media-upload-form-dense,
    .media-toolbar-form-compact {
        grid-template-columns: 1fr;
    }
    .media-toolbar-actions {
        justify-content: stretch;
    }
    .media-toolbar-actions .btn {
        flex: 1 1 auto;
    }
    .hero {
        gap: 10px;
        padding: 12px 0 10px;
    }
    .customizer-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .customizer-workspace-toolbar {
        grid-template-columns: 1fr;
    }
    .customizer-inline-status {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-column {
        padding: 10px;
    }
    .footer-showcase,
    .footer-grid-rich {
        grid-template-columns: 1fr;
    }
    .footer-showcase-media {
        min-height: 150px;
    }
    .home-slide-inner {
        min-height: min(var(--slide-height-mobile, 292px), 58vh);
        padding: 14px 14px 46px;
    }
    .home-slide-layout {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .home-slide.width-wide .home-slide-layout {
        max-width: 560px;
    }
    .home-slide-content {
        width: min(100%, 420px);
        max-width: 420px;
        padding: 9px 10px;
        gap: 6px;
    }
    .home-slider-indicators {
        max-width: calc(100% - 32px);
    }
    .customizer-slide-preview-media,
    .customizer-slide-preview-stage {
        min-height: min(var(--slide-height-mobile, 300px), 62vh);
    }
    .customizer-slide-preview-body {
        width: min(100%, 420px);
        max-width: 420px;
        padding: 10px 12px;
        gap: 7px;
    }
    .hero-metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero-visual-grid {
        grid-template-columns: 1fr;
    }
    .hero-feature-card {
        min-height: 240px;
    }
    .split-content,
    .posts-compact-grid.is-compact,
    .narrative-inline-metrics,
    .listing-hero {
        grid-template-columns: 1fr;
    }
    .hero-copy-rich,
    .hero-compact-meta,
    .hero-quick-links,
    .customizer-preview-hero,
    .customizer-preview-hero-meta,
    .customizer-preview-quick-links,
    .customizer-preview-hero-stats {
        grid-template-columns: 1fr;
    }
    .hero-copy-rich > .hero-compact-meta {
        grid-column: 1;
        grid-row: auto;
    }
    .admin-content { padding: 14px; }
    .theme-color-grid, .three-columns, .four-columns { grid-template-columns: 1fr; }
    .field-span-2 { grid-column: auto; }
    .customizer-toggle-grid { grid-template-columns: 1fr; }
    .customizer-slide-preview { grid-template-columns: 1fr; }
    .customizer-media-preview-card,
    .customizer-media-actions {
        grid-template-columns: 1fr;
    }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posts-grid-premium { grid-template-columns: 1fr; }
    .catalog-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail {
        grid-template-columns: 1fr;
    }
    .product-page-hero {
        padding: 10px 11px;
    }
    .catalog-toolbar-summary {
        flex-direction: column;
        align-items: stretch;
    }
    .catalog-density-bar {
        justify-content: flex-start;
    }
    .catalog-pagination { flex-direction: column; align-items: stretch; }
    .checkout-hero-card { flex-direction: column; }
    .checkout-sidebar { position: static; }
    .checkout-payment-active { flex-direction: column; }
    .checkout-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-assurance-grid { grid-template-columns: 1fr; }
    .commerce-layout {
        grid-template-columns: 1fr;
    }
    .pix-payment-grid {
        grid-template-columns: 1fr;
    }
    .preview-panel { position: static; }
    .admin-side-panel { position: static; }
    .article-layout { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
    .desktop-nav {
        display: none;
    }
    .header-actions,
    .header-utility-bar {
        display: none;
    }
    .nav-toggle,
    .mobile-nav-close,
    .offcanvas-toggle,
    .offcanvas-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }
    .mobile-nav-backdrop.is-visible,
    .offcanvas-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        width: min(308px, calc(100vw - 10px));
        margin: 0;
        padding: 12px 10px 10px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-y: auto;
        background: linear-gradient(180deg, rgba(249, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        border-left: 1px solid rgba(217, 225, 236, 0.9);
        box-shadow: -20px 0 48px rgba(17, 24, 39, 0.12);
        transform: translateX(110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.24s ease, opacity 0.24s ease;
    }
    .mobile-nav-panel.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-head,
    .offcanvas-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-nav-head strong,
    .offcanvas-head strong {
        font-size: 1rem;
        text-transform: lowercase;
        letter-spacing: 0.04em;
    }
    .offcanvas-toggle-label {
        display: inline-flex;
    }
    .mobile-nav-panel a:not(.header-cta):not(.offcanvas-pill) {
        justify-content: flex-start;
        width: 100%;
        min-height: 36px;
        padding: 0 11px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.92);
    }
    .header-cta {
        width: 100%;
        justify-content: center;
        min-height: 38px;
    }
    .mobile-nav-panel .offcanvas-pill {
        min-height: 35px;
        padding: 0 10px;
    }
    .mobile-nav-panel .offcanvas-section {
        padding: 7px;
    }
}
@media (max-width: 720px) {
    .navbar, .section-head, .admin-head, .panel-head, .product-price-row, .two-columns, .footer-grid { flex-direction: column; align-items: stretch; }
    .navbar {
        flex-direction: row;
        align-items: center;
    }
    .navbar-rich {
        min-height: 64px;
        padding: 10px 0;
        display: flex;
    }
    .brand-rich {
        gap: 10px;
    }
    .brand-logo {
        max-height: 36px;
    }
    .brand-copy strong {
        font-size: 0.94rem;
    }
    .brand-copy small {
        font-size: 0.72rem;
    }
    .header-trust-copy {
        font-size: 0.76rem;
    }
    .footer-showcase {
        padding: 10px;
        gap: 10px;
    }
    .footer-showcase-copy h2 {
        font-size: clamp(1.18rem, 6vw, 1.58rem);
    }
    .footer-showcase-media {
        min-height: 140px;
    }
    .footer-showcase-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 9px 10px;
    }
    .hero-copy h1 {
        max-width: 12.5ch;
        font-size: clamp(1.82rem, 7vw, 2.38rem);
    }
    .hero-copy p {
        max-width: none;
        font-size: 0.92rem;
        line-height: 1.54;
    }
    .hero-actions .btn {
        min-height: 38px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .shell { width: min(max(var(--shell-width), 1360px), calc(100% - 16px)); }
    .home-slider {
        min-height: min(var(--slide-height-mobile, 336px), 56vh);
    }
    .home-slide-inner {
        min-height: min(var(--slide-height-mobile, 280px), 52vh);
        padding: 12px 12px 14px;
        align-items: end;
    }
    .home-slide-layout {
        max-width: 100%;
        gap: 8px;
    }
    .home-slide-content {
        width: min(100%, 360px);
        max-width: 360px;
        padding: 8px 9px;
        gap: 5px;
    }
    .home-slide-content h2 {
        max-width: 14ch;
        font-size: clamp(1.28rem, 4.8vw, 1.72rem);
    }
    .home-slide-content p {
        max-width: 38ch;
        font-size: 0.84rem;
        line-height: 1.34;
    }
    .home-slide-actions .btn {
        min-height: 30px;
        padding: 0 9px;
        font-size: 0.76rem;
    }
    .home-slider-nav,
    .home-slider-indicators {
        position: static;
        padding: 0 12px 12px;
    }
    .home-slider-nav {
        justify-content: end;
    }
    .home-slider-indicators {
        justify-content: flex-start;
        gap: 8px;
    }
    .home-slider-dot {
        width: 10px;
        min-width: 10px;
        height: 10px;
        min-height: 10px;
    }
    .home-slider-dot.is-active {
        width: 24px;
        min-width: 24px;
    }
    .customizer-slide-head,
    .customizer-slide-heading,
    .customizer-slide-meta {
        flex-direction: column;
        align-items: stretch;
    }
    .customizer-slide-flags {
        justify-content: flex-start;
    }
    .customizer-slide-preview {
        padding: 8px;
    }
    .customizer-slide-preview-media,
    .customizer-slide-preview-stage {
        min-height: min(var(--slide-height-mobile, 320px), 58vh);
    }
    .customizer-slide-preview-stage {
        padding: 14px 14px 18px;
    }
    .customizer-slide-preview-body {
        width: min(100%, 360px);
        max-width: 360px;
        padding: 9px 10px;
        gap: 6px;
    }
    .customizer-slide-preview-body strong {
        max-width: 14ch;
        font-size: clamp(1.42rem, 5.4vw, 2rem);
    }
    .customizer-slide-preview-body p {
        max-width: 38ch;
        font-size: 0.9rem;
        line-height: 1.48;
    }
    .hero-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-grid.is-compact {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
    .posts-compact-grid.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-visual-head {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-action-strip {
        justify-content: stretch;
    }
    .hero-compact-meta {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .hero-inline-product {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "content"
            "cta";
        align-items: stretch;
    }
    .hero-inline-product > .text-link {
        justify-self: start;
        white-space: normal;
    }
    .post-item-compact {
        grid-template-columns: 60px minmax(0, 1fr);
    }
    .post-cover-compact {
        width: 60px;
        height: 60px;
    }
    .status-badge {
        width: fit-content;
        max-width: 100%;
    }
    .hero { padding-top: 14px; }
    .hero-copy h1 {
        max-width: none;
        font-size: clamp(1.76rem, 8vw, 2.38rem);
    }
    .hero-copy p {
        font-size: 0.88rem;
        line-height: 1.44;
    }
    .hero-points li,
    .badge-link {
        font-size: 0.74rem;
    }
    .catalog-filter-form { grid-template-columns: 1fr; }
    .product-grid-catalog { grid-template-columns: 1fr; }
    .product-grid-catalog .product-body {
        grid-template-rows: auto auto auto auto;
    }
    .product-grid-catalog .product-card p {
        min-height: 0;
    }
    .product-card p { min-height: auto; }
    .product-grid { grid-template-columns: 1fr; }
    .listing-hero,
    .product-page-hero,
    .catalog-toolbar-premium,
    .catalog-pagination-premium,
    .product-detail-premium {
        padding: 12px;
    }
    .product-actions { justify-content: stretch; }
    .product-actions > * { flex-basis: 100%; }
    .narrative, .posts-panel, .product-body, .panel, .article-card, .hero-card { padding: 12px; }
    .admin-content { padding: 10px; gap: 10px; }
    .admin-sidebar nav a {
        justify-content: flex-start;
        flex: 0 0 auto;
    }
    .table-wrap {
        border-radius: 14px;
    }
    .admin-table,
    table {
        min-width: 520px;
    }
    .admin-inline-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-inline-actions-dense {
        flex-direction: row;
        align-items: center;
    }
    .access-toolbar-form,
    .access-filter-grid,
    .access-hero-strip,
    .access-permission-grid,
    .access-form-grid {
        grid-template-columns: 1fr;
    }
    .access-toolbar-actions {
        justify-content: stretch;
    }
    .admin-inline-actions > * {
        width: 100%;
    }
    .admin-inline-actions-dense > * {
        width: auto;
    }
    .editor-toolbar {
        gap: 6px;
        padding: 8px;
    }
    .editor-toolbar button {
        flex: 1 1 110px;
    }
    .product-detail { padding: 12px; }
    .product-detail-main { min-height: 252px; }
    .product-gallery-premium { position: static; }
    .post-card-body { padding: 0 14px 14px; }
    .article-cover,
    .post-cover { max-height: 200px; }
    .rich-text { gap: 10px; }
    .cart-item {
        grid-template-columns: 84px 1fr;
        align-items: start;
    }
    .cart-line-total {
        grid-column: 2;
        justify-self: start;
    }
    .cart-item.simple {
        grid-template-columns: 1fr;
    }
    .cart-item.simple .cart-line-total {
        grid-column: auto;
    }
    .catalog-filter-form {
        grid-template-columns: 1fr;
    }
    .product-grid-catalog {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 420px) {
    .whatsapp-floating-button {
        right: 10px;
        bottom: 12px;
        width: 44px;
        height: 44px;
    }
    .checkout-metrics {
        grid-template-columns: 1fr;
    }
    .checkout-item-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .checkout-cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }
    .checkout-cart-item img {
        width: 56px;
        height: 52px;
    }
    .nav-toggle,
    .offcanvas-toggle {
        width: 38px;
        min-width: 38px;
        padding: 0;
        gap: 0;
    }
    .offcanvas-toggle-label {
        display: none;
    }
    .btn {
        min-height: 42px;
        padding: 0 14px;
    }
    .announcement-inner {
        font-size: 0.84rem;
    }
    .home-slide-inner {
        min-height: min(var(--slide-height-mobile, 248px), 48vh);
        padding: 11px 11px 12px;
    }
    .home-slide-layout {
        gap: 7px;
    }
    .home-slide-actions,
    .home-slider-nav {
        display: flex;
    }
    .home-slider-arrow {
        width: 34px;
    }
    .home-slider-indicators {
        justify-content: center;
        padding: 0 10px 10px;
    }
    .home-slider-dot {
        width: 9px;
        min-width: 9px;
        height: 9px;
        min-height: 9px;
    }
    .home-slider-dot.is-active {
        width: 22px;
        min-width: 22px;
    }
    .hero-actions,
    .catalog-filter-actions,
    .quick-links {
        display: grid;
        grid-template-columns: 1fr;
    }
    .section-density-bar {
        gap: 6px;
    }
    .density-pill {
        min-height: 22px;
        padding: 0 8px;
        font-size: 0.68rem;
    }
    .mobile-utility-links,
    .footer-grid-rich {
        grid-template-columns: 1fr;
    }
    .mobile-brand-card {
        grid-template-columns: 1fr;
    }
    .customizer-overview-grid,
    .customizer-density-grid,
    .customizer-toolbar-actions,
    .customizer-inline-status {
        grid-template-columns: 1fr;
    }
    .customizer-toolbar-actions {
        display: grid;
    }
    .customizer-savebar {
        flex-direction: column;
        align-items: stretch;
    }
    .section + .section::before {
        left: 6px;
        right: 6px;
    }
    .customizer-status-list {
        display: grid;
    }
    .mobile-brand-logo {
        max-width: 100px;
    }
    .footer-showcase {
        padding: 9px;
    }
    .footer-showcase-media {
        min-height: 126px;
    }
    .hero-metrics-grid {
        grid-template-columns: 1fr;
    }
    .product-grid.is-compact,
    .posts-compact-grid.is-compact {
        grid-template-columns: 1fr;
    }
    .hero-feature-card {
        min-height: 188px;
        padding: 10px;
    }
    .home-slide-content {
        width: min(100%, 272px);
        max-width: 272px;
        padding: 7px 8px;
        gap: 4px;
    }
    .home-slide-content h2 {
        font-size: clamp(1.12rem, 6.6vw, 1.5rem);
    }
    .home-slide-content p {
        display: none;
    }
    .home-slide-actions .btn {
        min-height: 28px;
        font-size: 0.72rem;
        padding: 0 8px;
    }
    .customizer-slide-preview-media,
    .customizer-slide-preview-stage {
        min-height: 208px;
    }
    .customizer-slide-preview-stage {
        padding: 12px;
    }
    .customizer-slide-preview-body {
        width: min(100%, 300px);
        max-width: 300px;
        padding: 8px 9px;
        gap: 5px;
    }
    .hero-side-card,
    .hero-inline-product {
        padding: 10px;
    }
    .listing-hero,
    .catalog-toolbar-premium,
    .catalog-pagination-premium {
        border-radius: 14px;
    }
    .listing-hero-copy h1 {
        font-size: clamp(1.44rem, 8vw, 1.82rem);
    }
    .catalog-toolbar-copy strong {
        font-size: 0.88rem;
    }
    .catalog-toolbar-copy .article-meta {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .hero-actions .btn,
    .catalog-filter-actions .btn,
    .badge-link {
        width: 100%;
    }
    .hero-copy h1 {
        max-width: none;
        font-size: clamp(1.62rem, 8vw, 2.04rem);
        line-height: 1.01;
    }
    .hero-copy p,
    .catalog-toolbar-copy .article-meta,
    .article-meta {
        font-size: 0.8rem;
        line-height: 1.36;
    }
    .catalog-toolbar-copy strong {
        font-size: 0.84rem;
    }
    .catalog-toolbar-premium,
    .catalog-pagination-premium,
    .listing-hero,
    .product-body,
    .panel,
    .article-card,
    .hero-card {
        padding: 10px;
    }
    .product-card h3,
    .post-card-body h2 {
        font-size: 0.98rem;
    }
    .price-old,
    .product-grid.is-compact .product-card p,
    .footer-inline-copy {
        font-size: 0.74rem;
    }
    .product-actions .btn,
    .product-actions button {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.78rem;
    }
    .mobile-nav-panel {
        width: calc(100vw - 8px);
        padding: 10px 8px 8px;
    }
    .offcanvas-top-actions,
    .offcanvas-section {
        grid-template-columns: 1fr;
    }
    .mobile-nav-panel .offcanvas-section a:not(.header-cta),
    .mobile-nav-panel .offcanvas-pill,
    .mobile-nav-cta {
        min-height: 34px;
    }
    .admin-mobile-bar {
        padding: 8px;
        grid-template-columns: minmax(0, 1fr) 38px;
    }
    .admin-mobile-bar .offcanvas-toggle {
        width: 38px;
        min-width: 38px;
        padding: 0;
    }
    .admin-mobile-bar .offcanvas-toggle-label {
        display: none;
    }
    .article-card h1,
    .post-card-body h2 {
        font-size: 1.05rem;
    }
    .not-found-actions .btn {
        width: 100%;
    }
    .media-card {
        padding: 10px;
    }
    .media-card-topline {
        flex-direction: column;
        align-items: stretch;
    }
    .media-card-actions-iconic {
        flex-wrap: wrap;
    }
}
@media (max-width: 520px) {
    .header-cta,
    .header-secondary-cta,
    .admin-entry-link {
        min-height: 34px;
        padding: 0 11px;
        font-size: 0.76rem;
    }
    .admin-mobile-meta strong {
        font-size: 0.88rem;
    }
}
