:root {
    --bg: #f3f4f6;
    --panel: #ffffff;
    --panel-alt: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --line: #dbe2ea;
    --brand: #0f3d69;
    --brand-strong: #092845;
    --accent: #c96d28;
    --accent-soft: #fff3e8;
    --success-bg: #ecfdf5;
    --success-text: #166534;
    --error-bg: #fff1f2;
    --error-text: #be123c;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: var(--brand);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.app-shell {
    min-height: 100vh;
}

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

.container {
    width: min(1100px, calc(100% - 28px));
    margin: 0 auto;
}

.container.narrow {
    width: min(760px, calc(100% - 28px));
}

.section {
    padding: 56px 0;
}

.section-sm {
    padding: 28px 0;
}

.panel,
.card,
.stat-card,
.table-card,
.form-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel,
.form-card {
    padding: 28px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(219, 226, 234, 0.9);
    backdrop-filter: blur(16px);
}

.site-header-dark {
    background: rgba(5, 8, 28, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.site-header-dark .brand {
    color: #f8fafc;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.08);
}

.site-header-dark .nav-links a {
    color: #cbd5e1;
}

.site-header-dark .nav-links a:hover,
.site-header-dark .nav-links a.is-active {
    color: #ffffff;
}

.site-header-dark .button {
    background: linear-gradient(135deg, #d97706, #c2410c);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(217, 119, 6, 0.24);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--brand);
}

.brand span {
    color: var(--accent);
}

.nav-links,
.inline-actions,
.form-actions,
.dashboard-grid,
.card-grid,
.feature-grid,
.two-col,
.meta-row,
.admin-topbar,
.sidebar-links,
.stats-row {
    display: flex;
    gap: 16px;
}

.nav-links {
    align-items: center;
    flex-wrap: wrap;
}

.mobile-toggle {
    display: none;
}

.hero {
    background: linear-gradient(135deg, #102d49, #1b5b89);
    color: #fff;
}

.hero-theme {
    background:
        radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.28), transparent 28%),
        radial-gradient(circle at 50% 0%, rgba(185, 28, 28, 0.12), transparent 18%),
        #05081c;
}

.hero .container {
    padding: 72px 0 64px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hero-panel {
    max-width: 640px;
}

.hero-panel p {
    font-size: 1rem;
    max-width: 56ch;
    color: #cbd5e1;
}

.hero-tagline {
    font-weight: 700;
    color: #fff7ed;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    position: relative;
    width: min(100%, 420px);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
    background: rgba(255, 255, 255, 0.05);
}

.hero-image-card img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 28, 0.92) 100%);
}

.hero-image-overlay h3 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.35rem;
}

.hero-image-overlay p {
    margin-bottom: 0;
    color: #dbeafe;
    font-size: 0.94rem;
}

.hero-image-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.2);
    color: #fed7aa;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-compact .container {
    padding: 56px 0 48px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.74rem;
    color: var(--accent);
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    margin-bottom: 10px;
}

h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading p,
.muted,
.card p,
.table-card p,
.feature-card p,
.stack-sm p {
    color: var(--muted);
}

.section-heading p,
.product-card p,
.feature-list-item,
.section-cta p,
.form-card p,
.panel p {
    color: #475569;
}

