:root {
    --bg: #f5f0e7;
    --panel: rgba(255, 251, 245, 0.92);
    --ink: #203038;
    --muted: #667781;
    --line: rgba(32, 48, 56, 0.12);
    --brand: #0f766e;
    --brand-2: #d97706;
    --brand-3: #0b4f4a;
    --danger: #b91c1c;
    --shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(rgba(7, 18, 38, 0.68), rgba(7, 18, 38, 0.68)),
        url("./Themes/657775965_2975681512622463_5239084744422016429_n.jfif") center/cover no-repeat fixed;
}

.app-shell {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
    padding: 0 0 36px;
}

.top-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: rgba(6, 14, 32, 0.92);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 24px 48px rgba(2, 8, 23, 0.28);
    overflow: hidden;
}

.top-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
}

.top-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: -38px;
    margin-bottom: 18px;
    position: relative;
    z-index: 3;
}

.hero-card,
.catalog-card,
.cart-card,
.product-card,
.cart-item,
.summary-box,
.order-preview,
.auth-card,
.auth-toggle button.active {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-card,
.catalog-card,
.cart-card {
    border-radius: 24px;
}

.hero-card {
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-spotlight,
.hero-spotlight-grid {
    display: grid;
    gap: 18px;
}

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

.hero-product-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.hero-product-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid var(--line);
    cursor: zoom-in;
}

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

.hero-product-copy {
    display: grid;
    gap: 10px;
    align-content: start;
}

.hero-product-copy h3 {
    margin: 0;
    font-size: 22px;
}

.hero-product-copy p {
    margin: 0;
    line-height: 1.6;
}

.hero-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.hero-product-foot strong {
    font-size: 28px;
    color: var(--brand-3);
}

.eyebrow,
.section-label {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand);
    font-weight: 700;
}

.hero-copy h1,
.section-head h2 {
    margin: 0;
}

.hero-copy p:last-child {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--muted);
}

.view-tabs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.top-tabs {
    margin-top: 0;
    justify-content: center;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 251, 245, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.auth-panel {
    display: grid;
    gap: 14px;
}

.auth-panel-shell {
    display: flex;
    justify-content: flex-start;
}

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

.auth-mini-btn,
.account-trigger {
    min-height: 48px;
}

.auth-mini-actions .auth-mini-btn {
    min-width: 126px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 34px rgba(3, 10, 26, 0.20);
}

.auth-mini-actions .ghost-btn.auth-mini-btn {
    background: rgba(255, 251, 245, 0.96);
    color: var(--ink);
}

.auth-mini-actions .ghost-btn.auth-mini-btn:hover {
    background: #ffffff;
}

.auth-mini-actions .primary-btn.auth-mini-btn {
    background: var(--brand);
    color: #fff;
}

.account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 240px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 251, 245, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.account-trigger-meta {
    display: grid;
    gap: 2px;
    text-align: left;
}

.account-trigger-label {
    font-weight: 800;
}

.account-trigger-sub {
    font-size: 13px;
    color: var(--muted);
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 38, 0.46);
    display: grid;
    place-items: start end;
    padding: 28px;
    z-index: 999;
}

.auth-modal {
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.cart-dock {
    display: flex;
    justify-content: flex-end;
}

.contact-dock {
    position: fixed;
    right: 12px;
    bottom: 18px;
    z-index: 1100;
}

.contact-dock-stack {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.contact-dock-hint {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 251, 245, 0.96);
    color: var(--muted);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 700;
}

.contact-fab {
    width: 88px;
    min-height: 88px;
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.24);
    border: 3px solid rgba(255, 255, 255, 0.92);
}

.contact-fab-title {
    display: block;
    padding: 0 8px;
    line-height: 1.15;
    font-size: 20px;
}

