html {
    scroll-behavior: smooth;
}

:root {
    --red: #f58220;
    --ink: #17191c;
    --muted: #68707a;
    --line: #dfe3e8;
    --surface: #f5f6f7;
    --white: #ffffff;
    --shadow: 0 14px 38px rgba(20, 24, 31, .08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-main);
    background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header,
.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 clamp(16px, 4vw, 56px);
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.brand-mark {
    display: inline-grid;
    place-items: center;
    min-width: 56px;
    height: 34px;
    color: var(--white);
    background: var(--red);
    font-weight: 900;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 700;
}

.catalog-hero {
    min-height: 280px;
    display: flex;
    align-items: end;
    padding: 56px clamp(16px, 4vw, 56px);
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.35)),
        url("/uploads/products/large/0061-xpr170.webp") center/cover no-repeat;
}
.catalog-hero > div { max-width: 760px; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.catalog-hero h1,
.detail-copy h1,
.admin-title h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    letter-spacing: 0;
}
.catalog-hero p:not(.eyebrow),
.lead {
    color: #e7e9ec;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
}

.catalog-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    padding: 32px clamp(16px, 4vw, 56px) 64px;
    background: var(--surface);
}
.filters {
    align-self: start;
    position: sticky;
    top: 96px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
input, select, textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
}
textarea { resize: vertical; }
fieldset {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}
legend,
.search-label {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 28px;
    font-size: 14px;
    color: #343940;
}
.check-row input {
    width: 16px;
    min-height: 16px;
    accent-color: var(--red);
}
.filter-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}
.btn.primary {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}
.btn.ghost { background: transparent; }
.btn.small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.results-head h2 { margin: 0; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.product-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
}
.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f0f1f2;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card-body { padding: 16px; }
.product-brand {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.product-card h3 {
    min-height: 46px;
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}
.product-card p:not(.product-brand) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.product-detail {
    padding: 28px clamp(16px, 4vw, 56px) 72px;
}
.breadcrumbs {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}
.detail-head {
    display: grid;
    grid-template-columns: minmax(280px, 540px) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}
.detail-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border: 1px solid var(--line);
}
.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.detail-copy .lead { color: var(--muted); }
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    margin-top: 42px;
}
.rich-text {
    line-height: 1.65;
}
.spec-list {
    align-self: start;
    border-top: 2px solid var(--red);
    background: var(--surface);
}
.spec-list div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}
.spec-list strong {
    font-size: 12px;
    text-transform: uppercase;
}
.product-module {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.admin-body { background: var(--surface); }
.admin-main {
    padding: 28px clamp(16px, 4vw, 48px) 64px;
}
.admin-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
}
.admin-title h1 { font-size: clamp(28px, 4vw, 42px); }
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.metric,
.editor-panel,
.login-box,
.table-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.metric { padding: 18px; }
.metric strong { display: block; font-size: 34px; }
.metric span { color: var(--muted); }
.table-wrap { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
th {
    font-size: 12px;
    text-transform: uppercase;
}
.status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 4px;
    background: #eceff3;
    font-size: 12px;
    font-weight: 800;
}
.status.published { background: #e5f6ea; color: #176b35; }
.status.draft { background: #fff3d8; color: #795000; }
.login-box {
    width: min(420px, calc(100vw - 32px));
    margin: 56px auto;
    padding: 24px;
}
.login-box label,
.editor-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    font-weight: 700;
}
.alert {
    padding: 10px 12px;
    background: #ffe4e6;
    color: #8a1018;
}
.help-text {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.admin-search {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.editor-form {
    display: grid;
    gap: 18px;
}
.editor-panel {
    padding: 20px;
}
.editor-panel h2 {
    margin: 0 0 16px;
    font-size: 20px;
}
.filter-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.sticky-actions {
    position: sticky;
    bottom: 0;
    padding: 14px 0;
    background: linear-gradient(transparent, var(--surface) 35%);
}
.link-button {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 900px) {
    .site-header,
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 14px;
    }
    .catalog-shell,
    .detail-head,
    .detail-body {
        grid-template-columns: 1fr;
    }
    .filters {
        position: static;
    }
    .catalog-hero {
        min-height: 240px;
    }
    .admin-title,
    .admin-search {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .site-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    th:nth-child(2),
    td:nth-child(2) {
        display: none;
    }
}


.filters-form {
    display: grid;
    gap: 12px;
}
.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 8px;
}
.icon-submit {
    min-width: 0;
    padding: 0;
}
.filter-group {
    border-top: 1px solid var(--line);
}
.filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    list-style: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.filter-group summary::-webkit-details-marker {
    display: none;
}
.filter-group summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line);
    color: var(--red);
    font-size: 16px;
    line-height: 1;
}
.filter-group[open] summary::after {
    content: "-";
}
.filter-group summary em {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-style: normal;
    font-size: 12px;
}
.filter-options {
    display: grid;
    gap: 4px;
    padding: 0 0 12px;
}
.check-row small {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}


.admin-filter-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 18px;
}
.admin-filter-group {
    border: 1px solid var(--line);
    padding: 0 12px;
    background: #fff;
}
.admin-filter-group .filter-options {
    max-height: 220px;
    overflow: auto;
}
.admin-results-head {
    margin-top: 4px;
}
@media (max-width: 900px) {
    .admin-filter-grid {
        grid-template-columns: 1fr;
    }
}


.brand-logo {
    display: block;
    width: 162px;
    max-height: 42px;
    object-fit: contain;
}
.baw-product-head {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: 18px 0 36px;
    border-bottom: 1px solid var(--line);
}
.baw-media-panel { display: grid; gap: 14px; }
.baw-detail-copy h1 {
    color: #202020;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    text-transform: uppercase;
}
.baw-detail-copy .lead { color: #4f565f; }
.product-action-bar .btn { text-transform: uppercase; }
.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 10px;
}
.thumb-gallery button {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 5px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.thumb-gallery img { width: 100%; height: 100%; object-fit: contain; }
.product-description { font-size: 16px; }
.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(0,0,0,.82);
}
.video-overlay[hidden] { display: none; }
.video-frame {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-close {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
.admin-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
    margin: 10px 0 18px;
}
.admin-gallery-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border: 1px solid var(--line);
    background: #f7f7f7;
}
@media (max-width: 900px) {
    .baw-product-head { grid-template-columns: 1fr; }
}