.section-soft {
    background:
        radial-gradient(circle at top, rgba(15, 61, 105, 0.08), transparent 30%),
        linear-gradient(180deg, #eef3fb 0%, #f8fafc 100%);
}

.section-soft-alt {
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.button,
.button-secondary,
.button-ghost,
.table-link,
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.button,
.button-secondary,
.button-ghost {
    min-height: 44px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 0.95rem;
}

.button {
    background: var(--brand);
    color: #fff;
}

.button:hover {
    background: var(--brand-strong);
}

.button-secondary {
    background: linear-gradient(135deg, #d97706, #c2410c);
    color: #fff;
    box-shadow: 0 14px 34px rgba(217, 119, 6, 0.28);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
}

.button-soft {
    background: #eef2ff;
    color: var(--brand);
}

.card-grid {
    flex-wrap: wrap;
}

.card-grid > * {
    flex: 1 1 300px;
}

.card,
.feature-card,
.product-card {
    overflow: hidden;
}

.feature-card,
.product-card,
.stat-card,
.table-card {
    padding: 20px;
}

.panel-soft {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

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

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #0f3d69;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    flex: 0 0 22px;
}

.section-cta {
    margin-top: 24px;
    text-align: center;
    font-weight: 600;
    color: #0f172a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
}

.quote-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.commitment-grid,
.quality-grid {
    display: grid;
    gap: 18px;
    margin-top: 10px;
}

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

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

.commitment-card,
.quality-card {
    background: rgba(255, 255, 255, 0.96);
}

.quality-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quality-card p,
.commitment-card p {
    margin-bottom: 0;
}

.product-name-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.product-name-item {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 61, 105, 0.08);
    color: #0f3d69;
    font-size: 0.92rem;
    font-weight: 600;
}

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

.review-grid,
.review-summary-grid,
.review-stats {
    display: grid;
    gap: 18px;
}

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

.review-summary-grid,
.review-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 18px;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.review-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-card h3 {
    margin-bottom: 4px;
}

.review-stars {
    color: #d97706;
    font-size: 1rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.brochure-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.whatsapp-quote-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96) 0%, rgba(220, 252, 231, 0.92) 100%);
}

.whatsapp-quote-card h3 {
    margin-bottom: 8px;
    color: #166534;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(22, 163, 74, 0.28);
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.whatsapp-float__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.whatsapp-float__text {
    font-weight: 700;
    white-space: nowrap;
}

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: center;
}

.catalog-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.catalog-summary-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.catalog-summary-card strong,
.catalog-hero-card__content h3 {
    display: block;
    color: #ffffff;
}

.catalog-summary-card strong {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.catalog-summary-card span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.catalog-hero-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.catalog-hero-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.catalog-hero-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 28, 0.94) 100%);
}

.catalog-hero-card__content p {
    margin-bottom: 0;
    color: #dbeafe;
}

.catalog-category-block {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.catalog-category-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.catalog-category-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.catalog-showcase-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dde6ef;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.catalog-showcase-card__image-wrap {
    position: relative;
}

.catalog-showcase-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.catalog-index {
    position: absolute;
    top: 14px;
    right: 14px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 28, 0.86);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.catalog-showcase-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.catalog-showcase-card__body h3 {
    margin-bottom: 0;
    font-size: 1.18rem;
    color: #0f172a;
}

.catalog-showcase-card__body p {
    margin-bottom: 0;
    color: #475569;
}

.catalog-showcase-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #b45309;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.product-meta,
.meta-row {
    justify-content: space-between;
    align-items: center;
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.87rem;
}

.stack-sm > * + * {
    margin-top: 10px;
}

.stack-md > * + * {
    margin-top: 16px;
}

.flash {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    margin-bottom: 18px;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #bbf7d0;
}

.flash-error {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: #fecdd3;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.admin-editor-card {
    padding: 24px;
}

.admin-editor-form {
    gap: 14px;
}

.form-card-soft {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(203, 213, 225, 0.88);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

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

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.94rem;
}

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

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

.table-wrap {
    overflow-x: auto;
}

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

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    border-top: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.table-link {
    background: transparent;
    padding: 0;
    color: var(--brand);
}

.table-link.danger {
    color: #b91c1c;
}

.dashboard-grid {
    flex-wrap: wrap;
}

.dashboard-grid > * {
    flex: 1 1 220px;
}

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

.admin-layout {
    min-height: 100vh;
    display: block;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    background: #0f172a;
    color: #e2e8f0;
    padding: 28px 20px;
    z-index: 30;
}

.sidebar-links {
    flex-direction: column;
}

.sidebar-links a {
    color: #e2e8f0;
    padding: 12px 14px;
    border-radius: 14px;
}

.sidebar-links a:hover,
.sidebar-links a.is-active {
    background: #1e293b;
}

.admin-main {
    margin-left: 280px;
    min-width: 0;
    padding: 26px;
}

.admin-topbar {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.admin-user {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 16px;
}

.split-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(320px, 380px) 1fr;
}

.admin-product-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.admin-category-form {
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.4fr) auto;
    align-items: start;
    gap: 18px;
}

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

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

