:root {
    --bg: #f4f6fb;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --text: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --danger: #c2410c;
    --ok: #047857;
    --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    --sidebar: #0f172a;
    --sidebar-soft: #1e293b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

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

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 22px;
    background: var(--sidebar);
    color: #fff;
    z-index: 30;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.brand strong,
.brand small { display: block; }
.brand small { margin-top: 3px; color: #cbd5e1; }

.side-nav {
    display: grid;
    gap: 8px;
}

.side-nav a {
    border-radius: 8px;
    color: #cbd5e1;
    padding: 11px 12px;
    text-decoration: none;
    font-weight: 700;
}

.side-nav a:hover,
.side-nav a.active {
    background: var(--sidebar-soft);
    color: #fff;
}

.sidebar-footer {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-footer span { color: #cbd5e1; font-size: 13px; }

.admin-main {
    display: grid;
    gap: 20px;
    min-width: 0;
    padding: 24px;
}

.app-header,
.panel,
.stat-card,
.empty {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    padding: 22px;
}

.app-header div { flex: 1; min-width: 0; }
.app-header span { display: block; margin-top: 6px; color: var(--muted); }

h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; letter-spacing: 0; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
p, small { color: var(--muted); }

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.icon-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
}

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

.stat-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.stat-card span { color: var(--muted); font-weight: 700; }
.stat-card strong { font-size: 34px; line-height: 1; }
.stat-card small { font-weight: 700; }

.content-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.35fr);
    gap: 20px;
    align-items: start;
}

.panel {
    min-width: 0;
    padding: 20px;
}

.panel.wide { min-width: 0; }

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

.panel-header.compact { align-items: flex-start; }

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

.form.stacked { grid-template-columns: 1fr; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.full { grid-column: 1 / -1; }

label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    padding: 11px 12px;
}

textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #98a2b3; }

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(37, 99, 235, 0.15);
}

.switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.switch-row input { width: 18px; height: 18px; }

