/* =========================================================
   ADELINE MIC CATALOG — TEXT-FIRST BUYER EXPERIENCE
   ========================================================= */

:root {
    --mic-navy: #082b45;
    --mic-deep: #041a2a;
    --mic-red: #d52735;
    --mic-red-dark: #a91422;
    --mic-ink: #152433;
    --mic-muted: #5e6d7b;
    --mic-line: #dbe5eb;
    --mic-soft: #f3f7f9;
    --mic-white: #ffffff;
}

body.mic-page {
    background: #f5f8fa;
    color: var(--mic-ink);
}

.mic-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 70px;
    background: linear-gradient(122deg, var(--mic-deep) 0%, var(--mic-navy) 62%, #0e4567 100%);
    color: var(--mic-white);
}

.mic-catalog-hero::after {
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .04), 0 0 0 70px rgba(255, 255, 255, .025);
}

.mic-catalog-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 48px;
    align-items: end;
}

.mic-catalog-kicker,
.mic-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: #ff8a91;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mic-catalog-kicker::before,
.mic-detail-kicker::before {
    width: 29px;
    height: 2px;
    background: currentColor;
    content: "";
}

.mic-catalog-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -1.5px;
}

.mic-catalog-hero p {
    max-width: 760px;
    margin: 21px 0 0;
    color: #d8e7ef;
    font-size: 16px;
    line-height: 1.75;
}

.mic-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mic-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.mic-hero-actions a:hover {
    transform: translateY(-2px);
}

