:root {
    --bg: #f4f8ff;
    --surface: #ffffff;
    --surface-soft: #eaf3ff;
    --surface-strong: #d7e8ff;
    --ink: #111827;
    --muted: #64748b;
    --accent: #1e66ff;
    --accent-dark: #0f3fb8;
    --accent-ink: #092b7a;
    --brand-red: #39bdf8;
    --brand-red-dark: #0ea5e9;
    --line: rgba(17, 24, 39, .12);
    --border: rgba(17, 24, 39, .12);
    --shadow: 0 24px 70px rgba(47, 63, 153, .14);
    --radius: 24px;
}* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(47, 63, 153, .13), transparent 35%),
        var(--bg);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(245, 247, 255, .91);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    color: #fff;
    font-weight: 700;
    letter-spacing: -.05em;
    box-shadow: 0 14px 30px rgba(47, 63, 153, .18);
    border: 1px solid rgba(47, 63, 153, .12);
    overflow: hidden;
}
.brand-mark img { width: 42px; height: 42px; object-fit: contain; display:block; }
.brand strong { display: block; line-height: 1.1; font-size: 17px; font-weight: 650; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 13x;
}
.main-nav a:hover,
.main-nav a.active { background: #fff; color: var(--accent-dark); box-shadow: 0 8px 26px rgba(47, 63, 153, .10); }
.nav-toggle { display: none; border: 0; background: var(--surface); border-radius: 12px; padding: 8px 12px; color: var(--accent-dark); }
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .14), transparent 26%),
        linear-gradient(135deg, rgba(223, 231, 255, .82), rgba(255, 255, 255, .42)),
        radial-gradient(circle at 85% 15%, rgba(47, 63, 153, .18), transparent 30%);
    border-bottom: 1px solid var(--line);
}
.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: -120px -80px auto auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 102, 255, .16), transparent 68%);
    pointer-events: none;
}
.hero-slider-section { padding: 0; }
.hero-slider-track { position: relative; min-height: 560px; }
.hero-slide {
    display: none;
    padding: 72px 0 86px;
    position: absolute;
    inset: 0;
    width: 100%;
}
.hero-slide.active { display: block; position: relative; animation: fadeIn .55s ease; }
@keyframes fadeIn { from { opacity: .15; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero-grid,
.split,
.contact-grid,
.modal-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(30, 102, 255, .28);
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
}
h1,
h2,
h3 { line-height: 1.13; margin: 0 0 14px; letter-spacing: -.04em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(25px, 3vw, 38px); }
h3 { font-size: 19px; }
p { color: var(--muted); margin: 0 0 20px; }
.hero-copy p { font-size: 17px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn,
.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 700;
    transition: .2s ease;
}
.btn { padding: 11px 17px; min-height: 44px; font-size: 14px; }
.btn.primary { color: #fff !important; background: linear-gradient(135deg, #1e66ff, #0ea5e9); box-shadow: 0 12px 28px rgba(30, 102, 255, .26); border: 1px solid rgba(255,255,255,.20); }
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost { background: #fff; color: var(--accent-dark) !important; border: 1px solid #b9d3ff; box-shadow: 0 8px 22px rgba(30, 102, 255, .10); }
.btn.full { width: 100%; }
.btn.light { background: #fff; color: var(--accent-dark); box-shadow: none; }
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.44); }
.btn.danger { background: #dc2626; color: #fff !important; border: 1px solid #b91c1c; box-shadow: 0 10px 22px rgba(220, 38, 38, .18); }
.hero-card,
.material-card {
    border-radius: var(--radius);
    background: linear-gradient(145deg, #fff, #f0f4ff);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.72);
    padding: 20px;
}
.hero-photo-card img,
.material-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px;
    background: var(--surface-strong);
}
.hero-slider-ui {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.hero-dots,
.hero-arrows { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(47, 63, 153, .24);
    cursor: pointer;
    transition: .2s ease;
}
.hero-dots button.active { width: 32px; background: var(--brand-red); }
.hero-arrows button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(47, 63, 153, .12);
}
.section { padding: 64px 0; }
.section.soft { background: rgba(255,255,255,.54); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.feature-stack { display: grid; gap: 14px; }
.feature-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    font-weight: 600;
    box-shadow: 0 12px 35px rgba(47, 63, 153, .07);
}
.feature-item span { margin-right: 10px; color: var(--accent-dark); font-weight: 700; }
.link-arrow { color: var(--accent-dark); font-weight: 700; }
.link-arrow::after { content: " →"; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(47, 63, 153, .08);
    transition: .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(47, 63, 153, .12); }
.product-card { position: relative; }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--brand-red)); }
.product-card > img { width: 100%; height: 200px; object-fit: cover; background: #dfe7ff; }
.product-body { padding: 18px; }
.product-body span,
.modal-copy span { color: var(--accent-dark); font-size: 12px; text-transform: uppercase; font-weight: 900; letter-spacing: .11em; }
.small-btn { padding: 9px 14px; min-height: 38px; background: linear-gradient(135deg, #0f3fb8, #1e66ff); color: #fff !important; font-size: 13px; border: 1px solid rgba(255,255,255,.20); box-shadow: 0 10px 22px rgba(30, 102, 255, .18); }
.small-btn.outline { background: #fff; color: var(--accent-dark) !important; border: 1px solid #9ec5ff; box-shadow: 0 8px 18px rgba(30, 102, 255, .10); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page-hero {
    position: relative;
    padding: 58px 0;
    background:
        radial-gradient(circle at 88% 20%, rgba(14, 165, 233, .14), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.72), rgba(223,231,255,.55));
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero.compact h1 { font-size: clamp(32px, 4.5vw, 48px); }
.catalog-grid { grid-template-columns: repeat(3, 1fr); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.vm-card,
.contact-card,
.admin-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 18px 46px rgba(47, 63, 153, .08);
}
.vm-card.dark { background: linear-gradient(135deg, #172d80, #0f172a); color: #fff; }
.vm-card.dark p { color: rgba(255,255,255,.78); }
.vm-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-soft); color: var(--accent-dark); font-weight: 900; margin-bottom: 18px; }
.contact-card.large { min-height: 360px; }
.contact-card.accent { background: linear-gradient(135deg, var(--accent-dark), var(--brand-red)); color: #fff; }
.contact-card.accent p { color: rgba(255,255,255,.82); }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-list div { padding: 14px; border-radius: 16px; background: var(--surface-soft); }
.contact-list strong,
.contact-list span { display: block; }
.contact-list span { color: var(--muted); }
.site-footer { padding: 54px 0 24px; background: #082766; color: #fff; }
.site-footer p { color: rgba(255,255,255,.70); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { font-size: 16px; }
.footer-wa { display: inline-block; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-weight: 650; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.52); font-size: 13px; }
.ghost-admin { opacity: .04; font-size: 10px; transition: .2s; }
.ghost-admin:hover { opacity: .62; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; }
.modal.show { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 31, 73, .66); backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(980px, calc(100% - 28px)); max-height: calc(100vh - 40px); overflow: auto; margin: 20px auto; background: var(--surface); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--accent-dark); font-size: 28px; cursor: pointer; }
.modal-main-img { width: 100%; height: 390px; object-fit: cover; border-radius: 20px; background: #dfe7ff; }
.thumb-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb-row button { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; cursor: pointer; background: none; }
.thumb-row button.active { border-color: var(--accent-dark); }
.thumb-row img { width: 74px; height: 58px; object-fit: cover; }
.info-box { border: 1px solid var(--line); background: var(--surface-soft); border-radius: 18px; padding: 16px; margin: 18px 0; }
.info-box p { margin-bottom: 0; }
.price-label { color: var(--accent-dark); font-weight: 700; }
.admin-page { background: #f5f7ff; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.login-card label,
.admin-form label,
.product-edit-card label { display: grid; gap: 7px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
input,
textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; background: #fff; outline: none; color: var(--ink); }
textarea { min-height: 106px; resize: vertical; }
input:focus,
textarea:focus { border-color: rgba(47,63,153,.60); box-shadow: 0 0 0 4px rgba(47,63,153,.12); }
.alert { padding: 13px 15px; border-radius: 16px; margin-bottom: 16px; font-weight: 600; }
.alert.error { background: #eef6ff; color: #0f3fb8; }
.alert.success { background: #edf8ee; color: #207227; }
.alert.info { background: #eef3ff; color: #172d80; border: 1px solid #dbe3ff; }
.admin-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 24px min(42px, 5vw); background: #fff; border-bottom: 1px solid var(--line); }
.admin-header h1 { margin: 0; font-size: 26px; font-weight: 650; }
.admin-header nav { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-header nav a { padding: 9px 12px; border-radius: 999px; background: #fff; color: var(--accent-dark) !important; border: 1px solid #b9d3ff; font-weight: 650; box-shadow: 0 8px 18px rgba(30, 102, 255, .08); }
.admin-layout { width: min(1180px, calc(100% - 32px)); margin: 28px auto 60px; display: grid; gap: 24px; }
.admin-card h2 { margin-bottom: 20px; }
.admin-card h3 { margin-top: 22px; font-size: 18px; font-weight: 650; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.admin-products { display: grid; gap: 18px; }
.product-edit-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #f8faff; }
.delete-form { margin: -8px 0 20px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
small { color: var(--muted); font-weight: 500; }
.slide-admin-grid { display: grid; gap: 16px; margin: 12px 0 24px; }
.admin-help { margin-top: -8px; }
.slide-edit-card {
    border: 1px solid var(--line);
    background: #f8faff;
    border-radius: 20px;
    padding: 18px;
}
.slide-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.slide-edit-head img { width: 104px; height: 70px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #dfe7ff; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.detail-gallery,
.detail-content { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
.detail-main-image { width: 100%; height: 330px; object-fit: cover; border-radius: 22px; background: #dfe7ff; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.detail-thumbs img { width: 100%; height: 96px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); background: #dfe7ff; cursor: pointer; }
.info-box.wide { margin: 22px 0; }
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { position: absolute; top: 78px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
    .main-nav.show { display: flex; }
    .main-nav a { text-align: center; }
    .hero-grid,
    .split,
    .contact-grid,
    .modal-grid,
    .product-detail-grid { grid-template-columns: 1fr; }
    .reverse-mobile .material-card { order: 2; }
    .product-grid,
    .catalog-grid,
    .footer-grid,
    .vm-grid,
    .form-grid { grid-template-columns: 1fr; }
    .hero-slider-track { min-height: 760px; }
    .hero-slide { padding: 46px 0 104px; }
    .hero-photo-card img,
    .material-card img,
    .detail-main-image { height: 260px; }
    .section { padding: 46px 0; }
    .modal-panel { padding: 18px; }
    .modal-main-img { height: 260px; }
    .admin-header { align-items: flex-start; flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}


/* Final typography tuning per client request */
body { font-size: 15px; }
p { font-size: 15px; }
h1 { font-size: clamp(24px, 5vw, 28px); font-weight: 550; letter-spacing: -.025em; }
h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 500; letter-spacing: -.025em; }
h3 { font-size: 18px; font-weight: 500; letter-spacing: -.018em; }
.page-hero.compact h1 { font-size: clamp(24px, 5vw, 28px); font-weight: 550; }
.brand strong { font-size: 17px; font-weight: 550; }
.main-nav a { font-size: 14px; font-weight: 500; }
.btn { font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.small-btn { font-size: 13px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.eyebrow,
.section-label,
.product-body span,
.modal-copy span { font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.login-card label,
.admin-form label,
.product-edit-card label { font-size: 14px; font-weight: 400; }
.admin-header h1 { font-size: 15px; font-weight: 400; }
.btn:focus-visible, .small-btn:focus-visible, .hero-arrows button:focus-visible, .hero-dots button:focus-visible { outline: 3px solid rgba(30,102,255,.25); outline-offset: 2px; }
.btn.primary, button.btn.primary { color: #fff !important; background: linear-gradient(135deg, #1e66ff, #0ea5e9) !important; border: 1px solid rgba(255,255,255,.22); }
.btn.ghost, a.btn.ghost { color: #0f3fb8 !important; background: #fff !important; border: 1px solid #9ec5ff !important; }
.btn.danger, button.btn.danger { color: #fff !important; background: #dc2626 !important; border-color: #b91c1c !important; }
.small-btn, a.small-btn { color: #fff !important; background: linear-gradient(135deg, #0f3fb8, #1e66ff) !important; border: 1px solid rgba(255,255,255,.22); }
.small-btn.outline, a.small-btn.outline { color: #0f3fb8 !important; background: #fff !important; border: 1px solid #8bbcff !important; }
.button-row, .card-actions, .hero-actions { align-items: center; }
.admin-card .btn, .login-card .btn, .product-edit-card .btn { min-width: 138px; }
.delete-form .btn { min-width: 180px; }
input, textarea { font-size: 14px; }
@media (max-width: 860px) {
    body { font-size: 14px; }
    h1 { font-size: clamp(24px, 7vw, 28px); font-weight: 550; }
    h2 { font-size: clamp(20px, 6vw, 26px); font-weight: 500; }
    .hero-copy p { font-size: 15px; }
    .btn { width: auto; }
    .hero-actions .btn { width: 100%; }
}

/* Button/menu reset per client request: no border and no background */
.main-nav a,
.admin-header nav a,
.nav-toggle,
.btn,
a.btn,
button.btn,
.small-btn,
a.small-btn,
button.small-btn,
.hero-arrows button,
.hero-dots button,
.modal-close,
.thumb-row button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.main-nav a,
.admin-header nav a {
    color: var(--ink) !important;
    padding: 8px 10px;
    border-radius: 0;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.admin-header nav a:hover {
    color: var(--accent-dark) !important;
    text-decoration: underline;
    text-underline-offset: 5px;
    background: transparent !important;
    box-shadow: none !important;
}

.btn,
a.btn,
button.btn,
.small-btn,
a.small-btn,
button.small-btn {
    min-height: auto;
    padding: 7px 0;
    border-radius: 0;
    color: var(--accent-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px !important;
    transform: none !important;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
.small-btn:hover,
a.small-btn:hover,
button.small-btn:hover {
    color: var(--accent) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn.primary,
button.btn.primary,
a.btn.primary,
.btn.ghost,
a.btn.ghost,
button.btn.ghost,
.small-btn,
a.small-btn,
button.small-btn,
.small-btn.outline,
a.small-btn.outline,
button.small-btn.outline {
    color: var(--accent-dark) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.btn.danger,
button.btn.danger,
a.btn.danger {
    color: #b91c1c !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.btn.light,
.btn.ghost.light,
a.btn.light,
a.btn.ghost.light {
    color: #ffffff !important;
}

.nav-toggle {
    color: var(--accent-dark);
    padding: 8px 0;
    border-radius: 0;
}

.hero-arrows button {
    color: var(--accent-dark);
    width: 34px;
    height: 34px;
    font-size: 24px;
}

.hero-dots button {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 0;
    position: relative;
    color: rgba(15, 63, 184, .35);
}

.hero-dots button::before {
    content: "●";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 14px;
    line-height: 1;
}

.hero-dots button.active {
    width: 18px;
    color: var(--accent-dark);
    background: transparent !important;
}

.modal-close {
    color: var(--accent-dark);
}

.thumb-row button.active {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

.admin-card .btn,
.login-card .btn,
.product-edit-card .btn,
.delete-form .btn {
    min-width: auto;
}

@media (max-width: 860px) {
    .main-nav a { text-align: center; }
    .hero-actions .btn { width: auto; }
}

/* Applied custom MBB logo */
.brand-mark img { width: 42px; height: 42px; object-fit: contain; display:block; }

/* Admin clean audit update */
.login-page-clean { background: #f7f9fd; }
.simple-login-shell { min-height: 100vh; padding: 22px; }
.simple-login-card {
    width: min(340px, 100%);
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    display: grid;
    gap: 12px;
}
.simple-login-card h1 { margin: 2px 0 8px; text-align: center; font-size: 20px; font-weight: 550; }
.login-logo { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 4px; }
.simple-login-card input { border-radius: 9px; padding: 10px 12px; }
.simple-login-card .alert { margin: 0; }
.simple-login-card .btn.primary {
    display: flex;
    width: 100%;
    padding: 10px 14px;
    border-radius: 9px;
    background: #0f3fb8 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.admin-layout-clean { gap: 16px; margin-top: 20px; }
.admin-status-line {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
    padding: 0 2px;
}
.admin-status-line span { background: transparent; border: 0; padding: 0; }
.admin-header { padding: 14px min(28px, 5vw); box-shadow: none; }
.admin-header nav a {
    padding: 7px 0;
    color: var(--accent-dark) !important;
    text-decoration: none !important;
}
.admin-header nav a:hover { text-decoration: underline !important; }
.admin-card {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 14px;
    padding: 18px;
}
.admin-card h2 { margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #e5eaf4; }
.admin-card h3 { margin-top: 18px; margin-bottom: 10px; }
.product-edit-card,
.slide-edit-card {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 12px;
    background: #f8fafc;
    padding: 14px;
}
.admin-help { font-size: 13px; margin-bottom: 10px; }
.admin-page input,
.admin-page textarea {
    border: 1px solid #d7deea;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
}
.admin-page textarea { min-height: 92px; }
.admin-page input:focus,
.admin-page textarea:focus {
    border-color: #1e66ff;
    box-shadow: 0 0 0 3px rgba(30,102,255,.12);
}
.admin-page .btn,
.admin-page a.btn,
.admin-page button.btn,
.admin-page .small-btn,
.admin-page a.small-btn,
.admin-page button.small-btn {
    border-radius: 8px !important;
    padding: 9px 13px !important;
    min-height: 38px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.admin-page .btn.primary,
.admin-page button.btn.primary,
.admin-page a.btn.primary {
    background: #0f3fb8 !important;
    color: #fff !important;
    border: 0 !important;
}
.admin-page .btn.ghost,
.admin-page a.btn.ghost,
.admin-page button.btn.ghost {
    background: #edf4ff !important;
    color: #0f3fb8 !important;
    border: 0 !important;
}
.admin-page .btn.danger,
.admin-page button.btn.danger,
.admin-page a.btn.danger {
    background: #dc2626 !important;
    color: #fff !important;
    border: 0 !important;
}
.admin-page .delete-form { margin: -6px 0 16px; }
.admin-page .alert { border-radius: 10px; font-weight: 500; }

/* FINAL AUDIT: text must not be wrapped by borders/backgrounds, action buttons stay visible */
body.admin-page,
.login-page-clean { background: #ffffff; }

.feature-item,
.vm-card,
.contact-card,
.info-box,
.admin-card,
.product-edit-card,
.slide-edit-card,
.detail-content,
.section.soft,
.contact-list div {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-card,
.product-edit-card,
.slide-edit-card,
.vm-card,
.contact-card,
.info-box,
.detail-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.admin-card h2 {
    border: 0 !important;
    padding-bottom: 0 !important;
}

.simple-login-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.btn,
a.btn,
button.btn,
.small-btn,
a.small-btn,
button.small-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.btn.primary,
a.btn.primary,
button.btn.primary,
.small-btn,
a.small-btn,
button.small-btn {
    background: #0f3fb8 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.btn.ghost,
a.btn.ghost,
button.btn.ghost,
.small-btn.outline,
a.small-btn.outline,
button.small-btn.outline {
    background: #eaf3ff !important;
    color: #0f3fb8 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.btn.danger,
a.btn.danger,
button.btn.danger {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-header nav a,
.main-nav a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.media-list { display: grid; gap: 12px; }
.media-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; }
.media-row img { width: 70px; height: 54px; object-fit: cover; border-radius: 8px; background: #eef4ff; }
.media-row strong,
.media-row span,
.media-row small { display: block; }
.media-row span { color: var(--accent-dark); font-size: 12px; word-break: break-all; }
.media-row small { color: var(--muted); font-size: 12px; }

/* ADMIN UX UPDATE: grouped inputs, dropdown navigation, smaller/lighter typography */
body { font-size: 13px; }
p { font-size: 13px; }
h1 { font-size: clamp(22px, 5vw, 26px); font-weight: 500; }
h2 { font-size: clamp(18px, 3vw, 24px); font-weight: 450; }
h3 { font-size: 16px; font-weight: 450; }
.brand strong { font-size: 16px; font-weight: 500; }
.brand small { font-size: 11px; }
.main-nav a { font-size: 13px; font-weight: 450; }
.eyebrow,
.section-label { font-size: 9px; font-weight: 450; }
.btn { font-size: 12px; font-weight: 450 !important; }
.small-btn { font-size: 11px; font-weight: 450 !important; }

body.admin-page {
    font-size: 13px;
    font-weight: 350;
    background: #fff !important;
}
.admin-header h1 {
    font-size: 13px !important;
    font-weight: 350 !important;
}
.admin-header nav a {
    font-size: 13px !important;
    font-weight: 350 !important;
}
.admin-layout {
    gap: 18px;
}
.admin-card,
.admin-card-flat,
.product-edit-card,
.slide-edit-card,
.product-admin-item,
.media-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.admin-card,
.admin-card-flat {
    padding: 0 !important;
}
.admin-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
}
.admin-section-head h2,
.admin-card h2 {
    font-size: 13px !important;
    font-weight: 350 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
}
.admin-card h3,
.product-edit-card h3,
.admin-group h3 {
    font-size: 16px !important;
    font-weight: 450 !important;
    margin: 0 0 12px !important;
}
.admin-dropdown-label,
.admin-form label,
.login-card label,
.product-edit-card label,
.slide-edit-card label {
    font-size: 12px !important;
    font-weight: 350 !important;
    color: var(--ink);
}
.admin-page input,
.admin-page textarea,
.admin-page select {
    font-size: 12px !important;
    font-weight: 350 !important;
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 8px 10px;
    width: 100%;
}
.admin-page textarea {
    min-height: 84px;
}
.admin-select {
    min-width: 230px;
}
.admin-group[hidden],
.product-admin-item[hidden] {
    display: none !important;
}
.admin-group,
.product-admin-item {
    margin-top: 8px;
}
.grouped-admin-form,
.admin-products {
    display: block;
}
.slide-edit-card {
    padding: 0 0 12px !important;
    margin: 0 0 14px !important;
}
.slide-edit-card summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 450;
    color: var(--accent-dark);
    margin-bottom: 10px;
}
.admin-thumb {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}
.admin-action-bar,
.button-row {
    margin-top: 12px;
}
.admin-page .btn,
.admin-page a.btn,
.admin-page button.btn,
.admin-page .small-btn,
.admin-page a.small-btn,
.admin-page button.small-btn {
    font-size: 12px !important;
    font-weight: 450 !important;
    min-height: 34px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
}
.delete-form {
    margin: 8px 0 22px !important;
}
.admin-help,
.admin-status-line,
.media-row span,
.media-row small,
small {
    font-size: 11px !important;
    font-weight: 350 !important;
}
.simple-login-card h1 {
    font-size: 18px !important;
    font-weight: 500 !important;
}
.simple-login-card input {
    font-size: 12px !important;
    font-weight: 350 !important;
}
.media-upload-form {
    margin-bottom: 10px;
}
@media (max-width: 760px) {
    body { font-size: 12px; }
    p { font-size: 12px; }
    h1 { font-size: clamp(22px, 7vw, 26px); }
    h2 { font-size: clamp(18px, 6vw, 24px); }
    .admin-section-head {
        display: block;
    }
    .admin-select {
        min-width: 0;
    }
}


/* Catalog category grouping */
.catalog-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.catalog-filter-row label {
    font-size: 13px;
    font-weight: 450;
    color: var(--ink);
}
.catalog-filter-select {
    min-width: 230px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 400;
}
.catalog-category-list {
    display: grid;
    gap: 30px;
}
.catalog-category-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 14px;
}
.catalog-category-heading h2 {
    margin: 0;
}
.catalog-category-heading span {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}
.catalog-category-block[hidden] {
    display: none !important;
}
@media (max-width: 640px) {
    .catalog-filter-row,
    .catalog-category-heading {
        align-items: stretch;
        flex-direction: column;
    }
    .catalog-filter-select {
        width: 100%;
        min-width: 0;
    }
}

/* ADMIN COMPACT PADDING PATCH */
body.admin-page .admin-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
body.admin-page .admin-layout,
body.admin-page .admin-layout-clean {
    margin-top: 14px !important;
    margin-bottom: 36px !important;
    gap: 10px !important;
}
body.admin-page .admin-section-head {
    margin-bottom: 8px !important;
    gap: 8px !important;
    align-items: center !important;
}
body.admin-page .admin-card h2,
body.admin-page .admin-section-head h2 {
    margin-bottom: 6px !important;
}
body.admin-page .admin-card h3,
body.admin-page .product-edit-card h3,
body.admin-page .admin-group h3 {
    margin-top: 8px !important;
    margin-bottom: 6px !important;
}
body.admin-page .admin-group,
body.admin-page .product-admin-item {
    margin-top: 4px !important;
}
body.admin-page .grouped-admin-form,
body.admin-page .admin-products {
    gap: 8px !important;
}
body.admin-page .admin-form label,
body.admin-page .login-card label,
body.admin-page .product-edit-card label,
body.admin-page .slide-edit-card label,
body.admin-page .admin-dropdown-label {
    margin-bottom: 3px !important;
    line-height: 1.25 !important;
}
body.admin-page input,
body.admin-page select {
    min-height: 28px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    line-height: 1.25 !important;
}
body.admin-page textarea {
    min-height: 68px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.35 !important;
}
body.admin-page .btn,
body.admin-page a.btn,
body.admin-page button.btn,
body.admin-page .small-btn,
body.admin-page a.small-btn,
body.admin-page button.small-btn {
    min-height: 30px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
body.admin-page .admin-action-bar,
body.admin-page .button-row {
    margin-top: 8px !important;
}
body.admin-page .delete-form {
    margin: 4px 0 12px !important;
}
body.admin-page .slide-edit-card {
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
}
body.admin-page .admin-help,
body.admin-page .admin-status-line {
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
}
body.admin-page .media-upload-form {
    margin-bottom: 6px !important;
}
.simple-login-shell {
    padding: 14px !important;
}
.simple-login-card {
    gap: 8px !important;
}
.simple-login-card h1 {
    margin-bottom: 4px !important;
}
.login-logo {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 0 !important;
}

/* ADMIN PRODUCT DROPDOWN AUDIT */
body.admin-page .product-selected-info,
body.admin-page .admin-inline-info {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 4px 0 8px !important;
    color: var(--muted) !important;
    font-size: 11px !important;
    font-weight: 350 !important;
    line-height: 1.35 !important;
}
body.admin-page .product-edit-card h3 {
    margin-bottom: 2px !important;
}
body.admin-page .product-admin-item[hidden] {
    display: none !important;
}

/* FORCE FINAL HEADER SIZE UPDATE - 2026-06-27
   Target: brand title, brand subtitle, and menu +1px */
.site-header .brand strong,
.admin-header .brand strong {
    font-size: 17px !important;
    font-weight: 500 !important;
}
.site-header .brand small,
.admin-header .brand small {
    font-size: 12px !important;
    font-weight: 350 !important;
}
.site-header .main-nav a,
.admin-header nav a {
    font-size: 14px !important;
    font-weight: 350 !important;
}