.field-actions {
    display: grid;
    align-content: start;
    gap: 14px;
}

.category-actions {
    align-content: end;
    min-width: 240px;
}

.admin-form-footer {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(260px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.product-form-card .section-heading {
    margin-bottom: 26px;
}

.image-preview-field,
.field-actions {
    min-height: 100%;
}

.image-preview-card {
    min-height: 120px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.image-preview-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge,
.chip {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-active,
.status-new {
    background: #dcfce7;
    color: #166534;
}

.status-hidden,
.status-inactive {
    background: #e2e8f0;
    color: #334155;
}

.status-contacted,
.status-quoted {
    background: #fef3c7;
    color: #92400e;
}

.status-closed {
    background: #e0e7ff;
    color: #3730a3;
}

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

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0f172a;
}

.checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand);
    flex: 0 0 16px;
}

.plain-checkbox {
    min-height: 40px;
    padding-top: 4px;
}

.admin-form-actions,
.field-actions .form-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.admin-form-actions .button,
.admin-form-actions .button-soft {
    min-width: 132px;
}

.danger-button {
    background: #b91c1c;
    color: #fff;
}

.danger-button:hover {
    background: #991b1b;
}

.confirm-modal[hidden] {
    display: none;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}

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

.confirm-modal__dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.confirm-modal__dialog h2 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.confirm-modal__dialog p {
    margin-bottom: 18px;
    color: #475569;
}

.catalog-table-card {
    overflow: hidden;
}

.catalog-table {
    min-width: 860px;
}

.catalog-table td strong {
    color: #0f172a;
}

.catalog-product-cell {
    min-width: 220px;
}

.catalog-image {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.catalog-inline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.catalog-action {
    white-space: nowrap;
}

.admin-data-table-card {
    overflow: hidden;
}

.admin-data-table {
    width: 100%;
}

.admin-data-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-data-table td {
    white-space: nowrap;
}

.admin-data-table tbody td {
    vertical-align: middle;
}

.admin-data-table td.catalog-product-cell {
    white-space: normal;
    min-width: 320px;
}

.admin-data-table td:first-child {
    min-width: 180px;
}

.admin-data-table .catalog-inline {
    align-items: flex-start;
}

.admin-data-table .catalog-image {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 16px;
}

.dt-container {
    display: grid;
    gap: 16px;
}

.dt-layout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.dt-layout-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.dt-length label,
.dt-search label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-weight: 600;
}

.dt-search input,
.dt-length select {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    padding: 8px 12px;
    color: #0f172a;
}

.dt-search input {
    min-width: min(280px, 100%);
}

.dt-search {
    justify-content: flex-end;
}

.dt-length {
    justify-content: flex-start;
}

.dt-scroll {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.dt-scroll-head {
    background: #f8fafc;
}

.dt-scroll-body {
    background: #ffffff;
}

.dt-scroll-body::-webkit-scrollbar {
    height: 10px;
}

.dt-scroll-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.dt-info {
    color: #64748b;
    font-size: 0.92rem;
}

.dt-info,
.dt-paging {
    margin-top: 4px;
}

.dt-paging {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dt-paging-button {
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    color: #0f3d69 !important;
    cursor: pointer;
    transition: 0.2s ease;
}

.dt-paging-button.current,
.dt-paging-button:hover {
    background: #0f3d69;
    border-color: #0f3d69;
    color: #ffffff !important;
}

.dt-column-order {
    margin-left: 6px;
    opacity: 0.45;
}

.dt-column-order:hover {
    opacity: 0.85;
}

.site-footer {
    background: #0f172a;
    color: #fff;
    margin-top: 56px;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer-dark {
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.16), transparent 24%),
        #05081c;
}

.site-footer .container {
    padding: 42px 0 22px;
}

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

.copyright {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.login-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
}

.login-card {
    max-width: 520px;
    margin: 0 auto;
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.28), transparent 24%),
        radial-gradient(circle at 50% 0%, rgba(185, 28, 28, 0.14), transparent 20%),
        #05081c;
}