.button {
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.button.secondary { background: #eef2ff; color: #1d4ed8; }
.button.secondary:hover { background: #dbeafe; }
.button.ghost { background: #f2f4f7; color: #344054; }
.button.danger { background: #fff4ed; color: var(--danger); }
.button.danger:hover { background: #ffead5; }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 13px; }
.full-width { width: 100%; }
.header-action { flex: 0 0 auto; }

.notice, .alert {
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.notice { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.alert { background: #fff4ed; color: #b42318; border: 1px solid #fecdca; }

.search {
    max-width: 300px;
    background: var(--panel-soft);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
    text-align: left;
    vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }
th {
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

tbody tr:hover { background: #f8fafc; }

.status,
.order-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.status.on { background: #ecfdf3; color: var(--ok); }
.status.off { background: #f2f4f7; color: #667085; }
.order-pill { background: #eff6ff; color: #1d4ed8; }

.actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.actions form { margin: 0; }

.thumb, .preview {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.thumb.placeholder {
    display: grid;
    place-items: center;
    background: #f2f4f7;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.preview { width: 110px; height: 110px; }

.overlay { display: none; }

.client-body { background: #fffaf5; }
.client-menu { max-width: 1120px; margin: 0 auto; padding: 28px 18px 48px; }
.client-hero { margin-bottom: 30px; padding: 42px 0 18px; border-bottom: 1px solid #eadfd3; }
.client-hero p { color: #a15c22; font-weight: 800; text-transform: uppercase; }
.client-hero h1 { margin-top: 8px; font-size: 38px; }
.category-section { margin-top: 30px; }
.category-title { margin-bottom: 16px; }
.category-title p { margin-top: 5px; }
.food-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.food-card { overflow: hidden; background: #fff; border: 1px solid #eadfd3; border-radius: 8px; }
.food-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.food-info { display: grid; gap: 14px; padding: 14px; }
.food-info p { margin-top: 6px; line-height: 1.45; }
.food-info strong { color: #a15c22; font-size: 18px; }

@media (max-width: 1080px) {
    .admin-shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        left: 0;
        transform: translateX(-105%);
        width: min(86vw, 300px);
        transition: transform 0.2s ease;
    }
    .admin-body.sidebar-open .sidebar { transform: translateX(0); }
    .overlay {
        position: fixed;
        inset: 0;
        display: none;
        background: rgba(15, 23, 42, 0.48);
        z-index: 20;
    }
    .admin-body.sidebar-open .overlay { display: block; }
    .icon-button { display: grid; place-items: center; flex: 0 0 auto; }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .admin-main { padding: 14px; gap: 14px; }
    .app-header { align-items: flex-start; padding: 16px; }
    .header-action { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .form, .form-row { grid-template-columns: 1fr; }
    .panel { padding: 16px; }
    .panel-header { align-items: stretch; flex-direction: column; }
    .search { max-width: none; }
    .actions { flex-direction: column; align-items: stretch; }
    .actions .button { width: 100%; }
    .food-grid { grid-template-columns: 1fr; }
    .client-hero h1 { font-size: 30px; }
}
.content-grid.single {
    grid-template-columns: minmax(0, 760px);
}

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

.insight {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.insight span {
    color: var(--muted);
    font-weight: 800;
}

.insight strong {
    font-size: 28px;
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 55%, #fff 100%);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(100%, 420px);
    display: grid;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-brand {
    border-bottom: 0;
    padding-bottom: 0;
    color: var(--text);
}

.login-brand small {
    color: var(--muted);
}

@media (max-width: 760px) {
    .insight-grid { grid-template-columns: 1fr; }
}
.banner-preview {
    width: 100%;
    max-height: 220px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}

.client-body.modern-client {
    background: #f8fafc;
}

.client-page {
    min-height: 100vh;
}

.public-hero {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.public-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-nav a {
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    padding: 9px 14px;
    text-decoration: none;
    font-weight: 800;
}

.public-hero-content {
    max-width: 760px;
    padding: 72px 0 48px;
}

.public-hero-content p {
    color: #bfdbfe;
    font-weight: 900;
    text-transform: uppercase;
}

.public-hero-content h1 {
    margin-top: 10px;
    font-size: 54px;
    line-height: 1;
}

.public-hero-content span {
    display: block;
    max-width: 560px;
    margin-top: 14px;
    color: #e0e7ff;
    font-size: 18px;
}

.public-cta {
    margin-top: 24px;
}

.category-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px 24px;
    background: rgba(248, 250, 252, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.category-chip {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    padding: 10px 15px;
    font-weight: 900;
    cursor: pointer;
}

.category-chip.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.public-menu-list {
    display: grid;
    gap: 34px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

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

.modern-card {
    box-shadow: var(--shadow);
}

.food-image-wrap img,
.food-image-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.food-image-empty {
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #64748b;
    font-weight: 900;
}

@media (max-width: 860px) {
    .public-hero { min-height: 390px; padding: 18px; }
    .public-hero-content { padding: 52px 0 34px; }
    .public-hero-content h1 { font-size: 38px; }
    .modern-grid { grid-template-columns: 1fr; }
    .category-tabs { padding: 12px 16px; }
}
/* Mobile polish pass */
.app-header {
    position: relative;
}

@media (max-width: 760px) {
    body.admin-body {
        background: #eef2f7;
    }

    .admin-main {
        padding: 10px;
        gap: 12px;
    }

    .app-header {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 14px;
        border-radius: 12px;
    }

    .app-header h1 {
        font-size: 22px;
        line-height: 1.12;
    }

    .app-header span {
        font-size: 13px;
        line-height: 1.35;
    }

    .icon-button {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--sidebar);
        color: #fff;
        font-size: 12px;
        font-weight: 900;
    }

    .sidebar {
        width: min(88vw, 320px);
        height: 100dvh;
        padding: 18px;
        gap: 18px;
        overflow-y: auto;
        box-shadow: 24px 0 60px rgba(15, 23, 42, .28);
    }

    .brand {
        padding-bottom: 14px;
    }

    .side-nav a {
        padding: 14px 13px;
        border-radius: 12px;
        font-size: 15px;
    }

    .sidebar-footer {
        margin-top: 8px;
        padding: 12px;
    }

    .panel,
    .stat-card,
    .empty {
        border-radius: 12px;
        box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card strong {
        font-size: 28px;
    }

    .form {
        gap: 12px;
    }

    input,
    select,
    textarea {
        min-height: 46px;
        border-radius: 10px;
        font-size: 16px;
    }

    .button {
        width: 100%;
        min-height: 46px;
        border-radius: 10px;
    }

    .table-wrap {
        border: 0;
        overflow: visible;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
    }

    td {
        border: 0;
        padding: 7px 0;
    }

    .thumb,
    .preview {
        width: 100px;
        height: 100px;
    }
}

/* Public mobile banner and cards */
.public-hero {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    overflow: hidden;
}

.modern-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.modern-card .food-info {
    padding: 16px;
}

.modern-card h3 {
    font-size: 19px;
    line-height: 1.2;
}

.modern-card .food-info strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 7px 12px;
    font-size: 17px;
}

.food-image-wrap {
    background: #e2e8f0;
}

.food-image-wrap img {
    display: block;
    height: auto;
    object-fit: cover;
}

@media (max-width: 860px) {
    .client-body.modern-client {
        background: #f8fafc;
    }

    .public-hero {
        min-height: 430px;
        padding: 16px;
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        background-position: center top;
    }

    .public-hero-content {
        display: flex;
        min-height: 360px;
        flex-direction: column;
        justify-content: flex-end;
        padding: 28px 0 18px;
    }

    .public-hero-content p {
        color: #dbeafe;
        font-size: 12px;
        letter-spacing: .08em;
    }

    .public-hero-content h1 {
        margin-top: 8px;
        max-width: 11ch;
        font-size: clamp(34px, 11vw, 46px);
        line-height: .98;
    }

    .public-hero-content span {
        margin-top: 12px;
        color: #eef2ff;
        font-size: 15px;
        line-height: 1.45;
    }

    .public-cta {
        width: fit-content;
        margin-top: 18px;
        padding: 11px 15px;
        min-height: 42px;
    }

    .category-tabs {
        top: 0;
        gap: 8px;
        padding: 12px 14px;
    }

    .category-chip {
        padding: 9px 13px;
        font-size: 14px;
    }

    .public-menu-list {
        gap: 26px;
        padding: 24px 14px 42px;
    }

    .category-title h2 {
        font-size: 23px;
    }

    .modern-card {
        border-radius: 18px;
        box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
    }

    .food-image-wrap img,
    .food-image-empty {
        aspect-ratio: 16 / 11;
    }

    .modern-card .food-info {
        gap: 12px;
        padding: 15px;
    }

    .modern-card .food-info p {
        font-size: 14px;
    }
}
/* Admin modal forms */
body.modal-open {
    overflow: hidden;
}

.panel-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}

.modal.is-open {
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(88vh, 860px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .34);
}

.modal-panel-wide {
    width: min(100%, 820px);
}

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

.modal-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 760px) {
    .panel-tools {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .panel-tools .search,
    .panel-tools .button {
        width: 100%;
        max-width: none;
    }

    .modal.is-open {
        align-items: end;
        padding: 0;
    }

    .modal-panel,
    .modal-panel-wide {
        width: 100%;
        max-height: 92dvh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
        padding: 16px;
    }

    .modal-header {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: -16px -16px 16px;
        padding: 16px;
        border-bottom: 1px solid var(--line);
        background: #fff;
    }
}
/* Dashboard charts and pagination */
.chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 16px;
}

.chart-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-soft);
}

.bar-list {
    display: grid;
    gap: 14px;
}

.bar-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
}

.bar-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.bar-row strong {
    text-align: right;
}

.bar-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.bar-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
}

.donut {
    --active: 0;
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    background: conic-gradient(var(--primary) calc(var(--active) * 1%), #e2e8f0 0);
}

.donut::before {
    content: "";
    position: absolute;
}

.donut span {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 14px;
}

.pagination a {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
}

.pagination a.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

@media (max-width: 760px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }

    .bar-row {
        grid-template-columns: 1fr 42px;
    }

    .bar-row span {
        grid-column: 1 / -1;
    }

    .pagination {
        justify-content: center;
    }
}
/* Catalog product cards */
.product-grid.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card.catalog-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.product-image-wrap {
    background: #e5e7eb;
}

.product-image-wrap img,
.product-image-empty {
    display: block;
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.product-image-empty {
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 900;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 16px 16px 0;
}

.product-card-copy {
    display: grid;
    gap: 5px;
}

.product-card-copy h3 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.product-summary {
    display: -webkit-box;
    overflow: hidden;
    color: #4b5563;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.product-card.is-expanded .product-summary {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.product-card-copy strong {
    color: #1f2937;
    font-size: 17px;
    font-weight: 900;
}

.product-card-action {
    margin-top: 16px;
    padding: 14px 16px;
    border-top: 1px solid #e5e7eb;
}

.product-detail-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #1f2937;
    padding: 0;
    font-weight: 900;
    cursor: pointer;
}

.product-detail-button:hover span {
    text-decoration: underline;
}

.plus-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    transition: transform .18s ease;
}

.product-card.is-expanded .plus-icon {
    transform: rotate(45deg);
}

.catalog-login-shell {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 34%), #eef2f7;
}

.catalog-login-card {
    width: min(100%, 460px);
    padding: 0 0 28px;
    overflow: hidden;
}

.catalog-login-card .login-brand,
.catalog-login-card h1,
.catalog-login-card p,
.catalog-login-card .alert,
.catalog-login-card form {
    margin-right: 28px;
    margin-left: 28px;
}

.login-catalog-image {
    height: 190px;
    overflow: hidden;
    background: #dbe4ef;
}

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

@media (max-width: 860px) {
    .product-grid.catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-image-wrap img,
    .product-image-empty {
        height: 240px;
    }

    .catalog-login-card .login-brand,
    .catalog-login-card h1,
    .catalog-login-card p,
    .catalog-login-card .alert,
    .catalog-login-card form {
        margin-right: 20px;
        margin-left: 20px;
    }
}