.contact-fab-zalo {
    background: linear-gradient(135deg, #1d9bf0, #0b74d1);
}

.contact-fab-facebook {
    background: linear-gradient(135deg, #1877f2, #0f5fd0);
}

.contact-fab-call {
    background: linear-gradient(135deg, #22c55e, #0f9f49);
}

.contact-fab:hover {
    transform: translateY(-2px);
}

.cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    min-width: 240px;
    padding: 12px 16px;
    border-radius: 22px;
    background: rgba(255, 251, 245, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.cart-trigger-icon {
    font-size: 40px;
    line-height: 1;
}

.cart-trigger-meta {
    display: grid;
    gap: 3px;
    text-align: left;
}

.cart-trigger-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.cart-trigger-title {
    font-weight: 800;
}

.cart-trigger-sub {
    font-size: 14px;
    color: var(--muted);
}

.cart-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 38, 0.46);
    display: grid;
    place-items: start end;
    padding: 28px;
    z-index: 998;
}

.cart-modal {
    width: min(460px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.cart-modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 14px;
}

.auth-modal-head h3 {
    margin: 0;
}

.modal-close-btn {
    white-space: nowrap;
}

.auth-card {
    border-radius: 20px;
    padding: 16px;
}

.auth-card-plain {
    box-shadow: none;
    background: transparent;
}

.auth-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(32, 48, 56, 0.06);
}

.auth-toggle button {
    border: none;
    background: transparent;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}

.auth-form {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.auth-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.user-card {
    display: grid;
    gap: 10px;
}

.user-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.layout {
    display: block;
}

.admin-shell {
    display: grid;
}

.admin-card,
.admin-block {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 24px;
}

.admin-card {
    padding: 22px;
}

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

.admin-block {
    padding: 18px;
    margin-top: 18px;
}

.admin-block h3 {
    margin-top: 0;
}

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

.admin-inline-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-form-grid,
.admin-product-form {
    display: grid;
    gap: 14px;
}

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

.admin-simple-fields {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-span-2 {
    grid-column: span 2;
}

.admin-list,
.admin-product-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.admin-order-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.admin-order-toolbar,
.admin-order-switch,
.admin-order-actions,
.admin-order-meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-order-switch {
    margin-bottom: 14px;
}

.admin-order-item {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
}

.admin-order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    flex-wrap: wrap;
}

.admin-order-side {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.admin-order-products {
    display: grid;
    gap: 8px;
}

.admin-order-card-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.admin-order-main {
    display: grid;
    gap: 10px;
}

.admin-order-meta-row {
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

.admin-order-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.06);
    border: 1px solid var(--line);
    flex-wrap: wrap;
}

.pill-new {
    background: rgba(217, 119, 6, 0.12);
    color: #9a5b07;
}

.pill-accepted {
    background: rgba(15, 118, 110, 0.12);
    color: var(--brand-3);
}

.pill-saved {
    background: rgba(71, 85, 105, 0.12);
    color: #475569;
}

.admin-user-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.admin-search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.admin-selected-user {
    margin-top: 12px;
}

.admin-list-item,
.admin-product-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
}

.admin-product-item {
    align-items: stretch;
}

.admin-product-cover {
    width: 92px;
    min-width: 92px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(15, 118, 110, 0.08);
    display: grid;
    place-items: center;
}

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

.admin-product-meta {
    flex: 1;
    display: grid;
    gap: 6px;
    align-content: center;
}

.admin-product-summary {
    margin-top: 4px;
}

.admin-checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-checkbox-field input,
.admin-flag-toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.admin-flag-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-weight: 700;
    color: #0f766e;
}

.admin-product-actions {
    align-items: center;
    justify-content: flex-end;
    min-width: 132px;
}

.admin-user-item {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
}

.admin-user-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    flex-wrap: wrap;
}

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

.admin-checkline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.admin-checkline input[type="checkbox"] {
    width: auto;
}

.upload-tools {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px dashed var(--line);
    background: rgba(15, 118, 110, 0.04);
}

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

.admin-image-gallery {
    display: grid;
    gap: 12px;
}

.admin-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.admin-image-item {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    cursor: grab;
}

.admin-image-badge {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-3);
    font-size: 12px;
    font-weight: 800;
}

.admin-image-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
}

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

.variant-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.variant-editor-head {
    display: grid;
    gap: 4px;
}

.variant-editor-toolbar {
    display: flex;
    justify-content: flex-end;
}

.variant-grid {
    display: grid;
    grid-template-columns: 0.9fr 0.9fr 0.9fr 1fr 1fr 1fr 0.9fr 1fr;
    gap: 10px;
    align-items: center;
}

.variant-grid-head {
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
    text-align: center;
    align-items: end;
}

.variant-grid-head > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
}

.variant-row-list {
    display: grid;
    gap: 10px;
}

.variant-grid-row {
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.variant-row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.variant-image-picker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.variant-image-preview {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
}

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

.variant-image-index {
    width: 64px;
    min-width: 64px;
    text-align: center;
}

.variant-field-single select,
.variant-field-single input {
    width: 100%;
}

.variant-chip {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(15, 118, 110, 0.08);
    font-weight: 700;
}

.product-variant-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

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

.catalog-card,
.cart-card {
    padding: 22px;
}

.section-head,
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.section-head {
    margin-bottom: 18px;
}

.mode-banner {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 118, 110, 0.10);
    color: var(--brand-3);
    font-size: 14px;
    font-weight: 600;
}