.login-card-compact {
    width: min(380px, calc(100% - 28px));
    padding: 26px 26px 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.login-brand {
    margin-bottom: 14px;
    color: #8a98b2;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.login-card-compact h1 {
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1.1;
}

.login-intro {
    margin-bottom: 22px;
    color: #64748b;
    font-size: 0.98rem;
}

.login-card-compact .field label {
    font-size: 0.9rem;
    color: #334155;
}

.login-card-compact .field input {
    min-height: 42px;
    background: #dfe9f7;
    border: 1px solid #c5d2e4;
    border-radius: 12px;
}

.login-card-compact .field input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}

.login-actions {
    margin-top: 4px;
}

.login-button {
    width: 100%;
    min-height: 40px;
    background: #070b21;
    font-size: 0.95rem;
}

.login-button:hover {
    background: #111936;
}

.login-footnote {
    margin: 18px 0 0;
    color: #94a3b8;
    font-size: 0.92rem;
}

.login-footnote a {
    font-weight: 700;
}

.home-feature-copy,
.product-card p,
.feature-card p,
.form-card p {
    font-size: 0.96rem;
}

.product-card .button,
.form-actions .button,
.form-actions .button-soft {
    min-width: 140px;
}

@media (max-width: 960px) {
    .admin-layout,
    .split-layout,
    .about-grid,
    .quote-layout,
    .product-grid,
    .feature-grid,
    .review-grid,
    .catalog-hero,
    .catalog-card-grid,
    .two-up,
    .commitment-grid,
    .quality-grid,
    .form-grid.two,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px;
    }

    .admin-sidebar {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
    }

    .admin-category-form,
    .admin-user-form,
    .admin-form-footer {
        grid-template-columns: 1fr;
    }

    .nav-bar {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0 12px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .mobile-toggle {
        display: inline-flex;
        border: 1px solid var(--line);
        background: #fff;
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 0.92rem;
    }

    .site-header-dark .mobile-toggle {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        border-color: rgba(148, 163, 184, 0.28);
    }

    .hero .container,
    .hero-compact .container {
        padding: 52px 0 44px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-visual {
        justify-content: stretch;
    }

    .catalog-summary {
        grid-template-columns: 1fr;
    }

    .catalog-category-head {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-actions,
    .form-actions,
    .meta-row,
    .product-meta,
    .brochure-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .button-secondary,
    .button-ghost,
    .button-soft {
        width: 100%;
    }

    .panel,
    .form-card,
    .feature-card,
    .product-card,
    .stat-card,
    .table-card {
        padding: 18px;
    }

    .product-card img {
        height: 190px;
    }

    .hero-image-card {
        width: 100%;
    }

    .hero-image-card img {
        height: 320px;
    }

    .data-table {
        min-width: 720px;
    }

    .dt-layout-row,
    .dt-layout-cell {
        align-items: stretch;
    }

    .dt-search label,
    .dt-length label {
        width: 100%;
    }

    .dt-search input,
    .dt-length select {
        width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .container,
    .container.narrow {
        width: min(100%, calc(100% - 20px));
    }

    .section {
        padding: 40px 0;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .hero-panel p {
        font-size: 0.95rem;
    }

    .hero-image-card img {
        height: 260px;
    }

    .eyebrow {
        letter-spacing: 0.18em;
        font-size: 0.68rem;
    }

    .product-grid,
    .feature-grid,
    .dashboard-grid,
    .card-grid,
    .catalog-summary,
    .catalog-card-grid {
        gap: 16px;
    }

    .catalog-category-block {
        padding: 18px;
    }

    .catalog-showcase-card__image {
        height: 200px;
    }

    .login-shell {
        padding: 18px 0;
    }

    .login-card-compact {
        width: min(100%, calc(100% - 20px));
        padding: 22px 18px 20px;
    }

    .login-card-compact h1 {
        font-size: 1.7rem;
    }

    .admin-product-form,
    .admin-category-form,
    .admin-user-form,
    .admin-form-footer {
        grid-template-columns: 1fr;
    }

    .field-span-full {
        grid-column: auto;
    }

    .whatsapp-float {
        right: 12px;
        left: 12px;
        bottom: 12px;
        justify-content: center;
    }
}
