* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f7fb;
    --bg-deep: #eef1f8;
    --card: rgba(255,255,255,0.72);
    --stroke: rgba(255,255,255,0.65);
    --text: #111827;
    --muted: #667085;
    --line: rgba(17, 24, 39, 0.08);
    --blue: #0a84ff;
    --blue-deep: #0067d8;
    --shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --success: #0f9d58;
    --danger: #d93025;
    --warning: #b26a00;
    --gray: #7c8796;
    --brown: #8b5d3b;
    --black: #111827;
    --font: Inter, SF Pro Display, SF Pro Text, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(10,132,255,0.10), transparent 24%),
        radial-gradient(circle at bottom right, rgba(120,119,255,0.12), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eff3fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    padding: 32px 26px 46px;
    position: relative;
    overflow-x: hidden;
}

.ambient {
    position: fixed;
    z-index: 0;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.55;
    pointer-events: none;
}

.ambient-1 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -90px;
    background: rgba(10,132,255,0.18);
}

.ambient-2 {
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -120px;
    background: rgba(159,122,234,0.16);
}

.topbar,
.page-grid,
.center-card {
    position: relative;
    z-index: 1;
}

.topbar {
    max-width: 1440px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #0a84ff, #6aaeff);
    box-shadow: 0 16px 40px rgba(10,132,255,0.25);
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.brand-title {
    margin: 0;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-card {
    max-width: 1440px;
    margin: 0 auto;
}

.hero-copy {
    margin-bottom: 20px;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: var(--blue-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    margin: 16px 0 10px;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    max-width: 980px;
}

.hero-title.small {
    font-size: clamp(34px, 5vw, 56px);
}

.hero-text {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--muted);
    line-height: 1.45;
    max-width: 880px;
    margin: 0;
}

.hero-text.centered {
    text-align: center;
}

.glass-panel {
    background: var(--card);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.panel {
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-bottom: 22px;
}

.panel-header {
    margin-bottom: 22px;
}

.panel-header h3,
.summary-head h3,
.lens-type-head h3 {
    margin: 0;
    font-size: clamp(26px, 2vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.panel-header p,
.summary-head p,
.lens-type-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
}

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

.form-grid-large {
    gap: 22px;
}

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

.field-full {
    grid-column: 1 / -1;
}

label,
.label-line {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--muted);
}

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

.input-xl,
.select-xl,
.textarea-xl {
    width: 100%;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255,255,255,0.84);
    color: var(--black);
    border-radius: 22px;
    padding: 20px 22px;
    min-height: 66px;
    font-size: 20px;
    font-weight: 600;
    outline: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.textarea-xl {
    min-height: 140px;
    resize: vertical;
}

.input-xl:focus,
.select-xl:focus,
.textarea-xl:focus {
    border-color: rgba(10,132,255,0.38);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
    transform: translateY(-1px);
}

.primary-btn,
.ghost-btn,
.secondary-btn,
.thickness-chip {
    border: 0;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.secondary-btn:hover,
.thickness-chip:hover {
    transform: translateY(-1px);
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0a84ff 0%, #4ca6ff 100%);
    color: white;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 18px 34px rgba(10,132,255,0.26);
}

.primary-btn-big {
    min-height: 70px;
    width: 100%;
    font-size: 22px;
    border-radius: 22px;
}

.ghost-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(17,24,39,0.08);
    color: var(--black);
    font-weight: 700;
}

.ghost-btn.small {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
}


.ghost-btn.active-nav {
    background: linear-gradient(135deg, #0a84ff 0%, #4ca6ff 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(10,132,255,0.20);
}

.mini-select {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.86);
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

.alert {
    margin: 0 0 20px;
    padding: 18px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
}

.alert-error {
    color: #8b1f17;
    background: rgba(217, 48, 37, 0.10);
    border: 1px solid rgba(217, 48, 37, 0.18);
}

.alert-success {
    color: #116a3a;
    background: rgba(15, 157, 88, 0.10);
    border: 1px solid rgba(15, 157, 88, 0.18);
}

.lens-section-wrap {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.lens-type-block {
    border-radius: var(--radius-xl);
    padding: 26px;
}

.lens-type-head,
.summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.mini-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soft-pill,
.counter-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(17,24,39,0.07);
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
}

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

.color-card {
    border-radius: 24px;
    padding: 22px;
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(17,24,39,0.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.color-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.color-card-head h4 {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.color-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,0.85);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.color-dot.gray {
    background: #7e8591;
}

.color-dot.brown {
    background: #8c613d;
}

.thickness-wrap {
    margin-bottom: 18px;
}

.thickness-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thickness-chip {
    background: white;
    border: 1px solid rgba(17,24,39,0.08);
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
}

.thickness-chip.active {
    color: white;
    background: linear-gradient(135deg, #0a84ff 0%, #4ca6ff 100%);
    box-shadow: 0 16px 28px rgba(10,132,255,0.20);
}

.option-meta {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(17,24,39,0.06);
}

.meta-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.meta-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
}

.qty-row {
    display: grid;
    gap: 14px;
    grid-template-columns: 140px 1fr;
    align-items: end;
}

.empty-card,
.empty-cart-state {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(17,24,39,0.12);
    color: var(--muted);
    background: rgba(255,255,255,0.45);
    font-weight: 600;
}

.summary-panel {
    border-radius: var(--radius-xl);
    padding: 26px;
}

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

.cart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(17,24,39,0.06);
}

.cart-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

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

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

.cart-qty {
    width: 96px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,0.08);
    background: white;
    padding: 0 12px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.summary-actions {
    margin-top: 18px;
}

.table-shell {
    overflow: auto;
    border-radius: 22px;
    border: 1px solid rgba(17,24,39,0.06);
    background: rgba(255,255,255,0.74);
}

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

.data-table th,
.data-table td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(17,24,39,0.06);
    vertical-align: top;
    text-align: left;
}

.data-table th {
    font-size: 13px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
    background: rgba(248,250,252,0.88);
    position: sticky;
    top: 0;
    z-index: 1;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

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

.toolbar-title h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.toolbar-title p {
    margin: 8px 0 0;
    color: var(--muted);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.status-active,
.status-completed {
    color: #116a3a;
    background: rgba(15, 157, 88, 0.12);
}

.status-muted {
    color: #5c6470;
    background: rgba(107, 114, 128, 0.12);
}

.status-new {
    color: #0057b8;
    background: rgba(10,132,255,0.12);
}

.status-processing {
    color: #9a5b00;
    background: rgba(234, 142, 0, 0.14);
}

.status-cancelled {
    color: #8b1f17;
    background: rgba(217, 48, 37, 0.12);
}

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

.kpi-card {
    padding: 22px;
    border-radius: 24px;
}

.kpi-card .mini-kicker {
    margin-bottom: 10px;
}

.kpi-value {
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.kpi-help {
    color: var(--muted);
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.two-col {
    display: grid;
    gap: 22px;
    grid-template-columns: 1.15fr 0.85fr;
}

.detail-card {
    padding: 24px;
    border-radius: 24px;
}

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

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17,24,39,0.06);
}

.detail-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 800;
}

.detail-value {
    font-weight: 700;
    line-height: 1.45;
}

.inline-form {
    display: inline;
}

.button-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.center-card {
    width: min(720px, calc(100% - 32px));
    padding: 34px;
    border-radius: 34px;
    text-align: center;
}

.success-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, #0f9d58, #48c67a);
    box-shadow: 0 22px 40px rgba(15, 157, 88, 0.18);
}

.footer-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1120px) {
    .color-grid,
    .kpi-grid,
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .page-shell {
        padding: 20px 16px 36px;
    }

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

    .form-grid,
    .qty-row,
    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .lens-type-block,
    .summary-panel,
    .panel {
        padding: 20px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ===== Matrix order page refresh ===== */
.order-screen-shell {
    max-width: 1480px;
}

.order-screen-copy {
    margin-bottom: 24px;
}

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

.matrix-top-panel,
.matrix-table-panel,
.matrix-summary-panel {
    border-radius: 30px;
    padding: 28px;
}

.matrix-topbar {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 22px;
    align-items: end;
    margin-bottom: 24px;
}

.matrix-lab-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-lab-select {
    min-height: 78px;
    font-size: 24px;
    font-weight: 800;
    border-radius: 24px;
}

.matrix-selected-state {
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(17,24,39,0.06);
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matrix-selection-line {
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.matrix-button-zone {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
}

.matrix-group-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-group-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 800;
}

.segmented-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.segment-btn {
    border: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.76);
    color: var(--text);
    min-height: 62px;
    padding: 0 22px;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.segment-btn.active {
    background: linear-gradient(135deg, #0a84ff 0%, #4ca6ff 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(10,132,255,0.26);
}

.segment-btn-color.active {
    background: linear-gradient(135deg, #111827 0%, #485267 100%);
}

.matrix-table-shell {
    max-height: 640px;
}

.matrix-order-table td,
.matrix-order-table th,
.cart-order-table td,
.cart-order-table th {
    font-size: 16px;
}

.matrix-order-table td {
    padding-top: 20px;
    padding-bottom: 20px;
}

.table-main-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.table-sub-title {
    color: var(--muted);
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
}

.table-qty-input {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.92);
    padding: 0 14px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.table-qty-input:focus {
    outline: none;
    border-color: rgba(10,132,255,0.38);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
}

.table-add-btn {
    min-height: 52px;
    width: 100%;
    padding: 0 14px;
    border-radius: 16px;
    font-size: 16px;
}

.matrix-empty-state {
    margin-top: 16px;
}

.cart-table-shell {
    margin-top: 12px;
}

.cart-order-table .ghost-btn.small {
    min-height: 44px;
    padding: 0 16px;
}

@media (max-width: 980px) {
    .matrix-topbar,
    .matrix-button-zone {
        grid-template-columns: 1fr;
    }

    .matrix-lab-select {
        font-size: 21px;
    }
}

@media (max-width: 720px) {
    .matrix-top-panel,
    .matrix-table-panel,
    .matrix-summary-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .segment-btn {
        min-height: 56px;
        font-size: 17px;
        padding: 0 16px;
    }

    .matrix-selection-line {
        font-size: 24px;
    }

    .table-main-title {
        font-size: 16px;
    }

    .matrix-order-table td,
    .matrix-order-table th,
    .cart-order-table td,
    .cart-order-table th {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
    }
}


/* ===== Sleek2 compact Windows-style order screen ===== */
.sleek2-page {
    padding: 18px 18px 30px;
    background:
        linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
}

.sleek2-topbar,
.sleek2-shell {
    max-width: 1460px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

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

.sleek2-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sleek2-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0a84ff, #5fb0ff);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(10,132,255,0.22);
}

.sleek2-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

.sleek2-title {
    margin: 2px 0 0;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.sleek2-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sleek2-link {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(17,24,39,0.08);
    color: #334155;
}

.sleek2-alert {
    margin-bottom: 14px;
}

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

.sleek2-toolbar-panel,
.sleek2-table-panel {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.sleek2-toolbar-panel {
    padding: 16px;
}

.sleek2-toolbar-row {
    display: grid;
    grid-template-columns: minmax(280px, 480px) minmax(220px, 1fr);
    gap: 14px;
    align-items: end;
}

.sleek2-lab-wrap {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sleek2-label,
.sleek2-group-title,
.sleek2-state-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #667085;
    font-weight: 800;
}

.sleek2-select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,0.10);
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.sleek2-state-box {
    min-height: 48px;
    border-radius: 14px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(241,245,249,0.95));
    border: 1px solid rgba(17,24,39,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sleek2-state-value {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 3px;
}

.sleek2-switch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin-top: 14px;
    align-items: end;
}

.sleek2-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sleek2-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sleek2-pill {
    appearance: none;
    border: 1px solid rgba(17,24,39,0.10);
    background: linear-gradient(180deg, #ffffff, #f4f7fb);
    color: #1f2937;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 8px 18px rgba(15,23,42,0.05);
}

.sleek2-pill.active {
    background: linear-gradient(180deg, #0a84ff, #0468d7);
    color: #fff;
    border-color: rgba(4,104,215,0.7);
    box-shadow: 0 12px 22px rgba(10,132,255,0.22);
}

.sleek2-pill-color.active {
    background: linear-gradient(180deg, #111827, #374151);
    border-color: rgba(17,24,39,0.8);
}

.sleek2-table-panel {
    padding: 12px 12px 14px;
}

.sleek2-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 2px 4px 8px;
}

.sleek2-table-title {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.sleek2-submit-top,
.sleek2-submit-bottom {
    appearance: none;
    border: 0;
    background: linear-gradient(180deg, #0f172a, #1f2937);
    color: #fff;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15,23,42,0.18);
}

.sleek2-grid-wrap {
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.sleek2-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sleek2-grid thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    color: #475467;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(17,24,39,0.08);
    white-space: nowrap;
}

.sleek2-grid tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(17,24,39,0.07);
    font-size: 13px;
    color: #101828;
    vertical-align: middle;
}

.sleek2-grid tbody tr:nth-child(even) {
    background: rgba(248,250,252,0.85);
}

.sleek2-grid tbody tr:hover {
    background: rgba(10,132,255,0.05);
}

.sleek2-grid .col-sku { width: 150px; }
.sleek2-grid .col-qty { width: 90px; }
.sleek2-grid .col-desc { width: auto; }
.sleek2-grid .col-base { width: 120px; }
.sleek2-grid .col-color { width: 120px; }
.sleek2-grid .col-thickness { width: 130px; }

.sku-cell {
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.desc-cell {
    font-weight: 600;
}

.sleek2-qty {
    width: 64px;
    min-height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(17,24,39,0.10);
    background: #fff;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    color: #111827;
}

.sleek2-qty:focus,
.sleek2-select:focus {
    outline: none;
    border-color: rgba(10,132,255,0.45);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.10);
}

.sleek2-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.sleek2-badge-gray {
    background: rgba(17,24,39,0.08);
    color: #111827;
}

.sleek2-badge-brown {
    background: rgba(146,64,14,0.10);
    color: #92400e;
}

.sleek2-empty {
    padding: 18px 16px;
    font-size: 13px;
    color: #667085;
}

.sleek2-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 4px 0;
}

.sleek2-footer-note {
    font-size: 12px;
    color: #667085;
}

@media (max-width: 980px) {
    .sleek2-toolbar-row,
    .sleek2-switch-row,
    .sleek2-footer-bar,
    .sleek2-table-head,
    .sleek2-topbar {
        grid-template-columns: 1fr;
        display: grid;
        align-items: stretch;
    }

    .sleek2-top-actions {
        justify-content: flex-start;
    }

    .sleek2-footer-bar,
    .sleek2-table-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .sleek2-grid-wrap {
        overflow-x: auto;
    }

    .sleek2-grid {
        min-width: 920px;
    }
}