.product-grid,
.cart-items {
    display: grid;
    gap: 14px;
}

.product-card,
.cart-item,
.summary-box,
.order-preview {
    border-radius: 18px;
    padding: 16px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
}

.product-card-rich {
    grid-template-columns: minmax(180px, 220px) 1fr auto;
    align-items: start;
}

.product-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid var(--line);
    cursor: zoom-in;
}

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

.product-media-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

.product-thumb-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.product-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    cursor: zoom-in;
}

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

.image-viewer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 24, 0.82);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 1200;
}

.image-viewer-modal {
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 14px;
}

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

.image-viewer-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 240px;
}

.image-viewer-body img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.18);
}

.image-viewer-nav {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(10, 23, 37, 0.86);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.image-viewer-nav:hover {
    background: rgba(15, 118, 110, 0.92);
}

.product-card h3,
.cart-item h3 {
    margin: 0 0 8px;
}

.product-desc,
.muted,
.order-preview pre {
    color: var(--muted);
    line-height: 1.5;
}

.product-extra {
    margin: 10px 0 0;
    color: #43525c;
    line-height: 1.6;
}

.price-row {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.price-main {
    font-size: 34px;
    font-weight: 800;
    color: var(--brand-3);
    line-height: 1;
}

.price-sub {
    font-size: 13px;
}

.price-row .price-sub,
.price-row .price-sub.muted {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.product-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.12);
    color: #9a5b07;
    font-size: 13px;
    font-weight: 700;
}

.field-label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

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

input,
select,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(32, 48, 56, 0.15);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.92);
}

button {
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 16px;
}

.primary-btn {
    background: var(--brand);
    color: white;
}

.ghost-btn {
    background: rgba(32, 48, 56, 0.06);
    color: var(--ink);
}

.danger-btn {
    background: rgba(185, 28, 28, 0.10);
    color: var(--danger);
}

.mini-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mini-btn {
    width: 34px;
    height: 34px;
    padding: 0;
}

.summary-box {
    margin: 16px 0;
    display: grid;
    gap: 10px;
    background: rgba(15, 118, 110, 0.08);
}

.order-status-banner {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(217, 119, 6, 0.10);
    color: #7c4a06;
}

.order-status-accepted {
    background: rgba(15, 118, 110, 0.10);
    color: var(--brand-3);
}

.order-status-saved {
    background: rgba(71, 85, 105, 0.10);
    color: #334155;
}

.order-form {
    display: grid;
    gap: 14px;
}

.order-preview {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.88);
}

.order-preview h3 {
    margin-top: 0;
}

.order-preview pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, monospace;
}

.admin-order-modal {
    max-width: 860px;
}

.admin-order-modal-body {
    display: grid;
    gap: 16px;
}

.admin-order-modal-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.06);
    border: 1px solid var(--line);
}

.hidden {
    display: none;
}

.empty-state {
    padding: 22px;
    border: 1px dashed rgba(32, 48, 56, 0.16);
    border-radius: 18px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 940px) {
    .top-toolbar {
        grid-template-columns: 1fr;
        margin-top: -22px;
    }

    .auth-panel-shell,
    .cart-dock,
    .top-tabs {
        justify-items: stretch;
        justify-content: stretch;
    }

    .top-banner {
        border-radius: 0 0 22px 22px;
    }

    .top-banner img {
        max-height: 340px;
    }

    .admin-grid,
    .admin-product-form,
    .admin-simple-fields,
    .filter-row,
    .admin-user-fields,
    .variant-grid,
    .product-variant-box,
    .admin-order-card-compact,
    .admin-order-modal-summary,
    .hero-spotlight-grid,
    .hero-product-card {
        grid-template-columns: 1fr;
    }

    .field-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 620px) {
    .app-shell {
        width: min(100% - 18px, 100%);
    }

    .top-banner {
        border-radius: 0 0 18px 18px;
    }

    .top-banner img {
        max-height: 220px;
    }

    .hero-card,
    .catalog-card,
    .cart-card {
        padding: 18px;
        border-radius: 20px;
    }

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

    .product-card-rich {
        grid-template-columns: 1fr;
    }

    .product-side {
        align-items: stretch;
    }

    .auth-mini-actions,
    .cart-modal-actions {
        justify-content: stretch;
    }

    .auth-mini-btn,
    .account-trigger,
    .cart-trigger {
        width: 100%;
    }

    .auth-modal-backdrop,
    .cart-modal-backdrop {
        place-items: end center;
        padding: 12px;
    }

    .auth-modal,
    .cart-modal {
        width: 100%;
        border-radius: 22px;
    }
}