/* Public catalog visual pass, closer to the current Grupo BAW Joomla template. */
:root {
    --font-main: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --red: #EA6B08;
    --ink: #222222;
    --muted: #6f7479;
    --line: #e5e5e5;
    --surface: #f6f6f6;
    --shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

body {
    font-family: var(--font-main);
    background: #fff;
}

.site-header {
    min-height: 88px;
    padding: 0 clamp(18px, 5vw, 76px);
    background: rgba(255, 255, 255, .98);
    border-bottom: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}

.brand-logo {
    width: 196px;
    max-height: 62px;
}

.site-nav {
    gap: 28px;
    color: #292929;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    padding: 34px 0 30px;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--red);
}

.site-nav a:hover::after,
.site-nav a:focus::after {
    transform: scaleX(1);
}

.catalog-title-band {
    padding: 56px clamp(18px, 5vw, 76px) 28px;
    text-align: center;
    background: #fff;
}

.section-kicker,
.results-eyebrow {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.catalog-title-band h1 {
    margin: 0;
    color: #202020;
    font-family: var(--font-main);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.catalog-title-band p:not(.section-kicker) {
    max-width: 760px;
    margin: 14px auto 0;
    color: #555;
    font-family: var(--font-main);
    font-size: 17px;
    line-height: 1.55;
}

.catalog-shell {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 34px;
    padding: 18px clamp(18px, 5vw, 76px) 72px;
    background: #fff;
}

.filters {
    top: 112px;
    padding: 0;
    border: 1px solid #ececec;
    box-shadow: none;
}

.filters-form {
    gap: 0;
}

.filter-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #ececec;
}

.filter-panel-title span {
    width: 19px;
    height: 19px;
    border: 2px solid var(--red);
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg) translateY(-3px);
}

.filter-panel-title h2 {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.search-label {
    margin: 18px 18px 8px;
    color: #222;
}

.search-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 0 18px 18px;
    border-bottom: 1px solid #ececec;
}

input,
select,
textarea {
    border-color: #d9d9d9;
    border-radius: 0;
    font-family: var(--font-main);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    outline: 2px solid rgba(234, 107, 8, .14);
}

.filter-group {
    border-top: 0;
    border-bottom: 1px solid #ececec;
    padding: 0 18px;
}

.filter-group summary {
    min-height: 50px;
    color: #202020;
    font-size: 13px;
}

.filter-group summary::after {
    width: 24px;
    height: 24px;
    border: 0;
    color: var(--red);
    font-size: 24px;
    font-weight: 300;
}

.filter-options {
    gap: 3px;
    padding: 0 0 16px;
}

.check-row {
    min-height: 31px;
    color: #333;
    font-family: var(--font-main);
    font-size: 14px;
}

.filter-actions {
    padding: 18px;
    margin-top: 0;
}

.btn,
button.btn {
    min-height: 40px;
    border-color: var(--red);
    border-radius: 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.btn.primary,
.icon-submit {
    background: var(--red);
    color: #fff;
}

.btn.ghost {
    border-color: #d8d8d8;
    color: #333;
}

.product-results {
    min-width: 0;
}

.results-head {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
}

.results-head h2 {
    margin: 0;
    color: #202020;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 900;
    text-transform: uppercase;
}

.active-filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.active-filter-list span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 26px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #efefef;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    border-color: rgba(234, 107, 8, .35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .11);
    transform: translateY(-3px);
}

.product-image {
    aspect-ratio: 1 / 1;
    padding: 18px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    object-fit: contain;
    transition: transform .18s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 20px;
    text-align: center;
}

.product-brand {
    min-height: 16px;
    margin: 0 0 8px;
    color: var(--red);
    font-size: 11px;
    letter-spacing: 0;
}

.product-card h3 {
    min-height: 44px;
    margin: 0 0 10px;
    color: #222;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.product-card p:not(.product-brand) {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    color: #666;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    margin: auto auto 0;
    padding: 0 16px;
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-more:hover,
.product-more:focus {
    background: var(--red);
    color: #fff;
}

@media (max-width: 900px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        min-height: 74px;
        padding-block: 0;
    }

    .brand-logo {
        width: 154px;
        max-height: 48px;
    }

    .site-nav {
        gap: 14px;
        font-size: 12px;
    }

    .site-nav a {
        padding: 26px 0 23px;
    }

    .catalog-title-band {
        padding-top: 34px;
    }

    .catalog-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 46px;
    }

    .filters {
        position: static;
    }

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

    .active-filter-list {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .site-header {
        gap: 10px;
        padding-inline: 14px;
    }

    .site-nav {
        width: auto;
        justify-content: flex-end;
        gap: 12px;
    }

    .site-nav a {
        padding-block: 24px 21px;
    }

    .catalog-title-band {
        padding-inline: 16px;
        text-align: left;
    }

    .catalog-title-band p:not(.section-kicker) {
        margin-left: 0;
    }

    .catalog-shell {
        padding-inline: 16px;
    }
}



/* Dark header variant for the public site logo. */
.site-header {
    background: #252525;
    border-bottom: 4px solid var(--red);
    box-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.site-nav {
    color: #fff;
}

.site-nav a {
    color: #fff;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--red);
}

/* Header logo supplied from the current Grupo BAW site. */
.site-header .brand-logo {
    width: clamp(230px, 24vw, 430px);
    max-height: 72px;
}

@media (max-width: 900px) {
    .site-header .brand-logo {
        width: clamp(185px, 48vw, 280px);
        max-height: 56px;
    }
}

@media (max-width: 520px) {
    .site-header .brand-logo {
        width: clamp(165px, 52vw, 220px);
        max-height: 48px;
    }
}

/* Admin header and filter alignment. */
.admin-header {
    min-height: 88px;
    padding: 0 clamp(18px, 5vw, 76px);
    background: #252525;
    border-bottom: 4px solid var(--red);
    box-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.admin-header .brand {
    color: #fff;
}

.admin-header .brand span {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .02em;
}

.admin-header .brand-logo {
    width: clamp(230px, 24vw, 430px);
    max-height: 72px;
}

.admin-header .site-nav,
.admin-header .site-nav a,
.admin-header .link-button {
    color: #fff;
}

.admin-header .site-nav a:hover,
.admin-header .site-nav a:focus,
.admin-header .link-button:hover,
.admin-header .link-button:focus {
    color: var(--red);
}

.admin-filter-panel {
    display: grid;
}

.admin-search input[type="search"] {
    max-width: 520px;
}

@media (max-width: 900px) {
    .admin-header {
        align-items: center;
        flex-direction: row;
        min-height: 74px;
        padding-block: 0;
    }

    .admin-header .brand-logo {
        width: clamp(185px, 48vw, 280px);
        max-height: 56px;
    }
}

@media (max-width: 520px) {
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 12px;
    }

    .admin-header .brand-logo {
        width: clamp(165px, 52vw, 220px);
        max-height: 48px;
    }
}

/* Filter group priority and secondary divider. */
.filter-divider {
    height: 1px;
    margin: 8px 18px;
    background: #dddddd;
}

.admin-filter-divider {
    grid-column: 1 / -1;
    margin: 4px 0 2px;
}
/* Taxonomy admin tools. */
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.table-actions form {
    margin: 0;
}

.btn.danger {
    border-color: #b42318;
    color: #b42318;
    background: #fff;
}

.btn.danger:hover,
.btn.danger:focus {
    background: #b42318;
    color: #fff;
}

.taxonomy-admin {
    display: grid;
    gap: 18px;
}

.taxonomy-panel h2 {
    margin: 0 0 14px;
}

.taxonomy-new-row,
.taxonomy-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 90px 120px auto;
    gap: 10px;
    align-items: center;
}

.taxonomy-new-row {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.taxonomy-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 14px;
}

.taxonomy-delete {
    margin: 0;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.inline-check input {
    width: 16px;
    min-height: 16px;
    accent-color: var(--red);
}

.usage-count {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .taxonomy-new-row,
    .taxonomy-row,
    .taxonomy-list {
        grid-template-columns: 1fr;
    }

    .taxonomy-delete {
        margin-bottom: 10px;
    }
}
/* Product image presentation: larger image, clean background. */
.product-image {
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
}

.product-card:hover .product-image img {
    transform: scale(1.12);
}

.detail-media {
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
}

.thumb-gallery button {
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.thumb-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .detail-media img,
    .product-image img {
        transform: scale(1.04);
    }
}

/* Product detail extended content */
.product-subtitle {
    color: #111820;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin: 14px 0 18px;
    max-width: 760px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.product-badges span {
    align-items: center;
    background: #222;
    border-left: 4px solid var(--orange);
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    min-height: 34px;
    padding: 8px 12px;
    text-transform: uppercase;
}

.product-filter-specs {
    border: 1px solid #dfdfdf;
    border-top: 3px solid var(--orange);
    margin-top: 18px;
}

.product-filter-specs summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    list-style: none;
    padding: 15px 16px;
    text-transform: uppercase;
}

.product-filter-specs summary::-webkit-details-marker { display: none; }

.product-filter-specs summary::after {
    color: var(--orange);
    content: ">";
    font-size: 20px;
    line-height: 1;
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.product-filter-specs[open] summary::after {
    transform: rotate(-90deg);
}

.product-filter-specs .spec-list {
    border: 0;
    border-top: 1px solid #e7e7e7;
    margin: 0;
    width: 100%;
}

.baw-detail-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
}

.product-description {
    color: #263445;
    font-size: 18px;
    line-height: 1.75;
    max-width: 980px;
}

.product-highlights,
.technical-specs {
    max-width: 980px;
}

.product-highlights h2,
.technical-specs h2 {
    color: #15191f;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.product-highlights ul {
    border-left: 4px solid var(--orange);
    list-style: none;
    margin: 0;
    padding: 4px 0 4px 20px;
}

.product-highlights li {
    color: #2b3540;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    margin: 10px 0;
}

.technical-specs table {
    border-collapse: collapse;
    border: 1px solid #cfcfcf;
    font-size: 15px;
    width: 100%;
}

.technical-specs th,
.technical-specs td {
    border-bottom: 1px solid #d8d8d8;
    padding: 10px 13px;
    text-align: left;
    vertical-align: top;
}

.technical-specs tr:nth-child(odd) {
    background: #f2f2f2;
}

.technical-specs th {
    color: #4b4f55;
    font-weight: 800;
    width: 42%;
}

@media (max-width: 720px) {
    .product-subtitle { font-size: 18px; }
    .product-description,
    .product-highlights li { font-size: 16px; }
    .technical-specs th,
    .technical-specs td {
        display: block;
        width: 100%;
    }
    .technical-specs th {
        border-bottom: 0;
        padding-bottom: 2px;
    }
    .technical-specs td {
        padding-top: 2px;
    }
}
/* Product detail refinements v2 */
.baw-product-head {
    align-items: start;
}

.detail-copy .product-description,
.detail-copy .technical-specs {
    margin-top: 32px;
}

.detail-copy .product-description {
    border-top: 1px solid #e2e2e2;
    padding-top: 28px;
}

.baw-media-panel .product-highlights {
    margin-top: 24px;
}

.technical-specs-html {
    overflow-x: auto;
}

.technical-specs-html table,
.technical-specs table {
    max-width: 100%;
}

.technical-specs pre {
    background: #f3f3f3;
    border: 1px solid #d5d5d5;
    font-family: inherit;
    line-height: 1.5;
    margin: 0;
    overflow-x: auto;
    padding: 16px;
    white-space: pre-wrap;
}

.technical-specs table th,
.technical-specs table td,
.technical-specs-html table th,
.technical-specs-html table td {
    border: 1px solid #d6d6d6;
    padding: 8px 10px;
}

.technical-specs-html table tr:nth-child(odd),
.technical-specs table tr:nth-child(odd) {
    background: #efefef;
}

.technical-specs-html table tr:first-child th,
.technical-specs-html table tr:first-child td {
    background: #dedede;
    color: #333;
    font-weight: 900;
}

@media (max-width: 980px) {
    .detail-copy .product-description,
    .detail-copy .technical-specs {
        margin-top: 24px;
    }
}
/* Admin HTML editor and image management */
.html-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.html-editor-toolbar button {
    background: #fff;
    border: 1px solid var(--orange);
    color: var(--orange);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 10px;
    text-transform: uppercase;
}

.html-editor {
    background: #fff;
    border: 1px solid #d8d8d8;
    min-height: 220px;
    overflow-x: auto;
    padding: 14px;
}

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

.html-editor th,
.html-editor td {
    border: 1px solid #cfcfcf;
    min-width: 120px;
    padding: 8px 10px;
    text-align: left;
}

.html-editor tr:nth-child(odd) {
    background: #efefef;
}

.html-source {
    margin-top: 10px;
}

.html-source summary {
    color: var(--orange);
    cursor: pointer;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.admin-gallery-manage {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.admin-image-item {
    border: 1px solid #dedede;
    display: grid;
    gap: 8px;
    padding: 8px;
}

.admin-image-item img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.admin-image-item > span {
    color: #555;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.delete-image-check {
    color: #b90000;
    font-weight: 900;
}
/* Highlights check icons and admin filter alignment */
.product-highlights ul {
    border-left: 0;
    padding-left: 0;
}

.product-highlights li {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.product-highlights li::before {
    color: var(--orange);
    content: "\2713";
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    margin-top: 1px;
}

.filter-editor .check-row {
    align-items: center;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    min-height: 28px;
}

.filter-editor .check-row input[type="checkbox"] {
    grid-column: 1;
    margin: 0;
}

.filter-editor .check-row span {
    grid-column: 2;
    line-height: 1.25;
}
/* Product image overlay */
button.detail-media {
    cursor: zoom-in;
    display: block;
    font: inherit;
    padding: 0;
    text-align: inherit;
    width: 100%;
}

.thumb-gallery button {
    cursor: pointer;
}

.image-overlay {
    align-items: center;
    background: rgba(0, 0, 0, .82);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 34px;
    position: fixed;
    z-index: 1000;
}

.image-overlay[hidden] {
    display: none;
}

.image-overlay img {
    background: #fff;
    max-height: 90vh;
    max-width: 92vw;
    object-fit: contain;
}

.image-close {
    background: var(--orange);
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: 900;
    height: 44px;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 44px;
}
/* Product iconography */
.product-iconography {
    align-items: center;
    border-top: 1px solid #e2e2e2;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
}

.product-iconography img {
    display: block;
    max-height: 54px;
    max-width: 120px;
    object-fit: contain;
}

.icon-picker,
.icon-admin-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.icon-picker-item,
.icon-admin-item {
    border: 1px solid #dedede;
    display: grid;
    gap: 8px;
    padding: 10px;
}

.icon-picker-item {
    cursor: pointer;
    grid-template-columns: 18px minmax(0, 1fr);
}

.icon-picker-item input {
    align-self: center;
}

.icon-picker-item img,
.icon-admin-item img {
    max-height: 58px;
    max-width: 100%;
    object-fit: contain;
}

.icon-picker-item img,
.icon-picker-item span {
    grid-column: 2;
}

.icon-picker-item span,
.icon-admin-item strong {
    font-size: 13px;
    font-weight: 900;
}

.icon-admin-item span {
    color: #666;
    font-size: 12px;
}

.btn.danger {
    border-color: #b90000;
    color: #b90000;
}
/* Public product detail polish */
body,
.catalog-shell,
.detail-body,
.baw-detail-body {
    background: #f7f7f7;
}

.detail-copy .product-description,
.product-description {
    text-align: justify;
}

.product-iconography {
    gap: 22px;
}

.product-iconography img {
    max-height: 68px;
    max-width: 148px;
}

@media (max-width: 640px) {
    .product-iconography img {
        max-height: 58px;
        max-width: 128px;
    }
}
/* Technical specs custom HTML tables */
.technical-specs-html .tabla-especificaciones {
    width: 100%;
    border-collapse: collapse;
}

.technical-specs-html style {
    display: none;
}
/* Product detail centered delicate scale */
.product-detail.baw-product {
    max-width: 1540px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
}

.product-detail .breadcrumbs {
    font-size: 14px;
}

.baw-product-head {
    grid-template-columns: minmax(280px, 520px) minmax(0, 980px);
    justify-content: center;
    gap: clamp(26px, 4vw, 56px);
}

.baw-detail-copy h1 {
    font-size: clamp(30px, 4.1vw, 48px);
    line-height: .98;
}

.product-brand {
    font-size: 11px;
}

.product-subtitle {
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.28;
}

.detail-actions {
    gap: 10px;
}

.product-action-bar .btn,
.detail-actions .btn {
    font-size: 12px;
    min-height: 38px;
    padding: 0 16px;
}

.detail-copy .product-description,
.product-description {
    font-size: 16px;
    line-height: 1.68;
    max-width: 920px;
}

.product-iconography {
    max-width: 920px;
}

.product-highlights h2,
.technical-specs h2 {
    font-size: 22px;
}

.product-highlights li {
    font-size: 16px;
}

.technical-specs table {
    font-size: 14px;
}

.technical-specs th,
.technical-specs td,
.technical-specs-html table th,
.technical-specs-html table td {
    padding: 8px 10px;
}

.technical-specs {
    max-width: 920px;
}

@media (max-width: 980px) {
    .baw-product-head {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}
/* Mobile technical specs accordion */
.mobile-specs-toggle {
    display: none;
}

@media (max-width: 720px) {
    .mobile-specs-toggle {
        align-items: center;
        background: #202020;
        border: 0;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 12px;
        font-weight: 900;
        justify-content: space-between;
        letter-spacing: .02em;
        margin-top: 24px;
        min-height: 42px;
        padding: 0 14px;
        text-transform: uppercase;
        width: 100%;
    }

    .mobile-specs-toggle::after {
        content: ">";
        color: var(--orange);
        font-size: 18px;
        transform: rotate(90deg);
    }

    .mobile-specs-toggle[aria-expanded="true"]::after {
        transform: rotate(-90deg);
    }

    .technical-specs[data-mobile-specs] {
        display: none;
        margin-top: 14px;
    }

    .technical-specs[data-mobile-specs].is-open {
        display: block;
    }

    .technical-specs-html {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
/* Generic content pages */
.content-page {
    background: #f7f7f7;
}

.page-hero {
    background: #202020;
    border-bottom: 4px solid var(--orange);
    color: #fff;
    padding: clamp(48px, 8vw, 98px) clamp(20px, 5vw, 72px);
}

.page-hero > div,
.page-content {
    margin: 0 auto;
    max-width: 1180px;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.page-hero p:not(.eyebrow) {
    color: #e8e8e8;
    font-size: 18px;
    line-height: 1.5;
    margin: 16px 0 0;
    max-width: 760px;
}

.page-content {
    color: #202832;
    font-size: 17px;
    line-height: 1.7;
    padding: clamp(34px, 5vw, 72px) clamp(20px, 5vw, 72px);
}

.page-content h2,
.page-content h3 {
    line-height: 1.1;
    margin: 32px 0 14px;
    text-transform: uppercase;
}

.home-division-grid,
.home-industry-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 28px 0 42px;
}

.home-card {
    background: #fff;
    border: 1px solid #dedede;
    min-height: 160px;
    padding: 22px;
}

.home-card strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-card span {
    color: var(--orange);
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    margin-top: 18px;
    text-transform: uppercase;
}

.row-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

@media (max-width: 720px) {
    .page-content {
        font-size: 16px;
    }
}
/* Modular content pages */
.page-module {
    padding: clamp(38px, 5vw, 74px) clamp(20px, 5vw, 72px);
}

.page-module-inner {
    margin: 0 auto;
    max-width: 1180px;
}

.page-module h1,
.page-module h2 {
    line-height: 1;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.page-module h1 {
    font-size: clamp(36px, 6vw, 74px);
    max-width: 880px;
}

.page-module h2 {
    font-size: clamp(26px, 3.6vw, 44px);
}

.module-subtitle {
    color: #253242;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.28;
    margin: 0 0 18px;
    max-width: 780px;
}

.module-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.page-module-hero {
    background:
        linear-gradient(90deg, rgba(32, 32, 32, .96), rgba(32, 32, 32, .78)),
        var(--hero-image, none);
    background-position: center;
    background-size: cover;
    border-bottom: 4px solid var(--orange);
    color: #fff;
    min-height: clamp(420px, 62vh, 660px);
    display: flex;
    align-items: center;
}

.page-module-hero .module-subtitle,
.page-module-hero .rich-text {
    color: #f1f1f1;
}

.page-module-hero .rich-text {
    font-size: 18px;
    line-height: 1.62;
    max-width: 720px;
}

.module-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 30px;
}

.module-card {
    background: #fff;
    border: 1px solid #dedede;
    color: #202832;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 24px;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.module-card:hover,
.module-card:focus {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.module-card img {
    aspect-ratio: 16 / 9;
    margin: -24px -24px 18px;
    object-fit: cover;
    width: calc(100% + 48px);
}

.module-card strong {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
}

.module-card p {
    color: #5c6572;
    font-size: 15px;
    line-height: 1.5;
}

.module-card span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    margin-top: auto;
    text-transform: uppercase;
}

.page-module-logo-grid {
    background: #fff;
}

.module-logo-grid {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    margin-top: 28px;
}

.module-logo-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-height: 110px;
}

.module-logo-item img {
    max-height: 70px;
    max-width: 150px;
}

.module-logo-item span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-module-cta {
    background: #202020;
    color: #fff;
}

.page-module-cta .module-subtitle,
.page-module-cta .rich-text {
    color: #f1f1f1;
}

.btn.ghost-light {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.page-modules-admin {
    margin-top: 18px;
}

.section-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.page-module-form,
.page-module-admin-item {
    border: 1px solid #dedede;
    margin-top: 18px;
    padding: 18px;
}

.page-module-form-new {
    background: #f7f7f7;
}

.page-module-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.module-advanced {
    border: 1px solid #e3e3e3;
    margin: 14px 0;
    padding: 12px;
}

.module-advanced summary {
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-muted {
    color: #657180;
}

@media (max-width: 720px) {
    .page-module {
        padding: 34px 20px;
    }

    .page-module-hero {
        min-height: 420px;
    }
}
/* Page admin usability */
.page-settings-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.legacy-content-box {
    border: 1px solid #dedede;
    margin-top: 16px;
    padding: 14px;
}

.legacy-content-box summary {
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.field-help {
    color: #657180;
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 6px;
}

.module-order-form {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 18px;
}

.page-module-sort-list {
    display: grid;
    gap: 16px;
}

.page-module-admin-item {
    background: #fff;
}

.page-module-admin-item.is-dragging {
    opacity: .55;
}

.module-admin-head {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid #dedede;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr auto;
    margin: -18px -18px 16px;
    padding: 12px 14px;
}

.module-admin-head strong,
.module-admin-head span {
    display: block;
}

.module-admin-head strong {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.module-admin-head span {
    color: #657180;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
    text-transform: uppercase;
}

.drag-handle {
    align-items: center;
    background: #202020;
    border: 0;
    color: #fff;
    cursor: grab;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    width: 36px;
}

@media (max-width: 720px) {
    .module-admin-head {
        grid-template-columns: auto 1fr;
    }

    .module-admin-head form {
        grid-column: 1 / -1;
    }
}
/* Media library and hero media */
.media-admin-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.media-admin-item {
    background: #fff;
    border: 1px solid #dedede;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.media-admin-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.media-admin-item strong {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.media-admin-item span,
.media-admin-item code {
    color: #657180;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.media-path-select {
    margin-bottom: 8px;
}

.page-module-hero {
    overflow: hidden;
    position: relative;
}

.page-module-hero > .page-module-inner {
    position: relative;
    z-index: 2;
}

.hero-video-bg,
.hero-video-bg iframe,
.hero-video-bg video {
    inset: 0;
    position: absolute;
}

.hero-video-bg {
    z-index: 0;
}

.hero-video-bg::after {
    background: linear-gradient(90deg, rgba(32, 32, 32, .96), rgba(32, 32, 32, .7));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-video-bg iframe,
.hero-video-bg video {
    border: 0;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.page-module-hero-video {
    background: #202020;
}

.hero-carousel {
    inset: 0;
    position: absolute;
    width: 100%;
}

.hero-slide {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(32, 32, 32, .96), rgba(32, 32, 32, .72)),
        var(--hero-image, none);
    background-position: center;
    background-size: cover;
    display: flex;
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
/* Hero design controls */
@font-face {
    font-family: "BAW Bold";
    src: url("/assets/fonts/font-web-baw-bold.ttf") format("truetype"),
         url("https://www.grupobaw.com.ar/templates/grupobaw2024/css/font-web-baw-bold.ttf") format("truetype");
    font-display: swap;
}

.page-module {
    min-height: var(--module-min-height, auto);
}

.page-module-hero {
    --hero-overlay-alpha: .84;
    min-height: var(--module-min-height, clamp(560px, 76vh, 820px));
    padding-left: clamp(20px, 5vw, 72px);
    padding-right: clamp(20px, 5vw, 72px);
}

.page-module-hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, var(--hero-overlay-alpha)), rgba(0, 0, 0, calc(var(--hero-overlay-alpha) - .08)));
}

.page-module-hero .page-module-inner,
.hero-slide .page-module-inner {
    max-width: 1180px;
    width: 100%;
}

.page-module-hero h1 {
    color: #fff;
    font-family: "BAW Bold", "Inter Tight", Inter, system-ui, sans-serif;
    font-size: var(--hero-title-size, clamp(34px, 4.25vw, 68px));
    font-weight: 900;
    letter-spacing: 0;
    line-height: .94;
    max-width: 1080px;
}

.page-module-hero h1 .highlight,
.page-module-hero h1 .resaltar,
.page-module h2 .highlight,
.page-module h2 .resaltar {
    color: var(--orange);
}

.hero-video-bg::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, var(--hero-overlay-alpha)), rgba(0, 0, 0, calc(var(--hero-overlay-alpha) - .08)));
}

.hero-slide {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, var(--hero-overlay-alpha)), rgba(0, 0, 0, calc(var(--hero-overlay-alpha) - .08))),
        var(--hero-image, none);
}

@media (max-width: 720px) {
    .page-module-hero {
        min-height: var(--module-min-height, 540px);
    }

    .page-module-hero h1 {
        font-size: var(--hero-title-size, clamp(28px, 9vw, 46px));
    }
}
/* Division showcase module */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-center .module-subtitle,
.align-center .rich-text { margin-left: auto; margin-right: auto; }

.page-module-hero.align-center h1,
.page-module-hero.align-center .hero-slide h1,
.page-module-hero.align-center .module-subtitle,
.page-module-hero.align-center .hero-slide .module-subtitle {
    margin-left: auto;
    margin-right: auto;
}
.align-right .module-subtitle,
.align-right .rich-text { margin-left: auto; }
.align-center .module-actions { justify-content: center; }
.align-right .module-actions { justify-content: flex-end; }

.division-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.division-card {
    background: #f2f2f2;
    border-right: 1px solid #cfcfcf;
    display: flex;
    flex-direction: column;
    min-height: 620px;
}

.division-card:last-child {
    border-right: 0;
}

.division-card-top {
    background: #202020;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    text-align: center;
    text-decoration: none;
}

.division-logo {
    align-items: center;
    display: flex;
    height: 82px;
    justify-content: center;
    overflow: visible;
    padding: 14px 24px;
}

.division-logo img {
    display: block;
    height: auto;
    max-height: 64px;
    max-width: 260px;
    object-fit: contain;
    width: auto;
}

.division-logo strong {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.division-photo {
    aspect-ratio: 16 / 6;
    object-fit: cover;
    width: 100%;
}

.division-card-top p {
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    margin: 24px auto;
    max-width: 270px;
    min-height: 38px;
    text-transform: uppercase;
}

.division-card-top .btn {
    align-self: center;
    margin: auto 0 24px;
}

.division-brands {
    padding: 28px 26px;
}

.division-brands summary {
    display: none;
}

.division-brands > div {
    display: grid;
    gap: 26px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-tile {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    min-height: 46px;
    padding: 8px;
    text-decoration: none;
}

.brand-tile img {
    height: auto;
    max-height: 34px;
    max-width: 118px;
    object-fit: contain;
    width: auto;
}

.brand-tile span {
    color: #202020;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.visual-card-editor {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.visual-card-editor h3 {
    margin: 0;
    text-transform: uppercase;
}

.visual-card-row {
    background: #f7f7f7;
    border: 1px solid #dedede;
    padding: 14px;
}

.visual-card-row > strong {
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.module-card-logo {
    aspect-ratio: auto !important;
    margin: 0 0 18px !important;
    max-height: 54px;
    object-fit: contain !important;
    width: auto !important;
}

@media (max-width: 980px) {
    .division-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .division-showcase {
        grid-template-columns: 1fr;
    }

    .division-card {
        min-height: auto;
    }

    .division-brands {
        padding: 0;
    }

    .division-brands summary {
        background: #fff;
        cursor: pointer;
        display: block;
        font-size: 12px;
        font-weight: 900;
        padding: 16px 20px;
        text-transform: uppercase;
    }

    .division-brands:not([open]) > div {
        display: none;
    }

    .division-brands[open] > div {
        padding: 20px;
    }
}
/* Visual brand editor */
.media-field {
    display: grid;
    gap: 7px;
}

.brand-editor {
    background: #fff;
    border: 1px solid #dedede;
    margin-top: 12px;
    padding: 12px;
}

.brand-editor h4 {
    margin: 0 0 10px;
    text-transform: uppercase;
}

.brand-editor-head,
.brand-editor-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, .8fr) minmax(160px, 1fr) minmax(220px, 1.3fr);
}

.brand-editor-head {
    color: #657180;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.brand-editor-row {
    align-items: start;
    border-top: 1px solid #eee;
    padding: 10px 0;
}

.brand-editor-row:first-of-type {
    border-top: 0;
}

@media (max-width: 820px) {
    .brand-editor-head {
        display: none;
    }

    .brand-editor-row {
        grid-template-columns: 1fr;
    }
}
/* Clearer media and linked brand editor */
.media-current {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    display: flex;
    gap: 8px;
    min-height: 42px;
    padding: 6px 8px;
}

.media-current img {
    background: transparent;
    display: block;
    max-height: 28px;
    max-width: 80px;
    object-fit: contain;
}

.media-current span {
    color: #657180;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-current.is-empty img {
    display: none;
}

.brand-editor-rows {
    display: grid;
    gap: 0;
}

.add-brand-row {
    margin-top: 10px;
}
/* Collapsible page modules */
.module-admin-order {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.module-order-number {
    align-items: center;
    background: #fff;
    border: 1px solid #dedede;
    color: #202020;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    min-width: 34px;
}

.module-collapse-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 0;
    text-align: left;
    width: 100%;
}

.module-collapse-toggle span,
.module-collapse-toggle strong,
.module-collapse-toggle small {
    display: block;
}

.module-collapse-toggle strong {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.module-collapse-toggle small {
    color: #657180;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
    text-transform: uppercase;
}

.module-collapse-toggle b {
    color: #f37000;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.module-admin-body {
    margin-top: 16px;
}

.module-admin-body .page-module-form {
    margin-top: 0;
}

.page-module-admin-item.is-collapsed {
    padding-bottom: 0;
}

.page-module-admin-item.is-collapsed .module-admin-head {
    margin-bottom: -1px;
}
/* Industry showcase module */
.page-module-grid-block {
    position: relative;
}

.page-module-grid-block[style*="--module-bg-image"] {
    background-image: linear-gradient(rgba(247, 247, 247, .86), rgba(247, 247, 247, .86)), var(--module-bg-image);
    background-position: center;
    background-size: cover;
}

.page-module-grid-block.theme-dark {
    background-color: #202020;
    color: #fff;
}

.page-module-grid-block.theme-dark[style*="--module-bg-image"] {
    background-image: linear-gradient(rgba(10, 10, 10, .76), rgba(10, 10, 10, .82)), var(--module-bg-image);
}

.page-module-grid-block.theme-dark .eyebrow,
.page-module-grid-block.theme-dark h2,
.page-module-grid-block.theme-dark .module-subtitle,
.page-module-grid-block.theme-dark .rich-text {
    color: #fff;
}

.page-module-grid-block.theme-dark .eyebrow {
    color: var(--orange);
}

.industry-showcase-grid {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 42px;
}

.industry-showcase-card {
    background: #202020;
    color: #fff;
    display: grid;
    gap: 26px;
    justify-items: center;
    padding: 38px 36px 46px;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.theme-light .industry-showcase-card {
    background: #fff;
    color: #111827;
}

.industry-showcase-card:hover,
.industry-showcase-card:focus {
    box-shadow: 0 16px 32px rgba(0, 0, 0, .16);
    transform: translateY(-3px);
}

.industry-showcase-card img {
    aspect-ratio: 1 / 1;
    display: block;
    max-width: 260px;
    object-fit: cover;
    width: 100%;
}

.industry-showcase-card strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .industry-showcase-grid {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .industry-showcase-card {
        padding: 24px;
    }
}
/* Visual card editor ordering */
.visual-card-toolbar,
.visual-card-head,
.visual-card-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.visual-card-toolbar {
    margin-bottom: 12px;
}

.visual-card-toolbar h3 {
    margin: 0;
}

.visual-card-head {
    justify-content: flex-start;
    margin-bottom: 12px;
}

.card-drag-handle {
    height: 30px;
    min-width: 30px;
}

.visual-card-row.is-dragging {
    opacity: .55;
}

.visual-card-footer {
    border: 1px dashed #cfcfcf;
    justify-content: center;
    padding: 14px;
}
/* Image tile grid: post-sale / work with us / distributors / newsletter */
.page-module-layout-image_tiles .image-tile-grid {
    display: grid !important;
    gap: 44px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 42px;
    width: 100%;
}

.page-module-layout-image_tiles .image-tile-card {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: #202020;
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 190px;
    overflow: hidden;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.page-module-layout-image_tiles .image-tile-card::after {
    background: rgba(0, 0, 0, .52);
    content: "";
    inset: 0;
    position: absolute;
    transition: background .2s ease;
    z-index: 1;
}

.page-module-layout-image_tiles .image-tile-card:hover::after,
.page-module-layout-image_tiles .image-tile-card:focus::after {
    background: rgba(0, 0, 0, .38);
}

.page-module-layout-image_tiles .image-tile-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform .25s ease;
    width: 100%;
}

.page-module-layout-image_tiles .image-tile-card:hover img,
.page-module-layout-image_tiles .image-tile-card:focus img {
    transform: scale(1.04);
}

.page-module-layout-image_tiles .image-tile-card span {
    color: #fff;
    font-size: clamp(20px, 1.45vw, 30px);
    font-weight: 500;
    line-height: 1.25;
    max-width: 86%;
    position: relative;
    text-transform: uppercase;
    z-index: 2;
}

@media (max-width: 1100px) {
    .page-module-layout-image_tiles .image-tile-grid {
        gap: 24px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-module-layout-image_tiles .image-tile-grid {
        grid-template-columns: 1fr;
    }

    .page-module-layout-image_tiles .image-tile-card {
        min-height: 160px;
    }
}
/* Rotating logo module */
.module-logo-carousel {
    margin-top: 34px;
    overflow: hidden;
    position: relative;
}

.module-logo-carousel::before,
.module-logo-carousel::after {
    content: "";
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 90px;
    z-index: 2;
}

.module-logo-carousel::before {
    background: linear-gradient(90deg, #f7f7f7, rgba(247, 247, 247, 0));
    left: 0;
}

.module-logo-carousel::after {
    background: linear-gradient(270deg, #f7f7f7, rgba(247, 247, 247, 0));
    right: 0;
}

.module-logo-track {
    align-items: center;
    animation: logoMarquee 26s linear infinite;
    display: flex;
    gap: 54px;
    width: max-content;
}

.module-logo-carousel:hover .module-logo-track {
    animation-play-state: paused;
}

.module-logo-item {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    min-height: 58px;
    min-width: 150px;
    padding: 10px 18px;
    text-decoration: none;
}

.module-logo-item img {
    max-height: 44px;
    max-width: 150px;
    object-fit: contain;
}

.module-logo-item span {
    color: #202020;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

@keyframes logoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Global footer */
.site-footer {
    background: #1c1c1c;
    color: #fff;
    padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 70px);
}

.site-footer-inner {
    display: grid;
    gap: clamp(44px, 6vw, 100px);
    grid-template-columns: minmax(280px, 520px) minmax(320px, 540px);
    margin: 0 auto;
    max-width: 1120px;
}

.footer-logo {
    height: auto;
    margin-bottom: 42px;
    max-width: 190px;
}

.footer-columns {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    font-weight: 900;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.site-footer h2 {
    font-size: 18px;
    margin-bottom: 28px;
}

.site-footer h3 {
    font-size: 16px;
}

.site-footer p,
.site-footer a {
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
}

.footer-social {
    display: flex;
    gap: 26px;
    margin-top: 74px;
}

.footer-social a {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.footer-social a:nth-child(1) { background: #e0439a; }
.footer-social a:nth-child(2) { background: #1977f3; }
.footer-social a:nth-child(3) { background: #0878b9; }
.footer-social a:nth-child(4) { background: #f10b0b; }

.footer-contact form {
    display: grid;
    gap: 10px;
}

.footer-contact label {
    color: #fff;
    display: grid;
    font-size: 16px;
    font-weight: 900;
    gap: 6px;
    text-transform: uppercase;
}

.footer-contact input,
.footer-contact select,
.footer-contact textarea {
    background: #fff;
    border: 0;
    border-radius: 0;
    color: #111827;
    min-height: 51px;
}

.footer-contact textarea {
    min-height: 118px;
}

.footer-submit {
    background: #232323;
    border: 0;
    color: #fff;
    justify-self: start;
    text-transform: uppercase;
}

.footer-alert {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.footer-alert-ok { background: #153d25; }
.footer-alert-error { background: #5b1f1f; }

.status-new { background: #ffe4e4; color: #8a1018; }
.status-seen { background: #eef2f7; color: #364152; }
.status-forwarded { background: #fff3d8; color: #795000; }
.status-answered { background: #e5f6ea; color: #176b35; }

.inquiry-detail {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .site-footer-inner,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-social {
        margin-top: 34px;
    }
}

@media (max-width: 640px) {
    .module-logo-track {
        gap: 28px;
    }

    .module-logo-carousel::before,
    .module-logo-carousel::after {
        width: 42px;
    }
}
.module-order-bottom-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
/* Dynamic multilevel menu */
.site-menu-toggle {
    display: none;
}

.site-nav-tree ul {
    align-items: center;
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-tree li {
    position: relative;
}

.site-nav-tree li ul {
    align-items: stretch;
    background: #202020;
    border-top: 3px solid var(--orange);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .18);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    min-width: 210px;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    z-index: 40;
}

.site-nav-tree li:hover > ul,
.site-nav-tree li:focus-within > ul {
    display: flex;
}

.site-nav-tree li ul a {
    display: block;
    padding: 11px 16px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .site-menu-toggle {
        background: transparent;
        border: 1px solid rgba(255,255,255,.28);
        color: #fff;
        display: inline-flex;
        font-size: 24px;
        min-height: 42px;
        padding: 0 12px;
    }

    .site-nav-tree {
        display: none;
        width: 100%;
    }

    .menu-open .site-nav-tree {
        display: block;
    }

    .site-nav-tree ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .site-nav-tree li ul {
        border: 0;
        box-shadow: none;
        display: flex;
        padding: 0 0 0 16px;
        position: static;
    }
}
/* Product landing shortcuts */
.catalog-shortcut-head {
    margin-bottom: 22px;
}
.product-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.product-shortcut-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}
.product-shortcut-card a {
    min-height: 310px;
    color: inherit;
    display: grid;
    grid-template-rows: 160px 1fr;
    text-decoration: none;
}
.product-shortcut-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: #fff;
}
.product-shortcut-body {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px 18px 22px;
    text-align: center;
}
.product-shortcut-body strong {
    color: #101826;
    font-size: 18px;
    line-height: 1.05;
    text-transform: uppercase;
}
.product-shortcut-body small {
    color: #536174;
    font-size: 14px;
    line-height: 1.45;
}
.product-shortcut-body em {
    justify-self: center;
    margin-top: 8px;
    padding: 11px 18px;
    background: #f26b00;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}
.empty-state {
    padding: 36px;
    background: #fff;
    border: 1px solid #e0e0e0;
}
.shortcut-admin-list {
    display: grid;
    gap: 18px;
}
.shortcut-admin-item {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: #f7f7f7;
    border: 1px solid #dedede;
}
.check-inline {
    align-self: end;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    min-height: 42px;
}
.button-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Global product search overlay */
.site-search-trigger {
    position: fixed;
    right: 28px;
    top: 248px;
    z-index: 90;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #ff7900;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    cursor: pointer;
}
.site-search-trigger span,
.site-search-trigger span::before {
    position: absolute;
    content: "";
    display: block;
}
.site-search-trigger span {
    left: 16px;
    top: 14px;
    width: 25px;
    height: 25px;
    border: 4px solid #1f1f1f;
    border-radius: 50%;
}
.site-search-trigger span::before {
    width: 22px;
    height: 6px;
    right: -18px;
    bottom: -9px;
    background: #1f1f1f;
    transform: rotate(45deg);
    transform-origin: center;
}
.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: none;
}
.site-search-overlay.is-open {
    display: block;
}
.site-search-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .72);
}
.site-search-modal {
    position: relative;
    width: min(1060px, calc(100vw - 36px));
    max-height: calc(100vh - 54px);
    margin: 27px auto;
    overflow: auto;
    background: #f7f7f7;
    padding: 34px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}
.site-search-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    background: #202020;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.site-search-modal h2 {
    margin: 0 0 20px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: .95;
    text-transform: uppercase;
}
.site-search-form {
    display: grid;
    gap: 20px;
}
.site-search-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
body.search-open {
    overflow: hidden;
}

@media (max-width: 1280px) {
    .product-shortcut-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .product-shortcut-grid,
    .site-search-filter-grid { grid-template-columns: 1fr; }
    .site-search-trigger {
        right: 18px;
        top: auto;
        bottom: 24px;
        width: 56px;
        height: 56px;
    }
    .site-search-modal {
        padding: 26px 18px;
        margin: 18px auto;
    }
}
/* Product alias admin */
.product-alias-form {
    padding: 18px;
    background: #f7f7f7;
    border: 1px solid #dedede;
}
.product-alias-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(280px, 1.4fr) 120px auto;
    gap: 14px;
    align-items: end;
}
.alias-save-row {
    margin-top: 14px;
}
.alias-save-row .btn {
    width: auto;
    min-width: 170px;
}
.alias-save-row .field-help {
    align-self: center;
    margin: 0;
}
@media (max-width: 1100px) {
    .product-alias-grid {
        grid-template-columns: 1fr 1fr;
    }
    .alias-target-field {
        grid-column: 1 / -1;
    }
}
@media (max-width: 700px) {
    .product-alias-grid {
        grid-template-columns: 1fr;
    }
}
/* Division landing modules */
.page-module-brand-tiles {
    background: #fff;
    padding: 0;
}

.brand-tiles-heading {
    padding-bottom: 34px;
    padding-top: 54px;
}

.unit-brand-wall {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.unit-brand-wall.count-1 {
    grid-template-columns: 1fr;
}

.unit-brand-wall.count-2,
.unit-brand-wall.count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unit-brand-wall.count-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.unit-brand-wall.count-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.unit-brand-card {
    align-items: center;
    background-color: #555;
    background-image: linear-gradient(rgba(80, 80, 80, .66), rgba(80, 80, 80, .66)), var(--tile-bg);
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: clamp(210px, 23vw, 330px);
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.unit-brand-card::after {
    background: rgba(255, 255, 255, .08);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .2s ease;
}

.unit-brand-card:hover::after,
.unit-brand-card:focus::after {
    opacity: 1;
}

.unit-brand-mark {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 68%;
    position: relative;
    z-index: 1;
}

.unit-brand-mark img {
    display: block;
    max-height: 95px;
    max-width: 100%;
    object-fit: contain;
}

.unit-brand-mark strong {
    color: #fff;
    font-size: clamp(24px, 2.2vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.page-module-division-logo {
    background: #fff;
    padding: 25px 18px;
}

.division-logo-main {
    display: block;
    height: auto;
    margin: 0 auto 30px;
    max-width: min(430px, 80vw);
}

.page-module-alternating {
    background: #fff;
}

.page-module-category-links {
    background: #fff;
    padding-bottom: clamp(44px, 5vw, 72px);
    padding-top: clamp(24px, 3vw, 42px);
}

.page-module-division-logo + .page-module-category-links {
    padding-top: clamp(10px, 1.8vw, 26px);
}

.page-module-category-links[style*="--module-bg-image"] {
    background-image: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .92)), var(--module-bg-image);
    background-position: center;
    background-size: cover;
}

.alternating-list {
    display: grid;
    gap: clamp(48px, 6vw, 86px);
    margin-top: 52px;
}

.alternating-item {
    align-items: center;
    display: grid;
    gap: clamp(28px, 5vw, 76px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.alternating-item:nth-child(even) .alternating-media {
    order: 2;
}

.alternating-copy {
    text-align: left;
}

.alternating-item:nth-child(even) .alternating-copy {
    justify-self: end;
    text-align: right;
}

.alternating-item:nth-child(even) .alternating-logo {
    margin-left: auto;
}

.alternating-media img {
    display: block;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    width: 100%;
}

.alternating-logo {
    display: block;
    height: auto;
    margin-bottom: 24px;
    max-height: 74px;
    max-width: 260px;
    object-fit: contain;
}

.alternating-copy h3 {
    color: #202020;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.alternating-copy p {
    color: #2d3748;
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 26px;
}

.category-link-grid {
    display: grid;
    gap: clamp(22px, 3vw, 46px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
}

.category-link-card {
    color: #111827;
    display: grid;
    gap: 28px;
    justify-items: center;
    min-width: 0;
    text-align: center;
    text-decoration: none;
}

.category-link-card img {
    aspect-ratio: 4 / 3;
    display: block;
    height: var(--module-image-size, 190px);
    max-width: 100%;
    object-fit: contain;
    width: var(--module-image-size, 100%);
}

.category-link-card strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.page-module-parallax-cta {
    background-color: #202020;
    background-image: linear-gradient(rgba(0, 0, 0, var(--hero-overlay-alpha, .58)), rgba(0, 0, 0, var(--hero-overlay-alpha, .58))), var(--module-bg-image);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: var(--module-min-height, 430px);
}

.page-module-parallax-cta .page-module-inner {
    align-items: center;
    display: flex;
    min-height: var(--module-min-height, 430px);
}

.page-module-parallax-cta.align-center .page-module-inner {
    justify-content: center;
    text-align: center;
}

.page-module-parallax-cta.align-right .page-module-inner {
    justify-content: flex-end;
    text-align: right;
}

.page-module-parallax-cta .parallax-copy {
    max-width: 540px;
}

.page-module-parallax-cta h2,
.page-module-parallax-cta .module-subtitle,
.page-module-parallax-cta .rich-text {
    color: #fff;
}

.page-module-layout-wide_tiles .image-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.page-module-layout-wide_tiles .image-tile-card {
    min-height: clamp(260px, 28vw, 520px);
}

@media (max-width: 980px) {
    .unit-brand-wall,
    .category-link-grid,
    .page-module-layout-wide_tiles .image-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alternating-item,
    .alternating-item:nth-child(even) .alternating-media {
        grid-template-columns: 1fr;
        order: initial;
    }

    .alternating-copy,
    .alternating-item:nth-child(even) .alternating-copy {
        justify-self: stretch;
        text-align: left;
    }

    .alternating-item:nth-child(even) .alternating-logo {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .unit-brand-wall,
    .category-link-grid,
    .page-module-layout-wide_tiles .image-tile-grid {
        grid-template-columns: 1fr;
    }

    .unit-brand-card {
        min-height: 190px;
    }

    .page-module-parallax-cta {
        background-attachment: scroll;
    }
}
.page-module-distributors {
    background: #f4f4f4;
    padding: clamp(48px, 6vw, 82px) 0;
}
.distributor-module-inner {
    max-width: 1560px;
}
.distributor-heading {
    max-width: 920px;
    margin-bottom: 28px;
}
.distributor-tool {
    display: grid;
    grid-template-columns: minmax(300px, 420px) 1fr;
    gap: 24px;
    align-items: stretch;
}
.distributor-filters {
    background: #fff;
    border: 1px solid #dedede;
    padding: 22px;
    max-height: 680px;
    overflow: auto;
}
.distributor-filters label {
    display: block;
    margin-bottom: 14px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}
.distributor-filters input,
.distributor-filters select {
    margin-top: 8px;
    width: 100%;
    border: 1px solid #d7d7d7;
    padding: 12px 14px;
    font: inherit;
    text-transform: none;
    font-weight: 500;
}
.distributor-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.distributor-card {
    border: 1px solid #e3e3e3;
    background: #fff;
    padding: 16px;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}
.distributor-card:hover {
    border-color: var(--orange);
    transform: translateY(-1px);
}
.distributor-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.distributor-card p {
    margin: 0 0 12px;
    color: #4f5a69;
    line-height: 1.45;
}
.distributor-brand-row,
.distributor-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.distributor-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ececec;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.distributor-brand-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.distributor-contact-row {
    margin-top: 12px;
}
.distributor-contact-row a {
    color: var(--orange);
    font-weight: 800;
    font-size: 13px;
}
.distributor-map-panel {
    min-height: 620px;
    background: #181818;
}
.distributor-map-panel iframe {
    width: 100%;
    height: 100%;
    min-height: 620px;
    border: 0;
    display: block;
}
.distributor-map-empty {
    color: #fff;
    padding: 32px;
}
.inline-admin-form input {
    width: 100%;
}
.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
@media (max-width: 900px) {
    .distributor-tool {
        grid-template-columns: 1fr;
    }
    .distributor-filters,
    .distributor-map-panel,
    .distributor-map-panel iframe {
        max-height: none;
        min-height: 420px;
    }
}
/* Admin lateral navigation */
@media (min-width: 901px) {
    .admin-shell-body {
        display: grid;
        grid-template-columns: 270px minmax(0, 1fr);
        min-height: 100vh;
    }
    .admin-shell-body .admin-header {
        position: sticky;
        top: 0;
        grid-column: 1;
        align-self: start;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 270px;
        height: 100vh;
        min-height: 100vh;
        padding: 26px 18px;
        border-right: 4px solid var(--orange);
        border-bottom: 0;
        overflow-y: auto;
    }
    .admin-shell-body .admin-header .brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 0 0 22px;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }
    .admin-shell-body .admin-header .brand-logo {
        width: 210px;
        max-height: 58px;
    }
    .admin-shell-body .admin-header .brand span {
        font-size: 14px;
    }
    .admin-shell-body .admin-header .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin-top: 16px;
        font-size: 13px;
    }
    .admin-shell-body .admin-header .site-nav a,
    .admin-shell-body .admin-header .site-nav .link-button {
        display: block;
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        text-align: left;
        line-height: 1.2;
    }
    .admin-shell-body .admin-header .site-nav a::after {
        display: none;
    }
    .admin-shell-body .admin-header .site-nav form {
        margin: 0;
    }
    .admin-shell-body .admin-main {
        grid-column: 2;
        min-width: 0;
    }
}
/* Optional admin-selected column count for modular visual grids. */
@media (min-width: 901px) {
    .page-module[style*="--module-grid-columns"] .category-link-grid,
    .page-module[style*="--module-grid-columns"] .unit-brand-wall,
    .page-module[style*="--module-grid-columns"] .industry-showcase-grid,
    .page-module[style*="--module-grid-columns"] .module-card-grid,
    .page-module[style*="--module-grid-columns"] .image-tile-grid {
        grid-template-columns: repeat(var(--module-grid-columns), minmax(0, 1fr));
    }
}
/* News */
.news-hero {
    background: #fff;
    padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 76px) 34px;
    text-align: center;
}
.news-hero h1 {
    font-size: clamp(42px, 5.8vw, 72px);
    margin: 0 0 14px;
    text-transform: uppercase;
}
.news-hero p:last-child {
    color: #4f5a69;
    font-size: 18px;
    margin: 0 auto;
    max-width: 760px;
}
.news-listing {
    background: #f4f4f4;
    padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 76px);
}
.news-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.news-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    display: grid;
    min-height: 100%;
}
.news-card-image {
    aspect-ratio: 16 / 10;
    background: #e9e9e9;
    display: block;
    overflow: hidden;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}
.news-card:hover .news-card-image img {
    transform: scale(1.035);
}
.news-card-body {
    display: grid;
    gap: 14px;
    padding: 22px;
}
.news-card-body time,
.news-detail-head time {
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.news-card-body h2 {
    font-size: 24px;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}
.news-card-body p {
    color: #4f5a69;
    line-height: 1.5;
    margin: 0;
}
.news-detail {
    background: #fff;
    padding: 34px clamp(18px, 5vw, 76px) clamp(56px, 7vw, 96px);
}
.news-detail .breadcrumbs {
    margin: 0 auto 34px;
    max-width: 1120px;
}
.news-detail-head,
.news-detail-image,
.news-detail-body {
    margin-inline: auto;
    max-width: 1120px;
}
.news-detail-head {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
}
.news-detail-head h1 {
    font-size: clamp(42px, 5vw, 76px);
    line-height: .95;
    margin: 0;
    text-transform: uppercase;
}
.news-detail-head p {
    color: #4f5a69;
    font-size: 20px;
    line-height: 1.45;
    margin: 0;
    max-width: 850px;
}
.news-detail-image {
    background: #f0f0f0;
    margin-bottom: 34px;
}
.news-detail-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}
.news-detail-body {
    display: grid;
    gap: 24px;
}
.news-external-link {
    margin-top: 8px;
}
.news-share {
    align-items: center;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding-top: 20px;
}
.news-share strong {
    margin-right: 8px;
    text-transform: uppercase;
}
.news-share a,
.news-share button {
    background: #202020;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 10px 13px;
    text-transform: uppercase;
}
.news-share a:hover,
.news-share button:hover {
    background: var(--orange);
}
@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* Animated metric tiles */
.page-module-metric-tiles {
    background: #fff;
    padding-bottom: clamp(46px, 5vw, 76px);
    padding-top: clamp(36px, 4vw, 62px);
}

.metric-tile-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: clamp(24px, 3vw, 42px);
}

.metric-tile {
    align-items: center;
    background: #f36c00;
    border-radius: 5px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(210px, 22vw, 350px);
    padding: clamp(28px, 4vw, 54px) 22px;
    text-align: center;
}

.metric-tile:nth-child(odd) {
    background: #f36c00;
}

.metric-tile:nth-child(even) {
    background: #242424;
}

.metric-value {
    color: #fff;
    display: block;
    font-family: "BAW Bold", "Inter Tight", Inter, system-ui, sans-serif;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.metric-tile p {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 900;
    line-height: 1.22;
    margin: 18px 0 0;
    max-width: 240px;
    text-transform: uppercase;
}

@media (min-width: 901px) {
    .page-module[style*="--module-grid-columns"] .metric-tile-grid {
        grid-template-columns: repeat(var(--module-grid-columns), minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .metric-tile-grid {
        grid-template-columns: 1fr;
    }

    .metric-tile {
        min-height: 190px;
    }
}
.admin-page-search {
    align-items: end;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.admin-page-search label {
    display: grid;
    gap: 7px;
    width: min(520px, 100%);
}

.admin-page-search label span {
    color: #202020;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-page-search input[type="search"] {
    width: 100%;
}

.admin-page-search .admin-muted {
    margin: 0;
}
/* Mobile off-canvas public menu */
.site-menu-backdrop {
    display: none;
}

@media (max-width: 900px) {
    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 90;
    }

    .site-menu-toggle {
        align-items: center;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, .34);
        color: #fff;
        display: inline-flex;
        font-size: 26px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        min-height: 44px;
        position: relative;
        width: 48px;
        z-index: 95;
    }

    .site-menu-backdrop {
        background: rgba(0, 0, 0, .48);
        border: 0;
        display: block;
        inset: 0;
        opacity: 0;
        padding: 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .22s ease;
        z-index: 70;
    }

    .menu-open .site-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav-tree {
        background: #202020;
        border-left: 4px solid var(--orange);
        box-shadow: -22px 0 38px rgba(0, 0, 0, .32);
        display: block;
        height: 100vh;
        max-width: 360px;
        overflow-y: auto;
        padding-top: 86px;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: transform .24s ease;
        width: 52vw;
        z-index: 80;
    }

    .menu-open .site-nav-tree {
        transform: translateX(0);
    }

    .site-nav-tree ul,
    .site-nav-tree li ul {
        align-items: stretch;
        background: transparent;
        border: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 0;
        left: auto;
        list-style: none;
        margin: 0;
        min-width: 0;
        padding: 0;
        position: static;
        top: auto;
        width: 100%;
    }

    .site-nav-tree li {
        position: static;
    }

    .site-nav-tree a,
    .site-nav-tree li ul a {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        color: #fff;
        display: block;
        font-size: 13px;
        font-weight: 900;
        line-height: 1.2;
        padding: 15px 18px;
        text-decoration: none;
        text-transform: uppercase;
        white-space: normal;
    }

    .site-nav-tree li ul a {
        background: #181818;
        font-size: 12px;
        padding-left: 28px;
    }

    .site-nav-tree a:hover,
    .site-nav-tree a:focus {
        background: #f36c00;
        color: #fff;
    }
}

@media (max-width: 520px) {
    .site-nav-tree {
        min-width: 220px;
        width: 56vw;
    }
}

@media (max-width: 900px) {
    .site-nav-tree a::after,
    .site-nav-tree a:hover::after,
    .site-nav-tree a:focus::after {
        display: none;
        content: none;
        transform: none;
    }
}

/* Mobile collapsible catalog filters */
.filter-panel-title {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: default;
    text-align: left;
}

@media (max-width: 900px) {
    .filter-panel-title {
        cursor: pointer;
        justify-content: flex-start;
    }

    .filter-panel-title span {
        transition: transform .2s ease;
    }

    .filter-panel-title[aria-expanded="true"] span {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .filters-mobile-body {
        display: none;
    }

    .filters-mobile-body.is-open {
        display: block;
    }

    .filters {
        margin-bottom: 2px;
    }

    .catalog-shell {
        gap: 18px;
    }
}

/* News editor and detail refinements */
.rich-editor-field {
    display: grid;
    gap: 8px;
}

.rich-editor-field > label {
    color: #202020;
    font-weight: 700;
}

.mini-editor-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-editor-toolbar button {
    background: #fff;
    border: 1px solid #d8d8d8;
    color: #202020;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    min-height: 34px;
    padding: 0 11px;
    text-transform: uppercase;
}

.mini-editor-toolbar button:hover,
.mini-editor-toolbar button:focus {
    background: rgba(234, 107, 8, .08);
    border-color: var(--orange);
    color: var(--orange);
}

.news-detail-body .rich-text {
    color: #202020;
    font-size: 17px;
    line-height: 1.75;
    text-align: justify;
}

.news-detail-body .rich-text p {
    margin: 0 0 18px;
}

.news-detail-body .rich-text h2,
.news-detail-body .rich-text h3 {
    line-height: 1.1;
    margin: 30px 0 14px;
    text-align: left;
    text-transform: uppercase;
}

.news-detail-body .rich-text ul,
.news-detail-body .rich-text ol {
    margin: 0 0 20px 24px;
    padding: 0;
    text-align: left;
}

.news-share a,
.news-share button {
    border: 1px solid #202020;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.news-share a:hover,
.news-share a:focus,
.news-share button:hover,
.news-share button:focus {
    background: transparent;
    border-color: var(--orange);
    color: var(--orange);
}

.news-external-link .btn.primary:hover,
.news-external-link .btn.primary:focus {
    background: transparent;
    color: var(--orange);
}

@media (max-width: 620px) {
    .news-detail-body .rich-text {
        text-align: left;
    }
}

/* Admin media picker search and inline uploads */
.admin-media-head {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.admin-media-head h2,
.admin-media-head .admin-muted {
    margin: 0;
}

.admin-media-search {
    display: grid;
    gap: 7px;
    min-width: min(420px, 100%);
}

.media-picker-search {
    margin-bottom: 8px;
    width: 100%;
}

.media-picker-hint,
.media-upload-status {
    color: #5f6b7a;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.media-inline-upload {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.media-inline-upload input[type="file"] {
    flex: 1 1 220px;
    min-width: 0;
}

.media-inline-upload .btn.small {
    min-height: 36px;
}

.media-path-select option[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .admin-media-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-media-search {
        min-width: 0;
    }
}

/* Admin security, users and backups */
.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 18px;
}
.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}
.checkbox-line input[type="checkbox"] {
    width: auto;
    min-width: 18px;
}
.password-toggle-field {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.password-toggle-field input {
    flex: 1;
}
.password-eye {
    min-width: 72px;
    border: 1px solid #d8d8d8;
    background: #1f1f1f;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    padding: 0 12px;
}
.password-eye:hover {
    background: #f26a00;
}
.backup-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.alert.ok {
    background: #e7f7ec;
    color: #10652f;
    border-color: #bfe5cb;
}
