:root {
    --td-primary: #873deb;
    --td-primary-dark: #5a27c9;
    --td-primary-light: #a974f2;
    --td-surface: #ffffff;
    --td-bg: #f5f5f5;
    --td-text: #000000;
    --td-muted: #4d4d4d;
    --td-border: #e4d9f7;
}

body {
    background: linear-gradient(180deg, #ffffff 0%, var(--td-bg) 100%);
    color: var(--td-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: contain;
}

.app-shell {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-shell.is-offline::before {
    align-items: center;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    content: "Sem conexão";
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    justify-content: center;
    left: 50%;
    padding: 0.45rem 0.8rem;
    position: fixed;
    top: 0.75rem;
    transform: translateX(-50%);
    z-index: 2001;
    border-radius: 999px;
}

.app-shell.app-leaving {
    opacity: 0.9;
    transform: translateY(4px);
}

.app-splash {
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(169, 116, 242, 0.24), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f5f1fc 100%);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    inset: 0;
    justify-content: center;
    position: fixed;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 2000;
}

.app-splash strong {
    font-size: 1.15rem;
}

.app-splash small {
    color: var(--td-muted);
}

.app-splash-logo {
    display: block;
    height: 82px;
    width: 82px;
}

.app-splash-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--td-primary) 0%, var(--td-primary-light) 100%);
    border-radius: 24px;
    color: #ffffff;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 800;
    height: 74px;
    justify-content: center;
    width: 74px;
}

.app-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.install-banner {
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(90, 39, 201, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    left: 1rem;
    opacity: 0;
    padding: 0.9rem 1rem;
    position: fixed;
    right: 1rem;
    top: 1rem;
    transform: translateY(-12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: 1990;
}

.install-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.install-banner small {
    color: var(--td-muted);
}

.btn-success {
    --bs-btn-bg: var(--td-primary);
    --bs-btn-border-color: var(--td-primary);
    --bs-btn-hover-bg: var(--td-primary-dark);
    --bs-btn-hover-border-color: var(--td-primary-dark);
    --bs-btn-active-bg: var(--td-primary-dark);
    --bs-btn-active-border-color: var(--td-primary-dark);
    --bs-btn-disabled-bg: var(--td-primary);
    --bs-btn-disabled-border-color: var(--td-primary);
}

.btn-outline-success {
    --bs-btn-color: var(--td-primary);
    --bs-btn-border-color: var(--td-primary);
    --bs-btn-hover-bg: var(--td-primary);
    --bs-btn-hover-border-color: var(--td-primary);
    --bs-btn-active-bg: var(--td-primary-dark);
    --bs-btn-active-border-color: var(--td-primary-dark);
}

.text-secondary {
    color: var(--td-muted) !important;
}

.navbar-brand strong {
    color: var(--td-primary);
    letter-spacing: 0.04em;
}

.public-header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(135, 61, 235, 0.08);
}

.public-main {
    padding-bottom: 5.75rem !important;
}

.page-reveal {
    animation: page-reveal 0.35s ease;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--td-primary) 0%, var(--td-primary-light) 100%);
    border-radius: 16px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.brand-logo {
    display: block;
    height: 46px;
    width: auto;
}

.public-top-link {
    color: var(--td-text);
    font-weight: 500;
    min-height: 40px;
    padding: 0.35rem 0.2rem;
    text-decoration: none;
}

