/* CompuFixGuru catalog landing pages */
.cfg-catalog-page {
    background:
        radial-gradient(circle at 92% 2%, rgba(200,16,46,.08), transparent 24%),
        #f4f6f7;
    color: #11151a;
}
.cfg-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 48px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 28%, rgba(200,16,46,.24), transparent 26%),
        radial-gradient(circle at 72% 62%, rgba(98,244,207,.08), transparent 28%),
        linear-gradient(135deg,#03080c,#091820);
}
.cfg-catalog-hero::after {
    position: absolute;
    right: -140px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    content: "";
}
.cfg-catalog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #89979e;
    font-size: .76rem;
    font-weight: 750;
}
.cfg-catalog-breadcrumbs a { color: #b7c2c8; }
.cfg-catalog-breadcrumbs a:hover { color: #fff; }
.cfg-catalog-breadcrumbs strong { color: #fff; }
.cfg-catalog-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
    gap: 56px;
    align-items: end;
}
.cfg-catalog-eyebrow,
.cfg-catalog-section__head > span,
.cfg-catalog-footer-cta__inner span {
    display: block;
    color: #ff6c88;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.cfg-catalog-hero h1 {
    max-width: 880px;
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(2.7rem,5.5vw,5.1rem);
    line-height: .96;
    letter-spacing: -.045em;
}
.cfg-catalog-hero p {
    max-width: 760px;
    margin: 0;
    color: #b7c4ca;
    font-size: 1.02rem;
}
.cfg-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}
.cfg-catalog-hero .cfg-button-secondary {
    color: #fff;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
}
.cfg-catalog-summary {
    min-height: 180px;
    display: grid;
    align-content: end;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;
    background: rgba(255,255,255,.05);
    box-shadow: 0 24px 70px rgba(0,0,0,.25);
    backdrop-filter: blur(14px);
}
.cfg-catalog-summary span {
    color: #8fa0a8;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.cfg-catalog-summary strong {
    margin: 7px 0 4px;
    color: #fff;
    font-size: 1.35rem;
}
.cfg-catalog-summary small { color: #aab8bf; }

.cfg-catalog-section { padding: 58px 0; }
.cfg-catalog-section__head { max-width: 760px; margin-bottom: 24px; }
.cfg-catalog-section__head h2 {
    margin: 5px 0 7px;
    font-size: clamp(1.8rem,3vw,2.6rem);
    letter-spacing: -.035em;
}
.cfg-catalog-section__head p { margin: 0; color: #667078; }
.cfg-catalog-section__head--row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}
.cfg-catalog-section__head--row > a {
    color: #a50e29;
    font-weight: 850;
    white-space: nowrap;
}

.cfg-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}
.cfg-catalog-card {
    position: relative;
    min-height: 150px;
    display: grid;
    align-content: end;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #e1e5e8;
    border-radius: 20px;
    color: #11151a;
    background: #fff;
    box-shadow: 0 14px 38px rgba(6,35,45,.06);
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.cfg-catalog-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg,#c8102e,transparent 75%);
    content: "";
}
.cfg-catalog-card:hover {
    color: #11151a;
    border-color: rgba(200,16,46,.28);
    box-shadow: 0 20px 48px rgba(6,35,45,.11);
    transform: translateY(-3px);
}
.cfg-catalog-card__index {
    margin-bottom: auto;
    color: #c8102e;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
}
.cfg-catalog-card strong { margin-top: 28px; line-height: 1.2; }
.cfg-catalog-card small { margin-top: 4px; color: #717b82; }
.cfg-catalog-card b {
    position: absolute;
    right: 18px;
    bottom: 17px;
    color: #c8102e;
    font-size: 1.2rem;
}

.cfg-catalog-products {
    background: #fff;
    border-top: 1px solid #e5e8ea;
    border-bottom: 1px solid #e5e8ea;
}
.cfg-catalog-products .products {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}
.cfg-catalog-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    padding: 28px;
    border: 1px dashed #ccd2d6;
    border-radius: 20px;
    background: #f8fafb;
}
.cfg-catalog-empty strong { width: 100%; font-size: 1.18rem; }
.cfg-catalog-empty p { flex: 1 1 480px; margin: 0; color: #657078; }

.cfg-catalog-footer-cta { padding: 54px 0 72px; }
.cfg-catalog-footer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%,rgba(98,244,207,.15),transparent 24%),
        linear-gradient(120deg,#07141a,#111b20 60%,#320813);
}
.cfg-catalog-footer-cta__inner strong {
    display: block;
    margin: 7px 0 4px;
    font-size: 1.55rem;
}
.cfg-catalog-footer-cta__inner p { margin: 0; color: #b8c5cb; }

@media (max-width: 1050px) {
    .cfg-catalog-grid,
    .cfg-catalog-products .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .cfg-catalog-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .cfg-catalog-summary { min-height: 130px; }
    .cfg-catalog-grid,
    .cfg-catalog-products .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cfg-catalog-footer-cta__inner,
    .cfg-catalog-section__head--row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
    .cfg-catalog-hero { padding: 38px 0; }
    .cfg-catalog-grid,
    .cfg-catalog-products .products { grid-template-columns: 1fr; }
    .cfg-catalog-section { padding: 42px 0; }
    .cfg-catalog-footer-cta__inner { padding: 24px; }
}


/* Processor brand selector cards: AMD / INTEL */
.cfg-catalog-page--processor-selector .cfg-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.cfg-catalog-card--brand {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px 20px;
    color: #fff;
    border-color: rgba(255,255,255,.10);
    background: var(--cfg-dark, #101010);
    box-shadow: 0 18px 46px rgba(6,20,28,.14);
}
.cfg-catalog-card--brand::before {
    display: none;
}
.cfg-catalog-card--brand:hover {
    color: #fff;
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 24px 58px rgba(6,20,28,.22);
}
.cfg-catalog-card__brand-media {
    position: relative;
    height: 205px;
    display: block;
    margin: 0 -20px 20px;
    overflow: hidden;
    border-radius: 19px 19px 0 0;
    isolation: isolate;
}
.cfg-catalog-card__brand-media::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.56) 40%, rgba(0,0,0,.10) 100%);
}
.cfg-catalog-card__brand-product {
    position: absolute;
    inset: 0 0 0 auto;
    width: 72%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    opacity: .72;
    transform: scale(1.04);
}
.cfg-catalog-card__brand-logo {
    position: absolute;
    z-index: 2;
    left: 28px;
    top: 50%;
    width: auto;
    max-width: 42%;
    max-height: 88px;
    object-fit: contain;
    transform: translateY(-58%);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}