.mic-hero-actions .mic-primary-action {
    background: var(--mic-red);
    border-color: var(--mic-red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.mic-hero-actions .mic-primary-action:hover {
    background: var(--mic-red-dark);
    border-color: var(--mic-red-dark);
}

.mic-hero-actions .mic-secondary-action {
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.mic-hero-actions .mic-secondary-action:hover {
    background: #fff;
    border-color: #fff;
    color: var(--mic-navy);
}

.mic-hero-stat {
    padding: 24px 25px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
}

.mic-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -1px;
}

.mic-hero-stat span {
    display: block;
    margin-top: 9px;
    color: #d4e5ee;
    font-size: 13px;
    line-height: 1.5;
}

.mic-catalog-section {
    padding: 60px 0 88px;
}

.mic-catalog-section .container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.mic-catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 23px;
    padding: 18px;
    border: 1px solid var(--mic-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(8, 43, 69, .05);
}

.mic-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mic-filter-field label {
    color: var(--mic-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
}

.mic-filter-field input,
.mic-filter-field select {
    width: 100%;
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid #cbd9e2;
    border-radius: 5px;
    background: #fff;
    color: var(--mic-ink);
    font: inherit;
    font-size: 14px;
}

.mic-filter-field input:focus,
.mic-filter-field select:focus {
    outline: 3px solid rgba(213, 39, 53, .14);
    border-color: var(--mic-red);
}

.mic-filter-submit {
    min-height: 45px;
    padding: 10px 18px;
    border: 1px solid var(--mic-navy);
    border-radius: 5px;
    background: var(--mic-navy);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.mic-filter-submit:hover {
    background: var(--mic-red);
    border-color: var(--mic-red);
}

.mic-results-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    align-items: center;
    margin: 0 0 19px;
}

.mic-results-bar strong {
    color: var(--mic-navy);
    font-size: 15px;
}

.mic-results-bar span {
    color: var(--mic-muted);
    font-size: 13px;
}

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

.mic-catalog-card {
    display: flex;
    min-height: 286px;
    flex-direction: column;
    padding: 23px 22px 20px;
    border: 1px solid var(--mic-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(8, 43, 69, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mic-catalog-card:hover {
    transform: translateY(-4px);
    border-color: #b9cad5;
    box-shadow: 0 16px 32px rgba(8, 43, 69, .11);
}

.mic-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.mic-card-number {
    color: #8a9aa5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mic-card-family {
    display: inline-flex;
    max-width: 70%;
    padding: 5px 8px;
    border-radius: 3px;
    background: #fff1f2;
    color: var(--mic-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
}

.mic-catalog-card h2 {
    margin: 20px 0 11px;
    font-size: 19px;
    line-height: 1.34;
    letter-spacing: -.25px;
}

.mic-catalog-card h2 a {
    color: var(--mic-navy);
    text-decoration: none;
}

.mic-catalog-card h2 a:hover {
    color: var(--mic-red);
}

.mic-catalog-card p {
    margin: 0;
    color: var(--mic-muted);
    font-size: 13px;
    line-height: 1.65;
}

.mic-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
}

.mic-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--mic-line);
    border-radius: 4px;
    color: var(--mic-navy);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.mic-card-actions a:first-child {
    background: var(--mic-navy);
    border-color: var(--mic-navy);
    color: #fff;
}

.mic-card-actions a:hover {
    background: var(--mic-red);
    border-color: var(--mic-red);
    color: #fff;
}

.mic-card-actions a:first-child:hover {
    background: var(--mic-red);
    border-color: var(--mic-red);
}

.mic-empty-state {
    padding: 54px 24px;
    border: 1px dashed #bdccd5;
    border-radius: 9px;
    background: #fff;
    color: var(--mic-muted);
    text-align: center;
}

.mic-empty-state h2 {
    margin: 0 0 8px;
    color: var(--mic-navy);
    font-size: 23px;
}

.mic-empty-state p {
    margin: 0;
    font-size: 14px;
}

.mic-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 38px;
}

.mic-pagination a,
.mic-pagination strong,
.mic-pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid var(--mic-line);
    border-radius: 4px;
    background: #fff;
    color: var(--mic-navy);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mic-pagination span {
    border-color: transparent;
    background: transparent;
    color: #7b8b96;
}

.mic-pagination a:hover,
.mic-pagination strong {
    background: var(--mic-red);
    border-color: var(--mic-red);
    color: #fff;
}

.mic-catalog-note {
    margin-top: 44px;
    padding: 22px 24px;
    border-left: 4px solid var(--mic-red);
    background: #fff;
    box-shadow: 0 8px 22px rgba(8, 43, 69, .04);
}

.mic-catalog-note h2 {
    margin: 0 0 8px;
    color: var(--mic-navy);
    font-size: 18px;
}

.mic-catalog-note p {
    max-width: 980px;
    margin: 0;
    color: var(--mic-muted);
    font-size: 13px;
    line-height: 1.7;
}

.mic-related-section {
    margin: 56px 0 0;
    padding: 52px 0 0;
    border-top: 1px solid var(--mic-line);
}

.mic-related-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 23px;
}

.mic-related-heading h2 {
    margin: 0;
    color: var(--mic-navy);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.12;
}

.mic-related-heading p {
    max-width: 640px;
    margin: 10px 0 0;
    color: var(--mic-muted);
    font-size: 14px;
    line-height: 1.65;
}

.mic-related-heading a {
    color: var(--mic-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

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

.mic-related-card {
    display: flex;
    min-height: 224px;
    flex-direction: column;
    padding: 19px;
    border: 1px solid var(--mic-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(8, 43, 69, .04);
}

.mic-related-card .mic-card-family {
    align-self: flex-start;
    max-width: 100%;
    text-align: left;
}

.mic-related-card h3 {
    margin: 14px 0 0;
    color: var(--mic-navy);
    font-size: 16px;
    line-height: 1.4;
}

.mic-related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.mic-related-card h3 a:hover {
    color: var(--mic-red);
}

.mic-related-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: auto;
    padding-top: 18px;
}

.mic-related-card-actions a {
    color: var(--mic-red);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.mic-related-card-actions a:hover {
    color: var(--mic-red-dark);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .mic-catalog-hero .container {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .mic-hero-stat {
        max-width: 290px;
    }

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

@media (max-width: 720px) {
    .mic-catalog-hero {
        padding: 63px 0 56px;
    }

    .mic-catalog-hero h1 {
        font-size: 38px;
    }

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

    .mic-filter-submit {
        width: 100%;
    }

    .mic-catalog-grid,
    .mic-related-grid {
        grid-template-columns: 1fr;
    }

    .mic-catalog-section {
        padding-top: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mic-catalog-card,
    .mic-hero-actions a,
    .mic-card-actions a {
        transition: none;
    }
}