.hero {
    background:
        radial-gradient(circle at top left, rgba(135, 61, 235, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(169, 116, 242, 0.24), transparent 30%),
        var(--td-surface);
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(90, 39, 201, 0.08);
    padding: 3rem;
}

.section-card {
    background: var(--td-surface);
    border: 1px solid var(--td-border);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(90, 39, 201, 0.05);
}

.badge-soft {
    background: rgba(135, 61, 235, 0.12);
    color: var(--td-primary);
}

.hero-public {
    padding: 1.5rem;
}

.public-search-bar {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 20px;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
}

.public-search-bar .btn {
    white-space: nowrap;
}

.home-city-picker {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 20px;
    padding: 1rem;
}

.home-city-title {
    font-size: 1rem;
}

.city-scroll {
    display: flex;
    gap: 0.75rem;
    margin: 0 -0.25rem;
    overflow-x: auto;
    padding: 0.25rem;
    scroll-snap-type: x proximity;
}

.city-scroll::-webkit-scrollbar {
    display: none;
}

.city-scroll-empty {
    color: var(--td-muted);
    font-size: 0.95rem;
}

.public-search-bar .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.public-highlight-card {
    background:
        linear-gradient(180deg, rgba(135, 61, 235, 0.06) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.public-mini-step {
    background: rgba(135, 61, 235, 0.08);
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 18px;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-kicker {
    color: var(--td-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    color: var(--td-text);
    display: block;
    height: 100%;
    padding: 1.15rem;
    transition: 0.2s ease;
}

.category-card-icon {
    align-items: center;
    background: rgba(135, 61, 235, 0.1);
    border-radius: 14px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    margin-bottom: 0.85rem;
    overflow: hidden;
    width: 42px;
}

.category-card-icon img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.category-card-icon i {
    font-size: 1.1rem;
    line-height: 1;
}

.category-card:hover,
.city-chip:hover,
.company-card:hover {
    box-shadow: 0 18px 40px rgba(90, 39, 201, 0.08);
    transform: translateY(-2px);
}

.is-pressed,
.btn:active,
.category-card:active,
.city-chip:active,
.company-card:active,
.public-bottom-link:active {
    transform: scale(0.985);
}

.public-city-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.city-chip {
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    color: var(--td-text);
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
}

.city-chip-inline {
    min-width: 170px;
    scroll-snap-align: start;
}

.city-chip span {
    color: var(--td-muted);
    font-size: 0.92rem;
}

.company-card {
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: 0.2s ease;
}

.company-hero-cover img,
.product-card-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.company-card-cover-fallback,
.company-hero-fallback,
.product-card-fallback {
    background:
        radial-gradient(circle at top left, rgba(169, 116, 242, 0.25), transparent 35%),
        linear-gradient(135deg, rgba(135, 61, 235, 0.14) 0%, rgba(255, 255, 255, 0.96) 100%);
    height: 100%;
    width: 100%;
}

.company-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.95rem;
}

.company-logo,
.company-hero-logo {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    overflow: hidden;
}

.company-logo {
    height: 56px;
    width: 56px;
}

.company-logo img,
.company-hero-logo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.company-logo span,
.company-hero-logo span {
    color: var(--td-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.company-inline-badge {
    background: rgba(135, 61, 235, 0.12);
    border-radius: 999px;
    color: var(--td-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
}

.company-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.company-card-meta span {
    color: var(--td-muted);
    font-size: 0.85rem;
}

.company-card-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-card-actions .btn {
    border-radius: 12px;
    font-size: 0.9rem;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
}

.page-hero {
    margin-bottom: 1.5rem;
}

.public-pagination .page-link {
    background: #ffffff;
    border-color: var(--td-border);
    color: var(--td-text);
}

.public-pagination .page-item.active .page-link,
.public-pagination .page-link:hover {
    background: var(--td-primary);
    border-color: var(--td-primary);
    color: #ffffff;
}

.company-hero {
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 28px;
    overflow: hidden;
}

.company-hero-cover,
.company-hero-fallback {
    aspect-ratio: 16 / 5;
}

.company-hero-content {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
}

.company-hero-logo {
    height: 96px;
    width: 96px;
}

.company-hero-meta {
    flex: 1;
}

.public-sidebar-card {
    top: 6.5rem;
}

.company-contact-grid {
    display: grid;
    gap: 0.75rem;
}

.company-hours-list {
    display: grid;
    gap: 0.45rem;
}

.company-hours-line {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.company-hours-line span {
    color: var(--td-muted);
    font-size: 0.92rem;
}

.company-hours-line strong {
    font-size: 0.95rem;
}

.product-card {
    background: rgba(135, 61, 235, 0.03);
    border: 1px solid rgba(135, 61, 235, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.product-card-media,
.product-card-fallback {
    aspect-ratio: 16 / 10;
}

.product-card-body {
    padding: 1rem;
}

.product-price {
    color: var(--td-primary-dark);
}

.product-card-form {
    display: block;
}

.product-additional-options {
    border-top: 1px solid rgba(135, 61, 235, 0.12);
    padding-top: 0.85rem;
}

.product-additional-title {
    color: var(--td-text);
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
}

.product-additional-option {
    align-items: center;
    background: rgba(135, 61, 235, 0.04);
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 14px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
    padding: 0.7rem 0.85rem;
}

.product-additional-option input {
    margin: 0;
}

.product-additional-option strong {
    color: var(--td-primary-dark);
    white-space: nowrap;
}

.admin-panel .product-additional-option {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-panel .product-additional-option strong {
    color: #ffffff;
}

.footer-shell {
    align-items: start;
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: 24px;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 1.5rem;
}

.footer-link {
    color: var(--td-text);
    text-decoration: none;
}

.public-callout {
    background:
        radial-gradient(circle at top right, rgba(169, 116, 242, 0.18), transparent 30%),
        #ffffff;
}

.mobile-contact-bar {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(135, 61, 235, 0.12);
    bottom: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 0;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 1040;
}

.public-bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(135, 61, 235, 0.12);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    left: 0;
    padding: 0.55rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 1035;
}

.public-bottom-link {
    align-items: center;
    border-radius: 14px;
    color: var(--td-muted);
    display: flex;
    font-size: 0.8rem;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    text-decoration: none;
}

.public-bottom-link.active {
    background: rgba(135, 61, 235, 0.12);
    color: var(--td-primary-dark);
}

.public-bottom-link span {
    pointer-events: none;
}

@keyframes page-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-shell {
    background: linear-gradient(180deg, var(--td-primary-dark) 0%, var(--td-primary) 100%);
    color: #f4f7f6;
}

.admin-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.admin-auth-body {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.admin-login-card {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 35%),
        rgba(17, 8, 36, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(16, 8, 32, 0.28);
    backdrop-filter: blur(10px);
}

.admin-auth-brand {
    display: block;
    height: auto;
    max-width: 240px;
}

.admin-sidebar-brand .admin-auth-brand {
    max-width: 200px;
}

.admin-layout-row {
    flex-wrap: nowrap;
}

.admin-sidebar-col {
    flex: 0 0 280px;
    max-width: 280px;
    min-width: 280px;
    transition: flex-basis 0.22s ease, max-width 0.22s ease, min-width 0.22s ease, padding 0.22s ease;
}

.admin-main-col {
    flex: 1 1 auto;
    max-width: calc(100% - 280px);
    min-width: 0;
    transition: max-width 0.22s ease;
}

.admin-sidebar-header {
    align-items: flex-start;
    display: flex;
    gap: 0.9rem;
    justify-content: space-between;
}

.admin-sidebar-brand {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-sidebar-logo-mark {
    display: none;
    height: 54px;
    width: 54px;
}

.admin-sidebar-company {
    align-items: center;
    display: flex;
    gap: 0.9rem;
}

.admin-sidebar-company-logo {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    display: inline-flex;
    flex: 0 0 56px;
    height: 56px;
    justify-content: center;
    overflow: hidden;
    width: 56px;
}

.admin-sidebar-company-logo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-sidebar-company-logo span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.admin-sidebar-company-meta {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.admin-sidebar-company-meta small {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-sidebar-company-meta strong {
    color: #ffffff;
    display: block;
    font-size: 0.96rem;
    line-height: 1.3;
}

.admin-sidebar-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.admin-sidebar-toggle:hover,
.admin-sidebar-toggle:focus,
.admin-sidebar-toggle:active {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.admin-sidebar-toggle i {
    font-size: 1.35rem;
    line-height: 1;
}

.admin-sidebar-action-btn {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    justify-content: center;
}

.admin-login-card .form-control {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.16);
}

.admin-login-card .form-control:focus {
    border-color: var(--td-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(169, 116, 242, 0.2);
}

.admin-sidebar {
    background: rgba(15, 7, 31, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.admin-backoffice {
    background: #f4f0fb;
    color: var(--td-text);
}

.admin-backoffice .admin-content {
    background:
        radial-gradient(circle at top right, rgba(169, 116, 242, 0.12), transparent 26%),
        #ffffff;
    color: var(--td-text);
}

.admin-backoffice .admin-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(31, 20, 56, 0.06);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.admin-backoffice .admin-topbar-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.admin-backoffice .admin-topbar-kicker {
    color: var(--td-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-backoffice .admin-topbar-title {
    color: var(--td-primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-backoffice .admin-topbar-user {
    align-items: center;
    display: flex;
    gap: 0.95rem;
    justify-content: flex-end;
    min-width: 0;
}

.admin-backoffice .admin-user-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--td-primary) 0%, var(--td-primary-dark) 100%);
    border: 2px solid rgba(135, 61, 235, 0.14);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(135, 61, 235, 0.18);
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
    overflow: hidden;
    width: 52px;
}

.admin-backoffice .admin-user-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-backoffice .admin-user-avatar span {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.admin-backoffice .admin-user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.admin-backoffice .admin-user-meta small,
.admin-backoffice .admin-user-meta span {
    color: var(--td-muted);
    display: block;
    font-size: 0.84rem;
    line-height: 1.2;
}

.admin-backoffice .admin-user-meta strong {
    color: var(--td-text);
    font-size: 0.98rem;
    line-height: 1.2;
}

.admin-backoffice .admin-topbar-form {
    margin: 0;
}

.admin-backoffice .admin-sidebar {
    background: linear-gradient(180deg, var(--td-primary-dark) 0%, var(--td-primary) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.admin-backoffice .admin-sidebar-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-backoffice .admin-content .text-white-50 {
    color: var(--td-muted) !important;
}

.admin-backoffice .admin-content .admin-panel,
.admin-backoffice .admin-content .admin-stat-card {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    box-shadow: 0 18px 42px rgba(31, 20, 56, 0.06);
    color: var(--td-text);
}

.admin-backoffice .admin-content .admin-stat-label,
.admin-backoffice .admin-content .admin-mini-stat small {
    color: var(--td-muted);
}

.admin-backoffice .admin-content .admin-stat-value,
.admin-backoffice .admin-content .admin-mini-stat strong {
    color: var(--td-primary-dark);
}

.admin-backoffice .admin-content .admin-mini-stat,
.admin-backoffice .admin-content .admin-ranking-item {
    background: #faf7ff;
    border: 1px solid rgba(135, 61, 235, 0.08);
}

.admin-backoffice .admin-content .admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-color: var(--td-text);
    --bs-table-border-color: rgba(135, 61, 235, 0.12);
}

.admin-backoffice .admin-content .table-dark {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: rgba(135, 61, 235, 0.03);
    --bs-table-color: var(--td-text);
    --bs-table-border-color: rgba(135, 61, 235, 0.12);
}

.admin-backoffice .admin-content .pagination-dark .page-link {
    background: #ffffff;
    border-color: rgba(135, 61, 235, 0.12);
    color: var(--td-text);
}

.admin-backoffice .admin-content .pagination-dark .page-item.active .page-link,
.admin-backoffice .admin-content .pagination-dark .page-link:hover {
    background: var(--td-primary);
    border-color: var(--td-primary);
    color: #ffffff;
}

.admin-backoffice .admin-content .btn-light {
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: rgba(135, 61, 235, 0.16);
    --bs-btn-color: var(--td-text);
    --bs-btn-hover-bg: #f4ecff;
    --bs-btn-hover-border-color: rgba(135, 61, 235, 0.26);
    --bs-btn-hover-color: var(--td-text);
}

.admin-backoffice .admin-content .btn-outline-light {
    --bs-btn-color: var(--td-primary-dark);
    --bs-btn-border-color: rgba(135, 61, 235, 0.3);
    --bs-btn-hover-bg: var(--td-primary);
    --bs-btn-hover-border-color: var(--td-primary);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: var(--td-primary-dark);
    --bs-btn-active-border-color: var(--td-primary-dark);
    --bs-btn-active-color: #ffffff;
}

.admin-backoffice .admin-content .admin-thumb,
.admin-backoffice .admin-content .admin-image-preview {
    border-color: rgba(135, 61, 235, 0.12);
}

.admin-backoffice .admin-content .admin-thumb {
    background: #faf7ff;
}

.admin-backoffice .admin-content .admin-thumb span,
.admin-backoffice .admin-content .admin-panel code {
    color: var(--td-primary-dark);
}

.admin-backoffice .admin-content .admin-panel .form-control,
.admin-backoffice .admin-content .admin-panel .form-select,
.admin-backoffice .admin-content .admin-panel textarea {
    background: #ffffff;
    border-color: rgba(135, 61, 235, 0.2);
    color: var(--td-text);
}

.admin-backoffice .admin-content .admin-panel .form-control::placeholder,
.admin-backoffice .admin-content .admin-panel textarea::placeholder {
    color: #7d7390;
}

.admin-backoffice .admin-content .admin-panel .form-control:focus,
.admin-backoffice .admin-content .admin-panel .form-select:focus,
.admin-backoffice .admin-content .admin-panel textarea:focus {
    background: #ffffff;
    border-color: rgba(135, 61, 235, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(135, 61, 235, 0.12);
}

.admin-backoffice .admin-content .admin-panel .form-check-input {
    border-color: rgba(135, 61, 235, 0.3);
}

.admin-backoffice .admin-content .admin-panel .form-check-input:checked {
    background-color: var(--td-primary);
    border-color: var(--td-primary);
}

.upload-dropzone {
    background: #faf7ff;
    border: 1px dashed rgba(135, 61, 235, 0.35);
    border-radius: 16px;
    min-height: 132px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within,
.upload-dropzone.is-dragover {
    background: #f4ecff;
    border-color: rgba(135, 61, 235, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(135, 61, 235, 0.12);
}

.upload-dropzone:focus-visible {
    outline: none;
}

.upload-dropzone-input {
    cursor: pointer;
    inset: 0;
    opacity: 0;
    position: absolute;
    z-index: 2;
}

.upload-dropzone-copy {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    min-height: 132px;
    padding: 1.25rem;
    text-align: center;
}

.upload-dropzone-copy strong {
    color: var(--td-primary-dark);
    font-size: 1rem;
}

.upload-dropzone-copy small {
    color: var(--td-muted);
    display: block;
    max-width: 26rem;
}

.upload-dropzone-compact {
    min-height: 108px;
}

.upload-dropzone-compact .upload-dropzone-copy {
    min-height: 108px;
    padding: 0.85rem;
}

.upload-dropzone-compact .upload-dropzone-copy strong,
.upload-dropzone-compact .upload-dropzone-copy span,
.upload-dropzone-compact .upload-dropzone-copy small {
    text-align: center;
}

.business-hours-editor {
    display: grid;
    gap: 0.85rem;
}

.admin-disclosure {
    background: #faf7ff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 18px;
    overflow: hidden;
}

.admin-form-section {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(58, 24, 97, 0.04);
    padding: 1.125rem 1.125rem 1.2rem;
}

.admin-form-section-header {
    border-bottom: 1px solid rgba(135, 61, 235, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
}

.admin-form-section-header strong {
    color: var(--td-primary-dark);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.admin-form-section-header small,
.admin-form-section .form-text {
    color: var(--td-muted);
}

.admin-disclosure-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 1.15rem;
}

.admin-disclosure-summary::-webkit-details-marker {
    display: none;
}

.admin-disclosure-summary span {
    display: grid;
    gap: 0.2rem;
}

.admin-disclosure-summary strong {
    color: var(--td-primary-dark);
}

.admin-disclosure-summary small {
    color: var(--td-muted);
}

.admin-disclosure-summary::after {
    border-bottom: 2px solid var(--td-primary-dark);
    border-right: 2px solid var(--td-primary-dark);
    content: "";
    display: block;
    height: 0.7rem;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    width: 0.7rem;
}

.admin-disclosure[open] .admin-disclosure-summary::after {
    transform: rotate(225deg);
}

.admin-disclosure-body {
    border-top: 1px solid rgba(135, 61, 235, 0.1);
    padding: 1rem 1.15rem 1.15rem;
}

.business-hours-row {
    align-items: center;
    background: #faf7ff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 16px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    padding: 1rem 1.1rem;
}

.business-hours-row.is-closed {
    opacity: 0.78;
}

.business-hours-day .form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-hours-fields {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 180px));
}

.business-hours-fields .form-label {
    margin-bottom: 0.35rem;
}

.upload-dropzone-files {
    color: var(--td-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.password-tool-btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 2.85rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.password-tool-btn svg {
    display: block;
    height: 1rem;
    width: 1rem;
}

.password-tool-btn.is-active {
    background: rgba(135, 61, 235, 0.12);
    border-color: rgba(135, 61, 235, 0.3);
    color: var(--td-primary-dark);
}

.password-tools .input-group > .form-control {
    min-width: 0;
}

.password-inline-feedback {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.22);
    border-radius: 14px;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
}

.td-sweet-toast {
    border-radius: 16px;
}

.admin-sidebar-card,
.admin-panel,
.admin-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

.admin-sidebar-card,
.admin-panel {
    padding: 1.25rem;
}

.admin-nav-link {
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.admin-nav-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 1.25rem;
    font-size: 1rem;
    justify-content: center;
}

.admin-nav-label {
    line-height: 1.2;
    min-width: 0;
}

.admin-nav-link.active,
.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.admin-nav-link.disabled {
    color: rgba(255, 255, 255, 0.45);
    cursor: default;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-col {
    flex-basis: 104px;
    max-width: 104px;
    min-width: 104px;
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-main-col {
    max-width: calc(100% - 104px);
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-header {
    align-items: center;
    flex-direction: column;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-brand-kicker,
.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-logo-full,
.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-company-meta,
.js-sidebar-layout.is-sidebar-collapsed .admin-nav-label {
    display: none !important;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-logo-mark {
    display: block;
    height: 60px;
    width: 60px;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-company {
    justify-content: center;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-nav-link {
    justify-content: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-nav-icon {
    flex-basis: auto;
    font-size: 1.08rem;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-col .d-grid {
    align-items: center;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-col .d-grid form {
    width: 100%;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-action-btn {
    height: 2.5rem;
    justify-content: center;
    padding: 0;
}

.js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-action-btn span {
    display: none;
}

.admin-stat-card {
    padding: 1.25rem;
}

.admin-stat-label {
    color: rgba(255, 255, 255, 0.66);
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.admin-stat-value {
    color: #ffffff;
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.admin-mini-stat {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
}

.admin-mini-stat small {
    color: rgba(255, 255, 255, 0.66);
    display: block;
    margin-bottom: 0.25rem;
}

.admin-mini-stat strong {
    color: #ffffff;
    font-size: 1.4rem;
}

.admin-ranking-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.92);
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
    border-collapse: separate;
    border-spacing: 0;
}

.admin-panel .dt-container .dt-layout-row:first-child {
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0 0.35rem;
}

.admin-panel .dt-container .dt-layout-row:last-child {
    margin-top: 1.15rem;
    padding: 0.55rem 0 0.25rem;
}

.admin-panel .dt-container .dt-layout-row,
.admin-panel .dt-container .row.mt-2.justify-content-between {
    margin-left: 0;
    margin-right: 0;
}

.admin-panel .dt-container .dt-search input,
.admin-panel .dt-container .dt-input {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(135, 61, 235, 0.22);
    border-radius: 12px;
    color: var(--td-text);
    min-height: 44px;
    padding: 0.6rem 0.95rem;
}

.admin-panel .dt-container .dt-search input:focus,
.admin-panel .dt-container .dt-input:focus {
    border-color: var(--td-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(169, 116, 242, 0.18);
    outline: 0;
}

.admin-panel .dt-container .dt-info,
.admin-panel .dt-container .dt-length label,
.admin-panel .dt-container .dt-search label {
    color: var(--td-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-panel .dt-container .page-link {
    background: transparent;
    border-color: rgba(135, 61, 235, 0.14);
    color: var(--td-muted);
    font-size: 0.88rem;
    min-width: 2rem;
}

.admin-panel .dt-container .active > .page-link,
.admin-panel .dt-container .page-link:hover {
    background: rgba(135, 61, 235, 0.08);
    border-color: rgba(135, 61, 235, 0.2);
    color: var(--td-primary-dark);
}

.admin-panel table.dataTable thead > tr > th.dt-orderable-asc,
.admin-panel table.dataTable thead > tr > th.dt-orderable-desc,
.admin-panel table.dataTable thead > tr > td.dt-orderable-asc,
.admin-panel table.dataTable thead > tr > td.dt-orderable-desc {
    padding-right: 2rem;
}

.admin-panel .table-responsive {
    border: 1px solid rgba(135, 61, 235, 0.1);
    overflow: hidden;
}

.admin-panel .admin-table thead th {
    background: #f7f3fc;
    border-bottom: 1px solid rgba(135, 61, 235, 0.14);
    color: var(--td-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.9rem 1.15rem 0.85rem;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.admin-panel .admin-table thead th:first-child {
    padding-left: 1.2rem;
}

.admin-panel .admin-table thead th:last-child {
    padding-right: 1.2rem;
}

.admin-panel .admin-table tbody td {
    border-top: 1px solid rgba(135, 61, 235, 0.08);
    color: var(--td-text);
    padding: 0.85rem 1.15rem;
    vertical-align: middle;
}

.admin-panel .admin-table tbody td:first-child {
    padding-left: 1.2rem;
}

.admin-panel .admin-table tbody td:last-child {
    padding-right: 1.2rem;
}

.admin-panel .admin-table tbody td > * + * {
    margin-top: 0.3rem;
}

.admin-panel .admin-table tbody tr {
    background: rgba(255, 255, 255, 0.88);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.admin-panel .admin-table tbody tr:nth-child(even) {
    background: #fcfaff;
}

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

.admin-panel .admin-table tbody tr:hover td {
    border-color: rgba(135, 61, 235, 0.12);
}

.admin-panel .admin-table tbody td code {
    background: #f4ecff;
    border-radius: 999px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
}

.admin-panel .admin-table tbody td strong {
    color: var(--td-text);
    font-weight: 700;
    line-height: 1.45;
}

.admin-panel .admin-table tbody td small {
    display: inline-block;
    line-height: 1.55;
    margin-top: 0.3rem;
}

.admin-panel .admin-table .badge {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.65rem;
}

.admin-list-icon-preview {
    align-items: center;
    background: rgba(135, 61, 235, 0.1);
    border-radius: 12px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 1.05rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.admin-list-icon-image {
    overflow: hidden;
    padding: 0;
}

.admin-list-icon-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.icon-input-preview {
    align-items: center;
    background: #f7f3fc;
    color: var(--td-primary-dark);
    display: inline-flex;
    justify-content: center;
    min-width: 3rem;
}

.icon-input-preview i {
    font-size: 1.05rem;
}

.icon-input-preview-placeholder {
    font-size: 0.9rem;
    font-weight: 700;
}

.icon-or-upload-divider {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.icon-or-upload-divider::before,
.icon-or-upload-divider::after {
    background: rgba(135, 61, 235, 0.12);
    content: "";
    flex: 1 1 auto;
    height: 1px;
}

.icon-or-upload-divider span {
    color: var(--td-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.icon-picker-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    max-height: 60vh;
    overflow: auto;
    padding-right: 0.25rem;
}

.icon-picker-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 16px;
    color: var(--td-text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    min-height: 88px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    transition: 0.18s ease;
}

.icon-picker-option:hover {
    background: #faf6ff;
    border-color: rgba(135, 61, 235, 0.3);
    color: var(--td-primary-dark);
}

.icon-picker-option i {
    font-size: 1.2rem;
}

.icon-picker-option span {
    font-size: 0.73rem;
    line-height: 1.35;
    word-break: break-word;
}

.admin-panel .dt-container .dt-layout-cell {
    min-width: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.admin-panel .dt-container .dt-layout-start,
.admin-panel .dt-container .dt-layout-full {
    padding-left: 0.8rem;
}

.admin-panel .dt-container .dt-layout-end,
.admin-panel .dt-container .dt-layout-full {
    padding-right: 0.8rem;
}

.admin-panel .dt-container .dt-layout-start,
.admin-panel .dt-container .dt-layout-end {
    min-width: 0;
}

.admin-panel .dt-container .dt-search,
.admin-panel .dt-container .dt-length {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.admin-panel .dt-container .dt-search {
    justify-content: flex-end;
    width: 100%;
}

.admin-panel .dt-container .dt-search label {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    gap: 0.75rem;
    justify-content: flex-end;
    min-width: 0;
    white-space: nowrap;
    width: auto;
}

.admin-panel .dt-container .dt-search input {
    flex: 0 1 200px;
    min-width: 0;
    width: clamp(150px, 18vw, 200px);
}

.admin-panel .dt-container .dt-paging .pagination {
    gap: 0.35rem;
}

.action-icon-group {
    display: inline-flex;
    gap: 0.7rem;
}

.btn-icon-action {
    align-items: center;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.btn-icon-action svg {
    display: block;
    height: 1rem;
    width: 1rem;
}

.admin-backoffice .admin-content .admin-panel .table-responsive {
    background: #ffffff;
}

.admin-backoffice .admin-content .dt-container .page-link {
    background: transparent;
    border-color: rgba(135, 61, 235, 0.14);
    color: var(--td-muted);
}

.admin-backoffice .admin-content .dt-container .active > .page-link,
.admin-backoffice .admin-content .dt-container .page-link:hover {
    background: rgba(135, 61, 235, 0.08);
    border-color: rgba(135, 61, 235, 0.2);
    color: var(--td-primary-dark);
}

.admin-backoffice .admin-content .btn-icon-action {
    --bs-btn-hover-bg: var(--td-primary);
    --bs-btn-hover-border-color: var(--td-primary);
    --bs-btn-hover-color: #ffffff;
    background: #ffffff;
    border-color: rgba(135, 61, 235, 0.18);
    box-shadow: 0 8px 18px rgba(31, 20, 56, 0.05);
}

.admin-backoffice .admin-content .btn-icon-action.btn-outline-danger {
    background: #fff7f8;
    border-color: rgba(220, 53, 69, 0.2);
}

.admin-nested-panel {
    border-style: dashed;
}

.admin-empty-note {
    background: #faf7ff;
    border: 1px dashed rgba(135, 61, 235, 0.24);
    border-radius: 16px;
    color: var(--td-muted);
    padding: 1rem 1.1rem;
}

.admin-backoffice .admin-content .form-select,
.admin-panel .form-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--td-primary-dark) 50%),
        linear-gradient(135deg, var(--td-primary-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 2.6rem;
}

.admin-thumb {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    overflow: hidden;
    width: 52px;
}

.admin-thumb img,
.admin-image-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-thumb span {
    color: #ffffff;
    font-weight: 700;
}

.admin-image-preview {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: min(100%, 280px);
}

.admin-image-preview img {
    aspect-ratio: 16 / 9;
}

.admin-image-preview-avatar {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 140px);
}

.admin-image-preview-avatar img {
    aspect-ratio: 1 / 1;
}

.admin-image-preview-managed {
    overflow: visible;
}

.admin-image-preview-action {
    align-items: center;
    background: rgba(220, 53, 69, 0.96);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(31, 20, 56, 0.14);
    color: #ffffff;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    width: 2rem;
    z-index: 2;
}

.admin-image-preview-action svg {
    height: 0.9rem;
    width: 0.9rem;
}

.upload-temp-preview[hidden] {
    display: none !important;
}

.upload-temp-preview small {
    text-align: center;
}

.upload-preview-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.upload-preview-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

.upload-preview-item img {
    aspect-ratio: 1 / 1;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-page-header {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-panel .form-control,
.admin-panel .form-select,
.admin-panel textarea {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.15);
}

.admin-panel .form-control:focus,
.admin-panel .form-select:focus,
.admin-panel textarea:focus {
    border-color: var(--td-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(169, 116, 242, 0.18);
}

.modal-dialog-scrollable .modal-content > form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.modal-dialog-scrollable .modal-content > form .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.admin-panel code {
    color: #f4dfff;
}

.product-additional-editor {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1rem;
}

.product-additional-list {
    display: grid;
    gap: 0.75rem;
}

.product-additional-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.9rem;
}

.pagination-dark .page-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.pagination-dark .page-item.active .page-link,
.pagination-dark .page-link:hover {
    background: var(--td-primary-light);
    border-color: var(--td-primary-light);
    color: #ffffff;
}

.pagination-dark .page-item + .page-item {
    margin-left: 0.35rem;
}

.btn-outline-danger {
    --bs-btn-color: #ffb2bf;
    --bs-btn-border-color: rgba(255, 178, 191, 0.45);
    --bs-btn-hover-bg: #dc3545;
    --bs-btn-hover-border-color: #dc3545;
}

@media (max-width: 991.98px) {
    .admin-layout-row {
        flex-wrap: wrap;
    }

    .admin-sidebar-col,
    .admin-main-col,
    .js-sidebar-layout.is-sidebar-collapsed .admin-sidebar-col,
    .js-sidebar-layout.is-sidebar-collapsed .admin-main-col {
        flex-basis: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-public,
    .admin-page-header {
        align-items: start;
        flex-direction: column;
    }

    .public-search-bar,
    .company-hero-content {
        flex-direction: column;
    }

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

    .public-desktop-actions .btn {
        display: none;
    }

    .install-banner {
        align-items: start;
        flex-direction: column;
    }

    .admin-backoffice .admin-topbar,
    .admin-backoffice .admin-topbar-user {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-backoffice .admin-topbar-user {
        width: 100%;
    }

    .admin-backoffice .admin-topbar-form {
        width: 100%;
    }

    .admin-backoffice .admin-topbar-form .btn {
        width: 100%;
    }

    .business-hours-row {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .hero-public {
        padding: 3.5rem;
    }

    .mobile-contact-bar {
        display: none;
    }

    .public-bottom-nav {
        display: none;
    }
}

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

@media (max-width: 575.98px) {
    .public-top-link {
        display: none;
    }

    .brand-logo {
        height: 40px;
    }

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

    .company-card-actions .btn:first-child {
        grid-column: 1 / -1;
    }

    .public-search-bar {
        align-items: stretch;
        flex-direction: column;
    }

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

.footer-note {
    color: var(--td-muted);
    font-size: 0.95rem;
}

.public-app {
    background:
        radial-gradient(circle at top center, rgba(169, 116, 242, 0.12), transparent 24%),
        linear-gradient(180deg, #fbf8ff 0%, #f2edf9 100%);
}

.public-app .container {
    max-width: 1160px;
}

.public-app-frame {
    min-height: 100vh;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.app-navigation-loading {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.22s ease;
    visibility: hidden;
    z-index: 1995;
}

.app-navigation-loading.is-visible {
    opacity: 1;
    visibility: visible;
}

.app-navigation-loading-backdrop {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(5px);
    inset: 0;
    position: absolute;
}

.app-navigation-loading-logo {
    animation: app-navigation-run 1.15s linear infinite;
    height: 62px;
    left: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}

.public-app .form-control,
.public-app .form-select,
.public-app textarea {
    background: #ffffff;
    border-color: rgba(135, 61, 235, 0.18);
    border-radius: 18px;
    color: #1f1438;
    min-height: 52px;
    padding: 0.8rem 1rem;
}

.public-app textarea {
    min-height: 120px;
}

.public-app .form-control:focus,
.public-app .form-select:focus,
.public-app textarea:focus {
    border-color: var(--td-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(135, 61, 235, 0.14);
}

.public-app .btn-outline-dark {
    --bs-btn-color: #1f1438;
    --bs-btn-border-color: rgba(31, 20, 56, 0.18);
    --bs-btn-hover-bg: #1f1438;
    --bs-btn-hover-border-color: #1f1438;
}

.public-app-main {
    padding: 1rem 0 2rem;
}

.public-app-container {
    display: grid;
    gap: 1.25rem;
}

.app-splash {
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #8f4cf1 0%, #7d31e7 100%);
    overflow: hidden;
}

.app-splash-photo,
.app-splash-overlay {
    inset: 0;
    position: absolute;
}

.app-splash-photo {
    background-color: #8f4cf1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.92;
}

.app-splash-overlay {
    background:
        linear-gradient(180deg, rgba(135, 61, 235, 0.1) 0%, rgba(135, 61, 235, 0.28) 100%);
}

.app-splash-brand-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.app-splash-logo-full {
    height: auto;
    max-width: min(72vw, 320px);
    width: 100%;
}

.app-splash-brand-wrap small {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    max-width: 300px;
    text-align: center;
}

.public-app-header {
    background: rgba(251, 248, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(135, 61, 235, 0.08);
}

.public-app-topbar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 76px;
}

.public-app-topbar-left,
.public-app-topbar-actions {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.public-app-headline {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.public-app-headline strong {
    color: #1f1438;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
}

.public-app-headline span {
    color: #7c6d93;
    font-size: 0.78rem;
    font-weight: 600;
}

.public-app-brand,
.public-app-icon-btn,
.public-app-profile-btn {
    align-items: center;
    border-radius: 18px;
    color: var(--td-primary-dark);
    display: inline-flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    text-decoration: none;
    width: 48px;
}

.public-app-brand {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.public-app-brand img {
    display: block;
    height: 28px;
    width: auto;
}

.public-app-icon-btn i,
.public-app-cart-btn i {
    font-size: 1.2rem;
    line-height: 1;
}

.public-app-profile-btn {
    overflow: hidden;
}

.public-app-profile-btn img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.public-app-profile-btn span {
    color: var(--td-primary-dark);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.public-app-cart-btn {
    position: relative;
}

.public-app-counter,
.public-floating-cart-count {
    align-items: center;
    background: linear-gradient(135deg, #ff4f88 0%, #ff6b73 100%);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    height: 1.15rem;
    justify-content: center;
    min-width: 1.15rem;
    padding: 0 0.28rem;
}

.public-app-counter {
    position: absolute;
    right: -0.15rem;
    top: -0.2rem;
}

.app-page-hero,
.app-home-hero,
.app-surface-card,
.app-empty-card,
.app-company-card,
.app-user-order-card,
.app-order-item-card,
.app-auth-card,
.app-business-callout,
.app-store-summary-card,
.app-promo-banner {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(52, 28, 95, 0.07);
}

.app-home-hero,
.app-page-hero,
.app-surface-card,
.app-empty-card,
.app-user-order-card,
.app-order-item-card,
.app-auth-card,
.app-business-callout {
    padding: 1.4rem;
}

.app-home-hero {
    background:
        radial-gradient(circle at top right, rgba(169, 116, 242, 0.18), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
}

.app-home-hero-copy {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.app-home-kicker,
.app-page-hero small,
.app-section-head small,
.app-form-block-head small,
.app-business-callout small {
    color: var(--td-primary-dark);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.app-home-hero h1,
.app-page-hero h1,
.app-page-hero h2,
.app-section-head h2,
.app-auth-hero h1,
.app-business-callout h2,
.app-store-summary-card h1 {
    color: #1f1438;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.app-home-hero h1,
.app-page-hero h1,
.app-auth-hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
}

.app-page-hero p,
.app-home-hero p,
.app-promo-banner p,
.app-business-callout p,
.app-auth-hero p,
.app-store-summary-text {
    color: #6e6286;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0.65rem 0 0;
}

.app-search-shell {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.18);
    border-radius: 999px;
    display: flex;
    gap: 0.85rem;
    min-height: 58px;
    padding: 0.35rem 0.95rem;
}

.app-search-shell .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 1rem;
    padding-left: 0;
}

.app-search-icon {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 1.3rem;
    justify-content: center;
    padding: 0;
}

.app-city-strip,
.app-category-scroller,
.app-filter-row,
.app-store-tabs {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.app-city-strip::-webkit-scrollbar,
.app-category-scroller::-webkit-scrollbar,
.app-filter-row::-webkit-scrollbar,
.app-store-tabs::-webkit-scrollbar {
    display: none;
}

.app-city-pill,
.app-category-chip,
.app-filter-pill,
.app-store-tab {
    flex: 0 0 auto;
    text-decoration: none;
}

.app-city-pill {
    background: rgba(135, 61, 235, 0.06);
    border: 1px solid rgba(135, 61, 235, 0.08);
    border-radius: 22px;
    color: #1f1438;
    display: grid;
    gap: 0.2rem;
    min-width: 156px;
    padding: 0.85rem 1rem;
}

.app-city-pill span,
.app-inline-empty {
    color: #7c6d93;
    font-size: 0.84rem;
}

.app-promo-banner {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(135deg, #8f45f0 0%, #6f2ad7 100%);
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.4fr auto;
    overflow: hidden;
    padding: 1.4rem;
}

.app-promo-copy h2,
.app-promo-copy p {
    color: #ffffff;
}

.app-promo-tag {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.75rem;
    text-transform: uppercase;
}

.app-promo-badges {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: center;
}

.app-promo-badges span {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.42rem 0.85rem;
}

.app-section-head {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.app-section-head a,
.app-inline-link {
    color: var(--td-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.app-category-chip {
    align-items: center;
    color: #1f1438;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    min-width: 96px;
    text-align: center;
}

.app-category-chip strong {
    font-size: 0.95rem;
}

.app-category-chip small {
    color: #7c6d93;
    font-size: 0.8rem;
}

.app-category-chip-media {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 22px;
    box-shadow: 0 12px 24px rgba(52, 28, 95, 0.05);
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 1.35rem;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    width: 72px;
}

.app-category-chip-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-filter-row {
    gap: 0.75rem;
}

.app-filter-pill {
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(31, 20, 56, 0.16);
    border-radius: 999px;
    color: #1f1438;
    display: inline-flex;
    gap: 0.55rem;
    font-weight: 700;
    min-height: 48px;
    padding: 0 1rem;
}

.app-company-list,
.app-order-list,
.app-menu-list {
    display: grid;
    gap: 1rem;
}

.app-company-card {
    padding: 1rem;
}

.app-company-card-link,
.app-user-order-link {
    color: inherit;
    display: grid;
    gap: 0.95rem;
    grid-template-columns: auto 1fr auto;
    text-decoration: none;
}

.app-company-card-logo {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 22px;
    display: inline-flex;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    width: 72px;
}

.app-company-card-logo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-company-card-logo span {
    color: var(--td-primary-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.app-company-card-copy {
    min-width: 0;
}

.app-company-card-tag {
    background: rgba(135, 61, 235, 0.1);
    border-radius: 999px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
    padding: 0.3rem 0.65rem;
}

.app-company-card-copy h3,
.app-user-order-link strong,
.app-order-item-copy strong,
.app-menu-item-copy h3 {
    color: #1f1438;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.app-company-card-meta,
.app-company-card-badges,
.app-order-item-extras,
.app-store-summary-meta,
.app-store-info-list,
.app-store-hours,
.app-store-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-company-card-meta,
.app-company-card-copy p,
.app-user-order-link small,
.app-user-order-link span,
.app-order-item-copy small,
.app-menu-item-copy p,
.app-store-summary-card p,
.app-store-summary-card small,
.app-config-head small,
.app-config-option-copy small {
    color: #7c6d93;
}

.app-company-card-meta span,
.app-company-card-badges span {
    align-items: center;
    display: inline-flex;
    font-size: 0.82rem;
    gap: 0.3rem;
}

.app-company-card-badges span {
    background: #f5efff;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.app-company-card-arrow {
    align-items: center;
    color: var(--td-primary-dark);
    display: flex;
    font-size: 1rem;
    justify-content: center;
}

.app-company-card-actions,
.app-store-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.app-business-callout {
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(169, 116, 242, 0.16), transparent 26%),
        #ffffff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.app-auth-screen {
    display: grid;
    gap: 1.2rem;
}

.app-auth-hero {
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #8e44f0 0%, #712cdd 100%);
    border-radius: 32px;
    color: #ffffff;
    overflow: hidden;
    padding: 2rem 1.5rem;
    position: relative;
}

.app-auth-hero img {
    display: block;
    height: auto;
    margin-bottom: 1.35rem;
    max-width: min(74vw, 240px);
}

.app-auth-hero h1,
.app-auth-hero p {
    color: #ffffff;
}

.app-auth-card-register {
    padding: 1.4rem;
}

.app-auth-form {
    display: grid;
    gap: 1rem;
}

.app-social-btn {
    align-items: center;
    border: 1px solid rgba(31, 20, 56, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(31, 20, 56, 0.08);
    color: #1f1438;
    display: inline-flex;
    gap: 0.8rem;
    justify-content: center;
    padding-inline: 1.15rem;
}

.app-social-btn:hover,
.app-social-btn:focus {
    border-color: rgba(66, 133, 244, 0.28);
    color: #1f1438;
}

.app-social-btn-mark {
    align-items: center;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    height: 1.9rem;
    justify-content: center;
    width: 1.9rem;
}

.app-auth-divider {
    align-items: center;
    color: #7c6d93;
    display: flex;
    gap: 0.85rem;
    margin: 1.15rem 0;
}

.app-auth-divider::before,
.app-auth-divider::after {
    background: rgba(135, 61, 235, 0.12);
    content: "";
    flex: 1 1 auto;
    height: 1px;
}

.app-auth-support {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.app-auth-support a {
    color: var(--td-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.app-google-registration-note {
    background: #f7fbff;
    border: 1px solid rgba(66, 133, 244, 0.18);
    border-radius: 22px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

.app-google-registration-head {
    align-items: center;
    display: flex;
    gap: 0.9rem;
}

.app-google-registration-head img,
.app-google-registration-initials {
    border-radius: 999px;
    height: 3rem;
    width: 3rem;
}

.app-google-registration-head img {
    object-fit: cover;
}

.app-google-registration-initials {
    align-items: center;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
}

.app-google-registration-head strong,
.app-google-registration-head small {
    display: block;
}

.app-google-registration-note a {
    align-self: flex-start;
    color: var(--td-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.app-google-password-note {
    background: #fef8ed;
    border-color: rgba(251, 188, 5, 0.24);
}

.app-form-block {
    background: #fbf8ff;
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 24px;
    padding: 1rem;
}

.app-form-block-head {
    margin-bottom: 0.85rem;
}

.app-form-block-head strong {
    color: #1f1438;
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.app-store-hero {
    display: grid;
    gap: 1rem;
}

.app-store-cover,
.app-store-cover-fallback {
    aspect-ratio: 16 / 8.5;
    border-radius: 30px;
    overflow: hidden;
}

.app-store-cover img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-store-cover-fallback {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(135, 61, 235, 0.72) 0%, rgba(111, 42, 215, 0.94) 100%);
}

.app-store-summary-card {
    margin-top: -4rem;
    padding: 1.3rem;
    position: relative;
    z-index: 2;
}

.app-store-summary-top {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.app-store-summary-brand {
    align-items: center;
    display: flex;
    gap: 0.95rem;
}

.app-store-summary-logo {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 20px;
    display: inline-flex;
    height: 68px;
    justify-content: center;
    overflow: hidden;
    width: 68px;
}

.app-store-summary-logo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-store-summary-logo span {
    color: var(--td-primary-dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.app-store-summary-brand p {
    margin-top: 0.35rem;
}

.app-store-summary-meta span {
    align-items: center;
    background: #f4ecff;
    border-radius: 999px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.4rem;
    padding: 0.42rem 0.7rem;
}

.app-store-layout,
.app-checkout-layout,
.app-order-detail-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

.app-store-toolbar {
    display: grid;
    gap: 1rem;
}

.app-store-tab {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.12);
    border-radius: 18px;
    color: #1f1438;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.8rem 1rem;
}

.app-store-empty {
    background: #f8f2ff;
    border-radius: 18px;
    color: #7c6d93;
    font-weight: 600;
    padding: 1rem;
}

.app-menu-item {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(52, 28, 95, 0.05);
    overflow: hidden;
}

.app-menu-item-preview {
    padding: 0;
}

.app-menu-preview-trigger {
    background: transparent;
    border: 0;
    color: inherit;
    display: block;
    padding: 1rem;
    text-align: left;
    width: 100%;
 }

.app-menu-form {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.app-menu-item-main {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 108px;
}

.app-menu-item-copy {
    min-width: 0;
}

.app-menu-item-price {
    color: var(--td-primary-dark);
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0.45rem 0 0.55rem;
}

.app-menu-item-price strong {
    color: var(--td-primary-dark);
    font-size: 1.15rem;
}

.app-menu-item-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.app-menu-item-flags span,
.app-config-required {
    background: rgba(135, 61, 235, 0.1);
    border-radius: 999px;
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.35rem 0.7rem;
}

.app-menu-item-media,
.app-menu-item-fallback {
    border-radius: 22px;
    overflow: hidden;
}

.app-menu-item-media img,
.app-menu-item-fallback {
    display: block;
    height: 108px;
    object-fit: cover;
    width: 108px;
}

.app-menu-item-fallback {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(135deg, rgba(135, 61, 235, 0.22) 0%, rgba(111, 42, 215, 0.48) 100%);
}

.app-config-group {
    background: #faf7ff;
    border-radius: 22px;
    padding: 1rem;
}

.app-config-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.app-config-head strong {
    color: #1f1438;
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.app-config-options {
    display: grid;
    gap: 0.65rem;
}

.app-config-option {
    align-items: center;
    column-gap: 0.85rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.app-config-option input {
    accent-color: var(--td-primary);
    margin: 0;
}

.app-config-option-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.app-config-option strong {
    color: #1f1438;
    white-space: nowrap;
}

.app-menu-item-footer,
.app-cart-update-row,
.app-total-row {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.app-qty-inline {
    flex: 0 0 86px;
}

.app-qty-inline .form-control,
.app-cart-update-row .form-control {
    border-radius: 16px;
    min-height: 48px;
    text-align: center;
}

.app-menu-add-btn {
    border-radius: 999px;
    flex: 1 1 auto;
    font-size: 1rem;
    font-weight: 800;
    min-height: 52px;
}

.app-product-sheet .modal-content {
    background: #fbf8ff;
    border: 0;
    border-radius: 0;
}

.app-product-sheet-topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 1rem 1rem 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}

.app-product-sheet-tools {
    display: flex;
    gap: 0.75rem;
}

.app-product-sheet-body {
    display: grid;
    gap: 1rem;
    padding: 0 0 calc(7rem + env(safe-area-inset-bottom));
}

.app-product-sheet-cover {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.app-product-sheet-cover img,
.app-product-sheet-cover .app-menu-item-fallback {
    border-radius: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.app-product-sheet-summary {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(52, 28, 95, 0.08);
    margin: -3rem 1rem 0;
    padding: 1.15rem 1.2rem;
    position: relative;
    z-index: 2;
}

.app-product-sheet-store {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.app-store-summary-logo-sm {
    height: 54px;
    width: 54px;
}

.app-product-sheet-store small {
    color: #7c6d93;
    display: block;
    margin-bottom: 0.18rem;
}

.app-product-sheet-store strong {
    color: #1f1438;
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.app-product-sheet-price {
    color: var(--td-primary-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.85rem;
}

.app-product-sheet-price strong {
    font-size: 1.55rem;
}

.app-product-sheet-summary p {
    color: #6e6286;
    margin-top: 0.85rem;
}

.app-product-sheet-body .app-config-group {
    background: #ffffff;
    border: 1px solid rgba(135, 61, 235, 0.08);
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(52, 28, 95, 0.04);
    margin: 0 1rem;
}

.app-product-note {
    min-height: 88px;
}

.app-product-sheet-footer {
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(135, 61, 235, 0.08);
    bottom: 0;
    display: flex;
    gap: 0.9rem;
    left: 0;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    position: absolute;
    right: 0;
    z-index: 3;
}

.app-product-sheet-qty {
    align-items: center;
    background: #f6f1ff;
    border-radius: 999px;
    display: inline-flex;
    gap: 0.55rem;
    padding: 0.4rem;
}

.app-qty-btn {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(52, 28, 95, 0.08);
    color: var(--td-primary-dark);
    display: inline-flex;
    font-size: 1rem;
    height: 2.6rem;
    justify-content: center;
    width: 2.6rem;
}

.app-product-sheet-qty .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #1f1438;
    font-size: 1.15rem;
    font-weight: 800;
    min-height: auto;
    padding: 0;
    text-align: center;
    width: 2.8rem;
}

.app-product-sheet-submit {
    border-radius: 999px;
    flex: 1 1 auto;
    font-size: 1.15rem;
    font-weight: 800;
    min-height: 3.55rem;
}

.app-store-info-list {
    flex-direction: column;
    gap: 0.85rem;
}

.app-store-info-list small,
.app-store-hours-row span {
    color: #7c6d93;
    display: block;
    margin-bottom: 0.15rem;
}

.app-store-info-list strong,
.app-store-hours-row strong {
    color: #1f1438;
}

.app-store-hours {
    display: grid;
    gap: 0.65rem;
}

.app-store-hours-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.app-order-item-card,
.app-user-order-card {
    padding: 1rem;
}

.app-order-item-main {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.app-order-item-extras {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.app-order-item-extras span {
    color: #7c6d93;
    font-size: 0.86rem;
}

.app-order-list-compact .app-order-item-card {
    border-radius: 22px;
    box-shadow: none;
}

.app-user-order-link {
    grid-template-columns: minmax(0, 1fr) auto;
}

.app-user-order-link small,
.app-user-order-link span {
    display: block;
}

.app-empty-card {
    text-align: center;
}

.public-floating-cart {
    align-items: center;
    background: linear-gradient(135deg, #8f45f0 0%, #6f2ad7 100%);
    border-radius: 999px;
    bottom: calc(5.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 18px 32px rgba(52, 28, 95, 0.22);
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    gap: 0.65rem;
    left: 50%;
    min-height: 54px;
    padding: 0 1.1rem;
    position: fixed;
    text-decoration: none;
    transform: translateX(-50%);
    z-index: 1036;
}

.public-bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(135, 61, 235, 0.1);
    border-radius: 28px 28px 0 0;
    bottom: 0;
    box-shadow: 0 -12px 28px rgba(52, 28, 95, 0.08);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.65rem 0.5rem calc(0.7rem + env(safe-area-inset-bottom));
}

.public-bottom-link {
    align-items: center;
    color: #7c6d93;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 56px;
}

.public-bottom-link i {
    font-size: 1.35rem;
    line-height: 1;
}

.public-bottom-link.active {
    background: rgba(135, 61, 235, 0.12);
    color: var(--td-primary-dark);
}

.public-app-footer {
    padding: 1rem 0 7rem;
}

@media (min-width: 992px) {
    .public-app-frame {
        padding-bottom: 2rem;
    }

    .public-bottom-nav,
    .public-floating-cart {
        display: none;
    }

    .public-app-footer {
        padding-bottom: 2rem;
    }

    .app-store-layout,
    .app-checkout-layout,
    .app-order-detail-layout {
        align-items: start;
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    }

    .app-store-sidebar,
    .app-checkout-summary,
    .app-order-detail-side {
        position: sticky;
        top: 6rem;
    }

    .app-auth-screen {
        align-items: stretch;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .app-auth-card-register {
        padding: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .public-app-topbar {
        min-height: 72px;
    }

    .public-app-headline span {
        display: none;
    }

    .app-home-hero,
    .app-page-hero,
    .app-surface-card,
    .app-empty-card,
    .app-company-card,
    .app-user-order-card,
    .app-order-item-card,
    .app-auth-card,
    .app-business-callout,
    .app-store-summary-card,
    .app-promo-banner {
        border-radius: 24px;
    }

    .app-promo-banner,
    .app-business-callout,
    .app-store-summary-top,
    .app-store-summary-brand,
    .app-google-registration-note,
    .app-auth-support,
    .app-menu-item-main,
    .app-cart-update-row,
    .app-total-row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .app-promo-badges,
    .app-company-card-actions,
    .app-store-cta {
        justify-content: flex-start;
    }

    .app-company-card-link {
        grid-template-columns: auto 1fr;
    }

    .app-company-card-arrow {
        display: none;
    }

    .app-menu-item-main {
        display: flex;
    }

    .app-menu-item-media img,
    .app-menu-item-fallback {
        height: 96px;
        width: 96px;
    }

    .app-menu-item-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .app-qty-inline {
        flex-basis: auto;
        width: 100%;
    }

    .app-store-summary-card {
        margin-top: -3.25rem;
    }

    .public-app-footer {
        display: none;
    }
}

@keyframes app-navigation-run {
    0% {
        left: calc(100% + 64px);
        transform: translateY(-50%);
    }

    100% {
        left: -84px;
        transform: translateY(-50%);
    }
}
