/* ── Variables & Theme Admin Praessia ───────────────────────────────────────── */
:root {
    --wine: #6a2831;
    --wine-dark: #4e1e25;
    --wine-light: #8a3040;
    --gold: #d4af37;
    --gold-soft: #bfa76a;
    --cream: #F0E7DA;
    --bg: #f6f3ee;
    --white: #ffffff;
    --text: #2b2b2b;
    --muted: #6e675f;
    --border: #e2ddd4;
    --border-dark: #d5cecf;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --trans: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --green: #2d7a4f;
    --red: #c0392b;
    --yellow: #e67e22;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Heebo', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ── Pantalla de login ───────────────────────────────── */
#loginScreen {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 60%, #8a3040 100%);
    padding: 20px;
}

.login-box {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-logo {
    font-family: 'Kiona', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.14em;
    color: var(--wine);
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 32px;
}

.login-field {
    position: relative;
    margin-bottom: 16px;
}

.login-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1rem;
}

.login-input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    outline: none;
    transition: var(--trans);
    color: var(--text);
}

.login-input:focus {
    border-color: var(--gold-soft);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.btn-login {
    width: 100%;
    background: var(--wine);
    color: var(--cream);
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--trans);
    margin-top: 8px;
}

.btn-login:hover {
    background: var(--wine-light);
}

.login-error {
    color: var(--red);
    font-size: 0.82rem;
    margin-top: 10px;
    display: none;
}

/* ── Layout principal ────────────────────────────────── */
#adminPanel {
    display: block;
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 140px);
}

/* Sidebar fixed below header */
.admin-sidebar {
    width: 240px;
    background: var(--wine-dark);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 140px;
    left: 0;
    height: calc(100vh - 140px);
    z-index: 100;
    transition: var(--trans);
}

.sidebar-brand {
    padding: 24px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-name {
    font-family: 'Kiona', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--cream);
}

.sidebar-brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.7);
    margin-top: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 12px 12px 6px;
    font-weight: 700;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--trans);
    margin-bottom: 2px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.sidebar-link i {
    font-size: 1rem;
    width: 20px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cream);
}

.sidebar-link.active {
    background: rgba(212, 175, 55, 0.18);
    color: var(--gold);
    font-weight: 600;
}

.sidebar-badge {
    margin-left: auto;
    background: var(--gold);
    color: var(--wine-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--trans);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    width: 100%;
}

.btn-logout:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

/* Contenido principal */
.admin-main {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 140px);
}

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 140px; /* Aligns under fixed main header */
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.topbar-title {
    font-family: 'Kiona', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--wine);
}

.topbar-date {
    font-size: 0.82rem;
    color: var(--muted);
}

.admin-content {
    padding: 28px 32px;
    flex: 1;
}

.admin-section {
    display: block;
}

/* ── Cards métricas ──────────────────────────────────── */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.metric-icon.wine { background: rgba(106, 40, 49, 0.1); color: var(--wine); }
.metric-icon.gold { background: rgba(212, 175, 55, 0.12); color: var(--gold); }
.metric-icon.green { background: rgba(45, 122, 79, 0.1); color: var(--green); }
.metric-icon.red { background: rgba(192, 57, 43, 0.1); color: var(--red); }