.cfg-catalog-card__brand-media i {
    position: absolute;
    z-index: 3;
    left: 28px;
    bottom: 24px;
    width: 145px;
    height: 3px;
    border-radius: 999px;
    content: "";
}
.cfg-catalog-card--amd .cfg-catalog-card__brand-media {
    background: radial-gradient(circle at 76% 48%, rgba(255,96,0,.32), transparent 28%), linear-gradient(135deg,#090909,#190d08);
}
.cfg-catalog-card--amd .cfg-catalog-card__brand-media i {
    background: #ff5a1f;
    box-shadow: 0 0 16px rgba(255,90,31,.85);
}
.cfg-catalog-card--intel .cfg-catalog-card__brand-media {
    background: radial-gradient(circle at 76% 46%, rgba(0,153,255,.30), transparent 29%), linear-gradient(135deg,#06111c,#071d31);
}
.cfg-catalog-card--intel .cfg-catalog-card__brand-media i {
    background: #00a8ff;
    box-shadow: 0 0 16px rgba(0,168,255,.8);
}
.cfg-catalog-card--intel .cfg-catalog-card__brand-product {
    width: 48%;
    object-fit: contain;
    object-position: center;
    padding: 18px 28px 18px 0;
    opacity: .92;
}
.cfg-catalog-card--intel .cfg-catalog-card__brand-logo {
    max-width: 30%;
    max-height: 92px;
}
.cfg-catalog-card--brand > strong {
    margin-top: 0;
    color: #fff;
    font-size: 1.18rem;
}
.cfg-catalog-card--brand > small {
    color: #b9c1c6;
}
.cfg-catalog-card--brand > b {
    color: #fff;
}
.cfg-catalog-card--amd > b { color: #ff6b35; }
.cfg-catalog-card--intel > b { color: #35b6ff; }

@media (max-width: 820px) {
    .cfg-catalog-page--processor-selector .cfg-catalog-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .cfg-catalog-card__brand-media {
        height: 175px;
    }
    .cfg-catalog-card__brand-logo {
        left: 20px;
        max-width: 46%;
    }
    .cfg-catalog-card__brand-media i {
        left: 20px;
        bottom: 20px;
        width: 110px;
    }
}