.metric-value {
    font-family: 'Kiona', sans-serif;
    font-size: 1.8rem;
    color: var(--text);
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

/* ── Semáforo inventario ─────────────────────────────── */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.inv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.inv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inv-card-name {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.semaforo {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.semaforo.green { background: #27ae60; box-shadow: 0 0 6px rgba(39, 174, 96, 0.5); }
.semaforo.yellow { background: #f39c12; box-shadow: 0 0 6px rgba(243, 156, 18, 0.5); }
.semaforo.red { background: #e74c3c; box-shadow: 0 0 6px rgba(231, 76, 60, 0.5); }

.inv-card-qty {
    font-family: 'Kiona', sans-serif;
    font-size: 1.6rem;
    color: var(--text);
    line-height: 1;
}

.inv-card-unit {
    font-size: 0.78rem;
    color: var(--muted);
}

.inv-bar-wrap {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.inv-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.inv-bar.green { background: #27ae60; }
.inv-bar.yellow { background: #f39c12; }
.inv-bar.red { background: #e74c3c; }

/* ── Insumos Manuales ────────────────────────────────── */
.manual-supply-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #faf7f2;
    border: 1px solid #e8e2d8;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.manual-supply-row:last-child {
    margin-bottom: 0;
}

.manual-supply-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--wine);
}

.manual-supply-meta {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 2px;
}

.manual-supply-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-inline {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    background: var(--white);
    color: var(--text);
    transition: var(--trans);
}

.qty-inline:focus {
    border-color: var(--gold-soft);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

/* ── Tablas ──────────────────────────────────────────── */
.admin-table-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.admin-table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-table-title {
    font-family: 'Kiona', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--wine);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--bg);
    padding: 13px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.admin-table td {
    padding: 14px 18px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf8f5; }

/* ── Botones ─────────────────────────────────────────── */
.btn-pr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Heebo', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans);
    border: none;
    letter-spacing: 0.03em;
}

.btn-pr-wine { background: var(--wine); color: var(--cream); }
.btn-pr-wine:hover { background: var(--wine-light); transform: translateY(-1px); }
.btn-pr-gold { background: var(--gold); color: var(--wine-dark); font-weight: 600; }
.btn-pr-gold:hover { background: #c9a430; transform: translateY(-1px); }
.btn-pr-outline { background: transparent; border: 1px solid var(--border-dark); color: var(--muted); }
.btn-pr-outline:hover { border-color: var(--wine); color: var(--wine); }
.btn-pr-green { background: var(--green); color: #fff; }
.btn-pr-green:hover { background: #236040; }
.btn-pr-red { background: var(--red); color: #fff; }
.btn-pr-red:hover { background: #a93226; }
.btn-pr-sm { padding: 7px 14px; font-size: 0.8rem; }

/* ── Formularios & Encabezados Limpios ───────────────── */
.admin-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.admin-form-title {
    font-family: 'Kiona', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: var(--wine);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* TEXTO LIMPIO SIN CAJAS NI FONDOS PARA LABELS Y ENCABEZADOS */
.field-label, label {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #6e675f !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.field-label.required::after {
    content: ' *';
    color: var(--wine);
    font-weight: bold;
}

.field-input,
.field-select,
.field-textarea {
    padding: 11px 14px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text);
    outline: none;
    transition: var(--trans);
    width: 100%;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    border-color: var(--gold-soft);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.field-textarea {
    resize: vertical;
    min-height: 85px;
}

/* ── Stepper Venta Manual ────────────────────────────── */
.sales-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: #faf7f2;
    border: 1px solid #e8e2d8;
    border-radius: var(--radius-sm);
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.stepper-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border-dark);
    color: #7a7a7a;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
}

.stepper-step.active .stepper-dot {
    background: var(--wine);
    color: var(--cream);
    box-shadow: 0 2px 8px rgba(106, 40, 49, 0.25);
}

.stepper-step.completed .stepper-dot {
    background: var(--green);
    color: #fff;
}

.stepper-label {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.stepper-step.active .stepper-label {
    color: var(--wine);
    font-weight: 700;
}

.stepper-step.completed .stepper-label {
    color: var(--green);
    font-weight: 600;
}

/* ── Secciones Venta Manual & Resumen ────────────────── */
.sale-section-header {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.sale-form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.sale-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}

.sale-detail-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sale-summary-sidebar {
    background: #faf7f2;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 210px;
}

.summary-card-title {
    font-family: 'Kiona', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    color: var(--wine);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.summary-table td {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.summary-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px solid var(--border);
    font-family: 'Kiona', sans-serif;
    font-size: 1rem;
    color: var(--wine);
}

.product-row-header {
    display: flex;
    gap: 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.product-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.product-row:last-child {
    border-bottom: none;
}

.btn-remove-product {
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--muted);
    width: 36px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.btn-remove-product:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(192, 57, 43, 0.08);
}

.btn-add-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px dashed var(--gold-soft);
    color: var(--wine);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
    margin-top: 14px;
    letter-spacing: 0.03em;
}

.btn-add-product:hover {
    border-color: var(--gold);
    color: var(--wine-dark);
    background: rgba(212, 175, 55, 0.08);
}

.btn-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-next {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--wine);
    color: var(--cream);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Heebo', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--trans);
}

.btn-next:hover {
    background: var(--wine-light);
    transform: translateY(-1px);
}

.btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: 'Heebo', sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--trans);
}

.btn-prev:hover {
    border-color: var(--wine);
    color: var(--wine);
}

/* ── Historial ───────────────────────────────────────── */
.history-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.history-item:last-child {
    border-bottom: none;
}

.history-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.history-dot.in { background: var(--green); }
.history-dot.out { background: var(--red); }

.history-info {
    flex: 1;
}

.history-title {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.history-meta {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.history-amount {
    font-family: 'Kiona', sans-serif;
    font-size: 0.95rem;
}

.history-amount.in { color: var(--green); }
.history-amount.out { color: var(--red); }

/* ── Reseñas & Badges ────────────────────────────────── */
.stars-gold {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.badge-status {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 50px;
}

.badge-approved {
    background: rgba(45, 122, 79, 0.12);
    color: var(--green);
    border: 1px solid rgba(45, 122, 79, 0.3);
}

.empty-state {
    text-align: center;
    padding: 44px 20px;
    color: var(--muted);
}

.empty-state i {
    font-size: 2.2rem;
    opacity: 0.35;
    display: block;
    margin-bottom: 12px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.admin-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--wine-dark);
    color: var(--cream);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.admin-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
    .sale-detail-layout {
        grid-template-columns: 1fr;
    }

    .sale-summary-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }

    .admin-main {
        margin-left: 0;
        min-height: auto;
    }

    .admin-topbar {
        position: static;
        padding: 14px 16px;
    }

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

    .admin-content {
        padding: 20px 16px;
    }
}

@media (max-width: 600px) {
    .sale-form-row {
        grid-template-columns: 1fr !important;
    }

    .product-row {
        flex-wrap: wrap;
    }

    .product-row-header {
        display: none;
    }

    .manual-supply-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .manual-supply-controls {
        width: 100%;
        justify-content: flex-between;
    }

    .qty-inline {
        flex: 1;
    }
}
